/*
Theme Name: 10s Across the Borders
Theme URI: https://10sacrosstheborders.com/
Author: Slash UI
Description: Block child theme of Twenty Twenty-Five for the documentary 10s Across the Borders. Reproduces the original Weebly "Slick" look (dark sections, white nav strip, Josefin Sans / Lato / Roboto / Cardo).
Template: twentytwentyfive
Requires at least: 6.7
Requires PHP: 8.1
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: tatb
*/

/*
 * Only what theme.json cannot express: the Slick header (top bar + white
 * nav strip that overlaps the page), the 1024px menu breakpoint, the chevron
 * menu button, the full-screen white overlay and a few responsive values.
 * Colours come from the theme.json palette (CSS custom properties).
 */

body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* as Slick */
.wp-site-blocks { position: relative; }
.wp-site-blocks > * { margin-block: 0; }

/* ---------- Header: top bar ---------- */
.tatb-header {
	position: relative;
	z-index: 20;
	box-sizing: content-box;
	height: 60px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
/* Pages with a header photo: the bar is transparent and sits on the photo. */
.tatb-header--overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

/* ---------- Header: nav strip (desktop, > 1024px) ---------- */
.tatb-nav .wp-block-navigation-item__content {
	padding: 15px 13px;
	line-height: 30px;
	transition: color 200ms ease-in;
}
.tatb-nav .wp-block-navigation-item__content:hover,
.tatb-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--ink-187);
}

@media (min-width: 1025px) {
	.tatb-header > .tatb-nav {
		position: absolute;
		top: 0; /* menu strip flush with the top of the page (user request 2026-11-11; Weebly had an empty 60px bar above it) */
		left: 0;
		right: 0;
		background-color: var(--wp--preset--color--white);
		box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
	}
	.tatb-nav .wp-block-navigation__container { padding: 0 20px; }
}

/* ---------- <= 1024px: chevron button in a 50px bar, full-screen overlay ---------- */
@media (max-width: 1024px) {
	.tatb-header { height: 50px; }
	.tatb-header > .tatb-nav {
		position: absolute;
		top: 0;
		left: 0;
	}
}
/* Core switches to the overlay at 600px; Weebly did it at 1024px. */
@media (min-width: 600px) and (max-width: 1024px) {
	.tatb-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.tatb-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 767px) {
	.tatb-header { background-color: var(--wp--preset--color--ink-55) !important; }
}

/* ---------- Scrolled (body.tatb-affix, set by assets/js/header.js) ----------
 * As Slick: the bar becomes fixed, 50px, #2a2a2a, no border. On desktop the
 * white nav strip covers the bar, so it stays pinned to the top. */
.tatb-header { transition: height 250ms ease-in, background-color 250ms ease-in; }
.tatb-affix .tatb-header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	height: 50px;
	border-bottom-width: 0;
	background-color: var(--wp--preset--color--ink-42) !important;
}
@media (max-width: 600px) {
	.admin-bar.tatb-affix .tatb-header { top: 0; } /* the admin bar scrolls away on phones */
}
@media (min-width: 1025px) {
	html { scroll-padding-top: 60px; } /* keep focused/linked content clear of the fixed strip */
}
@media (max-width: 1024px) {
	html { scroll-padding-top: 50px; }
}
/* Reserve the bar's height on pages without a header photo, so fixing it never shifts the page. */
.wp-site-blocks > .wp-block-template-part:has(> .tatb-header:not(.tatb-header--overlay)) { min-height: 61px; }
@media (max-width: 1024px) {
	.wp-site-blocks > .wp-block-template-part:has(> .tatb-header:not(.tatb-header--overlay)) { min-height: 51px; }
}
@media (prefers-reduced-motion: reduce) {
	.tatb-header,
	.tatb-header > .tatb-nav,
	.tatb-nav .wp-block-navigation-item__content,
	.tatb-nav .wp-block-navigation__responsive-container-open { transition: none; }
}

.tatb-nav .wp-block-navigation__responsive-container-open {
	width: 50px;
	height: 50px;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--white);
	transition: background-color 200ms ease-in;
}
.tatb-nav .wp-block-navigation__responsive-container-open svg { display: none; }
.tatb-nav .wp-block-navigation__responsive-container-open::before {
	content: "";
	width: 11px;
	height: 11px;
	margin-top: -6px;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.tatb-nav .wp-block-navigation__responsive-container-open:hover {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink-68);
}
.tatb-nav .wp-block-navigation__responsive-container-open:focus-visible {
	outline: 2px solid var(--wp--preset--color--white);
	outline-offset: -4px;
}

