/*
Theme Name: Pest Control University
Theme URI: https://thed2dexperts.com/
Author: D2D Experts
Description: Pest control sales training and certification site for Pest Control University. Creates every page, guide and menu on activation, with built-in schema (Course, FAQPage, Article, Organization), llms.txt and GHL-ready CTAs.
Version: 1.0.2
Requires at least: 6.3
Requires PHP: 8.0
License: Proprietary
Text Domain: pest-control-university
*/

:root {
	--ink: #18181b;
	--ink-2: #27272a;
	--slate: #52525b;
	--muted: #71717a;
	--line: #e4e4e7;
	--paper: #ffffff;
	--tint: #f4f4f5;
	--accent: #2a6425;
	--accent-dark: #1e4a1b;
	--accent-soft: #e8f2e7;
	--accent-bright: #6fbf73;
	--green: #10b981;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(24, 24, 27, .05), 0 10px 30px rgba(24, 24, 27, .07);
	--font-head: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1180px;
	--narrow: 780px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--font-body); }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--accent-dark); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Layout */
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }
.container--narrow { max-width: var(--narrow); }
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #d4d4d8; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: #8fd093; }
.section--tight { padding: 40px 0; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--slate); max-width: 680px; }
.section--dark .lede { color: #a1a1aa; }
.eyebrow { font: 600 .78rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--accent-bright); }
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 64px; } .split--rev > :first-child { order: 2; } }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 9999px; font: 600 1rem/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s; cursor: pointer; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: .92rem; background: var(--accent); color: #fff; }
.btn--small:hover { background: var(--accent-dark); color: #fff; }
.btn--link { min-height: 0; padding: 0; border: 0; color: var(--accent-dark); font-weight: 600; }
.btn--link:hover { transform: none; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row.center { justify-content: center; }
.section-head + .btn-row, .center > .btn-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #fff; }
.logo__mark svg { width: 24px; height: 24px; }
.logo__text { font: 600 1.05rem/1 var(--font-head); letter-spacing: -.01em; }
.logo__text strong { font-weight: 800; margin-left: 4px; }
.custom-logo { max-height: 44px; width: auto; }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; box-shadow: var(--shadow); }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.site-nav__list .current-menu-item > a, .site-nav__list .current-page-ancestor > a { color: var(--accent-dark); }
.site-nav__actions { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.site-nav__login { color: var(--slate); font-weight: 600; text-decoration: none; }
.nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1000px) {
	.nav-toggle { display: none; }
	.site-nav, .site-nav.is-open { display: flex; align-items: center; gap: 28px; position: static; padding: 0; box-shadow: none; border: 0; background: none; }
	.site-nav__list { display: flex; gap: 26px; }
	.site-nav__list a { padding: 6px 0; border: 0; font-size: .96rem; }
	.site-nav__actions { margin: 0; }
}

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 20px 0 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #a1a1aa; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-dark); }
.section--dark .crumbs, .section--dark .crumbs a { color: #a1a1aa; }

/* Hero */
.hero { padding: 56px 0 72px; background: var(--ink); color: #d4d4d8; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(42, 100, 37, .45), transparent); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero .lede { color: #d4d4d8; font-size: 1.2rem; }
@media (min-width: 900px) { .hero { padding: 80px 0 104px; } }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; padding: 0; list-style: none; font-size: .92rem; color: #a1a1aa; }
.hero__proof li::before { content: "✓"; color: var(--accent-bright); font-weight: 700; margin-right: 8px; }
.page-hero { padding: 56px 0 48px; }
@media (min-width: 900px) { .page-hero { padding: 80px 0 64px; } }
.page-hero h1 { max-width: 22ch; }

/* Video */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame--empty { display: grid; place-items: center; background: var(--ink-2); color: #a1a1aa; border: 2px dashed #52525b; text-align: center; padding: 20px; }

/* Cards */
.card { display: flex; flex-direction: column; gap: 8px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card__kicker { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); }
.card__title { font: 700 1.15rem/1.3 var(--font-head); }
.card__text { color: var(--slate); font-size: .96rem; }
.card__img { width: calc(100% + 52px); margin: -26px -26px 8px; max-width: none; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 9; object-fit: cover; }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin-bottom: 0; }
.section--dark .card { background: var(--ink-2); border-color: #3f3f46; color: #d4d4d8; }
.section--dark .card__text, .section--dark .card p { color: #a1a1aa; }
.section--tint .card { border-color: #e4e4e7; }
.icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); font: 800 1.1rem var(--font-head); margin-bottom: 6px; }
.section--dark .icon { background: rgba(111, 191, 115, .14); color: var(--accent-bright); }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%232a6425' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.section--dark .checks li::before { background-color: rgba(111, 191, 115, .18); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps--row { grid-template-columns: repeat(4, 1fr); } .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.steps > li { counter-increment: s; position: relative; padding: 24px 24px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps > li::before { content: counter(s, decimal-leading-zero); display: block; font: 800 .9rem var(--font-head); color: var(--accent); margin-bottom: 10px; letter-spacing: .05em; }
.steps > li strong { display: block; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 4px; }
.section--dark .steps > li { background: var(--ink-2); border-color: #3f3f46; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; margin: 28px 0 0; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { padding: 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); font-size: .9rem; color: #a1a1aa; }
.stats strong { display: block; font: 800 1.5rem/1.2 var(--font-head); color: #fff; }
.section:not(.section--dark):not(.hero) .stats li { border-color: var(--line); color: var(--slate); }
.section:not(.section--dark):not(.hero) .stats strong { color: var(--ink); }
.list-plain { padding-left: 1.2em; }

/* Comparison table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 1.4em; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--tint); font-weight: 700; font-size: .85rem; letter-spacing: .02em; }

/* Curriculum */
.modules { display: grid; gap: 10px; margin-bottom: 40px; }
.module { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.module summary { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 600; }
.module summary::-webkit-details-marker { display: none; }
.module summary::after { content: "+"; grid-column: 3; grid-row: 1; justify-self: end; font: 700 1.2rem var(--font-head); color: var(--accent); display: none; }
.module__num { font: 800 .85rem var(--font-head); color: var(--accent); }
.module__time { font-size: .85rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.module ul { margin: 0; padding: 4px 18px 18px 66px; color: var(--slate); font-size: .95rem; columns: 1; }
@media (min-width: 800px) { .module ul { columns: 2; column-gap: 32px; } }
.module li { break-inside: avoid; margin-bottom: 4px; }
.module[open] { border-color: #d4a5a4; box-shadow: var(--shadow); }

/* Pricing */
.price { padding: 32px 28px; }
.price__amount { font: 800 2.4rem/1 var(--font-head); margin: 12px 0 20px; }
.price__amount span { font: 500 .95rem var(--font-body); color: var(--muted); }
.price--featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price .btn { margin-top: auto; }

/* Instructors */
.avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; font: 800 1.05rem var(--font-head); margin-bottom: 6px; }

/* CTA box and band */
.cta-box { margin: 36px 0; padding: 26px 28px; border-radius: var(--radius); background: var(--ink); color: #d4d4d8; }
.cta-box__title { font: 800 1.25rem/1.3 var(--font-head); color: #fff; margin-bottom: 6px; }
.cta-box .btn { margin-top: 6px; }
.cta-band h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }

/* FAQ */
.faq { margin-top: 48px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; padding: 18px 36px 18px 0; font: 700 1.08rem/1.4 var(--font-head); list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 18px; color: var(--slate); }

/* Guides */
.guide__head { background: var(--tint); padding: 0 0 40px; border-bottom: 1px solid var(--line); }
.guide__head h1 { max-width: 24ch; margin-top: 18px; font-size: clamp(2rem, 4vw, 3rem); }
.guide__head .eyebrow { margin: 28px 0 0; }
.answer { max-width: 760px; margin: 24px 0 18px; padding: 20px 24px; background: #fff; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); font-size: 1.08rem; }
.answer p { margin: 0; }
.answer__label { font: 700 .74rem/1 var(--font-body) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px !important; }
.guide__meta { font-size: .88rem; color: var(--muted); margin: 0; }
.guide__layout { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 72px; }
@media (min-width: 1000px) { .guide__layout.has-toc { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; } }
.guide__body { max-width: 760px; min-width: 0; }
.toc { font-size: .9rem; }
@media (min-width: 1000px) { .toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; } }
@media (max-width: 999px) { .toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; } }
.toc__h { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.7em; }
.hero-card { padding: 28px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.hero-card .stats { margin-top: 8px; grid-template-columns: repeat(2, 1fr); }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--accent-dark); }
.taught { margin: 48px 0 0; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
.taught__h { font: 800 1.15rem var(--font-head); margin-bottom: 10px; }
.taught ul { margin: 0 0 12px; padding-left: 1.2em; }
.related { margin-top: 56px; }
.related .grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .related .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.post-image { margin: 0 0 32px; }
.post-image img { border-radius: var(--radius); }

/* Prose */
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); font-size: 1.1rem; color: var(--slate); }
.prose table { display: block; overflow-x: auto; }
@media (min-width: 720px) { .prose table { display: table; } }
.prose strong { color: var(--ink); }
.page-plain { padding-top: 8px; padding-bottom: 72px; }
.page-plain h1 { margin-top: 24px; }

/* Calendar */
.calendar-frame { background: #fff; border-radius: var(--radius); padding: 8px; min-height: 600px; }
.calendar-frame iframe { width: 100%; min-height: 680px; border: 0; }

/* Blog pager */
.pager { margin-top: 40px; }
.pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Footer */
.site-footer { background: #09090b; color: #a1a1aa; padding: 64px 0 28px; font-size: .94rem; }
.site-footer .logo { color: #fff; }
.site-footer .logo__mark { background: var(--accent); color: #fff; }
.site-footer a { color: #d4d4d8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; } }
.site-footer__brand p { margin-top: 16px; max-width: 34ch; }
.site-footer__h { color: #fff; font-weight: 700; margin-bottom: 12px; }
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { margin-bottom: 9px; }
.site-footer .btn--link { color: var(--accent-bright); }
.site-footer__base { border-top: 1px solid #27272a; margin-top: 44px; padding-top: 22px; font-size: .85rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Green accents on dark backgrounds use the brighter green for contrast. */
.hero .eyebrow, .cta-box .eyebrow { color: var(--accent-bright); }
.hero .btn--primary, .section--dark .btn--primary, .cta-box .btn--primary { box-shadow: 0 0 0 1px rgba(111, 191, 115, .35); }

/* Brand logo image. The uploaded file has transparent padding, so it is sized by height and pulled in slightly. */
.logo--image { display: inline-block; line-height: 0; margin: -6px 0 -6px -10px; }
.logo__img { display: block; height: 64px; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 719px) { .logo__img { height: 54px; } }
/* On the black footer, show the logo in white. */
.site-footer .logo__img { filter: brightness(0) invert(1); height: 72px; }

/* Podcast */
.episodes { display: grid; gap: 16px; }
.episode { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.episode h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.episode h3 a { color: var(--ink); text-decoration: none; }
.episode h3 a:hover { color: var(--accent); }
.episode audio { width: 100%; margin-top: 8px; }
.hero .btn-row .btn--ghost, .section--dark .btn-row .btn--ghost { color: #fff; }

/* YouTube episodes */
.episode--video { display: grid; gap: 20px; padding: 18px; }
@media (min-width: 720px) { .episode--video { grid-template-columns: 300px 1fr; align-items: start; } }
.yt-lite, .episode--video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
.yt-lite:hover img { opacity: .85; }
.yt-lite__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; margin: -22px 0 0 -32px; border-radius: 12px; background: var(--accent); }
.yt-lite__play::after { content: ""; position: absolute; left: 26px; top: 13px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.episode__body h3 { margin-top: 4px; }

/* Vertical (9:16) and horizontal video */
.video-frame--vertical { aspect-ratio: 9 / 16; width: 100%; max-width: 360px; margin: 0 auto; border-radius: 18px; }
.hero .video-frame--vertical { max-height: 640px; width: auto; height: min(640px, 80vh); max-width: 100%; }
.video-frame--horizontal { aspect-ratio: 16 / 9; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
@media (max-width: 899px) { .hero .video-frame--vertical { height: auto; width: 100%; max-width: 340px; } }

/* Video block on guides and articles */
.watch { display: grid; gap: 24px; align-items: center; margin: 0 0 40px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
@media (min-width: 640px) { .watch--vertical { grid-template-columns: 240px 1fr; } }
.watch--vertical .video-frame--vertical { max-width: 240px; }
.watch__h { font: 700 1.3rem/1.25 var(--font-head); margin-bottom: 8px; }
.watch .eyebrow { margin-bottom: 6px; }

.podcast-player { margin-bottom: 40px; }
.episodes__h { margin: 0 0 16px; }

/* Podcast episode grid */
.episodes--grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .episodes--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.episode--card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.episode--card .yt-lite { border-radius: 0; }
.episode--card .episode__body { padding: 16px 18px 20px; }
.episode--card h3 { font-size: 1.05rem; line-height: 1.35; margin: 4px 0 0; }

/* Wide wordmark logo */
.logo--bundled { margin: 0; }
.logo--bundled .logo__img { height: auto; width: 230px; max-width: 100%; }
.site-footer .logo--bundled .logo__img { height: auto; width: 230px; }
@media (max-width: 719px) { .logo--bundled .logo__img { height: auto; width: 190px; } }
.site-footer__list a[class*="btn"] { text-align: left; padding-left: 0; }
