/*
Theme Name: Family Dog Training Center
Theme URI: https://familydogonline.com/
Description: Block child theme of Twenty Twenty-Five for Family Dog Training Center. Brand palette taken from the red paw-print logo.
Author: Family Dog Training Center
Template: twentytwentyfive
Version: 1.5.9
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fdtc
*/

/* Class cards: lift on hover, keep image corners rounded. */
.fdtc-card {
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fdtc-card:hover,
.fdtc-card:focus-within {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(40, 48, 144, 0.14);
}
.fdtc-card .wp-block-image img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	width: 100%;
}
@media (prefers-reduced-motion: reduce) {
	.fdtc-card,
	.fdtc-card:hover,
	.fdtc-card:focus-within {
		transition: none;
		transform: none;
	}
}

/* Header: keep logo and navigation on one row until small screens. */
.fdtc-header .wp-block-site-logo img {
	height: auto;
}
.fdtc-header .wp-block-button__link {
	white-space: nowrap;
}
/* Phone menu overlay: left-align items so long class names read naturally. */
.fdtc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.fdtc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.fdtc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container,
.fdtc-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	align-items: flex-start;
	text-align: left;
}
.fdtc-header .wp-block-navigation .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 6px;
	padding: 0.4rem 0;
	min-width: 230px;
}

/* "My account" menu (signed in): Profile, Dogs, My Classes, Documents. Built by FDTC Students. */
.fdtc-account-menu details {
	position: relative;
}
.fdtc-account-menu summary {
	list-style: none;
	cursor: pointer;
	white-space: nowrap;
}
.fdtc-account-menu summary::-webkit-details-marker {
	display: none;
}
.fdtc-account-menu summary::after {
	content: "";
	display: inline-block;
	width: 0.4em;
	height: 0.4em;
	margin-left: 0.45em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-0.2em) rotate(45deg);
}
.fdtc-account-menu details[open] summary::after {
	transform: translateY(0.05em) rotate(-135deg);
}
.fdtc-account-menu__list {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 1000;
	min-width: 190px;
	margin: 0;
	padding: 0.4rem 0;
	list-style: none;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(27, 29, 58, 0.14);
}
.fdtc-account-menu__list a {
	display: block;
	padding: 0.5rem 1rem;
	color: var(--wp--preset--color--brand-blue);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	text-decoration: none;
}
.fdtc-account-menu__list a:hover,
.fdtc-account-menu__list a:focus-visible,
.fdtc-account-menu__list a[aria-current="page"] {
	background: var(--wp--preset--color--panel);
}

/* Visible keyboard focus everywhere. */
:where(a, button, .wp-element-button):focus-visible {
	outline: 3px solid var(--wp--preset--color--brand-red);
	outline-offset: 2px;
}

/* ---------- Footer: contact strip (sand) ---------- */

