@font-face {
    font-family: 'Hangbird';
    src: url('../../fonts/fonts/Mika Melvas - Hangbird Regular (3).otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../../fonts/fonts/AvenirNextCyr-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../../fonts/fonts/AvenirNextCyr-UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../../fonts/fonts/AvenirNextCyr-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../../fonts/fonts/AvenirNextCyr-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../../fonts/fonts/AvenirNextCyr-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../../fonts/fonts/AvenirNextCyr-Demi.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Avenir Next Cyr';
    src: url('../../fonts/fonts/AvenirNextCyr-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --cream: #FAF6F0;
    --ivory: #F5EDE3;
    --gold: #C5A255;
    --gold-light: #D4B96E;
    --gold-dark: #A88832;
    --deep-red: #8B1A2B;
    --blush: #F0D9CF;
    --charcoal: #2A2A2A;
    --warm-gray: #6B6360;
    --light-gray: #B5ADA8;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Avenir Next Cyr', 'Avenir', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Avenir Next Cyr', 'Avenir', sans-serif; }

/* ─── Site navigation ─── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 60px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250, 246, 240, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

nav.breadcrumb {
    position: static;
    display: block;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    z-index: auto;
}

.nav-logo {
    font-family: 'Hangbird', serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--gold-dark);
    text-decoration: none;
}

.nav-right { display: flex; align-items: center; gap: 24px; }

.nav-links { display: flex; gap: 36px; list-style: none; }

.nav-links a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--warm-gray);
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--deep-red); }

.nav-order-item { display: none; }

.nav-order-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gold-dark);
    transition: color 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-order-text:hover { color: var(--deep-red); }

.lang-links { display: flex; gap: 8px; align-items: center; }

.lang-links a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--light-gray);
    transition: color 0.3s;
    padding: 4px 6px;
    border-radius: 3px;
}

.lang-links a.active {
    color: var(--gold-dark);
    border: 1px solid rgba(168, 136, 50, 0.3);
}

.lang-links a:hover { color: var(--gold-dark); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--warm-gray);
    transition: transform 0.3s, opacity 0.3s;
}

.nav-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-order-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(197, 162, 85, 0.35);
}

.nav-order-text { display: none; }

.fixed-order-btn {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    padding: 14px 28px;
    background: var(--gold);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
}

.fixed-order-btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

/* ─── Page shell ─── */
.blog-page,
.article-page {
    padding: 120px 60px 80px;
    background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
    min-height: calc(100vh - 72px);
}

.blog-main,
.article-main {
    max-width: 960px;
    margin: 0 auto;
}

.article-main { max-width: 780px; }

/* ─── Breadcrumbs (content area, not site header) ─── */
.breadcrumb-bar {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(197, 162, 85, 0.2);
}

.breadcrumb ol {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--light-gray);
    flex-wrap: wrap;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--gold);
}

.breadcrumb a {
    color: var(--warm-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--gold-dark); }

.breadcrumb li[aria-current="page"] {
    color: var(--warm-gray);
}

.section-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.arabesque-border {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto 24px;
    position: relative;
}

.arabesque-border::before {
    content: '\2726';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: var(--gold);
    background: var(--ivory);
    padding: 0 8px;
}

.read-time::before { content: '\00b7'; margin-right: 0.25rem; }

/* ─── Site footer ─── */
footer.site-footer {
    background: var(--charcoal);
    padding: 48px 60px;
    text-align: center;
    color: #EDE9E5;
}

.footer-logo {
    font-family: 'Hangbird', serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 3px;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    font-style: italic;
    color: #DCD8D4;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #EDE9E5;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-socials a {
    color: #EDE9E5;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-socials a:hover { color: var(--gold-light); }

.footer-copy {
    font-size: 12px;
    color: #CAC6C2;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    #navbar { padding: 0 24px; }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 246, 240, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: 32px 0;
        gap: 24px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }

    .nav-links.open { display: flex; }
    .nav-order-item { display: list-item; }
    .nav-order-text { display: none; }
    .nav-toggle { display: flex; }
    .nav-order-btn { display: none; }
    .fixed-order-btn { display: inline-flex; align-items: center; justify-content: center; }

    .blog-page,
    .article-page { padding: 96px 24px 60px; }

    footer.site-footer { padding: 40px 24px; }
}
