*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --bg:#f7f3ee;
    --white:#ffffff;
    --dark:#101826;
    --dark-soft:#1e293b;
    --text:#5f6773;
    --text-light:#7b8494;
    --gold:#c6a56b;
    --gold-dark:#a9884f;
    --gold-soft:#ead8b6;
    --line:rgba(255,255,255,0.18);
    --overlay:rgba(8,12,20,0.58);
    --shadow:0 20px 60px rgba(16,24,38,0.14);
    --shadow-lg:0 30px 90px rgba(15,23,42,0.18);
    --container:1280px;
    --content-width:840px;
}

html{
    scroll-behavior:smooth;
}

html,
body{
    max-width:100%;
    overflow-x:hidden;
}

body{
    font-family:'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(231,214,186,0.18), transparent 28%),
        radial-gradient(circle at bottom right, rgba(198,165,107,0.08), transparent 30%),
        var(--bg);
    color:var(--dark);
    line-height:1.7;
    overflow-x:hidden;
}

img,
iframe{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

h1,h2,h3,h4{
    font-family:'Cormorant Garamond', serif;
    font-weight:700;
    line-height:1.1;
}

section,
div,
article,
aside,
main,
header,
footer,
nav{
    max-width:100%;
}

#progress-bar{
    position:fixed;
    top:0;
    left:0;
    width:0%;
    height:4px;
    background:linear-gradient(90deg,var(--gold),#ecd7b0);
    z-index:3000;
}

/* Nav */
nav{
    position:fixed;
    top:18px;
    left:50%;
    transform:translateX(-50%);
    width:min(92%, var(--container));
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 28px;
    border-radius:20px;
    background:rgba(16,24,38,0.22);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border:1px solid var(--line);
    z-index:2500;
    transition:all .35s ease;
    box-shadow:0 10px 35px rgba(0,0,0,0.08);
}

nav.scrolled{
    top:10px;
    background:rgba(16,24,38,0.84);
    box-shadow:var(--shadow-lg);
}

.logo{
    position:relative;
    z-index:2600;
    display:inline-flex;
    align-items:center;
}

.logo img{
    width:100px;
    height:auto;
}

.nav-links{
    display:flex;
    align-items:center;
}

.nav-links ul{
    margin:0;
    padding:0;
    list-style:none;
}

.nav-links ul li{
    display:inline-block;
    margin:0 14px;
}

.nav-links ul li a{
    color:#fff;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1.8px;
    font-weight:500;
    position:relative;
    padding-bottom:6px;
}

.nav-links ul li a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:2px;
    background:var(--gold);
    transition:width .35s ease;
}

.nav-links ul li a:hover::after,
.nav-links ul li a.active::after{
    width:100%;
}

.nav-actions{
    display:flex;
    align-items:center;
    gap:16px;
    position:relative;
    z-index:2600;
}

.nav-book-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 20px;
    border-radius:999px;
    background:var(--gold);
    color:#fff;
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
    transition:.3s ease;
    box-shadow:0 14px 30px rgba(198,165,107,0.25);
}

.nav-book-btn:hover{
    background:var(--gold-dark);
    transform:translateY(-2px);
}

nav .fa{
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.45);
    opacity:0;
    visibility:hidden;
    transition:.3s ease;
    z-index:1900;
}

.menu-overlay.active{
    opacity:1;
    visibility:visible;
}

.menu-toggle{
    display:none;
    background:none;
    border:none;
    color:#fff;
    cursor:pointer;
    font-size:24px;
    padding:6px;
}

.menu-close{
    display:none;
    position:absolute;
    top:24px;
    right:22px;
    background:none;
    border:none;
    color:#fff;
    cursor:pointer;
    font-size:28px;
    z-index:2700;
}

/* Hero */
.post-hero{
    min-height:72vh;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 50% 30%, rgba(255,255,255,0.09), transparent 34%),
        linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0.28));
    pointer-events:none;
}

.post-hero-inner{
    position:relative;
    z-index:5;
    width:90%;
    max-width:980px;
    text-align:center;
    color:#fff;
    padding-top:90px;
}

.breadcrumb-line{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin-bottom:20px;
    color:rgba(255,255,255,0.84);
    font-size:13px;
    letter-spacing:.3px;
}

