/**
 * BVA Alkmaar — Custom Styles
 *
 * Kleuren:
 *   Cyaan:        #04ABE4
 *   Donker cyaan: #037DAA
 *   Zwart:        #1A1A1A
 *   Lichtgrijs:   #F5F5F5
 *   Licht cyaan:  #E8F7FC
 */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
    --bva-cyan: #04ABE4;
    --bva-cyan-dark: #037DAA;
    --bva-cyan-darker: #025A7A;
    --bva-cyan-light: #E8F7FC;
    --bva-black: #1A1A1A;
    --bva-grey-dark: #333333;
    --bva-grey-medium: #888;
    --bva-grey-light: #F5F5F5;
    --bva-white: #FFFFFF;
    --bva-radius: 12px;
    --bva-radius-sm: 8px;
    --bva-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --bva-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    --bva-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --bva-shadow-hover: 0 8px 32px rgba(4, 171, 228, 0.18);
    --bva-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Typografie
   ========================================================================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--bva-black);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--bva-black);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.35rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.ast-primary-header-bar,
.site-header {
    border-bottom: 3px solid var(--bva-cyan);
    backdrop-filter: blur(8px);
}

.ast-site-identity .site-title a,
.ast-site-identity .site-title a:hover {
    color: var(--bva-black);
    font-weight: 700;
}

/* Logo sizing */
.site-logo-img img,
.custom-logo {
    max-height: 60px;
    width: auto;
}

/* ==========================================================================
   Navigatie
   ========================================================================== */

/* Hoofd menu items */
.main-navigation a,
.ast-header-break-point .main-header-menu a,
.main-header-menu > .menu-item > a {
    color: var(--bva-black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--bva-transition);
}

.main-navigation a:hover,
.main-header-menu > .menu-item > a:hover,
.main-header-menu > .menu-item.current-menu-item > a,
.main-header-menu > .menu-item.current-menu-ancestor > a {
    color: var(--bva-cyan);
}

/* Active menu indicator */
.main-header-menu > .menu-item.current-menu-item > a,
.main-header-menu > .menu-item.current-menu-ancestor > a {
    border-bottom: 2px solid var(--bva-cyan);
}

/* Submenu */
.main-header-menu .sub-menu {
    background: var(--bva-white);
    border-top: 3px solid var(--bva-cyan);
    box-shadow: var(--bva-shadow-md);
    border-radius: 0 0 var(--bva-radius) var(--bva-radius);
}

.main-header-menu .sub-menu a {
    color: var(--bva-grey-dark);
    padding: 0.6em 1.2em;
    font-size: 0.9rem;
}

.main-header-menu .sub-menu a:hover {
    background: var(--bva-cyan-light);
    color: var(--bva-cyan-dark);
}

/* Externe link indicator (voor Marathon/Shorttrack) */
.menu-item.bva-external-link > a::after {
    content: ' ↗';
    font-size: 0.75em;
    opacity: 0.6;
}

/* ==========================================================================
   Links & Knoppen
   ========================================================================== */
a {
    color: var(--bva-cyan-dark);
    transition: color var(--bva-transition);
}

a:hover {
    color: var(--bva-cyan);
}

/* Primaire knop */
.wp-block-button__link,
.ast-custom-button,
button,
input[type="submit"],
.bva-btn {
    background-color: var(--bva-cyan);
    color: var(--bva-white);
    border: none;
    border-radius: var(--bva-radius-sm);
    padding: 0.75em 1.75em;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--bva-transition);
    cursor: pointer;
    letter-spacing: 0.01em;
}

.wp-block-button__link:hover,
.ast-custom-button:hover,
button:hover,
input[type="submit"]:hover,
.bva-btn:hover {
    background-color: var(--bva-cyan-dark);
    box-shadow: 0 4px 12px rgba(4, 171, 228, 0.3);
    color: var(--bva-white);
    transform: translateY(-1px);
}

