/*
Theme Name: Tafeltennis Limburg
Description: Een toegankelijke agenda en nieuwswebsite, zonder paginabouwer.
Version: 0.3.24
Requires PHP: 8.1
Text Domain: ttl-limburg
*/
:root{--navy:#10243b;--blue:#164bc4;--red:#ef4739;--ink:#172d43;--muted:#586978;--paper:#f6f7f5;--line:#dce3e8;--radius:14px;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.6;background:#fff}a{color:inherit;text-underline-offset:4px}img{max-width:100%;display:block;height:auto}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f5a623;outline-offset:4px}h1,h2,h3,p{margin:0 0 1rem}h1,h2,h3{line-height:1.12;letter-spacing:-.035em}h1{font-size:clamp(38px,5vw,62px);font-weight:800}h2{font-size:clamp(28px,3vw,40px);font-weight:750}h3{font-size:22px;line-height:1.25}p:last-child{margin-bottom:0}.container{width:min(var(--max),calc(100% - 80px));margin-inline:auto}.preview-strip{background:#fff0d4;font-size:12px;color:#674916}.preview-strip .container{display:flex;justify-content:space-between;gap:16px;padding-block:7px}.preview-strip a{white-space:nowrap}.site-header{background:var(--navy);color:#fff}.header-inner{min-height:99px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:block;flex-shrink:0}.brand img{width:205px;height:58px;object-fit:contain}#hoofdmenu{display:flex;gap:25px;align-items:center}#hoofdmenu a{text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap}#hoofdmenu a:hover,#hoofdmenu a[aria-current]{color:#a9cdff}.nav-editor{border:1px solid #68778a;border-radius:7px;padding:9px 15px}.nav-editor span{margin-left:10px}.menu-toggle{display:none}.skip-link{position:fixed;left:15px;top:-90px;z-index:100;background:#fff;padding:12px 20px}.skip-link:focus{top:10px}.hero{background:var(--paper);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:50px;padding-block:58px 64px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:750;color:var(--blue);margin-bottom:16px}.live-dot{width:8px;height:8px;background:var(--red);display:inline-block;border-radius:50%;margin-right:7px}.hero h1{font-size:clamp(48px,5.1vw,70px);line-height:1.02;letter-spacing:-.055em;margin-bottom:25px}.hero h1 em{font-style:normal;color:var(--blue)}.hero-intro{font-size:18px;max-width:390px;color:var(--muted);line-height:1.65}.hero-actions{display:flex;gap:26px;align-items:center;margin-top:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;border:1px solid transparent;border-radius:7px;background:var(--blue);color:#fff;padding:13px 21px;min-height:48px;line-height:1.3;text-decoration:none;font-weight:650;font-size:14px;cursor:pointer;transition:background .15s,transform .15s}.button:hover{background:#103a99;transform:translateY(-1px)}.button.secondary{background:#fff;color:var(--ink);border-color:#b8c5d0}.button.secondary:hover{background:#eef3f8}.button.quiet{background:transparent;color:var(--blue)}.button.light{background:#fff;color:var(--navy)}.button.small{min-height:40px;padding:9px 15px}.text-link{font-size:14px;font-weight:700;text-decoration:none;color:var(--blue)}.text-link:hover{text-decoration:underline}.hero-note{font-size:12px;color:var(--muted);margin-top:22px}.hero-photo{position:relative;margin:0;height:470px;border-radius:120px 14px 14px 14px;isolation:isolate}.hero-photo>img{width:100%;height:100%;object-fit:cover;object-position:48% 45%;border-radius:inherit}.hero-photo:after{content:"";position:absolute;inset:30% 0 0;background:linear-gradient(transparent,rgba(9,27,47,.92));border-radius:inherit;z-index:0}.hero-photo figcaption{position:absolute;bottom:28px;left:30px;color:#fff;z-index:1;display:grid}.hero-photo figcaption>span{font-size:14px}.hero-photo figcaption strong{font-size:33px;line-height:1.2;letter-spacing:-.03em}.hero-photo figcaption small{font-size:10px;opacity:.85;margin-top:10px}.photo-sticker{position:absolute;top:25px;right:-15px;border-radius:50%;background:var(--red);color:#fff;transform:rotate(10deg);width:106px;height:106px;display:grid;place-content:center;font-size:16px;font-weight:700;line-height:1.3;text-align:center;z-index:2}.section{padding-block:64px}.section.compact{padding-top:30px}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:9px}.section-heading>span{font-size:14px;color:var(--muted)}.demo-note{font-size:12px;color:#705324;display:flex;gap:10px;margin-bottom:23px}.event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.event-card{display:flex;border:1px solid var(--line);border-radius:var(--radius);padding:23px 20px 18px;gap:18px;background:#fff;position:relative;transition:border-color .15s,box-shadow .15s}.event-card:hover{border-color:#8dabe3;box-shadow:0 7px 25px #1738550c}.event-date{min-width:42px;text-align:center;display:flex;flex-direction:column;line-height:1.2;padding-top:4px;color:var(--blue)}.event-date>span{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.event-date strong{font-size:35px;letter-spacing:-.05em;margin-block:3px}.event-date>span:last-child{color:var(--muted);font-size:10px}.event-info{flex:1;min-width:0}.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:5px;flex-wrap:wrap;margin-bottom:12px}.card-top .eyebrow{font-size:9px;margin:0}.badge{display:inline-flex;font-size:10px;font-weight:650;border-radius:4px;background:#e8f1ed;color:#26634a;padding:3px 6px;line-height:1.3}.badge.demo{background:#fff0d4;color:#76531b}.event-card h3{font-size:19px;letter-spacing:-.025em;margin-bottom:12px}.event-card h3 a{text-decoration:none}.event-card h3 a:after{content:"";position:absolute;inset:0;border-radius:var(--radius)}.event-meta{font-size:12px;color:var(--muted);line-height:1.6}.event-meta span{padding-inline:4px}.card-bottom{border-top:1px solid #edf0f3;display:flex;align-items:center;justify-content:space-between;padding-top:12px;margin-top:18px;font-size:11px;font-weight:600;color:var(--muted)}.card-arrow{font-size:20px;color:var(--blue);line-height:1}.news-section{background:var(--paper)}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.news-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.news-image{display:block;height:205px;background:#e8eef3;overflow:hidden}.news-image img{width:100%;height:100%;object-fit:cover;object-position:top}.news-body{padding:24px}.news-body .eyebrow{font-size:10px;color:var(--muted);margin-bottom:12px}.news-body h3{font-size:22px;margin-bottom:14px}.news-body h3 a{text-decoration:none}.news-body h3 a:hover{color:var(--blue)}.news-body>p:not(.eyebrow){font-size:14px;color:var(--muted);line-height:1.7;margin-bottom:22px}.photo-placeholder{height:100%;min-height:190px;background:linear-gradient(135deg,#173a70,#1c5fc8);display:grid;place-content:center}.photo-placeholder span{font-size:85px;color:#fff3;letter-spacing:-.1em;font-weight:800}.community-section{background:var(--blue);color:white;padding-block:65px}.community-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}.community-section .eyebrow{color:#c6dbff}.community-section h2{font-size:40px;margin:0}.community-section p:not(.eyebrow){color:#e0eaff;margin-bottom:25px;max-width:450px}.site-footer{background:var(--navy);color:#d4dce5;padding-top:50px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1.3fr;gap:70px;padding-bottom:40px}.site-footer h2{font-size:13px;letter-spacing:0;color:#fff;margin-bottom:20px}.site-footer p{font-size:13px;color:#abb8c8;margin-top:18px}.footer-grid>div>a:not(.brand){display:block;text-decoration:none;font-size:13px;margin-bottom:10px}.footer-grid a:hover{text-decoration:underline}.footer-bottom{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#9caebf;border-top:1px solid #35465b;padding-block:20px}.page-intro{background:var(--paper);padding-block:53px 45px}.page-intro h1{margin-bottom:20px}.page-intro p:not(.eyebrow){color:var(--muted);font-size:18px}.agenda-filters{display:flex;gap:15px;align-items:end;background:var(--paper);padding:23px;border-radius:var(--radius);margin-bottom:38px}.agenda-filters label{font-weight:650;font-size:12px;flex:1;min-width:0}.agenda-filters select{display:block;width:100%;margin-top:7px}.agenda-filters>a{font-size:12px;align-self:center;white-space:nowrap}.agenda-filters .button{white-space:nowrap}.empty-state{background:var(--paper);border:1px dashed #bcc9d3;padding:42px;border-radius:var(--radius);text-align:center;grid-column:1/-1}.empty-state h3{font-size:25px}.empty-state p{color:var(--muted);margin-bottom:20px}.pagination{display:flex;gap:15px;margin-top:35px;align-items:center}.pagination a,.pagination .current{padding:8px 14px;border-radius:5px;background:var(--paper);display:inline-block}.pagination .current{background:var(--blue);color:white}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.detail-wrap{padding-block:35px 65px}.back-link{display:inline-block;font-size:13px;text-decoration:none;color:var(--blue);font-weight:650;margin-bottom:30px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:70px}.detail-grid h1{font-size:clamp(36px,4vw,54px)}.detail-lead{font-size:18px;color:var(--muted);margin-block:23px 30px}.event-facts{background:var(--paper);border-radius:var(--radius);padding:28px;height:fit-content}.event-facts h2{font-size:24px;margin-top:20px}.event-facts dl{margin-block:25px}.event-facts dt{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:650;margin-top:18px}.event-facts dd{margin:5px 0 0;font-size:15px}.event-facts .button{width:100%}.event-facts .hint{font-size:12px}.detail-image{border-radius:var(--radius);margin-bottom:30px}.notice{background:#edf3fb;border:1px solid #cedef4;padding:20px 24px;border-radius:9px;margin-bottom:25px;font-size:14px}.notice p{margin-top:6px}.notice.example{background:#fff5df;border-color:#efd69f;color:#73511b}.notice.success{background:#eef8f0;border-color:#a9d6b3;color:#255731}.notice.error{background:#fff0ed;border-color:#edb6ac;color:#972c20}.notice ul{margin:10px 0 0;padding-left:20px}.article-wrap{max-width:850px;padding-block:60px 75px;min-height:60vh}.article-wrap h1{margin-bottom:32px}.prose{font-size:17px;line-height:1.85;margin-bottom:35px}.prose p{margin-bottom:22px}.prose h2{font-size:30px;margin-block:35px 18px}.article-photo{margin-bottom:30px}.article-photo img{width:100%;max-height:600px;object-fit:contain;background:var(--paper);border-radius:var(--radius)}.source-box{background:var(--paper);border-radius:var(--radius);padding:28px;margin-block:30px}.source-box h2{font-size:25px}.source-box p{color:var(--muted);font-size:15px}.hint{font-size:14px;color:var(--muted);margin-top:15px}.editor-wrap{padding-block:42px 65px}.editor-heading{margin-bottom:30px}.editor-heading h1{font-size:44px}.editor-heading h2{font-size:34px}.editor-heading p:not(.eyebrow){color:var(--muted)}.editor-choices{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-bottom:50px}.editor-choices>a{border:1px solid var(--line);padding:30px;border-radius:var(--radius);text-decoration:none;background:var(--paper)}.editor-choices>a:hover{border-color:var(--blue)}.editor-choices h2{font-size:26px;margin-top:20px}.editor-choices p{font-size:15px;color:var(--muted)}.editor-choices strong{font-size:14px;color:var(--blue)}.choice-icon{display:inline-grid;place-content:center;background:var(--blue);color:#fff;border-radius:9px;width:42px;height:42px;font-size:25px}.editor-links{display:flex;flex-wrap:wrap;gap:15px;font-size:12px;color:var(--blue)}.editor-wrap>.editor-content>.section-heading h2{font-size:28px}.contribution-list article{display:flex;justify-content:space-between;gap:25px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.contribution-list h3{font-size:20px;margin-bottom:6px}.contribution-list .eyebrow{font-size:10px}.contribution-list p{font-size:12px;color:var(--muted);margin:0}.contribution-list article>span{font-size:12px;white-space:nowrap}.editor-form{max-width:900px;border:1px solid var(--line);border-radius:var(--radius);padding:32px;background:#fff}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:23px}.field>span{font-size:14px;font-weight:650}.field small{color:var(--muted);font-size:12px;font-weight:400}.field span small{margin-left:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:25px}input,select,textarea{border:1px solid #aebdc9;border-radius:6px;background:white;padding:11px 12px;color:var(--ink);min-height:47px;max-width:100%}textarea{resize:vertical;line-height:1.7}input[type=checkbox]{min-height:0;width:18px;height:18px;accent-color:var(--blue)}input[type=file]{background:var(--paper);font-size:14px}fieldset{border:1px solid var(--line);border-radius:9px;padding:20px;margin:0 0 25px}legend{font-size:17px;font-weight:700;padding:0 8px}.check-field{display:flex;gap:10px;align-items:center;font-size:14px;margin-bottom:25px}.form-actions{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line);padding-top:25px;margin-top:25px}.editor-thumbnail{max-width:130px;margin-bottom:20px}.trash-form{margin-top:22px}.text-button{color:#9f342d;font-size:13px;background:none;border:0;text-decoration:underline;cursor:pointer;padding:8px 0}
@media(min-width:1450px){.hero-grid{gap:75px}.hero-photo{height:500px}.hero h1{font-size:76px}}
@media(max-width:1100px){.container{width:calc(100% - 48px)}#hoofdmenu{gap:17px}#hoofdmenu a{font-size:12px}.brand img{width:170px}.hero-grid{gap:35px}.hero h1{font-size:56px}.hero-photo{height:430px}.hero-actions{gap:16px}.event-grid{gap:15px}.event-card{padding:20px 15px;gap:12px}.event-date{min-width:35px}.event-card h3{font-size:17px}.card-top .badge{font-size:9px}.news-grid{gap:20px}.news-image{height:170px}.detail-grid{gap:35px}.agenda-filters{flex-wrap:wrap}.agenda-filters label{min-width:180px}.community-grid{gap:50px}}
@media(max-width:800px){.header-inner{min-height:83px;position:relative;flex-wrap:wrap;gap:0}.brand img{width:182px}.menu-toggle{display:flex;gap:12px;background:transparent;color:#fff;border:1px solid #708092;border-radius:6px;padding:9px 12px;cursor:pointer;font-size:13px}#hoofdmenu{display:none;flex-direction:column;align-items:stretch;width:100%;padding:12px 0 25px;gap:0}#hoofdmenu.is-open{display:flex}#hoofdmenu a{font-size:15px;padding:12px 0}.nav-editor{border:0}.hero-grid{grid-template-columns:1fr 1fr;gap:25px}.hero h1{font-size:44px}.hero-intro{font-size:16px}.hero-photo{height:385px;border-top-left-radius:75px}.hero-actions{align-items:flex-start;flex-direction:column;gap:18px}.hero-photo figcaption{left:20px;bottom:20px}.hero-photo figcaption strong{font-size:28px}.photo-sticker{width:83px;height:83px;font-size:13px;right:-8px}.event-grid{grid-template-columns:1fr}.event-card{padding:22px;gap:24px}.event-date{min-width:50px}.event-date strong{font-size:40px}.event-card h3{font-size:23px}.card-top{justify-content:flex-start;gap:15px}.card-top .eyebrow{font-size:10px}.card-top .badge{font-size:10px}.event-meta{font-size:14px}.card-bottom{margin-top:12px;padding-top:10px}.news-grid{grid-template-columns:1fr 1fr}.news-card:last-child:nth-child(3){grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.news-card:last-child:nth-child(3) .news-image{height:100%}.section-heading{align-items:start}.section-heading>.text-link{white-space:nowrap;margin-top:10px}.community-grid{gap:30px}.community-section h2{font-size:32px}.footer-grid{gap:30px}.detail-grid{grid-template-columns:1fr}.event-facts{max-width:600px}.editor-choices h2{font-size:23px}.editor-links{max-width:350px}.editor-wrap .section-heading{flex-direction:column}.form-actions .button{flex-grow:1}}
@media(max-width:560px){.container{width:calc(100% - 36px)}.preview-strip .container{padding-block:6px;font-size:10px;gap:10px}.preview-strip a{font-size:9px}.header-inner{min-height:78px}.brand img{height:50px;width:175px}.hero-grid{grid-template-columns:1fr;padding-block:35px 32px;gap:33px}.hero h1{font-size:55px;line-height:1.02}.hero h1 em{font-size:clamp(39px,12.5vw,49px)}.hero-copy>.eyebrow{font-size:9px;margin-bottom:19px}.hero-intro{font-size:16px;max-width:330px}.hero-actions{flex-direction:row;align-items:center;gap:18px;margin-top:24px}.hero-actions .button{font-size:12px;padding:13px 15px;gap:15px}.hero-actions .text-link{font-size:12px}.hero-note{margin-top:15px;font-size:10px}.hero-photo{height:290px;border-top-left-radius:70px;margin-right:7px}.hero-photo>img{object-position:center 40%}.photo-sticker{top:17px;right:-13px}.hero-photo figcaption strong{font-size:28px}.hero-photo figcaption small{margin-top:6px}.section{padding-block:40px}.section-heading{flex-direction:column;gap:14px;margin-bottom:20px}.section-heading>.text-link{margin-top:0;font-size:12px}.section-heading .eyebrow{font-size:9px}h2{font-size:30px}.demo-note{font-size:11px}.event-card{gap:19px;padding:19px 17px}.event-card h3{font-size:20px}.event-meta{font-size:12px}.card-top{gap:10px}.event-date{min-width:37px}.event-date strong{font-size:35px}.news-grid{grid-template-columns:1fr}.news-card:last-child:nth-child(3){grid-column:auto;display:block}.news-card:last-child:nth-child(3) .news-image,.news-image{height:200px}.news-body{padding:23px}.news-body h3{font-size:23px}.community-section{padding-block:40px}.community-grid{grid-template-columns:1fr;gap:25px}.community-section h2{font-size:33px}.community-section p:not(.eyebrow){font-size:15px}.site-footer{padding-top:35px}.footer-grid{grid-template-columns:1fr 1fr;gap:30px 20px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:7px}.page-intro{padding-block:35px}.page-intro h1{font-size:44px}.page-intro p:not(.eyebrow){font-size:16px}.agenda-filters{padding:18px;gap:15px;align-items:stretch}.agenda-filters label{min-width:100%}.agenda-filters .button{width:100%}.agenda-filters>a{display:block;text-align:center;width:100%}.detail-wrap{padding-top:25px}.detail-grid h1{font-size:37px}.detail-lead{font-size:16px}.event-facts{padding:25px}.article-wrap{padding-block:35px 50px}.article-wrap h1{font-size:37px}.prose{font-size:16px}.source-box{padding:23px}.source-box .button{font-size:13px}.editor-wrap{padding-block:30px 45px}.editor-heading h1{font-size:35px}.editor-heading h2{font-size:29px}.editor-choices{grid-template-columns:1fr;gap:16px;margin-bottom:35px}.editor-choices>a{padding:23px}.editor-choices h2{font-size:25px}.contribution-list article{gap:15px}.contribution-list h3{font-size:17px}.contribution-list .button{font-size:11px;padding:9px}.editor-form{padding:21px 16px}.form-grid{grid-template-columns:1fr}.field{margin-bottom:22px}.field input,.field select,.field textarea{min-width:0;width:100%;font-size:16px}fieldset{padding:17px 12px}.form-actions{flex-direction:column}.notice{padding:18px}.check-field{align-items:flex-start}.check-field input{flex-shrink:0}.empty-state{padding:28px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.ttl-result-table{overflow-x:auto}.ttl-result-table table{border-collapse:collapse;width:100%}.ttl-result-table :is(td,th){text-align:left;padding:.3rem .6rem;border-bottom:1px solid #dce3e8}.ttl-result-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:10px;margin-block:1.5rem}.ttl-result-gallery img{width:100%;height:130px;object-fit:cover}
