/* 
 * METIS DESIGN SYSTEM v3.5 (Global Styles)
 * ------------------------------------------------------------------
 * Principles: Calm, Structured, Assistive, Premium.
 * Accessibility: WCAG 2.1 AA Compliant.
 */

 :root {
    /* BRAND PALETTE */
    --col-electric-blue: rgb(4, 55, 242);
    --col-electric-blue-hover: rgb(2, 40, 180);
    
    /* Backgrounds */
    --col-bg-white: #ffffff;
    --col-bg-light-slate: #F8FAFC; 
    --col-bg-blue-pale: #DBEAFE;
    --col-bg-concrete: #F1F5F9;
    
    /* Text */
    --col-ink: rgb(18, 20, 24);
    --col-slate: rgb(75, 80, 90);
    --col-slate-light: rgb(100, 116, 139);
    
    /* Borders */
    --col-border: rgba(0,0,0,0.08);
    --col-border-focus: var(--col-electric-blue);

    /* Typography */
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    --base-size: 18px;
    --line-height: 1.6;
    --read-width: 65ch;

    /* Spacing Rhythm */
    --space-xs: 0.75rem;
    --space-sm: 1.5rem;
    --space-md: 3rem;
    --space-lg: 6rem;
    --space-xl: 8rem;
    
    /* UI Characteristics */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.03);
    --transition: all 0.2s ease-out;
    --header-height: 80px;
}

/* 1. RESET & ACCESSIBILITY */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-stack);
    font-size: var(--base-size);
    line-height: var(--line-height);
    color: var(--col-ink);
    background-color: var(--col-bg-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Elementor compatibility resets */
.elementor-section,
.elementor-container,
.elementor-widget-wrap {
    font-family: var(--font-stack);
}

/* Visible Focus Indicators */
*:focus-visible {
    outline: 2px solid var(--col-electric-blue);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 2. TYPOGRAPHY */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--col-ink);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

h1 { font-size: clamp(3rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
    color: var(--col-slate);
    margin-bottom: var(--space-sm);
    max-width: var(--read-width);
}

.label-caps {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--col-electric-blue);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.page-title { margin-top: 1rem; max-width: 800px; }
.page-intro { font-size: 1.15rem; max-width: 800px; margin-bottom: 2rem; color: var(--col-slate); }

/* 3. LAYOUT UTILITIES */
.container {
    width: 88%;
    max-width: 1200px;
    margin: 0 auto;
}

.section { padding: var(--space-lg) 0; position: relative; }
.section--spacious { padding: var(--space-xl) 0; }

.bg-white { background-color: var(--col-bg-white); }
.bg-light-slate { background-color: var(--col-bg-light-slate); }
.bg-blue-pale { background-color: var(--col-bg-blue-pale); }
.bg-concrete { background-color: var(--col-bg-concrete); }

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    align-items: start;
}

@media (max-width: 800px) {
    .two-col-grid { grid-template-columns: 1fr; }
}

/* Spacing Helpers */
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-auto { margin-top: auto; }
.text-sm { font-size: 0.95rem; }
.text-ink { color: var(--col-ink); }

/* Breadcrumbs */
.breadcrumb { margin-bottom: var(--space-sm); font-size: 0.9rem; color: var(--col-slate-light); }
.breadcrumb ol { list-style: none; display: flex; gap: 0.5rem; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; opacity: 0.5; }
.breadcrumb a { text-decoration: none; color: var(--col-slate); }
.breadcrumb a:hover { color: var(--col-electric-blue); }

/* Skip Link */
.skip-link {
    position: absolute; top: -100px; left: 1rem;
    background: var(--col-electric-blue); color: white;
    padding: 1rem; z-index: 2000; text-decoration: none; font-weight: 600;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* 4. BUTTONS & LINKS */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2.25rem; font-weight: 600; text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 1rem; border: 1px solid transparent;
    cursor: pointer;
}

.btn--primary {
    background: var(--col-electric-blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(4, 55, 242, 0.2);
}
.btn--primary:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 55, 242, 0.3);
}

.btn--ghost {
    background-color: transparent; color: var(--col-ink);
    border-color: rgba(0,0,0,0.15);
}
.btn--ghost:hover {
    border-color: var(--col-ink); background-color: rgba(0,0,0,0.02);
}

