/*
Theme Name: TukkerTribune
Theme URI: https://tukkertribune.nl
Author: TukkerTribune
Description: Een eigen rood-wit WordPress nieuwsthema voor TukkerTribune met nieuws, wedstrijden, standen, selectie en contact.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: tukkertribune
*/

:root {
  --tt-red: #d10a12;
  --tt-red-dark: #a7070d;
  --tt-black: #121212;
  --tt-grey: #6d6d6d;
  --tt-light: #f5f5f5;
  --tt-border: #e6e6e6;
  --tt-white: #ffffff;
  --tt-radius: 10px;
  --tt-shadow: 0 10px 30px rgba(0,0,0,.08);
  --tt-wrap: 1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--tt-black);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{width:min(calc(100% - 32px),var(--tt-wrap));margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.tt-topbar{background:var(--tt-red);color:#fff;font-size:13px}
.tt-topbar-inner{display:flex;justify-content:space-between;align-items:center;min-height:34px;gap:20px}
.tt-brandbar{background:#fff;border-bottom:1px solid var(--tt-border)}
.tt-brandbar-inner{display:flex;align-items:center;justify-content:space-between;padding:17px 0;gap:24px}
.tt-logo{display:flex;align-items:center;gap:11px;font-weight:900;letter-spacing:-1px;font-size:25px;color:var(--tt-red)}
.tt-logo .custom-logo{width:auto;max-width:230px;max-height:62px;object-fit:contain}
.tt-logo-mark{width:46px;height:46px;border-radius:50%;background:var(--tt-red);color:#fff;display:grid;place-items:center;font-weight:900;font-size:25px;border:4px solid #f4b8ba}
.tt-tagline{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#777;font-weight:700}
.tt-button,.comment-form input[type=submit],.tt-contact-form button{border:0;border-radius:5px;background:var(--tt-red);color:#fff;padding:11px 17px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.tt-button:hover,.comment-form input[type=submit]:hover,.tt-contact-form button:hover{background:var(--tt-red-dark)}
.tt-button-outline{background:#fff;color:var(--tt-red);border:1px solid var(--tt-red)}
.tt-nav{background:var(--tt-red);color:#fff;box-shadow:0 3px 12px rgba(0,0,0,.12);position:sticky;top:0;z-index:50}
.tt-nav-inner{display:flex;align-items:center;justify-content:space-between;min-height:54px}
.tt-menu{display:flex;align-items:center;list-style:none;padding:0;margin:0;gap:0}
.tt-menu li a{display:block;padding:17px 20px;font-weight:900;text-transform:uppercase;font-size:14px;letter-spacing:.02em}
.tt-menu li.current-menu-item a,.tt-menu li a:hover{background:#fff;color:var(--tt-red)}
.tt-menu-toggle{display:none;background:none;border:0;color:#fff;font-size:26px}
.tt-search{font-size:20px;padding:10px}

.tt-ticker{background:#171717;color:#fff;border-bottom:3px solid var(--tt-red)}
.tt-ticker-inner{display:flex;align-items:center;min-height:42px;white-space:nowrap;overflow:hidden}
.tt-ticker-label{background:var(--tt-red);padding:11px 14px;font-weight:900;margin-right:16px}
.tt-ticker-text{font-size:14px;overflow:hidden;text-overflow:ellipsis}

.tt-main{padding:34px 0 64px}
.tt-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:34px}
.tt-section-title{font-size:27px;text-transform:uppercase;margin:0 0 20px;font-weight:900;letter-spacing:-.02em;border-left:6px solid var(--tt-red);padding-left:12px}
.tt-section-subtitle{color:var(--tt-grey);margin-top:-12px;margin-bottom:24px}

.tt-hero{position:relative;border-radius:var(--tt-radius);overflow:hidden;min-height:430px;background:#222;box-shadow:var(--tt-shadow);margin-bottom:26px}
.tt-hero img{width:100%;height:430px;object-fit:cover;opacity:.78}
.tt-hero-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.88),rgba(0,0,0,.05) 65%)}
.tt-hero-content{position:absolute;left:28px;right:28px;bottom:26px;color:#fff}
.tt-category{display:inline-block;background:var(--tt-red);color:#fff;padding:6px 9px;border-radius:4px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.tt-hero h1{font-size:38px;line-height:1.08;margin:12px 0 10px;max-width:780px}
.tt-meta{display:flex;flex-wrap:wrap;gap:12px;color:#707070;font-size:13px;font-weight:700}
.tt-hero .tt-meta{color:#eee}

.tt-article-list{display:grid;gap:18px}
.tt-article-card{display:grid;grid-template-columns:250px 1fr;border-bottom:1px solid var(--tt-border);padding-bottom:18px;gap:20px}
.tt-article-card img,.tt-placeholder{width:250px;height:155px;object-fit:cover;border-radius:7px;background:linear-gradient(135deg,#ddd,#f5f5f5)}
.tt-article-card h2{font-size:23px;line-height:1.15;margin:9px 0 12px}
.tt-article-card h2 a:hover{color:var(--tt-red)}
.tt-excerpt{color:#555;margin:0 0 12px}

.tt-widget{border-top:5px solid var(--tt-red);background:#fff;box-shadow:var(--tt-shadow);padding:20px;margin-bottom:24px}
.tt-widget h2{font-size:20px;text-transform:uppercase;margin:0 0 15px}
.tt-popular-list{list-style:none;margin:0;padding:0;counter-reset:item}
.tt-popular-list li{counter-increment:item;display:grid;grid-template-columns:34px 1fr;gap:8px;padding:13px 0;border-bottom:1px solid var(--tt-border)}
.tt-popular-list li:last-child{border:0}
.tt-popular-list li:before{content:counter(item);font-size:25px;color:var(--tt-red);font-weight:900;line-height:1}
.tt-popular-list a{font-weight:800;line-height:1.25}
.tt-popular-list small{display:block;color:#888;margin-top:5px}
.tt-scorers{list-style:none;margin:0;padding:0}
.tt-scorers li{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:11px 0;border-bottom:1px solid var(--tt-border)}
.tt-rank{font-weight:900;color:var(--tt-red)}
.tt-goals{font-weight:900;background:var(--tt-light);border-radius:20px;padding:4px 9px}

.pagination,.nav-links{display:flex;flex-wrap:wrap;gap:7px;margin-top:30px}
.page-numbers{border:1px solid var(--tt-border);padding:9px 13px;border-radius:4px;font-weight:800}
.page-numbers.current,.page-numbers:hover{background:var(--tt-red);color:#fff;border-color:var(--tt-red)}

.tt-page-header{background:linear-gradient(120deg,var(--tt-red),#760005);color:#fff;padding:44px 0;margin-bottom:34px}
.tt-page-header h1{font-size:40px;margin:0 0 8px;text-transform:uppercase}
.tt-page-header p{margin:0;max-width:760px;color:#ffe5e5}

.tt-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.tt-tab{border:1px solid var(--tt-border);padding:9px 13px;border-radius:5px;background:#fff;font-weight:800}
.tt-tab.active{background:var(--tt-red);color:#fff;border-color:var(--tt-red)}
.tt-match-sections{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.tt-match-card{border:1px solid var(--tt-border);border-radius:8px;margin-bottom:15px;background:#fff;overflow:hidden}
.tt-match-date{background:var(--tt-light);padding:9px 15px;font-weight:800;font-size:13px;color:#666}
.tt-match-body{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;padding:18px}
.tt-team{text-align:center;font-weight:900}
.tt-score{font-size:25px;font-weight:900;background:var(--tt-red);color:#fff;border-radius:6px;padding:7px 12px;min-width:64px;text-align:center}
.tt-match-info{padding:0 18px 15px;text-align:center;color:#777;font-size:13px}

.tt-table-wrap{overflow-x:auto;border:1px solid var(--tt-border);border-radius:8px;margin-bottom:30px}
.tt-standings{width:100%;border-collapse:collapse;min-width:720px}
.tt-standings th{background:var(--tt-red);color:#fff;text-align:center;padding:12px 8px;font-size:12px;text-transform:uppercase}
.tt-standings th:nth-child(2){text-align:left}
.tt-standings td{padding:11px 9px;border-bottom:1px solid var(--tt-border);text-align:center}
.tt-standings td:nth-child(2){text-align:left;font-weight:700}
.tt-standings tr.tt-highlight{background:#fff1f1;font-weight:900;color:var(--tt-red)}

.tt-player-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.tt-player-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.tt-player-card{border-radius:10px;overflow:hidden;background:#fff;box-shadow:var(--tt-shadow);border:1px solid var(--tt-border)}
.tt-player-photo{height:260px;background:linear-gradient(140deg,#ededed,#fff);position:relative;overflow:hidden}
.tt-player-photo img{width:100%;height:100%;object-fit:cover;object-position:top}
.tt-shirt-number{position:absolute;top:12px;left:12px;width:42px;height:42px;background:var(--tt-red);color:#fff;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:20px}
.tt-player-info{padding:17px}
.tt-player-info h2{margin:0 0 5px;font-size:21px}
.tt-player-position{color:var(--tt-red);font-weight:900;text-transform:uppercase;font-size:12px}
.tt-player-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px;text-align:center}
.tt-player-stats div{background:var(--tt-light);padding:8px 4px;border-radius:5px}
.tt-player-stats strong{display:block;font-size:17px}
.tt-player-stats span{font-size:10px;text-transform:uppercase;color:#777}

.tt-contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px}
.tt-contact-card{background:#fff;box-shadow:var(--tt-shadow);padding:25px;border-top:5px solid var(--tt-red)}
.tt-contact-row{padding:12px 0;border-bottom:1px solid var(--tt-border)}
.tt-contact-form label{display:block;font-weight:800;margin-bottom:6px}
.tt-contact-form input,.tt-contact-form textarea,.tt-contact-form select{width:100%;border:1px solid #d5d5d5;border-radius:5px;padding:12px;font:inherit;margin-bottom:16px}
.tt-contact-form textarea{min-height:160px;resize:vertical}
.tt-alert{padding:13px 15px;border-radius:5px;margin-bottom:18px;background:#e7f7ea;color:#176b2c;font-weight:700}
.tt-alert-error{background:#fde8e8;color:#8c1111}

.tt-single{max-width:850px}
.tt-single h1{font-size:43px;line-height:1.08;margin:0 0 13px}
.tt-single-image{margin:24px 0;border-radius:10px;overflow:hidden}
.tt-content{font-size:18px}
.tt-content p{margin:0 0 1.35em}
.tt-content h2,.tt-content h3{margin-top:1.7em}
.tt-comments{margin-top:45px;border-top:1px solid var(--tt-border);padding-top:28px}
.comment-list{list-style:none;padding:0}
.comment-body{padding:18px 0;border-bottom:1px solid var(--tt-border)}
.comment-form input:not([type=submit]),.comment-form textarea{width:100%;padding:12px;border:1px solid #ccc;border-radius:5px}

.tt-footer{background:var(--tt-red);color:#fff;margin-top:60px}
.tt-footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:35px;padding:45px 0}
.tt-footer h3{margin:0 0 14px;text-transform:uppercase;font-size:16px}
.tt-footer ul{list-style:none;padding:0;margin:0}
.tt-footer li{margin:7px 0}
.tt-footer-bottom{background:#a8070c;padding:13px 0;font-size:12px;color:#ffd7d8}

@media (max-width:960px){
 .tt-grid,.tt-contact-grid{grid-template-columns:1fr}.tt-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:20px}.tt-match-sections{grid-template-columns:1fr}.tt-player-grid{grid-template-columns:repeat(2,1fr)}.tt-footer-grid{grid-template-columns:1fr 1fr}.tt-menu li a{padding:17px 11px;font-size:12px}
}
@media (max-width:700px){
 .tt-topbar{display:none}.tt-brandbar-inner{padding:12px 0}.tt-logo{font-size:24px}.tt-logo-mark{width:44px;height:44px}.tt-tagline{display:none}.tt-account-links .tt-button-outline{display:none}.tt-menu-toggle{display:block}.tt-nav-inner{position:relative}.tt-menu{display:none;position:absolute;top:54px;left:-16px;right:-16px;background:var(--tt-red);flex-direction:column;align-items:stretch}.tt-menu.is-open{display:flex}.tt-menu li a{padding:14px 18px}.tt-grid{gap:24px}.tt-sidebar{display:block}.tt-main{padding-top:22px}.tt-hero,.tt-hero img{height:360px;min-height:360px}.tt-hero h1{font-size:28px}.tt-hero-content{left:18px;right:18px}.tt-article-card{grid-template-columns:120px 1fr;gap:13px}.tt-article-card img,.tt-placeholder{width:120px;height:96px}.tt-article-card h2{font-size:18px;margin-top:6px}.tt-excerpt{display:none}.tt-page-header h1{font-size:31px}.tt-player-grid{grid-template-columns:1fr}.tt-footer-grid{grid-template-columns:1fr}.tt-contact-grid{gap:20px}.tt-single h1{font-size:32px}.tt-match-body{gap:8px;padding:14px 8px}.tt-score{font-size:20px;padding:6px 8px}.tt-account-links{gap:6px}.tt-button{padding:9px 11px;font-size:12px}
}