.tatb-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 0; }
.tatb-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 0;
	left: 0;
	right: auto;
	width: 50px;
	height: 50px;
	align-items: center;
	justify-content: center;
}
.tatb-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 60px;
	align-items: stretch;
}
.tatb-nav .is-menu-open .wp-block-navigation__container { align-items: stretch !important; }
.tatb-nav .is-menu-open .wp-block-navigation-item { width: 100%; justify-content: center; }
.tatb-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 15px 0;
	line-height: normal;
	text-align: center;
}
.tatb-nav .is-menu-open .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--ink-187); }
.tatb-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--ink-55); }

/* ---------- Header: cart (WooCommerce Mini-Cart block) ----------
 * Top right, above the nav strip: dark on the white strip (desktop), white in
 * the 50px bar (<= 1024px). The button is at least 44px square (tap target). */
.tatb-header > .tatb-cart {
	position: absolute;
	top: 0;
	right: 10px;
	z-index: 2;
	height: 60px;
	display: flex;
	align-items: center;
	color: var(--wp--preset--color--ink-68);
}
.tatb-cart .wc-block-mini-cart__button {
	min-width: 44px;
	min-height: 44px;
	justify-content: center;
	color: inherit;
}
.tatb-cart .wc-block-mini-cart__button:hover { color: var(--wp--preset--color--ink-187); }
/* Item count: white on the primary pink (user request 2026-11-12). */
.tatb-cart .wc-block-mini-cart__badge {
	background-color: var(--wp--preset--color--pink) !important;
	border-color: var(--wp--preset--color--pink) !important;
	color: var(--wp--preset--color--white) !important;
}

/* Closed cart drawer: out of the tab order and the accessibility tree (it is
 * only aria-hidden). Visibility flips after the 300ms slide-out. */
.wc-block-components-drawer__screen-overlay--is-hidden .wc-block-mini-cart__drawer {
	visibility: hidden;
	transition: visibility 0s linear 300ms;
}

/* Shop pages (WooCommerce templates): same top space as the other pages
 * (the nav strip overlaps the first 60px). Checkout has its own slim header. */
.woocommerce-page:not(.woocommerce-checkout) main.wp-block-group:not(.tatb-shop):not(.tatb-product) { padding-top: 80px; }

/* ---------- Merch shop page (templates/archive-product.html) ----------
 * As the Weebly store category page: header photo (Weebly stock
 * "Concrete-Rain", (c) Mario Habenbacher), white content area, square photo
 * grid. Above 1024px name + price show in a white overlay on hover/focus;
 * at 1024px and below they sit under the photo, left-aligned. */