/* Small uppercase label above each detail; shared with the dark footer's group headings. */
.fdtc-footer-label,
.fdtc-footer-heading {
	display: block;
	margin: 0 0 0.45rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.fdtc-footer-contact {
	margin: 0;
	line-height: 1.55;
}

/* White cards; the label carries a small icon drawn with a CSS mask so it takes the label color. */
.fdtc-contact-card .fdtc-footer-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.6rem;
	color: var(--wp--preset--color--brand-red-dark);
}
.fdtc-contact-card .fdtc-footer-label::before {
	content: "";
	flex: none;
	width: 1.1rem;
	height: 1.1rem;
	background-color: currentColor;
	-webkit-mask: var(--fdtc-icon) center / contain no-repeat;
	mask: var(--fdtc-icon) center / contain no-repeat;
}
/* Icons: Feather (MIT), stroke-based, 24px grid. */
.fdtc-contact-card--visit {
	--fdtc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.fdtc-contact-card--call {
	--fdtc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.fdtc-contact-card--hours {
	--fdtc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}
.fdtc-contact-card .fdtc-footer-contact a {
	font-weight: 500;
}

/* Blue "find a class" card: button and wait-list link stack at the bottom. */
.fdtc-contact-card--cta {
	display: flex;
	flex-direction: column;
}
.fdtc-contact-card--cta > * {
	/* Constrained layout centres children with auto margins; in a flex column that shrink-wraps them. */
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.fdtc-contact-card--cta .wp-block-buttons {
	margin-top: auto;
}
.fdtc-contact-card--cta .fdtc-contact-card__aside {
	margin-top: 0.75rem;
	opacity: 0.9;
}
.fdtc-contact-card--cta .fdtc-contact-card__aside a {
	white-space: nowrap; /* break before the link, not inside it */
}
.fdtc-contact-card--cta a {
	text-decoration-color: rgba(255, 255, 255, 0.5);
}
.fdtc-contact-card--cta .wp-block-button__link:hover,
.fdtc-contact-card--cta .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--sand);
	color: var(--wp--preset--color--brand-blue-dark);
}

/* The grid auto-fits four cards on desktop; keep pairs together on tablets. */
@media (max-width: 1150px) and (min-width: 561px) {
	.fdtc-contact-strip__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 560px) {
	.fdtc-contact-strip__grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* ---------- Footer: links and bottom bar (dark blue) ---------- */

.fdtc-footer a {
	color: inherit;
	text-decoration: none;
}
.fdtc-footer a:hover,
.fdtc-footer a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.fdtc-footer :where(a, button):focus-visible {
	outline-color: var(--wp--preset--color--base);
}
.fdtc-footer h2.fdtc-footer-heading { /* outranks the group's white heading colour */
	color: #FFB3B5;
}
.fdtc-footer-tagline {
	margin-top: 0;
	font-style: italic;
	opacity: 0.8;
}
.fdtc-footer-social {
	margin-top: 1.5rem;
}

/* Link groups without bullets. */
.fdtc-footer ul.fdtc-links {
	list-style: none;
	padding-left: 0;
	margin: 0;
}
.fdtc-footer ul.fdtc-links li {
	margin-bottom: 0.55rem;
	opacity: 0.9;
}
.fdtc-footer ul.fdtc-links li:hover {
	opacity: 1;
}

/* Bottom bar: copyright left, quick links (dot-separated) right. */
.fdtc-footer-bar {
	border-top: 1px solid rgba(255, 253, 250, 0.2);
	font-size: 0.875rem;
}
.fdtc-footer-bar p {
	margin: 0;
	opacity: 0.85;
}
.fdtc-footer-quick a + a::before {
	content: "·";
	display: inline-block; /* keeps the dot out of the hover underline */
	width: 1.6rem;
	text-align: center;
	opacity: 0.6;
}

/* Tablets: brand block on its own row, link groups four across.
   Selectors are deliberately heavy to outrank core's column-stacking rule. */
@media (max-width: 1000px) {
	.fdtc-footer-main {
		flex-wrap: wrap !important;
	}
	.fdtc-footer .wp-block-columns.fdtc-footer-main > .fdtc-footer-brand {
		flex-basis: 100% !important;
	}
	.fdtc-footer .wp-block-columns.fdtc-footer-main > .fdtc-footer-group {
		flex-basis: calc(25% - var(--wp--preset--spacing--60)) !important;
		flex-grow: 1;
	}
}
/* Phones: link groups two across. */
@media (max-width: 600px) {
	.fdtc-footer .wp-block-columns.fdtc-footer-main > .fdtc-footer-group {
		flex-basis: calc(50% - var(--wp--preset--spacing--60)) !important;
	}
}

/* ---------- Inner pages (page, single, 404 templates) ---------- */

/* Title band: short red rule under the H1 ties it to the logo. */
.fdtc-title-band .wp-block-post-title::after,
.fdtc-title-band h1.wp-block-heading::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-top: 0.9rem;
	border-radius: 2px;
	background: var(--wp--preset--color--brand-red);
}
.fdtc-title-band .fdtc-eyebrow {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.fdtc-title-band .fdtc-eyebrow a {
	color: var(--wp--preset--color--brand-red-dark);
	text-decoration: none;
}

.fdtc-content > :first-child {
	margin-top: 0;
}
.fdtc-content :where(h2, h3, h4) {
	margin-top: var(--wp--preset--spacing--50);
}
/* Old content centered headings and paragraphs (inline or via the block setting);
   keep them on the content edge under the left-aligned title. Tables keep theirs. */
.fdtc-content > :is(h2, h3, h4, h5, p)[style*="text-align: center"] {
	text-align: left !important;
}
.fdtc-content > :is(h2, h3, h4, h5, p).has-text-align-center {
	text-align: left;
}
.fdtc-content p:empty {
	display: none;
}

/* Legacy Customizr-era buttons were centered; align them with the text column. */
.fdtc-content .wp-block-buttons.is-content-justification-center {
	justify-content: flex-start;
}
.fdtc-content .wp-block-button.aligncenter {
	margin-left: 0;
	text-align: left;
}
@media (max-width: 600px) {
	.fdtc-content .wp-block-button.has-custom-width {
		width: 100%;
	}
}

/* Class galleries: soft corners like the homepage cards. */
.fdtc-content .wp-block-gallery .wp-block-image img,
.fdtc-content .wp-block-image img {
	border-radius: 8px;
}

/* Tables (including old fixed-width ones) fit the column and scroll if they must. */
.fdtc-content table {
	width: 100%;
	max-width: 100%;
	height: auto !important;
	border-collapse: collapse;
}
.fdtc-content .wp-block-table {
	overflow-x: auto;
}
.fdtc-content :where(td, th) {
	padding: 0.55rem 0.75rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
	vertical-align: top;
}
.fdtc-content :where(td, th):empty {
	padding: 0;
}

/* Post navigation on articles. */
.fdtc-post-nav a {
	font-weight: 600;
}

/* ---------- Class schedule ([fdtc_schedule], data from DogBizPro) ---------- */

.fdtc-schedule__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: var(--wp--preset--spacing--40);
}
.fdtc-schedule__filter {
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--brand-blue);
	cursor: pointer;
}
.fdtc-schedule__filter[aria-pressed="true"] {
	background: var(--wp--preset--color--brand-blue);
	border-color: var(--wp--preset--color--brand-blue);
	color: var(--wp--preset--color--base);
}
.fdtc-schedule__month[hidden],
.fdtc-schedule__class[hidden] {
	display: none;
}
.fdtc-content .fdtc-schedule__month-title,
.fdtc-schedule__month-title {
	margin: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--20);
	font-size: 1.25rem;
}
.fdtc-schedule__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--wp--preset--color--line);
}
.fdtc-schedule__class {
	display: grid;
	grid-template-columns: 3.5rem 1fr auto;
	gap: 1rem;
	align-items: center;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.fdtc-schedule__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.35rem 0;
	border-radius: 8px;
	background: var(--wp--preset--color--panel);
	line-height: 1.1;
}
.fdtc-schedule__dow {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-red-dark);
}
.fdtc-schedule__day {
	font-size: 1.4rem;
	font-weight: 700;
}
.fdtc-content .fdtc-schedule__name,
.fdtc-schedule__name {
	margin: 0;
	font-size: 1.05rem;
}
.fdtc-schedule__meta {
	margin: 0.2rem 0 0;
	font-size: 0.95rem;
	color: var(--wp--preset--color--muted);
}
.fdtc-schedule__action .wp-element-button {
	padding: 0.5rem 1.1rem;
	font-size: 0.95rem;
	white-space: nowrap;
}
.fdtc-schedule__full {
	display: inline-block;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	background: var(--wp--preset--color--sand);
	font-size: 0.9rem;
	font-weight: 700;
}
.fdtc-schedule__waitlist {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.9rem;
	text-align: center;
}
.fdtc-schedule__note {
	margin-top: var(--wp--preset--spacing--50);
	font-size: 0.95rem;
	color: var(--wp--preset--color--muted);
}
@media (max-width: 600px) {
	.fdtc-schedule__class {
		grid-template-columns: 3rem 1fr;
	}
	.fdtc-schedule__action {
		grid-column: 2;
	}
}

