/* ==========================================================================
   Tegengif Theme — screen.css
   Fonts: Playfair Display (headings), Instrument Sans (body)
   Colors: teal #1a7a89, black, white, light grey #edf1f4
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-teal: #1a7a89;
    --color-teal-dark: #14616d;
    --color-black: #1a1a1a;
    --color-grey: #555;
    --color-light: #edf1f4;
    --color-white: #fff;
    --color-border: #dde1e5;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --narrow-width: 720px;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-black);
    background: var(--color-white);
    line-height: 1.7;
}

a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-teal-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-black);
}

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container--narrow {
    max-width: var(--narrow-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--color-teal);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-teal-dark);
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-teal);
    border: 1.5px solid var(--color-teal);
}

.btn-outline:hover {
    background: var(--color-teal);
    color: var(--color-white);
}

/* --- Header --- */
.site-header {
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-logo {
    /* Eén knop voor de schaling: 1 = oorspronkelijk (60px), 1.5 = huidige productie. */
    --logo-scale: 1.5;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    line-height: 1;
}

.site-logo img {
    height: calc(60px * var(--logo-scale));
    width: auto;
}

.site-logo .site-title {
    font-family: var(--font-heading);
    font-size: calc(1.5rem * var(--logo-scale));
    font-weight: 700;
    color: var(--color-black);
}

.site-tagline {
    margin-top: calc(0.45rem * var(--logo-scale));
    font-family: var(--font-body);
    font-size: calc(0.95rem * var(--logo-scale));
    font-style: italic;
    color: var(--color-grey);
    line-height: 1.15;
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.site-nav a {
    color: var(--color-black);
    font-weight: 500;
    font-size: 0.95rem;
}

.site-nav a:hover {
    color: var(--color-teal);
}

.header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* --- Search Button --- */
.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--color-grey);
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-search:hover {
    color: var(--color-teal);
    background: var(--color-light);
}

/* --- Hamburger Menu Button --- */
.btn-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: none;
    background: none;
    cursor: pointer;
}

.btn-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-black);
    border-radius: 1px;
    transition: all 0.3s;
}

.btn-menu.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.btn-menu.is-open span:nth-child(2) {
    opacity: 0;
}

.btn-menu.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    padding: 4rem 0;
    background: var(--color-light);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-teal);
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-title a {
    color: var(--color-black);
}

.hero-title a:hover {
    color: var(--color-teal);
}

.hero-excerpt {
    font-size: 1.1rem;
    color: var(--color-grey);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.hero-meta {
    font-size: 0.85rem;
    color: var(--color-grey);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
}

.hero-image img {
    border-radius: 6px;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* --- Scroll indicator --- */
.scroll-indicator {
    display: flex;
    justify-content: center;
    padding-top: 1.5rem;
    color: var(--color-grey);
    opacity: 0.5;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@media (min-width: 1200px) {
    .scroll-indicator {
        display: none;
    }
}

/* --- Sections --- */
.section-articles {
    padding: 4rem 0;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-teal);
    display: inline-block;
}

/* --- Editie Section (homepage) --- */
.section-editie {
    padding: 4rem 0;
    background: var(--color-white);
}

.section-editie-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-editie-header .section-title {
    margin-bottom: 0;
}

/* --- Dossiers Section (homepage) --- */
.section-dossiers {
    padding: 4rem 0;
    background: var(--color-light);
}

.dossier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.dossier-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-white);
    border-radius: 6px;
    border: 1px solid var(--color-border);
    color: inherit;
    transition: box-shadow 0.2s;
}

.dossier-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    color: inherit;
}

