/* =========================================
   MASTER MAP PAGE STYLES (SommGeo)
   Target: Pages tagged 'map'
   ========================================= */

/* --- 1. UNLOCK PAGE WIDTH --- */
body.tag-map .content-container,
body.tag-map .entry-content,
body.tag-map .wp-block-group {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* --- 2. MAXIMIZED MAP HEIGHT --- */
body.tag-map iframe {
    width: 100% !important;       
    height: 92vh !important;      
    display: block;
    border: none;
    margin: 0 auto 40px auto;     
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* --- 3. TEXT READABILITY --- */
body.tag-map .entry-content p,
body.tag-map .entry-content h1,
body.tag-map .entry-content h2,
body.tag-map .entry-content h3,
body.tag-map .entry-content form,
body.tag-map .entry-content div.wp-block-group { 
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
/* Exception: Allow the map group to stay full width */
body.tag-map .entry-content > .wp-block-group:first-child {
    max-width: 100% !important;
}

/* --- 4. JETPACK FORM FIXES (Left Align) --- */

/* A. Container Box */
body.tag-map .wp-block-jetpack-contact-form {
    max-width: 600px !important;
    margin: 40px auto !important;
    padding: 30px;
    background: #fdfdfd; 
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: left !important; 
}

/* B. Reset the List Container (The Alignment Fix) */
body.tag-map .wp-block-jetpack-options,
body.tag-map .wp-block-jetpack-contact-form ul {
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

/* C. Force Individual Items to snap Left */
body.tag-map .wp-block-jetpack-option {
    display: flex !important; 
    justify-content: flex-start !important;
    align-items: center !important;
    margin-bottom: 10px !important;
    margin-left: 0 !important; 
    padding-left: 0 !important;
    width: 100% !important;
}

/* D. The Radio Button itself */
body.tag-map .wp-block-jetpack-option input[type="radio"] {
    margin: 0 12px 0 0 !important;
    width: 16px !important;
    height: 16px !important;
    transform: none !important;
    flex-shrink: 0;
}

/* E. The Button (Kept Blue & Normal Size) */
body.tag-map .wp-block-jetpack-button {
    width: 100% !important;
    display: flex !important;
    justify-content: flex-start !important;
    margin-top: 20px !important;
}

body.tag-map .wp-block-jetpack-button .wp-block-button__link {
    width: auto !important;        
    display: inline-block !important;
    background-color: #0A2454 !important; 
    color: #ffffff !important;
    border-radius: 5px !important;
    padding: 12px 30px !important; 
    font-size: 16px !important;
    text-align: center !important;
}

body.tag-map .wp-block-jetpack-button .wp-block-button__link:hover {
    background-color: #183cf0 !important;
}

/* --- 5. MODULA GALLERY TITLES (hover-only reveal) --- */
.modula-gallery .modula-item .figc, 
.modula-gallery .modula-item .jtc {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease-in-out !important;
}

.modula-gallery .modula-item:hover .figc, 
.modula-gallery .modula-item:hover .jtc {
    opacity: 1 !important;
    visibility: visible !important;
}

/* =========================================
   SommGeo Paywall - MASTER VERSION (Responsive + Animated)
   ========================================= */

/* 1. Container */
.sommgeo-paywall-container {
    position: relative;
    width: 100%;
    height: 450px; 
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* 2. Background: High Visibility Map */
.sommgeo-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(3px); 
    opacity: 1.0;      
    transform: scale(1.05); 
}

/* 3. The Glass Card (Desktop Default) */
.sommgeo-glass-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem 3rem; 
    max-width: 480px; 
    width: 90%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    opacity: 0;
    animation: slideUpFade 0.8s ease-out forwards;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

/* 4. Typography (Desktop) */
.sommgeo-glass-card h3 {
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    line-height: 1.2;
    color: #1a1a1a;
    font-weight: 700;
}

.sommgeo-glass-card p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #4a4a4a;
}

/* 5. Button Styling */
.glass-button {
    background: #005b96;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 91, 150, 0.4);
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
}

.glass-button:hover {
    background: #003d66; 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 91, 150, 0.5);
}

/* Paywall Mobile */
@media screen and (max-width: 768px) {
    .sommgeo-glass-card {
        padding: 1.5rem;
        max-width: 90%;
        width: 90%;
    }
    .sommgeo-glass-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    .sommgeo-glass-card p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        line-height: 1.4;
    }
    .glass-button {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Member "Thank You" Note Styling
   ========================================= */
.sommgeo-member-notice {
    margin-top: 12px;
    padding: 8px 0;
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    font-family: inherit;
    border-top: 1px solid #eee;
}

.member-lock-icon {
    font-size: 1rem;
    margin-right: 5px;
    vertical-align: middle;
    opacity: 0.7;
}

.sommgeo-member-notice strong {
    color: #005b96;
    font-weight: 600;
}

/* --- SOMMGEO GLOBAL CARD "POP" FIX --- */
.sommgeo-card, .sg-card {
    border: 1px solid #d1d1d1 !important; 
    box-shadow: 0 4px 12px rgba(0,0,0, 0.12) !important;
}

.sommgeo-card:hover, .sg-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0, 0.20) !important;
    border-color: #999 !important;
    transform: translateY(-5px) !important;
}

/* ═══════════════════════════════════════════════════════════
   SG2 HEADER LAYOUT FIX — v2
   Logo Left (larger) | Nav Centered | Launch SommGeo Far Right
   ═══════════════════════════════════════════════════════════ */

.site-header-main-section-left,
.site-header-main-section-center,
.site-header-main-section-right {
    display: flex !important;
    align-items: center !important;
}

.site-header-main-section-left {
    justify-content: flex-start !important;
    flex: 0 0 auto !important;
}

.site-header-main-section-center {
    justify-content: center !important;
    flex: 1 1 auto !important;
}

.site-header-main-section-right {
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
}

.site-header .site-branding img,
#masthead .site-branding img,
.site-header .custom-logo,
#masthead .custom-logo {
    height: 62px !important;
    max-height: 62px !important;
    width: auto !important;
    max-width: none !important;
}

.site-header .site-branding,
#masthead .site-branding {
    padding: 8px 0 !important;
}

