/*
Theme Name: Taekwondo Fightclub Bruck
Theme URI: https://www.taekwondo-kampfsport.at
Author: Verein Budo - Bruck/Mur
Description: Schlankes, weißes Block-Theme für den Taekwondo Fightclub Bruck. Große Fotos, ruhige Typografie, Rot nur für die wichtigste Aktion.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tkd-fightclub
Tags: block-theme, full-site-editing
*/

/* Classes below are set on core blocks (Erweitert → Zusätzliche CSS-Klasse), so every
   section stays editable in the block editor. Colours and fonts come from theme.json. */

:root {
	--tkd-radius: 10px;
	--tkd-line: 1px solid var(--wp--preset--color--line);
}
body { -webkit-font-smoothing: antialiased; }
/* sections carry their own spacing; no gaps between header, main and footer */
.wp-site-blocks > * + * { margin-block-start: 0; }
/* short pages: footer sits at the bottom of the screen, no white strip below it */
.wp-site-blocks { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.wp-site-blocks > main { flex: 1 0 auto; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- header ---------- */
.tkd-header { border-bottom: var(--tkd-line); }
.tkd-header .wp-block-site-title a { text-decoration: none; font-family: var(--wp--preset--font-family--heading); font-weight: 500; letter-spacing: .01em; }
.tkd-brand-sub { color: var(--wp--preset--color--muted); font-weight: 300; font-family: var(--wp--preset--font-family--heading); }
.tkd-header .wp-block-navigation a { text-decoration: none; color: var(--wp--preset--color--muted); }
.tkd-header .wp-block-navigation a:hover,
.tkd-header .wp-block-navigation .current-menu-item a { color: var(--wp--preset--color--contrast); }
.tkd-header .wp-block-button__link { padding: 11px 18px; font-size: 15px; }
.tkd-header .wp-block-site-title, .tkd-header .wp-block-button__link { white-space: nowrap; }
.tkd-header .wp-block-group:has(> .wp-block-site-title) { align-items: baseline; }
@media (max-width: 480px) {
	.tkd-brand-sub { display: none; }
	.tkd-header .wp-block-site-title { font-size: 18px !important; } /* overrides the inline fluid size */
	.tkd-header .wp-block-group.is-layout-flex > .wp-block-group:last-child { gap: 14px; }
	.tkd-header .wp-block-button__link { padding: 12px 14px; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
}

/* ---------- small type helpers ---------- */
.tkd-label {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500; font-size: 14px; line-height: 1;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.tkd-lead { font-size: var(--wp--preset--font-size--lead); color: var(--wp--preset--color--muted); max-width: 44ch; text-wrap: pretty; }
.tkd-cta .tkd-lead { max-width: none; }
.tkd-hero .tkd-lead { max-width: 52ch; }
.tkd-split .wp-block-column > p { max-width: 60ch; }
.tkd-nowrap { white-space: nowrap; }
.tkd-muted { color: var(--wp--preset--color--muted); }
.tkd-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- sections ---------- */
.tkd-section { padding-block: var(--wp--preset--spacing--60); }
.tkd-section + .tkd-section { border-top: var(--tkd-line); }
.tkd-section.has-soft-background-color + .tkd-section,
.tkd-section + .tkd-section.has-soft-background-color { border-top: 0; }
.tkd-pagehead { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40); border-bottom: var(--tkd-line); }
/* full-width sections and post-content carry their own padding: no stray 20px flow gaps */
.wp-block-post-content > .alignfull,
.tkd-pagehead + .wp-block-post-content { margin-block-start: 0; }
/* first section under a page head: one standard top padding */
.tkd-pagehead + .wp-block-post-content > .tkd-section:first-child { padding-top: var(--wp--preset--spacing--50); }
.tkd-pagehead .wp-block-post-title { hyphens: auto; -webkit-hyphens: auto; }
/* long text: readable measure, left-anchored on the 1160 grid (inner group .tkd-prose) */
.tkd-prose > h2:not(:first-child) { margin-block-start: var(--wp--preset--spacing--50); }
.tkd-prose > h3:not(:first-child) { margin-block-start: var(--wp--preset--spacing--40); }
.tkd-prose > :is(h2, h3) + * { margin-block-start: var(--wp--preset--spacing--20); }
.tkd-prose h2 { font-size: var(--wp--preset--font-size--h-4); line-height: 1.2; }
.tkd-prose h3 { font-size: 20px; }

/* ---------- hero ---------- */
.tkd-hero { padding-block: var(--wp--preset--spacing--50); }
/* one split grid for every text+photo row (hero, trainer teaser, training) */
.wp-block-columns.tkd-split { gap: var(--wp--preset--spacing--40) clamp(32px, 5vw, 80px); align-items: center; }
.tkd-facts { border-top: var(--tkd-line); padding-top: 26px; gap: 16px 40px; }
.tkd-facts p { margin: 0; font-size: 15px; color: var(--wp--preset--color--muted); line-height: 1.4; }
.tkd-facts strong { display: block; font: 400 26px/1.2 var(--wp--preset--font-family--heading); color: var(--wp--preset--color--contrast); }
.tkd-facts .tkd-hl strong { color: var(--wp--preset--color--accent); }
/* phones: text first, photo keeps its own ratio, so no person is ever cropped */
@media (max-width: 480px) {
	.tkd-facts { column-gap: 22px; }
	.tkd-facts strong { font-size: 22px; }
	.tkd-facts p { font-size: 14px; }
}

/* ---------- photos ---------- */
.tkd-photo, .tkd-photo img { border-radius: var(--tkd-radius); }
.tkd-photo img { width: 100%; object-fit: cover; }

/* ---------- cards (groups) ---------- */
.tkd-card { border: var(--tkd-line); border-radius: var(--tkd-radius); padding: 32px; height: 100%; background: var(--wp--preset--color--base); }
.tkd-card p { color: var(--wp--preset--color--muted); }
.tkd-card .tkd-when { color: var(--wp--preset--color--contrast); font-weight: 600; font-size: 17px; }
.tkd-dot { display: flex; align-items: center; gap: 12px; }
.tkd-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--wp--preset--color--accent); flex: none; }
.tkd-dot.is-blue::before { background: var(--wp--preset--color--blue); }

/* ---------- 4 points ---------- */
.tkd-points h3 { font-size: 20px; }
.tkd-points h3 + p, .tkd-steps h3 + p { margin-block-start: 8px; }
.wp-block-columns.tkd-points, .wp-block-columns.tkd-steps, .wp-block-columns.tkd-three { gap: 40px var(--wp--preset--spacing--40); }
.tkd-points p { color: var(--wp--preset--color--muted); font-size: 17px; }

/* ---------- chips (list block) ---------- */
ul.tkd-chips { list-style: none; padding: 0; margin-inline: 0; margin-block-end: 0; display: flex; flex-wrap: wrap; gap: 8px; }
ul.tkd-chips li { border: var(--tkd-line); border-radius: 999px; padding: 5px 12px; font-size: 15px; line-height: 1.4; }
ul.tkd-chips li:first-child { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }
/* chips as tabs (assets/js/styles.js): the selected chip carries the accent, not the first */
ul.tkd-chips.is-tabs li { cursor: pointer; transition: border-color .15s, color .15s, background .15s; -webkit-tap-highlight-color: transparent; }
ul.tkd-chips.is-tabs li:first-child { border-color: var(--wp--preset--color--line); color: inherit; }
ul.tkd-chips.is-tabs li:hover { border-color: var(--wp--preset--color--contrast); }
ul.tkd-chips.is-tabs li[aria-selected="true"] { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }
ul.tkd-chips.is-tabs li:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; }
.tkd-style-texts { margin-top: 18px; max-width: 560px; display: grid; gap: 12px; }
.tkd-style-texts p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--wp--preset--color--muted); }
.tkd-style-texts p strong { color: var(--wp--preset--color--contrast); font-weight: 600; }
.tkd-style-texts.is-tabs { min-height: 7.5em; }