.tatb-shop { background-color: var(--wp--preset--color--white); }
.tatb-shop__photo {
	height: 320px;
	background: var(--wp--preset--color--ink-42) url(assets/images/concrete-rain-1920.webp) 50% 0 / cover no-repeat;
}
.tatb-shop__body {
	box-sizing: content-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 95px 40px 85px;
}
.tatb-shop .tatb-shop__title {
	margin: 0 0 10px;
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 25px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #3f3f3f;
}
.tatb-shop__grid .wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
/* Beats WooCommerce's flex-column widths (.is-flex-container.columns-3 > li). */
.tatb-shop .tatb-shop__grid .wc-block-product-template.is-flex-container > li.wc-block-product {
	position: relative;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	text-align: left;
}
.tatb-shop__grid .wc-block-product > * { margin: 0; }
.tatb-shop__grid .wc-block-components-product-image { margin: 0; }
.tatb-shop__grid .wc-block-components-product-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}
.tatb-shop .tatb-shop__name {
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-transform: none;
	color: var(--wp--preset--color--ink-55);
}
.tatb-shop .tatb-shop__name a { color: inherit; text-decoration: none; }
/* The whole card is the product link (one link per product, as on Weebly). */
.tatb-shop .tatb-shop__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tatb-shop .tatb-shop__price {
	margin: 0;
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wp--preset--color--ink-42);
}
.tatb-shop .tatb-shop__price .price { color: inherit; }
.tatb-shop .wp-block-query-pagination { margin-top: 30px; }
.tatb-shop__card-text > * { margin: 0; }
@media (min-width: 1025px) {
	.tatb-shop__card-text {
		position: absolute;
		inset: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 20px;
		text-align: center;
		background-color: rgba(255, 255, 255, 0.9);
		opacity: 0;
		transition: opacity 250ms ease-in;
	}
	.tatb-shop .tatb-shop__card-text > .tatb-shop__price { margin-top: 10px; }
	.tatb-shop__grid .wc-block-product:hover .tatb-shop__card-text,
	.tatb-shop__grid .wc-block-product:focus-within .tatb-shop__card-text { opacity: 1; }
	/* Keyboard focus: outline the whole card (the overlay also appears). */
	.tatb-shop .tatb-shop__name a:focus-visible { outline: none; }
	.tatb-shop .tatb-shop__name a:focus-visible::after { outline: 2px solid var(--wp--preset--color--ink-42); outline-offset: -2px; }
}
@media (max-width: 1024px) {
	.tatb-shop__photo {
		height: 150px;
		background-image: url(assets/images/concrete-rain-1024.webp);
	}
	.tatb-shop__body { padding: 90px 24px 60px; }
	.tatb-shop .tatb-shop__title { line-height: 40px; }
}
@media (max-width: 767px) {
	.tatb-shop__body { padding-top: 62px; }
	.tatb-shop .tatb-shop__title { font-size: 19.5px; line-height: 1.6; }
	.tatb-shop__grid .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
	.tatb-shop__grid .wc-block-product-template { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.tatb-shop__card-text { transition: none; }
}

/* ---------- Product page (templates/single-product.html) ----------
 * As the Weebly product page: white page, boxed breadcrumb, photo 60% left,
 * details right (title, price over a rule, options as radios, qty, dark
 * button, collapsible description), long description (delivery note) full
 * width below. Stacks at 767px and below. */
.tatb-product {
	background-color: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink-68);
	font-family: var(--wp--preset--font-family--josefin-sans);
}
.tatb-product__body {
	box-sizing: content-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 40px 60px;
}
.tatb-product__body > * { margin-block: 0; }

/* Breadcrumb: "MERCH" (grey box, link blue) then the product (white box). */
.tatb-product .tatb-product__crumbs { margin: 0 0 25px; padding: 0; font-size: 12px; }
.tatb-product .woocommerce-breadcrumb { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; font-size: inherit; color: inherit; }
.tatb-product .woocommerce-breadcrumb::before,
.tatb-product .woocommerce-breadcrumb::after { display: none; } /* WooCommerce clearfix; a flex item here */
.tatb-crumb {
	display: inline-block;
	padding: 8px;
	border: 1px solid var(--wp--preset--color--ink-68);
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: 12px;
	line-height: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink-55);
}
.tatb-crumb:has(a) { background-color: #eeeeee; }
.tatb-crumb a { color: var(--wp--preset--color--link); text-decoration: none; }

.tatb-product__cols {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 3.5fr);
	gap: 60px;
	align-items: start;
}
.tatb-product__cols > * { margin: 0 !important; }
.tatb-product .tatb-product__gallery { max-width: none; }
.tatb-product .woocommerce-product-gallery { float: none !important; width: auto !important; margin: 0 !important; }
.tatb-product .woocommerce-product-gallery img { display: block; width: 100%; height: auto; }

.tatb-product__info > * { margin-block: 0; }
.tatb-product .tatb-product__title {
	margin: 0;
	padding: 0 0 15px;
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 25px;
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #3f3f3f;
}
.tatb-product .tatb-product__price {
	margin: 0 0 15px;
	padding: 0 0 25px;
	border-bottom: 1px solid var(--wp--preset--color--ink-68);
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: 27.5px;
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--ink-68);
}
.tatb-product .tatb-product__price .wc-block-components-product-price { font-size: inherit; color: inherit; }