.link-text {
    color: var(--col-electric-blue); text-decoration: none; font-weight: 600;
    border-bottom: 2px solid transparent; transition: var(--transition);
}
.link-text:hover { border-bottom-color: var(--col-electric-blue); }

/* 5. STICKY HEADER */
.site-header {
    height: var(--header-height);
    display: flex; align-items: center;
    position: sticky; top: 0; z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo {
    font-size: 1.5rem; font-weight: 800; color: var(--col-ink);
    text-decoration: none; letter-spacing: -0.03em;
    display: flex; align-items: center; gap: 0.5rem;
}
.logo-dot {
    width: 8px; height: 8px; background: var(--col-electric-blue);
    border-radius: 50%; display: inline-block;
}

.nav-list { display: flex; gap: 2.5rem; list-style: none; }
.nav-link {
    text-decoration: none; color: var(--col-slate); font-weight: 500;
    font-size: 0.95rem; transition: color 0.2s; position: relative;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--col-electric-blue); }

.nav-item--dropdown { position: relative; }
.nav-link--parent { display: inline-flex; align-items: center; gap: 0.25rem; }
.dropdown-icon { font-size: 0.65rem; transition: transform 0.2s ease; }
.nav-link--parent[aria-expanded="true"] .dropdown-icon { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    padding: 0.75rem 1rem;
    background: var(--col-bg-white);
    border: 1px solid var(--col-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: var(--transition);
    pointer-events: none;
    z-index: 999;
}

.nav-item--dropdown:hover > .dropdown-menu,
.nav-item--dropdown:focus-within > .dropdown-menu,
.nav-item--dropdown.dropdown-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li { list-style: none; }
.dropdown-menu a {
    display: block;
    padding: 0.35rem 0;
    color: var(--col-slate);
    font-size: 0.9rem;
    text-decoration: none;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
    color: var(--col-electric-blue);
}

/* 6. HERO SECTION */
.section--hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: calc(var(--header-height) * -1); 
    padding-top: var(--header-height);
    overflow: hidden;
    background-color: var(--col-bg-white);
}

.hero-bg-image {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 50%;
    background-image: url('http://metis.local/wp-content/uploads/2026/02/17839577-scaled.jpg'); 
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 55%; 
    background: linear-gradient(90deg, var(--col-bg-white) 15%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 55%; 
    padding-right: 2rem;
}

.hero-text { font-size: 1.15rem; margin-bottom: 2.5rem; }

/* Hero Micro-copy */
.micro-copy {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--col-slate-light);
    display: flex; align-items: center; gap: 0.75rem;
}
.micro-line { width: 24px; height: 1px; background: var(--col-slate-light); opacity: 0.5; }

@media (max-width: 900px) {
    .hero-bg-image { width: 100%; opacity: 0.15; } 
    .hero-bg-overlay { display: none; }
    .hero-content { width: 100%; text-align: center; padding-right: 0; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .micro-copy { justify-content: center; }
}

/* 7. CARDS & GRID */
.grid-3 {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
    margin-top: var(--space-md);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md); 
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.card-icon {
    width: 48px; height: 48px; background: var(--col-bg-light-slate);
    border-radius: 10px; margin-bottom: 1.5rem; display: flex;
    align-items: center; justify-content: center; color: var(--col-electric-blue);
    font-size: 1.5rem;
}

@media (max-width: 768px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .grid-2 { grid-template-columns: 1fr; } }

.tool-finder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
}

.tool-finder-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0,0,0,0.04);
}

.tool-finder-card .card-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.tool-finder-card p { margin-bottom: 0; }

/* Table of Contents / Nav Lists */
.toc-card {
    display: inline-block;
    padding: 1.5rem 2rem;
    margin-top: 1rem;
}