.breadcrumb-line a{
    color:rgba(255,255,255,0.88);
    transition:color .25s ease;
}

.breadcrumb-line a:hover{
    color:var(--gold-soft);
}

.post-meta{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:18px;
    color:var(--gold-soft);
    font-size:14px;
    font-weight:500;
}

.post-meta i{
    margin-right:6px;
}

.post-hero h1{
    font-size:72px;
    margin-bottom:16px;
    color:#fff;
    text-shadow:0 12px 40px rgba(0,0,0,0.28);
}

.post-hero p{
    max-width:780px;
    margin:0 auto;
    font-size:18px;
    color:rgba(255,255,255,0.92);
}

/* Layout */
.post-shell,
.cta-section{
    width:92%;
    max-width:var(--container);
    margin:0 auto;
}

.post-shell{
    padding:70px 0 35px;
}

.cta-section{
    padding:35px 0 110px;
}

.post-layout{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 320px;
    gap:30px;
    align-items:start;
}

.post-main{
    min-width:0;
}

.post-back{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:var(--gold-dark);
    font-size:15px;
    font-weight:600;
    margin-bottom:22px;
    transition:gap .25s ease, color .25s ease;
}

.post-back:hover{
    gap:14px;
    color:var(--dark);
}

.post-card{
    background:rgba(255,255,255,0.95);
    border-radius:32px;
    padding:38px;
    box-shadow:var(--shadow);
    border:1px solid rgba(255,255,255,0.75);
    overflow:hidden;
}

.post-top-meta{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:24px;
    padding-bottom:18px;
    border-bottom:1px solid rgba(16,24,38,0.08);
    color:var(--text-light);
    font-size:14px;
}

.post-top-meta i{
    color:var(--gold);
    margin-right:6px;
}

.post-content{
    color:var(--dark);
    font-size:17px;
    line-height:1.9;
    word-wrap:break-word;
    overflow-wrap:break-word;
}

.post-content > *:first-child{
    margin-top:0;
}

.post-content > *:last-child{
    margin-bottom:0;
}

.post-content h2{
    font-size:46px;
    margin:34px 0 14px;
    color:var(--dark);
}

.post-content h3{
    font-size:34px;
    margin:28px 0 12px;
    color:var(--dark);
}

.post-content h4{
    font-size:26px;
    margin:24px 0 10px;
    color:var(--dark);
}

.post-content p,
.post-content ul,
.post-content ol,
.post-content blockquote,
.post-content table{
    margin-bottom:18px;
}

.post-content ul,
.post-content ol{
    padding-left:22px;
}

.post-content li{
    margin-bottom:10px;
}

.post-content a{
    color:var(--gold-dark);
    text-decoration:underline;
    text-underline-offset:3px;
}

.post-content a:hover{
    color:var(--dark);
}

.post-content img{
    width:100%;
    border-radius:24px;
    margin:28px 0;
    box-shadow:0 18px 45px rgba(16,24,38,0.12);
}

.post-content blockquote{
    padding:22px 24px;
    border-left:4px solid var(--gold);
    background:rgba(198,165,107,0.08);
    border-radius:18px;
    color:var(--dark-soft);
    font-style:italic;
}

.post-content table{
    width:100%;
    border-collapse:collapse;
    overflow:hidden;
    border-radius:18px;
    font-size:15px;
}

.post-content table th,
.post-content table td{
    padding:14px 16px;
    border:1px solid rgba(16,24,38,0.08);
    text-align:left;
}

.post-content table th{
    background:#f8f3ea;
    color:var(--dark);
}

/* Sidebar */
.post-sidebar{
    display:flex;
    flex-direction:column;
    gap:22px;
    position:sticky;
    top:110px;
}

.sidebar-card{
    background:rgba(255,255,255,0.92);
    border-radius:26px;
    padding:28px 24px;
    box-shadow:var(--shadow);
    border:1px solid rgba(255,255,255,0.72);
}

.sidebar-label{
    display:inline-block;
    margin-bottom:12px;
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:12px;
    font-weight:700;
}

.sidebar-card h3{
    font-size:30px;
    margin-bottom:12px;
}

.sidebar-card p{
    color:var(--text);
    font-size:15px;
}

.sidebar-links{
    list-style:none;
    margin:0;
    padding:0;
}

