/*
 Theme Name:   GhidGSM Child
 Theme URI:    https://ghidgsm.ro
 Description:  Child theme for GhidGSM.ro - Director Service GSM România
 Author:       GhidGSM
 Author URI:   https://ghidgsm.ro
 Template:     kadence
 Version:      2.0.0
 Text Domain:  ghidgsm-child
 License:      GPL-2.0-or-later
*/

/* ═══════════════════════════════════════════════════════════════════════
   Self-Hosted Fonts (GDPR-compliant, no external requests)
   ═══════════════════════════════════════════════════════════════════════ */

/* Plus Jakarta Sans — latin-ext (Romanian characters) */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('./assets/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Plus Jakarta Sans — latin */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('./assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Sans — latin-ext */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('./assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Sans — latin */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('./assets/fonts/dm-sans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════════════════════════════════════
   CSS Variables — Warm & Premium 2026 Design System
   ═══════════════════════════════════════════════════════════════════════ */
:root {
    /* Colors */
    --ghidgsm-primary: #1B3A4B;
    --ghidgsm-primary-dark: #0F2B3C;
    --ghidgsm-accent: #C8986A;
    --ghidgsm-accent-dark: #B5845A;
    --ghidgsm-text-dark: #1A1A2E;
    --ghidgsm-text-light: #6B7280;
    --ghidgsm-border: #E6DFD3;
    --ghidgsm-bg-light: #FAF8F5;
    --ghidgsm-white: #FFFFFF;
    --ghidgsm-success: #2D8B5A;
    --ghidgsm-footer-bg: #0F1923;
    --ghidgsm-footer-dark: #090F15;

    /* Shadows — warm tones */
    --ghidgsm-shadow-sm: 0 1px 3px rgba(27, 58, 75, 0.06);
    --ghidgsm-shadow-md: 0 4px 16px rgba(27, 58, 75, 0.1);
    --ghidgsm-shadow-lg: 0 8px 32px rgba(27, 58, 75, 0.14);
    --ghidgsm-shadow-xl: 0 16px 48px rgba(27, 58, 75, 0.18);
    --ghidgsm-shadow-glow: 0 0 24px rgba(200, 152, 106, 0.2);
    --ghidgsm-shadow-card: 0 1px 2px rgba(27,58,75,0.04), 0 4px 12px rgba(27,58,75,0.06);
    --ghidgsm-shadow-card-hover: 0 2px 4px rgba(27,58,75,0.04), 0 8px 24px rgba(27,58,75,0.1), 0 0 0 1px rgba(200,152,106,0.08);
    --ghidgsm-shadow-layered:
        0 1px 1px rgba(27,58,75,0.03),
        0 2px 4px rgba(27,58,75,0.03),
        0 4px 8px rgba(27,58,75,0.03),
        0 8px 16px rgba(27,58,75,0.03);
    --ghidgsm-shadow-layered-hover:
        0 1px 2px rgba(27,58,75,0.03),
        0 2px 4px rgba(27,58,75,0.03),
        0 4px 8px rgba(27,58,75,0.03),
        0 8px 16px rgba(27,58,75,0.03),
        0 16px 32px rgba(27,58,75,0.04);

    /* Layout */
    --ghidgsm-radius: 12px;
    --ghidgsm-radius-sm: 8px;
    --ghidgsm-radius-lg: 16px;
    --ghidgsm-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ghidgsm-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ghidgsm-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ghidgsm-transition: all 0.25s var(--ghidgsm-ease);
}

/* ═══════════════════════════════════════════════════════════════════════
   Global Base
   ═══════════════════════════════════════════════════════════════════════ */
body {
    background: var(--ghidgsm-bg-light);
}

/* ═══════════════════════════════════════════════════════════════════════
   Navigation / Header
   ═══════════════════════════════════════════════════════════════════════ */

/* Default header (all pages) — fixed positioning.
   !important needed: Kadence header.min.css loads after child theme and sets position: relative */
#masthead {
    transition: background 0.3s ease, box-shadow 0.3s ease;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--ghidgsm-primary) !important; /* prevent white flash before JS adds header class */
}

/* Dark-hero pages start transparent (JS handles scroll → solid transition) */
.home #masthead,
.page-id-12 #masthead,
.ghidgsm-dark-hero-page #masthead {
    background: transparent !important;
}

/* CSS-only spacer: push body content below fixed header (non-dark-hero pages).
   Dark hero pages (home, service-uri, etc.) overlap the header intentionally. */
body:not(.home):not(.page-id-12):not(.ghidgsm-dark-hero-page) {
    padding-top: 80px; /* matches typical Kadence header height */
}

/* ── Logo SVG wordmark ── */
.logo-icon {
    display: flex;
    align-items: center;
    line-height: 1;
    max-width: none !important;
}

.ghidgsm-logo-svg {
    display: block;
    height: 36px;
    width: 171px; /* 36 × (5994 / 1260) */
    transition: all 0.3s ease;
}

.ghidgsm-logo-svg .wordmark {
    transition: fill 0.3s ease;
}

.ghidgsm-logo-svg .accent {
    fill: #C8986A;
}

/* ── Sticky header on non-homepage pages ── */
#masthead.ghidgsm-sticky-header {
    background: var(--ghidgsm-primary) !important;
}

#masthead.ghidgsm-sticky-header .site-header-row-container-inner {
    background: var(--ghidgsm-primary) !important;
}

#masthead.ghidgsm-sticky-header.header-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15) !important;
}

/* White nav links + logo on non-homepage dark header */
#masthead.ghidgsm-sticky-header .menu > li > a {
    color: rgba(255, 255, 255, 0.9) !important;
}

#masthead.ghidgsm-sticky-header .menu > li > a:hover {
    color: #FFFFFF !important;
}

#masthead.ghidgsm-sticky-header .menu > li.current-menu-item > a {
    color: #C8986A !important;
}

#masthead.ghidgsm-sticky-header .site-title,
#masthead.ghidgsm-sticky-header .site-title a {
    color: #FFFFFF !important;
}

#masthead.ghidgsm-sticky-header .ghidgsm-logo-svg .wordmark {
    fill: #FFFFFF;
}

/* ── Homepage transparent navbar (JS adds .ghidgsm-transparent-header to #masthead) ── */

/* Transparent state — override Kadence's inline bg:#fff */
#masthead.ghidgsm-transparent-header {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom-color: transparent !important;
}

#masthead.ghidgsm-transparent-header .site-header-row-container-inner {
    background: transparent !important;
}

/* White nav links + logo when transparent */
#masthead.ghidgsm-transparent-header:not(.header-scrolled) .menu > li > a,
#masthead.ghidgsm-transparent-header:not(.header-scrolled) .menu > li.current-menu-item > a {
    color: rgba(255, 255, 255, 0.9) !important;
}

#masthead.ghidgsm-transparent-header:not(.header-scrolled) .menu > li > a:hover,
#masthead.ghidgsm-transparent-header:not(.header-scrolled) .menu > li.current-menu-item > a:hover {
    color: #FFFFFF !important;
}

#masthead.ghidgsm-transparent-header:not(.header-scrolled) .site-title,
#masthead.ghidgsm-transparent-header:not(.header-scrolled) .site-title a {
    color: #FFFFFF !important;
}

#masthead.ghidgsm-transparent-header:not(.header-scrolled) .ghidgsm-logo-svg .wordmark {
    fill: #FFFFFF;
}

/* ── Scrolled state — dark frosted glass ── */
#masthead.ghidgsm-transparent-header.header-scrolled {
    background: rgba(27, 58, 75, 0.88) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15) !important;
}

#masthead.ghidgsm-transparent-header.header-scrolled .site-header-row-container-inner {
    background: rgba(27, 58, 75, 0.88) !important;
}

/* White text on scroll (stays white — dark bg) */
#masthead.ghidgsm-transparent-header.header-scrolled .menu > li > a {
    color: rgba(255, 255, 255, 0.9) !important;
}

#masthead.ghidgsm-transparent-header.header-scrolled .menu > li.current-menu-item > a {
    color: #C8986A !important;
}

#masthead.ghidgsm-transparent-header.header-scrolled .site-title,
#masthead.ghidgsm-transparent-header.header-scrolled .site-title a {
    color: #FFFFFF !important;
}

#masthead.ghidgsm-transparent-header.header-scrolled .ghidgsm-logo-svg .wordmark {
    fill: #FFFFFF;
}

/* ── Nav link hover underline (works for both states) ── */
#primary-navigation .menu > li > a {
    transition: var(--ghidgsm-transition);
    position: relative;
}

#primary-navigation .menu > li > a:hover,
#primary-navigation .menu > li.current-menu-item > a {
    color: var(--ghidgsm-primary);
}

#primary-navigation .menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: var(--ghidgsm-accent);
    border-radius: 1px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#primary-navigation .menu > li > a:hover::after,
#primary-navigation .menu > li.current-menu-item > a::after {
    transform: translateX(-50%) scaleX(1);
}

/* Reset wpautop paragraph inside Kadence HTML header element */
.header-html-inner p {
    margin: 0;
}

/* Header auth button — premium pill with copper gradient */
.ghidgsm-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #D4A574, #C8986A, #B5845A);
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none !important;
    border-radius: 50px;
    padding: 9px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 12px rgba(200, 152, 106, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ghidgsm-auth-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.ghidgsm-auth-btn:hover {
    background: linear-gradient(135deg, #DEBA8A, #D4A574, #C8986A);
    box-shadow: 0 4px 20px rgba(200, 152, 106, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    color: #FFFFFF !important;
}

.ghidgsm-auth-btn:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 1px 6px rgba(200, 152, 106, 0.3);
    transition-duration: 0.1s;
}

/* ═══════════════════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════════════════ */
.kb-row-layout-id-hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 70% at 85% 15%, rgba(200,152,106,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 55% 80% at 10% 90%, rgba(91,155,213,0.08) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(27,58,75,0.4) 0%, transparent 70%),
        linear-gradient(160deg, #1B3A4B 0%, #0E2738 35%, #091E2C 70%, #0A1C28 100%) !important;
}

/* Desktop: content-driven height — no arbitrary min-height stretch */
@media (min-width: 1025px) {
    #kt-layout-idhero-section > .kt-row-column-wrap {
        min-height: 0 !important;
    }
}

/* Tablet & mobile: let padding drive the height, override Kadence's 700px min-height */
@media (max-width: 1024px) {
    #kt-layout-idhero-section > .kt-row-column-wrap {
        min-height: auto !important;
    }
}

/* Geometric grid + noise grain — matches service-uri hero */
.kb-row-layout-id-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        /* Fine grid — horizontal */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 79px,
            rgba(200,152,106,0.06) 79px,
            rgba(200,152,106,0.06) 80px
        ),
        /* Fine grid — vertical */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 79px,
            rgba(200,152,106,0.06) 79px,
            rgba(200,152,106,0.06) 80px
        ),
        /* Noise grain via SVG */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 80px 80px, 80px 80px, 200px 200px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

/* Copper hairline at bottom — matches service-uri hero */
.kb-row-layout-id-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(200,152,106,0.5) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.kb-row-layout-id-hero-section .kt-row-column-wrap {
    position: relative;
    z-index: 1;
}

/* ── Hero background video ── */
.ghidgsm-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}

/* ── Hero content wrapper — vertically centered layout ── */
.kb-row-layout-id-hero-section .kt-inside-inner-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ── Hero entrance choreography ── */
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hero heading — entrance animation + responsive sizing */
.kb-row-layout-id-hero-section h1 {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.025em;
    line-height: 1.1 !important;
    font-size: clamp(30px, 4.2vw, 48px) !important;
    margin-bottom: 16px !important;
    text-wrap: balance;
    opacity: 0;
    animation: heroFadeIn 0.45s cubic-bezier(0.25, 0.1, 0.25, 1) 0.08s forwards;
}

/* Hero subtitle */
.kb-row-layout-id-hero-section h1 + .wp-block-kadence-advancedheading + p,
.kb-row-layout-id-hero-section h1 + p {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    font-size: clamp(15px, 1.8vw, 18px) !important;
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
    opacity: 0;
    animation: heroFadeIn 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) 0.16s forwards;
}

/* ── Hero search — seamless dark integration ── */
.ghidgsm-search-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    width: 100%;
    max-width: 720px;
    margin: 28px auto 0;
    opacity: 0;
    animation: heroFadeIn 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) 0.26s forwards;
}

/* Remove GeoDirectory form margins/padding */
.ghidgsm-search-card .geodir-search-container {
    margin: 0 !important;
}

.ghidgsm-search-card .geodir-search-form-wrapper {
    margin: 0 !important;
}

.ghidgsm-search-card .geodir-search-form-wrapper form {
    box-sizing: border-box !important;
}

.ghidgsm-search-card .geodir-search.row {
    padding: 0 !important;
    gap: 10px !important;
    flex-wrap: nowrap;
    align-items: stretch !important;
}

/* ── Submit button wrapper — propagate stretch height to button ── */
.ghidgsm-search-card .geodir-search.row > div:last-child,
.ghidgsm-search-card .geodir-search.row > div:last-child > div {
    display: flex;
}

/* ── Search input wrappers — semi-transparent glass ── */
.ghidgsm-search-card .input-group-inside {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s var(--ghidgsm-ease), background 0.3s var(--ghidgsm-ease), box-shadow 0.4s var(--ghidgsm-ease);
    position: relative !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ghidgsm-search-card .input-group-inside:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.25);
}

@keyframes focusGlowPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(200, 152, 106, 0.18), 0 0 16px rgba(200, 152, 106, 0.06); }
    50% { box-shadow: 0 0 0 4px rgba(200, 152, 106, 0.12), 0 0 24px rgba(200, 152, 106, 0.1); }
}

.ghidgsm-search-card .input-group-inside:focus-within {
    background: rgba(255, 255, 255, 0.13);
    border-color: var(--ghidgsm-accent);
    animation: focusGlowPulse 2.5s ease-in-out infinite;
}

/* Search icons */
.ghidgsm-search-card .input-group-text {
    background: transparent !important;
    border: none !important;
    position: absolute !important;
    left: 0;
    top: 0;
    bottom: 0;
    width: 48px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: auto;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 15px;
    padding: 0 !important;
    transition: color 0.3s var(--ghidgsm-ease), transform 0.3s var(--ghidgsm-ease-spring);
}

.ghidgsm-search-card .input-group-inside:focus-within .input-group-text {
    color: var(--ghidgsm-accent) !important;
    transform: scale(1.08);
}

.ghidgsm-search-card .input-group-text .text-muted {
    color: rgba(255, 255, 255, 0.4) !important;
}

.ghidgsm-search-card .input-group-inside:focus-within .input-group-text .text-muted {
    color: var(--ghidgsm-accent) !important;
}

/* Search inputs */
.ghidgsm-search-card .form-control {
    border: none !important;
    background: transparent !important;
    padding: 16px 36px 16px 48px !important;
    font-size: 16px !important;
    color: #fff !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: 54px;
    position: relative;
    z-index: 1;
}

.ghidgsm-search-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
    transition: color 0.3s ease;
}

.ghidgsm-search-card .form-control:focus::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}

.ghidgsm-search-card .form-control:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* ── Search button — accent with shimmer on hover ── */
.ghidgsm-search-card .geodir_submit_search {
    background: var(--ghidgsm-accent) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #fff !important;
    min-width: 54px;
    min-height: 54px;
    padding: 16px 28px !important;
    font-size: 16px !important;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s var(--ghidgsm-ease), transform 0.3s var(--ghidgsm-ease-spring), box-shadow 0.3s var(--ghidgsm-ease);
    box-shadow: 0 4px 14px rgba(200, 152, 106, 0.3);
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep — runs once per hover via animation */
.ghidgsm-search-card .geodir_submit_search::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    pointer-events: none;
}

@keyframes shimmerSweep {
    from { left: -60%; }
    to { left: 120%; }
}

.ghidgsm-search-card .geodir_submit_search:hover::after {
    animation: shimmerSweep 0.6s var(--ghidgsm-ease-out) forwards;
}

.ghidgsm-search-card .geodir_submit_search:hover {
    background: var(--ghidgsm-accent-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 152, 106, 0.4);
}

.ghidgsm-search-card .geodir_submit_search:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 2px 8px rgba(200, 152, 106, 0.3);
    transition-duration: 0.1s;
}

.ghidgsm-search-card .geodir_submit_search i {
    font-size: 17px;
    transition: transform 0.3s var(--ghidgsm-ease-spring);
}

.ghidgsm-search-card .geodir_submit_search:hover i {
    transform: scale(1.12);
}

/* Show "Caută" text label on the search button */
.ghidgsm-search-card .geodir_submit_search .visually-hidden {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: nowrap !important;
    font-size: 15px;
    font-weight: 600;
}

/* ── Fallback for non-Bootstrap GD search ── */
.kb-row-layout-id-hero-section .geodir-search:not(.row) {
    max-width: 640px;
    margin: 24px auto 0;
}

/* ── Archive category filter pills ── */
.ghidgsm-archive-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

.ghidgsm-archive-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s var(--ghidgsm-ease);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ghidgsm-archive-cat-pill:hover {
    color: #fff;
    background: rgba(200, 152, 106, 0.15);
    border-color: rgba(200, 152, 106, 0.35);
}

button.ghidgsm-archive-cat-pill:focus,
button.ghidgsm-archive-cat-pill:focus-visible,
button.ghidgsm-archive-cat-pill:active {
    outline: 2px solid rgba(200, 152, 106, 0.5);
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    color: rgba(255, 255, 255, 0.6);
}

button.ghidgsm-archive-cat-pill--active,
button.ghidgsm-archive-cat-pill--active:focus,
button.ghidgsm-archive-cat-pill--active:focus-visible,
button.ghidgsm-archive-cat-pill--active:active {
    color: #fff;
    background: rgba(200, 152, 106, 0.2);
    border-color: rgba(200, 152, 106, 0.4);
    outline: none;
    box-shadow: none;
}

.ghidgsm-archive-cat-pill--active i {
    opacity: 1;
}

.ghidgsm-archive-cat-pill i {
    font-size: 12px;
    opacity: 0.55;
    transition: opacity 0.25s var(--ghidgsm-ease);
}

.ghidgsm-archive-cat-pill:hover i {
    opacity: 0.85;
}

/* ── Trust badges with staggered entrance ── */
.ghidgsm-trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.ghidgsm-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.01em;
    opacity: 0;
    animation: heroFadeIn 0.35s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    transition: color 0.25s ease;
}

.ghidgsm-trust-badge:nth-child(1) { animation-delay: 0.38s; }
.ghidgsm-trust-badge:nth-child(2) { animation-delay: 0.43s; }
.ghidgsm-trust-badge:nth-child(3) { animation-delay: 0.48s; }

.ghidgsm-trust-badge:hover {
    color: rgba(255, 255, 255, 0.95);
}

.ghidgsm-trust-badge svg {
    width: 16px;
    height: 16px;
    opacity: 0.9;
    flex-shrink: 0;
    color: var(--ghidgsm-accent);
    transition: transform 0.25s ease;
}

.ghidgsm-trust-badge:hover svg {
    transform: scale(1.15);
}

/* Hero city quicklinks */
.ghidgsm-hero-quicklinks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px 16px;
    flex-wrap: wrap;
    margin-top: 24px;
    font-size: 13px;
    opacity: 0;
    animation: ghidgsm-fadeInUp 0.5s ease forwards;
    animation-delay: 0.55s;
}

.ghidgsm-hero-quicklinks span {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.ghidgsm-hero-quicklinks a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ghidgsm-hero-quicklinks a:hover {
    color: var(--ghidgsm-accent);
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════════════
   City Cards — Bento Grid with Featured Card
   ═══════════════════════════════════════════════════════════════════════ */

/* Bento grid layout */
.ghidgsm-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 230px;
    gap: 24px;
}

/* Base card */
.ghidgsm-city-card {
    position: relative;
    display: block;
    border-radius: var(--ghidgsm-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    transition: transform 0.35s var(--ghidgsm-ease-out), box-shadow 0.35s var(--ghidgsm-ease), border-color 0.3s var(--ghidgsm-ease);
}

.ghidgsm-city-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ghidgsm-shadow-lg), 0 0 20px rgba(200, 152, 106, 0.15);
    border-color: var(--ghidgsm-accent);
}

/* Featured card — spans 2 cols × 2 rows */
.ghidgsm-city-featured {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    border-radius: var(--ghidgsm-radius-lg);
}

.ghidgsm-city-featured:hover {
    transform: translateY(-6px);
    box-shadow: var(--ghidgsm-shadow-xl), 0 0 30px rgba(200, 152, 106, 0.2);
}

/* Featured card copper corner glow */
.ghidgsm-city-featured::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse at 100% 0%, rgba(200, 152, 106, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.35s var(--ghidgsm-ease);
}

.ghidgsm-city-featured:hover::after {
    opacity: 0.7;
}

/* Full-bleed city photo */
.ghidgsm-city-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ghidgsm-ease-out);
}

.ghidgsm-city-card:hover .ghidgsm-city-photo {
    transform: scale(1.07);
}

.ghidgsm-city-featured:hover .ghidgsm-city-photo {
    transform: scale(1.04);
}

/* Bottom-to-top gradient overlay — cinematic eased falloff */
.ghidgsm-city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        hsla(200, 60%, 15%, 0.7) 0%,
        hsla(200, 60%, 15%, 0.5) 19%,
        hsla(200, 60%, 15%, 0.32) 34%,
        hsla(200, 60%, 15%, 0.18) 47%,
        hsla(200, 60%, 15%, 0.1) 56.5%,
        hsla(200, 60%, 15%, 0.05) 65%,
        hsla(200, 60%, 15%, 0.02) 73%,
        transparent 80%
    );
    transition: background 0.35s var(--ghidgsm-ease);
}

.ghidgsm-city-card:hover .ghidgsm-city-overlay {
    background: linear-gradient(
        to top,
        hsla(200, 60%, 15%, 0.78) 0%,
        hsla(200, 60%, 15%, 0.55) 19%,
        hsla(200, 60%, 15%, 0.38) 34%,
        hsla(200, 60%, 15%, 0.22) 47%,
        hsla(200, 60%, 15%, 0.13) 56.5%,
        hsla(200, 60%, 15%, 0.07) 65%,
        hsla(200, 60%, 15%, 0.03) 73%,
        transparent 80%
    );
}

/* City info — gradient scrim overlay */
.ghidgsm-city-info {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 14px 18px;
    background: transparent;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ghidgsm-city-featured .ghidgsm-city-info {
    padding: 20px 22px;
}

/* Arrow reveal on hover */
.ghidgsm-city-info::after {
    content: '\2192';
    position: absolute;
    right: 18px;
    bottom: 14px;
    transform: translateX(-6px);
    color: #E8C49A;
    font-size: 20px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.ghidgsm-city-card:hover .ghidgsm-city-info::after {
    opacity: 1;
    transform: translateX(0);
}

/* Hide badge + desc, reveal on hover */
.ghidgsm-city-card .ghidgsm-city-count {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s var(--ghidgsm-ease), transform 0.3s var(--ghidgsm-ease);
}

.ghidgsm-city-card .ghidgsm-city-desc {
    opacity: 0;
    max-height: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.35s ease, margin 0.3s ease;
}

.ghidgsm-city-card:hover .ghidgsm-city-count {
    opacity: 1;
    transform: translateY(0);
}

.ghidgsm-city-card:hover .ghidgsm-city-desc {
    opacity: 1;
    max-height: 24px;
    margin-top: 4px;
}

/* Listing count badge — dark glass pill, top-right */
.ghidgsm-city-count {
    position: absolute;
    top: 12px;
    right: 14px;
    display: inline-block;
    background: rgba(27, 58, 75, 0.75);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    margin: 0;
    z-index: 3;
    pointer-events: none;
}

.ghidgsm-city-featured .ghidgsm-city-count {
    top: 16px;
    right: 18px;
    padding: 5px 14px;
    font-size: 12px;
}

.ghidgsm-city-name {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.ghidgsm-city-featured .ghidgsm-city-name {
    font-size: 28px;
}

.ghidgsm-city-desc {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.4;
}

.ghidgsm-city-featured .ghidgsm-city-desc {
    font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════
   How It Works — Premium Icon Steps
   ═══════════════════════════════════════════════════════════════════════ */

/* Section — subtle radial warmth + copper hairline at top */
.kb-row-layout-id-hiw-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(200, 152, 106, 0.06) 0%, transparent 50%),
        #FAF8F5 !important;
}

.kb-row-layout-id-hiw-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(200, 152, 106, 0.3) 50%, transparent 100%);
    z-index: 1;
}

/* Section heading accent underline */
.kb-row-layout-id-hiw-section .wp-block-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C8986A, #E8C49A);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Step card — glass-like with copper left accent */
.ghidgsm-step-card {
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-left: 3px solid var(--ghidgsm-accent);
    border-radius: var(--ghidgsm-radius);
    padding: 32px 24px 28px;
    text-align: center;
    position: relative;
    transition: transform 0.35s var(--ghidgsm-ease-out), box-shadow 0.35s var(--ghidgsm-ease), border-color 0.3s var(--ghidgsm-ease);
    overflow: visible;
    box-shadow: var(--ghidgsm-shadow-sm);
}

.ghidgsm-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ghidgsm-shadow-lg), 0 0 20px rgba(200, 152, 106, 0.1);
    border-color: rgba(200, 152, 106, 0.3);
    border-left-color: #E8C49A;
}

/* Step number badge — copper gradient with shimmer */
.ghidgsm-step-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A574, #C8986A, #B5845A);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(200, 152, 106, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Step icon circle — copper ring accent */
.ghidgsm-step-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ghidgsm-primary) 0%, var(--ghidgsm-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(27, 58, 75, 0.2), 0 0 0 3px rgba(200, 152, 106, 0.15);
    transition: transform 0.35s var(--ghidgsm-ease-spring), box-shadow 0.35s var(--ghidgsm-ease);
}

.ghidgsm-step-card:hover .ghidgsm-step-icon {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 24px rgba(27, 58, 75, 0.25), 0 0 0 3px rgba(200, 152, 106, 0.3);
}

.ghidgsm-step-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Steps row — horizontal layout with connectors */
.ghidgsm-steps-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
}

.ghidgsm-steps-row .ghidgsm-step-card {
    flex: 1;
    min-width: 0;
}

/* Connector — copper gradient line */
.ghidgsm-step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    min-width: 56px;
    margin-top: 65px;
}

.ghidgsm-step-connector::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--ghidgsm-accent), rgba(200, 152, 106, 0.2), var(--ghidgsm-accent));
    opacity: 0.6;
    border-radius: 1px;
}

/* ═══════════════════════════════════════════════════════════════════════
   GeoDirectory Listing Cards (Bootstrap UI)
   ═══════════════════════════════════════════════════════════════════════ */
.geodir-listings .geodir-post .card {
    border: 1px solid var(--ghidgsm-border) !important;
    border-radius: var(--ghidgsm-radius) !important;
    overflow: hidden;
    box-shadow: var(--ghidgsm-shadow-sm) !important;
    transition: var(--ghidgsm-transition);
    background: var(--ghidgsm-white) !important;
}

.geodir-listings .geodir-post .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ghidgsm-shadow-md) !important;
    border-color: rgba(200, 152, 106, 0.3) !important;
}

.geodir-listings .geodir-post .card-body {
    padding: 16px !important;
}

.geodir-listings .geodir-post .card-footer {
    background: var(--ghidgsm-bg-light) !important;
    border-top: 1px solid var(--ghidgsm-border) !important;
    padding: 10px 16px !important;
}

/* Listing title */
.geodir-listings .geodir-post .geodir-entry-title a {
    color: var(--ghidgsm-primary) !important;
    font-weight: 600;
    transition: var(--ghidgsm-transition);
}

.geodir-listings .geodir-post .geodir-entry-title a:hover {
    color: var(--ghidgsm-accent) !important;
}

/* Copper accent for ratings */
.geodir-listings .gd-list-rating-stars,
.geodir-listings .geodir_star_rating {
    color: var(--ghidgsm-accent) !important;
}

/* "Nou" badge — shimmer keyframes */
@keyframes ghidgsm-badge-shimmer {
    0%   { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

.geodir-listings .geodir-post .badge {
    background: linear-gradient(
        120deg,
        #C8986A 0%,
        #E8C49A 25%,
        #F5E6D0 50%,
        #E8C49A 75%,
        #C8986A 100%
    ) !important;
    background-size: 200% 100% !important;
    animation: ghidgsm-badge-shimmer 3s ease-in-out infinite;
    color: #1B3A4B !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px !important;
    padding: 3px 10px !important;
    border: none !important;
    box-shadow: 0 1px 4px rgba(200, 152, 106, 0.25) !important;
}

/* Hide dense fields on listing cards — keep cards scannable */
.geodir-listings .geodir-field-business_hours,
.geodir-listings .geodir-field-branduri,
.geodir-listings .geodir-field-servicii,
.geodir-listings .geodir-field-pret_min,
.geodir-listings .geodir-field-garantie {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   Latest Listings — Dark Section with Elevated Cards
   ═══════════════════════════════════════════════════════════════════════ */

/* Section */
.kb-row-layout-id-latest-listings {
    position: relative;
    overflow: hidden;
    background: #FAF8F5 !important;
}

/* Noise grain overlay — disabled on light bg */
.kb-row-layout-id-latest-listings::after {
    display: none;
}

/* Copper hairline separator — disabled on light bg */
.kb-row-layout-id-latest-listings::before {
    display: none;
}

.kb-row-layout-id-latest-listings > .kt-row-column-wrap {
    position: relative;
    z-index: 1;
}

/* Section heading accent */
.kb-row-layout-id-latest-listings .wp-block-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C8986A, #E8C49A);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ── Card container — Light elevated card ── */
.kb-row-layout-id-latest-listings .geodir-listings .card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 12px !important;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.04),
        0 4px 16px rgba(0,0,0,0.06) !important;
    overflow: visible;
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 0.4s ease;
}

/* Top copper accent line */
.kb-row-layout-id-latest-listings .geodir-listings .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(200,152,106,0.6) 30%, rgba(232,196,154,0.8) 50%, rgba(200,152,106,0.6) 70%, transparent 100%);
    z-index: 3;
    transition: opacity 0.4s ease;
    opacity: 0.5;
}

