/* style.css: áŒ á‰•áˆ‹áˆ‹ áŠ£á‰€áˆ›áˆáŒ£ áŠ¥áŠ“ á‰€áˆˆáˆ áˆµáˆ­á‹“á‰µ */
:root {
    --bg: #faf6f0;
    --primary: #8b1e23;
    --secondary: #d4a017;
    --text: #222222;
    --card-bg: #ffffff;
    --base-font-size: 16px;
    --article-max-width: 800px;
    --accent: #1c81c4;
    --article-bg: #fff;
    --article-color: #222;
    --article-muted: #666;
}

html.dark-theme,
body.dark-theme {
    --bg: #0f1117;
    --card-bg: #1c2133;
    --text: #e2e8f0;
    --article-bg: #0f1720;
    --article-color: #e6eef8;
    --article-muted: #9fb4cf;
    --accent: #58a6ff;
}
body.dark-theme .site-header {
    background: rgba(15, 17, 23, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.07);
}
body.dark-theme .hero {
    background: linear-gradient(135deg, #13151c 0%, #1a1d2e 60%, #1e1525 100%);
}
body.dark-theme .card,
body.dark-theme .highlight-item,
body.dark-theme .news-card,
body.dark-theme .hero-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
body.dark-theme .btn.ghost {
    border-color: rgba(255, 255, 255, 0.25);
    color: #e2e8f0;
}
body.dark-theme .btn.ghost:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
body.dark-theme .news-card p,
body.dark-theme .news-date {
    color: var(--article-muted);
}
body.dark-theme .site-footer {
    background: linear-gradient(to bottom, #1c2133 0%, #0f1117 100%);
}
body.dark-theme .tab-panel,
body.dark-theme .mezmur-track,
body.dark-theme .mezmur-menu {
    background: var(--card-bg);
}

/* Dark mode toggle knop */
.dark-toggle {
    background: transparent;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 999px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}
.dark-toggle:hover {
    background: rgba(139, 30, 35, 0.1);
    border-color: var(--primary);
    transform: rotate(20deg) scale(1.1);
}
body.dark-theme .dark-toggle {
    border-color: rgba(255, 255, 255, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Noto Sans Ethiopic', 'Noto Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
    padding: 0 1rem;
}

.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-weight: 700;
    color: var(--primary);
}
/* logo image next to site name */
.site-header .logo { display: flex; align-items: center; gap: 1rem; }
.site-logo { 
  width: 100px; 
  height: 100px; 
  object-fit: contain; 
  display: inline-block;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.15));
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  transition: transform 0.3s ease;
}
.site-header .logo:hover .site-logo { transform: scale(1.05); }
.logo-text { font-weight: 700; font-size: 1.35rem; color: var(--primary); letter-spacing: 0.5px; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    position: relative;
    transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.22s ease;
}
.main-nav a:hover {
    background: rgba(139, 30, 35, 0.08);
    color: var(--primary);
    transform: translateY(-1px);
}
.main-nav a.active {
    background: rgba(139, 30, 35, 0.12);
    color: var(--primary);
}
.main-nav a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    background: transparent;
    border: none;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    background: var(--primary);
}

.hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #fdf8f2 0%, #faf0e8 60%, #f5e6d8 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,160,23,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,30,35,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: center;
}

.hero-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-left: 6px solid var(--secondary);
    position: relative;
    z-index: 1;
}

h1,
h2,
h3 {
    color: var(--primary);
}

.highlights .container > h2,
.cards + .highlights h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 0.4rem;
}
.highlights .container > h2::after,
.cards + .highlights h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

strong {
    color:#b61f1f;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    font-size: 0.8rem;
}

.subtitle {
    font-size: 1.1rem;
    max-width: 38ch;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(139,30,35,0.25);
}
.btn.primary:hover {
    box-shadow: 0 8px 28px rgba(139,30,35,0.4);
    transform: translateY(-3px);
}