/* Outline variant */
.wp-block-button.is-style-outline .wp-block-button__link,
.bva-btn--outline {
    background: transparent;
    border: 2px solid var(--bva-cyan);
    color: var(--bva-cyan);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.bva-btn--outline:hover {
    background: var(--bva-cyan);
    color: var(--bva-white);
}

/* ==========================================================================
   Pagina Content
   ========================================================================== */
.entry-content {
    max-width: 1100px;
    margin: 0 auto;
}

/* Verbeterde tabel styling */
.entry-content table,
.bva-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95rem;
}

.entry-content table th,
.bva-table th {
    background: var(--bva-cyan);
    color: var(--bva-white);
    padding: 0.75em 1em;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.entry-content table td,
.bva-table td {
    padding: 0.65em 1em;
    border-bottom: 1px solid #e5e5e5;
}

.entry-content table tr:hover td,
.bva-table tr:hover td {
    background: var(--bva-cyan-light);
}

/* ==========================================================================
   Cards (voor verenigingen, baanselectie, etc.)
   ========================================================================== */
.bva-card {
    background: var(--bva-white);
    border-radius: var(--bva-radius);
    box-shadow: var(--bva-shadow);
    padding: 1.5em;
    transition: box-shadow var(--bva-transition), transform var(--bva-transition);
}

.bva-card:hover {
    box-shadow: var(--bva-shadow-hover);
    transform: translateY(-2px);
}

.bva-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bva-black);
    margin-bottom: 0.5em;
}

.bva-card__meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75em;
}

.bva-card__logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1em;
}

/* Card grid */
.bva-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5em;
    margin: 1.5em 0;
}

/* ==========================================================================
   Homepage specifiek
   ========================================================================== */
.bva-hero {
    background: linear-gradient(160deg, #04ABE4 0%, #025A7A 100%);
    color: var(--bva-white);
    padding: 6em 2.5em 5.5em;
    border-radius: 0 0 var(--bva-radius) var(--bva-radius);
    margin-bottom: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bva-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: bva-float 8s ease-in-out infinite;
}

.bva-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: bva-float 10s ease-in-out infinite reverse;
}

@keyframes bva-float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.bva-hero h1,
.bva-hero h2 {
    color: var(--bva-white);
}

.bva-hero__title {
    font-size: 3rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.4em;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bva-hero__subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 580px;
    margin: 0 auto 2em;
    line-height: 1.7;
    font-weight: 400;
}

.bva-hero__buttons {
    margin-top: 1em;
}

.bva-hero__btn .wp-block-button__link {
    padding: 0.8em 2em;
    font-size: 1rem;
}

.bva-hero__btn--outline .wp-block-button__link {
    border-color: rgba(255,255,255,0.6) !important;
    color: var(--bva-white) !important;
}

.bva-hero__btn--outline .wp-block-button__link:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: var(--bva-white) !important;
}

/* Stats bar */
.bva-stats-bar {
    background: var(--bva-white);
    border-radius: var(--bva-radius);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    margin: -2.5em auto 3em;
    padding: 2em 2.5em;
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.bva-stats {
    margin: 0 !important;
}

.bva-stat {
    text-align: center;
    padding: 0.5em 0;
}

.bva-stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bva-cyan);
    line-height: 1;
    margin-bottom: 0.15em;
    transition: all var(--bva-transition);
    letter-spacing: -0.02em;
}

.bva-stat:hover .bva-stat__number {
    color: var(--bva-cyan-dark);
    transform: scale(1.05);
}

.bva-stat__label {
    font-size: 0.78rem;
    color: var(--bva-grey-medium);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* Stat dividers */
.bva-stats .wp-block-column + .wp-block-column {
    border-left: 1px solid #eee;
}

/* Section headings */
.bva-section {
    padding: 4em 0;
}

.bva-section__heading {
    text-align: center;
    position: relative;
    margin-bottom: 0.5em;
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.bva-section__heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--bva-cyan);
    margin: 0.6em auto 0;
    border-radius: 3px;
}