/* Subtle radial copper glow (appears on hover) */
.kb-row-layout-id-latest-listings .geodir-listings .card::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 80px;
    background: radial-gradient(ellipse, rgba(200,152,106,0.08) 0%, transparent 70%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.kb-row-layout-id-latest-listings .geodir-listings .card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 4px 8px rgba(0,0,0,0.06),
        0 12px 32px rgba(0,0,0,0.08),
        0 0 0 1px rgba(200,152,106,0.1) !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .card:hover::before {
    opacity: 1;
}

.kb-row-layout-id-latest-listings .geodir-listings .card:hover::after {
    opacity: 1;
}

/* ── Inner nested card (GeoDirectory nests .card > .card) ── */
.kb-row-layout-id-latest-listings .geodir-listings .card .card {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    overflow: hidden;
}

.kb-row-layout-id-latest-listings .geodir-listings .card .card::before,
.kb-row-layout-id-latest-listings .geodir-listings .card .card::after {
    display: none;
}

/* ── Hide elements ── */
.kb-row-layout-id-latest-listings .card-body > .row.gv-hide-3,
.kb-row-layout-id-latest-listings .gd-list-favorite,
.kb-row-layout-id-latest-listings .card-footer .geodir-field-business_hours,
.kb-row-layout-id-latest-listings .card-body .geodir-field-business_hours,
.kb-row-layout-id-latest-listings .card-body .geodir-field-branduri,
.kb-row-layout-id-latest-listings .card-body .geodir-field-servicii,
.kb-row-layout-id-latest-listings .card-body .geodir-field-pret_min,
.kb-row-layout-id-latest-listings .card-body .geodir-field-garantie {
    display: none !important;
}

/* ── Collapse card-img-top — badges float via absolute positioning ── */
.kb-row-layout-id-latest-listings .geodir-listings .card-img-top {
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    position: static !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ── Card body ── */
.kb-row-layout-id-latest-listings .geodir-listings .card-body {
    padding: 32px 24px 20px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Title */
.kb-row-layout-id-latest-listings .geodir-listings .geodir-post-title {
    margin-bottom: 10px !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .geodir-entry-title {
    margin-bottom: 0 !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .geodir-entry-title,
.kb-row-layout-id-latest-listings .geodir-listings .geodir-entry-title a {
    color: #1B3A4B !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.kb-row-layout-id-latest-listings .geodir-listings .geodir-entry-title a:hover {
    color: #C8986A !important;
}

/* Description — 2-line clamp */
.kb-row-layout-id-latest-listings .geodir-listings .geodir-post-content-container {
    margin-bottom: 14px !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .geodir-field-post_content {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #6B7280 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .card-text,
.kb-row-layout-id-latest-listings .geodir-listings .card-body p {
    color: #6B7280 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Location & phone meta */
.kb-row-layout-id-latest-listings .geodir-listings .card-body .geodir-output-location {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 16px !important;
    margin-top: auto;
}

.kb-row-layout-id-latest-listings .geodir-listings .ghidgsm-card-location {
    color: #6B7280 !important;
    font-size: 13px !important;
    padding-bottom: 4px !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .ghidgsm-card-location .geodir_post_meta_icon {
    color: #C8986A !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .ghidgsm-card-city {
    font-weight: 600;
    color: #374151 !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .card-body .geodir-field-phone {
    padding: 0 !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .card-body a[href^="tel"] {
    color: #C8986A !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.kb-row-layout-id-latest-listings .geodir-listings .card-body a[href^="tel"]:hover {
    color: #b5845a !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .geodir-post-meta-icon {
    color: #C8986A !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .card-body .geodir_post_meta {
    color: #6B7280 !important;
}

/* ── Card footer ── */
.kb-row-layout-id-latest-listings .geodir-listings .card-footer {
    background: #f9fafb !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
    padding: 14px 24px !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .card-footer .geodir_post_meta {
    color: #6B7280 !important;
}

/* Rating stars — active */
.kb-row-layout-id-latest-listings .geodir-listings .geodir-star-rating .fas,
.kb-row-layout-id-latest-listings .geodir-listings .geodir-star-rating .far {
    color: #C8986A !important;
}

/* Rating stars — background (unfilled) */
.kb-row-layout-id-latest-listings .geodir-listings .geodir-star-rating [style*="color:#CCCCCC"],
.kb-row-layout-id-latest-listings .geodir-listings .geodir-star-rating .far:not(.fas) {
    color: #D1D5DB !important;
}

/* ── NOU badge — shimmer ── */
.kb-row-layout-id-latest-listings .geodir-listings .badge {
    background: linear-gradient(
        120deg,
        #C8986A 0%,
        #E8C49A 25%,
        #F5E6D0 50%,
        #E8C49A 75%,
        #C8986A 100%
    ) !important;
    background-size: 200% 100% !important;
    animation: ghidgsm-badge-shimmer 4s ease-in-out infinite;
    color: #1B3A4B !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px !important;
    padding: 4px 10px !important;
    border: none !important;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.25),
        0 0 12px rgba(200,152,106,0.15) !important;
}

/* ── NOU badge: positioned top-right of outer card ── */
.kb-row-layout-id-latest-listings .geodir-listings .gd-badge[data-badge="post_date"] {
    position: absolute !important;
    top: 12px !important;
    right: 16px !important;
    z-index: 4;
}

/* ── Category badge: light pill ── */
.kb-row-layout-id-latest-listings .geodir-listings .gd-badge[data-badge="default_category"] {
    position: absolute !important;
    bottom: 14px !important;
    right: 16px !important;
    left: auto !important;
    top: auto !important;
    z-index: 4;
    background: #f3f4f6 !important;
    background-size: unset !important;
    animation: none !important;
    box-shadow: none !important;
    color: #6B7280 !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
    text-transform: none;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.kb-row-layout-id-latest-listings .geodir-listings .gd-badge[data-badge="default_category"]:hover {
    color: #C8986A !important;
    background: rgba(200,152,106,0.08) !important;
    border-color: rgba(200,152,106,0.2) !important;
    text-decoration: none !important;
}

/* ── Address & meta ── */
.kb-row-layout-id-latest-listings .geodir-listings .geodir-post-meta,
.kb-row-layout-id-latest-listings .geodir-listings .geodir-output-location {
    color: #6B7280 !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .geodir-output-location a {
    color: #374151 !important;
}

.kb-row-layout-id-latest-listings .geodir-listings .geodir-output-location a:hover {
    color: #C8986A !important;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
    .kb-row-layout-id-latest-listings .geodir-listings .card-body {
        padding: 28px 20px 18px !important;
    }

    .kb-row-layout-id-latest-listings .geodir-listings .card-img-top {
        height: 0 !important;
        min-height: 0 !important;
    }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
    .kb-row-layout-id-latest-listings .geodir-listings .card-body {
        padding: 28px 18px 16px !important;
    }

    .kb-row-layout-id-latest-listings .geodir-listings .geodir-entry-title,
    .kb-row-layout-id-latest-listings .geodir-listings .geodir-entry-title a {
        font-size: 17px !important;
    }

    .kb-row-layout-id-latest-listings .geodir-listings .card-footer {
        padding: 12px 18px !important;
    }

    .kb-row-layout-id-latest-listings .geodir-listings .gd-badge[data-badge="default_category"] {
        bottom: 10px !important;
        right: 12px !important;
        font-size: 9px !important;
        padding: 3px 10px !important;
    }

    .kb-row-layout-id-latest-listings .geodir-listings .gd-badge[data-badge="post_date"] {
        top: 10px !important;
        right: 12px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   GeoDirectory Categories — Premium Adaptive Grid
   ═══════════════════════════════════════════════════════════════════════ */

/* Section chrome — copper hairline + radial glow (matches How It Works) */
.kb-row-layout-id-services-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(200, 152, 106, 0.06) 0%, transparent 50%),
        #FAF8F5 !important;
}

.kb-row-layout-id-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(200, 152, 106, 0.3) 50%, transparent 100%);
    z-index: 1;
}

/* Section heading copper underline */
.kb-row-layout-id-services-section .wp-block-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C8986A, #E8C49A);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Adaptive CSS Grid — overrides Bootstrap row/col system */
.gd-cptcat-row .row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 0 !important;
}

.gd-cptcat-row .row > .col,
.gd-cptcat-row .row > [class*="col-"] {
    flex: unset !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Premium card — white with copper left border */
.gd-cptcat-parent .card {
    width: 100%;
    background: var(--ghidgsm-white) !important;
    border: 1px solid var(--ghidgsm-border) !important;
    border-left: 3px solid var(--ghidgsm-accent) !important;
    border-radius: var(--ghidgsm-radius) !important;
    overflow: visible;
    box-shadow: var(--ghidgsm-shadow-sm) !important;
    transition: transform 0.35s var(--ghidgsm-ease-out), box-shadow 0.35s var(--ghidgsm-ease), border-color 0.3s var(--ghidgsm-ease);
}

.gd-cptcat-parent .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ghidgsm-shadow-lg), 0 0 20px rgba(200, 152, 106, 0.1) !important;
    border-color: rgba(200, 152, 106, 0.3) !important;
    border-left-color: #E8C49A !important;
}

/* Card body — vertical layout */
.gd-cptcat-parent .card-body {
    border: none !important;
    border-radius: var(--ghidgsm-radius) !important;
    padding: 28px 16px !important;
    transition: var(--ghidgsm-transition);
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100%;
}

.gd-cptcat-parent .card-body.btn-outline-primary {
    color: var(--ghidgsm-text-dark) !important;
    border-color: transparent !important;
    background: var(--ghidgsm-white) !important;
}

.gd-cptcat-parent .card-body.btn-outline-primary:hover {
    background: var(--ghidgsm-bg-light) !important;
    color: var(--ghidgsm-primary) !important;
}

/* Override text-truncate — allow wrapping for vertical layout */
.gd-cptcat-parent .gd-cptcat-cat-right.text-truncate {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-transform: none !important;
    text-align: center;
    width: 100%;
}

/* Link — vertical flex: icon on top, text below */
.gd-cptcat-parent .gd-cptcat-cat-right a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px;
    font-weight: 700 !important;
    text-transform: none !important;
    text-decoration: none !important;
    font-size: 15px !important;
    color: var(--ghidgsm-text-dark) !important;
    transition: color 0.25s var(--ghidgsm-ease);
    line-height: 1.3;
    width: 100%;
}

.gd-cptcat-parent .card:hover .gd-cptcat-cat-right a {
    color: var(--ghidgsm-primary) !important;
}

/* Icon circle — dark gradient with copper ring glow */
.gd-cptcat-parent .gd-cptcat-cat-left,
.gd-cptcat-parent .gd-cptcat-cat-left.d-inline-block {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--ghidgsm-primary) 0%, var(--ghidgsm-primary-dark) 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    box-shadow: 0 4px 14px rgba(27, 58, 75, 0.2), 0 0 0 3px rgba(200, 152, 106, 0.15);
    transition: transform 0.35s var(--ghidgsm-ease-spring), box-shadow 0.35s var(--ghidgsm-ease);
    flex-shrink: 0;
}

.gd-cptcat-parent .card:hover .gd-cptcat-cat-left {
    transform: scale(1.06);
    box-shadow: 0 8px 24px rgba(27, 58, 75, 0.25), 0 0 0 3px rgba(200, 152, 106, 0.3);
}

/* Hide default pin.png, show Font Awesome icons instead */
.gd-cptcat-parent .gd-cptcat-icon img {
    display: none !important;
}

.gd-cptcat-parent .gd-cptcat-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 1 !important;
}

.gd-cptcat-parent .gd-cptcat-icon::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    line-height: 1;
    content: "\f3cd"; /* fallback: mobile icon */
}

/* Per-category Font Awesome icons */
a[href*="reparatii-telefoane"] .gd-cptcat-icon::before { content: "\f3cd"; } /* mobile-screen-button */
a[href*="reparatii-tablete"] .gd-cptcat-icon::before { content: "\f3fa"; } /* tablet-screen-button */
a[href*="accesorii-piese"] .gd-cptcat-icon::before { content: "\f085"; } /* gears */
a[href*="service-autorizat"] .gd-cptcat-icon::before { content: "\f0a3"; } /* certificate */
a[href*="deblocare-software"] .gd-cptcat-icon::before { content: "\f09c"; } /* unlock */

/* Count badge — copper-tinted pill */
.gd-cptcat-parent .gd-cptcat-count {
    display: inline-block !important;
    margin: 10px auto 0 !important;
    background: rgba(200, 152, 106, 0.08) !important;
    color: var(--ghidgsm-accent-dark) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(200, 152, 106, 0.2);
    transition: background 0.25s var(--ghidgsm-ease), border-color 0.25s var(--ghidgsm-ease);
}

.gd-cptcat-parent .card:hover .gd-cptcat-count {
    background: rgba(200, 152, 106, 0.14) !important;
    border-color: rgba(200, 152, 106, 0.35);
}

/* Legacy class fallback */
.geodir-category-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════
   CTA Section — Premium
   ═══════════════════════════════════════════════════════════════════════ */
.kb-row-layout-id-cta-section {
    position: relative;
    overflow: hidden;
}

/* A. Dot pattern overlay */
.kb-row-layout-id-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

/* B. Animated glow orb 1 — copper */
.kb-row-layout-id-cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    top: -100px;
    left: -80px;
    background: radial-gradient(circle, rgba(200, 152, 106, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: ctaOrbDrift1 18s ease-in-out infinite;
}

@keyframes ctaOrbDrift1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(60px, 30px); }
    66% { transform: translate(-30px, 50px); }
}

/* B. Animated glow orb 2 — white */
.kb-row-layout-id-cta-section .kt-row-column-wrap::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    bottom: -80px;
    right: -60px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: ctaOrbDrift2 15s ease-in-out infinite;
}

@keyframes ctaOrbDrift2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, -30px); }
}

.kb-row-layout-id-cta-section .kt-row-column-wrap {
    position: relative;
    z-index: 1;
}

/* C. Copper gradient accent text */
.ghidgsm-cta-accent {
    background: linear-gradient(135deg, #D4A574, #C8986A, #E8C49A);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* D. Glassmorphism benefit pills */
.ghidgsm-cta-benefits {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ghidgsm-cta-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 20px;
    transition: background 0.3s var(--ghidgsm-ease), border-color 0.3s var(--ghidgsm-ease), transform 0.3s var(--ghidgsm-ease-spring);
}

.ghidgsm-cta-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(200, 152, 106, 0.3);
    transform: translateY(-2px);
}

.ghidgsm-cta-pill-icon {
    font-size: 20px;
    color: var(--ghidgsm-accent);
    flex-shrink: 0;
    line-height: 1;
}

.ghidgsm-cta-pill-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ghidgsm-cta-pill-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

.ghidgsm-cta-pill-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.3;
}

/* E. Enhanced CTA button with shimmer + arrow */
.ghidgsm-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #D4A574, #C8986A, #B5845A);
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: var(--ghidgsm-radius-sm);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 20px rgba(200, 152, 106, 0.4);
    transition: transform 0.3s var(--ghidgsm-ease-spring), box-shadow 0.3s var(--ghidgsm-ease);
}

.ghidgsm-cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: none;
}

.ghidgsm-cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 8px 32px rgba(200, 152, 106, 0.5);
    color: #fff !important;
}

.ghidgsm-cta-button:hover::after {
    animation: shimmerSweep 0.6s var(--ghidgsm-ease-out) forwards;
}

.ghidgsm-cta-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(200, 152, 106, 0.3);
    transition-duration: 0.1s;
}

.ghidgsm-cta-arrow {
    display: inline-block;
    transition: transform 0.3s var(--ghidgsm-ease-spring);
    font-size: 20px;
    line-height: 1;
}

.ghidgsm-cta-button:hover .ghidgsm-cta-arrow {
    transform: translateX(4px);
}

/* F. Social proof with pulse dot */
.ghidgsm-cta-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.ghidgsm-cta-pulse {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--ghidgsm-success);
    border-radius: 50%;
    flex-shrink: 0;
}

.ghidgsm-cta-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ghidgsm-success);
    border-radius: 50%;
    animation: ctaPulseRing 2s ease-out infinite;
}

@keyframes ctaPulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Buttons (general)
   ═══════════════════════════════════════════════════════════════════════ */
.wp-block-button__link {
    border-radius: var(--ghidgsm-radius-sm) !important;
    transition: var(--ghidgsm-transition);
}

.wp-block-button__link:hover {
    transform: translateY(-1px);
    box-shadow: var(--ghidgsm-shadow-md);
}

/* ═══════════════════════════════════════════════════════════════════════
   GeoDirectory Detail Page — Premium Redesign
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Zero Kadence's default content-area margin on dark-hero pages ── */
.ghidgsm-detail-page .content-area,
.ghidgsm-dark-hero-page .content-area {
    margin-top: 0 !important;
}

/* ── Hide default elements (now rendered in hero / sidebar) ── */
.ghidgsm-detail-page .geodir-single-head,
.ghidgsm-detail-page .geodir-entry-title,
.ghidgsm-detail-page .entry-header.gd_place-title,
.ghidgsm-detail-page .rank-math-breadcrumb,
.ghidgsm-detail-page .entry-hero,
.ghidgsm-detail-page .page-hero-section {
    display: none !important;
}

.ghidgsm-detail-fields-placeholder {
    display: none;
}

/* ── Hero Banner ── */
.ghidgsm-detail-hero {
    background:
        radial-gradient(ellipse 50% 70% at 85% 15%, rgba(200,152,106,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 55% 80% at 10% 90%, rgba(91,155,213,0.08) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(27,58,75,0.4) 0%, transparent 70%),
        linear-gradient(160deg, #1B3A4B 0%, #0E2738 35%, #091E2C 70%, #0A1C28 100%);
    padding: 120px 0 48px;
    min-height: 550px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Grid + noise grain */
.ghidgsm-detail-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(200,152,106,0.06) 79px, rgba(200,152,106,0.06) 80px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(200,152,106,0.06) 79px, rgba(200,152,106,0.06) 80px),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 80px 80px, 80px 80px, 200px 200px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

/* Copper glow orb */
.ghidgsm-detail-hero-glow {
    position: absolute;
    top: -60px;
    right: -40px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(200,152,106,0.12) 0%, rgba(200,152,106,0.05) 35%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(30px);
}

/* Teal glow orb */
.ghidgsm-detail-hero-glow2 {
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(91,155,213,0.07) 0%, rgba(27,58,75,0.03) 35%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

/* Copper hairline */
.ghidgsm-detail-hero-hairline {
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(200,152,106,0.5) 50%, transparent 100%);
    z-index: 2;
}

/* ── Hero Content ── */
.ghidgsm-detail-hero-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.ghidgsm-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.ghidgsm-detail-breadcrumb a,
.ghidgsm-detail-breadcrumb span {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ghidgsm-detail-breadcrumb a:hover {
    color: rgba(255,255,255,0.8);
}

.ghidgsm-detail-bc-sep {
    margin: 0 8px;
    color: rgba(255,255,255,0.25);
}

/* Category badge */
.ghidgsm-detail-cat-badge {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid var(--ghidgsm-accent);
    border-radius: 20px;
    color: var(--ghidgsm-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

/* Title */
.ghidgsm-detail-title {
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}

/* Rating row */
.ghidgsm-detail-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.ghidgsm-detail-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.ghidgsm-star {
    width: 18px;
    height: 18px;
}

.ghidgsm-star-full {
    color: #F59E0B;
}

.ghidgsm-star-half {
    color: #F59E0B;
}

.ghidgsm-star-empty {
    color: rgba(255,255,255,0.2);
}

.ghidgsm-detail-rating-val {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
}

.ghidgsm-detail-rating-count {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Location */
.ghidgsm-detail-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 0;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ghidgsm-detail-location svg {
    flex-shrink: 0;
    color: rgba(255,255,255,0.4);
}

/* ── Action Buttons ── */
.ghidgsm-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 24px;
}

.ghidgsm-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--ghidgsm-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ghidgsm-ease-spring), box-shadow 0.2s var(--ghidgsm-ease), background 0.2s ease;
    border: none;
    line-height: 1;
}

.ghidgsm-detail-btn:hover {
    transform: translateY(-2px);
}

.ghidgsm-detail-btn-call {
    background: var(--ghidgsm-accent);
    color: #ffffff;
}

.ghidgsm-detail-btn-call:hover {
    background: var(--ghidgsm-accent-dark);
    box-shadow: 0 4px 16px rgba(200,152,106,0.4);
    color: #ffffff;
}

.ghidgsm-detail-btn-wa {
    background: #128C7E;
    color: #ffffff;
}

.ghidgsm-detail-btn-wa:hover {
    background: #075E54;
    box-shadow: 0 4px 16px rgba(18,140,126,0.4);
    color: #ffffff;
}

.ghidgsm-detail-btn-email,
.ghidgsm-detail-btn-share {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ghidgsm-detail-btn-email:hover,
.ghidgsm-detail-btn-share:hover {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.ghidgsm-detail-btn-copied {
    background: var(--ghidgsm-success) !important;
    border-color: var(--ghidgsm-success) !important;
    color: #ffffff !important;
}

/* ── Two-Column Layout ── */
.ghidgsm-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    align-items: start;
}

.ghidgsm-detail-main {
    min-width: 0;
}

.ghidgsm-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

/* ── Sidebar Cards ── */
.ghidgsm-detail-card {
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius);
    overflow: hidden;
    transition: box-shadow 0.3s var(--ghidgsm-ease);
}

.ghidgsm-detail-card:hover {
    box-shadow: var(--ghidgsm-shadow-card-hover);
}

.ghidgsm-detail-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ghidgsm-primary);
    border-bottom: 1px solid var(--ghidgsm-border);
}

.ghidgsm-detail-card-title svg {
    color: var(--ghidgsm-accent);
    flex-shrink: 0;
}

.ghidgsm-detail-card-body {
    padding: 16px 20px;
}

/* ── Contact Rows ── */
.ghidgsm-detail-contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--ghidgsm-text-dark);
    transition: color 0.2s ease;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.ghidgsm-detail-contact-row:last-child {
    border-bottom: none;
}

.ghidgsm-detail-contact-row:hover {
    color: var(--ghidgsm-accent);
}

.ghidgsm-detail-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ghidgsm-bg-light);
    color: var(--ghidgsm-primary);
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.ghidgsm-detail-contact-row:hover .ghidgsm-detail-contact-icon {
    background: rgba(200,152,106,0.1);
    color: var(--ghidgsm-accent);
}

.ghidgsm-detail-contact-icon-wa {
    background: rgba(18,140,126,0.08);
    color: #128C7E;
}

.ghidgsm-detail-contact-row:hover .ghidgsm-detail-contact-icon-wa {
    background: rgba(18,140,126,0.15);
}

.ghidgsm-detail-contact-icon-web {
    background: rgba(59, 130, 246, 0.08);
    color: #3B82F6;
}

.ghidgsm-detail-contact-row:hover .ghidgsm-detail-contact-icon-web {
    background: rgba(59, 130, 246, 0.15);
}

.ghidgsm-detail-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.ghidgsm-detail-contact-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--ghidgsm-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ghidgsm-detail-contact-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--ghidgsm-text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ghidgsm-detail-contact-row:hover .ghidgsm-detail-contact-value {
    color: var(--ghidgsm-accent);
}

/* ── Hours ── */
.ghidgsm-detail-hours-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ghidgsm-text-dark);
    white-space: pre-line;
}

/* ── Info Sections ── */
.ghidgsm-detail-info-section {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.ghidgsm-detail-info-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ghidgsm-detail-info-section:first-child {
    padding-top: 0;
}

.ghidgsm-detail-info-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ghidgsm-text-light);
    margin-bottom: 8px;
}

.ghidgsm-detail-info-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--ghidgsm-text-dark);
}

/* ── Pills (brands / services) ── */
.ghidgsm-detail-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ghidgsm-detail-pill {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ghidgsm-primary);
    background: rgba(27,58,75,0.05);
    border: 1px solid rgba(27,58,75,0.1);
    border-radius: 20px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ghidgsm-detail-pill:hover {
    background: rgba(27,58,75,0.1);
    border-color: rgba(27,58,75,0.2);
}

/* ── Warranty Badge ── */
.ghidgsm-detail-warranty-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ghidgsm-success);
    background: rgba(45,139,90,0.08);
    border: 1px solid rgba(45,139,90,0.15);
    border-radius: 20px;
}

.ghidgsm-detail-warranty-badge svg {
    flex-shrink: 0;
}

/* ── Google Trust Card ── */
.ghidgsm-detail-trust-body {
    text-align: center;
    padding: 20px !important;
}

.ghidgsm-detail-trust-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.ghidgsm-detail-trust-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--ghidgsm-text-dark);
    letter-spacing: -0.02em;
}

.ghidgsm-detail-trust-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.ghidgsm-detail-trust-stars .ghidgsm-star {
    width: 16px;
    height: 16px;
}

.ghidgsm-detail-trust-stars .ghidgsm-star-empty {
    color: var(--ghidgsm-border);
}

.ghidgsm-detail-trust-count {
    font-size: 13px;
    color: var(--ghidgsm-text-light);
}

/* ── Review Cards ── */
.ghidgsm-review-item {
    margin: 0 0 2px !important;
    padding: 0 !important;
}

.ghidgsm-review-card {
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius);
    padding: 20px 24px;
    transition: border-color 0.3s var(--ghidgsm-ease), box-shadow 0.3s var(--ghidgsm-ease);
}

.ghidgsm-review-card:hover {
    border-color: rgba(200, 152, 106, 0.25);
    box-shadow: var(--ghidgsm-shadow-sm);
}

.ghidgsm-review-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.ghidgsm-review-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--ghidgsm-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ghidgsm-review-avatar-initial {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.02em;
}

.ghidgsm-review-meta {
    flex: 1;
    min-width: 0;
}

.ghidgsm-review-author-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.ghidgsm-review-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--ghidgsm-text-dark);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.ghidgsm-review-google-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

.ghidgsm-review-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ghidgsm-review-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.ghidgsm-review-star {
    display: block;
}

.ghidgsm-review-star--filled {
    fill: #F5A623;
}

.ghidgsm-review-star--empty {
    fill: var(--ghidgsm-border);
}

.ghidgsm-review-date {
    font-size: 12px;
    color: var(--ghidgsm-text-light);
    letter-spacing: 0.01em;
    line-height: 1;
}

.ghidgsm-review-moderation {
    font-size: 13px;
    color: #92600C;
    background: #FEF3CD;
    border-radius: var(--ghidgsm-radius-sm);
    padding: 8px 14px;
    margin: 0 0 12px;
}

.ghidgsm-review-body {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ghidgsm-text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.ghidgsm-review-body p {
    margin: 0;
}

.ghidgsm-review-body p + p {
    margin-top: 8px;
}

.ghidgsm-review-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--ghidgsm-border);
}

.ghidgsm-review-footer:empty {
    display: none;
}

.ghidgsm-review-edit a,
.ghidgsm-review-reply-btn {
    font-size: 12px;
    font-weight: 600;
    color: var(--ghidgsm-accent) !important;
    text-decoration: none !important;
    letter-spacing: 0.02em;
    transition: color 0.2s var(--ghidgsm-ease);
}

.ghidgsm-review-edit a:hover,
.ghidgsm-review-reply-btn:hover {
    color: var(--ghidgsm-accent-dark) !important;
}

/* Override GeoDirectory's default card/Bootstrap styles on review items */
.ghidgsm-detail-page .geodir-comment .card,
.ghidgsm-detail-page .geodir-comment .card-header,
.ghidgsm-detail-page .geodir-comment .card-body,
.ghidgsm-detail-page .geodir-comment .card-footer {
    all: unset;
}

/* Ensure our custom card overrides the GeoDir bootstrap wrapper */
.ghidgsm-detail-page #reviews .comment-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Hide "Reviews are closed" text */
.ghidgsm-detail-page #reviews .nocomments,
.ghidgsm-detail-page #reviews .comment-respond {
    display: none;
}

@media (max-width: 768px) {
    .ghidgsm-review-card {
        padding: 16px 18px;
    }

    .ghidgsm-review-header {
        gap: 10px;
    }

    .ghidgsm-review-avatar {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .ghidgsm-review-avatar-initial {
        font-size: 13px;
    }
}

/* ── Review Pagination ── */
#comment-nav-below {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--ghidgsm-border);
}

#comment-nav-below .assistive-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#comment-nav-below .nav-previous a,
#comment-nav-below .nav-next a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--ghidgsm-border);
    background: var(--ghidgsm-white);
    color: var(--ghidgsm-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

#comment-nav-below .nav-previous a:hover,
#comment-nav-below .nav-next a:hover {
    background: var(--ghidgsm-primary);
    color: #fff;
    border-color: var(--ghidgsm-primary);
}

#comment-nav-below .nav-next {
    margin-left: auto;
}

