/*
    Theme Name: FAS Universal Node Theme
    Theme URI: https://www.frozenarcticservices.com/
    Author: Sue Darby & AI Team Collaboration
    Description: Core adaptive 3-layer frosted starfield theme engine for the FAS Multi-Site Network. Built on an underscores foundation. Automatically shifts template layout behaviors based on local dashboard checkbox configuration states.
    Version: 2.1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: fas
*/

/* ==========================================================================
      CORE RESOURCE FONTS & VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

:root {
    --fas-script-blue: #1d4ed8;
    --fas-button-purple: #4c1d95;
    --fas-button-gradient: linear-gradient(135deg, #4c1d95 0%, #312e81 100%);
    --fas-text-slate: #1e293b;
    --fas-fuchsia: #c71585;
}

/* ==========================================================================
      LAYER 1: GLOBAL UNIVERSE FRAMEWORK (Starfield Grid Canvas)
   ========================================================================== */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

*::-webkit-scrollbar {
    display: none !important;
}

body {
    min-height: 100vh !important;
    box-sizing: border-box !important;
    font-family: 'Montserrat', -apple-system, sans-serif !important;
    font-size: 0.95rem !important;
    color: var(--fas-text-slate) !important;
    background: linear-gradient(135deg, #030b24 0%, #151a4f 25%, #421a71 50%, #7d126f 75%, #b40a6b 100%) fixed !important;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,0.8) 100%, transparent),
                radial-gradient(2px 2px at 70% 60%, rgba(255,255,255,0.9) 100%, transparent),
                radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,255,255,0.7) 100%, transparent),
                radial-gradient(2px 2px at 80% 20%, rgba(255,255,255,0.6) 100%, transparent),
                radial-gradient(2.5px 2.5px at 50% 80%, rgba(255,200,255,0.8) 100%, transparent);
    z-index: -9999;
    pointer-events: none;
}

/* Aggressive clean strike to remove core container background colors */
.site, .site-content, #content, .wp-site-blocks, main, article, .has-background, .wp-block-group, #primary, #main, .site-main, .content-area, .woocommerce, .woocommerce-page, div.product, .summary, .entry-content, .woocommerce-tabs, .panel, .entry-summary, .fas-clean-template-container {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    backdrop-filter: none !important;
}

/* ==========================================================================
      LAYER 2: THE MASTER FROSTED LAYOUT STAGE
   ========================================================================== */
#page {
    margin: 4vh auto !important;
    width: 92vw !important;
    max-width: 1400px !important;
    min-height: 85vh !important;
    padding: 3% !important;
    background: rgba(225, 230, 240, 0.45) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    display: flex;
    flex-direction: column;
    box-sizing: border-box !important;
}

/* ==========================================================================
      LAYER 3: STRUCTURAL CARDS & UNIFORM INTERFACES
   ========================================================================== */
.layer-3-card, header.site-header, footer.site-footer, .post-card-custom, .page-card-custom, .error-404 {
    background: rgba(255, 255, 255, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 12px;
    box-sizing: border-box !important;
}

/* ==========================================================================
      GLOBAL TYPOGRAPHY ENGINE (ANTI-ALL-CAPS REGULATION)
   ========================================================================== */
h1, h2, h3, h4, .page-title, .wp-block-heading, .widget-title, .mall-brand-showcase-title, .fas-related-products-main-title, .faa-tier-main-title, .faa-overview-heading, .faa-features-title {
    font-family: 'Dancing Script', cursive !important;
    color: var(--fas-script-blue) !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    text-transform: none !important;
    font-variant: normal !important;
}

p, span, li, input, select, textarea, label, .faa-price-period-subtext, .sub-toggle-label-text, .faa-tier-sub-title, .faa-showcase-welcome-title, .faa-showcase-welcome-text {
    font-family: 'Montserrat', sans-serif !important;
    text-transform: none !important;
}

/* Global Actions Buttons */
.button, button[type="submit"], input[type="submit"], .single_add_to_cart_button, .woocommerce-button {
    background: var(--fas-button-gradient) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 10px 22px !important;
    font-family: 'Dancing Script', cursive !important;
    font-size: 1.3rem !important;
    text-decoration: none !important;
    border: none !important;
    text-shadow: 0 0 5px rgba(255,255,255,0.4) !important;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
    text-align: center;
}

.button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
}

