/**
 * Arketipya Luxury Header & Universal Navigation Stylesheet
 * Obsidian & Parchment Edition: Dark Editorial Brutalism, Hairline Borders, 0px Radius
 * Palette: Obsidian (#0B0C0E), Basalt (#131518), Card (#181A1F), Parchment (#E6E4DD), Gold (#C9A86A)
 */

/* ── Typography & Variables ── */
:root {
    /* Palette: Obsidian & Parchment */
    --arkh-bg-base: #0B0C0E;        /* Deep Obsidian Base */
    --arkh-bg-panel: #131518;       /* Basalt Panel */
    --arkh-bg-card: #181A1F;        /* Dropdown & Modal Card */
    --arkh-bg-input: #101215;       /* Input Box Background */
    --arkh-bg-hover: #20232A;       /* Subtle Item Hover */
    
    --arkh-border-hairline: #262930; /* Hairline Border */
    --arkh-border-subtle: #1F2228;   /* Subtle Separator */
    --arkh-border-light: #323640;    /* Hover / Active Border */
    --arkh-border-dark: #3E4350;     /* Strong Card Border */
    --arkh-border-gold: #C9A86A;     /* Muted Gold Accent Border */

    --arkh-text-primary: #E6E4DD;   /* Antique Parchment Primary Text */
    --arkh-text-muted: #9BA0AA;     /* Muted Secondary Text */
    --arkh-text-dim: #686D77;       /* Dim Telemetry Text */
    --arkh-accent-gold: #C9A86A;    /* Mystic Gold Accent */

    /* Monochromatic mapping */
    --arkh-black: #0B0C0E;
    --arkh-white: #E6E4DD;
    --arkh-bone: #181A1F;
    --arkh-gray-light: #20232A;
    
    --arkh-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --arkh-font-serif: 'Cormorant Garamond', Garamond, Georgia, serif;
    --arkh-font-mono: 'Space Mono', 'Courier New', monospace;
    --arkh-header-height: 64px;
}

/* ── Universal Site-Wide Theme Container Unbox & Full-Width Reset ── */
html,
body {
    background: #0A0A0A !important;
    background-color: #0A0A0A !important;
    color: #E6E4DD !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

#page,
.site,
.ast-container,
.ast-plain-container,
.ast-separate-container,
.ast-page-builder-template,
.site-content,
.entry-content,
.content-area,
.wp-site-blocks,
main,
#primary,
#main,
.ast-article-single,
.ast-article-post {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    outline: none !important;
}

.ast-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.entry-header,
.ast-archive-description,
.ast-breadcrumbs-wrapper {
    display: none !important;
}

/* ── Universal Site-Wide Theme Header Suppression ── */
header.site-header:not(#arkh-site-header),
#masthead:not(#arkh-site-header),
.site-header:not(#arkh-site-header),
.main-header-bar,
.ast-main-header-wrap,
#ast-mobile-header,
.ast-mobile-header-wrap,
.elementor-location-header,
.ark-header:not(#arkh-site-header) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ── Base Header Container (Obsidian & Parchment) ── */
.arkh-site-header {
    display: block !important;
    visibility: visible !important;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--arkh-header-height);
    background-color: var(--arkh-bg-base);
    border-bottom: 1px solid var(--arkh-border-hairline);
    z-index: 99999;
    box-sizing: border-box;
    font-family: var(--arkh-font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sticky Mode with Obsidian Blur & Subtle Gold Hairline */
.arkh-site-header.arkh-sticky,
.is-mobile-app .arkh-site-header {
    position: sticky !important;
    top: 0 !important;
    background-color: rgba(11, 12, 14, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(201, 168, 106, 0.22) !important;
    z-index: 99999 !important;
}

/* Compensate WordPress Admin Bar */
body.admin-bar .arkh-site-header.arkh-sticky {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .arkh-site-header.arkh-sticky {
        top: 46px;
    }
}

/* Header Content Wrapper */
.arkh-header-wrapper {
    max-width: 1380px;
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

/* ── 1. Left: Brand & Logo (Co-Star Framed Style) ── */
.arkh-header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.arkh-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--arkh-text-primary);
    transition: opacity 0.2s ease;
}

.arkh-brand-link:hover {
    opacity: 0.85;
}

/* Iconic Co-Star Framed Logo Badge */
.arkh-brand-framed {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--arkh-border-hairline);
    border-radius: 0px;
    padding: 5px 12px;
    background: var(--arkh-bg-panel);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.arkh-brand-link:hover .arkh-brand-framed {
    border-color: var(--arkh-accent-gold);
    background: var(--arkh-bg-card);
}

.arkh-brand-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--arkh-accent-gold);
    line-height: 1;
}

.arkh-monogram-svg {
    width: 20px;
    height: 20px;
    display: block;
    color: var(--arkh-accent-gold);
}

.arkh-brand-name {
    font-family: var(--arkh-font-serif);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--arkh-text-primary);
    line-height: 1;
}

.arkh-logo-img {
    max-height: 38px;
    height: auto;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ── 2. Center: Desktop Primary Navigation ── */
.arkh-header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    margin: 0 40px;
}

.arkh-nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.arkh-nav-item {
    position: relative;
    padding: 20px 0;
}

.arkh-nav-link,
.arkh-nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--arkh-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--arkh-text-primary);
    text-decoration: none;
    transition: color 0.15s ease;
    padding: 4px 0;
}