@media (max-width: 480px) {
    #comment-nav-below {
        flex-direction: column;
        gap: 10px;
    }

    #comment-nav-below .nav-previous a,
    #comment-nav-below .nav-next a {
        width: 100%;
        justify-content: center;
    }

    #comment-nav-below .nav-next {
        margin-left: 0;
    }
}

/* ── Detail Page Tabs (restyled) ── */
.ghidgsm-detail-page .geodir-tabs .geodir-tab-head {
    border-bottom: 2px solid var(--ghidgsm-border) !important;
    margin-bottom: 0;
}

.ghidgsm-detail-page .geodir-tabs .geodir-tab-head .nav-tabs {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.ghidgsm-detail-page .geodir-tabs .geodir-tab-head .nav-link {
    padding: 12px 20px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--ghidgsm-text-light) !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    border-radius: 0 !important;
    margin-bottom: -2px;
    transition: var(--ghidgsm-transition);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: none !important;
}

.ghidgsm-detail-page .geodir-tabs .geodir-tab-head .nav-link:hover {
    color: var(--ghidgsm-primary) !important;
    border-bottom-color: var(--ghidgsm-border) !important;
}

.ghidgsm-detail-page .geodir-tabs .geodir-tab-head .nav-link.active {
    color: var(--ghidgsm-primary) !important;
    border-bottom-color: var(--ghidgsm-accent) !important;
    background: none !important;
}

/* Hide post navigation (Previous/Next) on detail page */
.ghidgsm-detail-page .geodir-pos_navigation,
.ghidgsm-detail-page .wp-block-geodirectory-geodir-widget-single-next-prev {
    display: none !important;
}

/* Non-detail detail page fallback */
.geodir-single .geodir-tabs .geodir-tab-head {
    border-bottom: 2px solid var(--ghidgsm-border);
}

.geodir-single .geodir-tabs .geodir-tab-head .nav-link {
    padding: 10px 20px;
    font-weight: 600;
    color: var(--ghidgsm-text-light);
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    margin-bottom: -2px;
    transition: var(--ghidgsm-transition);
    background: none;
}

.geodir-single .geodir-tabs .geodir-tab-head .nav-link.active {
    color: var(--ghidgsm-primary);
    border-bottom-color: var(--ghidgsm-accent);
    background: none;
}

/* ── Main Content Column ── */
.ghidgsm-detail-main .entry-content-wrap {
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius);
    padding: 0 24px 24px;
    box-shadow: var(--ghidgsm-shadow-card);
}

.ghidgsm-detail-main .geodir-tabs {
    margin-top: 0;
}

.ghidgsm-detail-main .geodir-tabs-content {
    padding-top: 20px;
}

/* Tab content text styling */
.ghidgsm-detail-page .geodir-post-meta-container .geodir_post_meta p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ghidgsm-text-dark);
}

/* ── Mobile Floating Bottom Bar ── */
.ghidgsm-detail-float-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--ghidgsm-white);
    border-top: 1px solid var(--ghidgsm-border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    gap: 10px;
}

.ghidgsm-detail-float-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: var(--ghidgsm-radius-sm);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    min-height: 48px;
    line-height: 1;
}

.ghidgsm-detail-float-call {
    background: var(--ghidgsm-accent);
    color: #ffffff;
}

.ghidgsm-detail-float-wa {
    background: #128C7E;
    color: #ffffff;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
    .ghidgsm-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ghidgsm-detail-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .ghidgsm-detail-hero {
        min-height: 420px;
    }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
    .ghidgsm-detail-hero {
        padding: 100px 0 32px;
        min-height: 350px;
    }

    .ghidgsm-detail-hero-inner {
        padding: 0 16px;
    }

    .ghidgsm-detail-title {
        font-size: clamp(24px, 6vw, 32px);
    }

    .ghidgsm-detail-actions {
        display: none;
    }

    .ghidgsm-detail-float-bar {
        display: flex;
    }

    .ghidgsm-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .ghidgsm-detail-layout {
        margin: 0 auto;
        padding: 24px 16px 100px;
    }

    .ghidgsm-detail-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .ghidgsm-detail-location {
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .ghidgsm-detail-hero {
        min-height: 300px;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .ghidgsm-detail-btn:hover {
        transform: none;
    }

    .ghidgsm-detail-card {
        transition: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Detail Page — Content Area Sections
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Highlights Strip ── */
.ghidgsm-detail-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(200,152,106,0.06) 0%, rgba(27,58,75,0.04) 100%);
    border: 1px solid rgba(200,152,106,0.15);
    border-radius: var(--ghidgsm-radius);
    margin-bottom: 20px;
}

.ghidgsm-detail-highlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--ghidgsm-border);
    border-radius: 100px;
    padding: 6px 16px 6px 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ghidgsm-primary);
    white-space: nowrap;
}

.ghidgsm-detail-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(200,152,106,0.1);
    color: var(--ghidgsm-accent);
    flex-shrink: 0;
}

/* ── Main Card Base ── */
.ghidgsm-detail-main-card {
    margin-top: 20px;
    background: #fff;
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius);
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ghidgsm-detail-main-card > .ghidgsm-detail-card-title {
    margin-bottom: 16px;
    font-size: 13px;
    letter-spacing: 0.06em;
    border-bottom: none;
    padding: 0;
}

/* ── Services Grid ── */
.ghidgsm-detail-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ghidgsm-detail-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--ghidgsm-radius-sm);
    transition: background 0.2s ease;
}

.ghidgsm-detail-service-item:hover {
    background: rgba(27,58,75,0.03);
}

.ghidgsm-detail-service-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(45,139,90,0.08);
    color: #2d8b5a;
    flex-shrink: 0;
}

.ghidgsm-detail-service-name {
    font-size: 14px;
    color: var(--ghidgsm-text);
    font-weight: 500;
}

/* ── Brand Pills ── */
.ghidgsm-detail-brands-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ghidgsm-detail-brand-pill {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ghidgsm-primary);
    background: rgba(27,58,75,0.05);
    border-radius: var(--ghidgsm-radius-sm);
    transition: var(--ghidgsm-transition);
    cursor: default;
}

.ghidgsm-detail-brand-pill:hover {
    background: rgba(27,58,75,0.1);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ── FAQ Accordion ── */
.ghidgsm-detail-faq-card {
    padding: 0;
    overflow: hidden;
}

.ghidgsm-detail-faq-card > .ghidgsm-detail-card-title {
    padding: 24px 24px 16px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--ghidgsm-border);
}

.ghidgsm-detail-faq-body {
    padding: 0;
}

.ghidgsm-detail-faq-item {
    border-top: 1px solid var(--ghidgsm-border);
}

.ghidgsm-detail-faq-item:first-child {
    border-top: none;
}

.ghidgsm-detail-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 24px 16px 48px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--ghidgsm-text);
    gap: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}

.ghidgsm-detail-faq-question:hover,
.ghidgsm-detail-faq-question:focus,
.ghidgsm-detail-faq-question:active {
    background: rgba(27,58,75,0.03) !important;
    color: var(--ghidgsm-primary) !important;
    box-shadow: none !important;
}

.ghidgsm-detail-faq-question[aria-expanded="true"],
.ghidgsm-detail-faq-question[aria-expanded="true"]:hover,
.ghidgsm-detail-faq-question[aria-expanded="true"]:focus {
    color: var(--ghidgsm-accent) !important;
    background: rgba(200,152,106,0.04) !important;
    box-shadow: none !important;
}

.ghidgsm-detail-faq-q-text {
    flex: 1;
}

.ghidgsm-detail-faq-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(27,58,75,0.05);
    flex-shrink: 0;
    transition: transform 0.35s ease, background 0.2s ease;
    color: var(--ghidgsm-text-light);
}

.ghidgsm-detail-faq-question[aria-expanded="true"] .ghidgsm-detail-faq-arrow {
    transform: rotate(180deg);
    background: rgba(200,152,106,0.1);
    color: var(--ghidgsm-accent);
}

.ghidgsm-detail-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.ghidgsm-detail-faq-answer p {
    padding: 0 24px 20px 48px;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ghidgsm-text-light);
}

/* ── Related Listings ── */
.ghidgsm-detail-related {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.ghidgsm-detail-related > .ghidgsm-detail-card-title {
    margin-bottom: 16px;
}

.ghidgsm-detail-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ghidgsm-detail-related-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ghidgsm-detail-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(27,58,75,0.1);
    border-color: rgba(200,152,106,0.4);
}

.ghidgsm-detail-related-cat {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 10px;
    background: rgba(200,152,106,0.1);
    color: var(--ghidgsm-accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
}

.ghidgsm-detail-related-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ghidgsm-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ghidgsm-detail-related-rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ghidgsm-detail-related-stars {
    display: flex;
    align-items: center;
    color: #f0a500;
}

.ghidgsm-detail-related-stars .ghidgsm-star {
    width: 14px;
    height: 14px;
}

.ghidgsm-detail-related-stars .ghidgsm-star-empty {
    color: #ddd;
}

.ghidgsm-detail-related-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--ghidgsm-text);
}

.ghidgsm-detail-related-count {
    font-size: 12px;
    color: var(--ghidgsm-text-light);
}

.ghidgsm-detail-related-loc {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--ghidgsm-text-light);
}

/* ── Blog Cross-Links on Detail Page ── */
.ghidgsm-detail-blog-links {
    margin-top: 28px;
    background: #fff;
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius);
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.ghidgsm-detail-blog-links > .ghidgsm-detail-card-title {
    margin-bottom: 16px;
}

.ghidgsm-detail-blog-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ghidgsm-detail-blog-list li {
    padding: 0;
    background: linear-gradient(135deg, rgba(27,58,75,0.02) 0%, rgba(200,152,106,0.04) 100%);
    border: 1px solid var(--ghidgsm-border, #e2e8f0);
    border-radius: 10px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ghidgsm-detail-blog-list li:hover {
    border-color: var(--ghidgsm-accent, #C8986A);
    box-shadow: 0 2px 8px rgba(200,152,106,0.12);
    transform: translateY(-1px);
}

.ghidgsm-detail-blog-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--ghidgsm-primary, #1B3A4B);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ghidgsm-detail-blog-list a:hover {
    color: var(--ghidgsm-accent, #C8986A);
}

.ghidgsm-blog-link-icon {
    flex-shrink: 0;
    color: var(--ghidgsm-accent, #C8986A);
    opacity: 0.7;
}

.ghidgsm-detail-blog-list li:hover .ghidgsm-blog-link-icon {
    opacity: 1;
}

.ghidgsm-detail-blog-list a span {
    flex: 1;
}

.ghidgsm-blog-link-arrow {
    flex-shrink: 0;
    color: var(--ghidgsm-text-light, #94a3b8);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.ghidgsm-detail-blog-list li:hover .ghidgsm-blog-link-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--ghidgsm-accent, #C8986A);
}

/* ── Responsive: Content Area Sections ── */
@media (max-width: 768px) {
    .ghidgsm-detail-highlights {
        gap: 8px;
        padding: 12px 14px;
    }

    .ghidgsm-detail-highlight-badge {
        font-size: 12px;
        padding: 5px 12px 5px 5px;
    }

    .ghidgsm-detail-highlight-icon {
        width: 24px;
        height: 24px;
    }

    .ghidgsm-detail-services-grid {
        grid-template-columns: 1fr;
    }

    .ghidgsm-detail-main-card {
        padding: 18px;
    }

    .ghidgsm-detail-faq-question {
        padding: 14px 18px 14px 36px;
        font-size: 13px;
    }

    .ghidgsm-detail-faq-answer p {
        padding: 0 18px 16px 36px;
        font-size: 13px;
    }

    .ghidgsm-detail-faq-card > .ghidgsm-detail-card-title {
        padding: 18px 18px 0;
    }

    .ghidgsm-detail-related-grid {
        grid-template-columns: 1fr;
    }

    .ghidgsm-detail-brand-pill {
        padding: 8px 14px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ghidgsm-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ghidgsm-detail-faq-arrow {
        transition: none;
    }

    .ghidgsm-detail-faq-answer {
        transition: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   GeoDirectory Search Form (non-hero)
   ═══════════════════════════════════════════════════════════════════════ */
.geodir-search input[type="text"],
.geodir-search input[type="search"],
.geodir-search select {
    border-radius: var(--ghidgsm-radius-sm);
    border: 1px solid var(--ghidgsm-border);
    padding: 10px 14px;
    transition: var(--ghidgsm-transition);
}

.geodir-search input:focus,
.geodir-search select:focus {
    border-color: var(--ghidgsm-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 58, 75, 0.1);
}

.geodir-search button[type="submit"],
.geodir-search input[type="submit"] {
    background: var(--ghidgsm-primary);
    color: var(--ghidgsm-white);
    border: none;
    border-radius: var(--ghidgsm-radius-sm);
    padding: 10px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ghidgsm-transition);
}

.geodir-search button[type="submit"]:hover,
.geodir-search input[type="submit"]:hover {
    background: var(--ghidgsm-primary-dark);
}

/* ═══════════════════════════════════════════════════════════════════════
   Service-uri Archive Page — Premium Redesign
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Step 1: Page Hero — Premium Navy Background ── */
.page-id-12 .entry-hero.page-hero-section {
    background:
        /* Copper glow — top right */
        radial-gradient(ellipse 50% 70% at 85% 15%, rgba(200,152,106,0.15) 0%, transparent 60%),
        /* Teal glow — bottom left */
        radial-gradient(ellipse 55% 80% at 10% 90%, rgba(91,155,213,0.08) 0%, transparent 55%),
        /* Deep center vignette */
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(27,58,75,0.4) 0%, transparent 70%),
        /* Base gradient — deep navy */
        linear-gradient(160deg, #1B3A4B 0%, #0E2738 35%, #091E2C 70%, #0A1C28 100%) !important;
    padding: 120px 0 48px !important;
    min-height: 550px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Kadence inner container has grey background (#EDF2F7) — force transparent */
.page-id-12 .entry-hero-container-inner {
    background: transparent !important;
    background-color: transparent !important;
    position: relative;
}

/* Layer 1: Geometric grid + noise grain */
.page-id-12 .entry-hero.page-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        /* Fine grid — horizontal */
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 79px,
            rgba(200,152,106,0.06) 79px,
            rgba(200,152,106,0.06) 80px
        ),
        /* Fine grid — vertical */
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 79px,
            rgba(200,152,106,0.06) 79px,
            rgba(200,152,106,0.06) 80px
        ),
        /* Noise grain via SVG */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 80px 80px, 80px 80px, 200px 200px;
    pointer-events: none;
    z-index: 0;
    /* Fade grid out at edges */
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

/* Layer 2: Copper hairline at bottom */
.page-id-12 .entry-hero.page-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(200,152,106,0.5) 50%, transparent 100%);
    z-index: 2;
}

/* Layer 3: Copper glow orb — top right, visible */
.page-id-12 .entry-hero-container-inner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(200,152,106,0.12) 0%, rgba(200,152,106,0.05) 35%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(30px);
}

/* Layer 4: Secondary teal glow — bottom left */
.page-id-12 .entry-hero-container-inner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(91,155,213,0.07) 0%, rgba(27,58,75,0.03) 35%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.page-id-12 .entry-hero .entry-header {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Warm glow concentrated behind title */
.page-id-12 .entry-hero .entry-header::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(200,152,106,0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    filter: blur(20px);
}

.page-id-12 .entry-hero .entry-title {
    color: #ffffff !important;
    font-size: clamp(34px, 4.5vw, 52px) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800 !important;
    font-style: normal !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Copper accent bar under title */
.page-id-12 .entry-hero .entry-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, #D4A574, #C8986A, #D4A574);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ── Hero breadcrumb & subtitle (injected via JS) ── */
/* Breadcrumb — above title */
.ghidgsm-archive-breadcrumb {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.ghidgsm-archive-breadcrumb a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ghidgsm-archive-breadcrumb a:hover {
    color: var(--ghidgsm-accent);
}

/* Subtitle — tagline with integrated count */
.ghidgsm-archive-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    font-weight: 400;
    margin-top: 16px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
}

/* Hero answer capsule — data-rich intro injected via JS */
.ghidgsm-hero-answer-capsule {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 680px;
    margin: 0.75rem auto 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ── City quicklinks bar (inside hero) ── */
.ghidgsm-quicklinks-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    padding: 0;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.ghidgsm-quicklinks-bar span {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 4px;
    white-space: nowrap;
}

.ghidgsm-quicklinks-bar a {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.ghidgsm-quicklinks-bar a:hover {
    color: #fff;
    background: rgba(200, 152, 106, 0.15);
    border-color: rgba(200, 152, 106, 0.35);
    text-decoration: none;
    transform: translateY(-1px);
}

.ghidgsm-quicklinks-bar a.ghidgsm-quicklink--active {
    color: #fff;
    background: rgba(200, 152, 106, 0.2);
    border-color: rgba(200, 152, 106, 0.4);
}

/* ── Step 2: Search — Moved into hero, reuses .ghidgsm-search-card ── */
.ghidgsm-archive-search {
    max-width: 720px;
    margin: 28px auto 0;
    opacity: 0;
    animation: heroFadeIn 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) 0.3s forwards;
}

.ghidgsm-archive-search .geodir-search-container {
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.ghidgsm-archive-search .geodir-search-form-wrapper {
    margin: 0 !important;
}

/* ── Step 2b: Page Background — Warm Off-White ── */
.page-id-12 .entry-content {
    background: var(--ghidgsm-bg-light);
    padding-top: 0;
    overflow-x: hidden;
}

/* Removed: search container ::after pseudo — search is now inside hero */

/* ── Step 3: List Layout — Single Column ── */
.page-id-12 .geodir_locations .geodir-category-list-view {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px 0;
}

.page-id-12 .geodir_locations .geodir-category-list-view > .geodir-post {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

/* ── Step 4: Card Redesign — Premium Listing Cards ── */

/* 4a. Card container — horizontal list row */
.page-id-12 .geodir-listings .geodir-post > .card {
    flex: 1;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.page-id-12 .geodir-listings .geodir-post .card {
    border: 1px solid rgba(230,223,211,0.7) !important;
    border-left: 3px solid var(--ghidgsm-accent) !important;
    border-radius: 14px !important;
    overflow: visible !important;
    box-shadow: var(--ghidgsm-shadow-card) !important;
    transition: transform 0.35s var(--ghidgsm-ease-out),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    background: var(--ghidgsm-white) !important;
    position: relative;
}

.page-id-12 .geodir-listings .geodir-post .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ghidgsm-shadow-card-hover) !important;
    border-color: rgba(200,152,106,0.25) !important;
    border-left-color: var(--ghidgsm-accent) !important;
}

/* Flatten nested .card > .card — make it the horizontal flex container */
.page-id-12 .geodir-listings .geodir-post .card .card {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
}

/* 4b. card-img-top → icon column on left side */
.page-id-12 .geodir-listings .card-img-top {
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    width: 88px !important;
    min-width: 88px !important;
    background: transparent !important;
    overflow: hidden !important;
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
    padding: 22px 0 22px 22px !important;
}

/* 4c. Hide gray Gravatar */
.page-id-12 .geodir-listings .card-body > .row.gv-hide-3 {
    display: none !important;
}

/* 4d. Category icon circle — inline in icon column */
.ghidgsm-cat-icon {
    position: relative;
    top: auto;
    right: auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1B3A4B, #0F2B3C);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ghidgsm-accent);
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(27,58,75,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
    z-index: 5;
    transition: transform 0.4s var(--ghidgsm-ease-spring);
}

.page-id-12 .geodir-listings .geodir-post .card:hover .ghidgsm-cat-icon {
    transform: scale(1.08) rotate(-3deg);
}

/* 4e. Typography & content — compact for list rows */
.page-id-12 .geodir-listings .card-body {
    padding: 24px 28px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
}

.page-id-12 .geodir-listings .geodir-post-title {
    margin-bottom: 6px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-id-12 .geodir-listings .geodir-entry-title a {
    color: var(--ghidgsm-primary) !important;
    font-size: 20px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.015em;
    line-height: 1.35;
    transition: color 0.3s ease;
    position: relative;
    display: inline;
}

/* Title underline animation */
.page-id-12 .geodir-listings .geodir-entry-title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--ghidgsm-accent);
    transition: width 0.4s var(--ghidgsm-ease-out);
}

.page-id-12 .geodir-listings .geodir-post .card:hover .geodir-entry-title a::after {
    width: 100%;
}

.page-id-12 .geodir-listings .geodir-entry-title a:hover {
    color: var(--ghidgsm-accent) !important;
}

/* Description — hidden for cleaner cards */
.page-id-12 .geodir-listings .geodir-field-post_content {
    display: none !important;
}

/* Address styling */
.page-id-12 .geodir-listings .ghidgsm-card-location {
    font-size: 14px;
    color: var(--ghidgsm-text-light);
    line-height: 1.4;
}

.page-id-12 .geodir-listings .ghidgsm-card-address {
    color: var(--ghidgsm-text-light);
}

.page-id-12 .geodir-listings .ghidgsm-card-city {
    font-weight: 600;
    color: var(--ghidgsm-primary);
}

/* Metadata section */
.page-id-12 .geodir-listings .card-body .geodir-output-location {
    border-top: none;
    padding-top: 0 !important;
    margin-top: auto;
}

.page-id-12 .geodir-listings .ghidgsm-card-location .geodir_post_meta_icon {
    color: var(--ghidgsm-accent) !important;
}

/* 4f. "Nou" badge — top-right of card */
.page-id-12 .geodir-listings .gd-badge[data-badge="post_date"] {
    position: absolute !important;
    top: -8px !important;
    right: 20px !important;
    left: auto !important;
    z-index: 4;
    font-size: 11px !important;
    padding: 3px 10px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(200,152,106,0.2);
    background: linear-gradient(
        120deg,
        #C8986A 0%,
        #E8C49A 25%,
        #F5E6D0 50%,
        #E8C49A 75%,
        #C8986A 100%
    ) !important;
    background-size: 200% 100% !important;
    animation: ghidgsm-badge-shimmer 3s ease-in-out infinite !important;
    color: #1B3A4B !important;
}

/* 4g. Category badge — absolutely positioned in right area of card */
.page-id-12 .geodir-listings .gd-badge[data-badge="default_category"] {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    right: 28px !important;
    transform: translateY(6px);
    left: auto !important;
    z-index: 2;
    background: none !important;
    background-size: unset !important;
    animation: none !important;
    box-shadow: none !important;
    color: var(--ghidgsm-text-light) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 0 4px 10px !important;
    border-radius: 0 !important;
    border-left: 2px solid rgba(200,152,106,0.3) !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    transition: color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
}

.page-id-12 .geodir-listings .gd-badge[data-badge="default_category"]:hover {
    color: var(--ghidgsm-accent) !important;
    border-left-color: var(--ghidgsm-accent) !important;
}

/* 4h. Card footer — right side column */
.page-id-12 .geodir-listings .card-footer {
    background: transparent !important;
    border-top: none !important;
    border-left: 1px solid rgba(230,223,211,0.7) !important;
    padding: 8px 32px 32px !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 180px;
    gap: 6px;
}

/* Reset Bootstrap flex on rating wrapper inside footer */
.page-id-12 .geodir-listings .card-footer > .d-flex {
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
}

.page-id-12 .geodir-listings .card-footer > .d-flex > div:empty {
    display: none !important;
}

.page-id-12 .geodir-listings .geodir-star-rating .fas {
    color: var(--ghidgsm-accent) !important;
}

.page-id-12 .geodir-listings .geodir-star-rating .far {
    color: var(--ghidgsm-border) !important;
}

/* 4i. Favorite button — hide on archive for clean card design */
.page-id-12 .geodir-listings .gd-list-favorite {
    display: none !important;
}

/* ── Step 5: Category-Specific Left Border Colors ── */
.page-id-12 .geodir-listings .geodir-post .card[data-category="reparatii-telefoane"] {
    border-left-color: #C8986A !important;
}

.page-id-12 .geodir-listings .geodir-post .card[data-category="reparatii-tablete"] {
    border-left-color: #5B9BD5 !important;
}

.page-id-12 .geodir-listings .geodir-post .card[data-category="accesorii-piese"] {
    border-left-color: #7EC699 !important;
}

.page-id-12 .geodir-listings .geodir-post .card[data-category="service-autorizat"] {
    border-left-color: #E8C449 !important;
}

.page-id-12 .geodir-listings .geodir-post .card[data-category="deblocare-software"] {
    border-left-color: #B07CC6 !important;
}

/* ── Step 6: Micro-interactions — Warm radial glow on hover ── */
.page-id-12 .geodir-listings .geodir-post .card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(circle at 0% 50%, rgba(200,152,106,0.04) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.page-id-12 .geodir-listings .geodir-post .card:hover::before {
    opacity: 1;
}

/* ── Step 8: Mobile Responsiveness ── */
@media (max-width: 1024px) {
    .page-id-12 .geodir_locations .geodir-category-list-view {
        gap: 20px;
        padding: 0 20px;
    }

    .page-id-12 .entry-hero.page-hero-section {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .page-id-12 .entry-hero.page-hero-section {
        min-height: 350px;
    }
}

@media (max-width: 640px) {
    .page-id-12 .entry-hero.page-hero-section {
        padding: 96px 0 32px !important;
        min-height: 300px;
    }

    .page-id-12 .entry-hero .entry-title {
        font-size: clamp(24px, 6vw, 32px) !important;
        letter-spacing: 0.05em !important;
    }

    .ghidgsm-archive-subtitle {
        font-size: 13.5px;
    }

    .page-id-12 .entry-hero .entry-header::before {
        width: 240px;
        height: 140px;
    }

    .ghidgsm-archive-search {
        margin-top: 20px;
        padding: 0 16px;
    }

    .ghidgsm-archive-search .geodir-search.row {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .ghidgsm-archive-search .geodir-search.row > div.col-auto {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .ghidgsm-archive-search .geodir-search.row > div:last-child > div {
        width: 100% !important;
    }

    .ghidgsm-archive-categories {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ghidgsm-archive-categories::-webkit-scrollbar {
        display: none;
    }

    .ghidgsm-archive-cat-pill {
        white-space: nowrap;
    }

    .ghidgsm-quicklinks-bar {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-top: 16px;
        gap: 8px;
    }

    .ghidgsm-quicklinks-bar::-webkit-scrollbar {
        display: none;
    }

    .ghidgsm-quicklinks-bar a {
        min-height: 36px;
        height: 36px;
        padding: 0 14px;
    }

    .ghidgsm-quicklinks-bar span {
        flex-shrink: 0;
    }

    .ghidgsm-archive-search .geodir_submit_search {
        width: 100% !important;
    }

    .page-id-12 .geodir_locations .geodir-category-list-view {
        gap: 14px;
        padding: 0 12px;
    }

    /* Keep horizontal list on mobile — just tighter */
    .page-id-12 .geodir-listings .card-img-top {
        width: 60px !important;
        min-width: 60px !important;
        padding: 14px 0 14px 14px !important;
    }

    .ghidgsm-cat-icon {
        width: 38px;
        height: 38px;
        font-size: 15px;
        border-radius: 10px;
    }

    .page-id-12 .geodir-listings .card-body {
        padding: 16px 18px !important;
    }

    .page-id-12 .geodir-listings .geodir-entry-title a {
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    .page-id-12 .geodir-listings .ghidgsm-card-location {
        font-size: 13px;
    }

    .page-id-12 .geodir-listings .gd-badge[data-badge="post_date"] {
        right: 10px !important;
        top: -8px !important;
        font-size: 8px !important;
        padding: 1px 6px !important;
    }

    .page-id-12 .geodir-listings .card-footer {
        border-left: 1px solid rgba(230,223,211,0.7) !important;
        border-top: none !important;
        padding: 12px 18px !important;
        min-width: 110px;
    }

    .page-id-12 .geodir-listings .gd-badge[data-badge="default_category"] {
        font-size: 9px !important;
        right: 12px !important;
    }
}

/* ─── Service-uri Pagination ──────────────────────────────────────── */

.page-id-12 .geodir-loop-paging-container {
    margin-top: 48px;
    margin-bottom: 24px;
}

.page-id-12 .aui-pagination .pagination {
    justify-content: center !important;
    gap: 6px;
    --bs-pagination-bg: #fff;
    --bs-pagination-color: #1B3A4B;
    --bs-pagination-border-color: #e2e8f0;
    --bs-pagination-hover-bg: #1B3A4B;
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-border-color: #1B3A4B;
    --bs-pagination-active-bg: #1B3A4B;
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-border-color: #1B3A4B;
    --bs-pagination-focus-box-shadow: 0 0 0 0.2rem rgba(27, 58, 75, 0.25);
}

.page-id-12 .aui-pagination .page-item .page-link {
    border-radius: 8px !important;
    font-weight: 500;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.page-id-12 .aui-pagination .page-item .page-link.dots {
    border: none !important;
    background: transparent !important;
    pointer-events: none;
    min-width: 24px;
}

.page-id-12 .aui-pagination .page-item .page-link .nav-next-text,
.page-id-12 .aui-pagination .page-item .page-link .nav-prev-text {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Full-width footer background + gradient accent border ── */
.site-footer .site-top-footer-wrap {
    background: var(--ghidgsm-footer-bg) !important;
    position: relative;
    padding: 60px 0 !important;
}

.site-footer .site-top-footer-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--ghidgsm-primary) 0%,
        var(--ghidgsm-accent) 40%,
        var(--ghidgsm-accent) 60%,
        var(--ghidgsm-primary) 100%
    );
    opacity: 0.85;
    z-index: 1;
}

/* ── Weighted 5-column grid ── */
.site-footer .site-top-footer-inner-wrap {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 0.9fr 1fr 0.8fr !important;
    gap: 32px !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-footer .footer-widget-area {
    background: transparent;
    border-top: none;
}

/* ── Widget titles — uppercase accent labels with underline ── */
.site-footer .footer-widget-area .widget-title,
.site-footer .footer-widget-area h2 {
    color: var(--ghidgsm-accent) !important;
    font-size: 11px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(200, 152, 106, 0.15);
    position: relative;
}

/* ── Base text colors ── */
.site-footer .footer-widget-area,
.site-footer .footer-widget-area p {
    color: #8A95A5;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer .footer-widget-area li {
    color: #A8B5C4;
}

/* ── Brand column ── */
.ghidgsm-footer-brand .ghidgsm-footer-logo {
    display: block;
    margin-bottom: 16px;
}

.ghidgsm-footer-brand .ghidgsm-footer-logo .ghidgsm-logo-svg {
    height: 28px;
    width: 133px;
}

.ghidgsm-footer-brand .ghidgsm-footer-logo .ghidgsm-logo-svg .wordmark {
    fill: #FFFFFF;
}

.ghidgsm-footer-brand .ghidgsm-footer-logo .ghidgsm-logo-svg .accent {
    fill: #C8986A;
}

.ghidgsm-footer-brand p {
    color: #7A8696;
    font-size: 14px;
    line-height: 1.75;
    margin: 0;
    max-width: 300px;
}

/* ── Footer link lists — shared styles ── */
.ghidgsm-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ghidgsm-footer-links li {
    margin-bottom: 10px;
}

.ghidgsm-footer-links li:last-child {
    margin-bottom: 0;
}

.ghidgsm-footer-links a {
    color: #A8B5C4;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: color 0.2s var(--ghidgsm-ease), transform 0.2s var(--ghidgsm-ease);
    line-height: 1.5;
}

.ghidgsm-footer-links a:hover {
    color: var(--ghidgsm-white);
    transform: translateX(3px);
}

/* ── City links — two-column grid for compact layout ── */
.ghidgsm-footer-cities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
}

.ghidgsm-footer-cities li {
    margin-bottom: 4px;
}

.ghidgsm-footer-cities a {
    font-size: 13px;
}

/* ── CTA link in footer ── */
.ghidgsm-footer-cta {
    color: var(--ghidgsm-accent) !important;
    font-weight: 600;
    margin-top: 4px;
}

.ghidgsm-footer-cta:hover {
    color: var(--ghidgsm-white) !important;
    letter-spacing: 0.01em;
}

/* ── Contact column ── */
.ghidgsm-footer-contact p {
    margin: 0 0 8px;
}

.ghidgsm-footer-contact a {
    color: #A8B5C4;
    text-decoration: none;
    transition: color 0.2s var(--ghidgsm-ease);
}

.ghidgsm-footer-contact a:hover {
    color: var(--ghidgsm-white);
}

.ghidgsm-footer-label {
    color: rgba(226, 220, 212, 0.7);
    font-weight: 600;
    font-size: 13px;
    display: block;
    margin-top: 2px;
}

.ghidgsm-footer-program {
    font-size: 13px;
    color: #7A8696;
    line-height: 1.6;
}

/* ── Categories sub-section ── */
.ghidgsm-footer-categories {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(168, 181, 196, 0.1);
}

.ghidgsm-footer-subtitle {
    color: var(--ghidgsm-accent) !important;
    font-size: 11px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin: 0 0 14px;
}

/* ── Bottom bar ── */
.site-footer .site-bottom-footer-wrap {
    background: var(--ghidgsm-footer-dark);
    border-top: 1px solid rgba(168, 181, 196, 0.06);
}

.ghidgsm-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #6B7A8D;
}

.ghidgsm-footer-legal {
    display: flex;
    gap: 6px;
    align-items: center;
}

.ghidgsm-footer-legal a {
    color: #6B7A8D;
    text-decoration: none;
    transition: color 0.2s var(--ghidgsm-ease);
}

.ghidgsm-footer-legal a:hover {
    color: var(--ghidgsm-accent);
}

.ghidgsm-footer-dot {
    color: #3A4554;
    font-size: 10px;
}

/* ── ANPC SAL/SOL icons (Order 449/2022) ── */
.ghidgsm-footer-anpc {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(168, 181, 196, 0.06);
}

.ghidgsm-footer-anpc a {
    display: inline-block;
    line-height: 0;
    opacity: 0.85;
    transition: opacity 0.2s var(--ghidgsm-ease);
}

.ghidgsm-footer-anpc a:hover {
    opacity: 1;
}

.ghidgsm-footer-anpc img {
    width: 250px;
    max-width: 100%;
    height: auto;
}

/* ── Kadence widget wrapper overrides ── */
.site-footer .footer-widget-area a {
    color: #A8B5C4;
    text-decoration: none;
}

.site-footer .footer-widget-area a:hover {
    color: var(--ghidgsm-white);
}

.site-footer .site-bottom-footer-wrap,
.site-footer .site-bottom-footer-wrap p,
.site-footer .site-bottom-footer-wrap a {
    color: #6B7A8D;
}

.site-footer .site-bottom-footer-wrap a:hover {
    color: var(--ghidgsm-accent);
}

/* ═══════════════════════════════════════════════════════════════════════
   Despre Noi & Contact Pages — Premium Redesign
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 2a. Shared Dark Hero (all non-homepage pages) ── */

.kb-row-layout-id-termeni-hero,
.kb-row-layout-id-privacy-hero,
.kb-row-layout-id-login-hero,
.kb-row-layout-id-register-hero,
.kb-row-layout-id-lost-password-hero,
.kb-row-layout-id-adauga-hero,
.kb-row-layout-id-about-hero,
.kb-row-layout-id-contact-hero {
    position: relative;
    overflow: hidden;
}

.kb-row-layout-wrap.kb-row-layout-id-termeni-hero::before,
.kb-row-layout-wrap.kb-row-layout-id-privacy-hero::before,
.kb-row-layout-wrap.kb-row-layout-id-login-hero::before,
.kb-row-layout-wrap.kb-row-layout-id-register-hero::before,
.kb-row-layout-wrap.kb-row-layout-id-lost-password-hero::before,
.kb-row-layout-wrap.kb-row-layout-id-adauga-hero::before,
.kb-row-layout-wrap.kb-row-layout-id-about-hero::before,
.kb-row-layout-wrap.kb-row-layout-id-contact-hero::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 79px,
            rgba(200,152,106,0.06) 79px,
            rgba(200,152,106,0.06) 80px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 79px,
            rgba(200,152,106,0.06) 79px,
            rgba(200,152,106,0.06) 80px
        ),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 80px 80px, 80px 80px, 200px 200px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.kb-row-layout-id-termeni-hero::after,
.kb-row-layout-id-privacy-hero::after,
.kb-row-layout-id-login-hero::after,
.kb-row-layout-id-register-hero::after,
.kb-row-layout-id-lost-password-hero::after,
.kb-row-layout-id-adauga-hero::after,
.kb-row-layout-id-about-hero::after,
.kb-row-layout-id-contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(200,152,106,0.5) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.kb-row-layout-id-termeni-hero .kt-row-column-wrap,
.kb-row-layout-id-privacy-hero .kt-row-column-wrap,
.kb-row-layout-id-login-hero .kt-row-column-wrap,
.kb-row-layout-id-register-hero .kt-row-column-wrap,
.kb-row-layout-id-lost-password-hero .kt-row-column-wrap,
.kb-row-layout-id-adauga-hero .kt-row-column-wrap,
.kb-row-layout-id-about-hero .kt-row-column-wrap,
.kb-row-layout-id-contact-hero .kt-row-column-wrap {
    position: relative;
    z-index: 1;
    min-height: 550px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Copper glow orb — top right */
.kb-row-layout-id-termeni-hero .kt-row-column-wrap::before,
.kb-row-layout-id-privacy-hero .kt-row-column-wrap::before,
.kb-row-layout-id-login-hero .kt-row-column-wrap::before,
.kb-row-layout-id-register-hero .kt-row-column-wrap::before,
.kb-row-layout-id-lost-password-hero .kt-row-column-wrap::before,
.kb-row-layout-id-adauga-hero .kt-row-column-wrap::before,
.kb-row-layout-id-about-hero .kt-row-column-wrap::before,
.kb-row-layout-id-contact-hero .kt-row-column-wrap::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(200,152,106,0.12) 0%, rgba(200,152,106,0.05) 35%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(30px);
}

/* Teal glow orb — bottom left */
.kb-row-layout-id-termeni-hero .kt-row-column-wrap::after,
.kb-row-layout-id-privacy-hero .kt-row-column-wrap::after,
.kb-row-layout-id-login-hero .kt-row-column-wrap::after,
.kb-row-layout-id-register-hero .kt-row-column-wrap::after,
.kb-row-layout-id-lost-password-hero .kt-row-column-wrap::after,
.kb-row-layout-id-adauga-hero .kt-row-column-wrap::after,
.kb-row-layout-id-about-hero .kt-row-column-wrap::after,
.kb-row-layout-id-contact-hero .kt-row-column-wrap::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(91,155,213,0.07) 0%, rgba(27,58,75,0.03) 35%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.kb-row-layout-id-termeni-hero .kt-inside-inner-col,
.kb-row-layout-id-privacy-hero .kt-inside-inner-col,
.kb-row-layout-id-login-hero .kt-inside-inner-col,
.kb-row-layout-id-register-hero .kt-inside-inner-col,
.kb-row-layout-id-lost-password-hero .kt-inside-inner-col,
.kb-row-layout-id-adauga-hero .kt-inside-inner-col,
.kb-row-layout-id-about-hero .kt-inside-inner-col,
.kb-row-layout-id-contact-hero .kt-inside-inner-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Warm glow concentrated behind title */
.kb-row-layout-id-termeni-hero .kt-inside-inner-col::before,
.kb-row-layout-id-privacy-hero .kt-inside-inner-col::before,
.kb-row-layout-id-login-hero .kt-inside-inner-col::before,
.kb-row-layout-id-register-hero .kt-inside-inner-col::before,
.kb-row-layout-id-lost-password-hero .kt-inside-inner-col::before,
.kb-row-layout-id-adauga-hero .kt-inside-inner-col::before,
.kb-row-layout-id-about-hero .kt-inside-inner-col::before,
.kb-row-layout-id-contact-hero .kt-inside-inner-col::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(200,152,106,0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    filter: blur(20px);
}

.kb-row-layout-id-termeni-hero h1,
.kb-row-layout-id-privacy-hero h1,
.kb-row-layout-id-login-hero h1,
.kb-row-layout-id-register-hero h1,
.kb-row-layout-id-lost-password-hero h1,
.kb-row-layout-id-adauga-hero h1,
.kb-row-layout-id-about-hero h1,
.kb-row-layout-id-contact-hero h1 {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.025em;
    line-height: 1.1 !important;
    animation: heroFadeIn 0.6s var(--ghidgsm-ease-out) both;
}

.kb-row-layout-id-termeni-hero p,
.kb-row-layout-id-privacy-hero p,
.kb-row-layout-id-login-hero p,
.kb-row-layout-id-register-hero p,
.kb-row-layout-id-lost-password-hero p,
.kb-row-layout-id-adauga-hero p,
.kb-row-layout-id-about-hero p,
.kb-row-layout-id-contact-hero p {
    animation: heroFadeIn 0.6s var(--ghidgsm-ease-out) 0.15s both;
}

/* Shared hero — tablet */
@media (max-width: 1024px) {
    .kb-row-layout-id-termeni-hero .kt-row-column-wrap,
    .kb-row-layout-id-privacy-hero .kt-row-column-wrap,
    .kb-row-layout-id-login-hero .kt-row-column-wrap,
    .kb-row-layout-id-register-hero .kt-row-column-wrap,
    .kb-row-layout-id-lost-password-hero .kt-row-column-wrap,
    .kb-row-layout-id-adauga-hero .kt-row-column-wrap,
    .kb-row-layout-id-about-hero .kt-row-column-wrap,
    .kb-row-layout-id-contact-hero .kt-row-column-wrap {
        min-height: 420px;
    }
}

/* Shared hero — mobile */
@media (max-width: 768px) {
    .kb-row-layout-id-termeni-hero .kt-row-column-wrap,
    .kb-row-layout-id-privacy-hero .kt-row-column-wrap,
    .kb-row-layout-id-login-hero .kt-row-column-wrap,
    .kb-row-layout-id-register-hero .kt-row-column-wrap,
    .kb-row-layout-id-lost-password-hero .kt-row-column-wrap,
    .kb-row-layout-id-adauga-hero .kt-row-column-wrap,
    .kb-row-layout-id-about-hero .kt-row-column-wrap,
    .kb-row-layout-id-contact-hero .kt-row-column-wrap {
        min-height: 350px;
    }
}

/* Shared hero — small mobile */
@media (max-width: 480px) {
    .kb-row-layout-id-termeni-hero .kt-row-column-wrap,
    .kb-row-layout-id-privacy-hero .kt-row-column-wrap,
    .kb-row-layout-id-login-hero .kt-row-column-wrap,
    .kb-row-layout-id-register-hero .kt-row-column-wrap,
    .kb-row-layout-id-lost-password-hero .kt-row-column-wrap,
    .kb-row-layout-id-adauga-hero .kt-row-column-wrap,
    .kb-row-layout-id-about-hero .kt-row-column-wrap,
    .kb-row-layout-id-contact-hero .kt-row-column-wrap {
        min-height: 300px;
    }
}

/* Hero icon container */
.ghidgsm-hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(200, 152, 106, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: heroFadeIn 0.6s var(--ghidgsm-ease-out) both;
}

.ghidgsm-hero-icon svg {
    width: 32px;
    height: 32px;
    color: var(--ghidgsm-accent);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── 2b. Despre Noi — Mission Section ── */

.ghidgsm-about-mission {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.ghidgsm-about-mission-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--ghidgsm-text-light);
    margin: 0 0 16px;
}

.ghidgsm-about-mission-text p:last-child {
    margin-bottom: 0;
}

.ghidgsm-about-mission-text strong {
    color: var(--ghidgsm-text-dark);
    font-weight: 700;
}

.ghidgsm-about-mission-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ghidgsm-phone-scene {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ghidgsm-phone-svg {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 280px;
    height: auto;
    transform: perspective(800px) rotateY(-4deg) rotateX(1deg);
    filter: drop-shadow(0 24px 48px rgba(200,152,106,0.22)) drop-shadow(0 8px 16px rgba(27,58,75,0.1));
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ghidgsm-phone-scene:hover .ghidgsm-phone-svg {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

/* Floating decorative icons */
.ghidgsm-phone-float {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    animation: ghidgsm-float 4s ease-in-out infinite;
}

.ghidgsm-phone-float--pin {
    width: 40px;
    height: 40px;
    top: 8%;
    right: -8px;
    animation-delay: 0s;
}

.ghidgsm-phone-float--star {
    width: 36px;
    height: 36px;
    bottom: 18%;
    left: -12px;
    animation-delay: -1.3s;
}

.ghidgsm-phone-float--shield {
    width: 32px;
    height: 32px;
    bottom: 6%;
    right: 4px;
    animation-delay: -2.6s;
}

@keyframes ghidgsm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.ghidgsm-about-mission-visual svg {
    width: 100%;
    max-width: 320px;
    height: auto;
}

/* ── 2c. Despre Noi — Stats Counter ── */

.ghidgsm-about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.ghidgsm-stat-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 36px 20px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.ghidgsm-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C8986A, #E8C49A);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ghidgsm-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(27, 58, 75, 0.1), 0 0 0 1px rgba(200, 152, 106, 0.15);
}

.ghidgsm-stat-card:hover::before {
    opacity: 1;
}

.ghidgsm-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(200, 152, 106, 0.12) 0%, rgba(200, 152, 106, 0.06) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border: 1px solid rgba(200, 152, 106, 0.18);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease;
}

.ghidgsm-stat-card:hover .ghidgsm-stat-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(200, 152, 106, 0.18) 0%, rgba(200, 152, 106, 0.1) 100%);
    border-color: rgba(200, 152, 106, 0.3);
}

.ghidgsm-stat-icon svg {
    width: 20px;
    height: 20px;
    color: #C8986A;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ghidgsm-stat-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: #C8986A;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.ghidgsm-stat-label {
    font-size: 15px;
    color: #6B7280;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* ── 2d. Despre Noi — Value Propositions ── */

.ghidgsm-about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.ghidgsm-value-card {
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-left: 3px solid var(--ghidgsm-accent);
    border-radius: var(--ghidgsm-radius);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.35s var(--ghidgsm-ease-out), box-shadow 0.35s var(--ghidgsm-ease), border-color 0.3s var(--ghidgsm-ease);
    box-shadow: var(--ghidgsm-shadow-sm);
}

.ghidgsm-value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ghidgsm-shadow-lg), 0 0 20px rgba(200, 152, 106, 0.1);
    border-color: rgba(200, 152, 106, 0.3);
    border-left-color: #E8C49A;
}

.ghidgsm-value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ghidgsm-primary) 0%, var(--ghidgsm-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(27, 58, 75, 0.2), 0 0 0 3px rgba(200, 152, 106, 0.15);
    transition: transform 0.35s var(--ghidgsm-ease-spring), box-shadow 0.35s var(--ghidgsm-ease);
}

.ghidgsm-value-card:hover .ghidgsm-value-icon {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 24px rgba(27, 58, 75, 0.25), 0 0 0 3px rgba(200, 152, 106, 0.3);
}

.ghidgsm-value-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ghidgsm-value-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--ghidgsm-text-dark);
    margin-bottom: 8px;
}

.ghidgsm-value-desc {
    font-size: 14px;
    color: var(--ghidgsm-text-light);
    line-height: 1.6;
    margin: 0;
}

/* ── 2e. Despre Noi — Dual CTA Buttons ── */

.ghidgsm-dual-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ghidgsm-cta-button-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: var(--ghidgsm-radius-sm);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: background 0.3s var(--ghidgsm-ease), border-color 0.3s var(--ghidgsm-ease), transform 0.3s var(--ghidgsm-ease-spring);
}

.ghidgsm-cta-button-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    color: #fff !important;
}

.ghidgsm-cta-button-outline:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.1s;
}

/* ── 2f. Contact — Contact Cards ── */

.ghidgsm-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.ghidgsm-contact-card {
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-top: 3px solid var(--ghidgsm-accent);
    border-radius: var(--ghidgsm-radius);
    padding: 40px 24px;
    text-align: center;
    transition: transform 0.35s var(--ghidgsm-ease-out), box-shadow 0.35s var(--ghidgsm-ease);
}

.ghidgsm-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ghidgsm-shadow-md);
}

.ghidgsm-contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ghidgsm-primary) 0%, var(--ghidgsm-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(27, 58, 75, 0.2), 0 0 0 3px rgba(200, 152, 106, 0.15);
}