.site-header .header-navigation .menu,
#masthead .header-navigation .menu,
.site-header .header-navigation ul,
#masthead .header-navigation ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

.site-header .header-navigation .menu-item,
#masthead .header-navigation .menu-item {
    margin: 0 !important;
    padding: 0 !important;
    order: 1;
}

.site-header .header-navigation .menu-item.mm-trigger,
#masthead .header-navigation .menu-item.mm-trigger,
.menu-item.mm-trigger {
    order: 999 !important;
    margin-left: auto !important;
}

/* Launch SommGeo button */
.mm-trigger > a,
.mm-trigger > a:visited,
.mm-trigger > a:link {
    background: #c5a059 !important;
    color: #0b162a !important;
    padding: 11px 26px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.6px !important;
    text-transform: none !important;
    border: 1px solid #c5a059 !important;
    box-shadow: 0 2px 12px rgba(197,160,89,0.25) !important;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
    text-decoration: none !important;
}

.mm-trigger > a:hover,
.mm-trigger > a:focus,
.mm-trigger > a:active {
    background: #d4b86a !important;
    color: #0b162a !important;
    border-color: #d4b86a !important;
    box-shadow: 0 4px 18px rgba(197,160,89,0.4) !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
}

@media (max-width: 1023px) {
    .site-header-main-section-left,
    .site-header-main-section-center,
    .site-header-main-section-right {
        flex: initial !important;
    }
    .site-header .site-branding img,
    #masthead .site-branding img,
    .site-header .custom-logo,
    #masthead .custom-logo {
        height: 48px !important;
        max-height: 48px !important;
    }
}

/* =============================================================
   SOMMGEO V1 VISUAL BRIDGING - END PAGES
   Target: body.tag-map (~120 tool/region pages)
   Version: 1.4   Date: April 17, 2026

   Changes from v1.3:
     - Section 1 rewritten as V3 Fast-Maps-Matched. Direct
       visual match to the hub banner nav strip: same gradient,
       same muted white links, same white hover. Slightly
       tighter padding. Added overflow: hidden as insurance
       against any stray border rules.
     - Removed retired legacy rules: the "NAVIGATION MENU BAR"
       block (UL-based), the "PHASE 4 VISUAL BRIDGING" block
       (gold eyebrow on UL), and Section 6e (.sub-nav-container
       hover). All three targeted a pre-V1 bare UL that the end
       pages no longer use.

   Design tokens in play:
     Navy Primary    #1A202C   (site header, buttons, footer bookend)
     Navy Gradient   #0f2847 / #0b162a / #0f1f3a (nav, cards)
     Navy Secondary  #0d1a6e   (H3 eyebrow, member welcome text)
     Gold            #c5a059
     Gold Hover      #d4b86a
     Hover Blue      #126CCA
     Off-White       #f0f1f5
   ============================================================= */


/* --- 1. END PAGE FEATURE NAVIGATION (V3 Fast-Maps-Matched) ---
   Mini version of the hub banner nav without the title card.
-------------------------------------------------------------- */

body.tag-map .wp-block-kadence-navigation,
body.tag-map .wp-block-kadence-advancednavigation,
body.tag-map .entry-content > .wp-block-group:first-child nav:not([class*="sg2-"]),
body.tag-map .entry-content nav:first-of-type:not([class*="sg2-"]) {
    max-width: 840px !important;
    margin: 1em auto 1.5em auto !important;
    padding: 0 !important;
    background: linear-gradient(160deg, #0f2847 0%, #0b162a 50%, #0f1f3a 100%) !important;
    border: none !important;
    border-top: none !important;
    border-radius: 10px !important;
    box-shadow: 
        0 2px 8px rgba(11,22,42,0.1),
        0 8px 24px rgba(11,22,42,0.15) !important;
    overflow: hidden !important;
}

body.tag-map .wp-block-kadence-navigation ul,
body.tag-map .wp-block-kadence-advancednavigation ul,
body.tag-map .entry-content > .wp-block-group:first-child nav:not([class*="sg2-"]) ul,
body.tag-map .entry-content nav:first-of-type:not([class*="sg2-"]) ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}

body.tag-map .wp-block-kadence-navigation a,
body.tag-map .wp-block-kadence-advancednavigation a,
body.tag-map .entry-content > .wp-block-group:first-child nav:not([class*="sg2-"]) a,
body.tag-map .entry-content nav:first-of-type:not([class*="sg2-"]) a {
    display: inline-block !important;
    color: rgba(255, 255, 255, 0.45) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.68rem !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    padding: 12px 20px !important;
    border: none !important;
    transition: color 0.2s ease !important;
}

body.tag-map .wp-block-kadence-navigation a:hover,
body.tag-map .wp-block-kadence-advancednavigation a:hover,
body.tag-map .entry-content > .wp-block-group:first-child nav:not([class*="sg2-"]) a:hover,
body.tag-map .entry-content nav:first-of-type:not([class*="sg2-"]) a:hover {
    color: #ffffff !important;
    border: none !important;
}


/* --- 2. SECTION HEADINGS (Gold Accent Underline) ------------- */
body.tag-map .sommgeo-page h2 {
    border-bottom-color: #c5a059 !important;
}


/* --- 3. BULLET ACCENTS (Navy Diamonds to Gold) --------------- */
body.tag-map .sommgeo-features li::before {
    color: #c5a059 !important;
}


/* --- 4. MEMBER WELCOME STRIPE (Gold Accent) ------------------ */
body.tag-map .sommgeo-member-welcome {
    background: #f0f1f5 !important;
    border-left: 3px solid #c5a059 !important;
}

body.tag-map .sommgeo-member-welcome strong {
    color: #0d1a6e !important;
}


