/*
Theme Name: TTV Spirit
Theme URI: https://www.ttvspirit.nl/
Author: Krista Mul
Description: Sportief blokthema voor tafeltennisvereniging TTV Spirit in Langedijk. Kleuren gebaseerd op de clubshirts: zwart met limoengroen.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ttv-spirit
Tags: full-site-editing, block-patterns, custom-colors, one-column, wide-blocks
*/

/* Diagonale shirtstrepen als decoratie */
.ttv-stripes { position: relative; overflow: hidden; }
.ttv-stripes::after {
	content: ""; position: absolute; top: -10%; right: -6%; width: 34%; height: 130%;
	background: linear-gradient(105deg, transparent 0 30%, #8DC63F 30% 42%, transparent 42% 52%, #8DC63F 52% 57%, transparent 57%);
	opacity: .95; pointer-events: none; z-index: 0;
}
.ttv-stripes > * { position: relative; z-index: 1; }
@media (max-width: 781px) { .ttv-stripes::after { width: 55%; opacity: .25; } }

/* Kleine groene label boven koppen */
.ttv-kicker {
	display: inline-block; font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	text-transform: uppercase; letter-spacing: .12em; font-size: .95rem;
}
.ttv-kicker::before { content: ""; display: inline-block; width: 28px; height: 4px; background: #8DC63F; vertical-align: middle; margin-right: .6rem; transform: skewX(-25deg); }

/* Foto met groen kader */
.ttv-photo img { border-radius: 14px; box-shadow: 14px 14px 0 #8DC63F; }

/* Kaarten */
.ttv-card { border-radius: 16px; transition: transform .2s ease, box-shadow .2s ease; height: 100%; }
.ttv-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(18,20,18,.12); }
.ttv-icon { width: 52px; height: 52px; border-radius: 50%; background: #8DC63F; display: grid; place-items: center; font-size: 1.5rem; margin: 0; line-height: 1; }

/* Weekschema */
.ttv-day { border-radius: 14px; border-top: 6px solid #8DC63F; height: 100%; }
.ttv-day h3 { margin-bottom: .5rem; }
.ttv-day p { margin: 0; }
.ttv-day .ttv-time { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.15rem; color: #4A7517; margin-top: .75rem; }

/* Tarieven */
.ttv-price { border-radius: 16px; height: 100%; }
.ttv-price .ttv-amount { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 3.2rem; line-height: 1; margin: .5rem 0; }
.ttv-price.is-featured { outline: 4px solid #8DC63F; }

/* Header */
.ttv-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .ttv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ttv-header { top: 0; position: relative; } }
.ttv-header .wp-block-site-title a { text-decoration: none; }
.ttv-header .wp-block-navigation a:hover { color: #8DC63F; }
.ttv-header .wp-block-navigation__responsive-container.is-menu-open { background: #121412 !important; color: #fff !important; }

/* Nieuws */
.ttv-news .wp-block-post { border-radius: 16px; overflow: hidden; height: 100%; }
.ttv-news .wp-block-post-featured-image img { aspect-ratio: 16/10; object-fit: cover; }

/* Footer links */
.ttv-footer a { color: #fff; text-decoration: none; }
.ttv-footer a:hover { color: #8DC63F; }

/* Gelijke hoogte kolommen */
.ttv-equal > .wp-block-column { display: flex; flex-direction: column; }
.ttv-equal > .wp-block-column > * { flex: 1; }
.ttv-footer .ttv-footer-line { color: #2e332e; border-top-width: 2px; margin-top: var(--wp--preset--spacing--40); margin-bottom: var(--wp--preset--spacing--20); }