.ghidgsm-contact-icon svg {
    width: 26px;
    height: 26px;
    color: #fff;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ghidgsm-contact-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--ghidgsm-text-dark);
    margin-bottom: 8px;
}

.ghidgsm-contact-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--ghidgsm-primary);
    margin-bottom: 4px;
}

.ghidgsm-contact-value a {
    color: var(--ghidgsm-primary);
    text-decoration: none;
    transition: color 0.25s ease;
}

.ghidgsm-contact-value a:hover {
    color: var(--ghidgsm-accent);
}

.ghidgsm-contact-desc {
    font-size: 14px;
    color: var(--ghidgsm-text-light);
    margin: 0;
}

/* ── Contact page — content links ── */

.kb-row-layout-id-contact-scenarios a {
    color: var(--ghidgsm-accent-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(200,152,106,0.4);
    transition: text-decoration-color 0.25s ease;
}

.kb-row-layout-id-contact-scenarios a:hover {
    text-decoration-color: var(--ghidgsm-accent);
}

/* ── 2g. Contact — FAQ Accordion ── */

.ghidgsm-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.ghidgsm-faq-item {
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius);
    overflow: hidden;
    transition: box-shadow 0.3s var(--ghidgsm-ease), border-color 0.3s var(--ghidgsm-ease);
}

.ghidgsm-faq-item[open] {
    box-shadow: var(--ghidgsm-shadow-md);
    border-color: rgba(200, 152, 106, 0.3);
}

.ghidgsm-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--ghidgsm-text-dark);
    list-style: none;
    transition: color 0.25s ease;
}

.ghidgsm-faq-question::-webkit-details-marker {
    display: none;
}

.ghidgsm-faq-question::marker {
    display: none;
    content: '';
}

.ghidgsm-faq-question:hover {
    color: var(--ghidgsm-primary);
}

.ghidgsm-faq-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.ghidgsm-faq-item[open] .ghidgsm-faq-chevron {
    transform: rotate(180deg);
    color: var(--ghidgsm-accent);
}

.ghidgsm-faq-answer {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--ghidgsm-text-light);
    line-height: 1.7;
}

.ghidgsm-faq-answer a {
    color: var(--ghidgsm-accent-dark);
    text-decoration: none;
    font-weight: 500;
}

.ghidgsm-faq-answer a:hover {
    color: var(--ghidgsm-accent);
    text-decoration: underline;
}

/* ── 2h. Section heading copper underline (reusable for new pages) ── */

.ghidgsm-section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C8986A, #E8C49A);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ── 2i. Explorează Directorul — Dark Island Section ── */

#kt-layout-idcontact-links,
#kt-layout-idabout-links {
    background:
        radial-gradient(ellipse 60% 50% at 70% 20%, rgba(200,152,106,0.10) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 20% 80%, rgba(26,90,95,0.08) 0%, transparent 70%),
        linear-gradient(180deg, #14303D 0%, #1B3A4B 40%, #162F3C 100%) !important;
    position: relative;
    overflow: hidden;
}

#kt-layout-idcontact-links::before,
#kt-layout-idabout-links::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            0deg, transparent, transparent 79px,
            rgba(200,152,106,0.06) 79px, rgba(200,152,106,0.06) 80px
        ),
        repeating-linear-gradient(
            90deg, transparent, transparent 79px,
            rgba(200,152,106,0.06) 79px, rgba(200,152,106,0.06) 80px
        ),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 80px 80px, 80px 80px, 200px 200px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

#kt-layout-idcontact-links::after,
#kt-layout-idabout-links::after {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(200,152,106,0.5) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

#kt-layout-idcontact-links .kt-row-column-wrap,
#kt-layout-idabout-links .kt-row-column-wrap {
    position: relative;
    z-index: 1;
}

#kt-layout-idcontact-links .ghidgsm-section-heading,
#kt-layout-idabout-links .ghidgsm-section-heading {
    color: #fff !important;
}

#kt-layout-idcontact-links .ghidgsm-section-heading::after,
#kt-layout-idabout-links .ghidgsm-section-heading::after {
    margin: 12px auto 0;
}

/* Explore body — 2-column grid with vertical divider */
.ghidgsm-explore-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
}

.ghidgsm-explore-body::after {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(200,152,106,0.4) 30%, rgba(200,152,106,0.4) 70%, transparent 100%);
    pointer-events: none;
}

.ghidgsm-explore-col {
    padding: 0 40px;
}

.ghidgsm-explore-col:first-child {
    padding-left: 0;
}

.ghidgsm-explore-col:last-child {
    padding-right: 0;
}

.ghidgsm-explore-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C8986A;
    margin-bottom: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ghidgsm-explore-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #C8986A, #E8C49A);
    border-radius: 1px;
    flex-shrink: 0;
}

.ghidgsm-explore-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ghidgsm-explore-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(200,152,106,0.25);
    border-radius: 24px;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.ghidgsm-explore-pill:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.09);
    border-color: rgba(200,152,106,0.5);
    box-shadow: 0 4px 16px rgba(200,152,106,0.15);
    color: #fff;
    text-decoration: none;
}

.ghidgsm-explore-pill--city .ghidgsm-pill-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.ghidgsm-explore-pill--category {
    border-color: rgba(200,152,106,0.30);
}

/* Responsive — explore section */
@media (max-width: 768px) {
    .ghidgsm-explore-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ghidgsm-explore-body::after {
        display: none;
    }
    .ghidgsm-explore-col {
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .ghidgsm-explore-pill {
        font-size: 13px;
        padding: 7px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ghidgsm-explore-pill {
        transition: none;
    }
    .ghidgsm-explore-pill:hover {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Adaugă Service — Benefits Grid, Stats Row & Form Styling
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Benefits 2×2 Grid ── */
.ghidgsm-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.ghidgsm-benefit-card {
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius);
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.35s var(--ghidgsm-ease-out), box-shadow 0.35s var(--ghidgsm-ease);
    box-shadow: var(--ghidgsm-shadow-sm);
}

.ghidgsm-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ghidgsm-shadow-lg), 0 0 20px rgba(200, 152, 106, 0.1);
}

.ghidgsm-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ghidgsm-primary) 0%, var(--ghidgsm-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(27, 58, 75, 0.2), 0 0 0 3px rgba(200, 152, 106, 0.15);
}

.ghidgsm-benefit-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ghidgsm-benefit-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--ghidgsm-text-dark);
    margin: 0 0 10px;
}

.ghidgsm-benefit-card p {
    font-size: 15px;
    color: var(--ghidgsm-text-light);
    line-height: 1.6;
    margin: 0;
}

/* ── Stats Row (dark bg, inline) ── */
.ghidgsm-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.ghidgsm-stats-item {
    text-align: center;
}

.ghidgsm-stats-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--ghidgsm-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.ghidgsm-stats-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ── GeoDirectory Add Listing Form ── */
.ghidgsm-add-listing-form {
    max-width: 1060px;
    margin: 0 auto;
}

.ghidgsm-add-listing-form .geodir_form_row {
    margin-bottom: 20px;
}

.ghidgsm-add-listing-form .geodir_form_row label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--ghidgsm-text-dark);
    margin-bottom: 6px;
    display: block;
}

.ghidgsm-add-listing-form .geodir_form_row input[type="text"],
.ghidgsm-add-listing-form .geodir_form_row input[type="email"],
.ghidgsm-add-listing-form .geodir_form_row input[type="url"],
.ghidgsm-add-listing-form .geodir_form_row input[type="tel"],
.ghidgsm-add-listing-form .geodir_form_row input[type="number"],
.ghidgsm-add-listing-form .geodir_form_row select,
.ghidgsm-add-listing-form .geodir_form_row textarea {
    width: 100%;
    border: 1.5px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius-sm);
    padding: 12px 16px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    color: var(--ghidgsm-text-dark);
    background: var(--ghidgsm-white);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ghidgsm-add-listing-form .geodir_form_row input:focus,
.ghidgsm-add-listing-form .geodir_form_row select:focus,
.ghidgsm-add-listing-form .geodir_form_row textarea:focus {
    outline: none;
    border-color: var(--ghidgsm-accent);
    box-shadow: 0 0 0 3px rgba(200, 152, 106, 0.15);
}

.ghidgsm-add-listing-form .geodir_form_row textarea {
    min-height: 120px;
    resize: vertical;
}

.ghidgsm-add-listing-form .required_field label::after {
    content: none;
}

.ghidgsm-add-listing-form .geodir_button_submit,
.ghidgsm-add-listing-form .geodir-add-listing-submit,
.ghidgsm-add-listing-form button[type="submit"],
.ghidgsm-add-listing-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #D4A574, #C8986A, #B5845A);
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 40px;
    border: none;
    border-radius: var(--ghidgsm-radius-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 20px rgba(200, 152, 106, 0.4);
    transition: transform 0.3s var(--ghidgsm-ease-spring), box-shadow 0.3s var(--ghidgsm-ease);
}

.ghidgsm-add-listing-form .geodir_button_submit:hover,
.ghidgsm-add-listing-form .geodir-add-listing-submit:hover,
.ghidgsm-add-listing-form button[type="submit"]:hover,
.ghidgsm-add-listing-form input[type="submit"]:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 8px 32px rgba(200, 152, 106, 0.5);
}

.ghidgsm-add-listing-form .geodir_form_row .select2-container--default .select2-selection--single,
.ghidgsm-add-listing-form .geodir_form_row .geodir-select {
    border: 1.5px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius-sm);
    padding: 10px 16px;
    min-height: 46px;
    font-size: 15px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ghidgsm-add-listing-form .geodir_form_row .select2-container--default .select2-selection--single:focus,
.ghidgsm-add-listing-form .geodir_form_row .geodir-select:focus {
    border-color: var(--ghidgsm-accent);
    box-shadow: 0 0 0 3px rgba(200, 152, 106, 0.15);
}

/* ── Enhanced Form: Section Headers ── */

.ghidgsm-form-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin: -32px -40px 24px -40px;
    background: linear-gradient(135deg, rgba(27,58,75,0.03), rgba(200,152,106,0.04));
    border-bottom: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius-lg) var(--ghidgsm-radius-lg) 0 0;
    border-top: none;
    position: relative;
}

.ghidgsm-form-section-header:first-of-type {
    margin-top: -32px;
}

.ghidgsm-form-section-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A574, #C8986A);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(200, 152, 106, 0.3);
}

.ghidgsm-form-section-icon {
    display: flex;
    align-items: center;
    color: var(--ghidgsm-accent);
}

.ghidgsm-form-section-icon svg {
    width: 20px;
    height: 20px;
}

.ghidgsm-form-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--ghidgsm-text-dark);
    letter-spacing: -0.01em;
}

/* ── Enhanced Form: Container Upgrade ── */

.ghidgsm-form-enhanced {
    max-width: 1060px;
}

/* ── Enhanced Form: Top Labels Override ── */

.ghidgsm-form-enhanced .mb-3.row {
    flex-direction: column !important;
}

.ghidgsm-form-enhanced .mb-3.row > label,
.ghidgsm-form-enhanced .mb-3.row > .col-sm-2 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-right: 0;
    margin-bottom: 8px;
}