/* ---------- Dr. Patti appointment times ([fdtc_appointments], data from Google Calendar) ---------- */

.fdtc-appts__times {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	margin: 0.6rem 0 0;
	padding: 0;
}
.fdtc-appts__time {
	display: inline-block;
	padding: 0.3rem 0.75rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
}
a.fdtc-appts__time.is-open {
	border-color: var(--wp--preset--color--brand-blue);
	background: var(--wp--preset--color--brand-blue);
	color: var(--wp--preset--color--base);
	text-decoration: none;
}
a.fdtc-appts__time.is-open:hover,
a.fdtc-appts__time.is-open:focus-visible {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--brand-blue);
}
.fdtc-appts__time.is-booked {
	color: var(--wp--preset--color--muted);
	text-decoration: line-through;
}

/* ---------- Google Calendars ([fdtc_calendar], data from Google Calendar feeds) ---------- */

.fdtc-cal__events {
	list-style: none;
	margin: 0.35rem 0 0;
	padding: 0;
}
.fdtc-cal__event {
	display: flex;
	flex-wrap: wrap;
	column-gap: 0.75rem;
	padding: 0.2rem 0;
}
.fdtc-cal__when {
	flex: 0 0 8.5rem;
	font-size: 0.95rem;
	color: var(--wp--preset--color--muted);
}
.fdtc-cal__title {
	font-weight: 600;
}
.fdtc-cal__where,
.fdtc-cal__details {
	flex-basis: 100%;
	padding-left: 9.25rem;
	font-size: 0.9rem;
	color: var(--wp--preset--color--muted);
}
.fdtc-cal__where + .fdtc-cal__details {
	margin-top: 0.1rem;
}
.fdtc-cal__empty {
	margin: 0;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border-radius: 10px;
	background: var(--wp--preset--color--panel);
}
.fdtc-upcoming .fdtc-cal__empty {
	background: var(--wp--preset--color--base);
}
@media (max-width: 600px) {
	.fdtc-cal__when {
		flex-basis: 100%;
	}
	.fdtc-cal__where,
	.fdtc-cal__details {
		padding-left: 0;
	}
}

