/*
Theme Name: Tigerswings
Author: Tiger Swings
Description: A bold classic theme with a custom homepage, theme options, and the core WordPress templates for posts, pages, archives, search, and comments.
Version: 1.6.14
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tigerswings
Tags: blog, news, one-column, two-columns, right-sidebar, custom-colors, custom-menu, custom-logo, custom-background, editor-style, featured-images, footer-widgets, full-width-template, theme-options, threaded-comments, translation-ready
*/

:root {
	--ts-ink: #1c140f;
	--ts-paper: #f3efe7;
	--ts-accent: #e85d04;
	--ts-paper-2: color-mix(in srgb, var(--ts-paper) 78%, var(--ts-ink));
	--ts-white: color-mix(in srgb, var(--ts-paper) 35%, white);
	--ts-muted: color-mix(in srgb, var(--ts-ink) 64%, white);
	--ts-line: color-mix(in srgb, var(--ts-ink) 14%, transparent);
	--ts-font: "DM Sans", sans-serif;
	--ts-display: "DM Sans", sans-serif;
	/* --ts-width: 1160px; */
	--ts-radius: 22px;
	--ts-banner-pull: calc(var(--ts-topbar-height, 45px) + var(--ts-topbar-gap, 20px) + 86px);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 8% -12%, color-mix(in srgb, var(--ts-accent) 22%, transparent), transparent 34%),
		var(--ts-paper);
	color: var(--ts-ink);
	font-family: var(--ts-font);
	font-size: 1.0625rem;
	line-height: 1.65;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

button,
input,
textarea {
	font: inherit;
}

