/**
 * Travomi — homepage (templates/front-page.html, inc/50-home.php). Loaded on the front page only.
 * Sections: hero « tableau de bord » (text, devis box, counts, dashboard) · method · rubriques · reference guides ·
 * tools · devis band · latest · FAQ.
 */

/* ── Hero ─────────────────────────────────────────── */
.tv-hhero { position: relative; overflow: hidden; padding: 32px 0 48px; background: var(--tv-dots), radial-gradient(ellipse at 85% 30%, var(--tv-a2) 0, transparent 60%), linear-gradient(180deg, #fff 0%, var(--tv-a5) 100%); }
.tv-hhero__grid { position: relative; display: grid; gap: 32px; align-items: center; }
.tv-hhero__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: var(--tv-shadow); font-family: var(--tv-head); font-weight: 700; font-size: .92rem; }
.tv-hhero__mark { width: 28px; height: 28px; }
.tv-hhero h1 { margin: 0; font-size: clamp(2.35rem, 1.5rem + 3.6vw, 4.25rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; max-width: 12ch; }
.tv-hhero .tv-lead { color: var(--tv-contrast); opacity: .82; max-width: 580px; }
.tv-hhero .tv-search { margin-top: 26px; max-width: 620px; }
.tv-hhero .tv-search input[type="search"] { height: 58px; border-color: #fff; box-shadow: var(--tv-shadow); }
.tv-hhero .tv-search__btn { height: 58px; }

/* Devis box inside the hero */
.tv-hdevis { margin-top: 14px; max-width: 620px; box-sizing: border-box; padding: 16px; border-radius: var(--tv-radius-card); background: #fff; box-shadow: var(--tv-shadow); border-left: 5px solid var(--tv-a3); }
.tv-hdevis__head { display: flex; align-items: center; gap: 12px; }
.tv-hdevis__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tv-braise); color: var(--tv-vermillon-text); }
.tv-hdevis__title { margin: 0; font-family: var(--tv-head); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.tv-hdevis__title span { display: block; font-family: var(--wp--preset--font-family--body); font-weight: 400; font-size: .9rem; color: var(--tv-a4); }
.tv-hdevis__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tv-hdevis select { flex: 1 1 200px; min-width: 0; height: 50px; padding: 0 40px 0 14px; border: 2px solid var(--tv-a6); border-radius: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171A3D' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 12px center / 20px no-repeat; color: var(--tv-contrast); font: 500 1rem var(--wp--preset--font-family--body); -webkit-appearance: none; appearance: none; }
.tv-hdevis select:focus { border-color: var(--tv-contrast); outline: none; box-shadow: 0 0 0 3px rgba(242, 84, 45, .35); }
.tv-hdevis .tv-btn { min-height: 50px; flex: 1 0 auto; }

/* Counts */
.tv-hcounts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.tv-hcounts li { display: flex; align-items: baseline; gap: 8px; }
.tv-hcounts strong { font-family: var(--tv-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; }
.tv-hcounts span { font-size: .92rem; color: var(--tv-a4); }

/* Dashboard (signature): 8 controls around the master knob */
.tv-dash { position: relative; width: 100%; max-width: 560px; justify-self: center; }
.tv-dash__screen { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px; border-radius: 28px; background: var(--tv-contrast); box-shadow: 0 34px 70px rgba(23, 26, 61, .28); }
.tv-dash__screen::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 5px; border-radius: 0 0 5px 5px; background: var(--tv-split); }
.tv-dash__grid { display: contents; margin: 0; padding: 0; list-style: none; }
.tv-dash__grid > li { min-width: 0; display: flex; list-style: none; }
.tv-dash__master { grid-row: 2; grid-column: 2; }
.tv-hknob { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; box-sizing: border-box; min-height: 104px; padding: 10px 9px 9px; border-radius: 16px; background: var(--tv-panel); color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px var(--tv-panel-line); transition: box-shadow .15s ease; }
.tv-hknob:hover, .tv-hknob:focus-visible { color: #fff; background: #2B3070; box-shadow: inset 0 0 0 2px var(--tv-a3); }
.tv-hknob .tv-pill { margin-top: auto; background: rgba(255, 255, 255, .08); color: var(--tv-on-dark-soft); box-shadow: none; font-size: .68rem; min-height: 22px; padding: 0 8px; }
.tv-hknob .tv-pill.is-on { background: rgba(174, 185, 255, .2); color: #fff; }
.tv-hknob__icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(174, 185, 255, .16); color: var(--tv-a1); }
.tv-hknob__icon .tv-icon { width: 20px; height: 20px; }
.tv-hknob__name { font-family: var(--tv-head); font-weight: 700; font-size: .72rem; line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: normal; word-break: normal; }
.tv-dash__master { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px 4px; border-radius: 50%; aspect-ratio: 1; align-self: center; background: radial-gradient(circle, #2B3070 0, var(--tv-contrast) 70%); box-shadow: 0 0 0 1px var(--tv-panel-line); }
.tv-dash__mark { width: 58%; height: auto; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .35)); }
.tv-dash__master-label { margin: 6px 0 0; font-family: var(--tv-head); font-weight: 800; font-size: .78rem; color: #fff; }
.tv-dash__master-value { margin: 0; font-size: .68rem; color: var(--tv-on-dark-soft); }

/* ── Method ───────────────────────────────────────── */
.tv-hmethod { background: #fff; }
.tv-section__head--center { margin-inline: auto; text-align: center; }
.tv-section__head--center .tv-section__lead { margin-inline: auto; }
.tv-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tv-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px 24px 24px; border-radius: var(--tv-radius-card); background: var(--tv-a5); box-shadow: inset 0 0 0 1px var(--tv-a6); }
.tv-step__n { position: absolute; top: 18px; right: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tv-contrast); color: #fff; font-family: var(--tv-head); font-weight: 800; font-size: .95rem; }
.tv-step__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--tv-a2); color: var(--tv-pervenche-text); }
.tv-step__icon .tv-icon { width: 28px; height: 28px; }
.tv-step--devis { background: var(--tv-contrast); color: #fff; box-shadow: none; }
.tv-step--devis .tv-step__icon { background: var(--tv-a3); color: var(--tv-contrast); }
.tv-step--devis .tv-step__n { background: #fff; color: var(--tv-contrast); }
.tv-step--devis p { color: var(--tv-on-dark-soft); }
.tv-step--devis .tv-step__title { color: #fff; }
.tv-step__title { margin: 4px 0 0; font-size: 1.45rem; font-weight: 800; }
.tv-step p { margin: 0; flex: 1; }
.tv-step__link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--tv-head); font-weight: 700; }
.tv-step__soon { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--tv-a4); font-size: .9rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--tv-a6); }

/* ── Rubriques ────────────────────────────────────── */
.tv-rubs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tv-rub { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px; border-radius: var(--tv-radius-card); background: #fff; box-shadow: var(--tv-shadow); transition: box-shadow .2s ease; }
.tv-rub:hover { box-shadow: var(--tv-shadow-strong); }
.tv-rub__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tv-rub__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tv-contrast); color: var(--tv-a1); }
.tv-rub__icon .tv-icon { width: 28px; height: 28px; }
.tv-rub__name { margin: 6px 0 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.tv-rub__name a { color: var(--tv-contrast); text-decoration: none; }
.tv-rub__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tv-rub:hover .tv-rub__name a { text-decoration: underline; text-decoration-color: var(--tv-a3); text-underline-offset: 4px; }
.tv-rub__line { margin: 0; font-family: var(--tv-head); font-weight: 600; font-size: .92rem; color: var(--tv-pervenche-text); }
.tv-rub__desc { display: none; margin: 0; font-size: .92rem; line-height: 1.5; color: var(--tv-a4); }
.tv-rub__chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.tv-rub__chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 999px; background: var(--tv-a2); color: var(--tv-contrast); font-size: .82rem; font-weight: 600; text-decoration: none; }
.tv-rub__chips a:hover { background: var(--tv-a1); color: var(--tv-contrast); }
.tv-rub__soon { margin: 6px 0 0; font-size: .82rem; font-weight: 600; color: var(--tv-a4); }

/* ── Reference guides ─────────────────────────────── */
.tv-hguides { background: #fff; }

/* ── Tools ────────────────────────────────────────── */
.tv-htools__card { display: grid; gap: 28px; padding: 28px 22px; border-radius: var(--tv-radius-big); background: var(--tv-a2); position: relative; overflow: hidden; }
.tv-htools__card::before { content: ""; position: absolute; left: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 20px solid rgba(255, 255, 255, .6); pointer-events: none; }
.tv-htools__text { position: relative; }
.tv-htools__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 18px; background: var(--tv-contrast); color: #fff; }
.tv-htools__icon .tv-icon { width: 30px; height: 30px; }
.tv-htools .tv-btn { margin-top: 24px; }
.tv-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; position: relative; }
.tv-tool { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-items: center; height: 100%; box-sizing: border-box; min-height: 64px; padding: 10px 14px; border-radius: 16px; background: #fff; color: var(--tv-contrast); text-decoration: none; box-shadow: 0 4px 14px rgba(23, 26, 61, .05); }
a.tv-tool:hover { box-shadow: var(--tv-shadow-strong); color: var(--tv-contrast); }
.tv-tool__icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tv-a2); color: var(--tv-pervenche-text); }
.tv-tool__name { font-family: var(--tv-head); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.tv-tool__meta { font-size: .8rem; font-weight: 600; color: var(--tv-a4); }

/* ── Latest + FAQ ─────────────────────────────────── */
.tv-hlatest { padding-top: 24px; }
.tv-hfaq { background: #fff; }
.tv-hfaq__grid { display: grid; gap: 24px; }
.tv-hfaq .tv-section__head { margin-bottom: 0; }
.tv-hfaq details.is-style-tv-faq { background: var(--tv-a5); box-shadow: inset 0 0 0 1px var(--tv-a6); }

/* ── Phones ≥ 390 ─────────────────────────────────── */
@media (min-width: 390px) {
	.tv-hknob { padding: 12px 10px 10px; }
	.tv-hknob__name { font-size: .76rem; }
}

/* ── Tablet ≥ 600 ─────────────────────────────────── */
@media (min-width: 600px) {
	.tv-hhero { padding: 48px 0 64px; }
	.tv-hdevis { padding: 18px 20px; }
	.tv-hdevis .tv-btn { flex: 0 0 auto; }
	.tv-dash__screen { padding: 14px; gap: 10px; }
	.tv-hknob { min-height: 128px; padding: 14px 14px 12px; gap: 8px; }
	.tv-hknob__icon { width: 40px; height: 40px; }
	.tv-hknob__icon .tv-icon { width: 24px; height: 24px; }
	.tv-hknob__name { font-size: .98rem; }
	.tv-dash__master-label { font-size: .95rem; }
	.tv-dash__master-value { font-size: .8rem; }
	.tv-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tv-step { padding: 26px 20px 22px; }
	.tv-rubs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.tv-rub__desc { display: block; }
	.tv-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tv-htools__card { padding: 36px 32px; }
}

/* ── Laptop ≥ 1024 ────────────────────────────────── */
@media (min-width: 1024px) {
	.tv-hhero { padding: 56px 0 80px; }
	.tv-hhero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; }
	.tv-dash { justify-self: end; }
	.tv-step { padding: 32px 28px 28px; }
	.tv-rubs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tv-htools__card { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; padding: 48px; align-items: start; }
	.tv-hfaq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
}
@media (min-width: 1440px) {
	.tv-hhero { padding: 72px 0 96px; }
	.tv-hhero__grid { gap: 80px; }
	.tv-dash { max-width: 600px; }
}
.tv-hknob .tv-pill { max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 22px; }

/* ── Method: connected 3-step path ───────────────── */
.tv-hmethod { background: var(--tv-dots), var(--tv-a2); }
.tv-path { position: relative; display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.tv-path::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 3px; border-radius: 2px; background: linear-gradient(180deg, var(--tv-a1), var(--tv-a3)); }
.tv-path__step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; }
.tv-path__n { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: #fff; color: var(--tv-contrast); font-family: var(--tv-head); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; box-shadow: var(--tv-shadow); }
.tv-path__step--devis .tv-path__n { background: var(--tv-a3); }
.tv-path__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 18px 20px; border-radius: var(--tv-radius-card); background: #fff; box-shadow: var(--tv-shadow); height: 100%; box-sizing: border-box; }
.tv-path__step--devis .tv-path__body { background: var(--tv-contrast); color: #fff; box-shadow: var(--tv-shadow-strong); }
.tv-path__title { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.tv-path__step--devis .tv-path__title { color: #fff; }
.tv-path__text { margin: 0; color: var(--tv-a4); }
.tv-path__step--devis .tv-path__text { color: var(--tv-on-dark-soft); }
.tv-path__preview { display: grid; gap: 8px; width: 100%; box-sizing: border-box; padding: 14px; border-radius: 14px; background: var(--tv-a5); box-shadow: inset 0 0 0 1px var(--tv-a6); color: var(--tv-contrast); text-decoration: none; }
.tv-path__preview:hover { box-shadow: inset 0 0 0 2px var(--tv-a1); color: var(--tv-contrast); }
.tv-path__ptag { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--tv-pervenche-text); }
.tv-path__ptag .tv-icon { width: 16px; height: 16px; }
.tv-path__ptitle { font-family: var(--tv-head); font-weight: 700; line-height: 1.3; }
.tv-path__preview .tv-pill { justify-self: start; }
.tv-path__field { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; background: #fff; border: 2px solid var(--tv-a6); font-size: .88rem; color: var(--tv-a4); }
.tv-path__field b { color: var(--tv-contrast); }
.tv-path__result { padding: 8px 12px; border-radius: 10px; background: var(--tv-braise); color: var(--tv-contrast); font-family: var(--tv-head); font-weight: 700; font-size: .9rem; }
.tv-path__btn { margin-top: auto; }
@media (min-width: 1024px) {
	.tv-path { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.tv-path::before { left: 8%; right: 8%; top: 31px; bottom: auto; width: auto; height: 3px; background: linear-gradient(90deg, var(--tv-a1), var(--tv-a3)); }
	.tv-path__step { grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; }
	.tv-path__body { padding: 22px 22px 24px; }
}

.tv-path__promises { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.tv-path__promises li { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.tv-path__promises .tv-icon { width: 20px; height: 20px; padding: 3px; box-sizing: border-box; border-radius: 50%; background: var(--tv-a1); color: var(--tv-contrast); }
@media (min-width: 1024px) {
	.tv-path__step { grid-template-rows: auto 1fr; align-items: stretch; }
	.tv-path__body { width: 100%; }
}

/* ── Rubriques: 8 equal tiles ─────────────────────── */
.tv-hrubs { background: #fff; }
.tv-rubts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tv-rubt { display: flex; flex-direction: column; border-radius: var(--tv-radius-card); background: #fff; box-shadow: inset 0 0 0 1px var(--tv-a6); overflow: hidden; }
.tv-rubt__band { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; min-height: 76px; padding: 14px 16px; background: var(--tv-bricks), var(--tv-a2); }
.tv-rubt:nth-child(4n+2) .tv-rubt__band, .tv-rubt:nth-child(4n+3) .tv-rubt__band { background: var(--tv-bricks), var(--tv-braise); }
.tv-rubt__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tv-contrast); color: #fff; box-shadow: 0 8px 18px rgba(23, 26, 61, .2); }
.tv-rubt__icon .tv-icon { width: 28px; height: 28px; }
.tv-rubt__band .tv-pill { background: #fff; }
.tv-rubt__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.tv-rubt__name { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.tv-rubt__name a { color: var(--tv-contrast); text-decoration: none; }
.tv-rubt__name a:hover { color: var(--tv-pervenche-text); }
.tv-rubt__line { margin: 0; font-size: .86rem; color: var(--tv-a4); }
.tv-rubt__rows { margin: 6px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--tv-a6); }
.tv-rubt__rows li { border-bottom: 1px solid var(--tv-a6); }
.tv-rubt__rows a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; color: var(--tv-contrast); text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.tv-rubt__rows a:hover { color: var(--tv-pervenche-text); }
.tv-rubt__arrow { flex: none; color: var(--tv-pervenche-text); }
.tv-rubt__empty { margin: 6px 0 0; font-size: .86rem; color: var(--tv-a4); }
.tv-rubt__more { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; font-family: var(--tv-head); font-weight: 700; font-size: .9rem; color: var(--tv-pervenche-text); text-decoration: none; }
.tv-rubt__more:hover { text-decoration: underline; }
@media (min-width: 600px) {
	.tv-rubts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
	.tv-rubts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tv-rubt:nth-child(4n+2) .tv-rubt__band, .tv-rubt:nth-child(4n+3) .tv-rubt__band { background: var(--tv-bricks), var(--tv-a2); }
	.tv-rubt:nth-child(8n+2) .tv-rubt__band, .tv-rubt:nth-child(8n+4) .tv-rubt__band, .tv-rubt:nth-child(8n+5) .tv-rubt__band, .tv-rubt:nth-child(8n+7) .tv-rubt__band { background: var(--tv-bricks), var(--tv-braise); }
}

/* ── Reference guides: magazine on a night band ───── */
.tv-hguides { background: var(--tv-contrast); color: #fff; }
.tv-hguides .tv-section__title { color: #fff; }
.tv-hguides .tv-section__lead { color: var(--tv-on-dark-soft); }
.tv-hguides .tv-section__head--row { align-items: center; }
.tv-mag { display: grid; gap: 16px; }
.tv-mag__feature, .tv-mag__card { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--tv-radius-card); background: #fff; color: var(--tv-contrast); overflow: hidden; }
.tv-mag__media { margin: 0 !important; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tv-a2); }
.tv-mag__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tv-mag__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; flex: 1; padding: 16px 18px 18px; }
.tv-mag__cat { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--tv-head); font-weight: 700; font-size: .8rem; color: var(--tv-pervenche-text); }
.tv-mag__cat .tv-icon { width: 16px; height: 16px; }
.tv-mag__title { margin: 0; font-size: 1.05rem; line-height: 1.3; font-weight: 800; }
.tv-mag__title a { color: var(--tv-contrast); text-decoration: none; }
.tv-mag__title a::after { content: ""; position: absolute; inset: 0; }
.tv-mag__feature:hover .tv-mag__title a, .tv-mag__card:hover .tv-mag__title a { text-decoration: underline; text-decoration-color: var(--tv-a3); text-underline-offset: 4px; }
.tv-mag__feature .tv-mag__title { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.tv-mag__excerpt { margin: 0; color: var(--tv-a4); font-size: .95rem; }
.tv-mag .tv-pill { margin-top: auto; }
.tv-mag__cards { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.tv-mag__more { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.tv-mag__more-title { margin: 0 0 8px; font-family: var(--tv-head); font-weight: 800; }
.tv-mag__more ul { display: grid; gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.tv-mag__more a { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 48px; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-weight: 600; }
.tv-mag__more a:hover { color: var(--tv-a1); }
.tv-mag__more a span:last-child { color: var(--tv-a3); }
@media (min-width: 600px) {
	.tv-mag__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tv-mag__more ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.tv-mag { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
	.tv-mag__feature .tv-mag__media { aspect-ratio: 16 / 9; }
	.tv-mag__cards { gap: 14px; }
	.tv-mag__card { display: grid; grid-template-columns: 40% minmax(0, 1fr); }
	.tv-mag__card .tv-mag__media { aspect-ratio: auto; height: 100%; }
	.tv-mag__card .tv-mag__body { padding: 12px 14px; gap: 6px; }
	.tv-mag__card .tv-mag__title { font-size: .95rem; }
	.tv-mag__cards { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }
}

@media (min-width: 1024px) {
	.tv-section.tv-hguides { padding-block: 64px; }
	.tv-hguides .tv-section__head { margin-bottom: 22px; }
	.tv-mag__feature .tv-mag__media { aspect-ratio: 2 / 1; }
	.tv-mag__feature .tv-mag__body { padding: 18px 22px 20px; }
}
.tv-mag__card { display: grid; grid-template-columns: 38% minmax(0, 1fr); }
.tv-mag__card .tv-mag__media { aspect-ratio: auto; height: 100%; min-height: 120px; }
.tv-mag__card .tv-mag__body { padding: 12px 14px; gap: 6px; }
.tv-mag__card .tv-mag__title { font-size: .95rem; }

/* ── FAQ: question box on the left, one white accordion card on the right ── */
.tv-section.tv-hfaq { background: var(--tv-dots), var(--tv-a5); }
.tv-hfaq__ask { margin-top: 22px; padding: 20px; border-radius: var(--tv-radius-card); background: var(--tv-contrast); color: #fff; }
.tv-hfaq__ask > * { margin: 0 !important; }
.tv-hfaq__ask-title { font-family: var(--tv-head); font-weight: 800; font-size: 1.15rem; }
.tv-hfaq__ask-text { margin-top: 6px !important; color: var(--tv-on-dark-soft); font-size: .95rem; }
.tv-hfaq__ask-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; }
.tv-hfaq__ask .is-style-tv-ghost .wp-block-button__link { color: #fff; border-color: #fff; }
.tv-hfaq__ask .is-style-tv-ghost .wp-block-button__link:hover { background: #fff; color: var(--tv-contrast); }
.tv-hfaq .tv-faq { border-radius: 20px; background: #fff; box-shadow: var(--tv-shadow); overflow: hidden; }
.tv-hfaq .tv-faq details.is-style-tv-faq { margin: 0; border-radius: 0; background: transparent; box-shadow: none; border-bottom: 1px solid var(--tv-a6); }
.tv-hfaq .tv-faq details.is-style-tv-faq:last-child { border-bottom: 0; }
.tv-hfaq .tv-faq details.is-style-tv-faq[open] { box-shadow: inset 4px 0 0 var(--tv-a3); background: #FFFCFA; }
.tv-hfaq details.is-style-tv-faq summary { min-height: 64px; padding: 16px 72px 16px 22px; border-radius: 0; font-size: 1.05rem; }
.tv-hfaq details.is-style-tv-faq summary::before { content: ""; position: absolute; right: 18px; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: var(--tv-a2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F4FCB' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s ease, background-color .2s ease; }
.tv-hfaq details.is-style-tv-faq summary::after { display: none; }
.tv-hfaq details.is-style-tv-faq[open] summary::before { transform: rotate(45deg); background-color: var(--tv-braise); }
.tv-hfaq details.is-style-tv-faq > :not(summary) { padding: 0 22px 20px; color: var(--tv-a4); }
.tv-rubt__name a { display: inline-flex; align-items: center; min-height: 44px; }