/* ---------- Class pages (redesign: intro, facts, features, packages) ---------- */

.fdtc-content > .fdtc-intro {
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--50);
}
.fdtc-lead {
	font-size: 1.2rem;
	line-height: 1.55;
}
.fdtc-facts {
	list-style: none;
	margin: var(--wp--preset--spacing--40) 0;
	padding: 0;
	border-top: 1px solid var(--wp--preset--color--line);
}
.fdtc-facts li {
	display: grid;
	grid-template-columns: 7.5rem 1fr;
	gap: 0.75rem;
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.fdtc-facts strong {
	color: var(--wp--preset--color--brand-blue);
}
.fdtc-photo img {
	border-radius: 14px !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}
.fdtc-content .fdtc-callout {
	margin-top: var(--wp--preset--spacing--40);
	margin-bottom: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border-left: 5px solid var(--wp--preset--color--brand-red);
	border-radius: 0 8px 8px 0;
	background: var(--wp--preset--color--sand);
}
.fdtc-callout p {
	margin: 0;
}
.fdtc-content .fdtc-section,
.fdtc-content .fdtc-upcoming {
	margin-top: var(--wp--preset--spacing--60);
}
.fdtc-features > .wp-block-column,
.fdtc-packages > .wp-block-column {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border: 1px solid var(--wp--preset--color--line);
	border-top: 4px solid var(--wp--preset--color--brand-blue);
	border-radius: 10px;
	background: var(--wp--preset--color--base);
}
.fdtc-content .fdtc-features h3,
.fdtc-content .fdtc-packages h3 {
	margin-top: 0;
	font-size: 1.1rem;
}
.fdtc-features p {
	margin-bottom: 0;
}
.fdtc-content .fdtc-upcoming {
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	border-radius: 14px;
	background: var(--wp--preset--color--panel);
}
.fdtc-content .fdtc-upcoming h2 {
	margin-top: 0;
}
.fdtc-upcoming .fdtc-schedule__class {
	border-bottom-color: rgba(0, 0, 0, 0.08);
}
.fdtc-upcoming .fdtc-schedule__date {
	background: var(--wp--preset--color--base);
}
.fdtc-content .fdtc-photos {
	margin-top: var(--wp--preset--spacing--50);
}
.fdtc-packages > .wp-block-column {
	border-top-color: var(--wp--preset--color--brand-red);
}
.fdtc-content .fdtc-price {
	margin: 0.2rem 0 0.4rem;
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--wp--preset--color--brand-red-dark);
}
@media (max-width: 600px) {
	.fdtc-facts li {
		grid-template-columns: 1fr;
		gap: 0.1rem;
	}
	.fdtc-content .fdtc-upcoming {
		padding: var(--wp--preset--spacing--30);
	}
}

/* Wide photos (panoramas) keep their shape instead of the 4:3 crop. */
.fdtc-photo.is-wide img {
	aspect-ratio: auto;
}
.fdtc-content .fdtc-photo.is-wide {
	margin-top: var(--wp--preset--spacing--40);
}