#fas-return-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--fas-button-gradient);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#fas-return-top::before {
    content: '\2B06';
    font-size: 1.6rem;
}

/* ==========================================================================
      HEADER, MENU & SEARCH LAYOUT
   ========================================================================== */
.fas-site-header-navigation {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    padding: 15px 30px !important;
    margin-bottom: 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 9999 !important;
}

.fas-brand-logo-viewport img {
    max-height: 85px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Hamburger Base Styling */
.menu-toggle {
    display: none !important;
}

/* Horizontal Main Menu Configuration */
.main-navigation {
    display: flex !important;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.main-navigation ul {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 25px !important;
    align-items: center;
}

.main-navigation a {
    font-family: 'Dancing Script', cursive !important;
    font-size: 1.5rem !important;
    text-decoration: none !important;
    color: var(--fas-script-blue) !important;
    font-weight: normal !important;
    transition: opacity 0.3s ease;
}

.main-navigation a:hover {
    opacity: 0.7 !important;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fas-header-search-field {
    padding: 8px 15px;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
    color: var(--fas-text-slate);
    height: 45px;
    box-sizing: border-box;
    outline: none;
    width: 180px;
}

.fas-header-search-submit {
    background: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
    font-size: 1.4rem !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none;
    color: var(--fas-text-slate);
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fas-header-search-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1) !important;
}

.fas-account-gateway-anchor {
    background: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
    font-size: 1.4rem !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none;
    line-height: 1 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fas-account-gateway-anchor:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1) !important;
}

/* ==========================================================================
      FRONT PAGE HERO SLIDER
   ========================================================================== */
.faa-hero-slider-container {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    margin-bottom: 50px;
    padding: 0 !important;
}

#faa-hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.faa-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
    padding: 40px 60px;
    box-sizing: border-box;
}

.faa-active-slide {
    opacity: 1;
    z-index: 2;
}

.faa-slide-content {
    width: 50%;
    padding-right: 30px;
}

.faa-slide-content h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.faa-slide-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.fas-hero-slider-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--fas-text-slate);
}

.faa-slide-image {
    width: 50%;
    text-align: right;
}