/* --- 5. EXPLORE MORE WINE MAPS (Navy Footer Bookend) --------- */
body.tag-map .sommgeo-related {
    background: #1A202C !important;
    border-top: 3px solid #c5a059 !important;
    color: #ffffff !important;
    padding: 32px 36px !important;
    margin: 3em 0 1.5em 0 !important;
    border-radius: 8px !important;
}

body.tag-map .sommgeo-related h3 {
    color: #c5a059 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    margin: 0 0 18px 0 !important;
}

body.tag-map .sommgeo-related-link {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    padding: 10px 18px !important;
    border-radius: 5px !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

body.tag-map .sommgeo-related-link:hover {
    background: #c5a059 !important;
    border-color: #c5a059 !important;
    color: #1A202C !important;
}


/* --- 6. GUIDE BUTTON STANDARDIZATION ------------------------- */

/* 6a. Inline-styled Guide buttons (Map Maker pages) */
body.tag-map a[style*="#0d1a6e"],
body.tag-map a[style*="#0D1A6E"] {
    background: #1A202C !important;
}

body.tag-map a[style*="#091256"] {
    background: #126CCA !important;
}

/* 6b. Class-based Guide buttons (Fast Map, 3D Fast Map, Tour) */
body.tag-map a.sommgeo-guide-btn,
body.tag-map .sommgeo-fastmap-guide a,
body.tag-map .sommgeo-mapmaker-guide a,
body.tag-map .sommgeo-tour-guide a,
body.tag-map .sommgeo-guide a {
    background: #1A202C !important;
    color: #ffffff !important;
    border: 2px solid #1A202C !important;
}

body.tag-map a.sommgeo-guide-btn:hover,
body.tag-map .sommgeo-fastmap-guide a:hover,
body.tag-map .sommgeo-mapmaker-guide a:hover,
body.tag-map .sommgeo-tour-guide a:hover,
body.tag-map .sommgeo-guide a:hover {
    background: #126CCA !important;
    border-color: #126CCA !important;
    color: #ffffff !important;
}

/* 6c. Jetpack contact form Send Feedback button */
body.tag-map .wp-block-jetpack-button .wp-block-button__link {
    background-color: #1A202C !important;
}

body.tag-map .wp-block-jetpack-button .wp-block-button__link:hover {
    background-color: #126CCA !important;
}

/* 6d. Paywall glass button */
body.tag-map .glass-button {
    background: #1A202C !important;
    box-shadow: 0 4px 15px rgba(26, 32, 44, 0.35) !important;
}

body.tag-map .glass-button:hover {
    background: #126CCA !important;
    box-shadow: 0 6px 20px rgba(18, 108, 202, 0.45) !important;
}


/* --- 7. RESPONSIVE ------------------------------------------- */
@media (max-width: 640px) {
    body.tag-map .wp-block-kadence-navigation,
    body.tag-map .wp-block-kadence-advancednavigation,
    body.tag-map .entry-content > .wp-block-group:first-child nav:not([class*="sg2-"]),
    body.tag-map .entry-content nav:first-of-type:not([class*="sg2-"]) {
        margin: 0.75em auto 1em auto !important;
    }
    body.tag-map .wp-block-kadence-navigation a,
    body.tag-map .wp-block-kadence-advancednavigation a,
    body.tag-map .entry-content > .wp-block-group:first-child nav:not([class*="sg2-"]) a,
    body.tag-map .entry-content nav:first-of-type:not([class*="sg2-"]) a {
        font-size: 0.62rem !important;
        letter-spacing: 2px !important;
        padding: 10px 14px !important;
    }
    body.tag-map .sommgeo-related {
        padding: 24px 20px !important;
    }
}

/* =============================================================
   SG2 FOOTER: HIDE KADENCE DEFAULT FOOTER
   Replaced by WPCode injection (SommGeo Global Footer v1)
   ============================================================= */

#colophon,
.site-footer,
.site-footer-wrap,
.footer-widgets-outer-wrap,
.site-info,
.site-bottom-wrap {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   SOMMGEO V2 — LIGHT CREAM BOTTOM CTA + EXPLORE BENTO
   Version 2.0
   ═══════════════════════════════════════════════════════════════ */


/* 1. BOTTOM CTA — section background (gradient-style pages) */
.sg2-fm-bottom-cta,
.sg2-tools-bottom-cta,
.sg2-tr-bottom-cta,
.sg2-mm-bottom-cta,
.sg2-atlas-bottom-cta,
.sg2-cm-bottom-cta,
.sg2-gl-bottom-cta {
    background: #f0f1f5 !important;
    border-bottom: 1px solid rgba(11,22,42,0.06);
}

.sg2-fm-bottom-cta::before,
.sg2-tools-bottom-cta::before,
.sg2-tr-bottom-cta::before,
.sg2-mm-bottom-cta::before {
    background-image:
        linear-gradient(rgba(11,22,42,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11,22,42,0.025) 1px, transparent 1px) !important;
}

.sg2-fm-bottom-cta::after,
.sg2-tools-bottom-cta::after,
.sg2-tr-bottom-cta::after,
.sg2-mm-bottom-cta::after,
.sg2-atlas-bottom-cta::after,
.sg2-cm-bottom-cta::after,
.sg2-gl-bottom-cta::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(197,160,89,0.08) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}


/* 2. BOTTOM CTA — photo-background page handling */
.sg2-atlas-bottom-cta .sg2-atlas-hero-bg,
.sg2-cm-bottom-cta .sg2-cm-hero-bg,
.sg2-gl-bottom-cta .sg2-gl-hero-bg {
    display: none !important;
}

.sg2-atlas-bottom-cta-overlay,
.sg2-cm-bottom-cta-overlay,
.sg2-gl-bottom-cta-overlay {
    display: none !important;
}


/* 3. BOTTOM CTA — text colors (all prefixes) */
.sg2-fm-bottom-cta-content h2,
.sg2-tools-bottom-cta-content h2,
.sg2-tr-bottom-cta-content h2,
.sg2-mm-bottom-cta-content h2,
.sg2-atlas-bottom-cta-content h2,
.sg2-cm-bottom-cta-content h2,
.sg2-gl-bottom-cta-content h2 {
    color: #0b162a !important;
    text-shadow: none !important;
}

.sg2-fm-bottom-cta-content p,
.sg2-tools-bottom-cta-content p,
.sg2-tr-bottom-cta-content p,
.sg2-mm-bottom-cta-content p,
.sg2-atlas-bottom-cta-content p,
.sg2-cm-bottom-cta-content p,
.sg2-gl-bottom-cta-content p {
    color: #3a3a3a !important;
    text-shadow: none !important;
}


/* 4. BOTTOM CTA — ghost secondary button override */
.sg2-fm-bottom-cta .sg2-fm-btn-secondary,
.sg2-fm-bottom-cta .sg2-fm-btn-secondary:visited,
.sg2-fm-bottom-cta .sg2-fm-btn-secondary:link,
.sg2-tools-bottom-cta .sg2-tools-btn-secondary,
.sg2-tools-bottom-cta .sg2-tools-btn-secondary:visited,
.sg2-tools-bottom-cta .sg2-tools-btn-secondary:link,
.sg2-tr-bottom-cta .sg2-tr-btn-secondary,
.sg2-tr-bottom-cta .sg2-tr-btn-secondary:visited,
.sg2-tr-bottom-cta .sg2-tr-btn-secondary:link,
.sg2-mm-bottom-cta .sg2-mm-btn-secondary,
.sg2-mm-bottom-cta .sg2-mm-btn-secondary:visited,
.sg2-mm-bottom-cta .sg2-mm-btn-secondary:link,
.sg2-atlas-bottom-cta .sg2-atlas-btn-secondary,
.sg2-atlas-bottom-cta .sg2-atlas-btn-secondary:visited,
.sg2-atlas-bottom-cta .sg2-atlas-btn-secondary:link,
.sg2-cm-bottom-cta .sg2-cm-btn-secondary,
.sg2-cm-bottom-cta .sg2-cm-btn-secondary:visited,
.sg2-cm-bottom-cta .sg2-cm-btn-secondary:link,
.sg2-gl-bottom-cta .sg2-gl-btn-secondary,
.sg2-gl-bottom-cta .sg2-gl-btn-secondary:visited,
.sg2-gl-bottom-cta .sg2-gl-btn-secondary:link {
    color: #0b162a !important;
    border-color: rgba(11,22,42,0.25) !important;
    background: transparent !important;
}

.sg2-fm-bottom-cta .sg2-fm-btn-secondary:hover,
.sg2-fm-bottom-cta .sg2-fm-btn-secondary:focus,
.sg2-fm-bottom-cta .sg2-fm-btn-secondary:active,
.sg2-tools-bottom-cta .sg2-tools-btn-secondary:hover,
.sg2-tools-bottom-cta .sg2-tools-btn-secondary:focus,
.sg2-tools-bottom-cta .sg2-tools-btn-secondary:active,
.sg2-tr-bottom-cta .sg2-tr-btn-secondary:hover,
.sg2-tr-bottom-cta .sg2-tr-btn-secondary:focus,
.sg2-tr-bottom-cta .sg2-tr-btn-secondary:active,
.sg2-mm-bottom-cta .sg2-mm-btn-secondary:hover,
.sg2-mm-bottom-cta .sg2-mm-btn-secondary:focus,
.sg2-mm-bottom-cta .sg2-mm-btn-secondary:active,
.sg2-atlas-bottom-cta .sg2-atlas-btn-secondary:hover,
.sg2-atlas-bottom-cta .sg2-atlas-btn-secondary:focus,
.sg2-atlas-bottom-cta .sg2-atlas-btn-secondary:active,
.sg2-cm-bottom-cta .sg2-cm-btn-secondary:hover,
.sg2-cm-bottom-cta .sg2-cm-btn-secondary:focus,
.sg2-cm-bottom-cta .sg2-cm-btn-secondary:active,
.sg2-gl-bottom-cta .sg2-gl-btn-secondary:hover,
.sg2-gl-bottom-cta .sg2-gl-btn-secondary:focus,
.sg2-gl-bottom-cta .sg2-gl-btn-secondary:active {
    border-color: #c5a059 !important;
    background: rgba(197,160,89,0.1) !important;
    color: #0b162a !important;
}


/* 5. EXPLORE BENTO — section background */
.sg2-fm-explore,
.sg2-tools-explore,
.sg2-tr-explore,
.sg2-mm-explore,
.sg2-atlas-explore,
.sg2-cm-explore,
.sg2-gl-explore,
.sg2-wm-explore {
    background: #f0f1f5 !important;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(11,22,42,0.06);
}

.sg2-fm-explore::after,
.sg2-tools-explore::after,
.sg2-tr-explore::after,
.sg2-mm-explore::after,
.sg2-atlas-explore::after,
.sg2-cm-explore::after,
.sg2-gl-explore::after,
.sg2-wm-explore::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(197,160,89,0.08) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}