/* Numbered steps: number badge above each card's heading. */
.fdtc-steps {
	counter-reset: fdtc-step;
}
.fdtc-steps > .wp-block-column {
	counter-increment: fdtc-step;
}
.fdtc-steps > .wp-block-column::before {
	content: counter(fdtc-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin-bottom: 0.6rem;
	border-radius: 50%;
	background: var(--wp--preset--color--brand-blue);
	color: var(--wp--preset--color--base);
	font-weight: 700;
}

/* Lists inside cards. */
.fdtc-content :is(.fdtc-features, .fdtc-packages) ul {
	margin: 0.5rem 0 0;
	padding-left: 1.1rem;
}
.fdtc-content :is(.fdtc-features, .fdtc-packages) li {
	margin-bottom: 0.45rem;
}
.fdtc-content > .fdtc-section + p {
	margin-top: var(--wp--preset--spacing--50);
}

/* ---------- Section library (inc/sections.php, patterns/section-*.php) ----------
   Pages are stacks of full-width .fdtc-sec bands. Rules:
   - Never put two tinted bands next to each other: white, then panel or sand, then white…
   - One red (fill) button per screen; secondary actions are outline buttons or "→" links.
   - Blue/red bands (.fdtc-on-dark) are for the hero and a closing call to action only.
   - Images: 3:2 in cards, 4:3 beside text, always with alt text. */

.fdtc-sec.alignfull {
	margin-top: 0;
	margin-bottom: 0;
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50);
}
.fdtc-sec--panel.alignfull,
.fdtc-sec--sand.alignfull {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}
/* Landing pages: no gap between the last band and the footer, or between main and the bands. */
.fdtc-landing .wp-block-post-content > :first-child {
	margin-top: 0;
}

/* Small uppercase label above headings (same voice as the footer labels). */
.fdtc-kicker {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brand-red-dark);
}
.fdtc-on-dark .fdtc-kicker {
	color: #FFB3B5;
}

/* Section heading block. */
.fdtc-sec-head {
	margin-bottom: var(--wp--preset--spacing--50);
}
.fdtc-sec-head > * {
	margin-top: 0;
}
.fdtc-sec-head h2 {
	margin-bottom: 0.5rem;
}
.fdtc-sec-head__intro {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 1.1rem;
}
.fdtc-sec-head__intro a {
	color: inherit;
}
.fdtc-sec > .fdtc-sec-head + * {
	margin-top: 0;
}
.fdtc-sec-foot {
	margin-top: var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--muted);
}

/* Dark bands: white text, links and headings. */
.fdtc-on-dark,
.fdtc-on-dark :is(h1, h2, h3, h4, p, li) {
	color: var(--wp--preset--color--base);
}
.fdtc-on-dark a:not(.wp-element-button) {
	color: inherit;
}
.fdtc-on-dark :where(a, button, .wp-element-button):focus-visible {
	outline-color: var(--wp--preset--color--base);
}

/* Buttons: blue outline on light, white "light" button on dark. */
.fdtc-sec .is-style-outline > .wp-block-button__link,
.fdtc-content .is-style-outline > .wp-block-button__link {
	color: var(--wp--preset--color--brand-blue);
	border-color: currentColor;
	background: transparent;
}
.fdtc-sec .is-style-outline > .wp-block-button__link:hover,
.fdtc-content .is-style-outline > .wp-block-button__link:hover {
	color: var(--wp--preset--color--base);
	background: var(--wp--preset--color--brand-blue);
	border-color: var(--wp--preset--color--brand-blue);
}
.fdtc-btn-light > .wp-block-button__link {
	color: var(--wp--preset--color--brand-blue);
	background: var(--wp--preset--color--base);
}
.fdtc-btn-light > .wp-block-button__link:hover,
.fdtc-btn-light > .wp-block-button__link:focus-visible {
	color: var(--wp--preset--color--brand-blue-dark);
	background: var(--wp--preset--color--sand);
}

/* Hero. */
.fdtc-hero.alignfull {
	margin-top: 0;
	margin-bottom: 0;
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--50);
}
.fdtc-hero h1 {
	margin-top: 0;
}
.fdtc-hero__text {
	font-size: 1.2rem;
	line-height: 1.55;
}
.fdtc-hero .wp-block-buttons {
	margin-top: var(--wp--preset--spacing--40);
}

