/*
Theme Name: NTC
Description: National Trumpet Competition theme, built on Twenty Twenty-Five.
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Text Domain: ntc
*/

/* Utility bar */
.ntc-topbar a { color: inherit; text-decoration: none; }
.ntc-topbar a:hover { text-decoration: underline; }

/* Header */
.ntc-header { border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent); }
.ntc-wordmark .wp-block-site-title a { text-decoration: none; }
.ntc-wordmark .wp-block-site-title { letter-spacing: -0.01em; line-height: 1.1; }
.ntc-wordmark .ntc-wordmark-sub { text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; margin: 0; color: var(--wp--preset--color--accent-1); font-weight: 700; }

/* Page hero */
.ntc-page-hero h1 { text-wrap: balance; }

/* Home */
.ntc-hero .ntc-eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .85rem; font-weight: 700; color: var(--wp--preset--color--accent-2); }
.ntc-hero h1 { text-wrap: balance; }
.ntc-card {
	background: var(--wp--preset--color--accent-5);
	border-radius: 14px;
	padding: var(--wp--preset--spacing--40);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 8%, transparent);
}
.ntc-division { transition: transform .15s ease, box-shadow .15s ease; border-top: 4px solid var(--wp--preset--color--accent-1); }
.ntc-division:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(27,32,44,.10); }
.ntc-division h3 { margin: 0; font-size: var(--wp--preset--font-size--large); }
.ntc-division h3 a { text-decoration: none; color: var(--wp--preset--color--contrast); }
.ntc-division h3 a::after { content: " →"; color: var(--wp--preset--color--accent-1); }
.ntc-band {
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50);
}
.ntc-band .wp-block-button__link { background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); }
.ntc-band .is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--base); border-color: var(--wp--preset--color--base); }

/* People */
.ntc-people { gap: var(--wp--preset--spacing--50); margin-bottom: var(--wp--preset--spacing--60); }
.ntc-person { text-align: center; }
.ntc-person > * { margin-block: .35rem; }
.ntc-person figure img { width: 180px; height: 180px; margin-inline: auto; display: block; }
.ntc-person h3 { font-size: var(--wp--preset--font-size--large); margin-top: 1rem; }
.ntc-person .ntc-role { color: var(--wp--preset--color--accent-1); font-weight: 600; }
.ntc-person details { text-align: left; font-size: .95rem; margin-top: .75rem; }
.ntc-person summary { text-align: center; cursor: pointer; font-weight: 600; }

/* Rules pages */
.entry-content h3 { margin-top: var(--wp--preset--spacing--60); padding-top: var(--wp--preset--spacing--30); border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent); }

/* Past winners table */
.ntc-results { border-collapse: collapse; width: 100%; font-size: .95rem; }
.ntc-results td { padding: .5rem .75rem; border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast) 10%, transparent); }
.ntc-results td[colspan] { font-weight: 700; background: var(--wp--preset--color--accent-5); padding-top: 1rem; }
.ntc-results tr:has(td:empty:first-child + td:empty) { display: none; }

/* Embedded forms */
.ntc-embed iframe { width: 100%; border: 0; min-height: 1300px; }

/* Footer */
.ntc-footer a { color: inherit; }
.ntc-footer .wp-block-social-links .wp-social-link { background: color-mix(in srgb, var(--wp--preset--color--base) 12%, transparent); }