/* 6. EXPLORE BENTO — section header text */
.sg2-fm-explore .sg2-fm-section-header h2,
.sg2-tools-explore .sg2-tools-section-header h2,
.sg2-tr-explore .sg2-tr-section-header h2,
.sg2-mm-explore .sg2-mm-section-header h2,
.sg2-atlas-explore .sg2-atlas-section-header h2,
.sg2-cm-explore .sg2-cm-section-header h2,
.sg2-gl-explore .sg2-gl-section-header h2,
.sg2-wm-explore .sg2-wm-section-header h2 {
    color: #0b162a !important;
    position: relative;
    z-index: 1;
}

.sg2-fm-explore .sg2-fm-section-header p,
.sg2-tools-explore .sg2-tools-section-header p,
.sg2-tr-explore .sg2-tr-section-header p,
.sg2-mm-explore .sg2-mm-section-header p,
.sg2-atlas-explore .sg2-atlas-section-header p,
.sg2-cm-explore .sg2-cm-section-header p,
.sg2-gl-explore .sg2-gl-section-header p,
.sg2-wm-explore .sg2-wm-section-header p {
    color: #4a4a4a !important;
    position: relative;
    z-index: 1;
}


/* 7. EXPLORE BENTO — card treatment */
.sg2-fm-explore-grid,
.sg2-tools-explore-grid,
.sg2-tr-explore-grid,
.sg2-mm-explore-grid,
.sg2-atlas-explore-grid,
.sg2-cm-explore-grid,
.sg2-gl-explore-grid,
.sg2-wm-explore-grid {
    position: relative;
    z-index: 1;
}