/* Options: name in caps, choices as a vertical list of radios. */
.tatb-product__option { margin: 15px 0 10px; }
.tatb-product .wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute-name {
	display: block;
	margin-bottom: 6px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink-55);
}
.tatb-product .wc-block-product-filter-chips__fieldset { margin: 0; padding: 0; border: 0; }
.tatb-product .wc-block-product-filter-chips__items { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.tatb-product .wc-block-product-filter-chips__item {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none !important;
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: 16px;
	line-height: 30px;
	letter-spacing: 0.03em;
	color: var(--wp--preset--color--ink-68) !important;
	cursor: pointer;
}
.tatb-product .wc-block-product-filter-chips__item::before {
	content: "";
	flex: none;
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	border: 1px solid #c4c4c4;
	border-radius: 50%;
	background-color: #eeeeee;
}
.tatb-product .wc-block-product-filter-chips__item[aria-checked="true"]::before {
	border-color: var(--wp--preset--color--ink-42);
	background: radial-gradient(circle, var(--wp--preset--color--ink-42) 0 4px, #eeeeee 4.5px);
}
.tatb-product .wc-block-product-filter-chips__item:disabled { opacity: 0.45; cursor: default; }
.tatb-product .wc-block-product-filter-chips__item:focus-visible { outline: 2px solid var(--wp--preset--color--ink-42); outline-offset: 2px; }
.tatb-product .wc-block-product-filter-chips__label,
.tatb-product .wc-block-product-filter-chips__text { font: inherit; color: inherit; }

/* Qty: label + grey box, then the button below. */
.tatb-product__buy { display: flex; flex-direction: column; align-items: flex-start; gap: 25px; padding: 10px 0 0; }
.tatb-product__buy > * { margin: 0 !important; }
.tatb-product .wp-block-woocommerce-add-to-cart-with-options-quantity-selector { display: flex; align-items: center; gap: 25px; border: 0; }
.tatb-product .wc-block-components-quantity-selector { display: block; width: auto; margin: 0; border: 0; }
.tatb-product .wc-block-components-quantity-selector::after { display: none; }
/* Plain box as on Weebly (WooCommerce 11.3 still prints the +/- buttons in "input" style). */
.tatb-product .wc-block-components-quantity-selector__button { display: none; }
.tatb-product .wp-block-woocommerce-add-to-cart-with-options-quantity-selector::before {
	content: "Qty";
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink-55);
}
.tatb-product .wp-block-woocommerce-add-to-cart-with-options-quantity-selector input.qty {
	box-sizing: border-box;
	width: 86px !important; /* beats WooCommerce's stepper sizing */
	max-width: none !important;
	height: 32px;
	margin: 0;
	padding: 8px;
	border: 0;
	border-bottom: 1px solid #c4c4c4;
	border-radius: 1px;
	background-color: #eeeeee;
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: 15px;
	text-align: center;
	color: var(--wp--preset--color--ink-55);
}
.tatb-product .wp-block-woocommerce-product-button .wp-block-button__link,
.tatb-product .wp-block-woocommerce-product-button button {
	min-height: 44px;
	padding: 12px 20px;
	border: 1px solid var(--wp--preset--color--ink-42);
	border-radius: 1px;
	background-color: var(--wp--preset--color--ink-42);
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
}
.tatb-product .wp-block-woocommerce-product-button .wp-block-button__link:hover,
.tatb-product .wp-block-woocommerce-product-button button:hover {
	border-color: var(--wp--preset--color--ink-16);
	background-color: var(--wp--preset--color--ink-16);
}
.tatb-product .is-invalid .wp-block-woocommerce-product-button button { opacity: 0.45; }
.tatb-product .tatb-product__fulfilment { margin: 0; font-family: var(--wp--preset--font-family--josefin-sans); font-size: 16px; line-height: 30px; letter-spacing: 0.03em; color: var(--wp--preset--color--ink-55); }

/* Description: collapsed under a rule, "+" on the right (Weebly default). */
.tatb-product .tatb-product__desc {
	margin: 30px 0 0;
	padding: 20px 0 0;
	border-top: 1px solid var(--wp--preset--color--ink-68);
}
.tatb-product .tatb-product__desc summary {
	position: relative;
	display: block;
	padding-right: 30px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--ink-55);
	cursor: pointer;
	list-style: none;
}
.tatb-product .tatb-product__desc summary::-webkit-details-marker { display: none; }
.tatb-product .tatb-product__desc summary::after {
	content: "+";
	position: absolute;
	top: 0;
	right: 0;
	font-size: 26px;
	font-weight: 400;
	line-height: 1;
}
.tatb-product .tatb-product__desc[open] summary::after { content: "\2212"; }
.tatb-product .tatb-product__desc .wp-block-post-excerpt { margin: 10px 0 0; }
.tatb-product .tatb-product__desc p {
	margin: 0 0 15px;
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: 16px;
	line-height: 30px;
	letter-spacing: 0.03em;
	color: var(--wp--preset--color--ink-68);
}

