/*
Theme Name: Washinkai
Template: twentytwentyfive
Description: Child theme of Twenty Twenty-Five for washinkai.es: colours, header, band, sidebar, lists, footer and home page. Everything else comes from the parent theme.
Version: 1.0
Requires at least: 6.7
License: GNU General Public License v2 or later
Text Domain: washinkai
*/

/*
 * Design approved on the Claude Design canvas (R6d, 2026-10-19). One rule per context:
 * radius 6px for boxes and photos; dividers #E2E2E2; field borders #949494 (3:1 on white);
 * small caps 13px (meta, "Leer más") and 14px (sidebar and footer headings);
 * hover: dark text → red, red link → charcoal, footer link → gold, white on red → underline, grey box → darker grey.
 */

/* Header: round logo before the site title. */
.wp-block-site-title a {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
}
.wp-block-site-title a::before {
	content: "";
	flex: none;
	width: 72px;
	height: 72px;
	background: image-set(url("assets/images/logo-circle-spain-72.png") 1x, url("assets/images/logo-circle-spain-144.png") 2x) center / 72px no-repeat;
}
.wp-block-site-title {
	white-space: nowrap;
}
header .wp-block-navigation {
	font-size: 18px;
}
/* Top-level menu items: red text on hover, kept while their dropdown is open; no underline, no background. */
header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:is(:hover, :focus-within, :has(> [aria-expanded="true"])) > :is(.wp-block-navigation-item__content, .wp-block-navigation-submenu__toggle) {
	color: var(--wp--preset--color--accent-1);
	text-decoration: none;
}
/* Dropdown menus: smaller text than the top bar, tighter padding, soft shadow below and at the sides only (clipped at the top), red text on hover; not in the ☰ overlay. */
.wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container {
	min-width: 220px;
	/* 7px on top: the parent's text sits as far from the first item as the items from each other (41px). */
	padding: 7px 0 0;
	border: 0;
	border-radius: 0 0 6px 6px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	clip-path: inset(0 -30px -30px -30px);
	font-size: 1rem;
}
/* Opens to the right of its item, as on the old theme (core opens it to the left in a right-justified menu). */
.wp-block-navigation.items-justified-right .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container {
	left: 0;
	right: auto;
}
.wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.45em 1.1em;
	line-height: 1.4;
	white-space: nowrap;
}
.wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--accent-1);
	text-decoration: none;
}
/* Tablet and small laptop (600–1279 px; the menu needs about 1210 px): the ☰ menu instead of a menu that wraps; core switches at 600 px. */
@media (min-width: 600px) and (max-width: 1279px) {
	.wp-block-navigation .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	.wp-block-navigation .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/* ☰ menu open (phones and tablets): logo row on top, left-aligned list with dividers, sub-items indented under a red rule, current page in red, sign-up button last. */
.wk-nav-brand,
.wk-nav-join {
	display: none;
}
header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 0 var(--wp--style--root--padding-right) 32px var(--wp--style--root--padding-left);
}
header .is-menu-open .wp-block-navigation__responsive-dialog {
	display: flex;
	flex-direction: column;
}
header .is-menu-open .wk-nav-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 48px 12px 0;
	border-bottom: 5px solid var(--wp--preset--color--accent-1);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