.sidebar-links li{
    margin-bottom:12px;
}

.sidebar-links li:last-child{
    margin-bottom:0;
}

.sidebar-links a{
    color:var(--dark);
    font-weight:500;
    transition:color .25s ease, transform .25s ease;
    display:inline-block;
}

.sidebar-links a:hover{
    color:var(--gold-dark);
    transform:translateX(3px);
}

/* Comments */
.comments-section{
    margin-top:30px;
}

.comments-card{
    background:rgba(255,255,255,0.95);
    border-radius:32px;
    padding:34px;
    box-shadow:var(--shadow);
    border:1px solid rgba(255,255,255,0.75);
}

.comments-card h2{
    font-size:42px;
    margin-bottom:10px;
}

.comments-intro{
    color:var(--text);
    margin-bottom:24px;
    font-size:15px;
}

.comment-message{
    border-radius:16px;
    padding:14px 16px;
    margin-bottom:18px;
    font-size:14px;
    font-weight:500;
}

.comment-message.success{
    background:rgba(34,197,94,0.12);
    color:#166534;
    border:1px solid rgba(34,197,94,0.22);
}

.comment-message.error{
    background:rgba(239,68,68,0.10);
    color:#991b1b;
    border:1px solid rgba(239,68,68,0.20);
}

.comment-form{
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-bottom:32px;
}

.comment-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.comment-form label{
    display:block;
    font-size:14px;
    font-weight:600;
    margin-bottom:8px;
    color:var(--dark);
}

.comment-form input,
.comment-form textarea{
    width:100%;
    padding:16px 18px;
    border:1px solid rgba(16,24,38,0.12);
    border-radius:16px;
    font-size:15px;
    font-family:'Inter', sans-serif;
    background:#fff;
    color:var(--dark);
    outline:none;
    transition:border-color .25s ease, box-shadow .25s ease;
}

.comment-form input:focus,
.comment-form textarea:focus{
    border-color:#2867ff;
    box-shadow:0 0 0 4px rgba(40,103,255,0.08);
}

.comment-form textarea{
    resize:vertical;
    min-height:180px;
}

.honeypot-wrap{
    position:absolute !important;
    left:-9999px !important;
    opacity:0;
    pointer-events:none;
}

.comments-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.no-comments{
    color:var(--text);
    font-size:15px;
}

.comment-item{
    padding:20px 22px;
    border-radius:22px;
    background:#fcfaf7;
    border:1px solid rgba(16,24,38,0.06);
}

.comment-author{
    font-weight:700;
    color:var(--dark);
    margin-bottom:4px;
}

.comment-date{
    color:var(--text-light);
    font-size:13px;
    margin-bottom:10px;
}

.comment-text{
    color:var(--text);
    font-size:15px;
    line-height:1.8;
}

/* CTA */
.cta-box{
    text-align:center;
    background:linear-gradient(180deg, #ffffff, #fbf8f3);
    border-radius:32px;
    padding:70px 35px;
    box-shadow:var(--shadow-lg);
    border:1px solid rgba(255,255,255,0.7);
}

.cta-box span{
    display:inline-block;
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:13px;
    font-weight:600;
    margin-bottom:12px;
}

.cta-box h2{
    font-size:56px;
    margin-bottom:16px;
}

.cta-box p{
    color:var(--text);
    font-size:17px;
    max-width:760px;
    margin:0 auto 28px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
}

.hero-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 32px;
    border-radius:999px;
    background:var(--gold);
    color:#fff;
    border:1px solid var(--gold);
    font-size:14px;
    font-weight:600;
    transition:.35s ease;
    box-shadow:0 18px 35px rgba(0,0,0,0.15);
    cursor:pointer;
}

.hero-btn:hover{
    background:var(--gold-dark);
    border-color:var(--gold-dark);
    transform:translateY(-3px);
}

.hero-btn-secondary{
    background:transparent;
    border:1px solid rgba(17,24,39,0.16);
    color:var(--dark);
}

.hero-btn-secondary:hover{
    background:var(--dark);
    color:#fff;
    border-color:var(--dark);
}

.dark-outline{
    color:var(--dark);
}

/* Footer */
.footer{
    background:#0f1724;
    padding:90px 20px 45px;
}