/* Long description (the delivery note): full width, site body text. */
.tatb-product .tatb-product__more { margin: 60px 0 0; font-family: var(--wp--preset--font-family--lato); color: var(--wp--preset--color--grey); }
.tatb-product .tatb-product__more > * { margin-block: 0 10px; }

@media (max-width: 1024px) {
	.tatb-product__body { padding: 80px 24px 50px; }
	.tatb-product .tatb-product__crumbs { margin-bottom: 19px; }
	.tatb-product__cols { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 49px; }
}
@media (max-width: 767px) {
	.tatb-product__cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.tatb-product .tatb-product__title { font-size: 19.5px; }
}
@media (max-width: 1024px) {
	.tatb-header > .tatb-cart {
		height: 50px;
		right: 3px;
		color: var(--wp--preset--color--white);
	}
}

/* ---------- Content ---------- */
/* No-header pages: the nav strip overlaps the first 60px, so sections start 80px down (Weebly). */
.tatb-main--no-header { --tatb-section-top: 80px; }
.tatb-main--no-header .wp-block-post-content > :first-child:not(.is-style-tatb-section) { margin-block-start: 80px; }

/* Header photo (cover): height comes from its content + padding, as on Weebly. */
.wp-block-cover.is-style-tatb-page-header { min-height: 0; }

/* Laurels row: fixed height per laurel so nothing shifts while images load. */
.tatb-laurels img { height: var(--tatb-laurel-height, 110px); width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Footer ---------- */
.tatb-footer .wp-social-link a { padding: 2px; }
.tatb-footer .wp-social-link svg { width: 20px; height: 20px; }
@media (max-width: 767px) {
	/* 44px tap targets on touch screens, right edge kept aligned. */
	.tatb-footer .wp-block-social-links { margin-right: -12px; }
	.tatb-footer .wp-social-link a { padding: 12px; }
}

/* ---------- Focus ---------- */
:where(.wp-site-blocks) a:focus-visible,
:where(.wp-site-blocks) button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* ---------- Content fidelity ---------- */
/* WordPress saves no class/style for justified paragraphs; the migrated content carries this class. */
:root .has-text-align-justify { text-align: justify; }
/* Weebly's phone line height is 28.8px (27px on desktop). Inline per-block line heights still win. */
@media (max-width: 767px) {
	.wp-site-blocks p,
	.wp-site-blocks li { line-height: max(28.8px, 1.44em); }
}

/* ---------- YouTube facade (see tatb_youtube_facade) ---------- */
.tatb-yt,
.tatb-yt__frame {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	padding: 0;
	margin: 0;
	background: #000;
}
.wp-has-aspect-ratio .tatb-yt { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.tatb-yt { cursor: pointer; overflow: hidden; }
.tatb-yt img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tatb-yt__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 68px;
	height: 48px;
	transform: translate(-50%, -50%);
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.75);
	transition: background-color 0.15s;
}
.tatb-yt__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-35%, -50%);
	border-style: solid;
	border-width: 11px 0 11px 19px;
	border-color: transparent transparent transparent #fff;
}
.tatb-yt:hover .tatb-yt__play,
.tatb-yt:focus-visible .tatb-yt__play { background: #e00; }
.tatb-yt:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }

/* ---------- Trailer hero (Cover style "Trailer hero", Trailer page) ----------
 * After the reference design the user chose (2026-11-12, Pinterest "The art
 * of life"): photo on the left fading into black, a large serif title on the
 * right with a pink eyebrow and accent, a translucent band along the bottom
 * with the tagline and a round button down to the video. The text is normal
 * blocks inside the Cover, so the client edits it in the editor. */