.ghidgsm-form-enhanced .mb-3.row > .col-sm-10,
.ghidgsm-form-enhanced .mb-3.row > div:last-child:not(.col-sm-2) {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0;
}

.ghidgsm-form-enhanced .mb-3.row input[type="text"],
.ghidgsm-form-enhanced .mb-3.row input[type="email"],
.ghidgsm-form-enhanced .mb-3.row input[type="url"],
.ghidgsm-form-enhanced .mb-3.row input[type="tel"],
.ghidgsm-form-enhanced .mb-3.row input[type="number"],
.ghidgsm-form-enhanced .mb-3.row select,
.ghidgsm-form-enhanced .mb-3.row textarea {
    min-height: 48px;
}

/* ── Enhanced Form: Section Cards ── */

.ghidgsm-form-section-card,
.ghidgsm-form-submit-card {
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius-lg);
    padding: 32px 40px;
    box-shadow: 0 1px 2px rgba(27,58,75,0.04), 0 4px 12px rgba(27,58,75,0.06);
}

.ghidgsm-form-section-card {
    margin-bottom: 20px;
}

/* ── Enhanced Form: Progress Indicator ── */

.ghidgsm-form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 16px 24px;
    margin-bottom: 24px;
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius-lg);
    box-shadow: 0 1px 2px rgba(27,58,75,0.04), 0 4px 12px rgba(27,58,75,0.06);
    position: sticky;
    top: 80px;
    z-index: 90;
}

.ghidgsm-progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--ghidgsm-radius-sm);
    transition: background 0.2s ease;
    white-space: nowrap;
}

.ghidgsm-progress-step:hover {
    background: rgba(27,58,75,0.04);
}

.ghidgsm-progress-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ghidgsm-bg-light);
    border: 2px solid var(--ghidgsm-border);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    color: var(--ghidgsm-text-light);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ghidgsm-progress-step.active .ghidgsm-progress-circle {
    background: linear-gradient(135deg, #D4A574, #C8986A);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px rgba(200, 152, 106, 0.4);
}

.ghidgsm-progress-step.completed .ghidgsm-progress-circle {
    background: var(--ghidgsm-primary);
    border-color: transparent;
    color: #fff;
}

.ghidgsm-progress-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--ghidgsm-text-light);
    transition: color 0.3s ease;
}

.ghidgsm-progress-step.active .ghidgsm-progress-label {
    color: var(--ghidgsm-text-dark);
}

.ghidgsm-progress-step.completed .ghidgsm-progress-label {
    color: var(--ghidgsm-text-dark);
}

.ghidgsm-progress-line {
    flex: 1;
    height: 2px;
    min-width: 20px;
    background: var(--ghidgsm-border);
    transition: background 0.3s ease;
}

.ghidgsm-progress-line.completed {
    background: var(--ghidgsm-primary);
}

/* ── Enhanced Form: Input hover states ── */

.ghidgsm-form-enhanced .geodir_form_row input[type="text"]:hover,
.ghidgsm-form-enhanced .geodir_form_row input[type="email"]:hover,
.ghidgsm-form-enhanced .geodir_form_row input[type="url"]:hover,
.ghidgsm-form-enhanced .geodir_form_row input[type="tel"]:hover,
.ghidgsm-form-enhanced .geodir_form_row input[type="number"]:hover,
.ghidgsm-form-enhanced .geodir_form_row select:hover,
.ghidgsm-form-enhanced .geodir_form_row textarea:hover,
.ghidgsm-form-enhanced .mb-3.row input[type="text"]:hover,
.ghidgsm-form-enhanced .mb-3.row input[type="email"]:hover,
.ghidgsm-form-enhanced .mb-3.row input[type="url"]:hover,
.ghidgsm-form-enhanced .mb-3.row input[type="tel"]:hover,
.ghidgsm-form-enhanced .mb-3.row input[type="number"]:hover,
.ghidgsm-form-enhanced .mb-3.row select:hover,
.ghidgsm-form-enhanced .mb-3.row textarea:hover {
    border-color: #C8B8A4;
}

/* ── Enhanced Form: Field description text ── */

.ghidgsm-form-enhanced small.text-muted,
.ghidgsm-form-enhanced .geodir-field-desc {
    font-size: 12.5px;
    color: var(--ghidgsm-text-light);
    margin-top: 5px;
    line-height: 1.4;
}

/* ── Enhanced Form: Select2 multi-select chips ── */

.ghidgsm-form-enhanced .select2-container--default .select2-selection--multiple {
    border: 1.5px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius-sm);
    padding: 8px 12px;
    min-height: 46px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ghidgsm-form-enhanced .select2-container--default .select2-selection--multiple:hover {
    border-color: #C8B8A4;
}

.ghidgsm-form-enhanced .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--ghidgsm-accent);
    box-shadow: 0 0 0 3px rgba(200, 152, 106, 0.15);
}

.ghidgsm-form-enhanced .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(135deg, rgba(200, 152, 106, 0.12), rgba(200, 152, 106, 0.08));
    border: 1px solid rgba(200, 152, 106, 0.3);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 13px;
    color: var(--ghidgsm-text-dark);
}

.ghidgsm-form-enhanced .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--ghidgsm-accent-dark);
    margin-right: 6px;
}

/* ── Enhanced Form: Searchable Select (Județ & Oraș) ── */

.ghidgsm-searchselect {
    position: relative;
    width: 100%;
}

.ghidgsm-searchselect-btn,
.ghidgsm-searchselect-btn:hover,
.ghidgsm-searchselect-btn:focus,
.ghidgsm-searchselect-btn:active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    background: var(--ghidgsm-white) !important;
    border: 1.5px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius-sm) !important;
    font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color: var(--ghidgsm-text-light) !important;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    text-align: left;
    outline: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.ghidgsm-searchselect-btn:hover {
    border-color: #C8B8A4;
}

.ghidgsm-searchselect.open .ghidgsm-searchselect-btn,
.ghidgsm-searchselect-btn:focus,
.ghidgsm-searchselect-btn:active {
    border-color: var(--ghidgsm-accent);
    box-shadow: 0 0 0 3px rgba(200, 152, 106, 0.25);
}

.ghidgsm-searchselect-btn.has-value {
    color: var(--ghidgsm-text-dark) !important;
    font-weight: 500 !important;
}

.ghidgsm-ss-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ghidgsm-ss-chevron {
    flex-shrink: 0;
    color: var(--ghidgsm-text-light);
    transition: transform 0.2s ease, color 0.2s ease;
}

.ghidgsm-searchselect-btn.has-value .ghidgsm-ss-chevron {
    color: var(--ghidgsm-text-dark);
}

.ghidgsm-searchselect.open .ghidgsm-ss-chevron {
    transform: rotate(180deg);
}

.ghidgsm-ss-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius-sm);
    box-shadow: 0 0 0 1px rgba(27, 58, 75, 0.04), 0 2px 6px rgba(27, 58, 75, 0.08), 0 8px 24px rgba(27, 58, 75, 0.10);
    z-index: 100;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
    transform-origin: top center;
    pointer-events: none;
    transition: visibility 0.15s, opacity 0.15s var(--ghidgsm-ease-out, ease), transform 0.15s var(--ghidgsm-ease-out, ease);
}

.ghidgsm-ss-dropdown.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.ghidgsm-ss-dropdown.above {
    top: auto;
    bottom: calc(100% + 4px);
    transform-origin: bottom center;
}

.ghidgsm-ss-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--ghidgsm-border);
}

.ghidgsm-ss-search-icon {
    flex-shrink: 0;
    color: var(--ghidgsm-text-light);
    display: flex;
    align-items: center;
}

.ghidgsm-ss-search {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: var(--ghidgsm-text-dark);
    background: transparent;
    padding: 0;
    min-height: auto;
}

.ghidgsm-ss-search::placeholder {
    color: var(--ghidgsm-text-light);
    opacity: 0.7;
}

.ghidgsm-ss-list {
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--ghidgsm-border) transparent;
}

.ghidgsm-ss-list::-webkit-scrollbar {
    width: 4px;
}

.ghidgsm-ss-list::-webkit-scrollbar-track {
    background: transparent;
}

.ghidgsm-ss-list::-webkit-scrollbar-thumb {
    background: rgba(27, 58, 75, 0.18);
    border-radius: 2px;
}

.ghidgsm-ss-list::-webkit-scrollbar-thumb:hover {
    background: rgba(27, 58, 75, 0.30);
}

.ghidgsm-ss-item {
    padding: 10px 14px 10px 41px;
    font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    color: var(--ghidgsm-text-dark);
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.12s ease, border-color 0.12s ease;
}

.ghidgsm-ss-item:hover,
.ghidgsm-ss-item.highlighted {
    background: var(--ghidgsm-bg-light);
    border-left-color: rgba(200, 152, 106, 0.5);
}

.ghidgsm-ss-item.selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--ghidgsm-accent-dark);
    font-weight: 600;
    background: rgba(200, 152, 106, 0.08);
    border-left-color: var(--ghidgsm-accent);
}

.ghidgsm-ss-check {
    flex-shrink: 0;
    color: var(--ghidgsm-accent);
    margin-left: 8px;
}

.ghidgsm-ss-empty {
    padding: 16px 14px;
    font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    color: var(--ghidgsm-text-light);
    text-align: center;
    font-style: italic;
}

/* ── Enhanced Form: Hide Select2 on category row (replaced by card grid) ── */

.ghidgsm-form-enhanced .ghidgsm-cat-grid ~ .select2-container,
.ghidgsm-cat-row-hidden .select2-container,
.ghidgsm-cat-row-hidden > div > .select2-container {
    display: none !important;
}

.ghidgsm-cat-row-hidden .text-muted.d-block,
.ghidgsm-cat-row-hidden .text-muted,
.ghidgsm-cat-row-hidden .geodir-field-desc {
    display: none !important;
}

/* ── Enhanced Form: Category Card Selector ── */

.ghidgsm-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 4px;
}

.ghidgsm-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px 16px;
    background: var(--ghidgsm-white);
    border: 1.5px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius);
    cursor: pointer;
    transition: all 0.25s var(--ghidgsm-ease);
    user-select: none;
    text-align: center;
}

.ghidgsm-cat-card:hover {
    border-color: rgba(200, 152, 106, 0.5);
    background: rgba(200, 152, 106, 0.03);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 58, 75, 0.06);
}

.ghidgsm-cat-card.selected {
    border-color: var(--ghidgsm-accent);
    background: linear-gradient(135deg, rgba(200, 152, 106, 0.06), rgba(200, 152, 106, 0.02));
    box-shadow:
        0 0 0 3px rgba(200, 152, 106, 0.12),
        0 4px 16px rgba(200, 152, 106, 0.1);
}

.ghidgsm-cat-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ghidgsm-bg-light);
    border: 1px solid var(--ghidgsm-border);
    color: var(--ghidgsm-text-light);
    transition: all 0.25s var(--ghidgsm-ease);
}

.ghidgsm-cat-card-icon svg {
    width: 20px;
    height: 20px;
}

.ghidgsm-cat-card.selected .ghidgsm-cat-card-icon {
    background: linear-gradient(135deg, #D4A574, #C8986A);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px rgba(200, 152, 106, 0.35);
}

.ghidgsm-cat-card-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--ghidgsm-text-light);
    line-height: 1.3;
    transition: color 0.25s ease;
}

.ghidgsm-cat-card.selected .ghidgsm-cat-card-label {
    color: var(--ghidgsm-text-dark);
}

.ghidgsm-cat-card-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A574, #C8986A);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s var(--ghidgsm-ease-spring);
}

.ghidgsm-cat-card.selected .ghidgsm-cat-card-check {
    opacity: 1;
    transform: scale(1);
}

.ghidgsm-cat-card-check svg {
    width: 12px;
    height: 12px;
    color: #fff;
}

/* ── Enhanced Form: File Upload Dropzone ── */

.ghidgsm-form-enhanced .geodir-files-dropbox {
    border: 2px dashed var(--ghidgsm-border) !important;
    border-radius: var(--ghidgsm-radius) !important;
    background: var(--ghidgsm-bg-light) !important;
    transition: border-color 0.25s ease, background 0.25s ease;
    padding: 32px 24px !important;
    text-align: center;
}

.ghidgsm-form-enhanced .geodir-files-dropbox:hover {
    border-color: var(--ghidgsm-accent) !important;
    background: rgba(200, 152, 106, 0.04) !important;
}

/* ── Enhanced Form: Submit Area ── */

.ghidgsm-form-enhanced #geodir-add-listing-submit {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.ghidgsm-form-enhanced .geodir_button_submit,
.ghidgsm-form-enhanced .geodir-add-listing-submit,
.ghidgsm-form-enhanced button[type="submit"],
.ghidgsm-form-enhanced input[type="submit"] {
    width: 100%;
    justify-content: center;
    font-size: 17px;
    padding: 16px 40px;
    border-radius: var(--ghidgsm-radius);
    letter-spacing: 0.01em;
}

/* ── Enhanced Form: Submit Area Layout ── */

.ghidgsm-form-enhanced #geodir-add-listing-submit > .col-sm-10 {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px;
}

/* ── Enhanced Form: Preview Button ── */

.ghidgsm-form-enhanced .geodir_preview_button,
.ghidgsm-add-listing-form .geodir_preview_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: transparent !important;
    color: var(--ghidgsm-primary) !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px !important;
    border: 1.5px solid rgba(27, 58, 75, 0.25) !important;
    border-radius: var(--ghidgsm-radius) !important;
    cursor: pointer;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    transition: all 0.3s var(--ghidgsm-ease);
}


.ghidgsm-form-enhanced .geodir_preview_button:hover,
.ghidgsm-add-listing-form .geodir_preview_button:hover,
.ghidgsm-form-enhanced .bsui .geodir_preview_button.btn-outline-primary:hover,
.ghidgsm-add-listing-form .bsui .geodir_preview_button.btn-outline-primary:hover {
    color: #C8986A !important;
    background: rgba(200, 152, 106, 0.06) !important;
    border-color: #C8986A !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(200, 152, 106, 0.15);
}

.ghidgsm-form-enhanced .geodir_preview_button i,
.ghidgsm-add-listing-form .geodir_preview_button i {
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ghidgsm-form-enhanced .geodir_preview_button:hover i,
.ghidgsm-add-listing-form .geodir_preview_button:hover i {
    opacity: 1;
    transform: translateX(2px) translateY(-2px);
}

/* Hide the empty note span after preview button */
.ghidgsm-form-enhanced #geodir-add-listing-submit .geodir_message_note {
    display: none;
}

/* ── Enhanced Form: Map Section ── */

.ghidgsm-form-enhanced #geodir_address_map_row {
    border: none;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(27,58,75,0.03), rgba(200,152,106,0.04));
    border-radius: var(--ghidgsm-radius-lg);
    padding: 24px 24px 24px;
    position: relative;
}

/* Remove extra bottom spacing from map d-block wrapper */
.ghidgsm-form-enhanced #geodir_address_map_row > .mb-3.d-block {
    margin-bottom: 0 !important;
}

/* Button + hint row: center the button, hint below */
.ghidgsm-form-enhanced #geodir_address_map_row > .mb-3.row {
    margin-bottom: 16px !important;
}

.ghidgsm-form-enhanced #geodir_address_map_row > .mb-3.row > .col-sm-2 {
    display: none !important;
}

.ghidgsm-form-enhanced #geodir_address_map_row > .mb-3.row > .col-sm-10 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

/* "Set Address on Map" button — copper gradient, centered */
.ghidgsm-form-enhanced #address_set_address_button,
.ghidgsm-add-listing-form #address_set_address_button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #D4A574, #C8986A, #B5845A) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px !important;
    border: none !important;
    border-radius: var(--ghidgsm-radius-sm);
    cursor: pointer;
    letter-spacing: 0.01em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 16px rgba(200, 152, 106, 0.35);
    transition: transform 0.3s var(--ghidgsm-ease-spring), box-shadow 0.3s var(--ghidgsm-ease);
}

.ghidgsm-form-enhanced #address_set_address_button:hover,
.ghidgsm-add-listing-form #address_set_address_button:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 8px 28px rgba(200, 152, 106, 0.5);
}

/* Hint text below button */
.ghidgsm-form-enhanced #geodir_address_map_row > .mb-3.row .form-text {
    font-size: 13px;
    color: #7A8A96;
    max-width: 420px;
    line-height: 1.45;
}

/* Map container — framed with border + rounded corners */
.ghidgsm-form-enhanced #geodir_address_map_row .geodir-map-wrap {
    border-radius: var(--ghidgsm-radius);
    overflow: hidden;
    border: 1.5px solid var(--ghidgsm-border);
    box-shadow: 0 2px 8px rgba(27, 58, 75, 0.08);
}

.ghidgsm-form-enhanced #geodir_address_map_row .geodir_map_container {
    border-radius: 0 !important;
}

/* Leaflet zoom controls — styled to match design system */
.ghidgsm-form-enhanced #geodir_address_map_row .leaflet-control-zoom a {
    background: var(--ghidgsm-white) !important;
    color: var(--ghidgsm-navy) !important;
    border-color: var(--ghidgsm-border) !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 16px !important;
    transition: background 0.2s var(--ghidgsm-ease), box-shadow 0.2s var(--ghidgsm-ease);
}

.ghidgsm-form-enhanced #geodir_address_map_row .leaflet-control-zoom a:hover {
    background: #f5f0ea !important;
    box-shadow: 0 2px 8px rgba(27, 58, 75, 0.12);
}

.ghidgsm-form-enhanced #geodir_address_map_row .leaflet-control-zoom {
    border: 1.5px solid var(--ghidgsm-border) !important;
    border-radius: var(--ghidgsm-radius-sm) !important;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(27, 58, 75, 0.08);
}

/* Leaflet attribution — subtle */
.ghidgsm-form-enhanced #geodir_address_map_row .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.85) !important;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px 0 0 0;
}

@media (max-width: 767px) {
    .ghidgsm-form-enhanced #geodir_address_map_row {
        padding: 16px;
    }
}

/* ── Enhanced Form: Gallery Upload Drop Zone ── */

/* Reduce card bottom padding so drop zone sits flush */
.ghidgsm-form-section-card:has(#post_images_row) {
    padding-bottom: 0;
}

/* Kill all bottom spacing in the gallery row chain */
#post_images_row.mb-3 {
    margin-bottom: 0 !important;
}

.ghidgsm-form-section-card:has(#post_images_row) .w-100 {
    padding-right: 0 !important;
}

/* Drop zone — no border, tinted background inside the card */
.ghidgsm-form-enhanced .geodir-add-files.mb-3 {
    border: none !important;
    border-radius: var(--ghidgsm-radius) !important;
    margin-bottom: 0 !important;
    background:
        linear-gradient(135deg, rgba(27,58,75,0.025), rgba(200,152,106,0.035)) !important;
    transition: background 0.3s var(--ghidgsm-ease), box-shadow 0.3s var(--ghidgsm-ease);
    position: relative;
    overflow: hidden !important;
}

.ghidgsm-form-enhanced .geodir-add-files:hover {
    background:
        linear-gradient(135deg, rgba(27,58,75,0.04), rgba(200,152,106,0.06)) !important;
    box-shadow: inset 0 0 0 2px rgba(200, 152, 106, 0.25);
}

/* Drop zone inner padding */
.ghidgsm-form-enhanced .geodir-files-dropbox {
    padding: 40px 32px 32px !important;
}

/* Upload icon — injected via pseudo-element above title */
.ghidgsm-form-enhanced .geodir-dropbox-title::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%23C8986A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='17 8 12 3 7 8'/%3E%3Cline x1='12' y1='3' x2='12' y2='15'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 36px 36px;
    opacity: 0.6;
}

/* "Trage fișierele aici" title */
.ghidgsm-form-enhanced .geodir-dropbox-title {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: var(--ghidgsm-navy) !important;
    opacity: 0.65;
    margin-bottom: 6px !important;
    letter-spacing: -0.01em;
}

/* "SAU" separator — styled divider line */
.ghidgsm-form-enhanced .geodir-files-dropbox > .plupload-upload-uic > p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #B0B8C1 !important;
    margin-top: 4px !important;
    margin-bottom: 20px !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ghidgsm-form-enhanced .geodir-files-dropbox > .plupload-upload-uic > p::before,
.ghidgsm-form-enhanced .geodir-files-dropbox > .plupload-upload-uic > p::after {
    content: '';
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 152, 106, 0.3), transparent);
}

/* "Selectează Fișiere" button — copper style */
.ghidgsm-form-enhanced .geodir-files-dropbox .btn.btn-primary {
    background: linear-gradient(135deg, #D4A574, #C8986A, #B5845A) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 32px !important;
    border: none !important;
    border-radius: var(--ghidgsm-radius-sm);
    cursor: pointer;
    letter-spacing: 0.01em;
    margin-bottom: 0 !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 3px 12px rgba(200, 152, 106, 0.3);
    transition: transform 0.3s var(--ghidgsm-ease-spring), box-shadow 0.3s var(--ghidgsm-ease);
}

.ghidgsm-form-enhanced .geodir-files-dropbox .btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 6px 24px rgba(200, 152, 106, 0.45);
}

/* File types + limit hints — grouped together */
.ghidgsm-form-enhanced .geodir-dropbox-file-types {
    font-size: 11px !important;
    color: #B0B8C1 !important;
    margin-top: 20px !important;
    margin-bottom: 2px !important;
}

.ghidgsm-form-enhanced .geodir-dropbox-file-limit {
    font-size: 11px !important;
    color: #B0B8C1 !important;
    margin-top: 0 !important;
}

/* Hide English "Please drag & drop..." text */
.ghidgsm-form-enhanced .geodir-files-dropbox #upload-msg {
    display: none !important;
}

/* Uploaded thumbs grid spacing */
.ghidgsm-form-enhanced .plupload-thumbs {
    margin-top: 16px !important;
}

/* Hide redundant "Imagini" label */
.ghidgsm-form-enhanced #post_images_row > label {
    display: none !important;
}

.ghidgsm-form-enhanced #post_images_row > .col-sm-10 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Helper text above drop zone */
.ghidgsm-form-enhanced #post_images_row .form-text {
    font-size: 13px;
    color: #7A8A96;
    margin-bottom: 12px;
}

@media (max-width: 767px) {
    .ghidgsm-form-enhanced .geodir-files-dropbox {
        padding: 24px 16px 20px !important;
    }

    .ghidgsm-form-enhanced .geodir-dropbox-title {
        font-size: 16px !important;
    }
}

/* ── Enhanced Form: Country select (pre-selected) ── */

.ghidgsm-form-enhanced select[name="country"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 36px;
}

/* ── Login CTA (replaces GeoDirectory login message) ── */
.ghidgsm-login-cta {
    text-align: center;
    padding: 48px 32px;
}

.ghidgsm-login-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ghidgsm-primary) 0%, var(--ghidgsm-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 14px rgba(27, 58, 75, 0.2), 0 0 0 3px rgba(200, 152, 106, 0.15);
}

.ghidgsm-login-cta-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.ghidgsm-login-cta-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ghidgsm-text-dark);
    margin: 0 0 12px;
}

.ghidgsm-login-cta-desc {
    font-size: 15px;
    color: var(--ghidgsm-text-light);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 28px;
}

.ghidgsm-login-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.ghidgsm-login-cta-note {
    font-size: 13px;
    color: var(--ghidgsm-text-light);
    margin: 0;
}

.ghidgsm-login-cta .ghidgsm-cta-button-outline {
    color: var(--ghidgsm-primary) !important;
    border-color: var(--ghidgsm-border);
}

.ghidgsm-login-cta .ghidgsm-cta-button-outline:hover {
    background: var(--ghidgsm-bg-light);
    border-color: var(--ghidgsm-primary);
    color: var(--ghidgsm-primary) !important;
}

/* ─── Add Listing: Success Message ──────────────────────────────────── */
.ghidgsm-submit-success {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 520px;
    margin: 2rem auto;
}
.ghidgsm-submit-success svg {
    margin-bottom: 1rem;
}
.ghidgsm-submit-success strong {
    display: block;
    font-size: 1.25rem;
    color: var(--ghidgsm-primary, #1B3A4B);
    margin-bottom: 0.5rem;
}
.ghidgsm-submit-success p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
.ghidgsm-submit-success a {
    color: var(--ghidgsm-accent, #C8986A);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ghidgsm-submit-success a:hover {
    color: var(--ghidgsm-primary, #1B3A4B);
}
/* Hide GeoDirectory default alert wrapper when our custom message is inside */
.gd-notification.alert-info:has(.ghidgsm-submit-success) {
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   Authentication Pages — Login, Register & Lost Password
   ═══════════════════════════════════════════════════════════════════════ */

/* Form container */
.ghidgsm-auth-form-wrap {
    display: flex;
    justify-content: center;
}

/* Auth card */
.ghidgsm-auth-card {
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius-lg);
    padding: 48px 40px;
    box-shadow: var(--ghidgsm-shadow-card);
    max-width: 480px;
    width: 100%;
}

.ghidgsm-auth-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--ghidgsm-text-dark);
    margin: 0 0 8px;
    text-align: center;
}

.ghidgsm-auth-subtitle {
    font-size: 15px;
    color: var(--ghidgsm-text-light);
    margin: 0 0 28px;
    text-align: center;
    line-height: 1.5;
}

/* Error banner */
.ghidgsm-auth-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--ghidgsm-radius-sm);
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #991B1B;
    line-height: 1.5;
}

.ghidgsm-auth-error svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    stroke: #DC2626;
}

/* Field groups */
.ghidgsm-field-group {
    margin-bottom: 20px;
}

.ghidgsm-field-label {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--ghidgsm-text-dark);
    margin-bottom: 6px;
}

.ghidgsm-field-input,
#ghidgsm_user_login,
#ghidgsm_user_pass {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--ghidgsm-text-dark);
    background: var(--ghidgsm-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.ghidgsm-field-input:focus,
#ghidgsm_user_login:focus,
#ghidgsm_user_pass:focus {
    outline: none;
    border-color: var(--ghidgsm-accent);
    box-shadow: 0 0 0 3px rgba(200, 152, 106, 0.15);
}

.ghidgsm-field-input::placeholder {
    color: #B0ADA8;
}

/* Password wrap with toggle */
.ghidgsm-field-password-wrap {
    position: relative;
}

.ghidgsm-field-password-wrap .ghidgsm-field-input {
    padding-right: 48px;
}

.ghidgsm-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--ghidgsm-text-light);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.ghidgsm-toggle-password:hover {
    color: var(--ghidgsm-text-dark);
}

.ghidgsm-toggle-password svg {
    width: 20px;
    height: 20px;
}

.ghidgsm-field-hint {
    display: block;
    font-size: 12px;
    color: var(--ghidgsm-text-light);
    margin-top: 6px;
}

/* Submit button — copper gradient */
.ghidgsm-auth-submit,
#ghidgsm_wp-submit {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--ghidgsm-accent) 0%, var(--ghidgsm-accent-dark) 100%);
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: var(--ghidgsm-radius-sm);
    cursor: pointer;
    text-align: center;
    transition: var(--ghidgsm-transition);
}

.ghidgsm-auth-submit {
    text-decoration: none;
    margin-top: 8px;
}

.ghidgsm-auth-submit:hover,
#ghidgsm_wp-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--ghidgsm-shadow-md);
    filter: brightness(1.05);
}

/* Footer links */
.ghidgsm-auth-footer-links {
    text-align: center;
    margin-top: 16px;
}

.ghidgsm-auth-forgot {
    font-size: 14px;
    color: var(--ghidgsm-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ghidgsm-auth-forgot:hover {
    color: var(--ghidgsm-accent-dark);
    text-decoration: underline;
}

/* Divider */
.ghidgsm-auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--ghidgsm-text-light);
    font-size: 13px;
}

.ghidgsm-auth-divider::before,
.ghidgsm-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ghidgsm-border);
}

/* Switch link */
.ghidgsm-auth-switch {
    text-align: center;
    font-size: 14px;
    color: var(--ghidgsm-text-light);
}

.ghidgsm-auth-link {
    color: var(--ghidgsm-accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ghidgsm-auth-link:hover {
    color: var(--ghidgsm-accent-dark);
    text-decoration: underline;
}

/* Success card (lost password confirmation) */
.ghidgsm-auth-success-card {
    text-align: center;
}

.ghidgsm-auth-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(200, 152, 106, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: heroFadeIn 0.6s var(--ghidgsm-ease-out) both;
}

.ghidgsm-auth-success-icon svg {
    width: 32px;
    height: 32px;
    color: var(--ghidgsm-accent);
}

.ghidgsm-auth-success-card .ghidgsm-auth-subtitle {
    margin-bottom: 32px;
}

/* ── wp_login_form() overrides (target by custom IDs) ── */

.ghidgsm-auth-card .login-username,
.ghidgsm-auth-card .login-password {
    margin-bottom: 20px;
}

.ghidgsm-auth-card .login-username label,
.ghidgsm-auth-card .login-password label {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--ghidgsm-text-dark);
    margin-bottom: 6px;
}

/* Password field in wp_login_form gets wrapped by JS */
.ghidgsm-auth-card .login-password .ghidgsm-field-password-wrap #ghidgsm_user_pass {
    padding-right: 48px;
}

/* Remember me checkbox row */
.ghidgsm-auth-card .forgetmenot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.ghidgsm-auth-card .forgetmenot label {
    font-size: 14px;
    color: var(--ghidgsm-text-light);
    cursor: pointer;
}

.ghidgsm-auth-card .forgetmenot input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--ghidgsm-accent);
    cursor: pointer;
}

