/* YallaTec site styles. Colors and fonts come from theme.json presets. */

:root {
	--yt-navy: var(--wp--preset--color--navy, #06335a);
	--yt-blue: var(--wp--preset--color--blue, #085490);
	--yt-orange: var(--wp--preset--color--orange, #ef9308);
	--yt-navy-mid: var(--wp--preset--color--navy-mid, #0a4373);
	--yt-sky: var(--wp--preset--color--sky, #e7f0f9);
	--yt-mist: var(--wp--preset--color--mist, #f3f6fa);
	--yt-line: var(--wp--preset--color--line, #dde5ee);
	--yt-ink: var(--wp--preset--color--ink, #10243a);
	--yt-slate: var(--wp--preset--color--slate, #3d5368);
	--yt-pale: var(--wp--preset--color--pale, #d6e4f2);
	--yt-muted: var(--wp--preset--color--muted, #b9cde2);
	--yt-radius: 14px;
	--yt-shadow: 0 10px 28px rgba(6, 51, 90, 0.09);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 110px; }
body { -webkit-font-smoothing: antialiased; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
:where(.yt-main) > * { margin-block-start: 0; }
.yt-main .wp-block-post-content > * { margin-block-start: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 2px solid var(--yt-orange);
	outline-offset: 3px;
}

/* ------------------------------------------------------------ Sections */
.yt-section { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); position: relative; }
.yt-section > * + * { margin-block-start: 40px; }
.yt-head > * { margin: 0; }
.yt-head > * + * { margin-top: 16px; }
.yt-head.is-centered { text-align: center; }
.yt-head.is-centered .yt-lead { margin-inline: auto; }
.yt-lead { font-size: var(--wp--preset--font-size--medium); line-height: 1.65; color: var(--yt-slate); max-width: 720px; }
.has-white-color .yt-lead, .yt-lead.has-pale-color { color: var(--yt-pale); }
.yt-note { font-size: var(--wp--preset--font-size--small); color: var(--yt-slate); }

.is-style-yt-eyebrow {
	margin: 0;
	font-size: 14px !important;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--yt-blue);
}
.is-style-yt-eyebrow.is-light, .has-white-color .is-style-yt-eyebrow { color: var(--yt-orange); }

.is-style-yt-arrow-link { margin-top: auto !important; font-weight: 600; }
.is-style-yt-arrow-link a { text-decoration: none; color: var(--yt-blue); }
.is-style-yt-arrow-link a:hover { text-decoration: underline; text-underline-offset: 3px; }

.yt-crumb { font-size: 14px; color: var(--yt-muted); margin: 0 0 8px !important; }
.yt-crumb a { color: var(--yt-pale); text-decoration: none; }
.yt-crumb a:hover { text-decoration: underline; }
.yt-crumb span { margin: 0 8px; }

/* Buttons on dark backgrounds */
.has-navy-background-color .wp-block-button.is-style-outline .wp-block-button__link,
.has-navy-deep-background-color .wp-block-button.is-style-outline .wp-block-button__link {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}
.has-navy-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.08); }
.wp-block-button.is-style-outline .wp-block-button__link { color: var(--yt-navy); border-color: var(--yt-muted); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--yt-navy); }
.wp-block-buttons { gap: 14px; }
.wp-block-button__link { min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; transition: background-color .15s, border-color .15s; }

/* ------------------------------------------------------------ Cards */
.is-style-yt-card {
	background: #fff;
	border: 1px solid var(--yt-line);
	border-radius: var(--yt-radius);
	padding: 30px;
	gap: 14px !important;
	transition: box-shadow .2s, border-color .2s, transform .2s;
	height: 100%;
	box-sizing: border-box;
}
.is-style-yt-card > * { margin: 0 !important; }
.is-style-yt-card:hover { border-color: var(--yt-muted); box-shadow: var(--yt-shadow); }
.is-style-yt-card.is-compact { padding: 24px 26px; height: auto; }
.is-style-yt-card h3 { margin: 0; }
.is-style-yt-card p { color: var(--yt-slate); font-size: 15.5px; line-height: 1.6; }
.yt-card__media { margin: -30px -30px 4px !important; width: calc(100% + 60px); max-width: none !important; border-radius: var(--yt-radius) var(--yt-radius) 0 0; overflow: hidden; background: var(--yt-sky); }
.yt-card__media img { display: block; width: 100%; height: 180px; object-fit: cover; }
.yt-card__head { gap: 12px !important; }
.yt-card__icon { margin: 0 !important; flex: none; }
.yt-card__icon img { width: 26px; height: 26px; display: block; }
.yt-card__icon.is-boxed { width: 48px; height: 48px; border-radius: 12px; background: var(--yt-sky); display: flex; align-items: center; justify-content: center; }
.yt-grid { gap: 24px; }
@media (min-width: 1000px) { .yt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }

.yt-framed { margin: 0; border: 1px solid var(--yt-line); border-radius: var(--yt-radius); overflow: hidden; background: #fff; }
.yt-framed img { display: block; width: 100%; height: auto; }
.has-navy-background-color .yt-framed { border-color: rgba(255, 255, 255, 0.14); background: var(--yt-navy-mid); padding: 16px; }

.yt-callout { border-radius: var(--yt-radius); padding: 32px 36px; }
.yt-callout > * { margin-block: 0; }
.yt-callout p { color: var(--yt-slate); margin-top: 8px; }
.yt-callout .wp-block-buttons { justify-content: flex-end; }

/* ------------------------------------------------------------ Header */
.yt-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .yt-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .yt-site-header { top: 0; } }
.yt-header { border-bottom: 1px solid var(--yt-line); transition: box-shadow .2s; }
.yt-site-header.is-scrolled .yt-header { box-shadow: 0 6px 20px rgba(6, 51, 90, 0.08); }
.yt-header__bar { padding-block: 14px; gap: 20px; }
.yt-logo { margin: 0; flex: none; }
.yt-logo img { height: 60px; width: auto; display: block; }
.yt-header__right { gap: 28px !important; }
.yt-nav a { color: var(--yt-ink); text-decoration: none; }
.yt-nav a:hover, .yt-nav .current-menu-item > a { color: var(--yt-blue); }
.yt-nav .wp-block-navigation__container { gap: 28px; }
.yt-header__cta .wp-block-button__link { padding: 12px 20px; font-size: 15px; }
@media (max-width: 781px) {
	.yt-logo img { height: 44px; }
	.yt-header__right { gap: 12px !important; }
	.yt-header__cta .wp-block-button__link { padding: 10px 14px; font-size: 14px; }
}
@media (max-width: 420px) { .yt-header__cta { display: none; } }

/* ------------------------------------------------------------ Heroes */
.yt-hero { overflow: hidden; padding-top: clamp(64px, 8vw, 88px); padding-bottom: clamp(72px, 9vw, 96px); }
.yt-hero > .wp-block-columns, .yt-page-hero > .wp-block-columns { position: relative; z-index: 1; gap: 56px; }
.yt-hero h1, .yt-page-hero h1 { margin: 16px 0 20px; }
.yt-hero__lead { font-size: 19px; line-height: 1.6; max-width: 600px; margin-bottom: 32px !important; }
.yt-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; pointer-events: none; }
.yt-panel { background: rgba(10, 67, 115, 0.88); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; padding: 28px; backdrop-filter: blur(2px); }
.yt-panel > p { margin: 0; }
.yt-panel__title { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 18px; color: #fff; }
.yt-panel__sub { font-size: 14px; color: var(--yt-muted); margin: 6px 0 22px !important; }
.yt-lanes { display: flex; flex-direction: column; gap: 10px; }
.yt-lanes > * { margin: 0 !important; }
.yt-lane { background: var(--yt-navy); border-radius: 10px; padding: 14px 16px; gap: 14px !important; }
.yt-lane > * { margin: 0 !important; }
.yt-lane__icon img { width: 22px; height: 22px; display: block; }
.yt-lane__name { flex: 1; font-weight: 500; color: #fff; }
.yt-lane__meta { font-size: 13px; color: var(--yt-muted); text-align: right; }
@media (max-width: 520px) { .yt-lane__meta { display: none; } }

.yt-page-hero { padding-top: clamp(48px, 6vw, 56px); padding-bottom: clamp(56px, 7vw, 72px); }
.yt-page-hero.is-simple { padding-bottom: 48px; }
.yt-page-hero.is-simple h1 { margin-bottom: 0; }
.yt-page-hero .yt-hero__lead { margin-bottom: 0 !important; }
.yt-page-hero .wp-block-buttons { margin-top: 32px; }
.yt-hero__art { margin: 0; background: var(--yt-navy-mid); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 18px; padding: 20px; }
.yt-hero__art img { width: 100%; height: auto; display: block; }

/* ------------------------------------------------------------ Home bands */
.yt-highlights { padding-top: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--yt-line); }
.yt-highlights .wp-block-group > p { margin: 0; color: var(--yt-slate); font-size: 15px; line-height: 1.55; }
.yt-highlights .yt-highlight__title { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 17px; color: var(--yt-navy); margin-bottom: 6px !important; }

.yt-why > .wp-block-columns { gap: 56px; }
.yt-why .yt-framed { margin-top: 32px; }
.yt-why__list { gap: 16px !important; }
.yt-why__list > * { margin: 0 !important; width: 100%; }

.yt-stats-band { padding-top: 72px; padding-bottom: 72px; }
.yt-stats .wp-block-group > p { margin: 0; }
.yt-stat__num { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 48px; line-height: 1; color: var(--yt-orange); margin-bottom: 8px !important; font-variant-numeric: tabular-nums; }
.yt-stat__label { font-size: 15px; color: var(--yt-pale); }

.yt-logos { gap: 16px; }
.yt-logo-tile { margin: 0; height: 92px; border: 1px solid var(--yt-line); border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 20px 24px; box-sizing: border-box; transition: box-shadow .2s, border-color .2s; }
.yt-logo-tile:hover { border-color: var(--yt-muted); box-shadow: 0 6px 18px rgba(6, 51, 90, 0.08); }
.yt-logo-tile img { max-width: 100%; max-height: 42px; width: auto; height: auto; display: block; }
.yt-logo-tile.is-small { width: 150px; height: 64px; padding: 12px 18px; }
.yt-logo-tile.is-small img { max-height: 30px; }
.yt-chips__title { font-weight: 600; color: var(--yt-navy); margin-top: 56px !important; }
.yt-chips { gap: 10px !important; margin-top: 16px !important; }
.yt-chip { margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--yt-mist); border: 1px solid var(--yt-line); font-size: 14px; font-weight: 500; color: var(--yt-navy); }

.yt-step__num { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 15px; color: var(--yt-blue) !important; }
.yt-step h3 { font-size: 19px; }

.yt-cta { overflow: hidden; background-image: url(../img/illustrations/cta-waves.svg); background-size: cover; background-position: center; }
.yt-cta .wp-block-columns { gap: 40px; }
.yt-cta h2 { margin: 0 0 14px; }
.yt-cta .yt-lead { color: #e1ecf7; margin: 0; }
.yt-cta__buttons { justify-content: flex-end; }
@media (max-width: 781px) { .yt-cta__buttons { justify-content: flex-start; } }

/* ------------------------------------------------------------ Devices */
.yt-brand-strip { padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--yt-line); }
.yt-strip { gap: 18px !important; }
.yt-strip > * { margin: 0 !important; }
.yt-strip__label { font-size: 14px; font-weight: 600; color: var(--yt-slate); }
.yt-strip__logos { gap: 12px !important; }
.yt-esu > .wp-block-columns { gap: 56px; }
.yt-badge { margin: 0 !important; padding: 4px 10px; border-radius: 999px; background: var(--yt-sky); color: var(--yt-blue) !important; font-size: 13px !important; font-weight: 600; white-space: nowrap; }
.yt-align-end { justify-content: flex-end; }
@media (max-width: 781px) { .yt-align-end { justify-content: flex-start; } }
.yt-every { border-radius: var(--yt-radius); padding: 24px 30px; gap: 20px !important; }
.yt-every > * { margin: 0 !important; }
.yt-every__title { font-family: var(--wp--preset--font-family--heading); font-weight: 600; color: var(--yt-navy); }
.yt-every__items { gap: 12px 28px !important; }
.yt-check-item { margin: 0 !important; font-weight: 500; color: var(--yt-ink); padding-left: 28px; position: relative; }
.yt-check-item::before, .is-style-yt-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--yt-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306335a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.is-style-yt-checks { list-style: none; padding-left: 0; margin: 0; display: grid; gap: 10px; }
.is-style-yt-checks li { position: relative; padding-left: 30px; color: var(--yt-ink); }

.yt-faq-list { display: flex; flex-direction: column; gap: 12px; }
.yt-faq-list > * { margin: 0 !important; }
.yt-faq { background: #fff; border: 1px solid var(--yt-line); border-radius: 12px; padding: 0; }
.yt-faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; color: var(--yt-navy); position: relative; }
.yt-faq summary::-webkit-details-marker { display: none; }
.yt-faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--yt-blue); transition: transform .2s; }
.yt-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.yt-faq > p { margin: 0; padding: 0 24px 22px; color: var(--yt-slate); }

/* ------------------------------------------------------------ Services */
.yt-jump-band { padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--yt-line); }
.yt-jumps { gap: 10px !important; }
.yt-jump { margin: 0 !important; }
.yt-jump a { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--yt-line); background: #fff; color: var(--yt-navy); font-size: 14px; font-weight: 500; text-decoration: none; }
.yt-jump a:hover { border-color: var(--yt-blue); color: var(--yt-blue); }
.yt-svc { gap: 64px; }
.yt-svc .is-style-yt-checks { margin: 8px 0 12px; }
.yt-svc .is-style-yt-arrow-link { margin-top: 8px !important; }
@media (max-width: 781px) { .yt-svc.is-reversed { flex-direction: column-reverse; } }

/* ------------------------------------------------------------ Contact */
.yt-quick-band { padding-top: 0; padding-bottom: 0; margin-top: -44px !important; z-index: 2; }
.yt-quick { box-shadow: var(--yt-shadow); }
.yt-quick__title { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 18px; color: var(--yt-navy) !important; }
.yt-form-card { padding: 36px; height: auto; }
.yt-form-card:hover, .yt-book-card:hover, .yt-info-card:hover { box-shadow: none; border-color: var(--yt-line); }
.yt-book-card, .yt-info-card { height: auto; margin-bottom: 24px !important; }
.yt-info__label { font-size: 13px !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--yt-blue) !important; margin-top: 10px !important; }
.yt-info-card .is-style-yt-arrow-link { margin-top: 0 !important; }

.yt-form { display: grid; gap: 18px; margin-top: 8px; }
.yt-form p { margin: 0; }
.yt-form fieldset { border: 0; padding: 0; margin: 0; }
.yt-form legend { font-size: 13px; font-weight: 600; color: var(--yt-slate); margin-bottom: 10px; }
.yt-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.yt-pill { position: relative; }
.yt-pill input { position: absolute; opacity: 0; inset: 0; }
.yt-pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid #c9d8e8; background: #fff; color: var(--yt-ink); font-size: 14px; font-weight: 500; cursor: pointer; }
.yt-pill input:checked + span { background: var(--yt-blue); border-color: var(--yt-blue); color: #fff; }
.yt-pill input:focus-visible + span { outline: 2px solid var(--yt-orange); outline-offset: 2px; }
.yt-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.yt-field { display: flex; flex-direction: column; gap: 6px; }
.yt-field label { font-size: 13px; font-weight: 600; color: var(--yt-slate); }
.yt-field input, .yt-field select, .yt-field textarea {
	font: inherit;
	font-size: 16px;
	color: var(--yt-ink);
	background: #fff;
	border: 1px solid var(--yt-muted);
	border-radius: 8px;
	padding: 11px 14px;
	min-height: 48px;
	box-sizing: border-box;
	width: 100%;
}
.yt-field textarea { resize: vertical; min-height: 120px; }
.yt-field input:focus, .yt-field select:focus, .yt-field textarea:focus { border-color: var(--yt-blue); outline: 2px solid rgba(8, 84, 144, 0.2); outline-offset: 0; }
.yt-field--count { max-width: 320px; }
.yt-field[hidden] { display: none; }
.yt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.yt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--yt-slate); }
.yt-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--yt-blue); flex: none; }
.yt-form__submit { border: 0; cursor: pointer; font: inherit; font-weight: 600; background: var(--yt-orange); color: var(--yt-navy); border-radius: 8px; padding: 15px 28px; min-height: 48px; }
.yt-form__submit:hover { background: #f6a62e; }
.yt-form__error { background: #fdf0e1; border: 1px solid #f2c27f; color: #7a4300; border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.yt-form-sent { background: var(--yt-sky); border-radius: 12px; padding: 28px; }
.yt-form-sent__title { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 20px; color: var(--yt-navy); margin: 0 0 8px; }
.yt-form-sent p { margin: 0 0 8px; }

/* ------------------------------------------------------------ Privacy */
.yt-privacy .wp-block-columns { gap: 56px; }
.yt-toc { position: sticky; top: 110px; background: var(--yt-mist); border-radius: 12px; padding: 22px 24px; }
.yt-toc__title { font-weight: 600; color: var(--yt-navy); margin: 0 0 10px; }
.yt-toc__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.yt-toc__list a { color: var(--yt-slate); text-decoration: none; }
.yt-toc__list a:hover { color: var(--yt-blue); }
.yt-prose { max-width: 760px; }
.yt-prose h2 { margin-top: 48px; margin-bottom: 14px; }
.yt-prose h3 { margin-top: 28px; margin-bottom: 8px; font-size: 18px; }
.yt-prose p, .yt-prose li { color: var(--yt-slate); line-height: 1.7; }
.yt-prose ul { padding-left: 22px; }
.yt-prose li + li { margin-top: 6px; }
.yt-short { border-radius: 12px; padding: 24px 28px; }
.yt-short__title { font-weight: 600; color: var(--yt-navy); margin: 0 0 8px; }
.yt-table table { border-collapse: collapse; width: 100%; font-size: 15px; }
.yt-table th, .yt-table td { border: 1px solid var(--yt-line); padding: 12px 14px; text-align: left; vertical-align: top; }
.yt-table thead { background: var(--yt-mist); border: 0; }
.yt-table th { color: var(--yt-navy); }
@media (max-width: 781px) { .yt-toc { position: static; } }

/* ------------------------------------------------------------ Footer */
.yt-footer { padding-top: 56px; padding-bottom: 32px; font-size: 14px; }
.yt-footer a { color: var(--yt-muted); text-decoration: none; }
.yt-footer a:hover { color: #fff; text-decoration: underline; }
.yt-footer p { margin: 0 0 8px; line-height: 1.6; }
.yt-footer__cols { gap: 36px; }
.yt-footer__logo { margin: 0 0 16px; }
.yt-footer__logo img { height: 36px; width: auto; display: block; }
.yt-footer__title { font-weight: 600; color: #fff; margin-bottom: 12px !important; }
.yt-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.yt-sbe__row { gap: 12px !important; margin-top: 20px; }
.yt-sbe__row > * { margin: 0 !important; }
.yt-sbe img { width: 72px; height: 72px; display: block; }
.yt-sbe__text { font-size: 13px; line-height: 1.45; }
.yt-footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 36px !important; padding-top: 20px; font-size: 13px; color: #8fa8c0; }
.yt-footer__legal a { color: #8fa8c0; text-decoration: underline; }
.yt-footer__legal span { margin: 0 8px; }

/* ------------------------------------------------------------ Cookie banner */
.yt-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; }
.yt-cookie[hidden] { display: none; }
.yt-cookie__inner { max-width: 1100px; margin: 0 auto; background: #fff; color: var(--yt-ink); border: 1px solid var(--yt-line); border-radius: 14px; box-shadow: 0 18px 48px rgba(4, 31, 56, 0.22); padding: 22px 24px; display: grid; gap: 16px; grid-template-columns: 1fr auto; align-items: center; }
.yt-cookie__title { font-family: var(--wp--preset--font-family--heading); font-weight: 600; color: var(--yt-navy); margin: 0 0 4px; }
.yt-cookie__text p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--yt-slate); }
.yt-cookie__prefs { grid-column: 1 / -1; display: grid; gap: 10px; border-top: 1px solid var(--yt-line); padding-top: 14px; }
.yt-cookie__prefs[hidden] { display: none; }
.yt-toggle { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--yt-slate); }
.yt-toggle input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--yt-blue); flex: none; }
.yt-toggle strong { color: var(--yt-navy); }
.yt-cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.yt-btn { font: inherit; font-size: 14px; font-weight: 600; border-radius: 8px; padding: 11px 16px; min-height: 44px; cursor: pointer; border: 1.5px solid var(--yt-orange); background: var(--yt-orange); color: var(--yt-navy); }
.yt-btn--ghost { background: #fff; border-color: var(--yt-muted); color: var(--yt-navy); }
.yt-btn--ghost:hover { border-color: var(--yt-navy); }
.yt-btn[hidden] { display: none; }
@media (max-width: 860px) { .yt-cookie__inner { grid-template-columns: 1fr; } .yt-cookie__actions { justify-content: flex-start; } }

/* ------------------------------------------------------------ AI PC Finder */
.yt-finder { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .yt-finder { grid-template-columns: 1fr; } }
.yt-finder__main, .yt-finder__side { background: #fff; border: 1px solid var(--yt-line); border-radius: var(--yt-radius); padding: 28px; }
.yt-finder__progress { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--yt-slate); }
.yt-finder__bar { height: 6px; border-radius: 3px; background: var(--yt-sky); margin: 10px 0 24px; overflow: hidden; }
.yt-finder__bar span { display: block; height: 100%; background: var(--yt-blue); border-radius: 3px; transition: width .3s; }
.yt-finder__q { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 22px; color: var(--yt-navy); margin: 0 0 6px; }
.yt-finder__help { margin: 0 0 20px; color: var(--yt-slate); font-size: 15px; }
.yt-finder__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.yt-opt { text-align: left; font: inherit; cursor: pointer; border: 1px solid #c9d8e8; background: #fff; color: var(--yt-ink); border-radius: 10px; padding: 14px 16px; min-height: 56px; transition: border-color .15s, background-color .15s; }
.yt-opt:hover { border-color: var(--yt-blue); }
.yt-opt[aria-pressed="true"] { background: var(--yt-blue); border-color: var(--yt-blue); color: #fff; }
.yt-opt strong { display: block; font-weight: 600; font-size: 15px; }
.yt-opt small { display: block; font-size: 13px; opacity: .8; margin-top: 2px; }
.yt-finder__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }
.yt-finder__nav button { font: inherit; font-weight: 600; font-size: 15px; border-radius: 8px; padding: 12px 20px; min-height: 44px; cursor: pointer; }
.yt-finder__back { background: #fff; border: 1.5px solid var(--yt-muted); color: var(--yt-navy); }
.yt-finder__back:disabled { opacity: .45; cursor: default; }
.yt-finder__next { background: var(--yt-navy); border: 1.5px solid var(--yt-navy); color: #fff; }
.yt-finder__side h3 { font-size: 16px; margin: 0 0 12px; }
.yt-finder__answers { display: grid; gap: 6px; }
.yt-ans { display: flex; justify-content: space-between; gap: 10px; font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; background: #fff; border: 1px solid var(--yt-line); border-radius: 8px; padding: 8px 12px; color: var(--yt-ink); }
.yt-ans span { color: var(--yt-slate); }
.yt-ans b { font-weight: 600; text-align: right; }
.yt-ans.is-current { background: var(--yt-sky); border-color: var(--yt-blue); }
.yt-finder__results { grid-column: 1 / -1; }
.yt-finder__results-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.yt-finder__results-head h3 { margin: 0; }
.yt-finder__results-head p { margin: 0; color: var(--yt-slate); font-size: 14px; }
.yt-matches { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.yt-match { border: 1px solid var(--yt-line); border-radius: var(--yt-radius); padding: 24px; background: #fff; color: var(--yt-ink); display: flex; flex-direction: column; gap: 10px; }
.yt-match.is-top { background: var(--yt-navy); border-color: var(--yt-navy); color: #fff; }
.yt-match__rank { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--yt-blue); }
.yt-match.is-top .yt-match__rank { color: var(--yt-orange); }
.yt-match__track { height: 5px; border-radius: 3px; background: var(--yt-sky); overflow: hidden; }
.yt-match.is-top .yt-match__track { background: var(--yt-navy-mid); }
.yt-match__track span { display: block; height: 100%; background: var(--yt-blue); }
.yt-match.is-top .yt-match__track span { background: var(--yt-orange); }
.yt-match__brand { font-size: 13px; color: var(--yt-slate); margin: 0; }
.yt-match.is-top .yt-match__brand { color: var(--yt-pale); }
.yt-match__name { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 18px; line-height: 1.3; margin: 0; }
.yt-match__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.yt-match__chips span { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--yt-mist); }
.yt-match.is-top .yt-match__chips span { background: var(--yt-navy-mid); }
.yt-match ul { margin: 4px 0 0; padding-left: 18px; font-size: 14px; color: var(--yt-slate); }
.yt-match.is-top ul { color: var(--yt-pale); }
.yt-finder__quote { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.yt-finder__quote a { display: inline-flex; align-items: center; min-height: 44px; padding: 13px 24px; border-radius: 8px; background: var(--yt-orange); color: var(--yt-navy); font-weight: 600; text-decoration: none; }
.yt-finder__empty { background: var(--yt-mist); border-radius: 12px; padding: 20px; color: var(--yt-slate); }

/* ------------------------------------------------------------ Small screens */
@media (max-width: 781px) {
	.yt-section > * + * { margin-block-start: 32px; }
	.yt-callout { padding: 26px 24px; }
	.yt-callout .wp-block-buttons { justify-content: flex-start; }
	.yt-quick-band { margin-top: 24px !important; }
	.yt-form-card { padding: 24px; }
}

/* Fixed column counts on wide screens */
@media (min-width: 1000px) {
	.yt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
	.yt-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}
@media (min-width: 782px) and (max-width: 999px) {
	.yt-grid--4, .yt-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
.yt-framed.is-dark { background: var(--yt-navy); border-color: var(--yt-navy); padding: 16px; }
.yt-finder__quote a { line-height: 1.2; padding: 12px 22px; }
.yt-pill { display: inline-flex; }
.yt-pill input { margin: 0; width: 100%; height: 100%; cursor: pointer; }
.yt-pill span { box-sizing: border-box; }

/* ------------------------------------------------------------ Hardening (1.0.2)
 * Keeps the design intact when older plugins load Bootstrap or similar CSS,
 * and stacks two column layouts on tablets and narrow windows. */
html body { font-family: var(--wp--preset--font-family--body); color: var(--yt-ink); font-size: 16px; line-height: 1.6; background: #fff; }
.wp-site-blocks :where(a:not(.wp-element-button)) { color: var(--yt-blue); }
.wp-site-blocks :where(a:not(.wp-element-button)):hover { color: var(--yt-navy); }
.wp-site-blocks .wp-element-button:hover, .wp-site-blocks .wp-element-button:focus { color: var(--yt-navy); text-decoration: none; }
.wp-site-blocks .has-navy-background-color .is-style-outline .wp-block-button__link:hover { color: #fff; }
.wp-site-blocks .yt-footer :where(a) { color: var(--yt-muted); }
.wp-site-blocks .yt-footer :where(a):hover { color: #fff; }
.wp-site-blocks .yt-crumb a { color: var(--yt-pale); }
.wp-site-blocks label { margin-bottom: 0; }
.wp-site-blocks h1, .wp-site-blocks h2, .wp-site-blocks h3, .wp-site-blocks h4 { font-family: var(--wp--preset--font-family--heading); }
.wp-site-blocks .has-white-color h1, .wp-site-blocks .has-white-color h2 { color: #fff; }
@media (max-width: 1023px) {
	.yt-main .wp-block-columns { flex-wrap: wrap !important; }
	.yt-main .wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
	.yt-footer__cols { flex-wrap: wrap !important; }
	.yt-footer__cols > .wp-block-column { flex-basis: calc(50% - 18px) !important; flex-grow: 0 !important; }
	.yt-cta__buttons, .yt-callout .wp-block-buttons, .yt-align-end { justify-content: flex-start; }
	.yt-toc { position: static; }
}
@media (max-width: 600px) { .yt-footer__cols > .wp-block-column { flex-basis: 100% !important; } }
@media (min-width: 1024px) and (max-width: 1180px) { .yt-lane__meta { display: none; } }
.wp-site-blocks .yt-footer__legal a { color: #8fa8c0; }

/* Footer social icons */
.wp-site-blocks .yt-footer .yt-social { gap: 14px; margin: 4px 0 0; padding: 0; }
.wp-site-blocks .yt-footer .yt-social .wp-social-link { color: var(--yt-muted); background: none; transition: color .15s, transform .15s; }
.wp-site-blocks .yt-footer .yt-social .wp-social-link a { color: inherit; padding: 2px; }
.wp-site-blocks .yt-footer .yt-social .wp-social-link svg { width: 24px; height: 24px; fill: currentColor; }
.wp-site-blocks .yt-footer .yt-social .wp-social-link:hover { color: #fff; transform: translateY(-1px); }

/* Mobile menu (1.0.4) */
.yt-nav-cta { display: none !important; }
.yt-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 20px 24px 32px !important;
	background: #fff !important;
	color: var(--yt-ink) !important;
}
.yt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { top: 22px; right: 22px; }
.yt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch !important;
	padding-top: 64px !important;
	gap: 0 !important;
}
.yt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: stretch !important;
	justify-content: flex-start !important;
	gap: 0 !important;
	width: 100%;
}
.yt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid var(--yt-line);
}
.yt-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	padding: 18px 0 !important;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 22px;
	font-weight: 600;
	color: var(--yt-navy) !important;
	text-align: left;
}
.yt-nav .wp-block-navigation__responsive-container.is-menu-open .yt-nav-cta {
	display: block !important;
	border-bottom: 0;
	margin-top: 28px;
}
.yt-nav .wp-block-navigation__responsive-container.is-menu-open .yt-nav-cta .wp-block-navigation-item__content {
	background: var(--yt-orange);
	border-radius: 8px;
	text-align: center;
	padding: 16px 20px !important;
	font-family: var(--wp--preset--font-family--body);
	font-size: 17px;
}
.yt-nav .wp-block-navigation__responsive-container-open svg,
.yt-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

/* Phone layout (1.0.5) */
.yt-panel { backdrop-filter: none; }
@media (max-width: 600px) {
	.yt-header__cta { display: none; }
	.yt-hero .yt-panel { display: none; }
	.yt-hero > .wp-block-columns { gap: 0; }
	.yt-section { padding-top: 52px; padding-bottom: 52px; }
	.yt-hero, .yt-page-hero { padding-top: 44px; padding-bottom: 52px; }
	.yt-hero .wp-block-buttons, .yt-page-hero .wp-block-buttons, .yt-cta .wp-block-buttons, .yt-esu .wp-block-buttons, .yt-aipc-band .wp-block-buttons { flex-direction: column; align-items: stretch; }
	.yt-hero .wp-block-button, .yt-page-hero .wp-block-button, .yt-cta .wp-block-button, .yt-esu .wp-block-button, .yt-aipc-band .wp-block-button { width: 100%; }
	.yt-hero .wp-block-button__link, .yt-page-hero .wp-block-button__link, .yt-cta .wp-block-button__link, .yt-esu .wp-block-button__link, .yt-aipc-band .wp-block-button__link { width: 100%; justify-content: center; }
	.yt-card__media img { height: 160px; }
	.is-style-yt-card { padding: 24px; }
	.yt-card__media { margin: -24px -24px 4px !important; width: calc(100% + 48px); }
	.yt-hero__lead { font-size: 17px; }
	.yt-lead { font-size: 16.5px; }
	.yt-stat__num { font-size: 40px; }
}
@media (max-width: 781px) {
	.is-style-yt-arrow-link a { display: inline-flex; align-items: center; min-height: 44px; }
	.yt-toc__list a, .yt-footer__links a { display: inline-block; padding: 6px 0; }
	.yt-toc__list { gap: 2px; }
	.yt-nav .wp-block-navigation__responsive-container-open { padding: 7px; margin-right: -7px; }
}

@media (max-width: 600px) { .wp-site-blocks .yt-header .yt-header__cta { display: none !important; } }

@media (max-width: 781px) {
	.wp-site-blocks .yt-logos { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
	.wp-site-blocks .yt-logo-tile { height: 76px; padding: 14px 16px; }
	.wp-site-blocks .yt-logo-tile img { max-height: 34px; }
	.wp-site-blocks .yt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 16px; }
	.wp-site-blocks .yt-highlights .yt-grid { gap: 20px; }
}

@media (max-width: 781px) {
	.yt-finder__main, .yt-finder__side { padding: 20px; }
	.yt-finder__opts { gap: 8px; }
	.yt-opt { padding: 11px 14px; min-height: 0; }
	.yt-finder__q { font-size: 20px; }
	.yt-finder__answers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yt-ans { flex-direction: column; gap: 2px; }
	.yt-ans b { text-align: left; }
	.yt-finder__quote a { width: 100%; justify-content: center; }
}

.yt-nav .wp-block-navigation__responsive-container.is-menu-open .yt-nav-cta .wp-block-navigation-item__content { box-sizing: border-box; width: 100%; max-width: 100%; padding: 14px 18px !important; font-size: 16px; }
