/* ========================================
   COLISEUM STUDIOS — BLOG POST PAGE
   Individual article view
   ======================================== */

/* =============================================
   POST HERO — Full-width featured image banner
   ============================================= */
.post-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-top: 60px; /* nav offset */
}

.post-hero-bg {
    position: absolute;
    inset: -40px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.1s linear;
}

.post-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(8, 8, 16, 0.80) 0%,
            rgba(8, 8, 16, 0.20) 25%,
            rgba(8, 8, 16, 0.10) 50%,
            rgba(8, 8, 16, 0.55) 75%,
            rgba(8, 8, 16, 0.95) 100%),
        radial-gradient(ellipse 80% 70% at 50% 50%,
            transparent 0%,
            rgba(8, 8, 16, 0.35) 100%);
}

.post-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 780px;
    padding: 100px 24px 50px;
    animation: fadeIn 1.2s ease-out;
}

.post-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.post-hero-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 3.5vw, 2.4rem);
    color: #E8F0C6;
    line-height: 1.3;
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

.post-hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 3;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(8, 8, 16, 0.5) 40%,
        #080810 100%);
    pointer-events: none;
}

/* Film grain */
.post-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* =============================================
   ARTICLE BODY SECTION
   ============================================= */
.post-body-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.post-body-bg {
    position: absolute;
    inset: 0;
    background: url('../images/pirate-scene.jpg?v=4') center center / cover no-repeat;
    z-index: 0;
    opacity: 0.05;
}

.post-body-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            #080810 0%,
            rgba(8, 8, 16, 0.96) 3%,
            rgba(8, 8, 16, 0.93) 50%,
            rgba(8, 8, 16, 0.96) 97%,
            #080810 100%);
}

/* =============================================
   ARTICLE — Typography & Content Styles
   ============================================= */
.post-article {
    position: relative;
    z-index: 5;
    max-width: 720px;
    margin: 0 auto;
    padding: 50px 24px 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.post-article.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Paragraphs */
.post-article p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(0.88rem, 1.6vw, 1rem);
    line-height: 1.8;
    color: rgba(225, 225, 225, 0.82);
    margin-bottom: 24px;
}

.post-article p em {
    color: rgba(200, 216, 160, 0.9);
    font-style: italic;
}

.post-article p strong {
    color: #E8F0C6;
    font-weight: 600;
}

/* Section headings */
.post-article h2 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(1.15rem, 2.5vw, 1.55rem);
    color: #E8F0C6;
    margin-top: 42px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(124, 252, 0, 0.15);
    text-shadow: 0 0 12px rgba(124, 252, 0, 0.1);
    letter-spacing: 0.03em;
}

/* Sub-headings */
.post-article h3 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: #c8d86a;
    margin-top: 34px;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
    text-shadow: 0 0 8px rgba(124, 252, 0, 0.08);
}

/* Blockquote */
.post-article blockquote {
    position: relative;
    margin: 36px 0;
    padding: 24px 28px 24px 32px;
    background: rgba(124, 252, 0, 0.04);
    border-left: 3px solid #7CFC00;
    border-radius: 0 4px 4px 0;
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: clamp(0.92rem, 1.8vw, 1.08rem);
    line-height: 1.7;
    color: #E8F0C6;
    font-style: italic;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    box-shadow:
        inset 0 0 20px rgba(124, 252, 0, 0.03),
        0 0 15px rgba(124, 252, 0, 0.04);
}

/* Figures / Images */
.post-figure {
    margin: 36px 0;
    padding: 0;
}

.post-figure img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid rgba(124, 252, 0, 0.15);
    display: block;
    transition: border-color 0.3s;
}

.post-figure img:hover {
    border-color: rgba(124, 252, 0, 0.35);
}

.post-figure figcaption {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.74rem;
    color: rgba(200, 200, 200, 0.5);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* Lists inside article */
.post-article ul,
.post-article ol {
    margin: 16px 0 24px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.86rem, 1.5vw, 0.96rem);
    line-height: 1.75;
    color: rgba(225, 225, 225, 0.78);
}

.post-article li {
    margin-bottom: 8px;
}

.post-article li::marker {
    color: #7CFC00;
}

/* =============================================
   POST FOOTER — Share & Navigation
   ============================================= */
.post-footer-nav {
    position: relative;
    z-index: 5;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.post-nav-divider {
    margin-bottom: 36px;
}

.post-nav-divider .dev-title-line {
    display: block;
    width: 100%;
    max-width: 100%;
}

/* Share buttons */
.post-share {
    text-align: center;
    margin-bottom: 40px;
}

.post-share-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    color: #c8c8c8;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.post-share-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.post-share-icons .social-icon {
    background: none;
    border: none;
    cursor: pointer;
}

/* Copy link tooltip */
.copy-link-btn {
    position: relative;
}

.copy-link-btn.copied::after {
    content: 'Copied!';
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #7CFC00;
    white-space: nowrap;
    animation: fadeIn 0.3s ease;
}

/* Prev / Next post links */
.post-prev-next {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-nav-placeholder {
    flex: 1;
}

.post-nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: rgba(14, 14, 28, 0.5);
    border: 1px solid rgba(124, 252, 0, 0.15);
    border-radius: 4px;
    text-decoration: none;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.post-nav-link:hover {
    border-color: rgba(124, 252, 0, 0.4);
    background: rgba(14, 14, 28, 0.7);
    transform: translateY(-2px);
}

.post-nav-prev {
    text-align: left;
}

.post-nav-next {
    text-align: right;
}

.post-nav-direction {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    color: #7CFC00;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-nav-prev .post-nav-direction {
    justify-content: flex-start;
}

.post-nav-next .post-nav-direction {
    justify-content: flex-end;
}

.post-nav-direction i {
    font-size: 0.58rem;
}

.post-nav-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: clamp(0.78rem, 1.5vw, 0.9rem);
    color: #E8E0D0;
    line-height: 1.35;
}

/* =============================================
   RESPONSIVE — BLOG POST
   ============================================= */
@media (max-width: 768px) {
    .post-hero {
        min-height: 340px;
    }

    .post-hero-content {
        padding: 80px 20px 40px;
    }

    .post-hero-title {
        font-size: clamp(1.2rem, 4.5vw, 1.8rem);
    }

    .post-article {
        padding: 40px 20px 30px;
    }

    .post-footer-nav {
        padding: 0 20px 50px;
    }

    .post-prev-next {
        flex-direction: column;
        gap: 14px;
    }

    .post-nav-placeholder {
        display: none;
    }

    .post-nav-next {
        text-align: left;
    }

    .post-nav-next .post-nav-direction {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .post-hero {
        min-height: 280px;
    }

    .post-hero-content {
        padding: 70px 16px 34px;
    }

    .post-article {
        padding: 30px 16px 24px;
    }

    .post-article h2 {
        margin-top: 32px;
    }

    .post-article blockquote {
        padding: 18px 18px 18px 22px;
        margin: 28px 0;
    }

    .post-figure {
        margin: 28px -4px;
    }

    .post-footer-nav {
        padding: 0 16px 40px;
    }

    .post-nav-link {
        padding: 14px 16px;
    }
}