.btn.secondary {
    background: var(--secondary);
    color: var(--text);
    box-shadow: 0 4px 16px rgba(212,160,23,0.25);
}
.btn.secondary:hover {
    box-shadow: 0 8px 28px rgba(212,160,23,0.4);
    transform: translateY(-3px);
}

.btn.ghost {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    justify-content: center;
}
.btn.ghost:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139,30,35,0.2);
}

.btn:hover {
    transform: translateY(-2px);
}

.cards,
.highlights {
    padding: 3rem 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.highlight-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1.25rem;
    border-top: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.highlight-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(139,30,35,0.13);
    border-top-color: var(--secondary);
}
/* Highlight type border overrides */
.highlight-item.type-fast    { border-top-color: #6a8fc0; }
.highlight-item.type-fast:hover { border-top-color: #4a7db0; box-shadow: 0 24px 50px rgba(106,143,192,0.18); }
.highlight-item.type-youth   { border-top-color: #2a9d5c; }
.highlight-item.type-youth:hover { border-top-color: #1e7a47; box-shadow: 0 24px 50px rgba(42,157,92,0.18); }
.highlight-item.type-general { border-top-color: var(--secondary); }
/* Event badge pill — date label on highlight and planning cards */
.event-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
    background: rgba(106,143,192,0.14);
    color: #3a6fa0;
}
.event-badge.feast { background: rgba(139,30,35,0.1); color: var(--primary); }
.event-badge.youth { background: rgba(42,157,92,0.14); color: #1e7a47; }

.quote-credit {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--primary);
}

.page-header {
    padding: 3.5rem 0 2.5rem;
    background: linear-gradient(135deg, #fdf8f2 0%, #faf0e8 60%, #f5e6d8 100%);
    border-bottom: 1px solid rgba(0,0,0,0.07);
    margin-bottom: 0;
}
body.dark-theme .page-header {
    background: linear-gradient(135deg, #13151c 0%, #1a1d2e 60%, #1e1525 100%);
    border-bottom-color: rgba(255,255,255,0.07);
}
.page-header p {
    max-width: 56ch;
    color: #555;
    margin-top: 0.5rem;
}
body.dark-theme .page-header p {
    color: var(--article-muted);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tab-button {
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: background 0.2s ease;
}

.tab-button.active,
.tab-button:hover {
    background: var(--primary);
    color: #fff;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.news-card .meta {
    color: var(--article-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.mezmur-card audio {
    width: 100%;
    margin-top: 1rem;
}

.mezmur-category-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.category-button {
    border-radius: 999px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    padding: 0.6rem 1.6rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.category-button.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(139, 110, 30, 0.18);
}

.mezmur-category {
    display: none;
}

.mezmur-category.active {
    display: block;
}

.mezmur-layout {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(220px, 320px) 1fr;
    align-items: flex-start;
}

.mezmur-menu {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 100px;
}

.mezmur-menu-title {
    margin: 0;
    font-weight: 700;
    color: var(--primary);
}

.mezmur-menu-subtitle {
    margin: 0.15rem 0 1rem;
    color: var(--article-muted);
    font-size: 0.95rem;
}

.mezmur-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mezmur-option {
    width: 100%;
    border-radius: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--card-bg);
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mezmur-option .mezmur-meta {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--article-muted);
}

.mezmur-option.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(139, 30, 35, 0.25);
}

.mezmur-option.active .mezmur-meta {
    color: rgba(255, 255, 255, 0.85);
}

.mezmur-display {
    position: relative;
}

.mezmur-group {
    display: none;
}

.mezmur-group.active {
    display: block;
    animation: mezmur-fade 200ms ease;
}

@keyframes mezmur-fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lyrics-box {
    background: rgba(212, 160, 23, 0.1);
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
}

.mezmur-playlist {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mezmur-track {
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.85rem;
    background: #fffaf2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.mezmur-track audio {
    width: 100%;
    margin-top: 0.5rem;
}

.track-info {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.track-number {
    font-weight: 700;
    color: var(--secondary);
}

.track-title {
    margin: 0;
    font-weight: 600;
}

.track-meta {
    margin: 0;
    color: var(--article-muted);
    font-size: 0.9rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-form {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: inherit;
}

.site-footer {
    background: var(--card-bg);
    padding: 2.5rem 0;
    margin-top: 4rem;
    border-top: 3px solid var(--primary);
    text-align: center;
    background: linear-gradient(to bottom, #fff 0%, #fdf8f2 100%);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

html {
    scroll-behavior: smooth;
}

/* Sectietitel underline accent */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* Terug naar boven knop */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(139,30,35,0.35);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 1000;
    pointer-events: none;
}
#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Header slide-in bij laden */
.site-header {
    animation: header-in 0.6s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes header-in {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

/* Zwevende hero-kaart */
.floating {
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

/* Pulserende gloed op CTA knop */
.pulse-btn {
    animation: pulse-glow 2.5s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 16px rgba(139,30,35,0.25); }
    50%       { box-shadow: 0 4px 32px rgba(139,30,35,0.6), 0 0 0 6px rgba(139,30,35,0.1); }
}

/* Shimmer (glans) over kaarten bij hover */
.card, .highlight-item {
    overflow: hidden;
}
.card::before, .highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
    transition: left 0.5s ease;
    pointer-events: none;
    border-radius: inherit;
}
.card, .highlight-item {
    position: relative;
}
.card:hover::before, .highlight-item:hover::before {
    left: 150%;
}

/* Eyebrow tekst animatie */
.eyebrow {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-text 4s linear infinite;
}
@keyframes shimmer-text {
    from { background-position: 0% center; }
    to   { background-position: 200% center; }
}

/* Scroll-reveal animaties */
[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal="left"] {
    transform: translateX(-48px);
}
[data-reveal="left"].revealed {
    transform: translateX(0);
}
[data-reveal="right"] {
    transform: translateX(48px);
}
[data-reveal="right"].revealed {
    transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav ul {
        position: absolute;
        top: 70px;
        right: 5%;
        background: var(--card-bg);
        flex-direction: column;
        width: 220px;
        padding: 1rem;
        border-radius: 1rem;
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .main-nav ul.open {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 800px) {
    .mezmur-layout {
        grid-template-columns: 1fr;
    }

    .mezmur-menu {
        position: static;
    }
}

.menu {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
    padding: 0;
    list-style: none
}

.menu button {
    padding: .5rem 1rem;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 4px
}

.menu button[aria-selected="true"] {
    background: #222;
    color: #fff
}

.meta {
    font-weight: 600;
    margin: 0 0 .5rem
}

.mezmur-item { margin-bottom:1rem; }
.song-play { margin-right:0.5rem; }
.toggle-lyrics { margin-left:0.5rem; }
.lyrics { margin-top:0.5rem; background:#fffbea; padding:0.75rem; border-radius:6px; max-height:40vh; overflow:auto; }
.lyrics p { margin:0 0 0.5rem; line-height:1.4; white-space:pre-wrap; }

.lyrics {
    white-space: pre-wrap;
    border: 1px solid #eee;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fafafa;
    border-radius: 4px
}

.player {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

a.btn.ghost {
    display: inline-block;
    margin-top: .5rem
}

.card-button {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 0.9rem;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.card-button:focus {
    outline: 3px solid rgba(11, 99, 161, 0.25);
}

/* headings */
.article-body h1, .article-body h2, .article-body h3 {
  color: var(--accent);
  margin-top: 0.8rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.article-body h1 { font-size: 1.6rem; }
.article-body h2 { font-size: 1.35rem; }
.article-body h3 { font-size: 1.15rem; }

/* paragraphs, links and inline formatting */
.article-body p { margin: 0 0 0.9rem; color: var(--article-color); }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body strong { font-weight:700; }
.article-body em { font-style:italic; }

/* blockquote, code, lists */
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 0.9rem;
  color: var(--article-muted);
  margin: 0 0 1rem;
  background: rgba(11,99,161,0.04);
  border-radius:4px;
}
.article-body pre, .article-body code {
  background: rgba(0,0,0,0.04);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace;
  font-size: 0.95em;
  overflow:auto;
}
.article-body ul, .article-body ol { margin: 0 0 1rem 1.15rem; }

/* toolbar */
.article-toolbar { display:flex; gap:0.5rem; align-items:center; margin:0.5rem 0 1rem; }
.article-toolbar .btn { background:transparent; border:1px solid rgba(0,0,0,0.08); padding:0.35rem 0.6rem; border-radius:6px; cursor:pointer; color:var(--article-color); }
.article-toolbar .btn:focus { outline:2px solid rgba(11,99,161,0.18); }

/* responsive adjustments */
@media (max-width:600px){
  .article-body h1{ font-size:1.25rem; }
  :root{ --base-font-size:15px; }
}

/* Mezmur media gallery styles */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}
.media-card {
    background: var(--card-bg);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    cursor: pointer;
}
.media-card img { width: 100%; height: 120px; object-fit: cover; border-radius:6px; }
.media-caption { font-size: 0.9rem; color: var(--article-muted); padding: 0.25rem 0; text-align:center; }

/* Lightbox / modal for images and videos */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.65);
    z-index: 9999;
    padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-content { max-width: 1100px; width: 100%; max-height: 90vh; overflow: auto; background: var(--card-bg); border-radius: 8px; padding: 1rem; position: relative; }
.lightbox-close { position: absolute; top: 0.5rem; right: 0.5rem; background: transparent; border: none; font-size: 1.25rem; cursor: pointer; }
.video-wrap iframe { width: 100%; height: 400px; border: none; border-radius:6px; }

/* Social bar styles */
.social-wrap { padding: 1rem 0 0; }
.social-bar { display:flex; align-items:center; justify-content:center; gap:1rem; }
.social-label { font-weight:700; color:var(--primary); margin-right:0.5rem; }
.social-list { list-style:none; display:flex; gap:0.5rem; margin:0; padding:0; align-items:center; }
.social-list li { margin:0; }
.social-link { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%; background:var(--primary); color:#fff; text-decoration:none; font-weight:700; box-shadow:0 6px 18px rgba(0,0,0,0.08); transition:transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
.social-link .icon { font-size:0.95rem; line-height:1; }
.social-link:hover, .social-link:focus { transform:translateY(-4px); box-shadow:0 12px 28px rgba(0,0,0,0.12); }
.social-link:active { transform:translateY(-1px); }
.social-link[aria-current] { outline:3px solid var(--secondary); }

@media (max-width:640px){
    .social-bar { flex-direction:column; gap:0.5rem; }
    .social-list { order:2; }
    .social-label { order:1; }
}

/* Nieuws sectie */
.news-section {
    padding: 3rem 0;
}

/* Categorie badge op nieuwskaarten */
.news-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}
.news-badge--nieuws {
    background: rgba(212,160,23,0.15);
    color: #996b00;
}
.news-badge--tmhrti {
    background: rgba(28,129,196,0.12);
    color: #1a6fa3;
}
body.dark-theme .news-badge--nieuws {
    background: rgba(212,160,23,0.2);
    color: var(--secondary);
}
body.dark-theme .news-badge--tmhrti {
    background: rgba(88,166,255,0.15);
    color: var(--accent);
}

/* Professionele uitlegvideo in nieuws-sectie */
.news-video {
    margin-bottom: 2rem;
}
.video-card {
    display: grid;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: var(--card-bg);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary);
}
.video-copy h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.video-copy p {
    margin: 0 0 0.4rem;
    color: var(--article-muted);
    font-size: 0.95rem;
}
.video-frame {
    width: 100%;
}
.video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}
.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 768px) {
    .video-card {
        grid-template-columns: 1fr;
    }
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    min-height: 80px;
}
.news-card {
    background: var(--card-bg);
    padding: 1.75rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border-left: 4px solid var(--secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}
.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}
.news-card:hover::before { left: 150%; }
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}
.news-card h3 {
    margin: 0.4rem 0 0.6rem;
    font-size: 1rem;
    line-height: 1.4;
}
.news-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
