/*
Theme Name: Pomantra Authority Elite
Version: 11.0.0
Description: Ultimate Authority Theme with Merriweather Fonts & Fixed Menu
Author: Pomantra
*/

/* --- 1. VARIABLES & RESET --- */
:root { 
    --ink: #0f172a;       /* Deep Navy-Black */
    --charcoal: #334155;  /* High contrast grey */
    --gold: #b45309;      /* Darker Gold for readability */
    --blue: #1e40af;      /* Deep Royal Blue */
    --border: #e2e8f0;    /* Crisp border */
    --bg: #f8fafc;        /* Eye-soothing light grey */
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    background-color: #f8fafc; 
    color: var(--charcoal); 
    /* Robust Font Stack */
    font-family: 'Merriweather', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7; /* Restored to 1.7 for better density */
    font-weight: 400;

    /* --- SAFE TEXT SHARPENING ONLY --- */
    -webkit-font-smoothing: antialiased;    /* Chrome/Safari */
    -moz-osx-font-smoothing: grayscale;     /* Firefox */
    text-rendering: optimizeLegibility;     /* Better kerning */
    
    /* REMOVED: transform: translateZ(0); -> This caused the layout break */
}

img { max-width: 100%; height: auto; display: block; }

/* --- 2. LAYOUT WRAPPERS --- */
.boxed-wrap { 
    width: 100%;
    max-width: 1340px; 
    margin: 0 auto; 
    background: var(--white); 
    box-shadow: 0 0 40px rgba(0,0,0,0.04); 
    min-height: 100vh;
    position: relative;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* --- 3. HEADER & NAV --- */
/* --- FIXED HEADER Z-INDEX --- */
header { 
    border-bottom: 1px solid var(--border); 
    padding: 20px 0; 
    background: var(--white); 
    position: relative; 
    z-index: 99999 !important; /* Forces Header above everything */
}

.nav-flex { display: flex; justify-content: space-between; align-items: center; }

/* --- PREMIUM LOGO (CSS-BASED) --- */
/* 1. Header Logo */
.logo a {
    font-family: 'Merriweather', serif; /* Matches your new theme font */
    font-weight: 900; /* Ultra Bold (Black) */
    font-size: 34px;
	padding-top: 9px;
    letter-spacing: -1.5px; /* Tight, executive tracking */
    color: var(--ink);
    text-decoration: none;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    
    /* CRITICAL: Hardware acceleration for sharpness */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0); 
}

/* 2. The Gold Authority Dot */
.logo-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: var(--gold);
    margin-left: 4px;
    margin-bottom: 4px; /* Adjusts vertical position */
}

/* 3. Footer Logo (White Version) */
.footer-logo {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 38px;
    letter-spacing: -1.5px;
    color: #ffffff;
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
}
.footer-logo .logo-dot {
    background-color: var(--gold); /* Gold dot stays gold */
}

/* Mobile Adjustment */
@media (max-width: 1024px) {
    .logo a { font-size: 28px; }
    .footer-logo { font-size: 32px; }
    .logo-dot { width: 5px; height: 5px; margin-bottom: 3px; }
}

/* Desktop Menu */
.main-nav { display: block; }
.main-nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.main-nav a { 
    text-decoration: none; color: var(--ink); 
    font-weight: 700; font-size: 14px; 
    text-transform: uppercase; letter-spacing: 0.5px; 
    transition: color 0.2s; 
}
.main-nav a:hover { color: var(--gold); }
.main-nav li { position: relative; }