.faa-slide-image img {
    max-height: 340px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ==========================================================================
      PRODUCT SHOWCASE GRIDS CONTAINERS
   ========================================================================== */
.faa-category-showcase {
    background: rgba(255, 255, 255, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    margin-bottom: 50px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    width: 100%;
    box-sizing: border-box;
}

.mall-brand-showcase-title {
    text-align: center;
    display: block;
    margin: 0 auto 20px auto !important;
    font-size: 2.5rem;
}

.mall-partner-showcase-container {
    margin-bottom: 50px;
    clear: both;
    width: 100%;
}

.mall-partner-showcase-container h2 {
    text-align: center;
    margin-bottom: 25px !important;
    font-size: 1.6rem !important;
}

.fas-view-all-wrap {
    text-align: center;
    margin-top: 20px;
}

/* ==========================================================================
      ARTICLE & ARCHIVE GRIDS
   ========================================================================== */
.fas-clean-template-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Force frosted pane on all archive wrappers overriding aggressive clears using chained IDs */
html body #page #primary.fas-archive-frosted-pane {
    background: rgba(255, 255, 255, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    margin-top: 0 !important;
    margin-bottom: 50px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ret-archive-matrix-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px !important;
    width: 100%;
    box-sizing: border-box;
}

.fas-5-across-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* Kill pseudo-elements that act as empty grid cells */
ul.products::before, ul.products::after {
    display: none !important;
}

/* Archive Grid Adjustments */
.faa-archive-main {
    margin-bottom: 80px !important;
}

.fas-archive-glass-header {
    padding: 30px 40px !important;
    margin: 20px 0 40px 0 !important;
    width: 100% !important;
    text-align: center !important;
}

.fas-archive-glass-header h1 {
    font-size: 2.5rem !important;
    margin-bottom: 0 !important;
}

.faa-archive-image-banner {
    margin-bottom: 20px !important;
}

.faa-archive-thumbnail-img {
    border-radius: 8px !important;
    width: 100% !important;
    height: auto !important;
}

.faa-archive-card-inner-frost {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.faa-archive-entry-summary {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.faa-archive-excerpt-wrap {
    flex-grow: 1;
    margin-bottom: 25px;
}

.ret-product-catalog-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    overflow: hidden;
    padding: 25px !important;
    box-sizing: border-box;
}

.fas-article-card-main {
    padding: 50px !important;
    margin: 0 auto 40px auto !important;
    max-width: 1200px;
    width: 100%;
}

/* ==========================================================================
      SINGLE POST BOTTOM NAVIGATION & MINI CARDS (Articles/Tutorials/FAQs)
   ========================================================================== */
.fas-single-post-navigation {
    padding: 20px 40px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
    box-sizing: border-box;
}

.post-navigation .nav-links {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.post-navigation .nav-previous, .post-navigation .nav-next {
    flex: 1 1 auto !important;
}

.post-navigation .nav-next {
    text-align: right !important;
}

.post-navigation .nav-title {
    font-family: 'Dancing Script', cursive !important;
    color: var(--fas-script-blue) !important;
    font-size: 1.5rem !important;
    display: block;
}

.post-navigation .nav-subtitle {
    font-size: 0.85rem !important;
    color: var(--fas-text-slate) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Generic Mini Widget Overrides (Articles & Tutorials) */
.fas-mini-widget-section {
    padding: 30px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.fas-mini-section-title {
    font-family: 'Dancing Script', cursive !important;
    color: var(--fas-script-blue) !important;
    font-size: 2rem !important;
    text-align: center !important;
    margin-bottom: 25px !important;
}

.fas-mini-related-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.fas-mini-card {
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
}

.fas-mini-card-img {
    height: 120px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    margin-bottom: 15px !important;
}

.fas-mini-card-title {
    font-family: 'Dancing Script', cursive !important;
    color: var(--fas-script-blue) !important;
    font-size: 1.4rem !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.2 !important;
}

.fas-mini-card-title a {
    text-decoration: none !important;
    color: inherit !important;
}

.fas-mini-card-excerpt {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.8rem !important;
    color: var(--fas-text-slate) !important;
    margin-bottom: 15px !important;
    flex-grow: 1 !important;
}

.fas-mini-btn {
    font-size: 1.1rem !important;
    padding: 6px 16px !important;
    margin-top: auto !important;
}

/* ==========================================================================
      APP HUB / SUBSCRIPTION DISPLAY LAYOUTS
   ========================================================================== */
.fas-top-glass-pane {
    background: rgba(225, 230, 240, 0.45) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
    padding: 40px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mall-showcase-visit-btn {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    background: #3b338a !important;
    color: white !important;
    font-family: 'Dancing Script', cursive !important;
    font-size: 1.6rem !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    text-transform: none !important;
    font-variant: normal !important;
    text-decoration: none !important;
}

.sub-pricing-grid-stage {
    margin-top: 30px;
    padding: 40px;
    border-radius: 12px;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.sub-features-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.sub-feature-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
}

/* Dynamic Custom SVG Bullet Engine */
.fas-custom-bullet-framework ul {
    list-style: none !important;
    padding-left: 5px !important;
}

.fas-custom-bullet-framework li {
    position: relative !important;
    padding-left: 28px !important;
    margin-bottom: 12px !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: var(--fas-text-slate) !important;
}

.fas-custom-bullet-framework li::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 4px !important;
    width: 16px !important;
    height: 16px !important;
    /* Dynamically loaded from post meta variables via Header injection with a spool fallback */
    background-image: var(--fas-custom-bullet, url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E")) !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}

/* ==========================================================================
      FOOTER
   ========================================================================== */
.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding: 40px;
}

.footer-link-col {
    flex: 1 1 200px;
}

.footer-logo-col img {
    max-height: 100px !important;
    width: auto !important;
    object-fit: contain !important;
}

.footer-link-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-col li {
    margin-bottom: 10px;
}

.footer-link-col a {
    text-decoration: none;
    color: var(--fas-text-slate);
    transition: color 0.2s ease;
}

.footer-link-col a:hover {
    color: var(--fas-script-blue);
}

/* Satellite Dual Column Flow */
.fas-network-col ul {
    column-count: 2;
    column-gap: 20px;
}

.fas-network-col li {
    break-inside: avoid;
    page-break-inside: avoid;
}

.site-info {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    margin-top: 20px;
}

.site-info p {
    font-family: 'Dancing Script', cursive !important;
    font-size: 1.3rem !important;
    margin: 0;
}

/* ==========================================================================
      MEDIA QUERIES (Responsive Adjustments)
   ========================================================================== */
@media (max-width: 1024px) {
    .faa-hero-slider-container { height: 650px !important; }
    .ret-archive-matrix-grid, .fas-5-across-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .fas-mini-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    
    /* Reverse Hero Order for Tablets and smaller */
    .faa-slide { flex-direction: column; text-align: center; justify-content: flex-start; padding: 20px !important; }
    .faa-slide-image { order: 1; width: 100%; margin-bottom: 20px; text-align: center; }
    .faa-slide-content { order: 2; width: 100%; padding: 0; }
}

@media (max-width: 768px) {
    #page { width: 96vw !important; padding: 20px 10px !important; }
    .ret-archive-matrix-grid, .fas-5-across-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .fas-mini-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    
    /* Responsive padding for the new Showcase Pane */
    .faa-category-showcase { padding: 20px 10px !important; }

    /* Strict Header & Menu Mobile Stacking / Grid Logic */
    .fas-site-header-navigation {
        position: relative !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 15px !important;
        flex-wrap: nowrap !important;
        margin-bottom: 20px !important;
        z-index: 9999 !important;
    }
    
    .fas-brand-logo-viewport {
        order: 1;
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-start;
    }
    
    .fas-brand-logo-viewport img {
        max-height: 40px !important;
    }
    
    .main-navigation {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: flex-end;
        margin-right: 10px;
    }
    
    .header-actions {
        order: 3;
        flex: 0 0 auto;
        display: flex;
        flex-direction: row !important;
        justify-content: flex-end;
        align-items: center !important;
        width: auto !important;
        gap: 8px !important;
        margin-top: 0 !important;
    }

    .fas-header-search-submit,
    .fas-account-gateway-anchor {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.1rem !important;
    }
    
    /* Hamburger Menu Toggle Display */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        gap: 8px;
        justify-content: center;
        background: rgba(255, 255, 255, 0.3);
        border: 1px solid var(--fas-script-blue);
        color: var(--fas-script-blue);
        border-radius: 5px;
        padding: 8px 12px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        margin: 0 !important;
        transition: background 0.3s ease;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.6);
    }
    
    /* Hide Navigation Links Until Toggled and Absolute Position */
    .main-navigation ul { display: none !important; }
    .main-navigation.toggled ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        margin: 0 !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        padding: 20px !important;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
        box-sizing: border-box;
        align-items: flex-start !important;
    }
    
    .main-navigation.toggled ul li {
        width: 100%;
    }
    
    .main-navigation.toggled ul a {
        display: block;
        text-align: left !important;
        width: 100%;
    }
    
    /* Search Bar transformed to Icon Only (Circle inherited from global) */
    .search-form { width: auto; justify-content: center; margin: 0; gap: 0; }
    .fas-header-search-field { display: none !important; }
    
    /* Hero Section Mobile Font, Image Overrides, and Height Bump */
    .faa-hero-slider-container { height: 800px !important; }
    .faa-slide-image img { max-height: 180px; }
    .faa-slide-content h3 { font-size: 1.2rem; }
    .faa-slide-content h2 { font-size: 1.6rem; margin-bottom: 10px; }
    .fas-hero-slider-excerpt { font-size: 0.85rem; margin-bottom: 15px; }
    
    .fas-article-card-main { padding: 30px 15px !important; }
    
    .site-footer-inner { flex-direction: column !important; align-items: center; text-align: center; padding: 20px; }
    .footer-link-col { width: 100%; margin-bottom: 20px; }
    .sub-features-section { flex-direction: column !important; }
}

@media (max-width: 480px) {
    .ret-archive-matrix-grid, .fas-5-across-grid { grid-template-columns: 1fr !important; }
    .fas-mini-related-grid { grid-template-columns: 1fr !important; }
    .faa-hero-slider-container { height: 750px !important; }
}