/* Hide wp_login_form submit wrapper p tag default margin */
.ghidgsm-auth-card .login-submit {
    margin: 0;
}

/* ── Responsive — Auth pages ── */
@media (max-width: 768px) {
    .ghidgsm-auth-card {
        padding: 36px 28px;
    }

    .ghidgsm-auth-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .ghidgsm-auth-card {
        padding: 28px 20px;
    }

    .ghidgsm-auth-title {
        font-size: 22px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   "Service-urile Mele" Dashboard
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Stats Bar ── */
.ghidgsm-my-services-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 24px 32px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(27, 58, 75, 0.08);
    box-shadow: 0 2px 12px rgba(27, 58, 75, 0.06);
}

.ghidgsm-my-services-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 80px;
}

.ghidgsm-my-services-stat-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #1B3A4B;
    line-height: 1.2;
}

.ghidgsm-my-services-stat-num--active {
    color: #16a34a;
}

.ghidgsm-my-services-stat-num--draft {
    color: #6B7280;
}

.ghidgsm-my-services-stat-num--pending {
    color: #d97706;
}

.ghidgsm-my-services-stat-label {
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Services Grid ── */
.ghidgsm-my-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── Service Card ── */
.ghidgsm-my-service-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(27, 58, 75, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 12px rgba(27, 58, 75, 0.06);
}

.ghidgsm-my-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(27, 58, 75, 0.12);
}

/* Thumbnail */
.ghidgsm-my-service-thumb {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #f0ece7;
}

.ghidgsm-my-service-thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0ece7 0%, #e8e2da 100%);
}

.ghidgsm-my-service-thumb--empty svg {
    width: 36px;
    height: 36px;
    color: #C8986A;
    opacity: 0.5;
}

/* Body */
.ghidgsm-my-service-body {
    padding: 20px;
}

.ghidgsm-my-service-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1B3A4B;
    margin: 8px 0 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ghidgsm-my-service-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 8px;
}

.ghidgsm-my-service-location svg {
    flex-shrink: 0;
}

.ghidgsm-my-service-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #C8986A;
    background: rgba(200, 152, 106, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ghidgsm-my-service-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #1B3A4B;
    margin-bottom: 12px;
}

.ghidgsm-my-service-rating svg {
    flex-shrink: 0;
}

.ghidgsm-my-service-rating-count {
    font-weight: 400;
    color: #9CA3AF;
    font-size: 12px;
}

/* ── Status Badges ── */
.ghidgsm-service-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ghidgsm-service-status--active {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
}

.ghidgsm-service-status--draft {
    color: #6B7280;
    background: rgba(107, 114, 128, 0.1);
}

.ghidgsm-service-status--pending {
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
}

/* ── Action Buttons ── */
.ghidgsm-service-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(27, 58, 75, 0.06);
}

.ghidgsm-service-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ghidgsm-service-action--view {
    color: #1B3A4B;
    background: rgba(27, 58, 75, 0.06);
}

.ghidgsm-service-action--view:hover {
    background: rgba(27, 58, 75, 0.12);
    color: #1B3A4B;
}

.ghidgsm-service-action--edit {
    color: #C8986A;
    background: rgba(200, 152, 106, 0.1);
}

.ghidgsm-service-action--edit:hover {
    background: rgba(200, 152, 106, 0.2);
    color: #C8986A;
}

/* ── Empty State ── */
.ghidgsm-my-services-empty {
    text-align: center;
    padding: 64px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(27, 58, 75, 0.08);
    box-shadow: 0 2px 12px rgba(27, 58, 75, 0.06);
}

.ghidgsm-my-services-empty-icon {
    margin-bottom: 24px;
}

.ghidgsm-my-services-empty-icon svg {
    width: 80px;
    height: 80px;
}

.ghidgsm-my-services-empty-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1B3A4B;
    margin: 0 0 8px;
}

.ghidgsm-my-services-empty-text {
    color: #6B7280;
    font-size: 16px;
    margin: 0 0 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Pagination ── */
.ghidgsm-my-services-pagination {
    margin-top: 40px;
    text-align: center;
}

.ghidgsm-my-services-pagination ul {
    display: flex;
    justify-content: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ghidgsm-my-services-pagination li a,
.ghidgsm-my-services-pagination li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #1B3A4B;
    background: #fff;
    border: 1px solid rgba(27, 58, 75, 0.1);
    transition: all 0.2s ease;
}

.ghidgsm-my-services-pagination li a:hover {
    background: rgba(200, 152, 106, 0.1);
    border-color: #C8986A;
    color: #C8986A;
}

.ghidgsm-my-services-pagination li span.current {
    background: #1B3A4B;
    color: #fff;
    border-color: #1B3A4B;
}

/* ── Responsive — Dashboard ── */
@media (max-width: 1024px) {
    .ghidgsm-my-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ghidgsm-my-services-grid {
        grid-template-columns: 1fr;
    }

    .ghidgsm-my-services-stats {
        gap: 16px;
        padding: 20px;
    }

    .ghidgsm-my-services-stat-num {
        font-size: 24px;
    }

    .ghidgsm-my-service-thumb {
        height: 120px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Scroll-triggered Reveal (JS adds .ghidgsm-visible)
   ═══════════════════════════════════════════════════════════════════════ */
.ghidgsm-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ghidgsm-ease-out), transform 0.7s var(--ghidgsm-ease-out);
}

.ghidgsm-reveal.ghidgsm-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children when parent is revealed */
.ghidgsm-reveal-stagger > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ghidgsm-ease-out), transform 0.5s var(--ghidgsm-ease-out);
}

.ghidgsm-reveal-stagger.ghidgsm-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.ghidgsm-reveal-stagger.ghidgsm-visible > *:nth-child(1) { transition-delay: 0s; }
.ghidgsm-reveal-stagger.ghidgsm-visible > *:nth-child(2) { transition-delay: 0.08s; }
.ghidgsm-reveal-stagger.ghidgsm-visible > *:nth-child(3) { transition-delay: 0.16s; }
.ghidgsm-reveal-stagger.ghidgsm-visible > *:nth-child(4) { transition-delay: 0.24s; }
.ghidgsm-reveal-stagger.ghidgsm-visible > *:nth-child(5) { transition-delay: 0.32s; }
.ghidgsm-reveal-stagger.ghidgsm-visible > *:nth-child(6) { transition-delay: 0.4s; }
.ghidgsm-reveal-stagger.ghidgsm-visible > *:nth-child(7) { transition-delay: 0.48s; }
.ghidgsm-reveal-stagger.ghidgsm-visible > *:nth-child(8) { transition-delay: 0.56s; }
.ghidgsm-reveal-stagger.ghidgsm-visible > *:nth-child(9) { transition-delay: 0.64s; }
.ghidgsm-reveal-stagger.ghidgsm-visible > *:nth-child(10) { transition-delay: 0.72s; }

/* ═══════════════════════════════════════════════════════════════════════
   Reduced Motion — respect user accessibility preference
   ═══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ghidgsm-reveal-stagger > * {
        opacity: 1;
        transform: none;
    }

    .ghidgsm-hero-video {
        display: none;
    }

    /* CTA orb drift and pulse overrides */
    .kb-row-layout-id-cta-section::after,
    .kb-row-layout-id-cta-section .kt-row-column-wrap::before {
        animation: none !important;
    }

    .ghidgsm-cta-pulse::after {
        animation: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Mobile Header — compact logo + hamburger layout
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Reduce header height from 80px to 56px */
    .site-mobile-header-wrap .site-main-header-inner-wrap {
        min-height: 56px !important;
        grid-template-rows: 56px !important;
    }

    /* Add horizontal padding so logo/hamburger aren't at screen edges */
    .site-mobile-header-wrap .site-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Vertically center logo and hamburger */
    .site-mobile-header-wrap .site-header-section {
        align-items: center !important;
    }

    /* Slightly smaller logo on mobile */
    .site-mobile-header-wrap .site-title {
        font-size: 22px !important;
    }

    .site-mobile-header-wrap .ghidgsm-logo-svg {
        height: 28px;
        width: 133px;
    }

    /* Larger tap target for hamburger */
    .site-mobile-header-wrap .menu-toggle-open {
        padding: 8px 10px !important;
    }
}

@media (max-width: 480px) {
    /* Even more compact on small phones */
    .site-mobile-header-wrap .site-main-header-inner-wrap {
        min-height: 50px !important;
        grid-template-rows: 50px !important;
    }

    .site-mobile-header-wrap .site-title {
        font-size: 20px !important;
    }

    .site-mobile-header-wrap .ghidgsm-logo-svg {
        height: 24px;
        width: 114px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Mobile Menu Drawer — Full-screen premium overlay
   ═══════════════════════════════════════════════════════════════════════ */

/* Drawer container — full viewport overlay */
#mobile-drawer.popup-drawer {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh;
    height: 100dvh;
    max-width: 100vw !important;
    background: #1B3A4B !important;
    background: radial-gradient(ellipse at 70% 20%, rgba(200,152,106,0.08) 0%, transparent 50%),
                #1B3A4B !important;
    z-index: 999 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

#mobile-drawer.popup-drawer.active {
    opacity: 1;
}

/* Hide default Kadence overlay backdrop */
#mobile-drawer .drawer-overlay {
    display: none !important;
}

/* Drawer inner — full height flex column */
#mobile-drawer .drawer-inner {
    background: transparent !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}

/* Subtle dot-grid decoration */
#mobile-drawer .drawer-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

/* Drawer header — brand + close button */
#mobile-drawer .drawer-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    min-height: 56px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(200,152,106,0.15);
    position: relative;
    z-index: 1;
}

/* Close button */
#mobile-drawer .drawer-header .drawer-toggle {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.3s ease;
    padding: 0 !important;
    cursor: pointer;
    order: 2;
}

#mobile-drawer .drawer-header .drawer-toggle:hover {
    background: rgba(255,255,255,0.1) !important;
    transform: rotate(90deg);
}

#mobile-drawer .drawer-header .drawer-toggle svg {
    width: 22px;
    height: 22px;
}

/* Drawer content — vertically centered nav */
#mobile-drawer .drawer-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 24px;
    position: relative;
    z-index: 1;
}

/* Nav list reset */
#mobile-drawer .drawer-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

/* Nav items — borders + stagger animation */
#mobile-drawer .drawer-navigation li {
    border-bottom: 1px solid rgba(200,152,106,0.15);
    position: relative;
}

#mobile-drawer .drawer-navigation li:first-child {
    border-top: 1px solid rgba(200,152,106,0.15);
}

@keyframes ghidgsm-drawer-item-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobile-drawer.active .drawer-navigation li {
    animation: ghidgsm-drawer-item-in 0.35s ease forwards;
}

#mobile-drawer.active .drawer-navigation li:nth-child(1) { animation-delay: 0.08s; opacity: 0; }
#mobile-drawer.active .drawer-navigation li:nth-child(2) { animation-delay: 0.14s; opacity: 0; }
#mobile-drawer.active .drawer-navigation li:nth-child(3) { animation-delay: 0.20s; opacity: 0; }
#mobile-drawer.active .drawer-navigation li:nth-child(4) { animation-delay: 0.26s; opacity: 0; }
#mobile-drawer.active .drawer-navigation li:nth-child(5) { animation-delay: 0.32s; opacity: 0; }
#mobile-drawer.active .drawer-navigation li:nth-child(6) { animation-delay: 0.38s; opacity: 0; }
#mobile-drawer.active .drawer-navigation li:nth-child(7) { animation-delay: 0.44s; opacity: 0; }
#mobile-drawer.active .drawer-navigation li:nth-child(8) { animation-delay: 0.50s; opacity: 0; }

/* Nav links */
#mobile-drawer .drawer-navigation a {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 26px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
    display: block;
    padding: 16px 8px 16px 16px !important;
    transition: color 0.2s ease, transform 0.2s ease, padding-left 0.2s ease;
}

#mobile-drawer .drawer-navigation a:hover,
#mobile-drawer .drawer-navigation a:focus {
    color: #C8986A !important;
    padding-left: 24px !important;
}

/* Active nav item — copper color + left accent bar */
#mobile-drawer .drawer-navigation .current-menu-item a {
    color: #C8986A !important;
}

#mobile-drawer .drawer-navigation .current-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 28px;
    background: #C8986A;
    border-radius: 0 2px 2px 0;
}

/* Dropdown toggles — hide or style minimally */
#mobile-drawer .drawer-navigation .drawer-sub-toggle,
#mobile-drawer .drawer-navigation .dropdown-nav-toggle {
    color: rgba(255,255,255,0.5) !important;
}

/* Brand name in drawer header */
.ghidgsm-drawer-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    letter-spacing: -0.02em;
    order: 1;
}

/* CTA button at bottom */
.ghidgsm-drawer-cta {
    padding: 24px 0 8px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ghidgsm-drawer-cta a {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    background: linear-gradient(135deg, #D4A574, #C8986A, #B5845A) !important;
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(200,152,106,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.ghidgsm-drawer-cta a:hover {
    background: linear-gradient(135deg, #DEBA8A, #D4A574, #C8986A) !important;
    box-shadow: 0 6px 24px rgba(200,152,106,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

/* CTA stagger animation */
#mobile-drawer.active .ghidgsm-drawer-cta {
    animation: ghidgsm-drawer-item-in 0.35s ease forwards;
    animation-delay: 0.56s;
    opacity: 0;
}

/* Body scroll lock when drawer is open */
body.showing-popup-drawer-from-full {
    overflow: hidden !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    /* Hero — tablet spacing */
    .kb-row-layout-id-hero-section {
        padding-top: 120px !important;
        padding-bottom: 64px !important;
    }

    .ghidgsm-search-card {
        margin-top: 24px;
    }

    .ghidgsm-trust-badges {
        margin-top: 16px;
    }

    .ghidgsm-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 20px;
    }

    .ghidgsm-city-featured {
        grid-column: 1 / -1;
        grid-row: span 1;
    }

    .ghidgsm-city-info {
        padding: 12px 14px;
    }

    .ghidgsm-city-featured .ghidgsm-city-info {
        padding: 18px 20px;
    }

    .ghidgsm-steps-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        max-width: 400px;
    }

    .ghidgsm-step-connector {
        display: none;
    }

    /* About/Contact — tablet responsive */
    .ghidgsm-about-mission {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ghidgsm-about-mission-visual {
        order: -1;
    }

    .ghidgsm-about-mission-visual svg,
    .ghidgsm-phone-svg {
        max-width: 200px;
    }

    .ghidgsm-phone-svg {
        transform: none;
    }

    .ghidgsm-phone-scene:hover .ghidgsm-phone-svg {
        transform: none;
    }

    .ghidgsm-phone-float {
        display: none;
    }

    .ghidgsm-about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .ghidgsm-about-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .ghidgsm-contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .ghidgsm-benefits-grid {
        gap: 20px;
    }

    /* Footer — 2x2 grid on tablet */
    .site-footer .site-top-footer-inner-wrap {
        grid-template-columns: 1.2fr 1fr !important;
        gap: 40px 32px !important;
    }
}

/* Tablet-small / Large mobile */
@media (max-width: 768px) {
    /* Hero — compact mobile layout (header is 56px on ≤768px) */
    .kb-row-layout-id-hero-section {
        padding-top: 72px !important;
        padding-bottom: 36px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .kb-row-layout-id-hero-section .kt-inside-inner-col {
        max-width: 100%;
    }

    .ghidgsm-search-card {
        margin-top: 20px;
        margin-left: 0;
        margin-right: 0;
    }

    .ghidgsm-search-card .geodir-search.row {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    /* Override Bootstrap col-auto on all GD search fields — full width when stacked */
    .ghidgsm-search-card .geodir-search.row > div.col-auto {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .ghidgsm-search-card .geodir-search.row > div:last-child > div {
        width: 100% !important;
    }

    .ghidgsm-search-card .form-control {
        min-height: 50px;
        padding: 14px 14px 14px 44px !important;
        font-size: 16px !important;
    }

    .ghidgsm-search-card .input-group-text {
        width: 44px;
    }

    .ghidgsm-search-card .geodir_submit_search {
        width: 100% !important;
        min-height: 50px;
        padding: 14px 24px !important;
    }

    .ghidgsm-trust-badges {
        margin-top: 14px;
        gap: 4px 18px;
    }

    .ghidgsm-trust-badge {
        font-size: 13px;
    }

    .ghidgsm-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 180px;
        gap: 16px;
    }

    .ghidgsm-city-featured {
        grid-column: auto;
        grid-row: auto;
    }

    .ghidgsm-city-featured::after {
        display: none;
    }

    .ghidgsm-city-info {
        padding: 12px 14px;
    }

    .ghidgsm-city-card .ghidgsm-city-count {
        opacity: 1;
        transform: translateY(0);
    }

    /* Categories — smaller grid cells on tablet-small */
    .gd-cptcat-row .row {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
        gap: 16px;
    }

    .gd-cptcat-parent .gd-cptcat-cat-left {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 12px !important;
    }

    .gd-cptcat-parent .gd-cptcat-icon {
        font-size: 20px !important;
    }

    .gd-cptcat-parent .card-body {
        padding: 22px 16px !important;
    }

    .gd-cptcat-parent .gd-cptcat-cat-right a {
        font-size: 15px !important;
    }

    /* CTA — pills stack vertically on tablet */
    .ghidgsm-cta-benefits {
        flex-direction: column;
        align-items: center;
    }

    .ghidgsm-cta-pill {
        max-width: 320px;
        width: 100%;
    }

    .ghidgsm-cta-button {
        padding: 16px 32px;
    }

    /* About/Contact — mobile responsive */
    .ghidgsm-about-values {
        grid-template-columns: 1fr;
    }

    .ghidgsm-contact-cards {
        grid-template-columns: 1fr;
    }

    .ghidgsm-dual-cta {
        flex-direction: column;
        align-items: center;
    }

    .ghidgsm-dual-cta .ghidgsm-cta-button,
    .ghidgsm-dual-cta .ghidgsm-cta-button-outline {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .ghidgsm-faq-question {
        font-size: 15px;
        padding: 16px 20px;
    }

    .ghidgsm-faq-answer {
        padding: 0 20px 16px;
        font-size: 14px;
    }

    /* Adaugă Service — benefits grid single column */
    .ghidgsm-benefits-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .ghidgsm-stats-row {
        gap: 32px;
    }

    .ghidgsm-stats-number {
        font-size: 40px;
    }

    .ghidgsm-form-section-card,
    .ghidgsm-form-submit-card {
        padding: 24px 20px;
    }

    .ghidgsm-form-section-header {
        margin: -24px -20px 20px -20px;
        padding: 14px 16px;
    }

    .ghidgsm-form-section-header:first-of-type {
        margin-top: -24px;
    }

    .ghidgsm-form-progress {
        position: static;
    }

    .ghidgsm-progress-label {
        display: none;
    }

    .ghidgsm-form-section-title {
        font-size: 16px;
    }

    .ghidgsm-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Footer — single-column stack with dividers */
    .site-footer .site-top-footer-inner-wrap {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 20px;
    }

    .site-footer .site-top-footer-wrap {
        padding: 48px 0 40px !important;
    }

    .site-footer .site-top-footer-inner-wrap > .site-footer-section {
        padding: 32px 0 !important;
        border-bottom: 1px solid rgba(168, 181, 196, 0.08);
    }

    .site-footer .site-top-footer-inner-wrap > .site-footer-section:first-child {
        padding-top: 0 !important;
    }

    .site-footer .site-top-footer-inner-wrap > .site-footer-section:last-child {
        border-bottom: none;
        padding-bottom: 0 !important;
    }

    .site-footer .footer-widget-area .widget-title,
    .site-footer .footer-widget-area h2 {
        margin-bottom: 18px;
        padding-bottom: 10px;
    }

    .ghidgsm-footer-brand {
        text-align: center;
    }

    .ghidgsm-footer-brand p {
        max-width: 100%;
        margin: 0 auto;
    }

    .ghidgsm-footer-links li {
        margin-bottom: 12px;
    }

    .ghidgsm-footer-cities {
        grid-template-columns: 1fr 1fr;
        gap: 10px 20px;
    }

    .ghidgsm-footer-anpc {
        flex-direction: column;
        gap: 10px;
        padding-bottom: 16px;
        margin-bottom: 12px;
    }

    .ghidgsm-footer-anpc img {
        width: 200px;
    }

    .ghidgsm-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 0 20px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .kb-row-layout-id-hero-section {
        padding-top: 62px !important;
        padding-bottom: 28px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .kb-row-layout-id-hero-section h1 {
        font-size: 26px !important;
        line-height: 1.15 !important;
        margin-bottom: 10px !important;
    }

    .kb-row-layout-id-hero-section h1 + .wp-block-kadence-advancedheading + p,
    .kb-row-layout-id-hero-section h1 + p {
        font-size: 14px !important;
    }

    .ghidgsm-search-card {
        margin-top: 16px;
    }

    .ghidgsm-search-card .form-control {
        min-height: 46px;
        padding: 11px 11px 11px 40px !important;
        font-size: 16px !important;
    }

    .ghidgsm-search-card .input-group-text {
        width: 40px;
        font-size: 13px;
    }

    .ghidgsm-search-card .geodir_submit_search {
        min-height: 46px;
        font-size: 15px !important;
        padding: 11px 20px !important;
    }

    .ghidgsm-trust-badges {
        margin-top: 12px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 16px;
    }

    .ghidgsm-trust-badge {
        font-size: 12px;
    }

    /* Categories — single column, compact horizontal cards */
    .gd-cptcat-row .row {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .gd-cptcat-parent .card {
        overflow: visible;
    }

    .gd-cptcat-parent .card .card-body.p-1 {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Horizontal layout: icon + name in one row */
    .gd-cptcat-parent .gd-cptcat-cat-right {
        display: flex !important;
        align-items: center !important;
        gap: 12px;
        text-align: left;
        flex: 1;
    }

    .gd-cptcat-parent .gd-cptcat-cat-right a {
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px;
        font-size: 15px !important;
        text-align: left;
        flex: 1;
        margin-bottom: 0 !important;
    }

    .gd-cptcat-parent .gd-cptcat-cat-left {
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
    }

    .gd-cptcat-parent .gd-cptcat-icon::before {
        font-size: 17px !important;
    }

    /* Count badge — inline to the right, not below */
    .gd-cptcat-parent .gd-cptcat-count {
        margin: 0 !important;
        font-size: 11px !important;
        padding: 3px 10px !important;
        flex-shrink: 0;
    }

    .geodir-category-list {
        grid-template-columns: 1fr;
    }

    .ghidgsm-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 170px;
        gap: 12px;
    }

    .ghidgsm-city-info {
        padding: 10px 12px;
    }

    .ghidgsm-city-info::after {
        display: none;
    }

    .ghidgsm-city-card .ghidgsm-city-count {
        opacity: 1;
        transform: translateY(0);
        top: 8px;
        right: 10px;
        padding: 3px 9px;
        font-size: 10px;
    }

    .ghidgsm-city-name {
        font-size: 18px;
    }

    /* CTA — compact mobile pills */
    .ghidgsm-cta-pill {
        max-width: 280px;
        padding: 12px 16px;
    }

    .ghidgsm-cta-button {
        padding: 15px 28px;
        font-size: 16px;
    }

    /* About/Contact — small mobile */
    .ghidgsm-stat-number {
        font-size: 32px;
    }

    .ghidgsm-stat-card {
        padding: 24px 16px;
    }

    .ghidgsm-value-card {
        padding: 24px 20px;
    }

    .ghidgsm-contact-card {
        padding: 32px 20px;
    }

    .ghidgsm-faq-question {
        font-size: 14px;
        padding: 14px 16px;
    }

    .ghidgsm-faq-answer {
        padding: 0 16px 14px;
    }

    .ghidgsm-cta-button-outline {
        padding: 15px 28px;
        font-size: 16px;
    }

    /* Adaugă Service — compact mobile */
    .ghidgsm-stats-row {
        flex-direction: column;
        gap: 24px;
    }

    .ghidgsm-stats-number {
        font-size: 36px;
    }

    .ghidgsm-benefit-card {
        padding: 28px 20px;
    }

    .ghidgsm-form-section-card,
    .ghidgsm-form-submit-card {
        padding: 20px 16px;
        border-radius: var(--ghidgsm-radius);
    }

    .ghidgsm-form-section-header {
        gap: 10px;
        padding: 12px 14px;
        margin: -20px -16px 16px -16px;
        border-radius: var(--ghidgsm-radius) var(--ghidgsm-radius) 0 0;
    }

    .ghidgsm-form-section-header:first-of-type {
        margin-top: -20px;
    }

    .ghidgsm-form-section-num {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .ghidgsm-cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .ghidgsm-cat-card {
        padding: 14px 8px 12px;
        gap: 8px;
    }

    .ghidgsm-cat-card-icon {
        width: 36px;
        height: 36px;
    }

    .ghidgsm-cat-card-icon svg {
        width: 16px;
        height: 16px;
    }

    .ghidgsm-cat-card-label {
        font-size: 12px;
    }

    .ghidgsm-form-section-icon svg {
        width: 18px;
        height: 18px;
    }

    .ghidgsm-form-section-title {
        font-size: 14px;
    }

    .ghidgsm-form-progress {
        display: none;
    }

    .ghidgsm-form-enhanced .geodir_button_submit,
    .ghidgsm-form-enhanced .geodir-add-listing-submit,
    .ghidgsm-form-enhanced button[type="submit"],
    .ghidgsm-form-enhanced input[type="submit"] {
        font-size: 16px;
        padding: 15px 28px;
    }

    .ghidgsm-form-enhanced .geodir_preview_button,
    .ghidgsm-add-listing-form .geodir_preview_button {
        font-size: 14px;
        padding: 12px 20px !important;
    }

    /* Footer — tighter spacing + larger touch targets */
    .site-footer .site-top-footer-wrap {
        padding: 36px 0 28px !important;
    }

    .site-footer .site-top-footer-inner-wrap {
        padding: 0 16px;
    }

    .site-footer .site-top-footer-inner-wrap > .site-footer-section {
        padding: 28px 0 !important;
    }

    .ghidgsm-footer-brand .ghidgsm-footer-logo .ghidgsm-logo-svg {
        height: 20px;
    }

    .ghidgsm-footer-links a {
        font-size: 13px;
        padding: 3px 0;
    }

    .ghidgsm-footer-links li {
        margin-bottom: 8px;
    }

    .ghidgsm-footer-categories {
        margin-top: 16px;
        padding-top: 12px;
    }

    .ghidgsm-footer-cities {
        gap: 8px 16px;
    }

    .ghidgsm-footer-cities a {
        font-size: 13px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   AJAX Search — Loading, Clear Button & No-Results
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Loading state ── */
.page-id-12 .geodir-listings.ghidgsm-loading {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

/* ── Inline input clear (×) icon ── */
button.ghidgsm-input-clear,
button.ghidgsm-input-clear:focus,
button.ghidgsm-input-clear:focus-visible,
button.ghidgsm-input-clear:active {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: rgba(255,255,255,0.4) !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s var(--ghidgsm-ease);
    z-index: 2;
    padding: 0;
}
button.ghidgsm-input-clear:hover {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--ghidgsm-accent) !important;
}

/* ── "Șterge căutarea" text link (inside category pills row) ── */
.ghidgsm-clear-search-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 500;
    font-family: inherit;
    color: rgba(255,255,255,0.45);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.ghidgsm-clear-search-link span {
    font-size: 15px;
    line-height: 1;
}
.ghidgsm-clear-search-link:hover {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}
.ghidgsm-clear-search-link:focus {
    outline: none;
    color: rgba(255,255,255,0.85);
}

/* ── No results state — premium empty state ── */

@keyframes ghidgsm-fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes ghidgsm-float-subtle {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

.ghidgsm-no-results {
    text-align: center;
    padding: 56px 24px 120px;
    max-width: 520px;
    margin: 0 auto;
}

/* Illustration */
.ghidgsm-no-results-illustration {
    margin-bottom: 24px;
    animation: ghidgsm-fadeInUp 0.5s var(--ghidgsm-ease-out) both;
}

.ghidgsm-no-results-illustration svg {
    width: 120px;
    height: 120px;
    animation: ghidgsm-float-subtle 4s ease-in-out infinite;
}

/* Content wrapper (title + description) */
.ghidgsm-no-results-content {
    margin-bottom: 40px;
    animation: ghidgsm-fadeInUp 0.5s var(--ghidgsm-ease-out) 0.05s both;
}

.ghidgsm-no-results-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ghidgsm-text-dark);
    margin: 0 0 8px;
    line-height: 1.3;
}

.ghidgsm-no-results-desc {
    font-size: 15px;
    color: var(--ghidgsm-text-light);
    line-height: 1.6;
    margin: 0;
}

/* Reset link (inline in description) — scoped to beat .bsui a */
.ghidgsm-no-results a.ghidgsm-no-results-reset-link,
.ghidgsm-no-results-reset-link {
    color: var(--ghidgsm-accent-dark, #b5855e);
    text-decoration: none;
    border-bottom: 1px solid rgba(200, 152, 106, 0.3);
    font-weight: 500;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.ghidgsm-no-results a.ghidgsm-no-results-reset-link:hover,
.ghidgsm-no-results-reset-link:hover {
    color: var(--ghidgsm-accent);
    border-bottom-color: var(--ghidgsm-accent);
}

/* Nav block (city pills + divider + category pills) */
.ghidgsm-no-results-nav {
    animation: ghidgsm-fadeInUp 0.5s var(--ghidgsm-ease-out) 0.12s both;
}

.ghidgsm-no-results-nav-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.ghidgsm-no-results-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.ghidgsm-no-results-divider::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--ghidgsm-border);
}

/* Pill links — .ghidgsm-no-results scope beats .bsui a from GeoDirectory */
.ghidgsm-no-results a.ghidgsm-pill,
.ghidgsm-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(200, 152, 106, 0.04);
    border: 1px solid rgba(200, 152, 106, 0.22);
    border-radius: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--ghidgsm-text-dark);
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    cursor: pointer;
}

.ghidgsm-no-results a.ghidgsm-pill:hover,
.ghidgsm-pill:hover {
    background: rgba(200, 152, 106, 0.1);
    border-color: rgba(200, 152, 106, 0.4);
    color: var(--ghidgsm-text-dark);
    box-shadow: 0 1px 4px rgba(200, 152, 106, 0.1);
}

/* Category pills — slightly warmer default */
.ghidgsm-no-results a.ghidgsm-pill--category,
.ghidgsm-pill--category {
    border-color: rgba(200, 152, 106, 0.28);
}

.ghidgsm-no-results a.ghidgsm-pill--category:hover,
.ghidgsm-pill--category:hover {
    background: rgba(200, 152, 106, 0.12);
    border-color: rgba(200, 152, 106, 0.45);
}

/* Responsive */
@media (max-width: 640px) {
    .ghidgsm-no-results {
        padding: 40px 16px 56px;
    }

    .ghidgsm-no-results-illustration svg {
        width: 88px;
        height: 88px;
    }

    .ghidgsm-no-results-title {
        font-size: 19px;
    }

    .ghidgsm-no-results-desc {
        font-size: 14px;
    }

    .ghidgsm-no-results-content {
        margin-bottom: 28px;
    }

    .ghidgsm-no-results-divider {
        margin: 14px 0;
    }

    .ghidgsm-pill {
        padding: 7px 14px;
        font-size: 12px;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ghidgsm-no-results-illustration svg {
        animation: none;
    }

    .ghidgsm-no-results-illustration,
    .ghidgsm-no-results-content,
    .ghidgsm-no-results-nav {
        animation: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Blog Archive Page — Premium Magazine Layout
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Blog Archive Hero — Dark Navy (same pattern as service-uri) ── */
.ghidgsm-blog-page .entry-hero.post-archive-hero-section {
    background:
        radial-gradient(ellipse 50% 70% at 85% 15%, rgba(200,152,106,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 55% 80% at 10% 90%, rgba(91,155,213,0.08) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(27,58,75,0.4) 0%, transparent 70%),
        linear-gradient(160deg, #1B3A4B 0%, #0E2738 35%, #091E2C 70%, #0A1C28 100%) !important;
    padding: 120px 0 64px !important;
    min-height: 550px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ghidgsm-blog-page .entry-hero-container-inner {
    background: transparent !important;
    background-color: transparent !important;
    width: 100%;
    position: relative;
}

/* Override Kadence hero overlay */
.ghidgsm-blog-page .entry-hero .hero-section-overlay {
    background: transparent !important;
}

/* Geometric grid + noise grain */
.ghidgsm-blog-page .entry-hero.post-archive-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(200,152,106,0.06) 79px, rgba(200,152,106,0.06) 80px),
        repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(200,152,106,0.06) 79px, rgba(200,152,106,0.06) 80px),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 80px 80px, 80px 80px, 200px 200px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

/* Copper hairline at bottom */
.ghidgsm-blog-page .entry-hero.post-archive-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(200,152,106,0.25) 50%, transparent 100%);
    z-index: 2;
}

/* Copper glow orbs */
.ghidgsm-blog-page .entry-hero-container-inner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(200,152,106,0.12) 0%, rgba(200,152,106,0.05) 35%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(30px);
}

.ghidgsm-blog-page .entry-hero-container-inner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(91,155,213,0.07) 0%, rgba(27,58,75,0.03) 35%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.ghidgsm-blog-page .entry-hero .entry-header {
    text-align: center;
    position: relative;
    z-index: 1;
}

.ghidgsm-blog-page .entry-hero .entry-header::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(200,152,106,0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
    filter: blur(20px);
}

/* Hero title */
.ghidgsm-blog-page .entry-hero .page-title {
    color: #ffffff !important;
    font-size: clamp(34px, 4.5vw, 52px) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 1;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.ghidgsm-blog-page .entry-hero .page-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, #D4A574, #C8986A, #D4A574);
    border-radius: 2px;
    margin: 20px auto 0;
}

/* ── Blog hero injected elements ── */
.ghidgsm-blog-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    font-weight: 400;
    margin-top: 18px;
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
}

.ghidgsm-blog-count {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    width: fit-content !important;
    margin: 24px auto 0 !important;
    padding: 6px 18px !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--ghidgsm-accent);
    background: rgba(200,152,106,0.08);
    border: 1px solid rgba(200,152,106,0.18);
    border-radius: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    z-index: 1;
}

.ghidgsm-blog-count::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ghidgsm-accent);
    animation: ghidgsm-pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

.ghidgsm-blog-breadcrumb {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.ghidgsm-blog-breadcrumb a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ghidgsm-blog-breadcrumb a:hover {
    color: var(--ghidgsm-accent);
}

/* ── Category filter pills ── */
.ghidgsm-blog-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
    padding-left: 16px;
    padding-right: 16px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.ghidgsm-blog-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.25s var(--ghidgsm-ease);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ghidgsm-blog-cat-pill:hover {
    color: #fff;
    background: rgba(200,152,106,0.15);
    border-color: rgba(200,152,106,0.35);
}

.ghidgsm-blog-cat-pill--active {
    color: #fff;
    background: rgba(200,152,106,0.2);
    border-color: rgba(200,152,106,0.4);
}

/* ── Featured Post Card ── */
.ghidgsm-featured-post {
    max-width: 1200px;
    margin: 40px auto 32px;
    padding: 0;
}

.ghidgsm-featured-post-inner {
    display: flex;
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--ghidgsm-shadow-card), inset 0 0 0 1px rgba(200,152,106,0.06);
    transition: transform 0.35s var(--ghidgsm-ease-out), box-shadow 0.35s var(--ghidgsm-ease);
}

.ghidgsm-featured-post-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 4px rgba(27,58,75,0.04), 0 8px 24px rgba(27,58,75,0.1), 0 0 0 1px rgba(200,152,106,0.15);
}

.ghidgsm-featured-post-image {
    position: relative;
    width: 50%;
    min-height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.ghidgsm-featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ghidgsm-ease-out);
}

.ghidgsm-featured-post-inner:hover .ghidgsm-featured-post-image img {
    transform: scale(1.05);
}

.ghidgsm-featured-post-content {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ghidgsm-featured-post-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--ghidgsm-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0 0 12px;
}

.ghidgsm-featured-post-excerpt {
    font-size: 15px;
    color: var(--ghidgsm-text-light);
    line-height: 1.6;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ghidgsm-featured-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ghidgsm-text-light);
    padding-left: 12px;
    border-left: 2px solid var(--ghidgsm-accent);
}

.ghidgsm-featured-post-sep {
    color: var(--ghidgsm-border);
}

.ghidgsm-featured-post-title {
    background-image: linear-gradient(var(--ghidgsm-accent), var(--ghidgsm-accent));
    background-size: 0% 2px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}

.ghidgsm-featured-post-inner:hover .ghidgsm-featured-post-title {
    background-size: 100% 2px;
}

/* ── Blog/category archive: reduce Kadence default content-area spacing ── */
.ghidgsm-blog-page .content-area {
    margin-top: 0 !important;
    padding-top: 40px;
    margin-bottom: 0 !important;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #EDE8E0 0%, #FAF8F5 120px);
}

/* ── Blog archive page background ── */
.ghidgsm-blog-page .entry-content,
.ghidgsm-blog-page .site-main {
    background: transparent;
}

/* ── Blog card grid (Kadence default posts) ── */
.ghidgsm-blog-page .entry-content .loop-entry,
.ghidgsm-blog-page article.post {
    background: var(--ghidgsm-white);
    border: 1px solid rgba(230,223,211,0.6);
    border-radius: var(--ghidgsm-radius);
    overflow: hidden;
    box-shadow: var(--ghidgsm-shadow-card);
    transition: transform 0.35s var(--ghidgsm-ease-out), box-shadow 0.35s var(--ghidgsm-ease), border-color 0.3s var(--ghidgsm-ease);
}

.ghidgsm-blog-page .entry-content .loop-entry:hover,
.ghidgsm-blog-page article.post:hover {
    transform: translateY(-3px);
    box-shadow: var(--ghidgsm-shadow-card-hover);
    border-color: rgba(200,152,106,0.3);
}

/* Card featured image */
.ghidgsm-blog-page article.post .post-thumbnail,
.ghidgsm-blog-page article.post .entry-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.ghidgsm-blog-page article.post .post-thumbnail::after,
.ghidgsm-blog-page article.post .entry-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.04) 100%);
    pointer-events: none;
    z-index: 1;
}

.ghidgsm-blog-page article.post .post-thumbnail img,
.ghidgsm-blog-page article.post .entry-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ghidgsm-ease-out);
}