/* Site notice (synced pattern). Hidden when its text is cleared. */
.fdtc-notice.alignfull {
	margin-top: 0;
	margin-bottom: 0;
	padding: 0.7rem var(--wp--preset--spacing--50);
	border-bottom: 1px solid var(--wp--preset--color--line);
	font-size: 0.95rem;
	text-align: center;
}
.fdtc-notice p {
	margin: 0;
}
.fdtc-notice:not(:has(p:not(:empty))) {
	display: none;
}

/* Card grid. The grid layout fits four across on desktop; keep pairs on tablets. */
.fdtc-cards {
	gap: var(--wp--preset--spacing--40);
}
.fdtc-card {
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	background: var(--wp--preset--color--base);
	display: flex;
	flex-direction: column;
}
.fdtc-card > .wp-block-image {
	margin: 0;
}
.fdtc-card > .wp-block-image img {
	display: block;
	border-radius: 0;
}
.fdtc-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40) var(--wp--preset--spacing--40);
}
.fdtc-card__body > * {
	margin: 0 0 0.6rem;
}
.fdtc-card__body h3 {
	font-size: 1.25rem;
}
.fdtc-card__body > .fdtc-more {
	margin: auto 0 0;
	padding-top: 0.4rem;
}
.fdtc-more {
	font-weight: 700;
}
.fdtc-more a + a {
	margin-left: 1.5rem;
}
@media (max-width: 1150px) and (min-width: 561px) {
	.fdtc-cards--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* "Starting soon": intro beside a short live list. */
.fdtc-schedule-panel {
	gap: var(--wp--preset--spacing--60);
}
.fdtc-schedule-panel__intro > :first-child {
	margin-top: 0;
}
.fdtc-schedule-panel .fdtc-schedule__month {
	margin: 0;
}
.fdtc-schedule-panel .fdtc-schedule__list {
	margin-top: 0;
}
.fdtc-sec--panel .fdtc-schedule__date {
	background: var(--wp--preset--color--base);
}
.fdtc-sec--panel .fdtc-schedule__class {
	border-color: rgba(0, 0, 0, 0.08);
}
.fdtc-small {
	font-size: 0.95rem;
}

/* Steps as a grid (the counter badge comes from .fdtc-steps above). */
.fdtc-steps--grid {
	gap: var(--wp--preset--spacing--40);
}
.fdtc-steps > .fdtc-step {
	counter-increment: fdtc-step;
}
.fdtc-steps > .fdtc-step::before {
	content: counter(fdtc-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--wp--preset--color--brand-blue);
	color: var(--wp--preset--color--base);
	font-weight: 700;
}
.fdtc-step h3 {
	margin: 0.75rem 0 0.4rem;
	font-size: 1.25rem;
}
.fdtc-step p {
	margin: 0;
}

/* Photo + copy split. */
.fdtc-split {
	gap: var(--wp--preset--spacing--60);
}
.fdtc-split__media .wp-block-image {
	margin: 0;
}
.fdtc-split__media img {
	border-radius: 14px;
	width: 100%;
}
.fdtc-split__copy > :first-child {
	margin-top: 0;
}
.fdtc-checks {
	list-style: none;
	padding-left: 0;
}
.fdtc-checks li {
	position: relative;
	margin-bottom: 0.6rem;
	padding-left: 1.75rem;
}
.fdtc-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background: var(--wp--preset--color--brand-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

/* Bordered boxes side by side (two-up). */
.fdtc-twoup {
	gap: var(--wp--preset--spacing--40);
}
.fdtc-twoup > .fdtc-box {
	padding: var(--wp--preset--spacing--40);
	border: 1px solid var(--wp--preset--color--line);
	border-top: 4px solid var(--wp--preset--color--brand-blue);
	border-radius: 10px;
	background: var(--wp--preset--color--base);
	display: flex;
	flex-direction: column;
}
.fdtc-twoup > .fdtc-box:nth-child(even) {
	border-top-color: var(--wp--preset--color--brand-red);
}
.fdtc-box > * {
	margin-top: 0;
}
.fdtc-box h3 {
	font-size: 1.35rem;
	margin-bottom: 0.5rem;
}
.fdtc-box > .wp-block-buttons {
	margin-top: auto;
	padding-top: 0.5rem;
}

/* Closing call to action band. */
.fdtc-cta h2 {
	margin-top: 0;
	margin-bottom: 0.4rem;
}
.fdtc-cta p {
	margin: 0;
}
.fdtc-cta__buttons {
	justify-content: flex-end;
}
@media (max-width: 781px) {
	.fdtc-cta__buttons {
		justify-content: flex-start;
	}
}

/* Callout outside page content (inside sections). */
.fdtc-sec .fdtc-callout {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border-left: 5px solid var(--wp--preset--color--brand-red);
	border-radius: 0 8px 8px 0;
	background: var(--wp--preset--color--sand);
}
.fdtc-sec .fdtc-callout p {
	margin: 0;
}

/* FAQ. */
.fdtc-faq {
	border-top: 1px solid var(--wp--preset--color--line);
}
.fdtc-faq > .wp-block-details {
	margin: 0;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
}
.fdtc-faq summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--wp--preset--color--brand-blue);
}
.fdtc-faq summary:hover {
	color: var(--wp--preset--color--brand-red-dark);
}
.fdtc-faq .wp-block-details > :not(summary) {
	margin: 0.6rem 0 0.2rem;
}