.arkh-chevron-icon {
    display: inline-flex;
    align-items: center;
    transition: transform 0.25s ease, color 0.25s ease;
    color: var(--arkh-text-dim);
}

.arkh-nav-item:hover .arkh-nav-link,
.arkh-nav-item:hover > a {
    color: var(--arkh-accent-gold);
}

.arkh-nav-item:hover .arkh-chevron-icon {
    transform: rotate(180deg);
    color: var(--arkh-accent-gold);
}

/* ── Desktop Dropdown Menus (Obsidian Editorial Slate) ── */
.arkh-dropdown-menu,
.arkh-nav-item .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 290px;
    background: var(--arkh-bg-card);
    border: 1px solid var(--arkh-border-hairline);
    border-radius: 0px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 1px rgba(201, 168, 106, 0.25);
    padding: 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.arkh-nav-item:hover > .arkh-dropdown-menu,
.arkh-nav-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.arkh-dropdown-menu li,
.arkh-nav-item .sub-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--arkh-border-subtle);
}

.arkh-dropdown-menu li:last-child,
.arkh-nav-item .sub-menu li:last-child {
    border-bottom: none;
}

.arkh-dropdown-menu a,
.arkh-nav-item .sub-menu a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--arkh-text-primary);
    transition: all 0.15s ease;
    background: var(--arkh-bg-card);
}

.arkh-dropdown-menu a strong,
.arkh-nav-item .sub-menu a {
    display: block;
    font-family: var(--arkh-font-serif);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--arkh-text-primary);
    transition: color 0.15s ease;
}

.arkh-dropdown-menu a small {
    display: block;
    font-family: var(--arkh-font-sans);
    font-size: 11px;
    font-weight: 400;
    color: var(--arkh-text-muted);
    margin-top: 3px;
    line-height: 1.4;
    transition: color 0.15s ease;
}

/* Inverted high-fashion hover */
.arkh-dropdown-menu a:hover,
.arkh-nav-item .sub-menu a:hover {
    background-color: var(--arkh-bg-hover);
    color: var(--arkh-accent-gold);
}

.arkh-dropdown-menu a:hover strong,
.arkh-nav-item .sub-menu a:hover {
    color: var(--arkh-accent-gold);
}

.arkh-dropdown-menu a:hover small {
    color: var(--arkh-text-primary);
}

/* ── 3. Right: Search & Kişisel Merkez CTA (Obsidian & Gold) ── */
.arkh-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* Search Trigger Button */
.arkh-search-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--arkh-text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.arkh-search-btn:hover {
    color: var(--arkh-accent-gold);
    transform: scale(1.08);
}

