.story-profile {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 35px;
    align-items: center;

    padding: 35px;
    margin-bottom: 40px;

    background:
        linear-gradient(135deg, #111111, #0b2214);

    border: 1px solid #2d593c;
    border-top: 4px solid #00ff55;
    border-radius: 16px;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.story-profile-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;

    border: 3px solid #00ff55;
    border-radius: 12px;
}

.story-profile-details h1 {
    margin: 0;
    color: #ffffff;
    font-size: 42px;
}

.story-callsign {
    margin: 8px 0 12px;
    color: #00ff55;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 2px;
}

.story-subtitle {
    margin-bottom: 25px;
    color: #cccccc;
    font-size: 18px;
}

.story-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.story-facts > div {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid #333333;
    border-radius: 9px;
}

.fact-label {
    display: block;
    margin-bottom: 5px;
    color: #8f9b93;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-facts strong {
    color: #ffffff;
    font-size: 16px;
}

@media (max-width: 760px) {
    .story-profile {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .story-profile-photo {
        max-width: 300px;
        margin: 0 auto;
    }

    .story-profile-details {
        text-align: center;
    }

    .story-profile-details h1 {
        font-size: 34px;
    }

    .story-facts {
        grid-template-columns: 1fr;
        text-align: left;
    }
}
.story-main-photo {
    margin: 35px 0 45px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid #333333;
    border-radius: 14px;
}

.story-main-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.story-main-photo figcaption {
    padding: 16px 20px;
    color: #bbbbbb;
    font-size: 15px;
    line-height: 1.6;
    border-top: 1px solid #333333;
}
.story-main-photo,
.story-photo,
.story-mast-photo {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
}

.story-main-photo img,
.story-photo img,
.story-mast-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
    background: #050505;
    border-radius: 10px;
}

.story-main-photo figcaption,
.story-photo figcaption,
.story-mast-photo figcaption {
    padding: 12px 16px;
    color: #bbbbbb;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}
@media (max-width: 700px) {
    
    .story-main-photo,
    .story-photo,
    .story-mast-photo {
        max-width: 100%;
        margin: 22px auto;
    }
    
    .story-main-photo img,
    .story-photo img,
    .story-mast-photo img {
        max-height: 420px;
        border-radius: 8px;
    }
}
.story-mast-photo {
    max-width: 600px;
}
/* ========================================
   Verfijnde tekststyling voor stories
======================================== */

.story-section p {
    color: #cfcfcf;
    font-size: 18px;
    line-height: 1.85;
}

.story-section p:first-of-type {
    color: #eeeeee;
}

.story-section strong {
    color: #ffffff;
    font-weight: 700;
}

.story-section em {
    color: #a7d8ff;
}

.story-section h2 {
    position: relative;
    margin-bottom: 22px;
    padding-left: 18px;
    
    color: #00ff55;
    font-size: 30px;
    line-height: 1.25;
    
    border-left: 5px solid #00ff55;
}

.story-section h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    margin-top: 10px;
    
    background: #1f6f3c;
}

.story-lead {
    max-width: 850px;
    margin: 0 auto 30px;
    
    color: #f2f2f2;
    font-size: 21px;
    line-height: 1.75;
    text-align: center;
}

.story-note {
    margin: 28px 0;
    padding: 20px 24px;
    
    background: #0c1820;
    border: 1px solid #23455e;
    border-left: 5px solid #3da9fc;
    border-radius: 10px;
    
    color: #d7ecff;
    font-size: 17px;
    line-height: 1.7;
}

.story-fact {
    margin: 28px 0;
    padding: 22px 24px;
    
    background: #0d2114;
    border: 1px solid #23653a;
    border-left: 5px solid #00ff55;
    border-radius: 10px;
    
    color: #e9fff0;
    font-size: 18px;
    line-height: 1.7;
}

.story-number {
    color: #00ff55;
    font-size: 1.12em;
    font-weight: bold;
}

.story-muted {
    color: #999999;
    font-size: 15px;
}

.story-divider {
    width: 120px;
    height: 2px;
    margin: 45px auto;
    
    background: linear-gradient(
        to right,
        transparent,
        #00ff55,
        transparent
    );
}

.story-section blockquote {
    position: relative;
    
    margin: 32px 0;
    padding: 28px 30px 28px 65px;
    
    background: linear-gradient(
        135deg,
        #0c2114,
        #0a0a0a
    );
    
    border: 1px solid #255c38;
    border-radius: 12px;
    
    color: #f4f4f4;
    font-size: 21px;
    line-height: 1.7;
    font-style: italic;
}

.story-section blockquote::before {
    content: "“";
    position: absolute;
    left: 20px;
    top: 5px;
    
    color: #00ff55;
    font-size: 70px;
    line-height: 1;
    font-family: Georgia, serif;
}

.story-section blockquote footer {
    margin-top: 15px;
    
    color: #00ff55;
    font-size: 15px;
    font-style: normal;
    font-weight: bold;
}

.story-highlight {
    background:
        linear-gradient(
            135deg,
            rgba(0, 255, 85, 0.08),
            rgba(0, 0, 0, 0.25)
        );
    
    border: 1px solid #27633c;
    border-radius: 14px;
}

.story-highlight h2 {
    color: #ffffff;
}

.story-highlight h2::after {
    background: #00ff55;
}

.story-caption-title {
    display: block;
    margin-bottom: 5px;
    
    color: #ffffff;
    font-weight: bold;
}

.story-main-photo figcaption,
.story-photo figcaption,
.story-mast-photo figcaption {
    background: #0b0b0b;
    color: #aaaaaa;
    border-top: 1px solid #2d2d2d;
}

.story-main-photo figcaption strong,
.story-photo figcaption strong,
.story-mast-photo figcaption strong {
    color: #ffffff;
}
@media (max-width: 700px) {
    
    .story-section p {
        font-size: 16px;
        line-height: 1.75;
    }
    
    .story-section h2 {
        font-size: 24px;
    }
    
    .story-lead {
        font-size: 18px;
        text-align: left;
    }
    
    .story-section blockquote {
        padding: 24px 20px 24px 48px;
        font-size: 18px;
    }
    
    .story-section blockquote::before {
        left: 14px;
        font-size: 54px;
    }
    
    .story-note,
    .story-fact {
        padding: 18px;
        font-size: 16px;
    }
}
.story-actions {
    margin-top: 35px;
    text-align: center;
}

.story-back-btn {
    display: inline-block;
    padding: 14px 24px;
    
    background: #008f3a;
    color: #ffffff;
    
    border: 1px solid #00c950;
    border-radius: 9px;
    
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.story-back-btn:hover {
    background: #00b84a;
    color: #ffffff;
    text-decoration: none;
    
    transform: translateY(-2px);
    
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.45);
}

.story-back-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}
.story-container {
    width: 100%;
    margin: 0;
}
.story-heading,
.story-section,
.story-closing,
.photo-credits,
.story-navigation {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .story-heading,
    .story-section,
    .story-closing,
    .photo-credits,
    .story-navigation {
        padding-left: 14px;
        padding-right: 14px;
    }
}
.story-hero {
    width: 100%;
}