header .is-menu-open .wk-nav-brand img {
	width: 48px;
	height: 48px;
}
header .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 24px;
	right: 0;
}
header .is-menu-open .wk-nav-join {
	display: block;
	order: 2;
	margin-top: 24px;
	padding: 14px 16px;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-1);
	color: var(--wp--preset--color--base);
	font-size: 16px;
	line-height: 1.4;
	text-decoration: none;
}
header .is-menu-open .wk-nav-join strong {
	display: block;
}
header .is-menu-open .wk-nav-join:hover {
	text-decoration: underline;
}
/* Core's overlay selectors are longer than these, hence !important on the spacing it sets. */
header .wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4px !important;
	align-items: stretch;
}
header .wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	align-items: stretch;
	gap: 0;
}
header .wp-block-navigation .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid #e2e2e2;
}
header .wp-block-navigation .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding: 0;
	font-size: 18px;
	font-weight: 600;
}
/* Focus looks like hover (red), underlined so it does not rely on colour; core focuses the first link when the menu opens. */
header .wp-block-navigation .is-menu-open a:focus-visible {
	outline: none;
	color: var(--wp--preset--color--accent-1);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
/* Parents of a group as small-caps labels, so the plain links (Inicio, Horario, Vídeos) and the group's links look alike. */
header .wp-block-navigation .is-menu-open .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-4);
}
header .wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-container {
	gap: 0;
	align-items: flex-start;
	margin: 6px 0 2px 2px;
	padding: 0 0 0 14px !important;
	border-left: 3px solid var(--wp--preset--color--accent-1) !important;
}
header .wp-block-navigation .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 5px 0 !important;
	font-size: 17px;
	font-weight: 500;
}
header .wp-block-navigation .is-menu-open .wp-block-navigation-item__content:hover,
header .wp-block-navigation .is-menu-open .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent-1);
	text-decoration: none;
}