/* ---------- quote ---------- */
.wp-block-quote.tkd-quote { border-left: 2px solid var(--wp--preset--color--accent); padding-left: 20px; margin: 0; }
.wp-block-quote.tkd-quote p { font: 400 23px/1.45 var(--wp--preset--font-family--heading); }
@media (max-width: 600px) { .wp-block-quote.tkd-quote p { font-size: 21px; } } /* stays below the following h2 */
.wp-block-quote.tkd-quote cite { font-size: 14px; color: var(--wp--preset--color--muted); font-style: normal; }

/* ---------- schedule table ---------- */
.tkd-schedule table { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tkd-schedule th, .tkd-schedule td { border: 0; border-bottom: var(--tkd-line); padding: 16px 12px; text-align: left; vertical-align: top; }
.tkd-schedule th { font: 500 13px/1 var(--wp--preset--font-family--heading); letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.tkd-schedule th:first-child, .tkd-schedule td:first-child { padding-left: 0; }
.tkd-schedule thead { border-bottom: 0; }
.tkd-schedule td:first-child { font-weight: 600; }
.tkd-schedule td:not(:first-child) { white-space: nowrap; }
.tkd-prose .tkd-schedule td:not(:first-child) { white-space: normal; }
@media (max-width: 600px) { .tkd-schedule th, .tkd-schedule td { padding: 12px 8px; } .tkd-schedule td { font-size: 16px; } }
.tkd-intro + .tkd-schedule { margin-block-start: var(--wp--preset--spacing--40); max-width: 640px; }
/* constrained layouts centre any narrower child with !important; keep the table on the left edge */
.is-layout-constrained > .tkd-intro + .tkd-schedule { margin-left: max(0px, calc((100% - 1160px) / 2)) !important; }
.tkd-intro + .tkd-gallery { margin-block-start: var(--wp--preset--spacing--40); }
/* tariff table in the terms: stacked rows on phones instead of three cramped columns */
@media (max-width: 600px) {
	.tkd-prose .tkd-schedule thead { display: none; }
	.tkd-prose .tkd-schedule tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; padding: 14px 0; border-bottom: var(--tkd-line); }
	.tkd-prose .tkd-schedule td { border: 0; padding: 0; }
	.tkd-prose .tkd-schedule td:first-child { grid-column: 1 / -1; margin-bottom: 4px; }
}
.tkd-three strong { display: block; font: 400 20px/1.3 var(--wp--preset--font-family--heading); color: var(--wp--preset--color--contrast); margin-bottom: 8px; }
.tkd-three p { color: var(--wp--preset--color--muted); }

/* ---------- steps ---------- */
.tkd-step-n { font: 300 48px/1 var(--wp--preset--font-family--heading); color: var(--wp--preset--color--muted); margin-bottom: 0; }
.tkd-steps h3 { font-size: 20px; }
.tkd-step-n + h3 { margin-block-start: 12px; }
.tkd-steps p:not(.tkd-step-n) { color: var(--wp--preset--color--muted); }

/* ---------- pricing (rendered by assets/js/pricing.js) ---------- */
.tkd-toggle { display: inline-flex; border: var(--tkd-line); border-radius: 999px; padding: 4px; margin-bottom: 28px; background: var(--wp--preset--color--base); }
.tkd-toggle button { font: 600 15px/1 var(--wp--preset--font-family--body); border: 0; background: transparent; color: var(--wp--preset--color--muted); padding: 11px 20px; border-radius: 999px; cursor: pointer; }
.tkd-toggle button[aria-pressed="true"] { background: var(--wp--preset--color--contrast); color: #fff; }
.tkd-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; row-gap: 32px; }
.tkd-plan { background: var(--wp--preset--color--base); border: var(--tkd-line); border-radius: var(--tkd-radius); padding: 26px; display: grid; gap: 4px; align-content: start; position: relative; }
.tkd-plan .tkd-pm { font: 400 clamp(34px, 3.4vw, 44px)/1.1 var(--wp--preset--font-family--heading); font-variant-numeric: tabular-nums; margin-top: 10px; white-space: nowrap; }
.tkd-plan .tkd-pm small { display: block; margin-top: 6px; font: 400 15px/1 var(--wp--preset--font-family--body); color: var(--wp--preset--color--muted); }
.tkd-plan .tkd-tot { color: var(--wp--preset--color--muted); font-size: 15px; }
.tkd-plan .tkd-save { color: var(--wp--preset--color--accent); font-size: 15px; font-weight: 600; min-height: 1.65em; line-height: 1.65; }
.tkd-plan form { margin: 16px 0 0; }
.tkd-plan a, .tkd-plan button { margin-top: 16px; display: block; width: 100%; box-sizing: border-box; text-align: center; text-decoration: none; font: 600 17px/1 var(--wp--preset--font-family--body); padding: 15px 16px; border-radius: 999px; border: 1px solid var(--wp--preset--color--contrast); background: transparent; color: var(--wp--preset--color--contrast); cursor: pointer; }
.tkd-plan form button { margin-top: 0; }
@media (max-width: 480px) { .tkd-plan a, .tkd-plan button { font-size: 15px; padding-block: 14px; } }
.tkd-plan a:hover, .tkd-plan button:hover { background: var(--wp--preset--color--contrast); color: #fff; }
.tkd-plan.is-best { border: 2px solid var(--wp--preset--color--accent); padding: 25px; }
.tkd-plan.is-best a, .tkd-plan.is-best button { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: #fff; }
.tkd-plan .tkd-flag { position: absolute; top: -12px; left: 22px; background: var(--wp--preset--color--accent); color: #fff; font: 600 12px/1 var(--wp--preset--font-family--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
@media (max-width: 960px) { .tkd-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tkd-plans { grid-template-columns: 1fr; } .tkd-plan .tkd-save:empty { display: none; } }
.tkd-member { border: var(--tkd-line); border-radius: var(--tkd-radius); padding: 24px 26px; background: var(--wp--preset--color--base); }
.tkd-member p { color: var(--wp--preset--color--muted); }

/* ---------- FAQ (details blocks) ---------- */
.tkd-faq { border-top: var(--tkd-line); }
.tkd-faq .wp-block-details { border-bottom: var(--tkd-line); padding: 0; margin: 0; }
.tkd-faq summary { cursor: pointer; padding: 20px 36px 20px 0; font: 400 20px/1.4 var(--wp--preset--font-family--heading); list-style: none; position: relative; }
.tkd-faq summary::-webkit-details-marker { display: none; }
.tkd-faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 26px/1 var(--wp--preset--font-family--heading); color: var(--wp--preset--color--muted); }
.tkd-faq details[open] summary::after { content: "–"; }
.tkd-faq details > p { color: var(--wp--preset--color--muted); padding-bottom: 22px; margin-top: 0; }

/* ---------- gallery ---------- */
.tkd-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 8px; }
/* rows of landscape, landscape, portrait: every photo at its own ratio, nobody cut off */
@media (min-width: 600px) {
	.tkd-gallery.wp-block-gallery.has-nested-images { display: grid; grid-template-columns: 4fr 4fr 2.25fr; gap: 20px; }
	.tkd-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto; margin: 0; }
	.tkd-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):is(:nth-child(3n+1), :nth-child(3n+2)) { aspect-ratio: 4/3; }
	.tkd-gallery.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img { height: 100%; min-height: 0; object-fit: cover; }
	.tkd-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(5) img { object-position: 50% 22%; }
}
@media (max-width: 599px) {
	.tkd-gallery.wp-block-gallery.has-nested-images { gap: 12px; }
	.tkd-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: 100%; }
	.tkd-gallery.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img { height: auto; flex: none; object-fit: initial; }
}