.sg2-fm-explore-card,
.sg2-tools-explore-card,
.sg2-tr-explore-card,
.sg2-mm-explore-card,
.sg2-atlas-explore-card,
.sg2-cm-explore-card,
.sg2-gl-explore-card,
.sg2-wm-explore-card {
    background: linear-gradient(165deg, #0f2847 0%, #0b162a 55%, #0f1f3a 100%) !important;
    border-color: rgba(11,22,42,0.12) !important;
    box-shadow:
        0 2px 6px rgba(11,22,42,0.08),
        0 10px 24px rgba(11,22,42,0.12) !important;
}

.sg2-fm-explore-card:hover,
.sg2-tools-explore-card:hover,
.sg2-tr-explore-card:hover,
.sg2-mm-explore-card:hover,
.sg2-atlas-explore-card:hover,
.sg2-cm-explore-card:hover,
.sg2-gl-explore-card:hover,
.sg2-wm-explore-card:hover {
    box-shadow:
        0 4px 10px rgba(11,22,42,0.12),
        0 18px 36px rgba(11,22,42,0.18) !important;
    border-color: rgba(197,160,89,0.4) !important;
}

.sg2-fm-explore-card-gradient,
.sg2-tools-explore-card-gradient,
.sg2-tr-explore-card-gradient,
.sg2-mm-explore-card-gradient,
.sg2-atlas-explore-card-gradient,
.sg2-cm-explore-card-gradient,
.sg2-gl-explore-card-gradient,
.sg2-wm-explore-card-gradient {
    background: linear-gradient(to top, rgba(11,22,42,0.4) 0%, transparent 70%) !important;
}


/* 8. DEMOS PAGE — special case (godeep flipped to cream) */
.sg2-demos-godeep {
    background: #f0f1f5 !important;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(11,22,42,0.06);
}

.sg2-demos-godeep::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(197,160,89,0.08) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}

.sg2-demos-godeep .sg2-demos-section-header {
    position: relative;
    z-index: 1;
}

.sg2-demos-godeep .sg2-demos-section-header h2 {
    color: #0b162a !important;
}

.sg2-demos-godeep .sg2-demos-section-header p {
    color: #4a4a4a !important;
}

.sg2-demos-godeep-grid {
    position: relative;
    z-index: 1;
}

.sg2-demos-godeep-card {
    box-shadow:
        0 4px 10px rgba(11,22,42,0.1),
        0 18px 40px rgba(11,22,42,0.16) !important;
}

.sg2-demos-godeep-card:hover {
    box-shadow:
        0 6px 14px rgba(11,22,42,0.14),
        0 24px 52px rgba(11,22,42,0.22) !important;
}


/* Account menu item: visible to logged-in users only */
.sg2-menu-account { display: none; }
body.logged-in .sg2-menu-account { display: inline-flex; }


/* ============================================================
   SOMMGEO V2 - STATIC CARD AFFORDANCE FIX
   ============================================================ */

[class*="sg2-"][class*="card"]:not(a):not(:has(a)):not(:has(button)):hover,
[class*="sg2-"][class*="tile"]:not(a):not(:has(a)):not(:has(button)):hover,
[class*="sg2-"][class*="item"]:not(a):not(:has(a)):not(:has(button)):hover,
[class*="sg2-"][class*="feature"]:not(a):not(:has(a)):not(:has(button)):hover {
    transform: none !important;
    -webkit-transform: none !important;
    scale: 1 !important;
}

[class*="sg2-"][class*="card"]:not(a):not(:has(a)):not(:has(button)):hover *,
[class*="sg2-"][class*="tile"]:not(a):not(:has(a)):not(:has(button)):hover *,
[class*="sg2-"][class*="item"]:not(a):not(:has(a)):not(:has(button)):hover *,
[class*="sg2-"][class*="feature"]:not(a):not(:has(a)):not(:has(button)):hover * {
    transform: none !important;
    -webkit-transform: none !important;
}
/* ============================================================
   Legacy SommGeo logo removal — end pages only
   Removes the old circular logo below the feedback form on
   ~120 country/map pages without touching each page.
   Added: 4/17/26
   ============================================================ */
body.tag-map img[src*="cropped-Somm-Geo-Logo-One-Word"] {
    display: none !important;
}

/* Collapse the figure wrapper so no empty space remains */
body.tag-map figure.wp-block-image:has(img[src*="cropped-Somm-Geo-Logo-One-Word"]) {
    display: none !important;
}

/* Clean up trailing spacer immediately after the logo, if present */
body.tag-map figure.wp-block-image:has(img[src*="cropped-Somm-Geo-Logo-One-Word"]) + .wp-block-spacer {
    display: none !important;
}
/* =========================================
   HUB PAGE BOTTOM CTA — TEXT READABILITY FIX
   Forces white text on all sg2-*-bottom-cta
   banners, overrides Kadence heading colors.
   ========================================= */
[class*="sg2-"][class*="-bottom-cta-content"] h2,
[class*="sg2-"][class*="-bottom-cta-content"] h3 {
    color: #ffffff !important;
}

