/* ================================
   PROFESSIONAL GHOST THEME STYLES
   ================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Oswald:wght@400;500;600;700&family=Playfair+Display:wght@900&family=Poppins:wght@400;600&display=swap');

/* ================================
   CSS VARIABLES - COLOR SYSTEM
   ================================ */
:root {
    /* Layout */
    --nav-width: 280px;
    /* Keep for legacy referencing if needed, but unused */
    --header-height: 80px;
    --container-width: 1200px;

    /* Core Colors - Capacity Unified */
    --color-white: #ffffff;
    --color-black: #1a1a1a;

    /* Primary - Capacity Green */
    --color-primary: #4a7c59;
    --color-primary-hover: #3d6849;
    --color-deep-green: #2d4a35;

    /* Secondary - Warm Earth Brown */
    --color-secondary: #8b6f47;
    --color-secondary-hover: #6f5738;

    /* Accent - Natural Tan */
    --color-accent: #c9a86a;
    --color-accent-hover: #b08f54;

    /* Text */
    --text-primary: #2d2d2d;
    --text-secondary: #5a5a5a;
    --text-muted: #888888;
    --text-light: #f5f3ef;

    /* Backgrounds */
    --bg-body: #fafaf8;
    --bg-light: #f5f3ef;
    --bg-cream: #fef9f1;

    /* Borders */
    --border-light: #e0ddd7;

    /* Shadows - Deep Capacity Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.2);

    /* Transitions - Capacity Bounce */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Border Radius - Unified */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-card: 20px;
    --radius-full: 50px;

    /* Section Spacing - Standardized */
    --section-padding-v: 80px;
    --section-padding-h: 24px;
    --container-max-width: 1200px;
}

/* ================================
   GLOBAL STYLES
   ================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-top: 0px;
    /* Account for fixed navbar and logo */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    line-height: 1.25;
    margin-bottom: var(--space-lg);
    color: var(--color-deep-green);
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

h5 {
    font-size: 1.25rem;
    font-weight: 700;
}

h6 {
    font-size: 1.125rem;
    font-weight: 700;
}