/* ---------- contact form (Contact Form 7) ---------- */
.wpcf7-form { display: grid; gap: 24px; }
.wpcf7-form > p { display: grid; gap: 24px; margin: 0; }
.wpcf7-form br { display: none; }
.wpcf7-form .tkd-muted { font-size: 15px; }
.wpcf7-form > p.tkd-muted { display: block; } /* note + link stay one sentence */
.wpcf7-form > p:has(.wpcf7-submit) { display: flex; align-items: center; gap: 12px; } /* spinner beside the button, no extra height */
.wpcf7-form .wpcf7-submit { justify-self: start; }
.wpcf7-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.wpcf7-form input:not([type="submit"]), .wpcf7-form textarea, .wpcf7-form select { font: 400 17px/1.4 var(--wp--preset--font-family--body); color: var(--wp--preset--color--contrast); border: 1px solid #8A8B93; border-radius: 8px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.wpcf7-form select { appearance: none; -webkit-appearance: none; background: var(--wp--preset--color--base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23696A73' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 44px; }
.wpcf7-form textarea { height: 150px; min-height: 0; resize: vertical; }
@media (max-width: 781px) { .wpcf7 { border-top: var(--tkd-line); padding-top: var(--wp--preset--spacing--40); } }
.wpcf7-form input[type="submit"] { font: 600 17px/1 var(--wp--preset--font-family--body); background: var(--wp--preset--color--accent); color: #fff; border: 0; border-radius: 999px; padding: 16px 26px; cursor: pointer; }
.wpcf7-form input[type="submit"]:hover { background: var(--wp--preset--color--accent-dark); }

/* ---------- footer ---------- */
.tkd-footer { font-size: 15px; color: var(--wp--preset--color--muted); border-top: var(--tkd-line); }
.tkd-footer strong { color: var(--wp--preset--color--contrast); }
.tkd-footer a { color: var(--wp--preset--color--muted); text-decoration: none; }
.tkd-footer a:hover { color: var(--wp--preset--color--contrast); }
.tkd-footer .tkd-legal { border-top: var(--tkd-line); padding-top: 20px; font-size: 14px; }

/* ---------- member area (inc/members.php) ---------- */
.tkd-members { display: grid; gap: var(--wp--preset--spacing--40); }
.tkd-members h2 { font-size: var(--wp--preset--font-size--h-4); margin-top: var(--wp--preset--spacing--30); }
.tkd-login p.tkd-muted { margin: 0; font-size: 15px; }
.tkd-notice { border-left: 2px solid var(--wp--preset--color--accent); background: var(--wp--preset--color--soft); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 0; }
.tkd-login { display: grid; gap: 10px; max-width: 560px; }
.tkd-login label { font-weight: 600; font-size: 15px; }
.tkd-login-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tkd-login input[type="email"] { flex: 1 1 240px; font: 400 17px/1.4 var(--wp--preset--font-family--body); border: 1px solid #8A8B93; border-radius: 8px; padding: 13px 14px; }
.tkd-login button, .tkd-btn { font: 600 16px/1 var(--wp--preset--font-family--body); border-radius: 999px; padding: 14px 22px; cursor: pointer; border: 1px solid var(--wp--preset--color--accent); background: var(--wp--preset--color--accent); color: #fff; }
.tkd-login button:hover { background: var(--wp--preset--color--accent-dark); }
.tkd-btn.is-outline { background: transparent; border-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--contrast); font-size: 15px; padding: 11px 18px; }
.tkd-btn.is-outline:hover { background: var(--wp--preset--color--contrast); color: #fff; }
.tkd-btn.is-link { background: none; border: 0; padding: 0; color: var(--wp--preset--color--muted); text-decoration: underline; font-weight: 400; font-size: 15px; }
.tkd-btn.is-link:hover { color: var(--wp--preset--color--accent); }
.tkd-hp { position: absolute; left: -9999px; }
.tkd-inline { display: inline; margin: 0; }
.tkd-members-head { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center; border-bottom: var(--tkd-line); padding-bottom: 16px; }
.tkd-members-head p { margin: 0; color: var(--wp--preset--color--muted); }
.tkd-subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.tkd-sub { border: var(--tkd-line); border-radius: var(--tkd-radius); padding: 26px; display: grid; gap: 14px; align-content: start; }
.tkd-sub h3 { margin: 0; font-size: 24px; }
.tkd-sub-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tkd-sub dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 16px; }
.tkd-sub dt { color: var(--wp--preset--color--muted); }
.tkd-sub dd { margin: 0; font-variant-numeric: tabular-nums; }
.tkd-plans-note { margin: 18px 0 0; max-width: 640px; font-size: 16px; color: var(--wp--preset--color--muted); }
.tkd-sibling { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 8px; }
.tkd-sibling .tkd-muted { font-size: 15px; flex: 1 1 260px; }
.tkd-add-family { margin: 16px 0 0; font-size: 16px; }
.tkd-cancel summary { cursor: pointer; font-size: 15px; color: var(--wp--preset--color--muted); text-decoration: underline; }
.tkd-cancel summary:hover { color: var(--wp--preset--color--accent); }
.tkd-cancel form { display: grid; gap: 12px; margin-top: 10px; }
.tkd-cancel p { margin: 0; font-size: 15px; }
.tkd-cancel button { justify-self: start; }
.tkd-plan-switch { border-top: var(--tkd-line); padding-top: 14px; }
.tkd-plan-switch summary { cursor: pointer; font-size: 15px; color: var(--wp--preset--color--muted); text-decoration: underline; }
.tkd-plan-switch summary:hover { color: var(--wp--preset--color--accent); }
.tkd-plan-form { display: grid; gap: 14px; margin-top: 14px; }
.tkd-plan-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.tkd-plan-form legend { font-size: 14px; color: var(--wp--preset--color--muted); margin-bottom: 6px; }
.tkd-plan-opt { display: flex; gap: 10px; align-items: baseline; font-size: 16px; padding: 10px 12px; border: var(--tkd-line); border-radius: 8px; cursor: pointer; }
.tkd-plan-opt:has(input:checked) { border-color: var(--wp--preset--color--accent); }
.tkd-plan-opt.is-current { color: var(--wp--preset--color--muted); cursor: default; }
.tkd-plan-opt small { color: var(--wp--preset--color--muted); font-size: 14px; }
.tkd-plan-form p.tkd-muted { margin: 0; font-size: 15px; }
.tkd-plan-form button { justify-self: start; }
.tkd-sub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; border-top: var(--tkd-line); padding-top: 16px; }
.tkd-chip { display: inline-block; font-size: 13px; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--wp--preset--color--soft); color: var(--wp--preset--color--muted); white-space: nowrap; }
.tkd-chip.is-active { background: #E7F3EC; color: #1E6B3C; }
.tkd-chip.is-due { background: #FBE9EC; color: var(--wp--preset--color--accent-dark); }
.tkd-chip.is-paused { background: #EEF1F6; color: #3A4A66; }
.tkd-table-wrap { overflow-x: auto; }
.tkd-invoices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 16px; }
.tkd-invoices th, .tkd-invoices td { text-align: left; padding: 12px 10px; border-bottom: var(--tkd-line); }
.tkd-invoices th { font: 500 13px/1 var(--wp--preset--font-family--heading); letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.tkd-invoices th:first-child, .tkd-invoices td:first-child { padding-left: 0; }
.tkd-invoices td:last-child { text-align: right; }
.tkd-past summary { cursor: pointer; color: var(--wp--preset--color--muted); }
.tkd-past ul { color: var(--wp--preset--color--muted); font-size: 16px; }

/* outline buttons: same height as the primary button (core's em padding makes them shorter) */
.wp-block-button.is-style-outline > .wp-block-button__link { padding: 15px 25px; }

/* ---------- mobile menu overlay: big, easy-to-tap entries ---------- */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 24px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: var(--tkd-line); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: 16px 0 !important; font: 400 28px/1.15 var(--wp--preset--font-family--heading); color: var(--wp--preset--color--contrast) !important; }
.wp-block-navigation__responsive-container.is-menu-open .current-menu-item .wp-block-navigation-item__content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"] { color: var(--wp--preset--color--accent) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg { width: 32px; height: 32px; }