h1,
h2,
h3,
h4 {
	font-family: var(--ts-display);
	font-weight: 560;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

p {
	margin-top: 0;
}

a {
	color: inherit;
}

a:hover {
	color: color-mix(in srgb, var(--ts-accent) 72%, var(--ts-ink));
}

:focus-visible {
	outline: 2px solid var(--ts-accent);
	outline-offset: 3px;
}

::selection {
	background: var(--ts-accent);
	color: var(--ts-ink);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.4rem 0.7rem;
	background: var(--ts-paper);
	color: var(--ts-ink);
	z-index: 100000;
}

.tw-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.container {
	width: min(var(--ts-width), calc(100% - 2.5rem));
	margin-inline: auto;
}

.eyebrow {
	margin: 0 0 0.8rem;
	color: color-mix(in srgb, var(--ts-accent) 68%, var(--ts-ink));
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.05rem;
	padding: 0.7rem 1.2rem;
	border: 1px solid var(--ts-ink);
	border-radius: 999px;
	background: var(--ts-ink);
	color: var(--ts-paper);
	font-weight: 650;
	text-decoration: none;
	cursor: pointer;
}

.button:hover,
.button:focus-visible {
	background: var(--ts-accent);
	border-color: var(--ts-accent);
	color: var(--ts-ink);
}

.button--ghost {
	background: transparent;
	color: var(--ts-ink);
}

.button--ghost:hover,
.button--ghost:focus-visible {
	background: var(--ts-ink);
	color: var(--ts-paper);
}

.button--accent {
	background: var(--ts-accent);
	border-color: var(--ts-accent);
	color: var(--ts-ink);
}

.button--accent:hover,
.button--accent:focus-visible {
	background: var(--ts-paper);
	border-color: var(--ts-paper);
	color: var(--ts-ink);
}

.button--small {
	min-height: 2.55rem;
	padding: 0.4rem 0.95rem;
	font-size: 0.92rem;
}

.topbar {
	position: relative;
	z-index: 41;
	width: 100%;
	max-width: none;
	margin: 0;
	background: var(--ts-topbar-bg, #061433);
	color: var(--ts-topbar-color, #C9D2F0);
	font-size: var(--ts-topbar-size, 13px);
	line-height: 1;
	border-style: solid;
	border-width: var(--ts-topbar-border, 0);
	border-color: var(--ts-topbar-border-color, transparent);
	border-radius: var(--ts-topbar-radius, 0);
}

.topbar a {
	color: inherit;
	text-decoration: none;
}

.topbar a:hover {
	color: var(--ts-accent);
}

.topbar__inner,
.site-header__inner,
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.topbar__inner {
	min-height: 0;
	width: 100%;
	flex-wrap: nowrap;
	gap: 18px;
}

.topbar__lead {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.topbar a.topbar__badge,
.topbar .topbar__badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	min-height: 26px;
	padding: 0 11px 0 9px;
	border-radius: 999px;
	background: #f6b423;
	color: var(--navy-950, #050D33);
	font-family: var(--ts-font);
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	line-height: 140%;
	white-space: nowrap;
}

.topbar__badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: #12203a;
}

.topbar a.topbar__badge:hover,
.topbar a.topbar__badge:focus-visible,
.topbar .topbar__badge:hover,
.topbar .topbar__badge:focus-visible {
	background: #ffd56a;
	color: var(--navy-950, #050D33);
}

.topbar__message {
	margin: 0;
	overflow: hidden;
	color: var(--ts-topbar-color, #C9D2F0);
	font-family: var(--ts-font);
	font-size: var(--ts-topbar-size, 13px);
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.countdown--topbar {
	display: inline-flex;
	flex: 0 1 auto;
	align-items: center;
	gap: 8px;
	min-width: 0;
	padding: 3px 10px;
	border: 1px solid rgba(246, 180, 35, 0.45);
	border-radius: 999px;
	color: var(--ts-topbar-color, #C9D2F0);
	font-family: var(--ts-font);
	font-size: 12px;
	line-height: 1.4;
	white-space: nowrap;
}

.countdown--topbar .countdown__title {
	overflow: hidden;
	text-overflow: ellipsis;
}

.countdown--topbar .countdown__clock {
	flex: 0 0 auto;
	color: #f6b423;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.countdown--topbar b {
	font-weight: 700;
}

.topbar__meta {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: nowrap;
	align-items: center;
	gap: 16px;
	margin-left: auto;
	color: #fff;
	font-size: var(--ts-topbar-size, 13px);
	font-weight: 500;
}

.topbar__place,
.topbar__phone {
	white-space: nowrap;
}

.topbar__place {
	color: var(--ts-topbar-color, #C9D2F0);
	font-family: var(--ts-font);
	font-size: var(--ts-topbar-size, 13px);
	font-style: normal;
	font-weight: 400;
	line-height: 140%;
}

.topbar a.topbar__phone,
.topbar .topbar__phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--white, #FFF);
	font-family: var(--ts-font);
	font-size: var(--ts-topbar-size, 13px);
	font-style: normal;
	font-weight: 600;
	line-height: 140%;
}

.topbar__phone svg {
	flex: 0 0 auto;
	color: #f6b423;
}

.topbar a.topbar__phone:hover,
.topbar a.topbar__phone:focus-visible,
.topbar .topbar__phone:hover,
.topbar .topbar__phone:focus-visible {
	color: #f6b423;
}

.site-head {
	display: contents;
}

.site-header {
	width: auto;
	max-width: none;
	margin-left: 44px;
	margin-right: 44px;
}

.topbar {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	height: var(--ts-topbar-height, 45px);
	margin-bottom: var(--ts-topbar-gap, 20px);
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 44px;
	padding-right: 44px;
}

.topbar .container,
.site-header .container {
	width: 100%;
	max-width: none;
	min-width: 0;
	margin-inline: 0;
}

.site-header .container {
	flex: 1 1 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: space-between;
	--ts-header-pad: var(--ts-header-pad-x, 18px);
	padding-top: var(--ts-header-pad-y, 8px);
	padding-bottom: var(--ts-header-pad-y, 8px);
	padding-left: var(--ts-header-pad);
	padding-right: var(--ts-header-pad);
	color: var(--ts-header-color, #fff);
	border-style: solid;
	border-width: var(--ts-header-border, 1px);
	border-color: var(--ts-header-border-color, rgba(255, 255, 255, 0.16));
	border-radius: var(--ts-header-radius, 0);
	background: var(--ts-header-bg, rgba(255, 255, 255, 0.08));
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.page-banner {
	position: relative;
	z-index: 0;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	box-sizing: border-box;
	min-height: var(--ts-page-banner-height, 460px);
	margin-top: calc(-1 * var(--ts-banner-pull));
	padding: calc(var(--ts-banner-pull) + 3.4rem) 0 4.4rem;
	background-color: var(--ts-page-banner-color, #123a86);
	background-image: var(--ts-page-banner-image, none);
	background-position: center;
	background-size: cover;
	color: #fff;
}

.page-banner__video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.page-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(5, 13, 51, 0.97) 0%, rgba(7, 20, 80, 0.86) 55%, rgba(10, 31, 107, 0.50) 100%);
}

.page-banner__inner {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-inline: 0;
	padding-left: 44px;
	padding-right: 44px;
}

.page-banner--with-figure {
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-end;
	overflow: visible;
	padding-bottom: 0;
}

.page-banner--with-figure .page-banner__inner {
	padding-bottom: 1.6rem;
}

.page-banner__figure {
	position: relative;
	z-index: 3;
	box-sizing: border-box;
	width: calc(100% - 88px);
	max-width: none;
	margin: 0 44px -4.5rem;
	overflow: hidden;
	border-radius: 18px;
	background: #071633;
	box-shadow: 0 18px 40px rgba(7, 22, 51, 0.22);
}

.page-banner__figure img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(420px, 48vw);
	object-fit: cover;
	vertical-align: middle;
}

.has-page-banner-figure .tw-article__photo,
.has-page-banner-figure .entry-media {
	display: none;
}

.has-page-banner-figure .tw-article__body,
.has-page-banner-figure .site-main > .entry,
.has-page-banner-figure #primary > .entry {
	padding-top: 5.5rem;
}

.page-banner__crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
}

.page-banner__crumb a {
	color: inherit;
	text-decoration: none;
}

.page-banner__crumb a:hover,
.page-banner__crumb a:focus-visible {
	color: #fff;
}

.page-banner__kicker {
	display: inline-flex;
	width: fit-content;
	margin: 0 0 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f6b423;
	color: #071633;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.page-banner__title {
	width: 70%;
	max-width: 70%;
	margin: 0;
	color: #fff;
	font-size: var(--ts-page-banner-title, 64px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.page-banner__tagline {
	max-width: 40em;
	margin: 14px 0 0;
	color: #f6b423;
	font-size: clamp(17px, 1.6vw, 22px);
	font-weight: 700;
	line-height: 1.35;
}

.page-banner__tagline + .page-banner__lead {
	margin-top: 10px;
}

.page-banner__lead {
	max-width: 38em;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
}

.page-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.page-banner__button {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	margin: 0;
	padding: 0 22px;
	border: 0;
	border-radius: 12px;
	background: #f6b423;
	color: #071633;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.page-banner__button:hover,
.page-banner__button:focus-visible {
	background: #ffd56a;
	color: #071633;
}

.page-banner__button--ghost {
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: transparent;
	color: #fff;
}

.page-banner__button--ghost:hover,
.page-banner__button--ghost:focus-visible {
	border-color: #fff;
	background: #fff;
	color: #071633;
}

@media (prefers-reduced-motion: reduce) {
	.page-banner__video {
		display: none;
	}
}

.page-banner__search {
	display: flex;
	gap: 8px;
	max-width: 460px;
	margin-top: 22px;
}

.page-banner__search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: 12px;
	background: #fff;
	color: #071633;
	font: inherit;
	font-size: 15px;
}

.page-banner__search button {
	flex: 0 0 auto;
	height: 48px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 12px;
	background: #f6b423;
	color: #071633;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.has-page-banner .page-hero__title,
.has-page-banner .page-hero .eyebrow,
.has-page-banner .entry-header .eyebrow,
.has-page-banner .entry-header h1,
.has-page-banner .academy-single__hero h1,
.has-page-banner .academy-kicker,
.has-page-banner .entry-media {
	display: none;
}

.has-page-banner .page-hero:not(:has(.archive-description)) {
	display: none;
}

.has-page-banner .page-hero:has(.archive-description) {
	padding-top: 1.5rem;
}


@media (max-width: 780px) {
	
	.page-banner {
		padding-bottom: 2.6rem;
	}

	.page-banner__inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	.page-banner--with-figure {
		padding-bottom: 0;
	}

	.page-banner__figure {
		width: calc(100% - 40px);
		margin: 0 20px -3rem;
		border-radius: 14px;
	}

	.page-banner__figure img {
		max-height: min(280px, 56vw);
	}

	.has-page-banner-figure .tw-article__body,
	.has-page-banner-figure .site-main > .entry,
	.has-page-banner-figure #primary > .entry {
		padding-top: 3.8rem;
	}

	.page-banner__title {
		width: 100%;
		max-width: none;
		font-size: clamp(32px, 9vw, var(--ts-page-banner-title, 64px));
	}
}

.site-header.is-scrolled {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 44px;
	padding-right: 44px;
	border-radius: var(--ts-header-radius, 0);
	border-color: transparent;
	background: var(--ts-header-bg-scroll, #061433);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	box-shadow: 0 10px 24px rgba(6, 20, 51, 0.18);
}

.admin-bar .site-header {
	top: 32px;
}

.header-static .site-header,
.header-static.admin-bar .site-header {
	position: relative;
	top: auto;
}

.site-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	min-height: 70px;
	gap: 28px;
	justify-content: stretch;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
}

.custom-logo-link {
	display: inline-flex;
}

.custom-logo,
.theme-logo {
	display: block;
	width: auto;
	height: auto;
	max-width: min(280px, 58vw);
	max-height: 64px;
}

.theme-logo-link {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.65rem;
	border-radius: 12px;
	background: #fff;
	line-height: 0;
}

.site-header .theme-logo-link {
	padding: 0;
	background: transparent;
}

.site-header .custom-logo,
.site-header .theme-logo {
	max-height: 48px;
	max-width: 210px;
	/* Transparent header over hero: white logo on glass / navy */
	filter: brightness(0) invert(1);
}

.site-title {
	margin: 0;
	font-family: var(--ts-display);
	font-size: 1.55rem;
	font-weight: 680;
	letter-spacing: -0.04em;
	line-height: 0.9;
}

.site-title a {
	text-decoration: none;
}

.site-description {
	margin: 0.15rem 0 0;
	color: var(--ts-muted);
	font-size: 0.78rem;
}

.site-header .primary-nav {
	justify-self: center;
	min-width: 0;
}

.site-header .menu {
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 22px;
}

.menu,
.footer-links,
.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.2rem 1.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu > li {
	position: relative;
}

.menu a,
.footer-links a,
.footer-menu a {
	text-decoration: none;
	font-weight: 600;
}

.menu > li > a {
	display: inline-flex;
	padding: 0.45rem 0;
}

.menu .current-menu-item > a,
.menu .current-menu-ancestor > a,
.menu .current_page_item > a {
	box-shadow: inset 0 -2px 0 var(--ts-accent);
}

.menu .sub-menu {
	display: none;
	position: absolute;
	z-index: 30;
	top: calc(100% - 0.15rem);
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 0.4rem 0;
	list-style: none;
	background: var(--ts-white);
	border: 1px solid var(--ts-line);
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(28, 20, 15, 0.08);
}

.menu li:hover > .sub-menu,
.menu li:focus-within > .sub-menu {
	display: block;
}

.menu .sub-menu a {
	display: block;
	padding: 0.45rem 0.95rem;
	font-weight: 550;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 0.55rem;
	margin-left: auto;
	padding: 0.45rem 0.7rem;
	border: 1px solid var(--ts-line);
	border-radius: 999px;
	background: var(--ts-white);
	color: var(--ts-ink);
	cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	display: block;
	width: 16px;
	height: 2px;
	background: currentColor;
	position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle__bars::before {
	top: -5px;
}

.menu-toggle__bars::after {
	top: 5px;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-left: 0;
}

.header-cta {
	margin-left: 0;
}

.hero {
	padding: 3.4rem 0 2rem;
}

.hero__grid,
.about__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 2.6rem;
	align-items: end;
}

.hero__title,
.page-hero__title {
	margin: 0;
	font-size: clamp(3.1rem, 7vw, 6rem);
	line-height: 0.9;
	letter-spacing: -0.045em;
	max-width: 10ch;
	text-wrap: balance;
}

.hero__text,
.section-head p,
.about__copy p,
.cta__panel p {
	color: var(--ts-muted);
	font-size: 1.12rem;
}

.hero__text {
	max-width: 36rem;
}

.hero__text p:last-child,
.about__copy p:last-child {
	margin-bottom: 0;
}

.entry-header {
	padding-top: 2rem;
}

.no-results .search-form {
	max-width: 520px;
	margin-top: 1rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 1.4rem;
}

.hero__stage,
.about__panel {
	position: relative;
	overflow: hidden;
	min-height: 460px;
	border-radius: 28px;
	background: var(--ts-ink);
	color: var(--ts-paper);
}

.hero__stage {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.35rem;
}

.hero__stage::after,
.about__panel::after {
	content: "";
	position: absolute;
	width: 72%;
	height: 145%;
	right: -20%;
	top: -18%;
	background: repeating-linear-gradient(
		-22deg,
		transparent 0 16px,
		var(--ts-accent) 16px 30px,
		transparent 30px 48px
	);
	transform: rotate(8deg);
}

.hero__stage-top,
.hero__stage-word,
.hero__stage-list,
.about__panel span {
	position: relative;
	z-index: 1;
}

.hero__stage-top {
	display: flex;
	justify-content: space-between;
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero__stage-word,
.about__panel span {
	margin: 0;
	font-family: var(--ts-display);
	font-size: clamp(4.4rem, 8vw, 7.4rem);
	line-height: 0.8;
	letter-spacing: -0.05em;
}

.hero__stage-list {
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero__stage--photo {
	padding: 0;
}

.hero__stage--photo::after,
.about__panel--photo::after {
	display: none;
}

.hero__photo,
.about__photo {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 460px;
	object-fit: cover;
}

.stripe-rule {
	height: 14px;
	background: repeating-linear-gradient(
		90deg,
		var(--ts-ink) 0 26px,
		var(--ts-accent) 26px 40px,
		var(--ts-ink) 40px 68px,
		transparent 68px 82px
	);
}

.features,
.about,
.journal,
.home-editor {
	padding: 4rem 0 1rem;
}

.section-head {
	max-width: 40rem;
	margin-bottom: 1.5rem;
}

.section-head h2,
.about h2,
.cta h2,
.contact h2,
.comments-title {
	margin: 0 0 0.7rem;
	font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.feature-grid,
.post-grid,
.contact__list,
.footer-grid {
	display: grid;
	gap: 1rem;
}

.feature-grid {
	grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.post-card,
.widget,
.contact__list li,
.comment-form input,
.comment-form textarea,
.search-field {
	background: var(--ts-white);
	border: 1px solid var(--ts-line);
}

.feature-card {
	min-height: 230px;
	padding: 1.15rem 1.15rem 1.3rem;
	border-radius: 18px;
}

.feature-card__index {
	margin: 0 0 1.6rem;
	color: color-mix(in srgb, var(--ts-accent) 70%, var(--ts-ink));
	font-family: var(--ts-display);
	font-size: 1.8rem;
}

.feature-card h3,
.post-card__title,
.widget-title {
	margin: 0 0 0.45rem;
	font-size: 1.45rem;
}

.feature-card p,
.post-card__excerpt,
.widget,
.entry-meta,
.archive-description {
	color: var(--ts-muted);
}

.feature-card p,
.post-card__excerpt p {
	margin: 0;
}

.about__grid {
	align-items: center;
}

.about__panel {
	display: flex;
	align-items: flex-end;
	padding: 1.4rem;
}

.about__copy p:last-child {
	margin-bottom: 0;
}

.post-grid {
	grid-template-columns: repeat(3, 1fr);
}

.post-list {
	display: grid;
	gap: 1rem;
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 18px;
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--ts-paper-2);
}

.post-card__media img,
.post-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__placeholder {
	background: repeating-linear-gradient(
		-18deg,
		var(--ts-ink) 0 12px,
		var(--ts-accent) 12px 20px,
		var(--ts-paper-2) 20px 34px
	);
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1rem 1.05rem 1.15rem;
}

.post-card__meta,
.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.8rem;
	margin: 0;
	font-size: 0.86rem;
}

.post-card__meta a,
.entry-meta a,
.entry-footer a,
.text-link {
	font-weight: 700;
	text-decoration: none;
}

.post-card__title a {
	text-decoration: none;
}

.text-link {
	margin-top: auto;
}

.post-card__badge {
	display: inline-flex;
	width: fit-content;
	padding: 0.1rem 0.5rem;
	border-radius: 999px;
	background: var(--ts-accent);
	color: var(--ts-ink);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.section-link {
	margin: 1.25rem 0 0;
}

.cta {
	padding: 1.5rem 0 1rem;
}

.cta__panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 2rem;
	border-radius: 28px;
	background: var(--ts-ink);
	color: var(--ts-paper);
}

.cta__panel h2,
.cta__panel p {
	color: var(--ts-paper);
}

.cta__panel p {
	margin-bottom: 0;
	max-width: 38rem;
	color: color-mix(in srgb, var(--ts-paper) 78%, transparent);
}

.contact {
	padding: 2.5rem 0 4rem;
}

.contact__list {
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact__list li {
	padding: 1rem 1.05rem;
	border-radius: 16px;
}

.contact__list span {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.contact__list a {
	text-decoration: none;
	font-weight: 650;
}

.page-hero {
	padding: 3rem 0 0.5rem;
}

.page-hero__title {
	max-width: 14ch;
}

.archive-description {
	max-width: 40rem;
	margin-top: 1rem;
}

.archive-description > :last-child {
	margin-bottom: 0;
}

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 2rem;
	padding: 2rem 0 4.5rem;
}

.site-main--elementor {
	padding: 0;
	max-width: none;
}

.site-main--elementor > .elementor {
	width: 100%;
}

.home .elementor-8 > .e-flexbox-base {
	box-sizing: border-box;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: max(1.25rem, calc((100% - var(--ts-width)) / 2));
	padding-right: max(1.25rem, calc((100% - var(--ts-width)) / 2));
}

.home .elementor-8 > .e-flexbox-base > .e-flexbox-base {
	box-sizing: border-box;
	align-self: stretch;
	width: 100%;
	max-width: none;
	padding: 0;
}

.home .elementor-8 .elementor-widget-shortcode,
.home .elementor-8 .elementor-shortcode,
.home .elementor-8 .tw-courses,
.home .elementor-8 .tw-faqs,
.home .elementor-8 .tw-stories {
	width: 100%;
	max-width: 100%;
}

.entry-wrap {
	width: min(760px, calc(100% - 2.5rem));
	margin: 0 auto;
	padding: 2rem 0 4.5rem;
}

.entry-media img {
	display: block;
	width: 100%;
	margin: 1rem 0 1.25rem;
	border-radius: 18px;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content a {
	color: color-mix(in srgb, var(--ts-accent) 62%, var(--ts-ink));
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.6rem 0 0.6rem;
	line-height: 1.15;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.2rem;
}

.entry-content blockquote {
	margin: 1.5rem 0;
	padding-left: 1.1rem;
	border-left: 4px solid var(--ts-accent);
	font-family: var(--ts-display);
	font-size: 1.5rem;
	line-height: 1.3;
}

.entry-content pre {
	overflow: auto;
	padding: 1rem;
	border-radius: 14px;
	background: var(--ts-ink);
	color: var(--ts-paper);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 0.55rem 0.4rem;
	border-bottom: 1px solid var(--ts-line);
	text-align: left;
}

.alignleft {
	float: left;
	margin: 0.25rem 1.25rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.25rem 0 1rem 1.25rem;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.entry-content::after {
	content: "";
	display: block;
	clear: both;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 0.65rem;
}

.gallery-item img,
.wp-caption img {
	border-radius: 12px;
}

.entry-footer {
	margin-top: 1.4rem;
	color: var(--ts-muted);
}

.page-links {
	margin-top: 1rem;
	font-weight: 700;
}

.post-navigation .nav-links,
.comment-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem;
	margin-top: 1.6rem;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.95rem 1rem;
	border: 1px solid var(--ts-line);
	border-radius: 16px;
	background: var(--ts-white);
	text-decoration: none;
}

.nav-label {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nav-next a {
	align-items: flex-end;
	text-align: right;
}

.comments-area {
	margin-top: 2.4rem;
}

.comment-list,
.children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.children {
	margin-left: 1.4rem;
}

.comment-body {
	padding: 1rem 0;
	border-top: 1px solid var(--ts-line);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-field,
.post-password-form input[type="password"] {
	width: 100%;
	padding: 0.75rem 0.85rem;
	border-radius: 12px;
	color: var(--ts-ink);
}

.comment-form textarea {
	min-height: 140px;
}

.comment-form p {
	margin-bottom: 0.8rem;
}

.search-form {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.search-form label {
	flex: 1;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 1.4rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	height: 2.4rem;
	padding: 0 0.7rem;
	border: 1px solid var(--ts-line);
	border-radius: 999px;
	background: var(--ts-white);
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--ts-ink);
	border-color: var(--ts-ink);
	color: var(--ts-paper);
}

.widget {
	margin: 0 0 1rem;
	padding: 1rem;
	border-radius: 16px;
}

.widget ul {
	margin: 0;
	padding-left: 1.1rem;
}

.widget select,
.widget input[type="search"],
.widget input[type="text"] {
	width: 100%;
	max-width: 100%;
}

.widget_calendar table {
	width: 100%;
}

.error-404 {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: min(68vh, 680px);
	padding: 4.5rem 0 5rem;
	background:
		linear-gradient(90deg, rgba(5, 13, 51, 0.97) 0%, rgba(7, 20, 80, 0.92) 55%, rgba(10, 31, 107, 0.88) 100%),
		radial-gradient(900px 420px at 85% 15%, rgba(246, 180, 35, 0.16), transparent 58%),
		#071633;
	color: #fff;
}

.error-404__glow {
	position: absolute;
	inset: auto -10% -35% auto;
	z-index: 0;
	width: min(58vw, 560px);
	height: min(58vw, 560px);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(246, 180, 35, 0.22) 0%, transparent 68%);
	pointer-events: none;
	animation: tw-404-glow 7s ease-in-out infinite alternate;
}

.error-404__inner {
	position: relative;
	z-index: 1;
	width: 60%;
	max-width: 60%;
	margin-left: 0;
	margin-right: auto;
}

.error-404__code {
	margin: 0 0 0.35rem;
	color: #f6b423;
	font-family: var(--ts-display);
	font-size: clamp(5rem, 14vw, 8.5rem);
	font-weight: 700;
	line-height: 0.85;
	letter-spacing: -0.06em;
	animation: tw-404-rise 0.7s ease both;
}

.error-404__eyebrow {
	display: inline-flex;
	align-items: center;
	margin: 0 0 1rem;
	padding: 7px 14px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	background: rgba(5, 13, 51, 0.35);
	color: rgba(255, 255, 255, 0.92);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
	animation: tw-404-rise 0.7s ease 0.08s both;
}

.error-404__title {
	margin: 0 0 0.85rem;
	color: #fff;
	font-size: clamp(2rem, 4.2vw, 3.25rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.03em;
	animation: tw-404-rise 0.7s ease 0.14s both;
}

.error-404__text {
	margin: 0 0 1.6rem;
	max-width: 38rem;
	color: rgba(255, 255, 255, 0.86);
	font-size: 1.05rem;
	font-weight: 500;
	line-height: 1.55;
	animation: tw-404-rise 0.7s ease 0.2s both;
}

.error-404__search {
	max-width: 34rem;
	margin: 0 0 1.35rem;
	animation: tw-404-rise 0.7s ease 0.26s both;
}

.error-404__search .search-form {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 56px;
	margin: 0;
	padding: 6px 6px 6px 16px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 14px;
	background: rgba(5, 13, 51, 0.42);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.error-404__search .search-form label {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}

.error-404__search .search-form input[type="search"] {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.error-404__search .search-form input[type="search"]::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

.error-404__search .search-form input[type="search"]::-webkit-search-decoration,
.error-404__search .search-form input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.error-404__search .search-form input[type="submit"],
.error-404__search .search-form button {
	flex: 0 0 auto;
	height: 44px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: #f6b423;
	color: #071633;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.error-404__search .search-form input[type="submit"]:hover,
.error-404__search .search-form input[type="submit"]:focus-visible,
.error-404__search .search-form button:hover,
.error-404__search .search-form button:focus-visible {
	background: #ffd56a;
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	animation: tw-404-rise 0.7s ease 0.32s both;
}

.error-404__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 12px;
	background: #f6b423;
	color: #071633;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.error-404__btn:hover,
.error-404__btn:focus-visible {
	background: #ffd56a;
	color: #071633;
}

.error-404__btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.55);
	background: transparent;
	color: #fff;
}

.error-404__btn--ghost:hover,
.error-404__btn--ghost:focus-visible {
	border-color: #fff;
	background: #fff;
	color: #071633;
}

@keyframes tw-404-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes tw-404-glow {
	from {
		transform: translate3d(0, 0, 0) scale(1);
		opacity: 0.75;
	}
	to {
		transform: translate3d(-4%, -6%, 0) scale(1.08);
		opacity: 1;
	}
}

@media (max-width: 900px) {
	.error-404__inner {
		width: 100%;
		max-width: none;
	}
}

@media (max-width: 780px) {
	.error-404 {
		min-height: auto;
		padding: 3.2rem 0 3.5rem;
	}

	.error-404__search .search-form {
		flex-wrap: wrap;
		padding: 12px;
	}

	.error-404__search .search-form input[type="submit"],
	.error-404__search .search-form button {
		width: 100%;
	}

	.error-404__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.error-404__btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.error-404__glow,
	.error-404__code,
	.error-404__eyebrow,
	.error-404__title,
	.error-404__text,
	.error-404__search,
	.error-404__actions {
		animation: none;
	}
}

.site-footer {
	--footer-navy: #050a24;
	--footer-gold: #ffb800;
	padding: 3.6rem 0 1.5rem;
	background:
		radial-gradient(ellipse 72% 55% at 50% -20%, rgba(46, 78, 150, 0.32), transparent 58%),
		var(--footer-navy);
	color: #fff;
}

.site-footer a {
	color: inherit;
}

/* Kill default white “card” widget chrome inside the footer. */
.site-footer .widget,
.site-footer .widget_block,
.site-footer .wp-block-group,
.site-footer .wp-block-navigation {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
	color: inherit;
}

.site-footer .widget-title,
.site-footer .wp-block-heading,
.site-footer h2,
.site-footer h3 {
	margin: 0 0 1rem;
	color: var(--footer-gold);
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.3;
}

.footer-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 2.75rem;
}

.footer-card {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 84px;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(8px);
}

.footer-card__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--footer-gold);
	color: #071633;
}

.footer-card__label,
.footer-card__value {
	margin: 0;
}

.footer-card__label {
	color: rgba(255, 255, 255, 0.58);
	font-size: 13px;
	font-weight: 500;
}

.footer-card__value {
	display: block;
	margin-top: 3px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.footer-card__value:hover,
.footer-card__value:focus-visible {
	color: var(--footer-gold);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem 2.8rem;
	align-items: start;
}

.footer-brand .theme-logo-link,
.footer-brand .custom-logo-link {
	display: inline-flex;
	margin: 0 0 1.1rem;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.footer-brand .theme-logo,
.footer-brand .custom-logo {
	display: block;
	max-height: 56px;
	max-width: 210px;
	width: auto;
	height: auto;
	filter: brightness(0) invert(1);
}

.footer-brand__name,
.footer-title {
	margin: 0 0 0.9rem;
	color: var(--footer-gold);
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.footer-brand p,
.footer-col p,
.footer-contact p,
.site-footer .widget p,
.site-footer .textwidget p {
	margin: 0 0 0.55rem;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.95rem;
	line-height: 1.6;
}

.footer-links,
.footer-menu,
.site-footer .widget ul,
.site-footer .menu,
.site-footer .wp-block-navigation__container,
.site-footer .wp-block-page-list {
	display: grid !important;
	gap: 12px;
	margin: 0;
	padding: 0 !important;
	list-style: none;
	flex-direction: column;
}

.footer-links a,
.footer-menu a,
.site-footer .widget a,
.site-footer .menu a,
.site-footer .wp-block-navigation-item__content {
	color: rgba(255, 255, 255, 0.92) !important;
	text-decoration: none;
	font-size: 0.95rem;
	line-height: 1.4;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}

.footer-links a:hover,
.footer-menu a:hover,
.site-footer .widget a:hover,
.site-footer .menu a:hover,
.footer-links a:focus-visible,
.footer-menu a:focus-visible,
.site-footer .widget a:focus-visible,
.site-footer .menu a:focus-visible {
	color: var(--footer-gold) !important;
}

.site-footer .current-menu-item > a,
.site-footer .current_page_item > a {
	color: #fff !important;
	box-shadow: none;
	border-bottom: 0 !important;
}

.social-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.social-pills a {
	padding: 0.18rem 0.65rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
	background: transparent;
}

.social-pills--icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border-radius: 999px;
	letter-spacing: 0;
	text-transform: none;
	background: rgba(255, 255, 255, 0.04);
}

.social-pills--icons a:hover,
.social-pills--icons a:focus-visible {
	border-color: var(--footer-gold);
	color: var(--footer-gold);
	background: rgba(255, 184, 0, 0.08);
}

.footer-brand .social-pills,
.footer-brand .footer-social {
	margin-top: 1.25rem;
}

.footer-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 1.4rem;
}

.footer-badges__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 8px 14px;
	border-radius: 5px;
	background: #fff;
	line-height: 0;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.footer-badges__img,
.footer-badges__item img {
	display: block;
	max-height: 28px;
	width: auto;
	height: auto;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 2.6rem;
	padding-top: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.58);
}

.footer-copy {
	margin: 0;
	text-align: left;
	color: rgba(255, 255, 255, 0.72);
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 18px;
}

.footer-legal a {
	color: rgba(255, 255, 255, 0.58);
	text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
	color: #fff;
}

.footer-top {
	position: fixed;
	right: 18px;
	bottom: 50px;
	z-index: 70;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #f6b423;
	color: #071633;
	box-shadow: 0 10px 24px rgba(7, 22, 51, 0.28);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.footer-top.is-on {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

.footer-top:hover,
.footer-top:focus-visible {
	background: #ffc44d;
}

.footer-social .social-pills a:hover {
	border-color: var(--ts-accent);
	color: var(--ts-accent);
}

@media (max-width: 980px) {
	.admin-bar .site-header {
		top: 46px;
	}

	.footer-cards,
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.feature-grid,
	.contact__list {
		grid-template-columns: 1fr 1fr;
	}

	.post-grid {
		grid-template-columns: 1fr 1fr;
	}

	.layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1200px) {
	.menu-toggle {
		display: inline-flex;
		flex: 0 0 auto;
		margin-left: 0;
	}

	.site-header__inner {
		display: flex;
		justify-content: flex-start;
		gap: 12px;
		min-height: 60px;
	}

	.site-branding {
		flex: 1 1 auto;
		min-width: 0;
	}

	.site-header .custom-logo,
	.site-header .theme-logo {
		max-width: min(168px, 100%);
	}

	.header-tools {
		flex: 0 0 auto;
		margin-left: auto;
		gap: 12px;
	}

	.site-header .primary-nav {
		display: none;
		position: absolute;
		z-index: 50;
		top: calc(100% + 8px);
		left: 0;
		right: 0;
		justify-self: stretch;
		width: 100%;
		padding: 0.35rem 0.4rem 0.6rem;
		border-radius: 14px;
		background: #061433;
		border-bottom: 0;
	}

	.site-header .primary-nav.is-open {
		display: block;
	}

	.site-header .menu,
	.site-header .menu .sub-menu,
	.site-header .menu li:hover > .sub-menu,
	.site-header .menu li:focus-within > .sub-menu {
		display: grid;
		position: static;
		min-width: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		gap: 0;
	}

	.site-header .menu .sub-menu {
		margin: 0 0 0.2rem 0.8rem;
	}

	.site-header .menu > li > a,
	.site-header .menu .sub-menu a {
		min-height: 44px;
		align-items: center;
		color: #fff;
	}
}

@media (max-width: 780px) {
	.site-header {
		--ts-header-pad: var(--ts-header-pad-x, 18px);
		margin-left: 20px;
		margin-right: 20px;
	}
	.site-header__inner {
		gap: 8px;
		min-height: 52px;
	}

	.header-tools {
		gap: 8px;
	}

	.site-header .header-cta {
		display: none;
	}

	.menu-toggle {
		margin-left: auto;
	}

	.header-tools {
		margin-left: 0;
	}

	.site-header .custom-logo,
	.site-header .theme-logo {
		max-height: 42px;
		max-width: min(160px, 52vw);
	}

	.topbar__inner {
		display: flex;
		min-height: 0;
		gap: 10px;
	}

	.topbar__message {
		display: none;
	}

	.hero__grid,
	.about__grid,
	.feature-grid,
	.post-grid,
	.contact__list,
	.footer-cards,
	.footer-grid,
	.post-navigation .nav-links,
	.cta__panel {
		grid-template-columns: 1fr;
		display: grid;
	}

	.cta__panel {
		align-items: start;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-legal {
		justify-content: flex-start;
	}

	.hero {
		padding-top: 2rem;
	}

	.hero__stage,
	.about__panel,
	.hero__photo,
	.about__photo {
		min-height: 320px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.button:hover {
		transform: none;
	}
}

.site-header .menu > li > a,
.site-header .menu-toggle {
	padding: 0;
	color: var(--ts-header-color, #fff);
	font-family: var(--ts-font);
	font-size: var(--ts-header-size, 15px);
	font-style: normal;
	font-weight: 600;
	line-height: 120%;
	white-space: nowrap;
}

.site-header .menu > li > a:hover,
.site-header .menu > li > a:focus-visible,
.site-header .menu .current-menu-item > a,
.site-header .menu .current-menu-ancestor > a,
.site-header .menu .current_page_item > a {
	color: #f6b423;
	box-shadow: none;
}

@media (min-width: 1201px) {
	.site-header .menu > .menu-item-has-children > a {
		display: inline-flex;
		align-items: center;
		gap: 7px;
	}

	.site-header .menu > .menu-item-has-children > a::after {
		content: "";
		display: block;
		width: 7px;
		height: 7px;
		flex: 0 0 auto;
		margin-top: -2px;
		border-right: 1.8px solid currentColor;
		border-bottom: 1.8px solid currentColor;
		transform: rotate(45deg);
		transition: transform 0.18s ease;
	}

	.site-header .menu > .menu-item-has-children:hover > a::after,
	.site-header .menu > .menu-item-has-children:focus-within > a::after,
	.site-header .menu > .menu-item-has-children.is-sub-open > a::after {
		transform: translateY(2px) rotate(225deg);
	}

	/* Keep hover while moving from the link into the dropdown. */
	.site-header .menu > .menu-item-has-children::before {
		content: "";
		position: absolute;
		z-index: 29;
		left: -28px;
		right: -28px;
		top: 100%;
		height: 22px;
	}

	.site-header .menu > .menu-item-has-children > .sub-menu {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 0;
		row-gap: 2px;
		top: calc(100% + 14px);
		left: 50%;
		width: min(620px, calc(100vw - 48px));
		min-width: 0;
		padding: 16px 12px 12px;
		border: 1px solid rgba(7, 22, 51, 0.1);
		border-radius: 14px;
		background: #fff;
		box-shadow:
			0 12px 28px rgba(7, 22, 51, 0.12),
			0 2px 6px rgba(7, 22, 51, 0.04);
		transform: translateX(-50%);
	}

	/* Open only via JS (.is-sub-open) so a course click does not leave the panel stuck open. */
	.site-header .menu > .menu-item-has-children:hover > .sub-menu,
	.site-header .menu > .menu-item-has-children:focus-within > .sub-menu {
		display: none;
	}

	.site-header .menu > .menu-item-has-children.is-sub-open > .sub-menu {
		display: grid;
		animation: tw-submenu-in 0.18s ease;
	}

	.site-header .menu > .menu-item-has-children > .sub-menu::before {
		content: "";
		position: absolute;
		top: 0;
		left: 12px;
		right: 12px;
		height: 2px;
		border-radius: 0 0 2px 2px;
		background: linear-gradient(90deg, #f6b423, rgba(246, 180, 35, 0.2));
	}

	.site-header .menu > .menu-item-has-children > .sub-menu::after {
		content: "";
		position: absolute;
		top: -6px;
		left: 50%;
		width: 12px;
		height: 12px;
		margin-left: -6px;
		background: #fff;
		border-left: 1px solid rgba(7, 22, 51, 0.1);
		border-top: 1px solid rgba(7, 22, 51, 0.1);
		transform: rotate(45deg);
	}

	.site-header .menu .sub-menu > li {
		margin: 0;
		min-width: 0;
	}

	.site-header .menu .sub-menu > li:nth-child(odd) > a {
		margin-right: 6px;
	}

	.site-header .menu .sub-menu > li:nth-child(even) > a {
		margin-left: 6px;
		padding-left: 18px;
		box-shadow: inset 1px 0 0 #e8eef6;
	}

	.site-header .menu .sub-menu a {
		position: relative;
		display: flex;
		align-items: center;
		min-height: 46px;
		padding: 11px 30px 11px 14px;
		border-radius: 8px;
		background: transparent;
		color: #14233f;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.3;
		letter-spacing: -0.01em;
		white-space: normal;
		transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	}

	.site-header .menu .sub-menu a::before {
		content: none;
	}

	.site-header .menu .sub-menu a::after {
		content: "";
		position: absolute;
		top: 50%;
		right: 12px;
		width: 6px;
		height: 6px;
		border-right: 1.6px solid #f6b423;
		border-bottom: 1.6px solid #f6b423;
		opacity: 0;
		transform: translate(-4px, -50%) rotate(-45deg);
		transition: opacity 0.15s ease, transform 0.15s ease;
	}

	.site-header .menu .sub-menu a:hover,
	.site-header .menu .sub-menu a:focus-visible {
		background: #f4f7fc;
		color: #071633;
		box-shadow: inset 3px 0 0 #f6b423;
	}

	.site-header .menu .sub-menu > li:nth-child(even) > a:hover,
	.site-header .menu .sub-menu > li:nth-child(even) > a:focus-visible {
		box-shadow: inset 1px 0 0 #e8eef6, inset 3px 0 0 #f6b423;
	}

	.site-header .menu .sub-menu a:hover::after,
	.site-header .menu .sub-menu a:focus-visible::after {
		opacity: 1;
		transform: translate(0, -50%) rotate(-45deg);
	}

	.site-header .menu .sub-menu .current-menu-item > a,
	.site-header .menu .sub-menu .current_page_item > a {
		background: #071633;
		color: #fff;
		box-shadow: inset 3px 0 0 #f6b423;
	}

	.site-header .menu .sub-menu .current-menu-item > a::after,
	.site-header .menu .sub-menu .current_page_item > a::after {
		opacity: 1;
		border-color: #f6b423;
		transform: translate(0, -50%) rotate(-45deg);
	}

	.site-header .menu .sub-menu .menu-item-has-children > a::after {
		opacity: 0.55;
		transform: translate(0, -50%) rotate(-45deg);
	}

	.site-header .menu .sub-menu .sub-menu {
		top: -8px;
		left: calc(100% + 10px);
		width: auto;
		min-width: 260px;
		grid-template-columns: none;
		transform: none;
	}

	.site-header .menu .sub-menu .menu-item-has-children:hover > .sub-menu,
	.site-header .menu .sub-menu .menu-item-has-children:focus-within > .sub-menu {
		display: block;
	}
}

@keyframes tw-submenu-in {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

.site-header .header-cta {
	min-height: 38px;
	padding: 0 18px;
	background: #f6b423;
	border-color: #f6b423;
	color: #071633;
	font-family: var(--ts-font);
	font-size: 14px;
	font-weight: 700;
	line-height: 140%;
}

.site-header .header-cta:hover,
.site-header .header-cta:focus-visible {
	background: #ffd56a;
	border-color: #ffd56a;
	color: #071633;
}

.site-header .menu-toggle {
	border-color: rgba(255, 255, 255, 0.28);
	background: transparent;
	color: #fff;
}

.site-footer {
	background: #071633;
	color: #d5e3fb;
	padding-left: 44px;
	padding-right: 44px;
}

.site-footer .widget,
.site-footer .widget a,
.footer-menu a,
.footer-links a {
	color: #fff;
	font-family: var(--ts-font);
	font-size: 15px;
	font-style: normal;
	font-weight: 600;
	line-height: 120%;
}

.site-footer .widget a:hover,
.footer-menu a:hover,
.footer-links a:hover {
	color: #f6b423;
}

@media (max-width: 560px) {
	.topbar__place {
		display: none;
	}

	.countdown--topbar {
		gap: 5px;
		padding: 3px 8px;
		font-size: 11px;
	}

	.topbar__meta {
		gap: 8px;
	}
}

@media (max-width: 420px) {
	.menu-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.topbar a.topbar__phone,
	.topbar .topbar__phone {
		font-size: 12px;
	}
}

@media (max-width: 1200px) {
	.site-header .menu-toggle {
		position: relative;
		width: 44px;
		height: 44px;
		padding: 0;
		justify-content: center;
		border: 1px solid rgba(255, 255, 255, 0.22);
		border-radius: 12px;
		background: rgba(255, 255, 255, 0.1);
		color: #fff;
	}

	.site-header .menu-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.site-header .menu-toggle__bars,
	.site-header .menu-toggle__bars::before,
	.site-header .menu-toggle__bars::after {
		width: 18px;
		height: 2px;
		border-radius: 2px;
		background: #fff;
		transition: transform 0.2s ease, top 0.2s ease, background 0.2s ease;
	}

	.site-header .menu-toggle__bars::before {
		top: -6px;
	}

	.site-header .menu-toggle__bars::after {
		top: 6px;
	}

	.site-header .menu-toggle[aria-expanded="true"] {
		background: var(--ts-accent);
		border-color: var(--ts-accent);
	}

	.site-header .menu-toggle[aria-expanded="true"] .menu-toggle__bars {
		background: transparent;
	}

	.site-header .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before,
	.site-header .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
		top: 0;
		background: color-mix(in srgb, var(--ts-ink) 45%, #04101f);
	}

	.site-header .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
		transform: rotate(45deg);
	}

	.site-header .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
		transform: rotate(-45deg);
	}

	.site-header .menu > li > a,
	.site-header .menu .sub-menu a {
		display: flex;
		width: 100%;
		padding: 0 0.85rem;
	}
}

.menu-ico {
	display: none;
}

body.nav-open {
	overflow: hidden;
}

/* backdrop-filter creates a containing block for the fixed mobile menu, trapping it inside the header. */
body.nav-open .site-header {
	z-index: 80;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

.mobile-menu__bar,
.mobile-menu__foot,
.submenu-toggle {
	display: none;
}

@media (max-width: 1200px) {
	.site-header .primary-nav.is-open {
		position: fixed;
		z-index: 80;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		width: 100%;
		margin: 0;
		padding: 18px 16px 28px;
		overflow: auto;
		border: 0;
		border-radius: 0;
		background: #061433;
	}

	.admin-bar .site-header .primary-nav.is-open {
		top: 32px;
	}

	.site-header .primary-nav.is-open .mobile-menu__bar {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 12px;
		margin: 0 0 18px;
	}

	.mobile-menu__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		border: 0;
		background: transparent;
		color: #fff;
		cursor: pointer;
	}

	.mobile-menu__close {
		flex: 0 0 auto;
		width: 40px;
		height: 40px;
	}

	.site-header .primary-nav.is-open .menu {
		justify-content: stretch;
		justify-items: stretch;
		width: 100%;
		gap: 4px;
	}

	.site-header .primary-nav.is-open .menu > li > a {
		justify-content: flex-start;
		gap: 14px;
		min-height: 48px;
		padding: 0 12px;
		border-radius: 10px;
		color: #fff;
		font-size: 15px;
		font-weight: 600;
		line-height: 120%;
		letter-spacing: 0.04em;
		text-align: left;
		text-transform: uppercase;
	}

	.site-header .primary-nav.is-open .menu > li {
		position: relative;
	}

	.site-header .primary-nav.is-open .menu > li.menu-item-has-children > a {
		padding-right: 56px;
	}

	.site-header .primary-nav.is-open .submenu-toggle {
		position: absolute;
		top: 4px;
		right: 6px;
		z-index: 2;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 10px;
		background: rgba(255, 255, 255, 0.06);
		color: #f6b423;
		cursor: pointer;
	}

	.site-header .primary-nav.is-open .submenu-toggle svg {
		transition: transform 0.25s ease;
	}

	.site-header .primary-nav.is-open .menu > li.is-sub-open > .submenu-toggle {
		background: #f6b423;
		border-color: #f6b423;
		color: #071633;
	}

	.site-header .primary-nav.is-open .menu > li.is-sub-open > .submenu-toggle svg {
		transform: rotate(180deg);
	}

	.site-header .primary-nav.is-open .menu > li > .sub-menu {
		display: grid;
		max-height: 0;
		margin: 0;
		padding: 0;
		overflow: hidden;
		opacity: 0;
		min-width: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		pointer-events: none;
		transition: max-height 0.28s ease, opacity 0.2s ease, margin 0.28s ease;
	}

	.site-header .primary-nav.is-open .menu > li.is-sub-open > .sub-menu {
		max-height: 720px;
		margin: 2px 4px 12px 18px;
		padding: 8px 8px 8px 14px;
		overflow: auto;
		opacity: 1;
		pointer-events: auto;
		border-left: 2px solid #f6b423;
		border-radius: 0 14px 14px 0;
		background: rgba(255, 255, 255, 0.05);
	}

	.site-header .primary-nav.is-open .menu .sub-menu a {
		min-height: 42px;
		padding: 8px 12px;
		border-radius: 8px;
		color: #fff;
		font-size: 15px;
		font-weight: 600;
		letter-spacing: 0;
		line-height: 1.35;
		text-transform: none;
		white-space: normal;
	}

	.site-header .primary-nav.is-open .menu .sub-menu a:hover,
	.site-header .primary-nav.is-open .menu .sub-menu a:focus-visible,
	.site-header .primary-nav.is-open .menu .sub-menu .current-menu-item > a {
		background: rgba(246, 180, 35, 0.16);
		color: #fff;
	}

	.site-header .primary-nav.is-open .mobile-menu__foot {
		display: block;
		margin-top: auto;
		padding-top: 18px;
	}

	.site-header .primary-nav.is-open .mobile-menu__cta {
		display: flex;
		width: 100%;
		min-height: 48px;
		justify-content: center;
	}

	.site-header .primary-nav.is-open .menu > .current-menu-item > a,
	.site-header .primary-nav.is-open .menu > .current-menu-ancestor > a,
	.site-header .primary-nav.is-open .menu > .current_page_item > a {
		background: color-mix(in srgb, var(--ts-accent) 34%, transparent);
		color: #fff;
	}

	.site-header .primary-nav.is-open .menu-ico {
		display: inline-flex;
		flex: 0 0 auto;
		width: 20px;
		height: 20px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header .primary-nav.is-open {
		top: 46px;
	}
}