.toc-list {
    list-style: none;
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* 8. ACCORDION */
.accordion-wrapper { 
    max-width: 800px; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion {
    background: var(--col-bg-white); 
    border: 1px solid var(--col-border);
    border-radius: var(--radius-md); 
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: box-shadow 0.2s;
}

.accordion:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

.accordion button {
    width: 100%; 
    text-align: left; 
    padding: 1.75rem 2.5rem;
    background: none; 
    border: none;
    font-size: 1.2rem; 
    font-weight: 600; 
    color: var(--col-ink);
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    cursor: pointer; 
    font-family: var(--font-stack);
    transition: background-color 0.2s, color 0.2s;
}

.accordion button:hover { 
    background-color: #F8FAFC; 
    color: var(--col-electric-blue);
}

.accordion-panel {
    padding: 0 2.5rem; 
    height: 0; 
    overflow: hidden; 
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #fff;
    max-width: 720px;
}

.accordion-panel[aria-hidden="false"] {
    height: auto; 
    padding-bottom: 2rem; 
    opacity: 1;
}

.icon-indicator {
    width: 32px; height: 32px;
    border-radius: 50%; 
    background: var(--col-bg-light-slate); 
    display: flex; 
    align-items: center; justify-content: center;
    font-size: 1.1rem; 
    color: var(--col-slate);
    transition: transform 0.2s, background 0.2s;
    flex-shrink: 0;
}

button[aria-expanded="true"] .icon-indicator {
    transform: rotate(45deg); 
    background: var(--col-electric-blue); color: white;
}

/* 9. CTA COMPONENTS */
.trust-badge {
    display: inline-block; padding: 0.35rem 1rem; 
    background: var(--col-bg-white); border-radius: 100px;
    font-size: 0.85rem; font-weight: 700; color: var(--col-ink);
    margin-bottom: var(--space-sm); border: 1px solid var(--col-border);
}

.cta-wrapper {
    display: flex; flex-direction: column; align-items: center;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.micro-copy-text {
    margin-top: 1rem; font-size: 0.85rem; color: var(--col-slate-light); font-weight: 500;
}

.cta-box {
    background: var(--col-bg-white); 
    border: 1px solid var(--col-border); border-radius: var(--radius-lg); 
    padding: 4rem 2rem; max-width: 800px; margin: 0 auto;
    position: relative; overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-subtle);
}

/* 10. FORMS */
.form-group { margin-bottom: 1.5rem; width: 100%; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.95rem; }
.form-input, .form-textarea {
    width: 100%; padding: 0.85rem; border-radius: var(--radius-sm);
    border: 1px solid var(--col-border); background: #fff;
    font-family: var(--font-stack); font-size: 1rem;
    transition: border 0.2s;
}
.form-textarea { min-height: 150px; resize: vertical; }
.form-input:focus, .form-textarea:focus {
    border-color: var(--col-border-focus); outline: none;
}

/* 11. BLOG */
.blog-meta {
    font-size: 0.85rem; color: var(--col-slate-light); margin-bottom: 0.5rem; 
    text-transform: uppercase; letter-spacing: 0.05em;
}

/* 12. FOOTER */
.site-footer {
    background-color: var(--col-bg-white); padding: var(--space-lg) 0;
    border-top: 1px solid var(--col-border); font-size: 0.95rem;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem; margin-bottom: 3rem;
}
.footer-logo { font-weight: 800; font-size: 1.25rem; color: var(--col-ink); }
.footer-desc { margin-top: 1rem; font-size: 0.9rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.85rem; }
.footer-col a { text-decoration: none; color: var(--col-slate); transition: color 0.2s; }
.footer-col a:hover { color: var(--col-electric-blue); }
.footer-col h4 { margin-bottom: 1rem; }

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05); padding-top: 1.5rem;
    color: var(--col-slate-light); font-size: 0.85rem;
}

/* 13. UTILS & HELPERS */
#back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    background: var(--col-bg-white); color: var(--col-ink);
    border: 1px solid var(--col-border); padding: 0.75rem 1.25rem;
    border-radius: 50px; cursor: pointer; opacity: 0; pointer-events: none;
    transition: opacity 0.3s; box-shadow: var(--shadow-subtle);
    font-weight: 600; z-index: 100;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { border-color: var(--col-electric-blue); color: var(--col-electric-blue); }

/* Section Title & Text helpers */
.section-title { margin-bottom: var(--space-sm); }
.section-text { max-width: 65ch; margin-bottom: var(--space-md); color: var(--col-slate); }