.ghidgsm-blog-page article.post:hover .post-thumbnail img,
.ghidgsm-blog-page article.post:hover .entry-thumbnail img {
    transform: scale(1.05);
}

/* Card body */
.ghidgsm-blog-page article.post .entry-content-wrap,
.ghidgsm-blog-page article.post .entry-summary {
    padding: 20px 24px 20px;
}

/* Card title */
.ghidgsm-blog-page article.post .entry-title {
    font-size: 20px !important;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ghidgsm-primary);
    letter-spacing: -0.015em;
    line-height: 1.35;
    margin-bottom: 8px;
}

.ghidgsm-blog-page article.post .entry-title a {
    color: var(--ghidgsm-primary);
    text-decoration: none;
    background-image: linear-gradient(var(--ghidgsm-accent), var(--ghidgsm-accent));
    background-size: 0% 2px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease, color 0.3s ease;
}

.ghidgsm-blog-page article.post:hover .entry-title a {
    background-size: 100% 2px;
}

.ghidgsm-blog-page article.post .entry-title a:hover {
    color: var(--ghidgsm-accent);
}

/* Card excerpt */
.ghidgsm-blog-page article.post .entry-summary p,
.ghidgsm-blog-page article.post .entry-content p {
    font-size: 15px;
    color: var(--ghidgsm-text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hide original Kadence meta & "Read More" on cards (replaced by custom footer) */
.ghidgsm-blog-page article.post .entry-meta,
.ghidgsm-blog-page article.post .more-link-wrap,
.ghidgsm-category-page article.post .entry-meta,
.ghidgsm-category-page article.post .more-link-wrap {
    display: none !important;
}

/* ── Card footer meta row ── */
.ghidgsm-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid rgba(230,223,211,0.5);
    font-size: 13px;
    color: var(--ghidgsm-text-light);
}

.ghidgsm-card-reading-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.ghidgsm-card-time-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    opacity: 0.5;
    background: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    flex-shrink: 0;
}

.ghidgsm-card-meta-dot {
    color: var(--ghidgsm-border);
    font-weight: 700;
}

.ghidgsm-card-cat-pill {
    display: inline-block;
    background: rgba(200,152,106,0.08);
    color: var(--ghidgsm-accent);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ghidgsm-card-meta-arrow {
    margin-left: auto;
    display: flex;
    align-items: center;
    color: var(--ghidgsm-text-light);
    opacity: 0.4;
    transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease;
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    flex-shrink: 0;
}

.ghidgsm-blog-page article.post:hover .ghidgsm-card-meta-arrow,
.ghidgsm-category-page article.post:hover .ghidgsm-card-meta-arrow {
    transform: translateX(4px);
    opacity: 1;
    color: var(--ghidgsm-accent);
}

/* Card animation on scroll */
.ghidgsm-blog-card-reveal {
    opacity: 0;
    animation: ghidgsm-fadeInUp 0.45s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* ── Blog pagination ── */
.ghidgsm-blog-page .navigation.pagination {
    margin: 48px 0 24px;
    text-align: center;
}

.ghidgsm-blog-page .nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.ghidgsm-blog-page .nav-links .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--ghidgsm-border);
    background: var(--ghidgsm-white);
    color: var(--ghidgsm-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ghidgsm-blog-page .nav-links .page-numbers:hover {
    background: var(--ghidgsm-primary);
    color: #fff;
    border-color: var(--ghidgsm-primary);
}

.ghidgsm-blog-page .nav-links .page-numbers.current {
    background: var(--ghidgsm-primary);
    color: #fff;
    border-color: var(--ghidgsm-primary);
}

.ghidgsm-blog-page .nav-links .page-numbers.dots {
    border: none;
    background: transparent;
    pointer-events: none;
}

/* ── Blog Archive Responsive ── */
@media (max-width: 1024px) {
    .ghidgsm-blog-page .entry-hero.post-archive-hero-section {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .ghidgsm-blog-page .entry-hero.post-archive-hero-section {
        min-height: 350px;
    }
}

@media (max-width: 640px) {
    .ghidgsm-blog-page .entry-hero.post-archive-hero-section {
        padding: 96px 0 32px !important;
        min-height: 300px;
    }

    .ghidgsm-blog-page .entry-hero .page-title {
        font-size: clamp(24px, 6vw, 32px) !important;
        letter-spacing: 0.05em !important;
    }

    .ghidgsm-blog-subtitle {
        font-size: 13.5px;
    }

    .ghidgsm-blog-page .entry-hero .entry-header::before {
        width: 240px;
        height: 140px;
    }

    .ghidgsm-blog-categories {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ghidgsm-blog-categories::-webkit-scrollbar {
        display: none;
    }

    .ghidgsm-blog-page .content-area {
        background: linear-gradient(180deg, #EDE8E0 0%, #FAF8F5 80px);
    }

    .ghidgsm-featured-post {
        padding: 0 16px;
        margin: 24px auto;
    }

    .ghidgsm-featured-post-inner {
        flex-direction: column;
    }

    .ghidgsm-featured-post-image {
        width: 100%;
        min-height: 200px;
    }

    .ghidgsm-featured-post-content {
        padding: 20px;
    }

    .ghidgsm-featured-post-title {
        font-size: 20px;
    }

    .ghidgsm-card-footer {
        flex-wrap: wrap;
        gap: 6px;
    }

    .ghidgsm-card-meta-arrow {
        margin-left: auto;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Single Post — Premium Article Template
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Freshness Date Badge ── */
.ghidgsm-freshness-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--ghidgsm-accent, #C8986A);
    margin-bottom: 1.5rem;
    padding: 6px 14px;
    background: rgba(200, 152, 106, 0.08);
    border: 1px solid rgba(200, 152, 106, 0.2);
    border-radius: 6px;
    font-weight: 500;
}
.ghidgsm-freshness-date svg {
    flex-shrink: 0;
}

/* ── Reading Progress Bar ── */
.ghidgsm-reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--ghidgsm-accent), #E8C49A);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9999;
    transition: transform 0.1s linear;
    pointer-events: none;
}

/* ── Hide Kadence Default Meta & Taxonomies ── */
.ghidgsm-single-post .entry-header .entry-meta,
.ghidgsm-single-post .entry-header .entry-taxonomies {
    display: none !important;
}

/* ── Post Header: Category Badge ── */
.ghidgsm-post-category-badge {
    display: inline-block;
    background: rgba(200,152,106,0.1);
    color: var(--ghidgsm-accent-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 4px;
    border: 1px solid rgba(200,152,106,0.15);
    text-decoration: none;
    margin-bottom: 12px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.ghidgsm-post-category-badge:hover {
    background: rgba(200,152,106,0.2);
    border-color: rgba(200,152,106,0.3);
    color: var(--ghidgsm-accent-dark);
}

/* ── Post Header: Title ── */
.ghidgsm-single-post .entry-title {
    font-size: clamp(28px, 4vw, 42px) !important;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ghidgsm-primary);
    letter-spacing: -0.025em;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
}

/* ── Post Header: Meta Line ── */
.ghidgsm-post-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ghidgsm-text-light);
    margin-top: 20px;
    margin-bottom: 36px;
    padding-left: 16px;
    border-left: 3px solid rgba(200,152,106,0.3);
    flex-wrap: wrap;
}

/* ── Article Typography ── */
.ghidgsm-single-post .entry-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    position: relative;
}

.ghidgsm-single-post .entry-content::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C8986A, #E8C49A);
    border-radius: 2px;
    margin-bottom: 2em;
}

@media (min-width: 1100px) {
    .ghidgsm-single-post .content-container.site-container {
        max-width: 1200px !important;
    }

    .ghidgsm-single-post .entry-header {
        max-width: 760px;
        margin-left: auto;
        margin-right: 60px;
    }

    .ghidgsm-single-post .entry-content {
        margin-left: auto;
        margin-right: 60px;
    }
}

.ghidgsm-single-post .entry-content p {
    margin-bottom: 1.5em;
}

/* Lead paragraph replaces drop cap */
.ghidgsm-single-post .entry-content > p:first-of-type {
    font-size: 1.2em;
    line-height: 1.7;
    color: var(--ghidgsm-text-dark);
    font-weight: 500;
}

.ghidgsm-single-post .entry-content h2 {
    font-size: clamp(24px, 3vw, 28px);
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ghidgsm-primary);
    margin-top: 3.5rem;
    margin-bottom: 0.75em;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 12px;
}

.ghidgsm-single-post .entry-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #C8986A, #E8C49A);
    border-radius: 2px;
}

.ghidgsm-single-post .entry-content h3 {
    font-size: 22px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ghidgsm-text-dark);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.ghidgsm-single-post .entry-content a {
    color: var(--ghidgsm-accent-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(200,152,106,0.4);
    transition: text-decoration-color 0.25s ease;
}

.ghidgsm-single-post .entry-content a:hover {
    text-decoration-color: var(--ghidgsm-accent);
}

/* Blockquotes */
.ghidgsm-single-post .entry-content blockquote {
    border-left: 4px solid var(--ghidgsm-accent);
    background: var(--ghidgsm-bg-light);
    padding: 28px 32px 28px 40px;
    margin: 1.5em 0;
    border-radius: 0 var(--ghidgsm-radius-sm) var(--ghidgsm-radius-sm) 0;
    font-style: italic;
    color: var(--ghidgsm-text-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
}

.ghidgsm-single-post .entry-content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 64px;
    font-family: Georgia, serif;
    color: rgba(200,152,106,0.2);
    line-height: 1;
    pointer-events: none;
}

.ghidgsm-single-post .entry-content blockquote p {
    margin-bottom: 0;
    position: relative;
}

/* Lists */
.ghidgsm-single-post .entry-content ul,
.ghidgsm-single-post .entry-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.ghidgsm-single-post .entry-content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.ghidgsm-single-post .entry-content ul li::marker {
    color: var(--ghidgsm-accent);
}

.ghidgsm-single-post .entry-content ol li::marker {
    color: var(--ghidgsm-accent);
    font-weight: 700;
}

/* Images */
.ghidgsm-single-post .entry-content img {
    border-radius: 12px;
    box-shadow: var(--ghidgsm-shadow-md);
}

/* Featured image */
.ghidgsm-single-post .post-thumbnail,
.ghidgsm-single-post .entry-thumbnail {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
    overflow: hidden;
    border-radius: 16px;
    box-shadow:
        0 4px 16px rgba(0,0,0,0.08),
        0 8px 32px rgba(0,0,0,0.06),
        0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    transition: box-shadow 0.5s ease;
}

.ghidgsm-single-post .post-thumbnail::after,
.ghidgsm-single-post .entry-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.12), transparent);
    pointer-events: none;
    border-radius: 0 0 16px 16px;
    z-index: 1;
}

.ghidgsm-single-post .post-thumbnail::before,
.ghidgsm-single-post .entry-thumbnail::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #C8986A, #E8C49A);
    border-radius: 2px;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.ghidgsm-single-post .post-thumbnail:hover::before,
.ghidgsm-single-post .entry-thumbnail:hover::before {
    transform: scaleX(1);
}

.ghidgsm-single-post .post-thumbnail:hover,
.ghidgsm-single-post .entry-thumbnail:hover {
    box-shadow:
        0 8px 24px rgba(0,0,0,0.1),
        0 16px 48px rgba(0,0,0,0.08),
        0 2px 6px rgba(0,0,0,0.12);
}

.ghidgsm-single-post .post-thumbnail img,
.ghidgsm-single-post .entry-thumbnail img {
    border-radius: 16px;
    width: 100%;
    height: auto;
    transition: transform 0.6s ease-out;
    display: block;
}

.ghidgsm-single-post .post-thumbnail:hover img,
.ghidgsm-single-post .entry-thumbnail:hover img {
    transform: scale(1.03);
}

/* Hide Kadence built-in related posts (we have custom "Articole similare") */
.ghidgsm-single-post .entry-related {
    display: none !important;
}

/* ── Table of Contents ── */
.ghidgsm-toc {
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-left: 3px solid var(--ghidgsm-accent);
    border-radius: var(--ghidgsm-radius);
    padding: 20px 24px;
    margin-bottom: 2em;
}

.ghidgsm-toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ghidgsm-toc-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ghidgsm-primary);
}

.ghidgsm-toc-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ghidgsm-text-light);
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ghidgsm-toc-toggle:hover {
    color: var(--ghidgsm-accent);
}

.ghidgsm-toc-toggle[aria-expanded="false"] svg {
    transform: rotate(-90deg);
}

.ghidgsm-toc-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    counter-reset: toc-counter;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 600px;
    overflow: hidden;
}

.ghidgsm-toc-list.ghidgsm-toc-collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.ghidgsm-toc-item {
    counter-increment: toc-counter;
    padding: 0;
    margin: 0;
    border-left: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.ghidgsm-toc-item a {
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    color: var(--ghidgsm-text-light);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    line-height: 1.4;
}

.ghidgsm-toc-item a:hover {
    color: var(--ghidgsm-accent);
}

.ghidgsm-toc-item a::before {
    counter-increment: none;
    content: counter(toc-counter) '. ';
    color: var(--ghidgsm-accent);
    font-weight: 600;
}

.ghidgsm-toc-sub a {
    padding-left: 28px;
    font-size: 13px;
}

/* Active section highlight */
.ghidgsm-toc-active {
    border-left-color: var(--ghidgsm-accent);
}

.ghidgsm-toc-active a {
    color: var(--ghidgsm-primary);
    font-weight: 600;
}

/* Desktop: sticky sidebar TOC */
@media (min-width: 1100px) {
    .ghidgsm-toc {
        position: sticky;
        top: 100px;
        float: left;
        width: 260px;
        margin-left: -320px;
        margin-bottom: 2em;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
    }

    .ghidgsm-toc-toggle {
        display: none;
    }
}

/* ── Social Sharing ── */
.ghidgsm-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    margin-top: 48px;
    border-top: 1px solid var(--ghidgsm-border);
    border-bottom: 1px solid var(--ghidgsm-border);
}

.ghidgsm-share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ghidgsm-text-dark);
    white-space: nowrap;
}

.ghidgsm-share-buttons {
    display: flex;
    gap: 8px;
}

.ghidgsm-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--ghidgsm-border);
    background: var(--ghidgsm-white);
    color: var(--ghidgsm-text-light);
    text-decoration: none !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.25s var(--ghidgsm-ease);
}

.ghidgsm-share-btn:hover {
    border-color: var(--ghidgsm-accent);
    background: var(--ghidgsm-white);
    color: var(--ghidgsm-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200,152,106,0.15);
}

.ghidgsm-share-whatsapp:hover {
    border-color: #128C7E;
    color: #128C7E !important;
    box-shadow: 0 4px 12px rgba(18,140,126,0.15);
}

.ghidgsm-share-facebook:hover {
    border-color: #1877F2;
    color: #1877F2 !important;
    box-shadow: 0 4px 12px rgba(24,119,242,0.15);
}

.ghidgsm-share-linkedin:hover {
    border-color: #0A66C2;
    color: #0A66C2 !important;
    box-shadow: 0 4px 12px rgba(10,102,194,0.15);
}

.ghidgsm-share-btn:focus {
    outline: none;
}

.ghidgsm-share-btn:focus-visible {
    outline: 2px solid var(--ghidgsm-accent);
    outline-offset: 2px;
}

.ghidgsm-share-copy {
    color: var(--ghidgsm-accent-dark) !important;
}

.ghidgsm-share-btn svg {
    flex-shrink: 0;
}

.ghidgsm-share-copied {
    border-color: var(--ghidgsm-success) !important;
    color: var(--ghidgsm-success) !important;
    box-shadow: 0 4px 12px rgba(45,139,90,0.15) !important;
}

/* ── Related Posts ── */
.ghidgsm-related-posts {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--ghidgsm-border);
}

.ghidgsm-related-title {
    font-size: 22px;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ghidgsm-primary);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.ghidgsm-related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #C8986A, #E8C49A);
    border-radius: 2px;
}

.ghidgsm-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ghidgsm-related-card {
    background: var(--ghidgsm-white);
    border: 1px solid var(--ghidgsm-border);
    border-radius: var(--ghidgsm-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--ghidgsm-shadow-sm);
    transition: transform 0.35s var(--ghidgsm-ease-out), box-shadow 0.35s var(--ghidgsm-ease), border-color 0.3s var(--ghidgsm-ease);
}

.ghidgsm-related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ghidgsm-shadow-md);
    border-color: rgba(200,152,106,0.3);
}

.ghidgsm-related-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.ghidgsm-related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ghidgsm-ease-out);
}

.ghidgsm-related-card:hover .ghidgsm-related-card-image img {
    transform: scale(1.05);
}

.ghidgsm-related-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    background: rgba(200,152,106,0.9);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 4px;
}

.ghidgsm-related-card-body {
    padding: 16px 20px 20px;
}

.ghidgsm-related-card-title {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ghidgsm-primary);
    line-height: 1.35;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ghidgsm-related-card-excerpt {
    font-size: 14px;
    color: var(--ghidgsm-text-light);
    line-height: 1.5;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ghidgsm-related-card-meta {
    font-size: 12px;
    color: var(--ghidgsm-text-light);
}

/* ── Single Post Responsive ── */
@media (max-width: 1024px) {
    .ghidgsm-toc {
        float: none;
        width: 100%;
        margin-left: 0;
        position: static;
    }
}

@media (max-width: 768px) {
    .ghidgsm-single-post .entry-content {
        font-size: 17px;
    }

    .ghidgsm-single-post .entry-content > p:first-of-type {
        font-size: 1.15em;
    }

    .ghidgsm-single-post .entry-content h2 {
        font-size: 24px;
    }

    .ghidgsm-single-post .entry-content h3 {
        font-size: 20px;
    }

    .ghidgsm-single-post .entry-title {
        font-size: clamp(24px, 5vw, 32px) !important;
    }

    .ghidgsm-single-post .post-thumbnail::before,
    .ghidgsm-single-post .entry-thumbnail::before {
        display: none;
    }

    .ghidgsm-single-post .post-thumbnail::after,
    .ghidgsm-single-post .entry-thumbnail::after {
        height: 30%;
    }

    .ghidgsm-single-post .entry-content blockquote::before {
        font-size: 48px;
        top: -4px;
        left: 12px;
    }

    .ghidgsm-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ghidgsm-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .ghidgsm-related-grid {
        grid-template-columns: 1fr;
    }

    .ghidgsm-post-meta-line {
        font-size: 13px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   User Account Menu (Desktop Header)
   ═══════════════════════════════════════════════════════════════════════ */

/* Container for the user menu item */
.ghidgsm-user-menu {
    position: relative;
}

/* Trigger: avatar + name */
.ghidgsm-user-trigger {
    display: flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none !important;
}

.ghidgsm-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(200, 152, 106, 0.4);
    transition: border-color 0.2s ease;
}

.ghidgsm-user-menu:hover .ghidgsm-user-avatar {
    border-color: var(--ghidgsm-accent);
}

.ghidgsm-user-name {
    font-size: 14px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Dropdown — hidden by default, shown on hover/focus-within */
.ghidgsm-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: var(--ghidgsm-white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(27, 58, 75, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 200;
}

/* Caret triangle */
.ghidgsm-user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: var(--ghidgsm-white);
    transform: rotate(45deg);
    border-radius: 2px 0 0 0;
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.04);
}

/* Show dropdown on hover / focus-within */
.ghidgsm-user-menu:hover .ghidgsm-user-dropdown,
.ghidgsm-user-menu:focus-within .ghidgsm-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown links */
.ghidgsm-user-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    color: var(--ghidgsm-primary) !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}

.ghidgsm-user-dropdown a:hover {
    background: #f5f0eb;
    color: var(--ghidgsm-accent-dark) !important;
}

/* Divider */
.ghidgsm-user-dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 4px 12px;
}

/* ── Transparent header: white avatar border + white text ── */
#masthead.ghidgsm-transparent-header:not(.header-scrolled) .ghidgsm-user-avatar {
    border-color: rgba(255, 255, 255, 0.3);
}

#masthead.ghidgsm-transparent-header:not(.header-scrolled) .ghidgsm-user-name {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ── Scrolled transparent header ── */
#masthead.ghidgsm-transparent-header.header-scrolled .ghidgsm-user-name {
    color: rgba(255, 255, 255, 0.9) !important;
}

#masthead.ghidgsm-transparent-header.header-scrolled .ghidgsm-user-avatar {
    border-color: rgba(200, 152, 106, 0.4);
}

/* ── Sticky header (non-homepage dark) ── */
#masthead.ghidgsm-sticky-header .ghidgsm-user-name {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Hide user menu & auth button on mobile (drawer handles it) */
@media (max-width: 1024px) {
    .ghidgsm-user-menu,
    .ghidgsm-auth-btn {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Mobile Drawer: User Section
   ═══════════════════════════════════════════════════════════════════════ */

.ghidgsm-drawer-user {
    padding: 16px 16px 0;
    border-top: 1px solid rgba(200, 152, 106, 0.15);
    position: relative;
    z-index: 1;
}

.ghidgsm-drawer-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
}

.ghidgsm-drawer-user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(200, 152, 106, 0.4);
}