/* Section library: spacing fixes found in screenshots. */
.fdtc-card > * + * {
	margin-top: 0;
}
.fdtc-steps--grid:has(> .fdtc-step:nth-child(3):last-child) {
	grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)) !important;
}
.fdtc-schedule-panel .fdtc-schedule__note {
	display: none;
}
@media (max-width: 600px) {
	.fdtc-schedule-panel .fdtc-schedule__class:nth-child(n+5) {
		display: none;
	}
}

/* Feature/package boxes: tighter gap; four boxes go 2×2 in the text column. */
.fdtc-content :is(.fdtc-features, .fdtc-packages) {
	gap: var(--wp--preset--spacing--30);
}
@media (min-width: 782px) {
	.fdtc-content .fdtc-features:has(> .wp-block-column:nth-child(4)) {
		flex-wrap: wrap !important;
	}
	.fdtc-content .fdtc-features:has(> .wp-block-column:nth-child(4)) > .wp-block-column {
		flex-basis: calc(50% - var(--wp--preset--spacing--30) / 2) !important;
		flex-grow: 0;
		box-sizing: border-box;
	}
}
.fdtc-content :is(.fdtc-features, .fdtc-packages) > .wp-block-column > * + * {
	margin-top: 0.5rem;
}
.fdtc-content .fdtc-price + p {
	margin-top: 0.25rem;
}
/* Three or six cards: three across on desktop, pairs on tablets. */
@media (min-width: 1151px) {
	:is(.fdtc-cards--3, .fdtc-cards--6) {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 1150px) and (min-width: 561px) {
	.fdtc-cards--6 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Tables built with fdtc_table(): light rules, left-aligned headers. */
.fdtc-table table {
	width: 100%;
	border-collapse: collapse;
}
.fdtc-table :is(th, td) {
	padding: 0.6rem 0.75rem;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	text-align: left;
	vertical-align: top;
}
.fdtc-table thead th {
	border-bottom: 2px solid var(--wp--preset--color--brand-blue);
	color: var(--wp--preset--color--brand-blue);
	font-weight: 700;
}
.fdtc-table.wp-block-table {
	overflow-x: auto;
}

/* Class pages: room between the dates panel and the section after it. */
.fdtc-content > .fdtc-upcoming + * {
	margin-top: var(--wp--preset--spacing--60);
}

/* Embedded calendars and maps never overflow the text column. */
.fdtc-content iframe {
	max-width: 100%;
}
/* Numbered lists inside feature/package boxes. */
.fdtc-content :is(.fdtc-features, .fdtc-packages) ol {
	margin: 0.5rem 0 0;
	padding-left: 1.2rem;
}

/* AKC program logos (CGC seal, Trick Dog) beside a section's text. Keep it small when columns stack. */
.fdtc-akc-seal .wp-block-image img {
	width: 100%;
	max-width: 180px;
	height: auto;
	mix-blend-mode: multiply; /* JPG has a white background; blend it into the cream page */
}
@media (max-width: 781px) {
	.fdtc-akc-seal .wp-block-image { text-align: center; }
	.fdtc-akc-seal .wp-block-image img { max-width: 140px; }
}
/* About Us: one card per AKC program, logo centered on top. */
.fdtc-akc-card { text-align: center; }
.fdtc-akc-card .wp-block-image { margin-bottom: 0.5rem; }
.fdtc-akc-card .wp-block-buttons { justify-content: center; }