.wp-block-cover.is-style-tatb-trailer-hero {
	min-height: 100vh;
	min-height: 100svh;
	align-items: stretch;
	overflow: hidden;
}
.is-style-tatb-trailer-hero > .wp-block-cover__image-background {
	right: auto;
	width: 64%;
	object-position: 38% 50%;
	-webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 100%);
	mask-image: linear-gradient(90deg, #000 40%, transparent 100%);
}
/* Moody tone, as the reference: a soft dark vignette over the photo. */
.is-style-tatb-trailer-hero > .wp-block-cover__background.has-background-dim {
	opacity: 1;
	background: linear-gradient(180deg, rgba(16, 16, 16, 0.35) 0%, rgba(16, 16, 16, 0.1) 40%, rgba(16, 16, 16, 0.45) 100%);
}
.is-style-tatb-trailer-hero > .wp-block-cover__inner-container {
	display: grid;
	grid-template-rows: 1fr auto;
	align-self: stretch;
	width: 100%;
}
.is-style-tatb-trailer-hero > .wp-block-cover__inner-container > * {
	max-width: none !important;
	margin: 0 !important;
}
.is-style-tatb-trailer-hero > .wp-block-cover__inner-container > .tatb-trailer-hero__intro {
	align-self: center;
	justify-self: end;
	box-sizing: border-box;
	width: min(54%, 820px);
	margin: 0 7vw 0 0 !important;
	padding: 100px 0 50px;
}
.tatb-trailer-hero__intro > * { margin: 0; }
.is-style-tatb-trailer-hero .tatb-trailer-hero__eyebrow {
	margin: 0 0 0.7em;
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: clamp(14px, 1.25vw, 18px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--pink);
}
.is-style-tatb-trailer-hero .tatb-trailer-hero__title {
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--cardo);
	font-size: clamp(44px, 6.4vw, 108px);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0;
	text-transform: uppercase;
	text-wrap: balance;
	color: var(--wp--preset--color--white);
}
.tatb-trailer-hero__aside {
	width: max-content;
	max-width: 260px;
	margin: 18px 0 0 auto !important;
}
.tatb-trailer-hero__aside > * { margin: 0; }
.is-style-tatb-trailer-hero .tatb-trailer-hero__accent {
	font-family: var(--wp--preset--font-family--cardo);
	font-size: clamp(22px, 1.9vw, 30px);
	line-height: 1.1;
	color: var(--wp--preset--color--pink);
}
.is-style-tatb-trailer-hero .tatb-trailer-hero__caption {
	margin-top: 8px;
	font-family: var(--wp--preset--font-family--lato);
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.85);
}
.tatb-trailer-hero__band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 40px 7vw;
	background-color: rgba(16, 16, 16, 0.6);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.tatb-trailer-hero__band-text > * { margin: 0; }
.is-style-tatb-trailer-hero .tatb-trailer-hero__tagline {
	max-width: 30em;
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: clamp(14px, 1.1vw, 16px);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--butter);
}
.is-style-tatb-trailer-hero .tatb-trailer-hero__note {
	margin-top: 10px;
	font-family: var(--wp--preset--font-family--lato);
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.8);
}
/* Round button down to the video: the text stays for screen readers. */
.tatb-trailer-hero__down { flex: none; margin: 0; }
.tatb-trailer-hero__down .wp-block-button__link {
	position: relative;
	display: block;
	width: 60px;
	height: 60px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 50%;
	background-color: var(--wp--preset--color--pink);
	white-space: nowrap;
	text-indent: 200%; /* text off-screen, still its accessible name */
	transition: background-color 200ms ease-in;
}
.tatb-trailer-hero__down .wp-block-button__link::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 12px;
	margin: -9px 0 0 -6px;
	border: solid var(--wp--preset--color--ink-16);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.tatb-trailer-hero__down .wp-block-button__link:hover { background-color: var(--wp--preset--color--pink-light); }
.tatb-trailer-hero__down .wp-block-button__link:focus-visible { outline: 2px solid var(--wp--preset--color--white); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
	html:has(.is-style-tatb-trailer-hero) { scroll-behavior: smooth; }
}
/* 1024px and below: the photo can't sit beside the title, so it goes on top
 * and fades into the text (height capped so landscape tablets see the title). */