/* Band under the header (patterns/band.php): kanji on red, "Inicio ›" over the section, sign-up link on the right. */
.wk-band {
	background: #cd0004 url("assets/images/kanji-band.png") repeat-x center center;
	border-top: 3px solid #e04a4d;
	border-bottom: 3px solid #e04a4d;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.wk-band__inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 48px;
}
.wk-band a {
	color: #fff;
	text-decoration: none;
}
.wk-band a:hover,
.wk-band a:hover .wk-join__cta {
	text-decoration: underline;
}
.wk-join:hover {
	text-decoration: none !important;
}
.wk-band__crumbs {
	min-width: 0;
	padding: 16px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1.2;
}
.wk-band__home {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.wk-band__section {
	margin: 4px 0 0;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
	color: #fff;
}
.wk-join {
	flex: none;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
}
.wk-join svg {
	flex: none;
}
.wk-join__text {
	display: flex;
	flex-direction: column;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
}
.wk-join__cta {
	margin-top: 2px;
	font-size: 25px;
	font-weight: 800;
}
@media (max-width: 781px) {
	.wk-band__inner {
		flex-direction: column;
		gap: 0;
	}
	.wk-band__crumbs {
		padding: 14px 0;
	}
	.wk-band__home {
		font-size: 12px;
	}
	.wk-band__section {
		font-size: 24px;
	}
	/* The sign-up link becomes a strip under the band, edge to edge. */
	.wk-join {
		gap: 12px;
		margin: 0 calc(-1 * var(--wp--style--root--padding-right)) 0 calc(-1 * var(--wp--style--root--padding-left));
		padding: 12px var(--wp--style--root--padding-right) 12px var(--wp--style--root--padding-left);
		border-top: 1px solid rgba(255, 255, 255, 0.35);
	}
	.wk-join svg {
		width: 32px;
		height: 32px;
	}
	.wk-join__text {
		font-size: 15px;
	}
	.wk-join__cta {
		margin-top: 0;
		font-size: 19px;
	}
}

/* Content and sidebar: 680 + 70 + 420 (the 1170 container), a thin line before the sidebar; stacked below 1024 px. */
.wk-layout > .wk-content {
	min-width: 0;
}
.wk-layout > .wk-aside {
	padding-left: 36px;
	border-left: 1px solid #e2e2e2;
}
@media (max-width: 1199px) {
	.wk-layout > .wk-aside {
		flex-basis: 340px !important;
	}
}
@media (max-width: 1023px) {
	.wk-layout {
		flex-wrap: wrap !important;
	}
	.wk-layout > .wp-block-column {
		flex-basis: 100% !important;
	}
	.wk-layout > .wk-aside {
		padding: 32px 0 0;
		border-left: 0;
		border-top: 1px solid #e2e2e2;
	}
}

/* Post and page text. */
.wk-title {
	margin: 0 0 24px;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
}
.wk-entry {
	font-size: 19px;
	line-height: 1.65;
}
.wk-entry h2 {
	font-size: 28px;
}
/* Old posts' classic [caption] images carry a fixed width (up to 1200px): keep them inside the column. */
.wk-entry .wp-caption {
	max-width: 100%;
}
.wk-entry .wp-caption img {
	max-width: 100%;
	height: auto;
}
.wk-entry .wp-caption-text {
	margin-top: 8px;
	font-size: 15px;
	color: var(--wp--preset--color--accent-4);
}
@media (max-width: 781px) {
	.wk-title {
		font-size: 30px;
		line-height: 1.2;
	}
	.wk-entry {
		font-size: 18px;
	}
}
/* Small caps: post meta, result count. */
.wk-meta {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-4);
}
.wk-meta > *,
.wk-meta p {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
}
.wk-meta a {
	text-decoration: none;
}
.wk-meta .wp-block-post-author-name a,
.wk-meta .wp-block-post-terms a {
	color: var(--wp--preset--color--accent-1);
}
.wk-meta a:hover {
	color: var(--wp--preset--color--contrast);
}
/* Previous / next post. */
.wk-postnav {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #e2e2e2;
	column-gap: 40px;
	row-gap: 20px;
}
.wk-postnav a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.post-navigation-link__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-4);
}
.post-navigation-link__title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
}
.wk-postnav a:hover .post-navigation-link__title {
	color: var(--wp--preset--color--accent-1);
}
.wk-postnav .post-navigation-link-next {
	grid-column: 2;
	text-align: right;
}
@media (max-width: 781px) {
	.wk-postnav {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.wk-postnav .post-navigation-link-next {
		grid-column: auto;
	}
}

/* Lists (archives, search): one row per post, thumbnail on the left; grey lines between rows. */
.wk-list .wp-block-post-template > li + li {
	border-top: 1px solid #e2e2e2;
}
.wk-row {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 28px;
	padding: 28px 0;
}
.wk-list .wp-block-post-template > li:first-child .wk-row {
	padding-top: 0;
}
.wk-row > * {
	margin: 0 !important;
}
.wk-row__body .wp-block-post-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
}
.wk-row__body .wp-block-post-excerpt {
	font-size: 17px;
	color: var(--wp--preset--color--accent-3);
}
.wk-meta--page,
.type-page .wk-meta--post {
	display: none;
}
.type-page .wk-meta--page {
	display: block;
}
@media (max-width: 599px) {
	.wk-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
	.wk-row__body .wp-block-post-title {
		font-size: 21px;
	}
}
/* Thumbnails: 6px corners; the club logo on grey when a post has no featured image. */
.wk-thumb img {
	border-radius: 6px;
}
.wk-thumb-placeholder {
	margin: 0;
	aspect-ratio: 16 / 10;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
}
.wk-thumb-placeholder a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}
.wk-thumb-placeholder img {
	width: 72px;
	height: 72px;
	opacity: 0.85;
	border-radius: 0;
}
/* "Leer más →" and the other small-caps links. */
.wp-block-post-excerpt__more-text {
	margin-top: 8px;
}
.wp-block-post-excerpt__more-link,
.wk-more,
.wk-more a {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}
.wp-block-post-excerpt__more-link::after {
	content: " →";
}
/* Pagination: core block, styled only. */
.wk-pagination {
	margin-top: 12px;
	padding-top: 24px;
	border-top: 1px solid #e2e2e2;
	font-weight: 700;
}
.wk-pagination a {
	text-decoration: none;
}
.wk-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin-right: 6px;
	padding: 0 8px;
	box-sizing: border-box;
	border-radius: 6px;
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--contrast);
}
.wk-pagination a.page-numbers:hover {
	background: #efefef;
}
.wk-pagination .page-numbers.current {
	background: var(--wp--preset--color--accent-1);
	color: #fff;
}
.wk-pagination .page-numbers.dots {
	background: none;
	min-width: 0;
}