.story-banner {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}
.story-link {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    color: #00ff55;
    text-decoration: none;
    border: 1px solid #00ff55;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.2s ease;
}

.story-link:hover {
    background: #00ff55;
    color: #080808;
}
.story-footer {
    max-width: 1400px;
    margin: 24px auto 36px;
    padding: 20px 28px;
    
    background: rgba(0, 255, 85, 0.035);
    
    border: 1px solid rgba(0, 255, 85, 0.28);
    border-left: 5px solid #00ff55;
    border-radius: 12px;
}

.story-footer p {
    margin: 0;
    
    color: #bfbfbf;
    font-size: 0.95rem;
    line-height: 1.65;
}
.story-hero {
    max-width: 1200px;
    margin: 0 auto 34px;
    padding: 30px 36px;
    
    background: linear-gradient(
        135deg,
        rgba(0, 255, 85, 0.06),
        rgba(0, 0, 0, 0.2)
    );
    
    border: 1px solid rgba(0, 255, 85, 0.28);
    border-radius: 16px;
}
.story-hero h1 {
    margin: 10px 0 18px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
}

.story-label {
    margin: 0;
    color: #00ff55;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.story-intro {
    max-width: 1050px;
    margin: 0 0 18px;
    color: #d1d1d1;
    font-size: 1.1rem;
    line-height: 1.7;
}
@media (max-width: 700px) {
    .story-hero {
        width: calc(100% - 20px);
        margin: 0 auto 26px;
        padding: 22px 20px;
    }
    
    .story-hero h1 {
        font-size: 2rem;
    }
    
    .story-intro {
        font-size: 1rem;
    }
}
/* ========================================
   HAM RADIO HERITAGE INDEX
======================================== */