/* ── Auth CTA Group (Giriş Yap, Kayıt Ol, Kişisel Merkez, Çıkış Yap) ── */
.arkh-auth-group {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Kişisel Merkez & Kayıt Ol (Luxury Radiant Gold Sheen Button) */
.arkh-cta-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #D4AF37 !important;
    color: #050505 !important;
    border: 1px solid #D4AF37 !important;
    border-radius: 2px;
    padding: 9px 20px;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.18);
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1;
}

.arkh-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-25deg);
    transition: 0.75s ease;
    pointer-events: none;
}

.arkh-cta-btn:hover {
    background: #D4AF37 !important;
    border-color: #D4AF37 !important;
    color: #000000 !important;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.45) !important;
    transform: translateY(-1px);
}

.arkh-cta-btn:hover::after {
    left: 150%;
}

.arkh-cta-text {
    position: relative;
    z-index: 1;
    font-family: var(--arkh-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #050505 !important;
    line-height: 1;
}

.arkh-cta-btn:hover .arkh-cta-text {
    color: #000000 !important;
}

/* Giriş Yap Button (Ghost / Outline Obsidian Button) */
.arkh-btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--arkh-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0px;
    padding: 9px 18px;
    text-decoration: none;
    font-family: var(--arkh-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    transition: all 0.2s ease;
    cursor: pointer;
}

.arkh-btn-login:hover {
    border-color: var(--arkh-accent-gold);
    color: var(--arkh-accent-gold);
    background: rgba(201, 168, 106, 0.06);
    box-shadow: 0 0 12px rgba(201, 168, 106, 0.2);
}

/* Çıkış Yap Button (Minimalist Obsidian Outline) */
.arkh-btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #8E939E;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0px;
    padding: 9px 15px;
    text-decoration: none;
    font-family: var(--arkh-font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    transition: all 0.2s ease;
    cursor: pointer;
}

.arkh-btn-logout:hover {
    color: #F0ECE1;
    border-color: #5A606E;
    background: rgba(255, 255, 255, 0.04);
}

/* Mobile Toggle Hamburger */
.arkh-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.arkh-hamburger-line {
    width: 22px;
    height: 1.5px;
    background-color: var(--arkh-text-primary);
    transition: all 0.25s ease;
}

.arkh-mobile-toggle:hover .arkh-hamburger-line {
    background-color: var(--arkh-accent-gold);
}

/* ── 4. Search Modal Overlay (Obsidian & Parchment) ── */
.arkh-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 12, 14, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 100000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.arkh-search-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.arkh-search-container {
    width: 90%;
    max-width: 680px;
    margin: 0 auto;
}

.arkh-search-input-wrap {
    display: flex;
    align-items: center;
    background: var(--arkh-bg-card);
    border: 1px solid var(--arkh-border-dark);
    border-radius: 0px;
    padding: 6px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 168, 106, 0.08);
    transition: border-color 0.2s ease;
}

.arkh-search-input-wrap:focus-within {
    border-color: var(--arkh-accent-gold);
}

.arkh-search-icon-prefix {
    color: var(--arkh-accent-gold);
    display: flex;
    align-items: center;
    margin-right: 14px;
}

.arkh-search-input {
    width: 100%;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: var(--arkh-text-primary) !important;
    font-family: var(--arkh-font-sans);
    font-size: 16px;
    padding: 14px 0;
}

.arkh-search-input::placeholder {
    color: var(--arkh-text-dim);
}

.arkh-search-close-btn {
    background: transparent;
    border: none;
    color: var(--arkh-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.arkh-search-close-btn:hover {
    color: var(--arkh-accent-gold);
    transform: scale(1.1);
}

.arkh-search-hints {
    margin-top: 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
}

.arkh-hint-title {
    color: var(--arkh-text-dim);
    font-family: var(--arkh-font-mono);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.1em;
}

.arkh-hint-tag {
    color: var(--arkh-text-muted);
    background: var(--arkh-bg-panel);
    border: 1px solid var(--arkh-border-hairline);
    border-radius: 0px;
    padding: 5px 12px;
    font-family: var(--arkh-font-mono);
    font-size: 10.5px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.arkh-hint-tag:hover {
    background: var(--arkh-accent-gold);
    color: #0B0C0E;
    border-color: var(--arkh-accent-gold);
}

/* ── 5. Mobile Drawer (Obsidian & Parchment Full-Screen Luxury) ── */
.arkh-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--arkh-bg-panel);
    border-left: 1px solid var(--arkh-border-hairline);
    border-radius: 0px;
    z-index: 1000001;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
    overflow: hidden;
    visibility: hidden; /* Prevents offscreen horizontal scroll stretch */
    pointer-events: none;
}

.arkh-mobile-drawer.is-active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.arkh-drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: max(20px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)) 24px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.arkh-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--arkh-border-hairline);
}

