/* ==========================================================================
   Blog Post Styles — School of Movement Hamburg
   ========================================================================== */

/* --- Reading Progress Bar --- */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gold);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* --- Breadcrumb --- */
.post-breadcrumb {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px var(--content-padding) 0;
    font-size: 0.82rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.post-breadcrumb a {
    color: var(--gray-500);
    transition: color 0.2s;
}
.post-breadcrumb a:hover {
    color: var(--gold);
}
.post-breadcrumb__sep {
    color: var(--gray-300);
    font-size: 0.7rem;
}
.post-breadcrumb__current {
    color: var(--gray-600);
}

/* --- Hero Section --- */
.post-hero {
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
    background: var(--black);
}
.post-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.post-hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}
.post-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(40px, 8vw, 80px) var(--content-padding);
    color: var(--white);
    width: 100%;
}
.post-hero__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    background: rgba(237, 192, 65, 0.15);
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.3s;
}
.post-hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 24px;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.5s;
}
.post-hero__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.7s;
}
.post-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.post-hero__meta-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* --- Post Body --- */
.post-body {
    max-width: 800px;
    margin: 0 auto;
    padding: clamp(40px, 8vw, 80px) var(--content-padding);
}
.post-body p {
    font-size: clamp(1.05rem, 1.2vw, 1.15rem);
    line-height: 1.85;
    color: var(--gray-900);
    margin-bottom: 28px;
}
.post-body h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--black);
    margin-top: 56px;
    margin-bottom: 24px;
    line-height: 1.1;
    position: relative;
    padding-top: 20px;
}
.post-body h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}
.post-body h3 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--black);
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.15;
}

/* --- Blockquotes (Pull-Quote Style) --- */
.post-body blockquote {
    border-left: none;
    padding: 32px 36px 32px 40px;
    margin: 44px 0;
    background: var(--gray-100);
    font-style: italic;
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--gray-800);
    position: relative;
    border-radius: 0 4px 4px 0;
    border-left: 4px solid var(--gold);
}
.post-body blockquote::before {
    content: '\201E';
    position: absolute;
    top: -8px;
    left: 12px;
    font-family: var(--font-accent);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.35;
    line-height: 1;
    font-style: normal;
}
.post-body blockquote p {
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* --- Lists --- */
.post-body ul, .post-body ol {
    margin: 24px 0;
    padding-left: 28px;
}
.post-body li {
    font-size: clamp(1.02rem, 1.2vw, 1.12rem);
    line-height: 1.8;
    color: var(--gray-900);
    margin-bottom: 10px;
}

/* --- Images --- */
.post-body img {
    width: 100%;
    border-radius: 6px;
    margin: 40px 0;
}

/* --- Links --- */
.post-body a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(237, 192, 65, 0.4);
    transition: border-color 0.2s, opacity 0.2s;
}
.post-body a:hover {
    border-bottom-color: var(--gold);
    opacity: 0.85;
}

/* --- Lead & Intro --- */
.post-body .lead {
    font-size: clamp(1.15rem, 1.5vw, 1.3rem);
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 12px;
    font-family: var(--font-body);
}
.post-body .intro-summary {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 32px;
}

/* --- HR Separator --- */
.post-body hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 44px 0;
}

/* --- Drop Cap (first paragraph after first hr) --- */
.post-body .drop-cap::first-letter {
    float: left;
    font-family: var(--font-display);
    font-size: 3.8rem;
    line-height: 0.75;
    padding-right: 10px;
    padding-top: 8px;
    color: var(--gold);
    text-transform: uppercase;
}

/* --- Table of Contents --- */
.post-toc {
    max-width: 800px;
    margin: 0 auto -20px;
    padding: 0 var(--content-padding);
}
.post-toc__inner {
    background: var(--gray-50, #fafaf8);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 24px 28px;
}
.post-toc__title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 14px;
}
.post-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.post-toc__list li {
    margin-bottom: 8px;
}
.post-toc__list li:last-child {
    margin-bottom: 0;
}
.post-toc__list a {
    font-size: 0.92rem;
    color: var(--gray-700);
    text-decoration: none;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s, padding-left 0.2s;
    padding: 4px 0;
    line-height: 1.4;
}
.post-toc__list a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-300);
    flex-shrink: 0;
    transition: background 0.2s;
}
.post-toc__list a:hover {
    color: var(--gold);
    padding-left: 4px;
}
.post-toc__list a:hover::before {
    background: var(--gold);
}
.post-toc__list a.active {
    color: var(--gold);
    font-weight: 500;
}
.post-toc__list a.active::before {
    background: var(--gold);
}

/* --- Author Box --- */
.post-author {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: var(--gray-100);
    margin-top: 56px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}