@media (max-width: 1024px) {
	.wp-block-cover.is-style-tatb-trailer-hero { min-height: 0; }
	.is-style-tatb-trailer-hero > .wp-block-cover__image-background {
		bottom: auto;
		width: 100%;
		height: min(72vw, 70vh);
		object-position: 40% 50%;
		-webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
	}
	.is-style-tatb-trailer-hero > .wp-block-cover__background.has-background-dim { bottom: auto; height: min(72vw, 70vh); }
	.is-style-tatb-trailer-hero > .wp-block-cover__inner-container > .tatb-trailer-hero__intro {
		justify-self: stretch;
		width: auto;
		margin: 0 !important;
		padding: calc(min(72vw, 70vh) - 70px) 5vw 36px;
	}
	.tatb-trailer-hero__aside { margin-left: 0 !important; }
	.tatb-trailer-hero__band { padding: 30px 5vw; }
}
@media (max-width: 767px) {
	.is-style-tatb-trailer-hero > .wp-block-cover__inner-container > .tatb-trailer-hero__intro { padding-right: 24px; padding-left: 24px; }
	.tatb-trailer-hero__band { flex-direction: column; align-items: flex-start; gap: 22px; padding: 28px 24px 32px; }
}

/* ---------- Newsletter sign-up (Contact Form 7, deploy/contact-form.php) ----------
 * Weebly's form look: Josefin "required" note, Lato labels like the body text,
 * a 370px grey field with a bottom rule, a 16px grey checkbox with a grey tick.
 * The submit button carries wp-element-button, so theme.json styles it. */
.wpcf7-form { margin-top: 10px; }
.wpcf7-form p { margin: 0; padding: 0; }
/* Weebly's colours, kept on purpose (CLAUDE.md, visual fidelity): #444 note on #343434. */
.wpcf7-form .tatb-form-note {
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: var(--wp--preset--font-size--large);
	font-style: italic;
	letter-spacing: 0.04em;
	line-height: normal;
	color: var(--wp--preset--color--ink-68);
}
.wpcf7-form .tatb-form-req { color: #ff2825; }
.wpcf7-form .tatb-form-label,
.wpcf7-form .wpcf7-list-item-label {
	font-family: var(--wp--preset--font-family--lato);
	font-size: var(--wp--preset--font-size--body);
	line-height: max(27px, 1.35em);
	color: var(--wp--preset--color--grey);
}
.wpcf7-form .tatb-form-label { display: block; margin: 10px 0 5px; font-weight: 700; letter-spacing: 0.04em; }
.wpcf7-form .wpcf7-acceptance { display: block; margin: 5px 0 10px; }
.wpcf7-form input[type="email"] {
	box-sizing: border-box;
	width: 370px;
	max-width: 100%;
	min-height: 44px;
	margin-bottom: 5px;
	padding: 8px;
	background: #eeeeee;
	color: var(--wp--preset--color--ink-55);
	border: 0;
	border-bottom: 1px solid #c4c4c4;
	border-radius: 1px;
	font-family: var(--wp--preset--font-family--josefin-sans);
	font-size: 15px;
	line-height: normal;
	transition: background-color 250ms ease-in, border-color 250ms ease-in;
}
.wpcf7-form input[type="email"]:focus { background: #f9f9f9; border-bottom-color: var(--wp--preset--color--ink-68); }
.wpcf7-form .wpcf7-list-item { margin: 0; }
.wpcf7-form .wpcf7-list-item label { display: inline-flex; align-items: baseline; gap: 5px; min-height: 44px; cursor: pointer; }
.wpcf7-form input[type="checkbox"] {
	flex: none;
	position: relative;
	top: 2px;
	width: 16px;
	height: 16px;
	margin: 0;
	background: #eeeeee;
	border: 1px solid #c4c4c4;
	border-radius: 0;
	appearance: none;
	cursor: pointer;
}
.wpcf7-form input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 4px;
	width: 3px;
	height: 7px;
	border: solid #c4c4c4;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.wpcf7-form input:focus-visible { outline: 2px solid var(--wp--preset--color--white); outline-offset: 2px; }
.wpcf7-form .wpcf7-submit { min-height: 44px; cursor: pointer; }
.wpcf7-form .wpcf7-not-valid-tip { color: var(--wp--preset--color--pink-light); font-size: var(--wp--preset--font-size--medium); }
.wpcf7-form .wpcf7-response-output { margin: 10px 0 0; padding: 8px 12px; color: var(--wp--preset--color--white); }