[class*="sg2-"][class*="-bottom-cta-content"] p {
    color: rgba(255, 255, 255, 0.88) !important;
}

[class*="sg2-"][class*="-bottom-cta-content"] [class*="-btn-secondary"] {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

[class*="sg2-"][class*="-bottom-cta-content"] [class*="-btn-secondary"]:hover,
[class*="sg2-"][class*="-bottom-cta-content"] [class*="-btn-secondary"]:focus {
    color: #ffffff !important;
    border-color: #c5a059 !important;
}
/* =============================================================
   SOMMGEO V2 - ACCOUNT & COMMERCE PAGE RESTORE
   Version: 1.0
   Date: April 18, 2026
   
   Paste this block at the END of Appearance > Customize >
   Additional CSS, AFTER the existing Staging_Add_CSS_FINAL
   contents. Do not replace anything. This is purely additive.
   
   Restores seven blocks that were dropped during the staging
   rebuild:
     1. Login page (page-id-4693)
     2. Account dashboard (page-id-433)
     3. Thank You page (page-id-432)
     4. Sign-up wrapper and card (/sign-up/)
     5. Price tag refinements
     6. Map Maker feature list alignment
     7. Map page top padding removal
   
   Design tokens in use:
     Navy Primary    #0b162a
     Navy Hover      #1a2f55
     Gold            #c5a059
     Gold Shadow     rgba(197, 160, 89, 0.4)
     Off-White       #f0f1f5
   ============================================================= */


/* -------------------------------------------------------------
   1. LOGIN PAGE (page-id-4693)
------------------------------------------------------------- */

body.page-id-4693 {
    background-color: #0b162a;
    background-image: linear-gradient(rgba(11, 22, 42, 0.85), rgba(11, 22, 42, 0.9)), url('https://sommgeo.com/wp-content/uploads/2026/01/SommGeo-Mosaic-Business.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
}

.page-id-4693 .site,
.page-id-4693 .site-inner,
.page-id-4693 .content-area,
.page-id-4693 .site-content,
.page-id-4693 .entry-content,
.page-id-4693 .content-container,
.page-id-4693 .site-container {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-id-4693 .mp_wrapper {
    background: rgba(255, 255, 255, 0.98);
    max-width: 400px;
    width: 90%;
    margin: 15vh auto;
    padding: 40px;
    border-radius: 8px;
    border-top: 5px solid #c5a059;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.page-id-4693 .mp_wrapper::before {
    content: "";
    display: block;
    width: 100%;
    height: 90px;
    background-image: url('https://sommgeo.com/wp-content/uploads/2024/10/cropped-Somm-Geo-Logo-One-Word.-Black.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 25px auto;
}

.page-id-4693 .mp_wrapper label {
    display: block;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-id-4693 .mp_wrapper input[type="text"],
.page-id-4693 .mp_wrapper input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fdfdfd;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.page-id-4693 .mp_wrapper input[type="text"]:focus,
.page-id-4693 .mp_wrapper input[type="password"]:focus {
    border-color: #c5a059;
    outline: none;
}

.page-id-4693 .mp_wrapper .mepr-submit {
    width: 100%;
    background-color: #0b162a;
    color: #fff;
    height: 55px;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.page-id-4693 .mp_wrapper .mepr-submit:hover {
    background-color: #1a2f55;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-id-4693 .mp_wrapper a {
    color: #888;
    font-size: 13px;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
}

.page-id-4693 .mp_wrapper a:hover {
    color: #c5a059;
}

.page-id-4693 .mepr-login-remember-me {
    text-align: center;
}


/* -------------------------------------------------------------
   2. ACCOUNT DASHBOARD (page-id-433)
------------------------------------------------------------- */

body.page-id-433 {
    background-color: #0b162a;
    background-image: linear-gradient(rgba(11, 22, 42, 0.85), rgba(11, 22, 42, 0.9)), url('https://sommgeo.com/wp-content/uploads/2026/01/SommGeo-Mosaic-Business.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
}

body.page-id-433 .site,
body.page-id-433 .site-inner,
body.page-id-433 .content-area,
body.page-id-433 .site-content,
body.page-id-433 .site-container {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

body.page-id-433 .entry-content {
    background: rgba(255, 255, 255, 0.98) !important;
    max-width: 800px;
    width: 95%;
    margin: 8vh auto;
    padding: 40px;
    border-radius: 8px;
    border-top: 5px solid #c5a059;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

body.page-id-433 .mp_wrapper::before { display: none !important; }

body.page-id-433 .entry-content::before {
    content: "";
    display: block;
    width: 100%;
    height: 80px;
    background-image: url('https://sommgeo.com/wp-content/uploads/2024/10/cropped-Somm-Geo-Logo-One-Word.-Black.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 10px auto;
}

/* 2a. Navigation tabs */
body.page-id-433 .mp_wrapper .mepr-account-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-bottom: 30px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #eee !important;
    background: transparent !important;
}

body.page-id-433 .mp_wrapper .mepr-account-nav a,
body.page-id-433 .mp_wrapper .mepr-account-nav span a {
    display: inline-block !important;
    background-color: #f4f4f4 !important;
    color: #0b162a !important;
    padding: 12px 24px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    border: 1px solid #ddd !important;
    transition: all 0.2s ease !important;
    margin: 5px !important;
    line-height: normal !important;
    box-shadow: none !important;
}

body.page-id-433 .mp_wrapper .mepr-account-nav a:hover,
body.page-id-433 .mp_wrapper .mepr-account-nav span a:hover {
    background-color: #0b162a !important;
    color: #ffffff !important;
    border-color: #0b162a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

body.page-id-433 .mp_wrapper .mepr-account-nav a.mepr-active-nav-tab,
body.page-id-433 .mp_wrapper .mepr-account-nav span.mepr-active-nav-tab a {
    background-color: #0b162a !important;
    color: #ffffff !important;
    border-color: #0b162a !important;
    font-weight: 800 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* 2b. Change password outline button */
body.page-id-433 .mepr-account-change-password a {
    display: block !important;
    width: fit-content;
    margin: 30px auto 0 auto !important;
    padding: 12px 25px !important;
    border: 2px solid #0b162a !important;
    background-color: transparent !important;
    color: #0b162a !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    transition: all 0.2s ease;
}

body.page-id-433 .mepr-account-change-password a:hover {
    background-color: #0b162a !important;
    color: #fff !important;
}

/* 2c. Input fields */
body.page-id-433 .entry-content input[type="text"],
body.page-id-433 .entry-content input[type="email"],
body.page-id-433 .entry-content input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fdfdfd;
    box-sizing: border-box;
    font-size: 16px;
}

body.page-id-433 .entry-content input:focus {
    border-color: #c5a059;
    outline: none;
}

/* 2d. Main Save button */
body.page-id-433 .mp_wrapper .mepr-submit {
    background-color: #0b162a !important;
    color: #fff !important;
    padding: 15px 30px !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-top: 20px !important;
    letter-spacing: 1px;
}

body.page-id-433 .mp_wrapper .mepr-submit:hover {
    background-color: #c5a059 !important;
    color: #0b162a !important;
}

/* 2e. Return to SommGeo gold pill */
a.somm-return-btn {
    display: table;
    margin: 0 auto 20px auto;
    background-color: #c5a059 !important;
    color: #0b162a !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    transition: all 0.3s ease;
}

a.somm-return-btn:hover {
    background-color: #0b162a !important;
    color: #fff !important;
    transform: translateY(-3px);
}


/* -------------------------------------------------------------
   3. THANK YOU PAGE (page-id-432)
------------------------------------------------------------- */

body.page-id-432 {
    background-color: #0b162a;
    background-image: linear-gradient(rgba(11, 22, 42, 0.85), rgba(11, 22, 42, 0.9)), url('https://sommgeo.com/wp-content/uploads/2026/01/SommGeo-Mosaic-Business.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
}

.page-id-432 .site,
.page-id-432 .site-inner,
.page-id-432 .content-area,
.page-id-432 .site-content,
.page-id-432 .entry-content,
.page-id-432 .content-container,
.page-id-432 .site-container {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-id-432 .sommgeo-auth-card {
    background: rgba(255, 255, 255, 0.98);
    max-width: 500px;
    width: 90%;
    margin: 15vh auto;
    padding: 50px 40px;
    border-radius: 8px;
    border-top: 5px solid #c5a059;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.page-id-432 .sommgeo-auth-card::before {
    content: "";
    display: block;
    width: 100%;
    height: 90px;
    background-image: url('https://sommgeo.com/wp-content/uploads/2024/10/cropped-Somm-Geo-Logo-One-Word.-Black.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 30px auto;
}

.page-id-432 .sommgeo-auth-card h2 {
    color: #0b162a;
    text-transform: uppercase;
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-id-432 .sommgeo-auth-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-id-432 .sommgeo-btn {
    display: block;
    width: 100%;
    background-color: #0b162a;
    color: #fff !important;
    padding: 15px 0;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.page-id-432 .sommgeo-btn:hover {
    background-color: #1a2f55;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-id-432 .sommgeo-btn-secondary {
    display: inline-block;
    width: 100%;
    background-color: #0b162a;
    color: #ffffff !important;
    padding: 15px 0;
    margin-top: 20px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #0b162a;
    box-sizing: border-box;
}

.page-id-432 .sommgeo-btn-secondary:hover {
    background-color: #1a2f55;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}


/* -------------------------------------------------------------
   4. SIGN-UP PAGE WRAPPER & CARD (/sign-up/)
------------------------------------------------------------- */

/* 4a. Full-bleed wrapper with parallax mosaic background */
.sommgeo-signup-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 20px;
    background-image: url('https://sommgeo.com/wp-content/uploads/2026/01/SommGeo-Mosaic-Business.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.sommgeo-signup-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: -1;
}

/* 4b. The two-column card */
.sommgeo-signup-card {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

/* 4c. Left column: visuals and benefits */
.sommgeo-col-left {
    width: 50%;
    background-color: #f8fafc;
    border-right: 1px solid #e2e8f0;
}

.sommgeo-image-container {
    width: 100%;
    height: 250px;
}

.sommgeo-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sommgeo-content-box {
    padding: 30px 40px;
}

.sommgeo-content-box h2 {
    margin-top: 0;
    font-size: 24px;
    color: #1e293b;
}

.sommgeo-content-box .subhead {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 20px;
}

.sommgeo-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.sommgeo-benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #334155;
}

.sommgeo-benefits-list .icon {
    margin-right: 10px;
    display: flex;
}

.sommgeo-benefits-list .icon svg {
    width: 20px;
    height: 20px;
    stroke: #334155;
}

.sommgeo-login-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-size: 13px;
}

/* 4d. Right column: MemberPress form */
.sommgeo-col-right {
    width: 50%;
    padding: 40px;
    background: #fff;
}

/* 4e. MemberPress form cleanup */
.sommgeo-signup-wrapper .mepr_price_cell_label,
.sommgeo-signup-wrapper .mepr_price {
    display: none !important;
}

.sommgeo-signup-wrapper .mepr-form .mepr_human_test,
.sommgeo-signup-wrapper .mepr-form .mepr-spacestation {
    display: none !important;
}

.sommgeo-signup-wrapper .mepr-form label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    display: block;
    margin-bottom: 5px;
}

.sommgeo-signup-wrapper .mepr-form input:not([type="submit"]):not([type="checkbox"]) {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #f8fafc;
    margin-bottom: 15px;
}

/* 4f. Sign-up submit button (V2 token: navy instead of pure black) */
.sommgeo-signup-wrapper .mepr-submit {
    width: 100%;
    background: #0b162a !important;
    color: #fff !important;
    padding: 15px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease;
}

.sommgeo-signup-wrapper .mepr-submit:hover {
    background: #1a2f55 !important;
}

/* 4g. Mobile stacking */
@media (max-width: 900px) {
    .sommgeo-signup-card { flex-direction: column; }
    .sommgeo-col-left, .sommgeo-col-right { width: 100%; }
    .sommgeo-image-container { height: 150px; }
    .sommgeo-signup-wrapper { min-height: auto; }
}


/* -------------------------------------------------------------
   5. PRICE TAG (sign-up page)
------------------------------------------------------------- */

.sommgeo-price-tag {
    position: relative;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 20px;
}

/* V2 token: gold harmonized to c5a059 */
.price-badge {
    background-color: #c5a059;
    color: #0b162a;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.price-strike {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 1.3rem;
    font-weight: 500;
}

.price-big {
    display: block;
    font-weight: 800;
    color: #212529;
    font-size: 2.2rem;
    line-height: 1;
}

.price-small {
    display: block;
    margin-top: 8px;
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
}


/* -------------------------------------------------------------
   6. MAP MAKER FEATURE LIST ALIGNMENT
   Keeps feature labels (like "Appellation boundaries",
   "Terrain shading") properly aligned on Map Maker pages.
------------------------------------------------------------- */

.sommgeo-features li {
    display: block !important;
    padding-left: 16px;
    position: relative;
}

.sommgeo-features li::before {
    position: absolute;
    left: 0;
    top: 7px;
    margin-top: 0;
}

.sommgeo-features li strong {
    display: block;
    margin-bottom: 2px;
}

/* Screenshot grid padding cleanup */
.sommgeo-page .sommgeo-screenshots {
    align-items: start;
}


/* -------------------------------------------------------------
   7. MAP PAGE TOP PADDING (end pages with page title disabled)
------------------------------------------------------------- */

body.tag-map .content-area,
body.tag-map .site-main,
body.tag-map .entry-content-wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* --- FIX: sommgeo-member-welcome link override --- */
.sommgeo-member-welcome a,
.sommgeo-member-welcome a:visited,
.sommgeo-member-welcome a:link {
    color: #c5a059 !important;
    background: transparent !important;
    background-color: transparent !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.sommgeo-member-welcome a:hover,
.sommgeo-member-welcome a:focus {
    color: #0b162a !important;
    text-decoration: none !important;
    background: transparent !important;
}
/* =========================================
   CLASSIC MAP PAGE NAV PANEL (SommGeo)
   Target: Pages tagged 'cmap' only.

   Purpose: mirror the V1 Visual Bridging nav panel
   styling (Section 1 above) so classic map pages can
   display the same navy-gradient nav as end pages,
   WITHOUT inheriting any other body.tag-map rules.

   Everything else on classic map pages renders as a
   default Kadence page. This block is intentionally
   nav-only. Do not add content-width, iframe, or
   form rules here.
   ========================================= */

body.tag-cmap .wp-block-kadence-navigation,
body.tag-cmap .wp-block-kadence-advancednavigation,
body.tag-cmap .entry-content > .wp-block-group:first-child nav:not([class*="sg2-"]),
body.tag-cmap .entry-content nav:first-of-type:not([class*="sg2-"]) {
    max-width: 840px !important;
    margin: 1em auto 1.5em auto !important;
    padding: 0 !important;
    background: linear-gradient(160deg, #0f2847 0%, #0b162a 50%, #0f1f3a 100%) !important;
    border: none !important;
    border-top: none !important;
    border-radius: 10px !important;
    box-shadow: 
        0 2px 8px rgba(11,22,42,0.1),
        0 8px 24px rgba(11,22,42,0.15) !important;
    overflow: hidden !important;
}

body.tag-cmap .wp-block-kadence-navigation ul,
body.tag-cmap .wp-block-kadence-advancednavigation ul,
body.tag-cmap .entry-content > .wp-block-group:first-child nav:not([class*="sg2-"]) ul,
body.tag-cmap .entry-content nav:first-of-type:not([class*="sg2-"]) ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}

body.tag-cmap .wp-block-kadence-navigation a,
body.tag-cmap .wp-block-kadence-advancednavigation a,
body.tag-cmap .entry-content > .wp-block-group:first-child nav:not([class*="sg2-"]) a,
body.tag-cmap .entry-content nav:first-of-type:not([class*="sg2-"]) a {
    display: inline-block !important;
    color: rgba(255, 255, 255, 0.45) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.68rem !important;
    letter-spacing: 2.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    padding: 12px 20px !important;
    border: none !important;
    transition: color 0.2s ease !important;
}

body.tag-cmap .wp-block-kadence-navigation a:hover,
body.tag-cmap .wp-block-kadence-advancednavigation a:hover,
body.tag-cmap .entry-content > .wp-block-group:first-child nav:not([class*="sg2-"]) a:hover,
body.tag-cmap .entry-content nav:first-of-type:not([class*="sg2-"]) a:hover {
    color: #ffffff !important;
    border: none !important;
}

/* Responsive (matches Section 7 of tag-map rules) */
@media (max-width: 640px) {
    body.tag-cmap .wp-block-kadence-navigation,
    body.tag-cmap .wp-block-kadence-advancednavigation,
    body.tag-cmap .entry-content > .wp-block-group:first-child nav:not([class*="sg2-"]),
    body.tag-cmap .entry-content nav:first-of-type:not([class*="sg2-"]) {
        margin: 0.75em auto 1em auto !important;
    }
    body.tag-cmap .wp-block-kadence-navigation a,
    body.tag-cmap .wp-block-kadence-advancednavigation a,
    body.tag-cmap .entry-content > .wp-block-group:first-child nav:not([class*="sg2-"]) a,
    body.tag-cmap .entry-content nav:first-of-type:not([class*="sg2-"]) a {
        font-size: 0.62rem !important;
        letter-spacing: 2px !important;
        padding: 10px 14px !important;
    }
}