/* Desktop Submenu (Fixed Z-Index) */
.main-nav li ul { 
    display: block; position: absolute; top: 100%; left: 0; 
    background: var(--white); border: 1px solid var(--border); 
    width: 250px; padding: 10px 0; 
    visibility: hidden; opacity: 0; transform: translateY(10px); 
    transition: all 0.2s ease; box-shadow: 0 15px 30px rgba(0,0,0,0.15); 
    z-index: 100000 !important; /* Higher than Header */
}
/* Ensure Post Title stays below */
.reading-area, .entry-title {
    position: relative;
    z-index: 1;
}
.main-nav li:hover > ul { visibility: visible; opacity: 1; transform: translateY(0); }
.main-nav li ul li { display: block; border-bottom: 1px solid #f1f5f9; }
.main-nav li ul a { 
    padding: 12px 20px; text-transform: none; font-size: 14px; 
    font-weight: 500; display: block; color: var(--charcoal); 
}
.main-nav li ul a:hover { background: #f8fafc; color: var(--blue); }

/* --- 4. SEARCH UI --- */
.search-ui form { 
    background: #fff; border: 1px solid #cbd5e1; border-radius: 4px;
    padding: 6px 15px; display: flex; align-items: center; width: 220px;
}
.search-ui input { 
    border: none; background: transparent; outline: none; 
    font-size: 13px; font-weight: 600; width: 100%; color: var(--ink); 
}
.search-btn-icon { border: none; background: none; cursor: pointer; color: var(--gold); font-size: 16px; }

/* Mobile Search Overlay */
.mobile-search-icon { display: none; cursor: pointer; padding: 10px; color: var(--ink); }

/* --- FIX: ADDED SVG SIZING FOR MOBILE SEARCH ICON --- */
.mobile-search-icon svg { width: 24px; height: 24px; stroke-width: 2.5px; }

.mobile-search-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.99); z-index: 2000000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.mobile-search-overlay.active { opacity: 1; visibility: visible; }
.mobile-search-overlay form { width: 85%; border-bottom: 2px solid var(--ink); }
.mobile-search-overlay input {
    font-family: 'Merriweather', serif; font-size: 26px; border: none; 
    background: transparent; outline: none; width: 100%; color: var(--ink);
}
.mobile-search-close {
    position: absolute; top: 20px; right: 20px; font-size: 36px; cursor: pointer;
}

/* --- 5. MOBILE SIDEPANEL & TOGGLE --- */
/* Fixed Toggle Button */
.mobile-toggle { 
    display: none; background: none; border: none; cursor: pointer; 
    padding: 8px; z-index: 100; flex-direction: column; justify-content: center;
    height: 40px; width: 40px;
}
.mobile-toggle span { 
    display: block; width: 24px; height: 3px; background: var(--ink); 
    margin: 2px 0; /* Use Margin instead of Gap for compatibility */
    border-radius: 2px;
}

.sidepanel {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100%;
    background: var(--white); z-index: 2000001;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: 0.3s ease; display: flex; flex-direction: column;
}
.sidepanel.open { right: 0; }
.sidepanel-header { padding: 25px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.sidepanel-logo { font-family: 'Merriweather', serif; font-size: 24px; font-weight: 900; }
.sidepanel-close { background: none; border: none; font-size: 28px; cursor: pointer; }
.sidepanel-content { padding: 0; overflow-y: auto; }

.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li { border-bottom: 1px solid var(--border); position: relative; }
.mobile-menu a { 
    display: block; padding: 16px 25px; 
    font-family: 'Merriweather', serif; font-size: 18px; font-weight: 700;
    color: var(--ink); text-decoration: none; width: 80%; 
}

/* Submenu Arrow Toggle */
.submenu-toggle {
    position: absolute; right: 0; top: 0; bottom: 0; width: 60px;
    display: flex; align-items: center; justify-content: center;
    border-left: 1px solid #f1f1f1; cursor: pointer; background: #fff;
}
.submenu-toggle svg { width: 14px; transition: 0.3s; }
.submenu-toggle.active { background: #f8fafc; }
.submenu-toggle.active svg { transform: rotate(180deg); }

.mobile-menu .sub-menu { display: none; background: #f8fafc; border-top: 1px solid var(--border); }
.mobile-menu .sub-menu li { border-bottom: 1px solid #e2e8f0; }
.mobile-menu .sub-menu a { 
    font-family: 'Merriweather', sans-serif; font-size: 14px; 
    padding: 12px 25px; font-weight: 500; width: 100%; color: var(--charcoal);
}

.sidepanel-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 2000000;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.sidepanel-overlay.active { opacity: 1; visibility: visible; }

/* --- 6. ADS --- */
.ad-container { margin: 30px auto; text-align: center; max-width: 100%; overflow: hidden; display: flex; justify-content: center; }
.ad-label { font-size: 9px; color: #999; text-transform: uppercase; margin-bottom: 5px; }

/* --- 7. HOME GRID --- */
.hero-section { display: flex; gap: 40px; margin: 40px 0; border-bottom: 1px solid var(--border); padding-bottom: 40px; }
.lead-story { flex: 2; }
.side-feed { width: 300px; border-left: 1px solid var(--border); padding-left: 30px; flex-shrink: 0; }
.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 40px 0; }

.category-tag { 
    color: var(--gold); font-weight: 800; font-size: 11px; text-transform: uppercase; 
    letter-spacing: 1px; display: inline-block; margin-bottom: 8px; text-decoration: none; 
}
.category-tag:hover { text-decoration: underline; }

/* New Font Usage */
h1.entry-title { font-family: 'Merriweather', serif; font-size: 48px; font-weight: 900; line-height: 1.2; color: var(--ink); margin-bottom: 20px; }
h2.hero-title { font-family: 'Merriweather', serif; font-size: 40px; font-weight: 900; line-height: 1.2; margin: 10px 0 15px; color: var(--ink); }
h4.grid-title { font-family: 'Merriweather', serif; font-size: 20px; font-weight: 700; line-height: 1.4; margin-top: 5px; }

/* --- 8. SINGLE POST CONTENT & LISTS --- */
.content-layout { display: flex; justify-content: center; gap: 70px; margin-top: 50px; padding-bottom: 100px; }
.reading-area { width: 780px; max-width: 100%; } 
.sidebar { width: 300px; border-left: 1px solid var(--border); padding-left: 40px; flex-shrink: 0; }

/* --- PREMIUM EDITORIAL BODY TEXT --- */
.post-content {
    /* The "Legacy" Stack: Reliable, readable, and authoritative */
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    
    /* Size & Spacing for Executive Reading */
    font-size: 20px;
    line-height: 1.6; /* 32px is 1.6x of 20px - Perfect math */
    
    /* Deep Navy/Black - rgb(10, 24, 41) High contrast but warm */
    color: #2C2C2C; 
    
    /* Rendering Polish */
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Update Links to match the serif elegance */
.post-content a {
    text-decoration: underline;
    text-decoration-color: var(--border); /* Subtle underline */
    text-underline-offset: 4px;
    color: var(--blue);
}
.post-content a:hover {
    color: var(--gold);
    text-decoration-color: var(--gold);
}
.post-content p { margin-bottom: 28px; }

/* Headings in Post */
.post-content h2 { font-family: 'Merriweather', serif; font-size: 28px; color: var(--ink); margin: 45px 0 20px; font-weight: 900; letter-spacing: -0.5px; }
.post-content h3 { font-family: 'Merriweather', serif; font-size: 24px; color: var(--ink); margin: 35px 0 15px; font-weight: 700; }
.post-content h4 { font-family: 'Merriweather', serif; font-size: 20px; color: var(--ink); margin: 30px 0 10px; font-weight: 700; }

/* --- FIXED LISTS (Separated Logic) --- */

/* 1. Unordered Lists (Gold Bullets) */
.post-content ul { 
    margin: 25px 0 25px 20px; 
    padding: 0; 
    list-style: none; /* Hides default black dot */
}
.post-content ul li { 
    margin-bottom: 12px; 
    padding-left: 25px; /* Room for gold bullet */
    position: relative; 
}
.post-content ul li::before {
    content: "•";
    color: #393939;
    font-weight: 900;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 5px;
    line-height: 1;
}

/* 2. Ordered Lists (Numbered 1, 2, 3) */
.post-content ol { 
    margin: 25px 0 25px 40px; /* More left margin for numbers */
    padding: 0;
    list-style: decimal; /* Forces 1, 2, 3 */
}
.post-content ol li { 
    margin-bottom: 12px; 
    padding-left: 10px; /* Space between number and text */
    position: relative; 
    /* color: var(--charcoal); */
}
/* IMPORTANT: Disable Gold Bullet for Numbers */
.post-content ol li::before { 
    content: none !important; 
    display: none; 
}
/* Style the Numbers (Premium Look) */
.post-content ol li::marker {
    color: var(--ink); /* Make numbers Dark Black/Navy */
    font-weight: 700;  /* Bold numbers */
    font-family: 'Merriweather', serif; /* Serif numbers look more authoritative */
}

/* 3. Blockquotes (Bonus Polish) */
.post-content blockquote {
    border-left: 4px solid var(--gold);
    margin: 35px 0;
    padding: 10px 30px;
    background: #f8fafc;
    font-family: 'Merriweather', serif;
    font-style: italic;
    color: var(--ink);
    font-size: 20px;
}

/* --- 9. PLATINUM HORIZONTAL FOOTER --- */
footer { 
    background: var(--ink); 
    color: #fff; 
    padding: 50px 0; 
    margin-top: 80px; 
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Flex Container for Side-by-Side Layout */
.footer-flex {
    display: flex;
    justify-content: space-between; /* Pushes content to edges */
    align-items: center; /* Vertically centers them */
}

/* LEFT SIDE: Brand & Copyright */
.footer-brand {
    text-align: left;
}
.footer-logo {
    font-family: 'Merriweather', serif;
    font-weight: 900;
    font-size: 32px;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
    display: inline-block;
}
.copyright {
    font-family: 'Merriweather', sans-serif;
    font-size: 12px;
    color: #94a3b8; /* Soft Platinum Grey */
    line-height: 1.5;
    margin-top: 8px;
}

/* RIGHT SIDE: Navigation */
.footer-nav ul { 
    display: flex; 
    gap: 30px; /* Space between links */
    list-style: none; 
    margin: 0; 
    padding: 0; 
}
.footer-nav a { 
    color: var(--platinum); 
    text-decoration: none; 
    font-family: 'Merriweather', sans-serif;
    font-size: 13px; 
    font-weight: 600;
    text-transform: uppercase; 
    letter-spacing: 1px;
    transition: color 0.2s;
}
.footer-nav a:hover { 
    color: var(--white); 
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 4px;
}

/* --- PAGINATION (FIXED MOBILE WRAPPING) --- */
/* Renamed class from mnevo-pagination to pomantra-pagination */
.pomantra-pagination ul { 
    display: flex; 
    justify-content: center; 
    gap: 10px; /* Reduced gap slightly for better mobile fit */
    list-style: none; 
    margin: 40px 0; 
    padding: 0; 
    flex-wrap: wrap; /* CRITICAL FIX: Allows buttons to stack */
}

.pomantra-pagination a, .pomantra-pagination span { 
    padding: 10px 16px; 
    border: 1px solid var(--border); 
    text-decoration: none; 
    color: var(--ink); 
    font-weight: 700; 
    background: #fff; 
    font-family: 'Merriweather', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
}

.pomantra-pagination a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.pomantra-pagination .current { 
    background: var(--ink); 
    color: #fff; 
    border-color: var(--ink);
}

/* --- MOBILE SPECIFIC PAGINATION SIZE --- */
@media (max-width: 480px) {
    .pomantra-pagination a, .pomantra-pagination span {
        padding: 8px 12px; /* Smaller touch targets */
        font-size: 13px;   /* Smaller text */
    }
    .pomantra-pagination ul {
        gap: 8px; /* Tighter spacing */
    }
}

/* --- MOBILE RESPONSIVENESS (Refined) --- */
@media (max-width: 768px) {
    /* 1. Stack Brand and Menu sections vertically */
    .footer-flex {
        flex-direction: column; 
        text-align: center;
        gap: 30px;
    }
    
    /* 2. Optional: Keep Logo at top, or move to bottom using order */
    .footer-brand {
        text-align: center;
        order: 1; /* Keep logo on top for Authority */
    }
    
    /* 3. FIX: Make Links Flow Horizontally (Not Vertical Stack) */
    .footer-nav ul {
        flex-direction: row;    /* Allow side-by-side */
        flex-wrap: wrap;        /* Wrap to next line if needed */
        justify-content: center; /* Center the block */
        gap: 12px 24px;         /* Vertical gap 12px, Horizontal gap 24px */
        padding: 0 10px;        /* Prevent touching screen edges */
    }
    
    /* Optional: Ensure links have a nice touch target size */
    .footer-nav a {
        font-size: 12px;
        display: inline-block;
    }

    /* General Layout Fixes */
    .main-nav, .search-ui { display: none; }
    .mobile-toggle, .mobile-search-icon { display: flex; }
    
    .hero-section { flex-direction: column; gap: 30px; }
    .content-layout { flex-direction: column; }
    .sidebar, .side-feed { width: 100%; border: none; padding: 0; margin-top: 40px; border-top: 1px solid var(--border); padding-top: 30px; }
    .mag-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    
    h1.entry-title { font-size: 32px; }
    h2.hero-title { font-size: 28px; }
    .logo a { font-size: 28px; }
}

/* --- 10. RESPONSIVE --- */
@media (max-width: 1024px) {
    .main-nav, .search-ui { display: none; }
    .mobile-toggle, .mobile-search-icon { display: flex; } /* Flex for alignment */
    
    .hero-section { flex-direction: column; gap: 30px; }
    .content-layout { flex-direction: column; }
    .sidebar, .side-feed { width: 100%; border: none; padding: 0; margin-top: 40px; border-top: 1px solid var(--border); padding-top: 30px; }
    .mag-grid { grid-template-columns: 1fr; }
    
    h1.entry-title { font-size: 32px; }
    h2.hero-title { font-size: 28px; }
    .logo a { font-size: 28px; }
}

/* --- GO TO TOP BUTTON (PLATINUM STYLE) --- */
#scrollTopBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 0px;
    background-color: transparent;
    color: #555555;
    font-family: 'Merriweather', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    box-shadow: none;
}

#scrollTopBtn:hover {
    background-color: var(--gold);
    color: #fff;
    transform: translateY(-3px); /* Subtle lift effect */
}

/* Class added via JS to show it */
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Adjustment: Move it slightly so it doesn't cover content */
@media (max-width: 768px) {
    #scrollTopBtn {
        bottom: 5px;
        right: 5px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
/* --- 11. Additional Css --- */
/* Updated from author_mnevo to author_pomantra */
li.pp-multiple-authors-boxes-li.author_index_0.author_pomantra.has-avatar::before {
    display: none;
}
/* Optional: Slightly refine body text for mobile screens only */
@media (max-width: 568px) {
    .post-content {
        font-size: 19px; /* Slightly smaller than desktop (20px) but still very readable */
        line-height: 1.7; /* A tiny bit more space */
		color: rgb(10, 24, 41);
    }
}
.mn-hint {
    font-size: 13px !important;
    color: #323232 !important;
    margin-top: 4px;
    display: block;
}
.mn-label {
    display: block;
    font-size: 15px !important;
    font-family: system-ui, sans-serif;
    font-weight: 600 !important;
    color: #2e2e2e !important;
    margin-bottom: 6px;
}
/* =========================================
   16. DASHBOARD & TOOL DIRECTORY
   ========================================= */

.mn-dash-container { 
    max-width: 1200px; 
    margin: 0 auto; 
}

/* Dashboard Search Bar */
.mn-dash-search {
    width: 100%; 
    padding: 18px 25px; 
    font-size: 18px; 
    font-family: inherit;
    border: 2px solid var(--border);
    border-radius: 8px; 
    margin-bottom: 40px; 
    display: block; 
    background-color: #fff; 
    color: var(--ink);
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.mn-dash-search:focus {
    border-color: var(--gold); 
    outline: none; 
    box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.1);
}

/* Dashboard Categories */
.mn-dash-category { margin-bottom: 60px; }

.mn-cat-title {
    font-family: 'Merriweather', serif;
    font-size: 24px; 
    font-weight: 900; 
    color: var(--ink); 
    margin-bottom: 25px;
    padding-bottom: 15px; 
    border-bottom: 2px solid #f1f5f9; 
}

/* Dashboard Grid System */
.mn-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Tool Cards */
.mn-card {
    background: #fff; 
    border: 1px solid var(--border); 
    border-radius: 8px;
    padding: 25px; 
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-decoration: none !important; 
    display: flex; 
    flex-direction: column; 
    height: 100%;
    position: relative; 
}

.mn-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--gold);
}

.mn-card-icon { 
    font-size: 32px; 
    margin-bottom: 15px; 
    display: inline-block; 
}

.mn-card-title {
    font-family: 'Merriweather', serif;
    font-size: 18px; 
    font-weight: 700; 
    color: var(--ink); 
    display: block; 
    margin-bottom: 8px;
    line-height: 1.3;
}

.mn-card-desc { 
    font-size: 14px; 
    color: #64748b; 
    line-height: 1.5; 
    flex-grow: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mn-arrow {
    margin-top: 20px; 
    color: var(--gold); 
    font-weight: 700; 
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex; 
    align-items: center; 
    gap: 5px;
}

.mn-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #64748b;
    background: #f8fafc;
    border-radius: 8px;
    font-style: italic;
}

/* =========================================
   17. TOOL SWITCHER (DROPDOWN)
   ========================================= */

.pm-tool-switcher-wrap {
    margin-top: 60px;
    padding: 35px;
    background-color: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
}

.pm-switcher-label {
    display: block;
    font-family: 'Merriweather', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 15px;
}

.pm-tool-select {
    width: 100%;
    max-width: 450px;
    padding: 12px 15px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background-color: #fff;
    color: var(--ink);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
    /* Reset margins from global input styles */
    margin-bottom: 0; 
}

.pm-tool-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}

/* Mobile Adjustments for Grid */
@media (max-width: 600px) {
    .mn-grid { grid-template-columns: 1fr; } 
    .mn-cat-title { font-size: 20px; }
    .mn-card { padding: 20px; }
}