/* ====================================
   UPDATES - Food2Grow
   Gebruikt voor: /updates/

   Opbouwt voort op global.css:
   - .page-hero, .hero-subtitle          → global.css
   - .cta-section, .cta-buttons          → global.css
   - .content-section, .section-intro    → global.css
   - .btn, .btn-primary, .btn-outline    → global.css
   ==================================== */

/* ====================================
   GEDEELDE HULPCLASSES
   (zelfstandig geladen; niet afhankelijk van content-pages.css)
   ==================================== */

.section-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

/* Afwisselende achtergrond → zie global.css (site-wide section striping) */

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* ====================================
   UPDATES INTRO
   ==================================== */
.updates-intro .section-intro p {
    max-width: 680px;
    font-size: 1.1rem;
}

/* ====================================
   UPDATES GRID
   ==================================== */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 2rem;
}

.update-card {
    background: var(--white);
    border: 1px solid #e8f0e8;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.update-card:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: var(--primary-green);
}

.update-card-inner {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Meta: datum + categorieën */
.update-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.875rem;
}

.update-date {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.update-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.update-categories li a {
    display: inline-block;
    background: #dcfce7;
    color: var(--primary-green);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 0.2s ease;
}

.update-categories li a:hover {
    background: #bbf7d0;
}

.update-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    flex-grow: 0;
}

.update-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.update-title a:hover {
    color: var(--primary-green);
}

.update-excerpt {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.75;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.update-read-more {
    align-self: flex-start;
    margin-top: auto;
}

/* Lege staat */
.updates-empty {
    text-align: center;
    padding: 4rem 1rem;
    background: #fafafa;
    border-radius: 16px;
    border: 1px dashed #c7e4c7;
    margin-top: 2rem;
}

.updates-empty p {
    font-size: 1rem;
    color: var(--text-medium);
    font-style: italic;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ====================================
   INITIATIVE UPDATES
   ==================================== */
.initiative-updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    max-width: 560px;
    margin: 2rem 0 0;
}

.initiative-update-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e8f0e8;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.initiative-update-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
    transform: translateY(-3px);
}

.initiative-update-card-label {
    margin-bottom: 0.75rem;
}

.initiative-tag {
    display: inline-block;
    background: #dcfce7;
    color: var(--primary-green);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.initiative-update-card h3 {
    font-size: 1.375rem;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
}

.initiative-update-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* ====================================
   VIDEO PLACEHOLDER
   ==================================== */
.video-placeholder {
    max-width: 640px;
    margin: 2rem auto 0;
}

.video-placeholder-inner {
    background: #fafafa;
    border: 2px dashed #c7e4c7;
    border-radius: 16px;
    padding: 3.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.video-placeholder-icon {
    display: block;
    width: 56px;
    height: 56px;
    color: var(--primary-green);
    opacity: 0.5;
}

.video-placeholder-icon svg {
    width: 100%;
    height: 100%;
}

.video-placeholder-text {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.75;
    font-style: italic;
    max-width: 480px;
    margin: 0;
}

/* ====================================
   VOORTGANG SECTIE
   ==================================== */
.progress-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 2rem;
}

.progress-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    border: 1px solid #e8f0e8;
}

.progress-card--visible {
    border-left: 4px solid var(--primary-green);
}

.progress-card--needed {
    border-left: 4px solid #93c5fd;
}

.progress-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.progress-card--needed h3 {
    color: #2563eb;
}

.progress-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.progress-card li {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
    padding-left: 1.25rem;
    position: relative;
}

.progress-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-size: 0.85rem;
}

.progress-card--needed li::before {
    color: #2563eb;
}

/* ====================================
   SOCIAL FOLLOW
   ==================================== */
.social-follow .section-intro {
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--white);
    border: 1px solid #e8f0e8;
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-green);
    text-decoration: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.social-link-icon {
    display: flex;
    align-items: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-link-icon svg {
    width: 100%;
    height: 100%;
}

.social-follow-cta {
    text-align: center;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1024px) {
    .updates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

    .initiative-updates-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .video-placeholder-inner {
        padding: 2.5rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .update-card-inner {
        padding: 1.25rem;
    }

    .update-title {
        font-size: 1rem;
    }

    .progress-card {
        padding: 1.5rem 1.25rem;
    }
}