p {
    margin-bottom: var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* ================================
   FLOATING LOGO
   ================================ */
.floating-logo {
    position: fixed;
    top: 30px;
    left: 40px;
    z-index: 1001;
    transition: all 0.4s ease;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 16px;
    padding: 8px 14px;
}

.floating-logo.logo-bg {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.floating-logo:hover {
    transform: translateY(-2px) scale(1.05);
}

.floating-logo img {
    width: 380px !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
    margin: 0 !important;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.floating-logo:hover img {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

/* When over light sections */
.floating-logo.logo-dark img {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.floating-logo.logo-dark:hover img {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

/* ================================
   FLOATING GLASS NAVBAR
   ================================ */
.navbar-glass {
    position: fixed;
    top: 30px !important;
    right: 60px !important;
    left: auto !important;
    transform: none;
    width: auto;
    max-width: none;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-glass.navbar-scrolled {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Light mode - when over light sections */
.navbar-glass.navbar-light {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-glass.navbar-light .header-nav a {
    color: rgba(0, 0, 0, 1) !important;
    text-shadow: none !important;
}

.navbar-glass.navbar-light .header-nav a:hover {
    color: #ffffff;
    background: var(--color-primary);
}

.navbar-glass.navbar-light .gh-search-icon,
.navbar-glass.navbar-light .mobile-menu-btn {
    color: rgba(0, 0, 0, 0.8);
}

.navbar-glass.navbar-light .nav-dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-glass.navbar-light .nav-dropdown-menu a {
    color: rgba(0, 0, 0, 0.8);
}

.navbar-glass.navbar-light .nav-dropdown-menu a:hover {
    color: #ffffff;
    background: var(--color-primary);
}

.navbar-glass .header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 24px;
    height: 54px;
    gap: 12px;
    width: auto !important;
    max-width: none !important;
}

.navbar-glass .header-brand a {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar-glass .header-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.navbar-glass .header-nav .nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
}

.navbar-glass .header-nav .nav li {
    position: relative;
    margin: 0;
}

.navbar-glass .header-nav a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    /* Reduced horizontal padding */
    border-radius: 12px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    font-size: 14px;
    display: block;
}

.navbar-glass .header-nav .nav a:hover,
.navbar-glass .header-nav .nav .nav-dropdown:hover>.nav-dropdown-toggle {
    color: #ffffff !important;
    background: var(--color-primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Dropdown Toggle Arrow */
.navbar-glass .nav-dropdown-toggle::after {
    content: '▾';
    margin-left: 4px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.navbar-glass .nav-dropdown:hover .nav-dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown Menu - Floating Panel Style */
.navbar-glass .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    padding: 6px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1001;
}

.navbar-glass .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-glass .nav-dropdown-menu li {
    margin: 0;
}

.navbar-glass .nav-dropdown-menu a {
    color: #1a1a1a !important;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    text-shadow: none !important;
}

.navbar-glass .nav-dropdown-menu a:hover {
    background: #4a7c59 !important;
    color: #ffffff !important;
    transform: translateX(4px);
}

.navbar-glass .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-glass .subscribe-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    font-size: 14px;
}

.navbar-glass .subscribe-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar-glass .gh-search-icon {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-glass .gh-search-icon:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.navbar-glass .mobile-menu-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: none;
}

/* Responsive navbar */
@media (max-width: 768px) {
    .navbar-glass {
        width: fit-content !important;
        top: 12px !important;
        right: 12px !important;
        left: auto !important;
        margin-left: 0;
    }

    .navbar-glass .header-inner {
        padding: 10px 16px;
        width: auto !important;
        max-width: none !important;
    }

    .navbar-glass .header-nav {
        display: none;
    }

    .navbar-glass .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .floating-logo {
        top: 20px;
        left: 20px;
    }

    .floating-logo img {
        width: 130px;
        height: 130px;
    }

    body {
        padding-top: 0px;
    }
}

/* Prevent images from causing overflow */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

/* ================================
   SITE HEADER
   ================================ */
.site-header {
    background: transparent;
    border: none;
    box-shadow: none;
    height: auto;
    width: auto;
    z-index: 1000;
}


.header-inner {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

/* Brand */
.header-brand {
    flex-shrink: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.header-logo img {
    max-height: 40px;
    width: auto;
}

/* Desktop Navigation */
.header-nav {
    display: flex;
    align-items: center;
    margin-right: auto;
}

/* Make Ghost navigation look like preview dropdowns */

.header-nav .nav>li {
    position: relative;
}

/* submenu if Ghost navigation has children */
.header-nav .nav>li ul {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.25s;
}

.header-nav .nav>li:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.header-nav .nav li {
    margin: 0;
}

/* Unhide Home link */
.header-nav .nav>li:first-child,
.mobile-nav .nav>li:first-child {
    display: block;
}

.header-nav .nav a {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.header-nav .nav a:hover {
    color: var(--color-primary);
    background: var(--bg-light);
}

.header-nav .nav a.nav-current {
    color: var(--color-primary);
    font-weight: 700;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.gh-search-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.gh-search-icon:hover {
    background: var(--bg-light);
    color: var(--color-primary);
}

.gh-search-icon svg {
    width: 20px;
    height: 20px;
}

.subscribe-btn {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.subscribe-btn:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--color-white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px;
    margin-left: auto;
}

/* Mobile Nav Panel (Hidden by default on desktop) */
.mobile-nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-bottom: 1px solid var(--border-light);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
}

.mobile-nav-panel.is-open {
    max-height: 400px;
    /* Adjust based on content */
    border-bottom-width: 1px;
}

.mobile-nav .nav {
    list-style: none;
    padding: 16px 24px;
    margin: 0;
}

.mobile-nav .nav li {
    margin-bottom: 8px;
}

.mobile-nav .nav a {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.mobile-nav .nav a:hover,
.mobile-nav .nav a.nav-current {
    background: var(--bg-light);
    color: var(--color-primary);
}

/* Mobile Dropdown Styles */
.mobile-nav .nav-dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 500px;
}

.mobile-nav .nav-dropdown-menu a {
    font-size: 14px;
    padding: 10px 16px 10px 32px;
    font-weight: 500;
    color: var(--text-secondary);
}

.mobile-nav .nav-dropdown-toggle::after {
    content: '▾';
    float: right;
    transition: transform 0.3s ease;
}

.mobile-nav .nav-dropdown.is-open .nav-dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav-panel {
        display: block;
    }
}

/* [Removed Side Nav, Mobile Toggle, Overlay, etc] */

/* ================================
   MAIN CONTENT
   ================================ */
/* ================================
   LAYOUT COMPONENTS
   ================================ */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--space-lg);
    padding-left: var(--space-lg);
}

.site-section {
    padding-top: var(--section-padding-v);
    padding-bottom: var(--section-padding-v);
}

.site-main {
    min-height: calc(100vh - var(--header-height));
    background: var(--bg-body);
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .site-section {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }
}

@media (max-width: 768px) {
    .site-section {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }
}


/* ================================
   FOOTER
   ================================ */
/* ================================
   FOOTER
   ================================ */
.site-footer {
    background: #2d4a35;
    /* Solid dark green */
    color: #ffffff;
    padding: 30px 20px 20px;
    margin-top: 100px;

}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-section {
    text-align: left;
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    max-width: 280px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-heading {
    font-family: var(--gh-font-heading, "Oswald", sans-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 24px 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
}

.footer-icon {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

.footer-text {
    font-family: var(--gh-font-body, "Poppins", sans-serif);
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.collaboration-box {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
}

.collaboration-box strong {
    color: #2d4a35;
    display: block;
    margin-top: 8px;
    font-size: 1rem;
}

.collaboration-box .footer-text {
    color: #4a4a4a;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-link:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 0;
}

/* Search Icon and Dropdown Styles */
.search-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 4px;
}

.search-toggle {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-accent);
}

.navbar-light .search-toggle {
    color: #1a1a1a;
}

.navbar-light .search-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-primary);
}

/* Search Dropdown Panel */
.search-nav-item .search-dropdown-panel {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 380px;
    background-color: #ffffff !important;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2000;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.search-nav-item .search-dropdown-panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.search-input-field {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #f8f9fa !important;
    color: #1a1a1a !important;
}

.search-input-field:focus {
    border-color: var(--color-primary);
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.1);
}

.search-icon-inside {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    display: flex;
    align-items: center;
}

.search-results-list {
    max-height: 350px;
    overflow-y: auto;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #ffffff !important;
}

.search-results-list:empty::after {
    content: 'Try searching for "Resources", "Blog", or "About"...';
    display: block;
    padding: 15px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

.search-result-item a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #1a1a1a;
    border-radius: 8px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.search-result-item:last-child a {
    border-bottom: none;
}

.search-result-item a:hover {
    background: #f5f8f6;
    color: var(--color-primary);
    transform: translateX(5px);
}

.search-result-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: #1a1a1a !important;
}

.search-result-excerpt {
    display: block;
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    margin-top: 2px;
}

.search-result-title mark,
.search-result-excerpt mark {
    background: rgba(74, 124, 89, 0.15);
    color: #4a7c59;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

.search-no-results {
    padding: 20px 15px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.search-see-all {
    border-top: 1px solid #eee;
}

.search-see-all a {
    display: block;
    padding: 14px 15px;
    text-align: center;
    color: #4a7c59 !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.search-see-all a:hover {
    background: #f5f8f6;
    color: #2d5e3a !important;
}

.search-result-url {
    display: none !important;
}

@media (max-width: 768px) {
    .search-dropdown-panel {
        width: calc(100vw - 24px);
        right: 0;
    }
}