/* Search field (sidebar, search page, 404): grey, rounded, plain magnifier. */
.wk-search .wp-block-search__inside-wrapper {
	padding: 4px;
	border: 1px solid #949494;
	border-radius: 50px;
	background: var(--wp--preset--color--accent-5);
}
.wk-search .wp-block-search__input {
	min-width: 0;
	padding: 10px 16px;
	border: 0;
	border-radius: 50px;
	background: transparent;
	font-size: 16px;
	color: var(--wp--preset--color--contrast);
}
.wk-search .wp-block-search__button {
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--accent-3);
	justify-content: center;
}
.wk-search .wp-block-search__button:hover {
	background: #efefef;
}
.wk-search .wp-block-search__button svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}
.wk-search--large .wp-block-search__input {
	padding: 10px 18px;
	font-size: 18px;
}

/* Sidebar: small-caps headings over a red rule, lists with dividers, archives as a dropdown, sponsors two by two. */
.wk-sidebar {
	font-size: 15px;
	line-height: 1.5;
}
.wk-sidebar h2,
.wk-sidebar .wp-block-search__label {
	display: block;
	margin: 0 0 6px;
	padding-bottom: 9px;
	border-bottom: 2px solid var(--wp--preset--color--accent-1);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
}
.wk-sidebar .wp-block-search__label {
	width: auto;
	margin-bottom: 14px;
}
.wk-sidebar h2:has(+ .wp-block-archives-dropdown) {
	margin-bottom: 14px;
}
.wk-sidebar h2:has(+ .wk-sponsors) {
	margin-bottom: 16px;
}
.wk-sidebar ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.wk-sidebar li {
	margin: 0;
	padding: 9px 0;
	border-bottom: 1px solid #e2e2e2;
}
.wk-sidebar li a {
	color: var(--wp--preset--color--accent-3);
	text-decoration: none;
}
.wk-sidebar li a:hover {
	color: var(--wp--preset--color--accent-1);
}
.wk-sidebar select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #949494;
	border-radius: 6px;
	background-color: #fff;
	font: inherit;
	color: var(--wp--preset--color--contrast);
}
.wk-sponsors .wp-block-image {
	margin: 0;
	height: 110px;
	box-sizing: border-box;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
}
.wk-sponsors .wp-block-image a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 12px;
	box-sizing: border-box;
}
.wk-sponsors .wp-block-image img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}
.wk-sponsors .wp-block-image:hover {
	border-color: #949494;
}