.heritage-container {
    width: min(1200px, calc(100% - 32px));
    margin: 35px auto 60px;
}

.heritage-intro {
    max-width: 850px;
    margin: 0 auto 40px;
    text-align: center;
}

.heritage-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 14px;
    
    background: rgba(0, 255, 85, 0.08);
    color: #00ff55;
    
    border: 1px solid rgba(0, 255, 85, 0.35);
    border-radius: 999px;
    
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.heritage-intro h1 {
    margin: 0 0 18px;
    
    color: #ffffff;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.1;
}

.heritage-intro p {
    margin: 0;
    
    color: #bdbdbd;
    font-size: 19px;
    line-height: 1.75;
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.heritage-card {
    overflow: hidden;
    
    background:
        linear-gradient(
            145deg,
            #151515,
            #0b0b0b
        );
    
    border: 1px solid #333333;
    border-radius: 16px;
    
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.heritage-card:hover {
    transform: translateY(-5px);
    border-color: #00aa44;
    
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.5),
        0 0 22px rgba(0, 255, 85, 0.08);
}

.heritage-card-image {
    position: relative;
    height: 310px;
    overflow: hidden;
    
    background: #050505;
}

.heritage-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.heritage-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75),
            transparent 55%
        );
    
    pointer-events: none;
}

.heritage-call {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    
    padding: 7px 13px;
    
    background: rgba(0, 0, 0, 0.78);
    color: #00ff55;
    
    border: 1px solid rgba(0, 255, 85, 0.55);
    border-radius: 7px;
    
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.heritage-card-content {
    padding: 26px;
}

.heritage-category {
    display: block;
    margin-bottom: 10px;
    
    color: #67b7ff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.heritage-card-content h2 {
    margin: 0 0 15px;
    
    color: #ffffff;
    font-size: 29px;
}

.heritage-card-content p {
    margin: 0 0 22px;
    
    color: #c7c7c7;
    font-size: 16px;
    line-height: 1.75;
}

.heritage-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    
    margin-bottom: 24px;
}

.heritage-facts span {
    padding: 7px 11px;
    
    background: #101f16;
    color: #bfffd2;
    
    border: 1px solid #245d36;
    border-radius: 999px;
    
    font-size: 13px;
}

.heritage-btn {
    display: inline-block;
    padding: 12px 20px;
    
    background: #008f3a;
    color: #ffffff;
    
    border: 1px solid #00c950;
    border-radius: 8px;
    
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.heritage-btn:hover {
    background: #00b84a;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Tijdelijke kaart zonder foto */

.heritage-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    
    background:
        radial-gradient(
            circle at center,
            #15301f,
            #070707 72%
        );
}

.heritage-placeholder-call {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    
    padding: 7px 13px;
    
    background: rgba(0, 0, 0, 0.78);
    color: #00ff55;
    
    border: 1px solid rgba(0, 255, 85, 0.55);
    border-radius: 7px;
    
    font-size: 18px;
    font-weight: bold;
}

.heritage-placeholder-icon {
    font-size: 82px;
    opacity: 0.5;
}

/* ========================================
   MOBIEL
======================================== */

@media (max-width: 800px) {
    
    .heritage-grid {
        grid-template-columns: 1fr;
    }
    
    .heritage-card-image {
        height: 260px;
    }
    
    .heritage-intro p {
        font-size: 17px;
    }
}

@media (max-width: 500px) {
    
    .heritage-container {
        width: min(100% - 20px, 1200px);
        margin-top: 25px;
    }
    
    .heritage-card-image {
        height: 220px;
    }
    
    .heritage-card-content {
        padding: 21px 18px;
    }
    
    .heritage-card-content h2 {
        font-size: 25px;
    }
    
    .heritage-card-content p {
        font-size: 15px;
    }
    
    .heritage-btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}
/* Smaller centered Heritage images */
.story-gallery.small-image {
    display: flex;
    justify-content: center;
}

.story-gallery.small-image figure {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.story-gallery.small-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}
.story-back {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
}
/* =====================================================
   STORY LINKS
===================================================== */

.story-page a {
    color: #00ff55;
    text-decoration: none;
}

.story-page a:visited {
    color: #00ff55;
}

.story-page a:hover {
    color: #5cff8d;
    text-decoration: underline;
}

.story-page a:active {
    color: #00ff55;
}