/* TVG CI: Sportfinder/Quiz palette, square corners, 1 / 1.5 / 2 px lines. */
.tvg-events.tvg-events{--jp-ink:#001B12;--jp-night:#003624;--jp-deep:#005035;--jp-green:#008659;--jp-pale:#99CFBD;--jp-mint:#CCE7DE;--jp-wash:#F4FBF7;--jp-gold:#D9AF43;--jp-red:#D94143;width:100%;max-width:none;margin:0 auto 40px;padding:24px;background:#fff;border:1px solid var(--jp-mint);border-radius:0;box-shadow:none;font-family:inherit;color:var(--jp-ink);font-size:16px;line-height:1.5}
.tvg-events.tvg-events *,.tvg-events.tvg-events *::before,.tvg-events.tvg-events *::after{box-sizing:border-box;border-radius:0;font-family:inherit}
.tvg-events.tvg-events h2{margin:0 0 12px;color:var(--jp-ink);font-size:clamp(30px,4vw,44px);font-weight:600;line-height:1.2;letter-spacing:0;text-wrap:balance}
.tvg-events .tvg-events-badge{display:block;margin:0 0 8px;padding:0;border:0;background:none;color:var(--jp-green);font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.tvg-events.tvg-events .tvg-events-intro{margin:12px 0 0;color:var(--jp-deep);font-size:16px;line-height:1.6;max-width:65ch}
.tvg-events .tvg-program-intro{margin:0 0 24px}
.tvg-events .tvg-events-list{display:grid;gap:16px;margin-top:24px}
.tvg-events.tvg-events .tvg-event{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:start;margin:0;padding:24px;border:1px solid var(--jp-mint);background:#fff;box-shadow:none}
.tvg-events.tvg-events .tvg-event.highlight{border:2px solid var(--jp-gold);background:#fff;box-shadow:none}
.tvg-events.tvg-events .tvg-event-date{padding:16px;background:var(--jp-wash);border:1px solid var(--jp-mint);text-align:left}
.tvg-events.tvg-events .tvg-event-weekday{display:block;margin:0 0 6px;color:var(--jp-deep);font-size:13px;font-weight:600;line-height:1.5;letter-spacing:.04em;text-transform:uppercase}
.tvg-events.tvg-events .tvg-event-day{display:block;color:var(--jp-night);font-size:26px;font-weight:700;line-height:1.25}
.tvg-events.tvg-events .tvg-event-time{display:block;margin-top:8px;color:var(--jp-deep);font-size:16px;font-weight:400;line-height:1.5}
.tvg-events.tvg-events .tvg-event-category{display:inline-block;margin:0 0 10px;padding:3px 10px;border:1px solid var(--jp-mint);background:var(--jp-wash);color:var(--jp-deep);font-size:13px;font-weight:600;line-height:1.5;letter-spacing:.04em;text-transform:uppercase}
.tvg-events.tvg-events .tvg-event-category.gold,.tvg-events.tvg-events .highlight .tvg-event-category{border-color:var(--jp-gold);background:var(--jp-gold);color:var(--jp-night)}
.tvg-events.tvg-events .tvg-event-category.red{border-color:var(--jp-red);background:#fff;color:#A32628}
.tvg-events.tvg-events .tvg-event-content h3{margin:0 0 14px;color:var(--jp-night);font-size:26px;font-weight:700;line-height:1.25;letter-spacing:0;overflow-wrap:anywhere}
.tvg-events.tvg-events .tvg-event-content p{margin:12px 0 0;color:var(--jp-deep);font-size:16px;line-height:1.6}
.tvg-events.tvg-events .tvg-event-meta{margin-top:12px!important;color:var(--jp-deep)!important;white-space:normal}
.tvg-events .tvg-event-details{margin-top:14px;padding-top:12px;border-top:1px solid var(--jp-mint)}
.tvg-events summary,.tvg-news-joined-head summary{width:fit-content;min-height:44px;display:flex;gap:10px;align-items:center;padding:6px 2px;color:#005035;font-size:13px;font-weight:600;line-height:1.5;cursor:pointer;list-style:none}
.tvg-events summary::-webkit-details-marker,.tvg-news-joined-head summary::-webkit-details-marker{display:none}
.tvg-events summary::after,.tvg-news-joined-head summary::after{content:'+';font-size:20px;font-weight:400;line-height:1}
.tvg-events details[open]>summary::after,.tvg-news-joined-head details[open]>summary::after{content:'−'}
.tvg-events summary:focus-visible,.tvg-news-joined-head summary:focus-visible{outline:2px solid #008659;outline-offset:3px}
.tvg-events .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tvg-events [hidden]{display:none!important}
.tvg-events .tvg-events-empty{margin:24px 0 0;color:var(--jp-deep);font-size:16px}
/* Existing news plugin: unified frame, no teaser text; its full-text dialog remains intact. */
.tvg-news.tvg-news,.tvg-dialog.tvg-dialog{font-family:inherit;color:#001B12;font-size:16px;line-height:1.5}
.tvg-news.tvg-news{padding:24px;background:#fff;border:1px solid #CCE7DE;border-radius:0;margin:0 0 40px}
.tvg-news .tvg-card.tvg-card{border:1px solid #CCE7DE;border-radius:0;box-shadow:none}
.tvg-news.tvg-news .tvg-section-title{font-size:26px!important;font-weight:600;border-bottom:1.5px solid #008659;padding-bottom:10px;margin:0 0 16px}
.tvg-news.tvg-news .tvg-card h3{font-size:26px!important;font-weight:700;line-height:1.25!important}
.tvg-news.tvg-news .tvg-card-body>p:not(.tvg-date){display:none}
.tvg-news .tvg-date.tvg-date{font-size:13px;font-weight:400;color:#005035}
.tvg-news.tvg-news .tvg-button,.tvg-dialog.tvg-dialog .tvg-button{border:2px solid #008659;border-radius:0;background:#008659;font-family:inherit;font-size:16px;font-weight:600;line-height:1.4}
.tvg-dialog.tvg-dialog{border:1px solid #99CFBD;border-radius:0}
.tvg-dialog.tvg-dialog h2{font-size:26px!important;font-weight:700}
.tvg-dialog.tvg-dialog .tvg-fulltext{font-size:16px!important}
.tvg-news.tvg-news :focus-visible,.tvg-dialog.tvg-dialog :focus-visible{outline:2px solid #008659;outline-offset:3px}
.tvg-news-joined-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;align-items:start;margin:0 0 24px;padding:0 0 20px;border-bottom:1.5px solid #CCE7DE}
.tvg-news.tvg-news .tvg-news-joined-head h2{margin:0;color:#001B12;font-family:inherit;font-size:clamp(30px,4vw,44px);font-weight:600;line-height:1.2;text-wrap:balance}
.tvg-news-joined-head details{max-width:36ch}
.tvg-news-joined-head details p{margin:8px 0 0;font-size:16px;color:#005035}
.tvg-news-connected.tvg-news-connected{display:block!important;gap:0!important;row-gap:0!important}
.tvg-news-source-hidden{display:none!important}
@media(max-width:720px){.tvg-events.tvg-events,.tvg-news.tvg-news{padding:16px}.tvg-events.tvg-events .tvg-event{grid-template-columns:1fr;gap:16px;padding:16px}.tvg-events.tvg-events .tvg-event-date{display:grid;grid-template-columns:1fr auto;gap:6px 12px}.tvg-events.tvg-events .tvg-event-day{grid-column:1/-1;grid-row:2;font-size:26px}.tvg-events.tvg-events .tvg-event-weekday{margin:0}.tvg-events.tvg-events .tvg-event-time{margin:0}.tvg-news-joined-head{grid-template-columns:1fr;gap:4px}.tvg-news-joined-head details{justify-self:end}.tvg-events.tvg-events .tvg-event-content h3,.tvg-news.tvg-news .tvg-card h3{font-size:26px!important}}
.tvg-news-connected>.elementor-element:not(.tvg-news-source-hidden){width:100%;max-width:100%}

.tvg-news .tvg-status.tvg-status-quiet{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* Equal closed cards, with actions aligned along their lower edge. */
.tvg-news-joined-head{grid-template-columns:minmax(0,1fr)}
.tvg-events.tvg-events .tvg-event-content{display:flex;flex-direction:column;height:100%;min-width:0}
.tvg-events.tvg-events .tvg-event-category{align-self:flex-start}
.tvg-events.tvg-events .tvg-event-details{margin-top:auto}
.tvg-events.tvg-events .tvg-event-content h3{margin-bottom:14px}
.tvg-news .tvg-card-body{min-width:0}

/* Page-level fallbacks follow the same boxed grid as the Elementor content. */
.tvg-page-grid{display:block;box-sizing:border-box;width:calc(100% - 40px);max-width:100%;margin:0 auto 40px;align-self:center;min-width:0}
.tvg-page-grid[hidden]{display:none!important}
.tvg-page-grid>.tvg-news,.tvg-page-grid>.tvg-events{width:100%;margin-left:0;margin-right:0}
.tvg-page-grid .tvg-subpage .tvg-cards{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
[data-tvg-board-mirror] .tvg-subpage .tvg-cards{grid-template-columns:minmax(0,1fr);max-width:420px}
@media(max-width:900px){.tvg-page-grid .tvg-subpage .tvg-cards{grid-template-columns:1fr}}

/* Subpage cards sit directly in the page grid, without an oversized surrounding box. */
.tvg-news.tvg-news[data-view="events"],.tvg-news.tvg-news[data-view="board"],.tvg-news.tvg-news[data-view="department"]{padding:0;border:0;background:transparent}
[data-tvg-board-mirror] .tvg-subpage .tvg-cards{grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}
@media(max-width:900px){[data-tvg-board-mirror] .tvg-subpage .tvg-cards{grid-template-columns:1fr}}