.arkh-drawer-close-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--arkh-border-hairline);
    color: var(--arkh-text-primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 0px;
    flex-shrink: 0;
}

.arkh-drawer-close-btn:hover,
.arkh-drawer-close-btn:active {
    background: var(--arkh-accent-gold);
    color: #0B0C0E;
    border-color: var(--arkh-accent-gold);
}

.arkh-drawer-close-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    display: block;
}

.arkh-drawer-user-box {
    margin: 20px 0;
    padding: 18px;
    background: var(--arkh-bg-card);
    border: 1px solid var(--arkh-border-hairline);
    border-radius: 0px;
}

.arkh-user-welcome {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.arkh-user-tag {
    font-family: var(--arkh-font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--arkh-accent-gold);
    font-weight: 700;
    text-transform: uppercase;
}

.arkh-user-name {
    font-family: var(--arkh-font-serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--arkh-text-primary);
}

.arkh-drawer-user-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.arkh-user-hub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--arkh-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--arkh-accent-gold);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.arkh-user-hub-link:hover {
    opacity: 0.85;
}

.arkh-drawer-logout-link {
    font-family: var(--arkh-font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8E939E;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0px;
    transition: all 0.2s ease;
}

.arkh-drawer-logout-link:hover {
    color: #F0ECE1;
    border-color: #5A606E;
    background: rgba(255, 255, 255, 0.04);
}

.arkh-guest-welcome {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.arkh-guest-prompt {
    font-size: 12.5px;
    color: var(--arkh-text-muted);
    margin: 2px 0 10px 0;
}

.arkh-drawer-auth-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.arkh-drawer-btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--arkh-text-primary);
    font-family: var(--arkh-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
}

.arkh-drawer-btn-login:hover {
    border-color: var(--arkh-accent-gold);
    color: var(--arkh-accent-gold);
}

.arkh-drawer-btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: var(--arkh-accent-gold);
    color: #0B0C0E;
    border: 1px solid var(--arkh-accent-gold);
    font-family: var(--arkh-font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
}

.arkh-drawer-btn-register:hover {
    background: #E6E4DD;
    border-color: #E6E4DD;
}

.arkh-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.arkh-drawer-acc-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--arkh-text-primary);
    font-family: var(--arkh-font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 10px;
    cursor: pointer;
    border-radius: 0px;
    border-bottom: 1px solid var(--arkh-border-hairline);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.arkh-drawer-acc-btn:hover {
    background: var(--arkh-bg-card);
    color: var(--arkh-accent-gold);
}

.arkh-acc-chevron {
    transition: transform 0.25s ease, color 0.25s ease;
    color: var(--arkh-text-dim);
}

.arkh-drawer-accordion.is-open .arkh-acc-chevron {
    transform: rotate(180deg);
    color: var(--arkh-accent-gold);
}

.arkh-drawer-acc-content {
    display: none;
    flex-direction: column;
    padding: 8px 0 12px 14px;
    gap: 6px;
}

.arkh-drawer-accordion.is-open .arkh-drawer-acc-content {
    display: flex;
}

.arkh-drawer-acc-content a {
    color: var(--arkh-text-muted);
    text-decoration: none;
    font-family: var(--arkh-font-sans);
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 0px;
    transition: all 0.15s ease;
}

.arkh-drawer-acc-content a:hover {
    color: var(--arkh-accent-gold);
    background: var(--arkh-bg-card);
}

.arkh-drawer-footer {
    margin-top: auto;
    padding-top: 24px;
}

.arkh-drawer-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--arkh-accent-gold);
    color: #0B0C0E;
    border: 1px solid var(--arkh-accent-gold);
    border-radius: 0px;
    font-family: var(--arkh-font-mono);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 13px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.arkh-drawer-cta-btn:hover {
    background: #E6E4DD;
    border-color: #E6E4DD;
    color: #0B0C0E;
}