/* 404: photo and text side by side, centred; no sidebar. */
.wk-404 {
	display: grid;
	grid-template-columns: 300px minmax(0, 420px);
	gap: 48px;
	align-items: center;
	justify-content: center;
}
.wk-404 > * {
	margin: 0 !important;
}
.wk-404 img {
	display: block;
	width: 300px;
	aspect-ratio: 300 / 384;
	object-fit: cover;
	border-radius: 6px;
}
.wk-404 h1 {
	margin: 0 0 16px;
	font-size: 44px;
	line-height: 1.15;
}
.wk-404 p {
	margin: 0 0 24px;
	font-size: 19px;
}
@media (max-width: 781px) {
	.wk-404 {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.wk-404 img {
		width: 100%;
		max-width: 300px;
	}
	.wk-404 h1 {
		font-size: 30px;
	}
}

/* Footer: logo and icons in a narrow first column, small-caps headings over a white rule, gold hover. */
.wp-site-blocks > footer {
	margin-block-start: 0;
}
.wk-footer {
	font-size: 15px;
	color: #e8e8e8;
}
.wk-footer a {
	color: #e8e8e8;
	text-decoration: none;
}
.wk-footer a:hover {
	color: var(--wp--preset--color--accent-2);
}
.wk-footer h2 {
	margin: 0 0 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
	color: #fff;
}
.wk-footer p {
	margin: 0 0 12px;
}
.wk-footer ul.wp-block-categories {
	list-style: none;
	margin: 0;
	padding: 0;
}
.wk-footer .wp-block-categories li {
	padding: 5px 0;
	border-bottom: 1px solid #555;
}
.wk-footer .wp-block-categories li:last-child {
	border-bottom: 0;
}
.wk-footer__brand .wp-block-image {
	margin: 0 0 14px;
}
.wk-footer .wp-social-link a {
	padding: 8px;
}
.wk-footer .wp-social-link:hover {
	background-color: var(--wp--preset--color--accent-2) !important;
	transform: none;
}
.wk-footer-bottom {
	font-size: 13px;
	color: #bdbdbd;
}
.wk-footer-bottom a {
	color: #bdbdbd;
	text-decoration: underline;
}
.wk-footer-bottom a:hover {
	color: var(--wp--preset--color--accent-2);
}
@media (max-width: 781px) {
	.wk-footer__brand {
		display: flex;
		align-items: center;
		gap: 16px;
	}
	.wk-footer__brand .wp-block-image {
		margin: 0;
	}
	.wk-footer__brand .wp-block-image img {
		width: 80px !important;
	}
}

/* Home page (page 138, scripts/r6b-home.html). Section heading with a short red rule; also the Dan groups. */
.wk-rule {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
}
.wk-rule::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin-top: 6px;
	background: var(--wp--preset--color--accent-1);
}
.wk-section-head {
	align-items: flex-end;
}
.wk-section-head > * {
	margin: 0;
}
.wk-hero h1 {
	font-size: 52px;
	font-weight: 800;
	line-height: 1.15;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.wk-hero p {
	margin-top: 10px;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.wk-circles .wp-block-columns {
	gap: 40px;
}
.wk-circles h2 {
	min-height: 2.5em;
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
}
.wk-circles a {
	text-decoration: none;
}
.wk-circles a:hover {
	text-decoration: underline;
}
.wk-circles .wp-block-image {
	margin: 0 auto 16px;
}
.wk-circles .wp-block-image img {
	width: 230px !important;
	height: 230px;
	object-fit: cover;
}
.wk-circles .wk-ring img {
	border: 4px solid #fff;
	box-sizing: border-box;
}
.wk-circles p {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
}
/* Destacados: white tiles on grey, the whole tile reacts. */
.wk-tiles .wp-block-post {
	display: flex;
	flex-direction: column;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.wk-tiles .wp-block-post > * {
	margin: 0;
}
.wk-tiles .wk-thumb img,
.wk-tiles .wk-thumb-placeholder {
	border-radius: 0;
	aspect-ratio: 16 / 9;
}
.wk-tiles .wp-block-post-title {
	padding: 14px 16px 18px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}
/* The title's link covers the whole tile. */
.wk-tiles .wp-block-post {
	position: relative;
}
.wk-tiles .wp-block-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.wk-tiles .wp-block-post:hover .wp-block-post-title a {
	color: var(--wp--preset--color--accent-1);
}
/* Entradas recientes: photo, title, excerpt, "Leer más". */
.wk-cards .wp-block-post > * {
	margin: 0 0 12px;
}
.wk-cards .wp-block-post-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}
.wk-cards .wp-block-post-excerpt {
	font-size: 16px;
	color: var(--wp--preset--color--accent-3);
}
.wk-cards .wk-thumb-placeholder img {
	width: 96px;
	height: 96px;
}
/* Vídeos: one white bar, all one link (the heading's link stretched over it). */
.wk-videos {
	position: relative;
	gap: 20px;
	padding: 18px 24px;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.wk-videos::before {
	content: "";
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.wk-videos:hover {
	background: #efefef;
}
.wk-videos__text {
	flex: 1;
}
.wk-videos h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}
.wk-videos h2 a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.wk-videos h2 a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.wk-videos__text p {
	margin: 0;
	font-size: 15px;
	color: var(--wp--preset--color--accent-3);
}
.wk-videos .wk-more {
	margin: 0;
	color: var(--wp--preset--color--accent-1);
}
.wk-videos:hover .wk-more {
	color: var(--wp--preset--color--contrast);
}
/* Tablets: two tiles and two cards per row (not three and an orphan), smaller circles. */
@media (max-width: 1023px) {
	.wk-tiles .wp-block-post-template,
	.wk-cards .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	.wk-circles .wp-block-image img {
		width: 170px !important;
		height: 170px;
	}
}
@media (max-width: 599px) {
	.wk-cards .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}
@media (max-width: 781px) {
	.wk-hero {
		min-height: 300px !important;
	}
	.wk-hero h1 {
		font-size: 32px;
	}
	.wk-hero p {
		font-size: 17px;
	}
	.wk-circles h2 {
		min-height: 0;
		font-size: 20px;
	}
	.wk-rule {
		font-size: 24px;
	}
	.wk-tiles .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 14px;
	}
	.wk-tiles .wp-block-post-title {
		padding: 10px 12px 14px;
		font-size: 15px;
	}
	.wk-videos {
		flex-wrap: wrap !important;
		gap: 12px 16px;
		padding: 16px;
	}
	.wk-videos .wk-more {
		flex-basis: 100%;
	}
}

/* Pages: Horario's location cards, Cinturones' Dan groups with round portraits. */
.wk-location {
	font-size: 17px;
	line-height: 1.55;
}
.wk-location h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.wk-location p {
	margin: 0;
}
.wk-location a {
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
}
.wk-dan + .wk-dan {
	margin-top: 44px;
	padding-top: 36px;
	border-top: 1px solid #d5d5d5;
}
.wk-dan .wk-rule {
	margin-bottom: 24px;
}
/* Core's grid takes one gap value; rows get more air. */
.wk-portraits {
	row-gap: 28px;
}
.wk-portrait {
	margin: 0;
	text-align: center;
}
.wk-portrait img {
	width: 104px;
	height: 104px;
	padding: 3px;
	box-sizing: border-box;
	border: 3px solid var(--wp--preset--color--accent-1);
	border-radius: 50%;
	background: #fff;
	object-fit: cover;
	object-position: center top;
}
.wk-portrait figcaption {
	margin-top: 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--wp--preset--color--contrast);
}

/* Phones: 16 px side margins (the parent's are 30 px), smaller logo and title, no search icon in the header (the sidebar has the search field). */
@media (max-width: 599px) {
	html body {
		--wp--style--root--padding-left: 16px;
		--wp--style--root--padding-right: 16px;
	}
	header .wp-block-search {
		display: none;
	}
	.wp-block-site-title {
		font-size: 20px;
	}
	.wp-block-site-title a {
		gap: 10px;
	}
	.wp-block-site-title a::before {
		width: 48px;
		height: 48px;
		background-size: 48px;
	}
}

/* Phones: about half the vertical spacing, which is set inline for desktop (main 48/72, home sections 56, sidebar 40, footer 40). */
@media (max-width: 599px) {
	main.wp-block-group[style*="padding-top:48px"] {
		padding-top: 24px !important;
		padding-bottom: 40px !important;
	}
	.wp-block-post-content > .wp-block-group.alignfull {
		padding-top: 32px !important;
		padding-bottom: 32px !important;
	}
	.wk-circles .wp-block-columns {
		gap: 28px;
	}
	.wk-circles .wp-block-image img {
		width: 140px !important;
		height: 140px;
	}
	.wk-circles h2 {
		margin-bottom: 12px;
	}
	.wk-cards .wp-block-post-template {
		gap: 20px;
	}
	.wk-layout > .wk-aside {
		padding-top: 24px;
	}
	.wk-sidebar > * + * {
		margin-block-start: 28px !important;
	}
	.wk-footer {
		padding-top: 28px !important;
		padding-bottom: 28px !important;
	}
}