.ghidgsm-drawer-user-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.ghidgsm-drawer-user-links {
    display: flex;
    gap: 16px;
    padding-bottom: 4px;
}

.ghidgsm-drawer-user-links a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ghidgsm-drawer-user-links a:hover {
    color: var(--ghidgsm-accent) !important;
}

/* Login link in drawer (logged-out state) */
.ghidgsm-drawer-login-link {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    padding-bottom: 8px;
    transition: color 0.2s ease;
}

.ghidgsm-drawer-login-link:hover {
    color: var(--ghidgsm-accent) !important;
}

/* Stagger animation for user section */
#mobile-drawer.active .ghidgsm-drawer-user {
    animation: ghidgsm-drawer-item-in 0.35s ease forwards;
    animation-delay: 0.50s;
    opacity: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   Top Map Strip — Service-uri Page
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Vertical stack wrapper ── */
.ghidgsm-topmap-wrapper {
    width: 100%;
}

/* ── Collapsible map strip ── */
.ghidgsm-topmap-strip {
    position: relative;
    z-index: 1;
    height: 300px;
    overflow: hidden;
    transition: height 0.35s ease-out;
    box-shadow: 0 2px 12px rgba(27, 58, 75, 0.12);
}

.ghidgsm-topmap-strip--collapsed {
    height: 0;
    box-shadow: none;
}

.ghidgsm-topmap-strip--no-transition {
    transition: none;
}

#ghidgsm-leaflet-map {
    width: 100%;
    height: 300px;
    border-radius: 0;
}

/* ── Scroll-zoom hint overlay ── */
.ghidgsm-map-scroll-overlay {
    position: absolute;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ghidgsm-map-scroll-overlay--flash {
    opacity: 1;
}

.ghidgsm-map-scroll-overlay--hidden {
    opacity: 0 !important;
}

.ghidgsm-map-scroll-overlay__text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(15, 43, 60, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(200, 152, 106, 0.25);
    border-radius: 24px;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.ghidgsm-map-scroll-overlay__text svg {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .ghidgsm-map-scroll-overlay__text {
        font-size: 11px;
        padding: 8px 14px;
        gap: 4px;
    }

    .ghidgsm-map-scroll-overlay__text svg {
        width: 14px;
        height: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ghidgsm-map-scroll-overlay {
        transition: none;
    }
}

/* ── Toggle button (sibling of strip, inside wrapper) ── */
.ghidgsm-topmap-toggle {
    position: relative;
    z-index: 1;
    display: flex;
    margin: -24px auto 12px;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #fff;
    color: var(--ghidgsm-primary);
    border: 1px solid var(--ghidgsm-border);
    border-radius: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: background 0.2s, box-shadow 0.2s;
}

.ghidgsm-topmap-toggle:hover,
.ghidgsm-topmap-toggle:focus {
    background: var(--ghidgsm-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(27, 58, 75, 0.25);
    outline: none;
}

/* When map is collapsed, button sits flush at top */
.ghidgsm-topmap-strip--collapsed ~ .ghidgsm-topmap-toggle {
    margin-top: 12px;
}

/* ── Listings area (full-width) ── */
.ghidgsm-topmap-listings {
    width: 100%;
    padding: 0 24px;
}

.ghidgsm-topmap-listings .geodir-listings {
    max-width: 1200px;
    margin: 0 auto;
}

.ghidgsm-topmap-listings .geodir_locations .geodir-category-list-view {
    grid-template-columns: 1fr !important;
}

/* ── Cluster icons ── */
.ghidgsm-cluster-icon {
    background: transparent !important;
}

.ghidgsm-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(27, 58, 75, 0.25);
}

.ghidgsm-cluster--small {
    width: 36px;
    height: 36px;
    font-size: 12px;
    background: var(--ghidgsm-primary);
}

.ghidgsm-cluster--medium {
    width: 44px;
    height: 44px;
    font-size: 13px;
    background: linear-gradient(135deg, var(--ghidgsm-primary), var(--ghidgsm-accent-dark));
}

.ghidgsm-cluster--large {
    width: 52px;
    height: 52px;
    font-size: 14px;
    background: linear-gradient(135deg, var(--ghidgsm-accent-dark), var(--ghidgsm-accent));
}

/* ── Map popup ── */
.ghidgsm-map-popup-wrapper .leaflet-popup-content-wrapper {
    border-radius: var(--ghidgsm-radius) !important;
    box-shadow: var(--ghidgsm-shadow-md) !important;
    padding: 0 !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.ghidgsm-map-popup-wrapper .leaflet-popup-content {
    margin: 0 !important;
    line-height: 1.4;
}

.ghidgsm-map-popup-wrapper .leaflet-popup-tip {
    box-shadow: none;
}

.ghidgsm-map-popup {
    padding: 14px 16px;
}

.ghidgsm-map-popup strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--ghidgsm-text-dark);
    margin-bottom: 4px;
}

.ghidgsm-map-popup-city {
    display: block;
    font-size: 12px;
    color: var(--ghidgsm-text-light);
    margin-bottom: 8px;
}

.ghidgsm-map-popup-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ghidgsm-accent) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ghidgsm-map-popup-link:hover {
    color: var(--ghidgsm-accent-dark) !important;
}

/* ── Card highlight on marker click ── */
@keyframes ghidgsm-card-glow {
    0%   { box-shadow: var(--ghidgsm-shadow-card), 0 0 0 0 rgba(200, 152, 106, 0.4); }
    50%  { box-shadow: var(--ghidgsm-shadow-card-hover), 0 0 0 4px rgba(200, 152, 106, 0.2); }
    100% { box-shadow: var(--ghidgsm-shadow-card); }
}

.ghidgsm-card-highlight {
    animation: ghidgsm-card-glow 2s ease !important;
}

/* ── Spotlight marker pulse ring ── */
@keyframes ghidgsm-spotlight-pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.4); opacity: 0.15; }
}

.ghidgsm-spotlight-ring {
    animation: ghidgsm-spotlight-pulse 1.5s ease-in-out infinite;
    transform-origin: center;
}

/* ── Responsive: top map strip ── */
@media (max-width: 1024px) {
    .ghidgsm-topmap-strip {
        height: 250px;
    }

    #ghidgsm-leaflet-map {
        height: 250px;
    }

    .ghidgsm-topmap-toggle {
        padding: 6px 12px;
        font-size: 12px;
    }

    .ghidgsm-topmap-listings {
        padding: 0 16px;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .ghidgsm-topmap-strip {
        transition: none;
    }

    .ghidgsm-reading-progress {
        transition: none;
    }

    .ghidgsm-blog-card-reveal {
        animation: none;
        opacity: 1;
    }

    .ghidgsm-card-highlight {
        animation: none !important;
        box-shadow: var(--ghidgsm-shadow-card-hover), 0 0 0 3px rgba(200, 152, 106, 0.3) !important;
    }

    .ghidgsm-spotlight-ring {
        animation: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Claim Listing — Buttons, Badge, Modal, Banners, Card Pills
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Claim Button (hero actions row) ── */
.ghidgsm-detail-btn-claim {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ghidgsm-detail-btn-claim:hover {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.ghidgsm-detail-btn-claim-pending {
    background: rgba(200,152,106,0.15);
    color: var(--ghidgsm-accent);
    border-color: rgba(200,152,106,0.3);
    cursor: default;
}

.ghidgsm-detail-btn-claim-pending:hover {
    transform: none;
    box-shadow: none;
}

.ghidgsm-detail-btn-claim-disabled {
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.4);
    border-color: rgba(255,255,255,0.08);
    cursor: not-allowed;
}

.ghidgsm-detail-btn-claim-disabled:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.4);
}

.ghidgsm-detail-btn-claim-loading {
    opacity: 0.7;
    cursor: wait;
}

.ghidgsm-detail-btn-claim-loading:hover {
    transform: none;
}

/* ── Edit Button (for owners) ── */
.ghidgsm-detail-btn-edit {
    background: var(--ghidgsm-primary);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
}

.ghidgsm-detail-btn-edit:hover {
    background: var(--ghidgsm-primary-dark);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(27,58,75,0.4);
}

/* ── Verified Badge (detail page hero) ── */
.ghidgsm-detail-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(45,139,90,0.15);
    color: #4ADE80;
    border: 1px solid rgba(45,139,90,0.3);
    border-radius: var(--ghidgsm-radius-sm);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
}

/* ── Contact Fallback Link ── */
.ghidgsm-detail-claim-contact {
    display: inline-flex;
    align-items: center;
    padding: 10px 0;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ghidgsm-detail-claim-contact:hover {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}

/* ── Claim Modal ── */
.ghidgsm-claim-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,25,35,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: ghidgsm-modal-fade-in 0.2s ease;
}

@keyframes ghidgsm-modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ghidgsm-claim-modal {
    background: var(--ghidgsm-white);
    border-radius: 16px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: var(--ghidgsm-shadow-xl);
    animation: ghidgsm-modal-slide-up 0.3s var(--ghidgsm-ease-spring);
}

@keyframes ghidgsm-modal-slide-up {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.ghidgsm-claim-modal-icon {
    color: var(--ghidgsm-accent);
    margin-bottom: 16px;
}

.ghidgsm-claim-modal-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--ghidgsm-text-dark);
}

.ghidgsm-claim-modal-text {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ghidgsm-text-light);
}

.ghidgsm-claim-modal-note {
    margin: 0 0 24px;
    font-size: 13px;
    color: var(--ghidgsm-text-light);
    font-style: italic;
}

.ghidgsm-claim-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: var(--ghidgsm-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--ghidgsm-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s var(--ghidgsm-ease-spring);
}

.ghidgsm-claim-modal-btn:hover {
    background: var(--ghidgsm-primary-dark);
    transform: translateY(-1px);
}

/* ── Claim Banners (success/error, inside hero) ── */
.ghidgsm-claim-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto 0;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 2;
    margin-top: 16px;
}

.ghidgsm-claim-banner-success {
    background: rgba(45,139,90,0.15);
    color: #4ADE80;
    border: 1px solid rgba(45,139,90,0.25);
}

.ghidgsm-claim-banner-error {
    background: rgba(220,38,38,0.12);
    color: #FCA5A5;
    border: 1px solid rgba(220,38,38,0.25);
}

.ghidgsm-claim-banner-link {
    margin-left: auto;
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.ghidgsm-claim-banner-link:hover {
    color: var(--ghidgsm-accent);
}

/* ── Verified Pill (listing cards) ── */
.ghidgsm-verified-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(45,139,90,0.1);
    color: var(--ghidgsm-success);
    border: 1px solid rgba(45,139,90,0.2);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-left: 8px;
    vertical-align: middle;
    line-height: 1.4;
}

/* ── Responsive: Claim Elements ── */
@media (max-width: 640px) {
    .ghidgsm-claim-modal {
        padding: 28px 20px;
        max-width: 95%;
    }

    .ghidgsm-claim-banner {
        flex-wrap: wrap;
        font-size: 13px;
        padding: 12px 16px;
    }

    .ghidgsm-claim-banner-link {
        margin-left: 0;
        width: 100%;
    }

    .ghidgsm-detail-claim-contact {
        font-size: 12px;
    }
}

/* ── Reduced motion: Claim Modal ── */
@media (prefers-reduced-motion: reduce) {
    .ghidgsm-claim-modal-overlay {
        animation: none;
    }

    .ghidgsm-claim-modal {
        animation: none;
    }
}

/* ── Legal Pages (Termeni, Confidențialitate) — Full-width layout ── */

.ghidgsm-legal-page .content-area {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.ghidgsm-legal-page .content-container.site-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.ghidgsm-legal-page .entry-content-wrap {
    padding: 0 !important;
}

.ghidgsm-legal-page .entry-content a {
    color: var(--ghidgsm-accent-dark, #B5845A);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(200, 152, 106, 0.4);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.ghidgsm-legal-page .entry-content a:hover {
    color: var(--ghidgsm-accent, #C8986A);
    text-decoration-color: var(--ghidgsm-accent, #C8986A);
}

/* ── Legal Pages (Termeni, Confidențialitate) — Table of Contents ── */

.ghidgsm-legal-toc {
    background: #fff;
    border: 1px solid #e5e2dd;
    border-left: 3px solid var(--ghidgsm-accent, #C8986A);
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 32px;
}

.ghidgsm-legal-toc-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ghidgsm-primary, #1B3A4B);
    margin: 0 0 12px;
}

.ghidgsm-legal-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 24px;
}

.ghidgsm-legal-toc li {
    break-inside: avoid;
    padding: 4px 0;
}

.ghidgsm-legal-toc a {
    font-size: 14px;
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ghidgsm-legal-toc a:hover {
    color: var(--ghidgsm-accent, #C8986A);
}

/* ── Legal Pages — Tablet ── */

@media (max-width: 1024px) {
    .ghidgsm-legal-page .entry-content h2 {
        font-size: 24px;
        margin-top: 40px;
    }

    .ghidgsm-legal-page .entry-content h3 {
        font-size: 18px;
        margin-top: 28px;
    }

    .ghidgsm-legal-toc {
        padding: 20px 24px;
    }
}

/* ── Legal Pages — Mobile ── */

@media (max-width: 767px) {
    .ghidgsm-legal-page .entry-content h2 {
        font-size: 22px;
        margin-top: 36px;
        margin-bottom: 12px;
    }

    .ghidgsm-legal-page .entry-content h3 {
        font-size: 17px;
        margin-top: 24px;
        margin-bottom: 10px;
    }

    .ghidgsm-legal-page .entry-content p,
    .ghidgsm-legal-page .entry-content li {
        font-size: 15px;
        line-height: 1.7;
    }

    .ghidgsm-legal-toc {
        padding: 16px 18px;
        margin-bottom: 24px;
    }

    .ghidgsm-legal-toc ul {
        columns: 1;
    }

    .ghidgsm-legal-toc a {
        font-size: 13px;
    }

    .ghidgsm-legal-toc li {
        padding: 3px 0;
    }
}

/* ── Legal Pages — Small phones ── */

@media (max-width: 400px) {
    .ghidgsm-legal-page .entry-content h2 {
        font-size: 20px;
    }

    .ghidgsm-legal-page .entry-content h3 {
        font-size: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Cookie Consent Banner
   ═══════════════════════════════════════════════════════════════════════ */

.ghidgsm-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px 20px;
    background: rgba(27, 58, 75, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(200, 152, 106, 0.25);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s var(--ghidgsm-ease-out), opacity 0.5s var(--ghidgsm-ease-out);
}

.ghidgsm-cookie-banner.ghidgsm-cookie-visible {
    transform: translateY(0);
    opacity: 1;
}

.ghidgsm-cookie-banner.ghidgsm-cookie-dismissed {
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s var(--ghidgsm-ease), opacity 0.4s var(--ghidgsm-ease);
}

.ghidgsm-cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ghidgsm-cookie-text {
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.ghidgsm-cookie-link {
    color: var(--ghidgsm-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s var(--ghidgsm-ease);
}

.ghidgsm-cookie-link:hover {
    color: #ddb48a;
}

.ghidgsm-cookie-link:focus-visible {
    outline: 2px solid var(--ghidgsm-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.ghidgsm-cookie-accept {
    flex-shrink: 0;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--ghidgsm-accent), var(--ghidgsm-accent-dark)) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    border: none !important;
    border-radius: var(--ghidgsm-radius-sm);
    cursor: pointer;
    white-space: nowrap;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 20px rgba(200, 152, 106, 0.4) !important;
    transition: transform 0.3s var(--ghidgsm-ease-spring), box-shadow 0.3s var(--ghidgsm-ease);
}

.ghidgsm-cookie-accept:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 8px 32px rgba(200, 152, 106, 0.5) !important;
}

.ghidgsm-cookie-accept:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(200, 152, 106, 0.3);
    transition-duration: 0.1s;
}

.ghidgsm-cookie-accept:focus-visible {
    outline: 2px solid var(--ghidgsm-accent);
    outline-offset: 2px;
}

/* ── Cookie Banner — Mobile ── */

@media (max-width: 640px) {
    .ghidgsm-cookie-inner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .ghidgsm-cookie-accept {
        width: 100%;
    }
}

/* ── Cookie Banner — Reduced Motion ── */

@media (prefers-reduced-motion: reduce) {
    .ghidgsm-cookie-banner {
        transform: none;
        transition: opacity 0.3s ease;
    }

    .ghidgsm-cookie-banner.ghidgsm-cookie-dismissed {
        transform: none;
        transition: opacity 0.3s ease;
    }

    .ghidgsm-cookie-accept {
        transition: none;
    }

    .ghidgsm-cookie-accept:hover {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   City Intelligence Section — Dark Glass Design
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Section wrapper (full-bleed dark gradient) ── */
.ghidgsm-city-seo-section {
    position: relative;
    margin-left: calc(-50vw + 50%);
    width: 100vw;
    background: linear-gradient(160deg, #1B3A4B 0%, #0E2738 50%, #0F1923 100%);
    padding: 3.5rem 0 2rem;
    margin-top: 2rem;
}

/* ── Grid overlay (copper grid + noise grain + radial mask) ── */
.ghidgsm-city-seo-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ghidgsm-city-seo-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(200,152,106,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200,152,106,0.06) 1px, transparent 1px),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 60px 60px, 60px 60px, 200px 200px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    opacity: 0.7;
}

/* ── Copper hairline separator ── */
.ghidgsm-city-seo-hairline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,152,106,0.5), transparent);
    z-index: 1;
}

/* ── Content block (centered container) ── */
.ghidgsm-city-content-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* ── Section headings ── */
.ghidgsm-city-content-block h2,
.ghidgsm-nearby-cities h2,
.ghidgsm-cross-categories h2 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.ghidgsm-city-content-block h2::after,
.ghidgsm-nearby-cities h2::after,
.ghidgsm-cross-categories h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--ghidgsm-accent, #C8986A), transparent);
    border-radius: 1px;
}

/* ── Statistics cards (city SEO dark-bg context) ── */
.ghidgsm-city-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.ghidgsm-city-stats .ghidgsm-stat-card {
    flex: 1 1 140px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 2px solid var(--ghidgsm-accent, #C8986A);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: none;
    overflow: visible;
    position: static;
}

.ghidgsm-city-stats .ghidgsm-stat-card::before {
    display: none;
}

.ghidgsm-city-stats .ghidgsm-stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.07);
    border-color: rgba(200,152,106,0.2);
    box-shadow: 0 8px 24px rgba(200,152,106,0.1);
}

.ghidgsm-stat-card--wide {
    flex: 2 1 300px;
}

.ghidgsm-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ghidgsm-accent, #C8986A);
    line-height: 1.2;
}

.ghidgsm-stat-value small {
    font-size: 0.6em;
    font-weight: 400;
    opacity: 0.7;
}

.ghidgsm-city-stats .ghidgsm-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.ghidgsm-stat-brands {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
}

/* ── Comparison table ── */
.ghidgsm-city-comparison {
    margin-bottom: 2.5rem;
}

.ghidgsm-comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ghidgsm-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.ghidgsm-comparison-table th {
    background: rgba(0,0,0,0.3);
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.ghidgsm-comparison-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
}

.ghidgsm-comparison-table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

.ghidgsm-comparison-table tbody tr:first-child {
    background: rgba(200,152,106,0.08);
    border-left: 3px solid var(--ghidgsm-accent, #C8986A);
}

.ghidgsm-comparison-table tr:hover td {
    background: rgba(200,152,106,0.06);
}

.ghidgsm-comparison-table td a {
    color: var(--ghidgsm-accent, #C8986A);
    font-weight: 600;
    text-decoration: none;
}

.ghidgsm-comparison-table td a:hover {
    color: #fff;
}

/* ── City FAQ accordion ── */
.ghidgsm-city-faq {
    margin-bottom: 2rem;
}

.ghidgsm-city-faq .ghidgsm-faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ghidgsm-city-faq .ghidgsm-faq-item:hover {
    background: rgba(255,255,255,0.04);
}

.ghidgsm-city-faq .ghidgsm-faq-item[open] {
    border-left: 3px solid var(--ghidgsm-accent, #C8986A);
    background: rgba(255,255,255,0.05);
}

.ghidgsm-city-faq .ghidgsm-faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ghidgsm-city-faq .ghidgsm-faq-item summary::-webkit-details-marker {
    display: none;
}

.ghidgsm-faq-chevron {
    flex-shrink: 0;
    color: var(--ghidgsm-accent, #C8986A);
    transition: transform 0.25s ease;
}

.ghidgsm-city-faq .ghidgsm-faq-item[open] .ghidgsm-faq-chevron {
    transform: rotate(180deg);
}

.ghidgsm-city-faq .ghidgsm-faq-item p {
    padding: 0 1.25rem 1rem 2.75rem;
    margin: 0;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* ── dateModified signal ── */
.ghidgsm-city-updated {
    text-align: right;
    padding-top: 0.5rem;
}

.ghidgsm-city-updated small {
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
}

/* ── Nearby cities section ── */
.ghidgsm-nearby-cities {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.ghidgsm-nearby-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ghidgsm-nearby-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ghidgsm-nearby-links a:hover {
    background: var(--ghidgsm-accent, #C8986A);
    color: #fff;
    border-color: var(--ghidgsm-accent, #C8986A);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200,152,106,0.25);
}

.ghidgsm-nearby-links .ghidgsm-nearby-count {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 0.1rem 0.4rem;
}

/* ── Cross-category links (pill layout) ── */
.ghidgsm-cross-categories {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.ghidgsm-cross-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ghidgsm-cross-links a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(200,152,106,0.15);
    border-radius: 20px;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ghidgsm-cross-links a:hover {
    background: var(--ghidgsm-accent, #C8986A);
    color: #fff;
    border-color: var(--ghidgsm-accent, #C8986A);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200,152,106,0.25);
}

/* ── Mobile responsiveness for city content ── */
@media (max-width: 768px) {
    .ghidgsm-city-seo-section {
        padding: 2.5rem 0 1.5rem;
    }

    .ghidgsm-city-stats {
        gap: 0.75rem;
    }

    .ghidgsm-city-stats .ghidgsm-stat-card {
        flex: 1 1 calc(50% - 0.375rem);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .ghidgsm-stat-value {
        font-size: 1.5rem;
    }

    .ghidgsm-comparison-table {
        font-size: 0.8rem;
    }

    .ghidgsm-comparison-table th,
    .ghidgsm-comparison-table td {
        padding: 0.5rem 0.75rem;
    }

    .ghidgsm-comparison-table-wrap {
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Affiliate Marketing Components
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Affiliate Disclosure Notice ── */
.ghidgsm-affiliate-disclosure {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    margin: 24px 0;
    background: rgba(200, 152, 106, 0.06);
    border: 1px solid rgba(200, 152, 106, 0.15);
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--ghidgsm-text-muted, #6b7280);
}

.ghidgsm-affiliate-disclosure svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--ghidgsm-accent, #C8986A);
}

/* ── Affiliate Link Base ── */
.ghidgsm-affiliate-link {
    color: var(--ghidgsm-accent, #C8986A);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ghidgsm-affiliate-link:hover {
    color: var(--ghidgsm-primary, #1B3A4B);
    text-decoration: underline;
}

/* ── Affiliate Sidebar Card (Detail Page) ── */
.ghidgsm-detail-card-affiliate {
    border-color: rgba(200, 152, 106, 0.25);
}

.ghidgsm-detail-card-affiliate .ghidgsm-detail-card-title {
    color: var(--ghidgsm-accent, #C8986A);
}

.ghidgsm-affiliate-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.ghidgsm-affiliate-product:last-child {
    border-bottom: none;
}

.ghidgsm-affiliate-product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(200, 152, 106, 0.08);
    color: var(--ghidgsm-accent, #C8986A);
    flex-shrink: 0;
}

.ghidgsm-affiliate-product-info {
    flex: 1;
    min-width: 0;
}

.ghidgsm-affiliate-product-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ghidgsm-text-dark, #1e293b);
    line-height: 1.3;
}

.ghidgsm-affiliate-product-price {
    display: block;
    font-size: 12px;
    color: var(--ghidgsm-text-muted, #6b7280);
    margin-top: 2px;
}

.ghidgsm-affiliate-product-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--ghidgsm-accent, #C8986A);
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.ghidgsm-affiliate-product-cta:hover {
    background: var(--ghidgsm-primary, #1B3A4B);
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff !important;
}

.ghidgsm-affiliate-sidebar-disclosure {
    padding: 8px 0 0;
    font-size: 10px;
    color: var(--ghidgsm-text-muted, #6b7280);
    opacity: 0.7;
}

/* ── Affiliate Product Grid (Blog Posts) ── */
.ghidgsm-affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.ghidgsm-affiliate-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--ghidgsm-white, #fff);
    border: 1px solid var(--ghidgsm-border, rgba(0, 0, 0, 0.08));
    border-radius: var(--ghidgsm-radius, 12px);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.ghidgsm-affiliate-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.ghidgsm-affiliate-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(200, 152, 106, 0.08);
    color: var(--ghidgsm-accent, #C8986A);
    margin-bottom: 12px;
}

.ghidgsm-affiliate-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ghidgsm-text-dark, #1e293b);
    margin-bottom: 4px;
}

.ghidgsm-affiliate-card-price {
    font-size: 13px;
    color: var(--ghidgsm-text-muted, #6b7280);
    margin-bottom: 12px;
}

.ghidgsm-affiliate-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--ghidgsm-accent, #C8986A);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
    margin-top: auto;
}

.ghidgsm-affiliate-card-cta:hover {
    background: var(--ghidgsm-primary, #1B3A4B);
    color: #fff !important;
    text-decoration: none;
}

/* ── Affiliate Banner (Inline in Blog Content) ── */
.ghidgsm-affiliate-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    margin: 32px 0;
    background: linear-gradient(135deg, rgba(27, 58, 75, 0.03) 0%, rgba(200, 152, 106, 0.06) 100%);
    border: 1px solid rgba(200, 152, 106, 0.2);
    border-radius: var(--ghidgsm-radius, 12px);
}

.ghidgsm-affiliate-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(200, 152, 106, 0.12);
    color: var(--ghidgsm-accent, #C8986A);
    flex-shrink: 0;
}

.ghidgsm-affiliate-banner-content {
    flex: 1;
}

.ghidgsm-affiliate-banner-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ghidgsm-text-dark, #1e293b);
    margin-bottom: 2px;
}

.ghidgsm-affiliate-banner-desc {
    font-size: 13px;
    color: var(--ghidgsm-text-muted, #6b7280);
}

.ghidgsm-affiliate-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 20px;
    background: var(--ghidgsm-accent, #C8986A);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.ghidgsm-affiliate-banner-cta:hover {
    background: var(--ghidgsm-primary, #1B3A4B);
    color: #fff !important;
    text-decoration: none;
}

/* ── Homepage Affiliate Section ── */
.ghidgsm-affiliate-section {
    padding: 64px 0;
}

.ghidgsm-affiliate-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--ghidgsm-primary, #1B3A4B);
    margin-bottom: 8px;
}

.ghidgsm-affiliate-section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--ghidgsm-text-muted, #6b7280);
    margin-bottom: 40px;
}

/* ── Footer Partner Logos ── */
.ghidgsm-footer-partners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 16px 0;
    margin-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ghidgsm-footer-partners-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.ghidgsm-footer-partner-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.ghidgsm-footer-partner-link:hover {
    color: var(--ghidgsm-accent, #C8986A);
}

/* ── Responsive: Affiliate Components ── */
@media (max-width: 768px) {
    .ghidgsm-affiliate-grid {
        grid-template-columns: 1fr;
    }

    .ghidgsm-affiliate-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 16px;
    }

    .ghidgsm-affiliate-product-cta {
        padding: 5px 10px;
        font-size: 10px;
    }

    .ghidgsm-footer-partners {
        gap: 16px;
    }
}

/* ── Back-to-Top Button ── */
.ghidgsm-back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9998;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(200,152,106,0.2);
    background: rgba(15,43,60,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #C8986A;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.25s var(--ghidgsm-ease),
                transform 0.25s var(--ghidgsm-ease),
                border-color 0.25s var(--ghidgsm-ease),
                box-shadow 0.25s var(--ghidgsm-ease);
}

.ghidgsm-back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.ghidgsm-back-to-top:hover,
.ghidgsm-back-to-top:focus,
.ghidgsm-back-to-top:active {
    background: rgba(15,43,60,0.95);
    color: #C8986A;
    border-color: rgba(200,152,106,0.5);
    box-shadow: 0 0 16px rgba(200,152,106,0.15);
    transform: translateY(-2px);
    outline: none;
}

@media (max-width: 767px) {
    .ghidgsm-back-to-top {
        bottom: 24px;
        right: 24px;
        width: 40px;
        height: 40px;
    }
}

/* ── Fallback for browsers without backdrop-filter ── */
@supports not (backdrop-filter: blur(1px)) {
    .ghidgsm-stat-card,
    .ghidgsm-faq-item {
        background: rgba(255,255,255,0.08);
    }
}

/* ── Footer SEO Links ── */

/* ── Reduced motion preference ── */
@media (prefers-reduced-motion: reduce) {
    .ghidgsm-stat-card,
    .ghidgsm-faq-chevron,
    .ghidgsm-nearby-links a,
    .ghidgsm-cross-links a,
    .ghidgsm-back-to-top {
        transition: none;
    }
}