.post-body .post-author__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin: 0;
    border: 2px solid var(--gold);
}
.post-author__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--black);
    margin-bottom: 4px;
}
.post-author__bio {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 8px;
}
.post-author__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--gold);
    text-decoration: none;
    border-bottom: none !important;
    font-weight: 500;
    transition: opacity 0.2s;
}
.post-author__link:hover {
    opacity: 0.75;
}
.post-author__link svg {
    width: 14px;
    height: 14px;
}

/* --- Series Navigation --- */
.post-series {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--content-padding) 32px;
}
.post-series__inner {
    display: flex;
    gap: 16px;
}
.post-series__card {
    flex: 1;
    padding: 20px 24px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.15s;
    display: flex;
    flex-direction: column;
}
.post-series__card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}
.post-series__card--prev {
    align-items: flex-start;
}
.post-series__card--next {
    align-items: flex-end;
    text-align: right;
}
.post-series__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 6px;
}
.post-series__title {
    font-size: 0.92rem;
    color: var(--gray-800);
    line-height: 1.4;
}

/* --- Back Link --- */
.post-back {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--content-padding) 48px;
}
.post-back__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gold);
    transition: gap 0.2s ease;
}
.post-back__link:hover {
    gap: 12px;
}
.post-back__link svg {
    width: 16px;
    height: 16px;
}

/* --- Related Articles --- */
.post-related {
    max-width: 960px;
    margin: 0 auto;
    padding: 64px var(--content-padding) 80px;
    border-top: 1px solid var(--gray-200);
}
.post-related__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--black);
    margin-bottom: 32px;
    text-align: center;
}
.post-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.post-related__card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.post-related__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.post-related__card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.post-related__card-body {
    padding: 20px;
}
.post-related__card-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold);
    margin-bottom: 8px;
}
.post-related__card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 8px;
}
.post-related__card-excerpt {
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- CTA Section --- */
.post-cta {
    text-align: center;
    padding: var(--section-padding) 0;
    background: var(--black);
    color: var(--white);
}
.post-cta__headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--white);
    margin-bottom: 16px;
}
.post-cta__sub {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 32px;
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .post-hero { min-height: 55vh; }
    .post-related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    /* Hero */
    .post-hero { min-height: 45vh; padding-top: 60px; }
    .post-hero__headline { margin-bottom: 16px; }
    .post-hero__meta { flex-wrap: wrap; gap: 10px; font-size: 0.82rem; }
    .post-hero__tag { margin-bottom: 14px; padding: 5px 12px; }

    /* Breadcrumb */
    .post-breadcrumb { padding-top: 16px; font-size: 0.78rem; }

    /* Post body text */
    .post-body { padding: 32px var(--content-padding) 48px; }
    .post-body p { font-size: 1rem; line-height: 1.8; margin-bottom: 22px; }
    .post-body h2 { margin-top: 40px; margin-bottom: 18px; padding-top: 16px; }
    .post-body h3 { margin-top: 32px; margin-bottom: 12px; }

    /* Blockquotes */
    .post-body blockquote { padding: 24px 20px 24px 24px; margin: 32px 0; font-size: 1rem; }
    .post-body blockquote::before { font-size: 3rem; top: -4px; left: 8px; }

    /* Lists */
    .post-body ul, .post-body ol { padding-left: 22px; margin: 20px 0; }
    .post-body li { font-size: 0.98rem; line-height: 1.75; }

    /* Images */
    .post-body img { margin: 28px 0; border-radius: 4px; }

    /* Drop Cap */
    .post-body .drop-cap::first-letter {
        font-size: 3rem;
        padding-top: 6px;
        padding-right: 8px;
    }

    /* TOC */
    .post-toc { margin-bottom: -12px; }
    .post-toc__inner { padding: 18px 20px; }
    .post-toc__title { font-size: 0.8rem; margin-bottom: 10px; }
    .post-toc__list a { font-size: 0.88rem; padding: 6px 0; min-height: 40px; }

    /* Author */
    .post-author {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 24px 20px;
        gap: 12px;
        margin-top: 40px;
    }
    .post-body .post-author__avatar { width: 64px; height: 64px; }
    .post-author__name { font-size: 1rem; }
    .post-author__bio { font-size: 0.85rem; }

    /* Series nav */
    .post-series { padding-bottom: 24px; }
    .post-series__inner { flex-direction: column; gap: 12px; }
    .post-series__card { padding: 16px 20px; }
    .post-series__card--next { align-items: flex-start; text-align: left; }
    .post-series__title { font-size: 0.88rem; }

    /* Back link */
    .post-back { padding-bottom: 36px; }
    .post-back__link { font-size: 0.85rem; min-height: 44px; }

    /* Related articles */
    .post-related { padding: 48px var(--content-padding) 56px; }
    .post-related__grid { grid-template-columns: 1fr; gap: 20px; }
    .post-related__card-image { height: 180px; }
    .post-related__card-body { padding: 16px; }
    .post-related__card-title { font-size: 0.95rem; }

    /* CTA */
    .post-cta { padding: 56px var(--content-padding); }

    /* HR */
    .post-body hr { margin: 32px 0; }
}