.arkh-drawer-footer-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.arkh-drawer-footer-logout-link {
    display: block;
    text-align: center;
    font-family: var(--arkh-font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8E939E;
    text-decoration: none;
    padding-top: 4px;
    transition: color 0.2s ease;
}

.arkh-drawer-footer-logout-link:hover {
    color: #F0ECE1;
}

.arkh-drawer-footer-auth-guest {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.arkh-drawer-footer-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--arkh-text-primary);
    font-family: var(--arkh-font-mono);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.arkh-drawer-footer-login-btn:hover {
    border-color: var(--arkh-accent-gold);
    color: var(--arkh-accent-gold);
}

.arkh-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
}

.arkh-drawer-backdrop.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ── Responsive Breakpoints ── */
@media screen and (max-width: 991px) {
    .arkh-header-nav {
        display: none !important;
    }

    .arkh-mobile-toggle {
        display: flex;
    }

    .arkh-header-wrapper {
        padding: 0 16px;
    }
}

@media screen and (max-width: 600px) {
    .arkh-auth-group {
        gap: 6px;
    }

    .arkh-cta-btn,
    .arkh-btn-login,
    .arkh-btn-logout {
        padding: 7px 11px;
    }

    .arkh-cta-text,
    .arkh-btn-login span,
    .arkh-btn-logout span {
        font-size: 9.5px;
        letter-spacing: 0.08em;
    }
}

@media screen and (max-width: 420px) {
    .arkh-auth-logged-in .arkh-btn-logout {
        display: none; /* Accessible in mobile drawer for tightest screens */
    }

    .arkh-cta-btn,
    .arkh-btn-login {
        padding: 6px 9px;
    }
}

/* ── 5. Universal Arketipya Luxury Footer (Obsidian & Gold) ── */
.arkh-site-footer {
    width: 100%;
    background-color: var(--arkh-bg-base, #0A0A0A);
    border-top: 1px solid rgba(197, 167, 117, 0.2);
    padding: 64px 24px 72px 24px;
    margin-top: auto;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

.arkh-footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.arkh-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    align-items: start;
}

.arkh-footer-col {
    display: flex;
    flex-direction: column;
}

.arkh-footer-heading {
    font-family: var(--arkh-font-serif, 'Cormorant Garamond', Garamond, Georgia, serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--arkh-accent-gold, #C9A86A);
    margin: 0 0 20px 0;
    letter-spacing: 0.02em;
}

.arkh-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.arkh-footer-links li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.arkh-footer-links a {
    font-family: var(--arkh-font-sans, 'Inter', -apple-system, sans-serif);
    font-size: 14.5px;
    color: #A89583;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
    line-height: 1.4;
}

.arkh-footer-links a:hover {
    color: #EAE5D9;
    transform: translateX(2px);
}

.arkh-footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.arkh-footer-logo-symbol {
    font-family: var(--arkh-font-serif, 'Cormorant Garamond', Garamond, Georgia, serif);
    font-size: 42px;
    color: #EAE5D9;
    line-height: 1;
    margin-bottom: 18px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.arkh-footer-copyright {
    font-family: var(--arkh-font-sans, 'Inter', -apple-system, sans-serif);
    font-size: 13px;
    color: #A89583;
    line-height: 1.6;
    margin: 0;
}

/* Hide default theme footers when Arketipya Footer is active */
.site-footer:not(#arkh-site-footer),
footer.entry-footer,
.ast-footer-overlay,
#colophon:not(#arkh-site-footer),
footer.site-footer {
    display: none !important;
}

/* Footer Responsive Breakpoints */
@media screen and (max-width: 900px) {
    .arkh-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media screen and (max-width: 540px) {
    .arkh-site-footer {
        padding: 48px 20px 60px 20px;
    }
    .arkh-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}