.footer-inner{
    max-width:900px;
    margin:0 auto;
    text-align:center;
}

.footer-inner h2{
    color:#fff;
    font-size:48px;
    margin-bottom:12px;
}

.footer-inner p{
    color:rgba(255,255,255,0.72);
    margin-bottom:20px;
}

.icons{
    margin:26px 0 18px;
}

.icons a{
    width:52px;
    height:52px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    margin:0 8px;
    background:rgba(255,255,255,0.08);
    color:var(--gold);
    font-size:18px;
    transition:.35s ease;
}

.icons a:hover{
    background:var(--gold);
    color:#fff;
    transform:translateY(-4px);
}

.footer-text{
    font-size:14px;
    color:rgba(255,255,255,0.55);
}

/* Reveal */
.reveal{
    opacity:0;
    transform:translateY(45px);
    transition:all .85s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* Back to top */
#backToTop{
    position:fixed;
    right:24px;
    bottom:24px;
    width:52px;
    height:52px;
    border:none;
    border-radius:50%;
    background:var(--gold);
    color:#fff;
    font-size:22px;
    box-shadow:var(--shadow);
    cursor:pointer;
    opacity:0;
    visibility:hidden;
    transition:.35s ease;
    z-index:2200;
}

#backToTop.show{
    opacity:1;
    visibility:visible;
}

#backToTop:hover{
    background:var(--gold-dark);
    transform:translateY(-3px);
}

/* Responsive */
@media (max-width: 1100px){
    .post-layout{
        grid-template-columns:1fr;
    }

    .post-sidebar{
        position:static;
    }

    .post-hero h1{
        font-size:60px;
    }

    .cta-box h2{
        font-size:44px;
    }
}

@media (max-width: 768px){
    nav{
        width:94%;
        padding:14px 16px;
        border-radius:18px;
    }

    .logo img{
        width:78px;
    }

    .nav-book-btn{
        display:none;
    }

    .menu-toggle{
        display:inline-flex;
        align-items:center;
        justify-content:center;
    }

    .menu-close{
        display:block;
    }

    .nav-actions{
        display:flex;
        align-items:center;
        gap:12px;
    }

    .nav-links{
        position:fixed;
        top:0;
        right:-100%;
        width:78%;
        max-width:320px;
        height:100vh;
        background:rgba(15,23,42,0.98);
        box-shadow:-10px 0 30px rgba(0,0,0,0.3);
        transition:right .35s ease;
        z-index:2300;
        padding:90px 28px 30px;
        display:flex;
        flex-direction:column;
        justify-content:flex-start;
        align-items:flex-start;
    }

    .nav-links.active{
        right:0;
    }

    .nav-links ul{
        padding:0;
        margin:0;
        width:100%;
    }

    .nav-links ul li{
        display:block;
        margin:0 0 22px 0;
    }

    .nav-links ul li a{
        display:inline-block;
        font-size:14px;
        letter-spacing:2px;
        color:#fff;
    }

    .post-hero-inner{
        width:92%;
        padding-top:80px;
    }

    .post-hero h1{
        font-size:42px;
    }

    .post-hero p{
        font-size:16px;
    }

    .post-shell{
        padding:45px 0 25px;
    }

    .post-card,
    .comments-card,
    .sidebar-card{
        padding:24px;
    }

    .post-content{
        font-size:16px;
    }

    .post-content h2{
        font-size:34px;
    }

    .post-content h3{
        font-size:28px;
    }

    .post-content h4{
        font-size:22px;
    }

    .comment-grid{
        grid-template-columns:1fr;
    }

    .cta-box{
        padding:50px 22px;
    }

    .cta-box h2{
        font-size:34px;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
    }

    .hero-btn{
        width:100%;
        max-width:310px;
    }

    .footer-inner h2{
        font-size:38px;
    }
}

@media (max-width: 480px){
    .post-hero h1{
        font-size:36px;
    }

    .post-card,
    .comments-card,
    .sidebar-card,
    .cta-box{
        padding:20px;
    }

    .post-content h2{
        font-size:30px;
    }

    .post-content h3{
        font-size:24px;
    }

    .cta-box h2{
        font-size:30px;
    }

    #backToTop{
        right:16px;
        bottom:16px;
        width:46px;
        height:46px;
    }
}
