/* ==========================================
   HERO HOME (DASHBOARD STIJL .eu + MARQUEE)
   ========================================== */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    background: var(--klassiek-groen);
    color: var(--white);
    padding: 1.5rem 5% 1.5rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    flex: 1 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    margin-bottom: 2rem;
}

.subtitle {
    color: var(--subtitle-on-green);
    font-weight: 600;
    text-transform: none;
    display: block;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Scrollende Marquee - strip tussen nav-bar en hero */
.hero-marquee {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    margin-top: var(--navbar-height);
    background: #edfbd2;
    border-bottom: 1px solid rgba(72, 145, 0, 0.1);
    display: flex;
    align-items: center;
    height: 3rem;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    white-space: nowrap;
    line-height: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .marquee-track {
        animation: marquee 30s linear infinite;
    }
}

.marquee-track span:not(.marquee-dot) {
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    color: var(--text-link);
    line-height: 1;
}

.marquee-dot {
    width: 3px;
    height: 3px;
    background-color: var(--logo-donker);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   DASHBOARD & SOCIAL FEED (HOME)
   ========================================== */
.hero-dashboard {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
    margin-top: 0;
}

.hero-copy {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 1.1rem 1.2rem;
    background: rgba(16, 43, 11, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(8px);

    /* Titel links, status-pill rechts, naast elkaar */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-copy-title {
    flex: 1 1 auto;
    min-width: 0;
}

.hero-copy-title h1 {
    margin-bottom: 0;
}

.hero-intro {
    margin-bottom: 1rem;
    font-size: 1rem;
    max-width: 62ch;
}

.status-window {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
}

.status-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-copy {
    display: grid;
    gap: 0.1rem;
}

.status-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    opacity: 0.9;
}

.status-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.status-compact {
    margin-left: auto;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.2);
}

.status-compact .status-text {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

/* Status-pill rechts in de bovenste hero-tegel */
.hero-copy .status-window {
    margin: 0;
    flex-shrink: 0;
}

.status-hours {
    font-size: 0.68rem;
    opacity: 0.9;
    margin-left: 0.35rem;
    padding-left: 0.6rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.status-window.is-open .status-dot {
    background: #97d700;
    box-shadow: 0 0 0 5px rgba(151, 215, 0, 0.2);
}

.status-window.is-closed .status-dot {
    background: #f06c5b;
    box-shadow: 0 0 0 5px rgba(240, 108, 91, 0.2);
}

.button-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.news-feed-container .button-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-1);
    margin-top: auto;
}

/* De knoppen-styling */
.btn-primary, .btn-secondary {
    display: block;
    background-color: var(--btn-bg, #b9e87b);
    color: var(--btn-text, #35513a);
    border: 1px solid var(--btn-border, #a6d96b);
    padding: 1.2rem;
    min-height: 44px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: var(--btn-bg-hover, #c9ef94);
    color: var(--btn-text-hover, #2b4a32);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
}

/* Knoppen binnen .container houden hun eigen knoptekstkleur
   (deze regel is specifieker dan '.container a' hieronder) */
.container a.btn-primary,
.container a.btn-secondary {
    color: var(--btn-text, #35513a);
}

/* Het Social Feed Vak */
.news-feed-container {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    background: #edfbd2; /* Lichtste groen uit het palet */
    backdrop-filter: blur(15px); /* Het 'frosted glass' effect */
    border-radius: 30px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feed-header p {
    font-size: 1rem;
    opacity: 0.9;
}

/* De Social Grid Voorbeeld */
.social-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-1);
    margin: 0.4rem 0;
}

.img-box {
    aspect-ratio: 1/1; /* Altijd vierkant */
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: flex-end;
    min-height: 250px;
}

.img-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 26, 8, 0.08) 0%, rgba(10, 26, 8, 0.85) 100%);
}

.img-box-copy,
.img-box-tag {
    position: relative;
    z-index: 1;
}

.img-box-copy {
    padding: 1.1rem;
}

.img-box-copy h2 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    margin-bottom: 0.45rem;
}

.img-box-copy p {
    font-size: 0.7rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.img-box-tag {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.img-box-link,
.img-box-social-links a {
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.img-box-social-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.img-box-news {
    background: url('../images/nieuws/nieuws-hero.jpg?v=20261114220952') center/cover no-repeat;
}

.img-box-event {
    background: url('../images/evenementen/evenementen-hero.jpg?v=20261114220952') center/cover no-repeat;
}

.img-box-social {
    background: url('../images/home/social-hero1.jpg?v=20261114221441') center/cover no-repeat;
}

/* ==========================================
   TEKST CONTAINER & CONTENT PAGINA'S
   ========================================== */
.container { width: 90%; max-width: 900px; padding: 4rem 0; }
.container h2 { color: var(--logo-donker); font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 1rem; }
.container h1 { color: var(--logo-donker); font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 1rem; }
.container a { color: var(--text-link); }

/* ==========================================
   GEMEENSCHAPPELIJKE OPZET: NIEUWS & EVENEMENTEN
   (één template, gradient hero zoals de homepage)
   ========================================== */

.contact-page {
    width: 100%;
    max-width: 1200px;
}

/* Hero met gradient (zelfde als de homepage) */
main.journal-page.content-wrapper.page-content {
    padding-top: var(--navbar-height);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--card-bg-alt);
}

.page-hero {
    position: relative;
    width: 100%;
    background: var(--klassiek-groen);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(142,179,52,0.6), rgba(74,93,78,0.4));
}

body .page-hero h1 {
    position: relative;
    z-index: 1;
    color: #F5F7F0;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: 0;
    margin: 0 0 0.25rem;
}

.page-hero .subtitle {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.journal-container {
    width: 100%;
    max-width: 1200px;
    padding-top: var(--space-4);
}

.journal-intro {
    max-width: 780px;
    margin-bottom: 2.25rem;
}

.journal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    grid-template-areas: "featured archive";
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.journal-layout--stories {
    grid-template-areas:
        "featured agenda"
        "featured archive";
}

.journal-layout--stories .journal-featured {
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.journal-layout--stories .journal-featured-link {
    margin-bottom: 0.75rem;
}

.journal-layout--stories .journal-featured .journal-story-link {
    margin-top: auto;
    align-self: flex-start;
}

.journal-featured {
    grid-area: featured;
}

.journal-archive {
    grid-area: archive;
}

.journal-archive,
.journal-featured {
    border-radius: 24px;
    background-color: var(--card-bg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
}

.journal-meta {
    color: var(--eu-olijf);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.journal-archive-list {
    list-style: none;
    display: grid;
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.journal-archive-list a {
    display: flex;
    flex-direction: column;
    min-height: 44px;
    text-decoration: none;
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    background-color: rgba(151, 215, 0, 0.12);
    transition: background-color 0.2s ease;
}

.journal-archive-list a:hover {
    background-color: rgba(151, 215, 0, 0.25);
}

.journal-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.journal-title {
    font-weight: 700;
    color: var(--text-link);
}

/* Uitgelicht nieuws: PDF-kaart */
.journal-featured-link {
    display: block;
    margin-top: 1rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 22px;
    overflow: hidden;
}

.journal-featured-link img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.journal-featured-link:hover img {
    transform: scale(1.02);
}

/* Agenda (evenementen) */
.event-calendar-list {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.calendar-item {
    padding: 1.25rem;
    border-radius: 16px;
    background-color: var(--white);
    border: 1px solid rgba(72, 145, 0, 0.1);
}

.calendar-item h3 {
    color: var(--logo-donker);
    margin-bottom: 0.4rem;
}

.calendar-date {
    color: var(--eu-olijf);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Verhalenlijst */
.journal-story-list {
    display: grid;
    gap: 1.75rem;
}

.journal-story {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    padding: 1.25rem;
    border-radius: 28px;
    background-color: var(--card-bg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.journal-story-media img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    border-radius: 20px;
}

.journal-story-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journal-story-copy h2 {
    margin: 0.35rem 0 0.8rem;
}

.journal-story-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 0.75rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background-color: rgba(151, 215, 0, 0.15);
    color: var(--text-link);
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
}

.journal-story-link:hover {
    background-color: rgba(151, 215, 0, 0.25);
}

/* Agenda naast het uitgelichte verhaal */
.agenda-panel {
    grid-area: agenda;
    margin-bottom: 0;
    padding: 1.25rem;
    border-radius: 24px;
    background-color: var(--card-bg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.agenda-panel h2 {
    margin-bottom: 0.5rem;
}

.agenda-panel .event-calendar-list {
    margin-top: 0.75rem;
}

/* Maandverhaal (blogdetail) */
.blog-post {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 24px;
    background-color: var(--card-bg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.blog-post p {
    margin-top: 1rem;
    line-height: 1.75;
    color: var(--text-dark);
}

.blog-post .journal-meta {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--text-link);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.blog-post h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-post-figure {
    margin: 1.5rem 0;
}

.blog-post-figure img {
    width: 75%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-inline: auto;
    border-radius: 18px;
}

.blog-post-figure figcaption {
    margin-top: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

.blog-post-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtiel);
}

.blog-post-nav .journal-story-link {
    margin-top: 0;
}

.contact-page {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: start;
}

.contact-copy {
    padding: 1.75rem;
    border-radius: 24px;
    background-color: var(--card-bg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.contact-details {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.map-frame {
    min-height: 460px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-item {
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    background-color: var(--card-bg);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.gallery-item figcaption {
    padding: 0.85rem 1rem;
    color: var(--text-link);
    font-weight: 700;
    font-size: 0.9rem;
}

.gallery-item-large {
    grid-column: span 2;
}

.gallery-item-large img {
    height: 360px;
}

.volunteer-list {
    display: grid;
    gap: 0.7rem;
    padding-left: 1.2rem;
}

.volunteer-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: var(--space-1);
    margin-bottom: 1.75rem;
}

.volunteer-photo {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--card-bg);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.volunteer-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
}

.volunteer-photo figcaption {
    padding: 0.8rem 1rem;
    color: var(--text-link);
    font-weight: 700;
    font-size: 0.9rem;
}

.volunteer-contact {
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(72, 145, 0, 0.18);
    background: linear-gradient(180deg, rgba(223, 244, 182, 0.42) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.volunteer-contact h2 {
    margin-bottom: 0.6rem;
}

/* ==========================================
   TUIN PAGINA
   ========================================== */
.tuin-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(151, 215, 0, 0.2) 0%, rgba(151, 215, 0, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.tuin-card-icon i {
    font-size: 1.25rem;
    color: var(--logo-donker);
}

.tuin-card-seizoen {
    color: #5f7a38;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.bloemen-lijst {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bloemen-lijst li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(72, 145, 0, 0.1);
    font-size: 0.95rem;
}

.bloemen-lijst li:last-child {
    border-bottom: none;
}

.seizoen-tips {
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0;
}

.seizoen-tips li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.coming-soon {
    display: inline-block;
    background-color: rgba(151, 215, 0, 0.15);
    color: var(--text-link);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Plattegrond Sectie */
.tuin-layout-sectie {
    margin-bottom: 2.5rem;
}

.tuin-layout-sectie h2 {
    color: var(--logo-donker);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.tuin-layout-sectie > p {
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.tuin-plattegrond-figuur {
    margin: 0 0 1.5rem 0;
    border-radius: 28px;
    overflow: hidden;
    background-color: var(--card-bg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.tuin-plattegrond-img {
    width: 100%;
    height: auto;
    display: block;
}

.tuin-plattegrond-figuur figcaption {
    padding: 1rem;
    text-align: center;
    color: var(--text-link);
    font-size: 0.9rem;
    font-weight: 600;
    background-color: rgba(151, 215, 0, 0.08);
}

.tuin-zones-lijst {
    background: linear-gradient(180deg, rgba(223, 244, 182, 0.35) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(72, 145, 0, 0.1);
    border-radius: 24px;
    padding: 1.5rem;
}

.tuin-zones-lijst h3 {
    color: var(--logo-donker);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

/* Insecten Sectie */
.tuin-insecten-sectie {
    margin-bottom: 2rem;
}

.tuin-insecten-sectie h2 {
    color: var(--logo-donker);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.tuin-insecten-sectie > p {
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.insecten-placeholder {
    background-color: var(--card-bg);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.insecten-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(151, 215, 0, 0.2) 0%, rgba(151, 215, 0, 0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.insecten-icon i {
    font-size: 1.75rem;
    color: var(--logo-donker);
}

.insecten-placeholder p {
    margin-bottom: 0.5rem;
}

/* HOME - WELKOM SECTIE */
/* De hero loopt al onder de navbar door: geen extra bovenruimte nodig */
#meer-info.content-wrapper {
    padding-top: 0;
    flex-direction: column;
    align-items: center;
    background-color: var(--card-bg-alt);
}

.home-intro {
    width: 100%;
    max-width: 1200px;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.home-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.home-intro > p {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* SOCIAL MEDIA - LIVE FEED SECTIE (HOME) */
.social-feed {
    width: 100%;
    max-width: 1200px;
    padding-top: 0;
    padding-bottom: 5rem;
}

.social-feed h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.social-feed-lead {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.social-feed-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-subtiel);
    box-shadow: 0 2px 10px rgba(16, 43, 11, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.social-feed-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.social-feed-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 43, 11, 0) 55%, rgba(16, 43, 11, 0.65) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.social-feed-caption {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.8rem;
    z-index: 1;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-feed-item:hover,
.social-feed-item:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(16, 43, 11, 0.14);
    background-color: var(--card-bg-alt-hover);
}

.social-feed-item:hover::after,
.social-feed-item:focus-visible::after,
.social-feed-item:hover .social-feed-caption,
.social-feed-item:focus-visible .social-feed-caption {
    opacity: 1;
    transform: translateY(0);
}

.social-feed-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.social-feed-subtitle {
    font-family: 'Playfair Display', serif;
    color: var(--logo-donker);
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1.25rem;
}


/* Mobiele aanpassing voor het dashboard */
@media (max-width: 900px) {
    .hero-dashboard {
        grid-template-columns: 1fr; /* Alles onder elkaar */
        gap: 2rem;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 1rem;
    }

    .hero-copy {
        max-width: none;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-copy-title h1 {
        margin-bottom: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .social-grid-preview,
    .journal-layout,
    .journal-story,
    .contact-page,
    .volunteer-gallery {
        grid-template-columns: 1fr;
    }

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

    .social-feed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-hero {
        padding: 2.5rem 5%;
    }

    .journal-container {
        padding-top: var(--space-3);
    }

    .news-feed-container .button-column {
        grid-template-columns: 1fr;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 320px;
    }

    .journal-layout {
        grid-template-areas:
            "featured"
            "archive";
    }

    .journal-layout--stories {
        grid-template-areas:
            "featured"
            "agenda"
            "archive";
    }
}

/* 768px tier */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-large {
        grid-column: span 1;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .map-frame,
    .map-frame iframe {
        min-height: 280px;
    }

    .home-intro {
        padding-top: var(--space-5);
        padding-bottom: var(--space-5);
    }

    .agenda-panel,
    .blog-post {
        padding: 1.25rem;
    }

    .blog-post-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-post-nav .journal-story-link {
        justify-content: center;
        text-align: center;
    }
}