.bva-section__intro {
    text-align: center;
    color: #666;
    max-width: 560px;
    margin: 0 auto 2.5em;
    font-size: 1.05rem;
    line-height: 1.7;
}

.bva-section--highlight {
    background: linear-gradient(135deg, var(--bva-cyan-light) 0%, #f0f9fd 100%);
    padding: 3.5em 2.5em;
    border-radius: var(--bva-radius);
    margin: 1em 0;
    border: 1px solid rgba(4, 171, 228, 0.08);
}

/* Discipline blokken op homepage */
.bva-disciplines-grid {
    gap: 1.5em;
}

.bva-discipline-card {
    background: var(--bva-white);
    border-radius: var(--bva-radius);
    box-shadow: var(--bva-shadow);
    padding: 2.25em 1.75em;
    text-align: center;
    transition: all var(--bva-transition);
    text-decoration: none;
    color: var(--bva-black);
    display: block;
    border: 1px solid rgba(0,0,0,0.04);
    border-top: 3px solid var(--bva-cyan);
    height: 100%;
    position: relative;
}

.bva-discipline-card:hover {
    box-shadow: var(--bva-shadow-hover);
    transform: translateY(-6px);
    color: var(--bva-black);
    border-top-color: var(--bva-cyan-dark);
}

.bva-discipline-card__icon {
    font-size: 3rem;
    margin-bottom: 0.6em;
    display: inline-block;
    transition: transform var(--bva-transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.bva-discipline-card:hover .bva-discipline-card__icon {
    transform: scale(1.2) rotate(-3deg);
}

.bva-discipline-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.3em;
}

.bva-discipline-card__desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1em;
    line-height: 1.5;
}

/* CTA split */
.bva-cta-split {
    align-items: center;
}

/* Latest posts enhancement */
.bva-latest-posts.wp-block-latest-posts {
    gap: 1.5em;
}

.bva-latest-posts.wp-block-latest-posts li {
    background: var(--bva-white);
    border-radius: var(--bva-radius);
    box-shadow: var(--bva-shadow);
    padding: 0;
    overflow: hidden;
    transition: all var(--bva-transition);
}

.bva-latest-posts.wp-block-latest-posts li:hover {
    box-shadow: var(--bva-shadow-hover);
    transform: translateY(-4px);
}

.bva-latest-posts .wp-block-latest-posts__featured-image {
    margin-bottom: 0;
}

.bva-latest-posts .wp-block-latest-posts__featured-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--bva-radius) var(--bva-radius) 0 0;
    transition: transform 0.4s ease;
}

.bva-latest-posts.wp-block-latest-posts li:hover .wp-block-latest-posts__featured-image img {
    transform: scale(1.03);
}

.bva-latest-posts .wp-block-latest-posts__post-title {
    padding: 1em 1.25em 0;
    font-weight: 700;
    color: var(--bva-black);
}

.bva-latest-posts .wp-block-latest-posts__post-excerpt,
.bva-latest-posts .wp-block-latest-posts__post-full-content {
    padding: 0 1.25em;
    font-size: 0.9rem;
    color: #666;
}

.bva-latest-posts .wp-block-latest-posts__post-date {
    padding: 0 1.25em 1em;
    font-size: 0.8rem;
    color: #999;
}

/* ==========================================================================
   Nieuws / Blog — Astra Archive Grid
   ========================================================================== */