/* =========================================
   14. MOBILE NAVIGATION & REFINEMENTS
   ========================================= */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 36px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--col-ink);
    border-radius: 2px;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    transform-origin: left center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(0px, -1px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(0px, 1px);
}

@media (max-width: 768px) {

    .site-header .container {
        width: 100%;
        max-width: none;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .header-inner { 
        justify-content: flex-start;
    }

    .logo {
        margin-right: auto;
    }

    .site-header nav {
        width: 0;
        height: 0;
        margin: 0;
        padding: 0;
    }

    .nav-toggle {
        display: flex;
        margin: 0;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--col-bg-white);
        padding: var(--space-md) var(--space-sm);
        border-bottom: 1px solid var(--col-border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        gap: 0;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .nav-list.nav-list--open {
        display: flex;
        animation: slideDown 0.2s ease-out forwards;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--col-border);
    }
    .nav-list li:last-child { border-bottom: none; }

    .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-item--dropdown { position: static; }

    .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background-color: var(--col-bg-light-slate);
        padding: 0;
        margin-bottom: 0.5rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        pointer-events: auto;
    }

    .nav-item--dropdown.dropdown-open > .dropdown-menu {
        display: block;
        animation: fadeIn 0.2s ease;
    }

    .dropdown-menu a {
        padding: 0.75rem 1rem 0.75rem 1.5rem;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }

    .toc-card {
        display: block;
        padding: 1.25rem 1rem;
        overflow-x: auto;
    }

    .toc-list {
        flex-direction: column;
        gap: 1rem;
    }

    .toc-list a {
        white-space: nowrap;
        font-size: 0.9rem;
        display: block;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .cta-group .btn {
        white-space: nowrap;
        width: 100%;
    }
}

/* Animations */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 600px) {
    :root {
        --space-md: 2rem; 
        --space-lg: 3.5rem;
        --space-xl: 5rem;
        --base-size: 17px;
    }

    .section { padding: var(--space-lg) 0; }
    .section--spacious { padding: var(--space-xl) 0; }

    .section--hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 3rem);
        padding-bottom: 3rem;
    }
    .hero-content { text-align: left; }
    .hero-bg-image { opacity: 0.1; }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    
    .site-footer { padding: var(--space-md) 0; }
    .footer-grid { gap: 2rem; margin-bottom: 2rem; }
    
    .grid-3, .grid-2 { gap: 1.5rem; }
    
    .btn { width: 100%; } 
}

/* =========================================
   15. WORDPRESS SPECIFIC OVERRIDES
   ========================================= */

/* Remove default WP margins on admin bar */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Elementor full-width compatibility */
.elementor-page .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.admin-bar.elementor-page .site-header {
    top: 32px;
}

/* WordPress alignment classes */
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin: 0 auto; }
.alignwide { max-width: 1200px; }
.alignfull { max-width: 100%; }

/* WordPress comment & post defaults */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: var(--col-slate-light); }
.sticky { /* WP sticky post */ }
.bypostauthor { /* WP by post author */ }

/* Gallery block */
.wp-block-gallery { margin: var(--space-sm) 0; }

/* Elementor widget overrides to match theme */
.elementor-widget-heading .elementor-heading-title {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--col-ink);
}

.elementor-widget-text-editor p {
    color: var(--col-slate);
    line-height: var(--line-height);
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* =========================================
   Fix Logo Size & Header Layout
   ========================================= */

/* 1. Constrain the Logo Image Size */
.site-header .custom-logo-link img,
.site-header .custom-logo {
    max-width: 180px; /* Adjust this number to make it bigger/smaller */
    height: auto;     /* Maintains aspect ratio */
    width: auto;      /* Prevents stretching */
    display: block;   /* Removes extra space below image */
}

/* 2. Ensure Header Alignment */
.header-inner {
    display: flex;
    align-items: center; /* Vertically centers the logo with the menu */
    justify-content: space-between; /* Pushes logo to left, menu to right */
    padding-top: 15px;
    padding-bottom: 15px;
}

/* 3. Fix "Sticky" Issue (Optional) */
/* If your header is covering the screen because the logo made it tall */
.site-header {
    background-color: #fff; /* Ensure it has a background */
    z-index: 1000;          /* Keep it on top */
}