.dossier-image {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.dossier-image--placeholder {
    background: var(--color-teal);
    opacity: 0.15;
}

.dossier-name {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.dossier-count {
    font-size: 0.8rem;
    color: var(--color-grey);
}

/* --- Dossiers Page (custom-dossiers.hbs) --- */
.dossiers-page {
    padding: 4rem 0;
}

.dossiers-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dossiers-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.dossiers-description {
    color: var(--color-grey);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.dossier-grid--full {
    grid-template-columns: repeat(2, 1fr);
}

.dossier-grid--full .dossier-card {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.dossier-grid--full .dossier-image {
    width: 100%;
    height: 160px;
    border-radius: 0;
}

.dossier-grid--full .dossier-image--placeholder {
    width: 100%;
    height: 160px;
    border-radius: 0;
}

.dossier-grid--full .dossier-info {
    padding: 1.25rem;
}

.dossier-description {
    font-size: 0.9rem;
    color: var(--color-grey);
    margin: 0.3rem 0;
    line-height: 1.5;
}

/* --- Editions Page (custom-editie.hbs) --- */
.editions-page {
    padding: 4rem 0;
}

.editions-header {
    text-align: center;
    margin-bottom: 3rem;
}

.editions-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.editions-description {
    color: var(--color-grey);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.editions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.edition-card {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    color: inherit;
    transition: box-shadow 0.2s;
}

.edition-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    color: inherit;
}

.edition-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: contain;
    background: var(--color-light);
}

.edition-image--placeholder {
    background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.edition-image--placeholder span {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.edition-info {
    padding: 1.5rem;
}

.edition-name {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.edition-description {
    color: var(--color-grey);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.edition-count {
    font-size: 0.8rem;
    color: var(--color-grey);
}

/* --- Post Grid --- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* --- Post Card --- */
.post-card-link {
    display: flex;
    flex-direction: column;
    color: inherit;
    height: 100%;
}



.post-card {
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.post-card-image {
    position: relative;
}

.post-card-image img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.post-card--no-image {
    background: linear-gradient(135deg, var(--color-teal), #12565f);
    border-color: transparent;
}

.post-card--no-image .post-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2rem 1rem;
    position: relative;
}

.post-card--no-image .post-card-content::before {
    content: '\201C';
    position: absolute;
    top: 0.75rem;
    right: 1.25rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.post-card--no-image .post-card-tag {
    color: rgba(255, 255, 255, 0.7);
}

.post-card--no-image .post-card-title {
    color: var(--color-white);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.post-card--no-image .post-card-excerpt {
    color: rgba(255, 255, 255, 0.85);
    -webkit-line-clamp: 6;
    font-size: 0.95rem;
}

.post-card--no-image .post-card-meta {
    margin-top: auto;
}

.post-card--no-image .post-card-author {
    color: var(--color-white);
}

.post-card--no-image .post-card-date {
    color: rgba(255, 255, 255, 0.65);
}


.post-card-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--color-teal);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
}

.post-card-badge--members {
    background: var(--color-grey);
}

.post-card-content {
    padding: 1.25rem 1.25rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-teal);
    margin-bottom: 0.5rem;
    display: block;
}

.post-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.post-card-excerpt {
    font-size: 0.9rem;
    color: var(--color-grey);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.75rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.post-card-author {
    color: var(--color-black);
    font-weight: 600;
}

.post-card-date {
    color: var(--color-grey);
}

.post-card--featured {
    border-color: var(--color-teal);
}

.post-card--cover .post-card-image img {
    aspect-ratio: 16/10;
    object-fit: contain;
    background: var(--color-light);
}

/* --- Post Full --- */
.post-header {
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.post-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-teal);
    margin-bottom: 1rem;
}

.post-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    font-size: 1.2rem;
    color: var(--color-grey);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--color-grey);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.post-meta a {
    color: var(--color-grey);
    font-weight: 500;
}

.post-meta a:hover {
    color: var(--color-teal);
}

.post-feature-image {
    margin-bottom: 2.5rem;
}

.post-feature-image img {
    border-radius: 6px;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-feature-image figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-grey);
    margin-top: 0.5rem;
}

/* --- Post Content --- */
.post-content {
    padding-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
}

.post-content h3 {
    font-size: 1.35rem;
    margin: 2rem 0 0.75rem;
}

.post-content p {
    margin-bottom: 1.25rem;
}

.post-content hr {
    border: none;
    text-align: left;
    margin: 2.5rem 0;
    padding-left: 2rem;
}

.post-content hr::after {
    content: '·  ·  ·';
    color: var(--color-teal);
    font-size: 1.2rem;
    letter-spacing: 0.3em;
}

.post-content blockquote {
    border-left: 3px solid var(--color-teal);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-grey);
}

.post-content ul, .post-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content figure {
    margin: 2rem 0;
}

.post-content figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-grey);
    margin-top: 0.5rem;
}

.post-content .fig-right {
    float: right;
    width: 45%;
    margin: 0.25rem 0 1rem 1.5rem;
}

.post-content .fig-right figcaption {
    text-align: right;
}

.post-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- Paywall / Content Gating --- */
.post-teaser {
    position: relative;
}

.post-teaser::after {
    content: '';
    display: block;
    height: 8rem;
    margin-top: -8rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    position: relative;
    z-index: 1;
}

.paywall-cta {
    position: relative;
    z-index: 2;
    margin-top: 1.5rem;
}

.paywall-cta-inner {
    text-align: center;
    background: var(--color-light);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.paywall-cta-inner h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.paywall-cta-inner p {
    color: var(--color-grey);
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.paywall-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Newsletter CTA --- */
.section-newsletter {
    padding: 4rem 0;
}

.newsletter-box {
    text-align: center;
    background: var(--color-light);
    padding: 3rem;
    border-radius: 8px;
}

.newsletter-box h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.newsletter-box p {
    color: var(--color-grey);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form-group {
    display: flex;
    gap: 0.5rem;
    max-width: 420px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 0.65rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input:focus {
    border-color: var(--color-teal);
}

.newsletter-input--dark {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--color-white);
}

.newsletter-input--dark::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input--dark:focus {
    border-color: var(--color-teal);
}

.newsletter-message {
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

.message-success {
    color: var(--color-teal);
}

.message-error {
    color: #c0392b;
}

/* --- Footer Newsletter --- */
.footer-newsletter {
    text-align: center;
    padding-bottom: 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-newsletter h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 380px;
    margin: 0 auto;
}

/* --- Post Footer / Tags --- */
.post-footer {
    padding: 1.5rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--color-light);
    border-radius: 3px;
    font-size: 0.85rem;
    color: var(--color-grey);
    font-weight: 500;
}

.tag-link:hover {
    background: var(--color-teal);
    color: var(--color-white);
}

/* --- Related / Section --- */
.section-related {
    padding: 3rem 0;
    background: var(--color-light);
}

/* --- CTA --- */
.section-cta {
    padding: 4rem 0;
}

.cta-box {
    text-align: center;
    background: var(--color-light);
    padding: 3rem;
    border-radius: 8px;
}

.cta-box h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.cta-box p {
    color: var(--color-grey);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Page --- */
.page-header {
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
}

.page-feature-image {
    margin-bottom: 2rem;
}

.page-feature-image img {
    border-radius: 6px;
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.page-content {
    padding-bottom: 3rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.page-content p {
    margin-bottom: 1.25rem;
}

/* --- Tag Page --- */
.tag-page {
    padding: 3rem 0;
}

.tag-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tag-image {
    border-radius: 6px;
    max-height: 300px;
    object-fit: cover;
    width: 100%;
    margin-bottom: 1.5rem;
}

body[class*="tag-nummer-"] .tag-image {
    display: none;
}

.tag-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.tag-description {
    color: var(--color-grey);
    max-width: 600px;
    margin: 0 auto 0.75rem;
}

.tag-count {
    font-size: 0.85rem;
    color: var(--color-grey);
}

/* --- Author Page --- */
.author-page {
    padding: 3rem 0;
}

.author-header {
    text-align: center;
    margin-bottom: 3rem;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
}

.author-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.author-bio {
    color: var(--color-grey);
    max-width: 600px;
    margin: 0 auto 0.75rem;
}

.author-count {
    font-size: 0.85rem;
    color: var(--color-grey);
}

/* --- Error Page --- */
.error-page {
    text-align: center;
    padding: 6rem 0;
}

.error-code {
    font-size: 6rem;
    color: var(--color-teal);
    margin-bottom: 0.5rem;
}

.error-message {
    font-size: 1.2rem;
    color: var(--color-grey);
    margin-bottom: 2rem;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 3rem 0;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col a:hover {
    color: var(--color-white);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.35rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Pagination --- */
.pagination {
    padding: 2rem 0;
    text-align: center;
}

.pagination a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.9rem;
}

.pagination a:hover {
    border-color: var(--color-teal);
}

/* --- Blockquote Cards --- */

/* Normal quote: teal border, italic (same as inline blockquote) */
.post-content .kg-blockquote-card blockquote {
    border-left: 3px solid var(--color-teal);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-grey);
}

/* Large quote variant: poetry style
   Ghost renders each line as a separate <blockquote class="kg-blockquote-alt">,
   not wrapped in a card container. */
.post-content blockquote.kg-blockquote-alt {
    border-left: none;
    padding-left: 2rem;
    padding-right: 2rem;
    margin: 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-dark);
    text-align: left !important;
}

/* First blockquote-alt in a sequence: top margin */
.post-content blockquote.kg-blockquote-alt:not(blockquote.kg-blockquote-alt + blockquote.kg-blockquote-alt) {
    margin-top: 2rem;
}

/* Last blockquote-alt before non-blockquote: bottom margin */
.post-content blockquote.kg-blockquote-alt:has(+ :not(blockquote.kg-blockquote-alt)),
.post-content blockquote.kg-blockquote-alt:last-child {
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .post-content blockquote.kg-blockquote-alt {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 1rem;
    }
}

/* --- Koenig Editor Cards --- */
.kg-width-wide {
    margin-left: calc(50% - 50vw + 1.5rem);
    margin-right: calc(50% - 50vw + 1.5rem);
    max-width: calc(100vw - 3rem);
}

.kg-width-full {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.kg-width-wide img,
.kg-width-full img {
    width: 100%;
}

/* --- Members / Content Gating --- */
.gh-post-upgrade-cta {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
}

.gh-post-upgrade-cta-content {
    font-family: var(--font-body) !important;
}

.gh-post-upgrade-cta h2 {
    font-family: var(--font-heading) !important;
}

.gh-post-upgrade-cta a.gh-btn {
    font-family: var(--font-body) !important;
    border-radius: 6px !important;
}

/* --- Pricing / Abonneren --- */
.pricing-page {
    padding: 4rem 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.pricing-subtitle {
    color: var(--color-grey);
    font-size: 1.1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
}

.pricing-card--featured {
    border-color: var(--color-teal);
    box-shadow: 0 4px 24px rgba(26, 122, 137, 0.12);
}

.pricing-card-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-teal);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 1rem;
    border-radius: 3px;
}

.pricing-card-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.pricing-card-name {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.pricing-card-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-black);
}

.pricing-period {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-grey);
}

.pricing-card-body {
    flex: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--color-grey);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: 700;
}

.pricing-card-footer {
    margin-top: 1.5rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.pricing-grid--compact {
    max-width: 960px;
    margin: 0 auto;
}

.pricing-grid--compact .pricing-card {
    padding: 1.5rem;
}

.pricing-grid--compact .pricing-card-name {
    font-size: 1.1rem;
}

.pricing-grid--compact .pricing-card-price {
    font-size: 1.5rem;
}

.pricing-extra {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dossier-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .editions-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .post-grid {
        grid-template-columns: 1fr;
    }

    .dossier-grid {
        grid-template-columns: 1fr;
    }

    .post-title {
        font-size: 2rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .btn-menu {
        display: flex;
    }

    .btn-header-cta {
        display: none;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        padding: 1rem 0;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 1.5rem;
    }

    .site-nav li {
        border-bottom: 1px solid var(--color-light);
    }

    .site-nav li:last-child {
        border-bottom: none;
    }

    .site-nav a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1rem;
    }

    .site-nav::after {
        content: '';
        display: block;
        padding: 0.5rem 1.5rem;
    }

    .header-inner {
        position: relative;
    }

    .cta-box,
    .newsletter-box {
        padding: 2rem 1.5rem;
    }

    .newsletter-form-group,
    .footer-newsletter-form {
        flex-direction: column;
    }

    .paywall-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-editie-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-content .fig-right {
        float: none;
        width: 100%;
        margin: 1.5rem 0;
    }

    .post-content .fig-right figcaption {
        text-align: center;
    }
}