/* Spacing: gap between navbar and posts, and between posts */
.ast-blog-layout-4-grid .ast-row {
    padding-top: 2rem;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Card container for each post in archive grid */
.ast-blog-layout-4-grid article.ast-article-post {
    background: var(--bva-white);
    border-radius: var(--bva-radius);
    box-shadow: var(--bva-shadow);
    overflow: hidden;
    transition: box-shadow var(--bva-transition), transform var(--bva-transition);
}

.ast-blog-layout-4-grid article.ast-article-post:hover {
    box-shadow: var(--bva-shadow-hover);
    transform: translateY(-2px);
}

/* Remove default Astra padding on inner wrapper */
.ast-blog-layout-4-grid .ast-article-inner {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Image container in archive grid — preserve aspect ratio */
.ast-blog-layout-4-grid .post-thumb-img-content {
    overflow: hidden;
}

.ast-blog-layout-4-grid .post-thumb-img-content a {
    display: block;
}

.ast-blog-layout-4-grid .post-thumb-img-content img {
    width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
    display: block;
    border-radius: 0;
}

/* Content area within card */
.ast-blog-layout-4-grid .post-content {
    padding: 0 1.25em 1.25em;
}

.ast-blog-layout-4-grid .ast-blog-featured-section {
    margin-bottom: 0.75em;
}

/* Category label styling */
.ast-blog-layout-4-grid .ast-taxonomy-container a {
    display: inline-block;
    background: var(--bva-cyan-light, #e8f7fc);
    color: var(--bva-cyan-dark);
    padding: 0.2em 0.7em;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Title link styling */
.ast-blog-layout-4-grid .entry-title a {
    color: var(--bva-black);
    text-decoration: none;
    transition: color var(--bva-transition);
}

.ast-blog-layout-4-grid .entry-title a:hover {
    color: var(--bva-cyan);
}

/* Single Post — Featured Image */
.single-post .post-thumb-img-content img.wp-post-image {
    border-radius: var(--bva-radius);
    width: 100%;
    height: auto !important;
    aspect-ratio: auto !important;
}

/* Single Post — Related posts images */
.ast-related-posts-wrapper .post-thumb-img-content {
    height: 180px;
    overflow: hidden;
    border-radius: var(--bva-radius-sm);
}

.ast-related-posts-wrapper .post-thumb-img-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Nieuws / Blog — Custom Grid (bva-news-grid)
   ========================================================================== */
.bva-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5em;
}

.bva-news-item {
    background: var(--bva-white);
    border-radius: var(--bva-radius);
    box-shadow: var(--bva-shadow);
    overflow: hidden;
    transition: box-shadow var(--bva-transition);
}

.bva-news-item:hover {
    box-shadow: var(--bva-shadow-hover);
}

.bva-news-item__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.bva-news-item__content {
    padding: 1.25em;
}

.bva-news-item__category {
    display: inline-block;
    background: var(--bva-cyan-light);
    color: var(--bva-cyan-dark);
    padding: 0.2em 0.7em;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.5em;
}

.bva-news-item__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

.bva-news-item__date {
    font-size: 0.8rem;
    color: #999;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.bva-footer {
    background: linear-gradient(180deg, #1e1e1e 0%, var(--bva-black) 100%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    line-height: 1.7;
}

.bva-footer a {
    color: var(--bva-cyan);
    text-decoration: none;
    transition: color var(--bva-transition);
}

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

/* Main footer area */
.bva-footer__main {
    padding: 3rem 1.5rem 2rem;
}

.bva-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 2.5rem;
}

.bva-footer__heading {
    color: var(--bva-white);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 1rem;
    letter-spacing: 0.01em;
}

/* Column: Contact */
.bva-footer__address {
    font-style: normal;
    margin: 0 0 0.75rem;
    line-height: 1.6;
}

.bva-footer__address p {
    margin: 0;
}

.bva-footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bva-footer__contact-list li {
    margin-bottom: 0.35rem;
}

.bva-footer__contact-list a {
    font-size: 0.88rem;
}

/* Column: Links */
.bva-footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bva-footer__menu li {
    margin-bottom: 0.45rem;
}

.bva-footer__menu a {
    display: inline-block;
    padding: 0.1rem 0;
    font-size: 0.92rem;
}

.bva-footer__menu a::before {
    content: '→ ';
    opacity: 0.5;
    font-size: 0.8rem;
    transition: opacity var(--bva-transition);
}

.bva-footer__menu a:hover::before {
    opacity: 1;
}

/* Column: Newsletter */
.bva-footer__text {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    opacity: 0.85;
}

.bva-footer-nl__row {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.bva-footer .bva-footer-nl__input,
.bva-footer-nl__input {
    flex: 1;
    height: auto;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    border-radius: 6px 0 0 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--bva-white);
    font-size: 0.88rem;
    line-height: 1.4;
    outline: none;
    box-shadow: none;
    transition: border-color var(--bva-transition), background var(--bva-transition);
}

.bva-footer .bva-footer-nl__input::placeholder,
.bva-footer-nl__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.bva-footer .bva-footer-nl__input:focus,
.bva-footer-nl__input:focus {
    border-color: var(--bva-cyan);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.bva-footer .bva-footer-nl__btn,
.bva-footer-nl__btn {
    padding: 0.65rem 1.1rem;
    height: auto;
    background: var(--bva-cyan);
    color: var(--bva-white);
    border: 1px solid var(--bva-cyan);
    border-radius: 0 6px 6px 0;
    font-size: 0.88rem;
    line-height: 1.4;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--bva-transition);
    white-space: nowrap;
    box-shadow: none;
    transform: none;
}

.bva-footer .bva-footer-nl__btn:hover,
.bva-footer-nl__btn:hover {
    background: var(--bva-cyan-dark);
    border-color: var(--bva-cyan-dark);
    transform: none;
    box-shadow: none;
}

.bva-footer-nl__msg {
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
}

.bva-footer-nl__msg--success {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.bva-footer-nl__msg--error {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.bva-footer-nl__msg--info {
    background: rgba(4, 171, 228, 0.15);
    color: var(--bva-cyan);
}

/* Bottom bar */
.bva-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
}

.bva-footer__bottom .bva-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.bva-footer__copyright {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.6;
}

.bva-footer__bottom-links {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.6;
}

.bva-footer__bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

.bva-footer__bottom-links a:hover {
    color: var(--bva-white);
}

/* Footer responsive */
@media (max-width: 768px) {
    .bva-footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bva-footer__bottom .bva-footer__inner {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
}

/* Hide Astra's default footer if it still renders */
.site-footer:not(.bva-footer) .site-primary-footer-wrap,
.site-footer:not(.bva-footer) .site-below-footer-wrap {
    display: none;
}



/* ==========================================================================
   Formulieren
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
    border: 1px solid #ddd;
    border-radius: var(--bva-radius);
    padding: 0.6em 0.9em;
    transition: border-color var(--bva-transition), box-shadow var(--bva-transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: var(--bva-cyan);
    box-shadow: 0 0 0 3px rgba(4, 171, 228, 0.15);
    outline: none;
}

/* ==========================================================================
   Utility classes
   ========================================================================== */
.bva-text-cyan { color: var(--bva-cyan); }
.bva-text-dark { color: var(--bva-black); }
.bva-bg-cyan { background-color: var(--bva-cyan); }
.bva-bg-light { background-color: var(--bva-grey-light); }
.bva-bg-cyan-light { background-color: var(--bva-cyan-light); }

.bva-section--grey {
    background: var(--bva-grey-light);
    padding: 3.5em 2.5em;
    border-radius: var(--bva-radius);
    margin: 1em 0;
}

/* "Meedoen bij de BVA" kaarten */
.bva-section--grey .wp-block-columns > .wp-block-column {
    background: var(--bva-white);
    border-radius: var(--bva-radius);
    padding: 2em;
    box-shadow: var(--bva-shadow);
    transition: all var(--bva-transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.bva-section--grey .wp-block-columns > .wp-block-column:hover {
    box-shadow: var(--bva-shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(4, 171, 228, 0.15);
}

/* Schaatsstreep accent */
.bva-accent-line {
    width: 60px;
    height: 3px;
    background: var(--bva-cyan);
    border: none;
    margin: 0.75em 0 1.5em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.15rem; }

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

    .bva-disciplines-grid {
        flex-wrap: wrap !important;
    }

    .bva-disciplines-grid .wp-block-column {
        flex-basis: 48% !important;
    }

    .bva-hero {
        padding: 3.5em 1.5em 3em;
    }

    .bva-hero__title {
        font-size: 2.1rem;
    }

    .bva-hero__subtitle {
        font-size: 1rem;
    }

    .bva-stats .wp-block-column + .wp-block-column {
        border-left: none;
        border-top: 1px solid #eee;
    }

    .bva-stats-bar {
        margin-top: -1.5em;
        padding: 1em 1.25em;
    }

    .bva-stat__number {
        font-size: 1.5rem;
    }

    .bva-stat__label {
        font-size: 0.7rem;
    }

    .bva-cta-split .wp-block-column {
        flex-basis: 100% !important;
    }

    .bva-news-grid {
        grid-template-columns: 1fr;
    }

    .bva-section--grey,
    .bva-section--highlight {
        padding: 2em 1em;
    }

    .entry-content table {
        font-size: 0.85rem;
    }

    .entry-content table th,
    .entry-content table td {
        padding: 0.5em 0.6em;
    }
}

@media (max-width: 480px) {
    .bva-disciplines-grid {
        flex-wrap: wrap !important;
    }

    .bva-disciplines-grid .wp-block-column {
        flex-basis: 100% !important;
    }

    .bva-stats .wp-block-column {
        flex-basis: 48% !important;
    }

    .bva-card__logo {
        width: 60px;
        height: 60px;
    }

    .bva-hero__title {
        font-size: 1.65rem;
    }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
    .site-header,
    .site-footer,
    .bva-footer,
    .main-navigation,
    .ast-above-header,
    .ast-below-header {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ==========================================================================
   Nieuws Filter Knoppen
   ========================================================================== */
.bva-nieuws-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-bottom: 1.5em;
}

.bva-filter-btn {
    display: inline-block;
    padding: 0.45em 1.1em;
    border: 2px solid var(--bva-cyan);
    border-radius: 50px;
    color: var(--bva-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--bva-transition), color var(--bva-transition);
}

.bva-filter-btn:hover {
    background: var(--bva-cyan-light);
    color: var(--bva-cyan-dark);
}

.bva-filter-btn--active,
.bva-filter-btn--active:hover {
    background: var(--bva-cyan);
    color: var(--bva-white);
}

.bva-news-item__title a {
    color: var(--bva-black);
    text-decoration: none;
}

.bva-news-item__title a:hover {
    color: var(--bva-cyan);
}

.bva-news-item__excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.75em;
}

.bva-nieuws-empty {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 2em;
}

/* ==========================================================================
   Nieuwsbrief / MailPoet
   ========================================================================== */
.bva-nieuwsbrief {
    background: linear-gradient(135deg, var(--bva-cyan) 0%, var(--bva-cyan-dark) 100%);
    border-radius: var(--bva-radius);
    padding: 2.5em 2em;
    margin: 2em 0;
    text-align: center;
    color: var(--bva-white);
}

.bva-nieuwsbrief__inner {
    max-width: 560px;
    margin: 0 auto;
}

.bva-nieuwsbrief__titel {
    color: var(--bva-white);
    font-size: 1.5rem;
    margin-bottom: 0.3em;
}

.bva-nieuwsbrief__tekst {
    opacity: 0.9;
    font-size: 1rem;
    margin-bottom: 1.25em;
}

.bva-nieuwsbrief__field {
    display: flex;
    gap: 0.5em;
    max-width: 460px;
    margin: 0 auto;
}

.bva-nieuwsbrief__input {
    flex: 1;
    border: 2px solid rgba(255,255,255,0.3) !important;
    border-radius: var(--bva-radius) !important;
    padding: 0.7em 1em !important;
    font-size: 1rem;
    background: rgba(255,255,255,0.15);
    color: var(--bva-white);
}

.bva-nieuwsbrief__input::placeholder {
    color: rgba(255,255,255,0.7);
}

.bva-nieuwsbrief__input:focus {
    border-color: var(--bva-white) !important;
    background: rgba(255,255,255,0.25);
    box-shadow: none !important;
}

.bva-nieuwsbrief__button {
    background: var(--bva-white) !important;
    color: var(--bva-cyan-dark) !important;
    border: none !important;
    border-radius: var(--bva-radius) !important;
    padding: 0.7em 1.8em !important;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--bva-transition), transform var(--bva-transition);
}

.bva-nieuwsbrief__button:hover {
    background: var(--bva-grey-light) !important;
    transform: translateY(-1px);
}

.bva-nieuwsbrief__privacy {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.75em;
}

.bva-nieuwsbrief__message {
    padding: 0.75em 1em;
    border-radius: var(--bva-radius);
    margin-bottom: 1em;
    font-weight: 500;
}

.bva-nieuwsbrief__message--success {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
}

.bva-nieuwsbrief__message--error {
    background: rgba(220,50,50,0.2);
    border: 1px solid rgba(220,50,50,0.4);
}

.bva-nieuwsbrief__message--info {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
}

/* MailPoet native form overrides (BVA branding) */
.mailpoet_form .mailpoet_submit {
    background-color: var(--bva-cyan) !important;
    border-radius: var(--bva-radius) !important;
}

.mailpoet_form .mailpoet_submit:hover {
    background-color: var(--bva-cyan-dark) !important;
}

@media (max-width: 480px) {
    .bva-nieuwsbrief__field {
        flex-direction: column;
    }

    .bva-nieuwsbrief__button {
        width: 100%;
    }

    .bva-nieuwsbrief {
        padding: 2em 1.5em;
    }
}

/* ==========================================================================
   Full-width homepage overrides
   ========================================================================== */
.page-id-84 .site-content > .ast-container,
.home .site-content > .ast-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.page-id-84 #primary,
.home #primary {
    width: 100% !important;
    margin: 0;
}

.page-id-84 .entry-content,
.home .entry-content {
    max-width: 100%;
    margin: 0;
}

/* Constrained sections on homepage get padding */
.page-id-84 .bva-section > .wp-block-group__inner-container,
.home .bva-section > .wp-block-group__inner-container {
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

/* Hero stretches full width */
.page-id-84 .bva-hero,
.home .bva-hero {
    border-radius: 0;
    max-width: 100%;
}

/* Hide sidebar on homepage (homepage uses page-builder-template so no sidebar anyway) */
.page-id-84 #secondary,
.home #secondary {
    display: none;
}

/* Smooth page background transition */
.bva-site {
    background: var(--bva-white);
}

/* ==========================================================================
   Content page improvements
   ========================================================================== */

/* Better link list styling on content pages */
.entry-content ul:not(.wp-block-latest-posts__list) li {
    padding: 0.3em 0;
}

.entry-content > ul > li > a:only-child {
    font-weight: 500;
}

/* Better blockquote */
.entry-content blockquote {
    border-left: 4px solid var(--bva-cyan);
    padding: 1em 1.5em;
    background: var(--bva-cyan-light);
    border-radius: 0 var(--bva-radius-sm) var(--bva-radius-sm) 0;
    margin: 1.5em 0;
    font-style: normal;
}

/* Image border radius in content */
.entry-content .wp-block-image img {
    border-radius: var(--bva-radius-sm);
}

/* Better wp-block-columns gap */
.wp-block-columns {
    gap: 2em;
}

/* Selection color */
::selection {
    background: var(--bva-cyan);
    color: var(--bva-white);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Latest posts block on homepage — make images full width */
.bva-latest-posts .wp-block-latest-posts__featured-image {
    overflow: hidden;
}

/* Cards in grey section — emoji headings bigger */
.bva-section--grey h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5em;
}

/* Newsletter on full-width homepage */
.page-id-84 .bva-nieuwsbrief,
.home .bva-nieuwsbrief {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 3em 2em;
}

/* Homepage widgets row — equal height */
.bva-homepage-widgets {
    margin-bottom: 2.5rem !important;
}
.bva-homepage-widgets > .wp-block-column {
    display: flex;
    flex-direction: column;
}
.bva-homepage-widgets .bva-weekend-widget,
.bva-homepage-widgets .bva-recente-records {
    flex: 1;
}
