/* ==========================================================================
   The Fashion County — main stylesheet
   Cherry + butter on warm ivory, Bodoni Moda + Plus Jakarta Sans.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--bg: #FBF8F3;
	--surface: #FFFFFF;
	--surface-2: #F4EEE6;
	--surface-3: #EFE6DA;
	--ink: #161214;
	--ink-2: #463E42;
	--muted: #6F6569;
	--line: #E6DDD2;
	--line-2: #D8CDBF;
	--cherry: #B3122E;
	--cherry-2: #8E0E24;
	--cherry-soft: #FBE9EC;
	--butter: #F3D67A;
	--butter-2: #F8E7A8;
	--mocha: #8A6A55;
	--on-cherry: #FFFFFF;
	--dark: #161214;
	--dark-2: #221C1F;
	--on-dark: #F7F1EA;
	--wa: #1FA855;
	--wa-2: #178A45;
	--focus: #1D6FB8;
	--shadow-1: 0 1px 2px rgba(22, 18, 20, .06), 0 2px 8px rgba(22, 18, 20, .05);
	--shadow-2: 0 10px 30px -12px rgba(22, 18, 20, .22), 0 2px 6px rgba(22, 18, 20, .05);
	--shadow-3: 0 24px 60px -20px rgba(22, 18, 20, .35);
	--r-s: 10px;
	--r: 16px;
	--r-l: 24px;
	--r-xl: 32px;
	--serif: 'Bodoni Moda', 'Bodoni 72', Didot, 'Playfair Display', Georgia, 'Times New Roman', serif;
	--sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 76px;
	--sec: var(--cherry);
	color-scheme: light;
}

:root[data-theme="dark"] {
	--bg: #0F0D0E;
	--surface: #181416;
	--surface-2: #1F1A1C;
	--surface-3: #282123;
	--ink: #F5EFE8;
	--ink-2: #D6CCC6;
	--muted: #A69A9E;
	--line: #2F282A;
	--line-2: #3C3336;
	--cherry: #FF5A6E;
	--cherry-2: #FF8494;
	--cherry-soft: #2B1418;
	--butter: #F3D67A;
	--butter-2: #3A321A;
	--mocha: #C9A68F;
	--on-cherry: #1A0A0D;
	--dark: #070606;
	--dark-2: #141112;
	--on-dark: #F7F1EA;
	--shadow-1: 0 1px 2px rgba(0, 0, 0, .5);
	--shadow-2: 0 12px 30px -12px rgba(0, 0, 0, .7);
	--shadow-3: 0 24px 60px -20px rgba(0, 0, 0, .8);
	color-scheme: dark;
}

.tfc-system-fonts {
	--serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
	--sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
@view-transition { navigation: auto; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	font-feature-settings: 'ss01' on;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}
body.tfc-locked { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cherry); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; font-optical-sizing: auto; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--butter); color: #161214; }
.tfc-icon { flex: none; display: inline-block; vertical-align: middle; }

.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 !important;
	width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 1000; padding: 12px 18px;
	background: var(--ink); color: var(--bg); border-radius: 999px; text-decoration: none; font-weight: 700;
}

/* Every layout child can shrink below its content (prevents grid/flex blow-outs). */
.tfc-layout > *, .tfc-grid > *, .tfc-hero__grid > *, .tfc-lab__grid > *, .tfc-gpband__grid > *,
.tfc-toolpage__grid > *, .tfc-contact__grid > *, .tfc-footer__top > *, .tfc-lead > *, .tfc-gp__hero-grid > *,
.tfc-header__inner > *, .tfc-card__body, .tfc-newsband__inner > * { min-width: 0; }

.tfc-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.tfc-wrap--narrow { max-width: 860px; }
.tfc-center { text-align: center; margin-top: 32px; }
.tfc-break { overflow-wrap: anywhere; }

/* ---------- Buttons ---------- */
.tfc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; letter-spacing: .01em;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
	white-space: nowrap;
}
.tfc-btn:hover { transform: translateY(-1px); }
.tfc-btn:active { transform: translateY(0); }
.tfc-btn--primary { background: var(--cherry); color: var(--on-cherry); box-shadow: 0 8px 20px -10px var(--cherry); }
.tfc-btn--primary:hover { background: var(--cherry-2); color: var(--on-cherry); }
.tfc-btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.tfc-btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.tfc-btn--dark { background: var(--ink); color: var(--bg); }
.tfc-btn--dark:hover { background: var(--cherry); color: var(--on-cherry); }
.tfc-btn--light { background: #fff; color: #161214; }
.tfc-btn--light:hover { background: var(--butter); color: #161214; }
.tfc-btn--butter { background: var(--butter); color: #161214; }
.tfc-btn--butter:hover { background: #fff; color: #161214; }
.tfc-btn--wa { background: var(--wa); color: #fff; }
.tfc-btn--wa:hover { background: var(--wa-2); color: #fff; }
.tfc-btn--block { width: 100%; }
.tfc-btn--wa .tfc-wa__text { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.tfc-btn--wa .tfc-wa__sub { font-size: 11.5px; font-weight: 500; opacity: .85; white-space: normal; }
.tfc-linkbtn { background: none; border: 0; padding: 0; color: var(--wa-2); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme="dark"] .tfc-linkbtn { color: #4ADE80; }
.tfc-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative;
	min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid transparent;
	background: transparent; color: var(--ink); text-decoration: none;
}
.tfc-iconbtn:hover { background: var(--surface-2); color: var(--ink); }
.tfc-kbd { font: 600 11px/1 var(--sans); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); background: var(--surface); }
.tfc-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.tfc-more:hover { color: var(--cherry); gap: 10px; }
.tfc-more .tfc-icon { transition: transform .15s; }

/* ---------- Pills, meta, eyebrow ---------- */
.tfc-pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 9px; border-radius: 999px;
	font: 700 11.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	color: var(--sec); background: color-mix(in srgb, var(--sec) 11%, var(--surface));
	border: 1px solid color-mix(in srgb, var(--sec) 22%, transparent);
}
.tfc-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tfc-pill:hover { background: var(--sec); color: #fff; }
:root[data-theme="dark"] .tfc-pill { color: color-mix(in srgb, var(--sec) 55%, #fff); background: color-mix(in srgb, var(--sec) 22%, var(--surface)); }
.tfc-pill--muted { color: var(--muted); background: var(--surface-2); border-color: var(--line); }
.tfc-pill--muted::before { display: none; }
.tfc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 13px; color: var(--muted); }
.tfc-meta__author { font-weight: 600; color: var(--ink-2); }
.tfc-meta__dot { opacity: .6; }
.tfc-eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px;
	font: 700 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sec, var(--cherry));
}
.tfc-eyebrow--light { color: var(--butter); }
.tfc-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #6D4AA6; color: #fff; font-size: 11px; letter-spacing: .08em; }
.tfc-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sec); margin-right: 10px; }

/* ---------- Announcement bar ---------- */
.tfc-announce { background: var(--ink); color: var(--on-dark); font-size: 13.5px; }
:root[data-theme="dark"] .tfc-announce { background: #1C1517; }
.tfc-announce__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.tfc-announce__text { margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.tfc-announce__text .tfc-icon { color: var(--butter); }
.tfc-announce__text a { color: var(--butter); font-weight: 700; text-decoration: none; white-space: nowrap; }
.tfc-announce__text a:hover { text-decoration: underline; color: var(--butter); }
.tfc-announce__side { display: flex; align-items: center; gap: 14px; flex: none; }
.tfc-announce__wa { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: #86EFAC; font-weight: 700; font-size: 13px; padding: 4px 0; }
.tfc-announce__wa:hover { color: #fff; }
.tfc-socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.tfc-socials a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); }
.tfc-socials a:hover { background: var(--cherry); color: #fff; border-color: var(--cherry); }
.tfc-socials--bar a { width: 30px; height: 30px; border-color: rgba(255, 255, 255, .15); color: var(--on-dark); }
.tfc-socials--small a { width: 34px; height: 34px; }

/* ---------- Header ---------- */
.tfc-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 86%, transparent);
	backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .tfc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tfc-header { top: 0; } }
.tfc-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); max-width: 1440px; }
.tfc-brand { flex: none; display: flex; align-items: center; }
.tfc-brand__link, .custom-logo-link { display: block; line-height: 0; }
.tfc-brand .tfc-logo { height: 56px; width: auto; }
.custom-logo { max-height: 60px; width: auto; }
.tfc-logo__ink { fill: var(--ink); }
.tfc-logo__accent { fill: var(--cherry); }
.tfc-logo__tag { fill: var(--muted); }
.tfc-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; overflow: hidden; }
.tfc-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.tfc-menu > li { position: relative; }
.tfc-menu a {
	display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 999px;
	font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; color: var(--ink);
}
.tfc-menu a:hover, .tfc-menu .current-menu-item > a, .tfc-menu .current-menu-ancestor > a, .tfc-menu .current-category-ancestor > a { background: var(--surface-2); color: var(--cherry); }
.tfc-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 8px 0 0; padding: 8px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; z-index: 5;
}
.tfc-menu li:hover > .sub-menu, .tfc-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tfc-menu .sub-menu a { border-radius: 10px; }
.tfc-header__actions { flex: none; display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tfc-searchbtn { border: 1px solid var(--line); padding: 0 8px 0 14px; background: var(--surface); }
.tfc-searchbtn__label { font-size: 14px; color: var(--muted); margin-right: 18px; }
.tfc-savedbtn__count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
	background: var(--cherry); color: var(--on-cherry); font: 700 11px/18px var(--sans); text-align: center;
}
.tfc-themebtn__sun { display: none; }
:root[data-theme="dark"] .tfc-themebtn__sun { display: inline-block; }
:root[data-theme="dark"] .tfc-themebtn__moon { display: none; }
.tfc-header__cta { min-height: 42px; padding: 8px 16px; margin-left: 6px; }
.tfc-menubtn { display: none; }
.tfc-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.tfc-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cherry), var(--butter)); }

@media (max-width: 1399px) {
	.tfc-nav { display: none; }
	.tfc-menubtn { display: inline-flex; }
}
@media (max-width: 1100px) {
	.tfc-searchbtn__label, .tfc-kbd { display: none; }
	.tfc-searchbtn { padding: 0 10px; border-color: transparent; background: transparent; }
}
@media (max-width: 760px) {
	:root { --header-h: 64px; }
	.tfc-header__cta span { display: none; }
	.tfc-header__cta { width: 44px; padding: 0; min-height: 44px; }
	.tfc-brand .tfc-logo { height: 44px; }
	.tfc-announce__side { display: none; }
	.tfc-announce__inner { justify-content: center; text-align: center; }
	.tfc-announce__text { justify-content: center; font-size: 12.5px; padding: 6px 0; }
}
@media (max-width: 480px) {
	.tfc-savedbtn, .tfc-header__cta { display: none; }
	.tfc-header__inner { gap: 8px; }
	.tfc-header__actions { gap: 0; }
	.tfc-brand .tfc-logo { height: 40px; }
}
@media (max-width: 360px) {
	.tfc-brand .tfc-logo { height: 36px; }
	.tfc-iconbtn { min-width: 40px; padding: 0 8px; }
}

/* ---------- Drawer ---------- */
.tfc-drawer { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: flex-end; }
.tfc-drawer__scrim { position: absolute; inset: 0; background: rgba(10, 8, 9, .5); backdrop-filter: blur(3px); animation: tfcFade .2s ease; }
.tfc-drawer__panel {
	position: relative; width: min(420px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain;
	background: var(--bg); padding: 18px 22px 32px; display: flex; flex-direction: column; gap: 18px;
	box-shadow: var(--shadow-3); animation: tfcSlide .25s ease;
}
.tfc-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tfc-drawer__brand .tfc-logo { height: 44px; width: auto; }
.tfc-drawer__menu, .tfc-drawer__sections, .tfc-drawer__links { list-style: none; margin: 0; padding: 0; }
.tfc-drawer__menu a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font: 600 22px/1.2 var(--serif); text-decoration: none; }
.tfc-drawer__menu .sub-menu { list-style: none; padding-left: 14px; margin: 0; }
.tfc-drawer__menu .sub-menu a { font: 600 16px/1.3 var(--sans); }
.tfc-drawer__label { margin: 8px 0 4px; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tfc-drawer__sections { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tfc-drawer__sections a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.tfc-drawer__sections .tfc-icon { color: var(--sec); }
.tfc-drawer__links a { display: flex; align-items: center; gap: 10px; padding: 11px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
@keyframes tfcFade { from { opacity: 0; } }
@keyframes tfcSlide { from { transform: translateX(30px); opacity: 0; } }

/* ---------- Search ---------- */
.tfc-searchform { display: flex; align-items: center; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 999px; padding: 4px 4px 4px 18px; max-width: 560px; }
.tfc-searchform input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0; outline: none; }
.tfc-searchform button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--cherry); color: var(--on-cherry); display: inline-flex; align-items: center; justify-content: center; }
.tfc-searchform:focus-within { border-color: var(--cherry); }
.tfc-palette { position: fixed; inset: 0; z-index: 110; display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.tfc-palette__scrim { position: absolute; inset: 0; background: rgba(10, 8, 9, .55); backdrop-filter: blur(4px); animation: tfcFade .15s; }
.tfc-palette__box { position: relative; width: min(680px, 100%); max-height: 76vh; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow-3); overflow: hidden; border: 1px solid var(--line); animation: tfcPop .18s ease; }
@keyframes tfcPop { from { transform: scale(.97); opacity: 0; } }
.tfc-palette__form { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.tfc-palette__form input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 19px; outline: none; }
.tfc-palette__esc { border: 1px solid var(--line-2); background: var(--surface-2); border-radius: 8px; padding: 4px 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.tfc-palette__results { overflow-y: auto; padding: 10px 10px 16px; }
.tfc-palette__label { margin: 10px 10px 6px; font: 700 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tfc-palette__quick, .tfc-palette__list { list-style: none; margin: 0; padding: 0; }
.tfc-palette__quick a, .tfc-palette__list a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.tfc-palette__quick a:hover, .tfc-palette__list a:hover, .tfc-palette__list a.is-active { background: var(--surface-2); color: var(--ink); }
.tfc-palette__list .tfc-dot { margin: 0; flex: none; }
.tfc-palette__list small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12.5px; white-space: nowrap; }
.tfc-palette__empty { padding: 20px 12px; color: var(--muted); }

/* ---------- Cards ---------- */
.tfc-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.tfc-card__media { display: block; position: relative; overflow: hidden; border-radius: var(--r); background: var(--surface-2); aspect-ratio: 4 / 3; }
.tfc-card__media img, .tfc-card__media .tfc-fallback { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.tfc-card:hover .tfc-card__media img, .tfc-card:hover .tfc-card__media .tfc-fallback { transform: scale(1.04); }
.tfc-card__media::after { content: ''; position: absolute; inset: 0; background: var(--sec); mix-blend-mode: multiply; opacity: 0; transition: opacity .3s; }
.tfc-card:hover .tfc-card__media::after { opacity: .14; }
.tfc-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tfc-card__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tfc-card__title { font-size: clamp(19px, 1.4vw, 22px); line-height: 1.2; margin: 0; }
.tfc-card__title a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.tfc-card__title a:hover { color: var(--ink); background-size: 100% 1px; }
.tfc-card__title a::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.tfc-card__excerpt { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.tfc-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tfc-card .tfc-pill, .tfc-card .tfc-save { position: relative; z-index: 2; }
.tfc-save {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 36px; height: 36px; flex: none;
	border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); transition: .15s;
}
.tfc-save:hover { border-color: var(--cherry); color: var(--cherry); }
.tfc-save[aria-pressed="true"] { background: var(--cherry); border-color: var(--cherry); color: var(--on-cherry); }
.tfc-save[aria-pressed="true"] svg path { fill: currentColor; }
.tfc-save--label { width: auto; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 14px; }

/* Fallback tile when a post has no image */
.tfc-fallback {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	background: linear-gradient(var(--ang, 135deg), color-mix(in srgb, var(--sec) 86%, #000) 0%, var(--sec) 45%, color-mix(in srgb, var(--sec) 55%, #F3D67A) 100%);
	color: rgba(255, 255, 255, .92); position: relative; overflow: hidden; width: 100%; height: 100%;
}
.tfc-fallback::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: calc(var(--r) - 6px) calc(var(--r) - 6px) 8px 8px; border-top-left-radius: 999px 60%; border-top-right-radius: 999px 60%; }
.tfc-fallback__word { font: italic 600 clamp(18px, 2.2vw, 28px)/1 var(--serif); letter-spacing: -.01em; text-align: center; padding: 0 12px; }
.tfc-fallback__icon { opacity: .85; }

/* Overlay variant (hero lead) */
.tfc-card--overlay { height: 100%; min-height: 520px; border-radius: var(--r-l); overflow: hidden; color: #fff; gap: 0; }
.tfc-card--overlay .tfc-card__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.tfc-card--overlay .tfc-card__media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 6, 8, 0) 30%, rgba(10, 6, 8, .82) 100%); }
.tfc-card--overlay .tfc-card__body { position: relative; z-index: 2; margin-top: auto; padding: clamp(22px, 3vw, 40px); gap: 12px; }
.tfc-card--overlay .tfc-card__title { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.05; color: #fff; }
.tfc-card--overlay .tfc-card__title a:hover { color: #fff; }
.tfc-card--overlay .tfc-card__excerpt { color: rgba(255, 255, 255, .85); font-size: 16.5px; max-width: 60ch; }
.tfc-card--overlay .tfc-meta, .tfc-card--overlay .tfc-meta__author { color: rgba(255, 255, 255, .8); }
.tfc-card--overlay .tfc-pill { background: rgba(255, 255, 255, .95); color: var(--sec); border-color: transparent; }
.tfc-card--overlay .tfc-save { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(6px); }

/* Wide (lead in section) */
.tfc-card--wide .tfc-card__media { aspect-ratio: 16 / 10; border-radius: var(--r-l); }
.tfc-card--wide .tfc-card__title { font-size: clamp(24px, 2.4vw, 34px); }

/* List & mini */
.tfc-card--list, .tfc-card--mini { flex-direction: row; align-items: flex-start; gap: 16px; }
.tfc-card--list .tfc-card__media { width: 132px; flex: none; aspect-ratio: 1; border-radius: 14px; }
.tfc-card--list .tfc-card__title { font-size: 18px; }
.tfc-card--mini .tfc-card__media { width: 72px; flex: none; aspect-ratio: 1; border-radius: 12px; }
.tfc-card--mini .tfc-card__title { font-size: 16px; font-family: var(--sans); font-weight: 700; letter-spacing: 0; line-height: 1.35; }
.tfc-card--mini .tfc-fallback__word, .tfc-card--list .tfc-fallback__word { display: none; }
.tfc-card--mini .tfc-fallback::before, .tfc-card--list .tfc-fallback::before { inset: 6px; }

/* Portrait */
.tfc-card--portrait .tfc-card__media { aspect-ratio: 3 / 4; border-radius: var(--r-l); }
.tfc-card--portrait .tfc-card__media img { object-position: center top; }

/* Numbered */
.tfc-card--num { flex-direction: row; gap: 16px; align-items: flex-start; }
.tfc-card__num { font: italic 600 40px/0.9 var(--serif); color: var(--cherry); min-width: 48px; opacity: .9; }
.tfc-card--num .tfc-card__title { font-size: 17.5px; line-height: 1.3; }
.tfc-card--num .tfc-card__body { gap: 6px; }
.tfc-card--num .tfc-pill { align-self: flex-start; }
.tfc-numlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tfc-numlist > li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.tfc-numlist > li:last-child { border-bottom: 0; }

/* Grids */
.tfc-grid { display: grid; gap: clamp(22px, 2.6vw, 36px); }
.tfc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tfc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tfc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tfc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tfc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tfc-grid--2, .tfc-grid--3, .tfc-grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* Block heads */
.tfc-bhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 2.4vw, 32px); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tfc-bhead__text { min-width: 0; }
.tfc-bhead__title { font-size: clamp(30px, 3.4vw, 48px); margin: 0; }
.tfc-bhead .tfc-eyebrow { margin-bottom: 8px; }

/* ---------- Home: stories ---------- */
.tfc-stories { padding: 22px 0 6px; }
.tfc-stories__list { list-style: none; margin: 0; padding: 4px 2px 10px; display: flex; gap: clamp(14px, 2vw, 26px); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.tfc-stories__list::-webkit-scrollbar { display: none; }
.tfc-stories__list > li { scroll-snap-align: start; flex: none; }
.tfc-stories__item { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; text-decoration: none; text-align: center; }
.tfc-stories__ring { display: block; padding: 3px; border-radius: 50%; background: conic-gradient(from 200deg, var(--sec), var(--butter), var(--sec)); transition: transform .2s; }
.tfc-stories__item:not(.is-new) .tfc-stories__ring { background: var(--line-2); }
.tfc-stories__item:hover .tfc-stories__ring { transform: scale(1.06); background: conic-gradient(from 200deg, var(--sec), var(--butter), var(--sec)); }
.tfc-stories__img { display: flex; width: 74px; height: 74px; border-radius: 50%; overflow: hidden; border: 3px solid var(--bg); background: color-mix(in srgb, var(--sec) 14%, var(--surface)); align-items: center; justify-content: center; color: var(--sec); }
.tfc-stories__img img { width: 100%; height: 100%; object-fit: cover; }
.tfc-stories__name { font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--ink-2); }

/* ---------- Home: hero ---------- */
.tfc-hero { padding: 18px 0 clamp(36px, 5vw, 64px); }
.tfc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .9fr) minmax(0, .95fr); gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
.tfc-hero__stack { display: grid; gap: 26px; align-content: start; }
.tfc-hero__stack .tfc-card__media { aspect-ratio: 16 / 11; }
.tfc-hero__trend { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px 22px; display: flex; flex-direction: column; }
.tfc-hero__trend .tfc-eyebrow { --sec: var(--cherry); }
.tfc-hero__gp { margin-top: auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 16px 18px; border-radius: var(--r); text-decoration: none; background: var(--ink); color: var(--bg); }
.tfc-hero__gp:hover { background: var(--cherry); color: var(--on-cherry); }
.tfc-hero__gp-k { grid-column: 1; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--butter); }
.tfc-hero__gp:hover .tfc-hero__gp-k { color: inherit; }
.tfc-hero__gp-t { grid-column: 1; font: 600 18px/1.2 var(--serif); }
.tfc-hero__gp .tfc-icon { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 1180px) {
	.tfc-hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.tfc-hero__trend { grid-column: 1 / -1; }
	.tfc-hero__trend .tfc-numlist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
	.tfc-hero__trend .tfc-numlist > li:nth-last-child(2) { border-bottom: 0; }
}
@media (max-width: 760px) {
	.tfc-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.tfc-card--overlay { min-height: 440px; }
	.tfc-hero__trend .tfc-numlist { grid-template-columns: minmax(0, 1fr); }
	.tfc-hero__trend .tfc-numlist > li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Home: ticker ---------- */
.tfc-ticker { display: flex; align-items: stretch; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--butter); color: #161214; overflow: hidden; }
:root[data-theme="dark"] .tfc-ticker { background: #2A2412; color: var(--butter); }
.tfc-ticker__label { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 20px; background: var(--ink); color: var(--butter); font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; z-index: 1; }
.tfc-ticker__track { display: flex; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tfc-ticker__list { list-style: none; margin: 0; padding: 0; display: flex; flex: none; animation: tfcMarquee 48s linear infinite; }
.tfc-ticker:hover .tfc-ticker__list, .tfc-ticker:focus-within .tfc-ticker__list { animation-play-state: paused; }
.tfc-ticker__list li { display: flex; align-items: center; }
.tfc-ticker__list li::after { content: '✦'; font-size: 12px; opacity: .6; }
.tfc-ticker__list a { display: block; padding: 14px 22px; font: italic 600 20px/1 var(--serif); text-decoration: none; white-space: nowrap; }
.tfc-ticker__list a:hover { color: var(--cherry); }
@keyframes tfcMarquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .tfc-ticker__list { animation: none; } .tfc-ticker__track { overflow-x: auto; } }

/* ---------- Home: Style Lab band ---------- */
.tfc-lab { padding: clamp(48px, 7vw, 96px) 0; background: radial-gradient(1200px 500px at 90% 0%, color-mix(in srgb, var(--butter) 40%, transparent), transparent 60%), var(--surface-2); }
.tfc-lab__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.tfc-lab__title { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; margin-bottom: 16px; }
.tfc-lab__title em { color: var(--cherry); font-style: italic; }
.tfc-lab__lede { font-size: 18px; color: var(--ink-2); max-width: 56ch; }
.tfc-lab .tfc-tools-grid { margin: 26px 0 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tfc-lab__try { position: sticky; top: calc(var(--header-h) + 20px); }
.tfc-lab__try-k { margin: 0 0 10px; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 980px) { .tfc-lab__grid { grid-template-columns: minmax(0, 1fr); } .tfc-lab__try { position: static; } }
@media (max-width: 560px) { .tfc-lab .tfc-tools-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Home: section blocks ---------- */
.tfc-block { padding: clamp(40px, 5vw, 72px) 0 0; }
.tfc-block .tfc-bhead { border-bottom-color: color-mix(in srgb, var(--sec) 30%, var(--line)); }
.tfc-block .tfc-bhead__title { position: relative; }
.tfc-block .tfc-bhead__title::after { content: '.'; color: var(--sec); }
.tfc-lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); }
.tfc-lead__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-content: start; }
.tfc-lead__list > li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.tfc-lead__list > li:first-child { padding-top: 0; }
.tfc-lead__list > li:last-child { border-bottom: 0; }
@media (max-width: 900px) { .tfc-lead { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .tfc-card--list .tfc-card__media { width: 96px; } .tfc-card--list .tfc-card__title { font-size: 16.5px; } .tfc-card--list .tfc-card__foot .tfc-save { display: none; } }
.tfc-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 5 * 24px) / 4.3)); gap: 24px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tfc-strip > * { scroll-snap-align: start; }
.tfc-strip:focus-visible { outline-offset: 6px; }
@media (max-width: 640px) { .tfc-strip { grid-auto-columns: 76%; } }

/* Picks (dark) */
.tfc-picks { margin-top: clamp(48px, 6vw, 88px); padding: clamp(48px, 6vw, 88px) 0; background: var(--dark); color: var(--on-dark); }
.tfc-picks .tfc-bhead { border-color: rgba(255, 255, 255, .12); }
.tfc-picks .tfc-eyebrow { color: var(--butter); }
.tfc-picks .tfc-card__title a:hover { color: var(--on-dark); }
.tfc-picks .tfc-meta, .tfc-picks .tfc-meta__author { color: rgba(247, 241, 234, .7); }
.tfc-picks .tfc-save { background: transparent; border-color: rgba(255, 255, 255, .25); color: var(--on-dark); }
.tfc-picks .tfc-pill { background: rgba(255, 255, 255, .08); color: color-mix(in srgb, var(--sec) 45%, #fff); border-color: rgba(255, 255, 255, .12); }

/* Guest post band */
.tfc-gpband { margin-top: clamp(48px, 6vw, 88px); padding: clamp(48px, 6vw, 84px) 0; color: #fff; background: radial-gradient(900px 400px at 0% 100%, rgba(243, 214, 122, .25), transparent 60%), linear-gradient(120deg, #8E0E24, #B3122E 55%, #C9364E); }
.tfc-gpband__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.tfc-gpband__title { font-size: clamp(32px, 4vw, 56px); line-height: 1.04; color: #fff; }
.tfc-gpband__title em { color: var(--butter); }
.tfc-gpband__lede { font-size: 18px; color: rgba(255, 255, 255, .88); max-width: 58ch; }
.tfc-gpband__actions, .tfc-gp__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tfc-gpband__stats, .tfc-gp__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.tfc-gpband__stats > div, .tfc-gp__stats > div { padding: 20px; border-radius: var(--r); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.tfc-gpband__stats dt, .tfc-gp__stats dt { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .82; font-weight: 700; }
.tfc-gpband__stats dd, .tfc-gp__stats dd { margin: 6px 0 0; font: 600 clamp(28px, 3vw, 40px)/1 var(--serif); }
@media (max-width: 900px) { .tfc-gpband__grid { grid-template-columns: minmax(0, 1fr); } }

/* Newsletter band */
.tfc-newsband { margin-top: clamp(48px, 6vw, 88px); }
.tfc-newsband__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); background: var(--butter-2); border-radius: var(--r-xl); position: relative; overflow: hidden; }
:root[data-theme="dark"] .tfc-newsband__inner { background: #221D10; }
.tfc-newsband__inner { max-width: calc(var(--wrap) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); padding-left: clamp(22px, 4vw, 56px); padding-right: clamp(22px, 4vw, 56px); }
.tfc-newsband__title { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 8px; }
.tfc-newsband__text p:last-child { margin: 0; color: var(--ink-2); }
.tfc-news-form { display: flex; gap: 8px; flex-wrap: wrap; }
.tfc-news-form input[type="email"] { flex: 1 1 220px; min-width: 0; min-height: 50px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); }
.tfc-news-form input[type="email"]:focus { border-color: var(--cherry); outline: none; }
.tfc-news-form--side { flex-direction: column; }
.tfc-news-form--side input[type="email"] { flex: none; width: 100%; min-height: 46px; }
.tfc-news-msg { margin: 10px 0 0; font-size: 14.5px; font-weight: 600; }
.tfc-news-msg--ok { color: #15803D; }
.tfc-news-msg--err { color: var(--cherry); }
:root[data-theme="dark"] .tfc-news-msg--ok { color: #4ADE80; }
@media (max-width: 820px) { .tfc-newsband__inner { grid-template-columns: minmax(0, 1fr); } }

/* Latest + sidebar */
.tfc-latest { padding: clamp(48px, 6vw, 88px) 0 clamp(48px, 6vw, 80px); }
.tfc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 1080px) { .tfc-layout { grid-template-columns: minmax(0, 1fr); } }
.tfc-empty { padding: 48px 0; text-align: center; }
.tfc-empty__sub { font-size: 24px; margin-top: 32px; }

/* ---------- Sidebar ---------- */
.tfc-sidebar { display: grid; gap: 24px; }
@media (max-width: 1080px) { .tfc-sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.tfc-side-card { padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.tfc-side-card p { font-size: 15px; color: var(--ink-2); }
.tfc-side-card__title { font-size: 24px; margin-bottom: 12px; }
.tfc-side-card--lab .tfc-eyebrow { --sec: #6D4AA6; }
.tfc-side-card--gp { background: linear-gradient(140deg, #8E0E24, #B3122E); color: #fff; border: 0; }
.tfc-side-card--gp .tfc-side-card__title { color: #fff; }
.tfc-side-card--gp p { color: rgba(255, 255, 255, .88); }
.tfc-side-card--gp .tfc-eyebrow { color: var(--butter); }
.tfc-side-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tfc-side-card__actions .tfc-btn { flex: 1 1 auto; }
.tfc-side-tools { list-style: none; margin: 0 0 14px; padding: 0; }
.tfc-side-tools a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; }
.tfc-side-tools .tfc-icon { color: #6D4AA6; }
:root[data-theme="dark"] .tfc-side-tools .tfc-icon { color: #B79BE8; }
.tfc-widget { padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.tfc-widget__title { font-size: 22px; }
.tfc-widget ul { padding-left: 18px; }
.tfc-mini-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }

/* ---------- Breadcrumbs & archive heads ---------- */
.tfc-crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13.5px; color: var(--muted); }
.tfc-crumbs li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tfc-crumbs li + li::before { content: '/'; opacity: .5; }
.tfc-crumbs a { text-decoration: none; }
.tfc-crumbs a:hover { text-decoration: underline; }
.tfc-crumbs [aria-current] { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.tfc-archive__head { padding: clamp(28px, 4vw, 56px) 0 clamp(28px, 4vw, 48px); margin-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); background: var(--surface-2); }
.tfc-archive__head--sec { background: radial-gradient(900px 300px at 100% 0%, color-mix(in srgb, var(--sec) 16%, transparent), transparent 70%), color-mix(in srgb, var(--sec) 5%, var(--bg)); }
.tfc-archive__title { font-size: clamp(40px, 6vw, 84px); line-height: 1; margin-bottom: 14px; overflow-wrap: anywhere; }
.tfc-archive__head--sec .tfc-archive__title::after { content: '.'; color: var(--sec); }
.tfc-archive__desc { font-size: 18px; color: var(--ink-2); max-width: 64ch; margin: 0; }
.tfc-archive__head .tfc-searchform { margin-top: 20px; }
.tfc-chiplinks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tfc-chiplinks a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; }
.tfc-chiplinks a:hover { border-color: var(--sec, var(--cherry)); color: var(--sec, var(--cherry)); }
.tfc-archive .tfc-layout { padding-bottom: clamp(48px, 6vw, 80px); }
.tfc-pagination { margin-top: 48px; }
.tfc-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tfc-pagination a, .tfc-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.tfc-pagination .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tfc-pagination a:hover { border-color: var(--cherry); color: var(--cherry); }

/* ---------- Article ---------- */
.tfc-article__head { padding: clamp(24px, 4vw, 48px) 0 28px; text-align: center; }
.tfc-article__head .tfc-crumbs ol { justify-content: center; }
.tfc-article__kicker { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tfc-article__title { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.04; margin: 0 auto 18px; max-width: 20ch; letter-spacing: -.02em; }
.tfc-article__dek { font: italic 400 clamp(19px, 1.8vw, 23px)/1.45 var(--serif); color: var(--ink-2); max-width: 46ch; margin: 0 auto 26px; }
.tfc-article__byline { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; margin-bottom: 22px; }
.tfc-article__avatar { border-radius: 50%; width: 44px; height: 44px; }
.tfc-article__author { margin: 0; font-weight: 700; font-size: 15px; }
.tfc-article__author a { text-decoration: none; }
.tfc-article__role { font-weight: 500; color: var(--muted); }
.tfc-article__dates { margin: 0; font-size: 13.5px; color: var(--muted); }
.tfc-share { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.tfc-share__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 14px; }
.tfc-share__btn:hover { color: var(--cherry); border-color: var(--cherry); }
.tfc-share .tfc-save--label { height: 40px; }
.tfc-article__hero { margin: 0 auto clamp(28px, 4vw, 48px); max-width: 1200px; }
.tfc-article__hero img { width: 100%; border-radius: var(--r-l); aspect-ratio: 16 / 9; object-fit: cover; }
.tfc-article__hero figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.tfc-layout--article { padding-bottom: clamp(40px, 5vw, 72px); grid-template-columns: minmax(0, 760px) 320px; justify-content: center; }
@media (max-width: 1080px) { .tfc-layout--article { grid-template-columns: minmax(0, 760px); } }
.tfc-disclosure { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); font-size: 14.5px; color: var(--ink-2); }
.tfc-takeaways { margin: 0 0 32px; padding: 24px 26px; border-radius: var(--r-l); background: var(--butter-2); border: 1px solid color-mix(in srgb, var(--butter) 60%, transparent); }
:root[data-theme="dark"] .tfc-takeaways { background: #231E12; border-color: #3A3218; }
.tfc-takeaways__title { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tfc-takeaways ul { margin: 0; padding-left: 20px; }
.tfc-takeaways li { margin: 6px 0; font-weight: 500; }
.tfc-healthnote { display: flex; gap: 10px; align-items: flex-start; margin: 32px 0 0; padding: 14px 16px; border-left: 3px solid #1D6FB8; background: var(--surface-2); font-size: 14.5px; color: var(--ink-2); border-radius: 0 12px 12px 0; }
.tfc-tags { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tfc-tags a { display: inline-block; padding: 6px 13px; border-radius: 999px; background: var(--surface-2); text-decoration: none; font-weight: 600; font-size: 14px; }
.tfc-tags a:hover { background: var(--cherry); color: var(--on-cherry); }
.tfc-article__share-end { margin: 40px 0; padding: 24px; border-radius: var(--r-l); border: 1px dashed var(--line-2); text-align: center; }
.tfc-article__share-end p { margin-bottom: 14px; font: italic 600 22px/1.2 var(--serif); }

/* Prose */
.tfc-prose { font-size: 18.5px; line-height: 1.75; color: var(--ink); }
.tfc-prose > * { margin-top: 0; margin-bottom: 1.15em; }
.tfc-prose h2 { font-size: clamp(28px, 2.8vw, 38px); margin: 1.8em 0 .55em; }
.tfc-prose h3 { font-size: clamp(22px, 2vw, 27px); margin: 1.6em 0 .5em; }
.tfc-prose h4 { font-family: var(--sans); font-size: 19px; font-weight: 700; letter-spacing: 0; margin: 1.4em 0 .5em; }
.tfc-prose a { color: var(--cherry); text-decoration: underline; text-decoration-thickness: 1.5px; }
.tfc-prose a:hover { color: var(--cherry-2); }
.tfc-prose ul, .tfc-prose ol { padding-left: 1.3em; }
.tfc-prose li { margin: .4em 0; }
.tfc-prose li::marker { color: var(--cherry); }
.tfc-prose blockquote { margin: 1.8em 0; padding: 0 0 0 24px; border-left: 3px solid var(--cherry); font: italic 500 24px/1.4 var(--serif); color: var(--ink); }
.tfc-prose img, .tfc-prose figure img { border-radius: var(--r); }
.tfc-prose figure { margin: 2em 0; }
.tfc-prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.tfc-prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.tfc-prose th, .tfc-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.tfc-prose th { background: var(--surface-2); font-weight: 700; }
.tfc-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.tfc-prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.tfc-prose .alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
@media (max-width: 1000px) { .tfc-prose .alignwide { margin-left: 0; margin-right: 0; } }
.tfc-prose--full > * { max-width: 760px; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.tfc-prose--full > .alignfull { max-width: none; padding: 0; }
.tfc-prose--full > .alignwide { max-width: var(--wrap); }
.tfc-h-anchor { scroll-margin-top: 0; }
@media (max-width: 640px) { .tfc-prose { font-size: 17.5px; } }

/* TOC */
.tfc-toc { margin: 0 0 2em; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); overflow: hidden; }
.tfc-toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; }
.tfc-toc summary::-webkit-details-marker { display: none; }
.tfc-toc details[open] summary .tfc-icon { transform: rotate(180deg); }
.tfc-toc__title { font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tfc-toc__list { margin: 0 !important; padding: 0 22px 18px 44px !important; counter-reset: toc; font-size: 16px; line-height: 1.45; }
.tfc-toc__list li { margin: 8px 0; }
.tfc-toc__list li::marker { color: var(--cherry); font-weight: 700; }
.tfc-toc__list ol { padding-left: 18px; margin: 6px 0; list-style: lower-alpha; }
.tfc-toc a { color: var(--ink-2) !important; text-decoration: none !important; }
.tfc-toc a:hover, .tfc-toc a.is-active { color: var(--cherry) !important; }
.tfc-toc a.is-active { font-weight: 700; }

/* Shortcodes */
.tfc-callout { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r); background: var(--cherry-soft); border: 1px solid color-mix(in srgb, var(--cherry) 18%, transparent); font-size: 17px; }
.tfc-callout .tfc-icon { color: var(--cherry); margin-top: 3px; }
.tfc-callout--note { background: var(--surface-2); border-color: var(--line); }
.tfc-callout--note .tfc-icon { color: var(--mocha); }
.tfc-callout--warn { background: color-mix(in srgb, #1D6FB8 8%, var(--surface)); border-color: color-mix(in srgb, #1D6FB8 22%, transparent); }
.tfc-callout--warn .tfc-icon { color: #1D6FB8; }
.tfc-callout__title { margin: 0 0 4px !important; font: 700 13px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.tfc-callout p:last-child { margin-bottom: 0; }
.tfc-shop { padding: 22px; border-radius: var(--r-l); background: var(--surface-2); }
.tfc-shop__title { display: flex; gap: 8px; align-items: center; font: 700 13px/1 var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px !important; }
.tfc-shop__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.tfc-shop__item { background: var(--surface); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.tfc-shop__img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface-2); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.tfc-shop__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.tfc-shop__brand { margin: 0 !important; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tfc-shop__name { margin: 0 !important; font-weight: 700; line-height: 1.3; }
.tfc-shop__price { margin: 0 !important; color: var(--cherry); font-weight: 700; }
.tfc-shop__btn { margin-top: auto; padding: 8px 12px; border-radius: 999px; background: var(--ink); color: var(--bg) !important; text-align: center; text-decoration: none !important; font-weight: 700; font-size: 13.5px; }
.tfc-shop__note { font-size: 13px; color: var(--muted); margin: 12px 0 0 !important; }
.tfc-steps { list-style: none; padding: 0 !important; counter-reset: step; display: grid; gap: 14px; }
.tfc-steps__item { counter-increment: step; position: relative; padding: 18px 20px 18px 70px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); margin: 0 !important; }
.tfc-steps__item::before { content: counter(step); position: absolute; left: 20px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--cherry); color: var(--on-cherry); display: flex; align-items: center; justify-content: center; font: 700 15px/1 var(--sans); }
.tfc-steps__title { margin: 0 0 4px !important; font-weight: 700; font-size: 17px; }
.tfc-steps__item div p:last-child { margin-bottom: 0; }
.tfc-steps__item div { font-size: 16.5px; line-height: 1.6; }
.tfc-pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .tfc-pc { grid-template-columns: minmax(0, 1fr); } }
.tfc-pc__col { padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.tfc-pc__col--pro { border-top: 4px solid #1F7A5A; }
.tfc-pc__col--con { border-top: 4px solid var(--cherry); }
.tfc-pc__title { font: 700 13px/1 var(--sans) !important; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px !important; }
.tfc-pc ul { list-style: none; margin: 0; padding: 0 !important; }
.tfc-pc li { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; font-size: 16px; line-height: 1.5; }
.tfc-pc__col--pro .tfc-icon { color: #1F7A5A; margin-top: 3px; }
.tfc-pc__col--con .tfc-icon { color: var(--cherry); margin-top: 3px; }
:root[data-theme="dark"] .tfc-pc__col--pro .tfc-icon { color: #4ADE80; }
.tfc-nutri { padding: 20px 22px; border-radius: var(--r); border: 2px solid var(--ink); background: var(--surface); max-width: 380px; font-size: 15.5px; }
.tfc-nutri__title { font-weight: 800; margin: 0 0 6px !important; }
.tfc-nutri__title span { font-weight: 500; color: var(--muted); }
.tfc-nutri__kcal { font-size: 15px; margin: 0 0 8px !important; padding-bottom: 8px; border-bottom: 6px solid var(--ink); }
.tfc-nutri__kcal strong { font: 700 34px/1 var(--serif); }
.tfc-nutri dl { margin: 0; }
.tfc-nutri dl div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }
.tfc-nutri dt { font-weight: 600; }
.tfc-nutri dd { margin: 0; font-weight: 700; }
.tfc-nutri__note { font-size: 12.5px; color: var(--muted); margin: 8px 0 0 !important; }
.tfc-faq { display: grid; gap: 10px; }
.tfc-faq__item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.tfc-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 700; font-size: 17px; line-height: 1.4; }
.tfc-faq__item summary::-webkit-details-marker { display: none; }
.tfc-faq__item summary .tfc-icon { transition: transform .2s; color: var(--cherry); }
.tfc-faq__item[open] summary .tfc-icon { transform: rotate(180deg); }
.tfc-faq__a { padding: 0 20px 16px; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.tfc-faq__a p:last-child { margin: 0; }
.tfc-attached-tool { margin-top: 2.4em; }

/* Author box, post nav, related, comments */
.tfc-authorbox { display: flex; gap: 20px; align-items: flex-start; margin: 40px 0; padding: 26px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.tfc-authorbox__avatar { border-radius: 50%; width: 88px; height: 88px; flex: none; }
.tfc-authorbox__body { min-width: 0; }
.tfc-authorbox .tfc-eyebrow { margin-bottom: 4px; }
.tfc-authorbox__name { font-size: 26px; margin: 0 0 2px; }
.tfc-authorbox__name a { text-decoration: none; }
.tfc-authorbox__role { font-size: 14px; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.tfc-authorbox__bio { font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 560px) { .tfc-authorbox { flex-direction: column; } }
.tfc-postnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 32px 0; }
.tfc-postnav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; font: 600 18px/1.3 var(--serif); }
.tfc-postnav a span { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tfc-postnav__next { text-align: right; grid-column: 2; }
.tfc-postnav a:hover { border-color: var(--cherry); }
@media (max-width: 560px) { .tfc-postnav { grid-template-columns: minmax(0, 1fr); } .tfc-postnav__next { grid-column: 1; } }
.tfc-related { padding: clamp(40px, 5vw, 72px) 0; background: var(--surface-2); }
.tfc-comments { margin-top: 40px; }
.tfc-comments__title { font-size: 28px; }
.tfc-comments__list { list-style: none; padding: 0; margin: 0 0 32px; }
.tfc-comments__list .children { list-style: none; padding-left: clamp(16px, 4vw, 40px); }
.tfc-comments__list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.tfc-comments__list .comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.tfc-comments__list .comment-meta a { color: var(--muted); font-size: 13px; text-decoration: none; }
.comment-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.comment-form-cookies-consent label { font-weight: 500; }

/* ---------- Pages ---------- */
.tfc-page__head { padding: clamp(28px, 4vw, 56px) 0 clamp(24px, 3vw, 40px); }
.tfc-page__title { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; margin-bottom: 12px; }
.tfc-page__dek { font-size: 19px; color: var(--ink-2); max-width: 60ch; margin: 0; }
.tfc-page__hero img { border-radius: var(--r-l); margin-bottom: 32px; }
.tfc-page { padding-bottom: clamp(48px, 6vw, 88px); }
.tfc-page--full { padding-bottom: 0; }
.tfc-contact__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tfc-contact__side { display: grid; gap: 18px; }
@media (max-width: 900px) { .tfc-contact__grid { grid-template-columns: minmax(0, 1fr); } }

/* Authors */
.tfc-authors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.tfc-authors__item { display: flex; gap: 18px; padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.tfc-authors__item img { border-radius: 50%; width: 96px; height: 96px; flex: none; }
.tfc-authors__item > div { min-width: 0; }
.tfc-authors__name { font-size: 26px; margin: 0; }
.tfc-authors__name a { text-decoration: none; }
.tfc-authors__role { font-weight: 700; color: var(--cherry); font-size: 14px; margin: 2px 0 8px; }
.tfc-authors__bio { font-size: 15px; color: var(--ink-2); }
.tfc-authors__count { font-size: 13px; color: var(--muted); font-weight: 600; }
@media (max-width: 480px) { .tfc-authors__item { flex-direction: column; } }
.tfc-author__head { padding: clamp(28px, 4vw, 56px) 0; margin-bottom: clamp(28px, 4vw, 48px); background: var(--dark); color: var(--on-dark); }
.tfc-author__head .tfc-crumbs ol, .tfc-author__head .tfc-crumbs [aria-current] { color: rgba(247, 241, 234, .7); }
.tfc-author__card { display: flex; gap: clamp(18px, 3vw, 36px); align-items: flex-start; }
.tfc-author__card > div { min-width: 0; }
.tfc-author__avatar { border-radius: 50%; width: 120px; height: 120px; flex: none; border: 4px solid rgba(255, 255, 255, .12); }
.tfc-author__bio { font-size: 18px; color: rgba(247, 241, 234, .85); max-width: 64ch; }
.tfc-author__facts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14.5px; color: rgba(247, 241, 234, .8); }
.tfc-author__facts strong { color: var(--butter); font-weight: 700; margin-right: 4px; }
.tfc-author__head .tfc-socials a { color: var(--on-dark); border-color: rgba(255, 255, 255, .2); }
.tfc-author__latest { font-size: 32px; margin-bottom: 24px; }
@media (max-width: 640px) { .tfc-author__card { flex-direction: column; } .tfc-author__avatar { width: 88px; height: 88px; } }

/* 404 */
.tfc-404 { padding: clamp(48px, 7vw, 96px) 0; }
.tfc-404__inner { text-align: center; }
.tfc-404__code { font: italic 600 clamp(110px, 20vw, 220px)/.9 var(--serif); color: var(--cherry); margin: 0; letter-spacing: -.04em; }
.tfc-404__title { font-size: clamp(32px, 4vw, 52px); }
.tfc-404 .tfc-searchform { margin: 24px auto; }
.tfc-404 .tfc-chiplinks { justify-content: center; }
.tfc-404__recent { margin-top: 64px; }

/* ---------- Style Lab: hub, tool page, tool widget ---------- */
.tfc-hub__head, .tfc-toolpage__head { padding: clamp(28px, 4vw, 56px) 0 clamp(24px, 3vw, 40px); background: radial-gradient(900px 360px at 100% 0%, color-mix(in srgb, var(--sec, #6D4AA6) 14%, transparent), transparent 70%), var(--surface-2); border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px); }
.tfc-hub__head { --sec: #6D4AA6; }
.tfc-hub__title, .tfc-toolpage__title { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; margin-bottom: 14px; }
.tfc-hub__lede, .tfc-toolpage__lede { font-size: 19px; color: var(--ink-2); max-width: 62ch; margin: 0; }
.tfc-hub__jump ul { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tfc-hub__jump a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14.5px; }
.tfc-hub__jump a::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sec); }
.tfc-hub__group { margin-bottom: clamp(40px, 5vw, 64px); }
.tfc-hub__ghead { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 2px solid var(--sec); }
.tfc-hub__ghead h2 { font-size: clamp(28px, 3vw, 40px); margin: 0; }
.tfc-hub__ghead p { margin: 0; color: var(--muted); max-width: 60ch; }
.tfc-hub__note, .tfc-hub__intro { color: var(--muted); font-size: 14.5px; margin-bottom: 64px; }
.tfc-tools-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.tfc-toolcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.tfc-toolcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--sec) 40%, var(--line)); }
.tfc-toolcard__icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--sec) 12%, var(--surface)); color: var(--sec); }
:root[data-theme="dark"] .tfc-toolcard__icon { color: color-mix(in srgb, var(--sec) 50%, #fff); background: color-mix(in srgb, var(--sec) 24%, var(--surface)); }
.tfc-toolcard__title { font-family: var(--sans); font-size: 17px; font-weight: 800; letter-spacing: 0; line-height: 1.3; margin: 4px 0 0; }
.tfc-toolcard__title a { text-decoration: none; }
.tfc-toolcard__title a::before { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.tfc-toolcard__desc { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.tfc-toolcard__badge { position: absolute; top: 18px; right: 18px; padding: 3px 9px; border-radius: 999px; font: 800 11px/1.3 var(--sans); letter-spacing: .1em; color: #fff; background: linear-gradient(120deg, #6D4AA6, #C2417A); }
.tfc-toolpage { padding-bottom: clamp(48px, 6vw, 88px); }
.tfc-toolpage__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.tfc-toolpage__side { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.tfc-toolpage__side .tfc-tools-grid { grid-template-columns: minmax(0, 1fr); }
.tfc-toolpage__side .tfc-toolcard { padding: 16px; }
.tfc-toolpage__side .tfc-toolcard__desc { display: none; }
.tfc-toolpage__copy { margin-top: 48px; max-width: 760px; }
@media (max-width: 1080px) { .tfc-toolpage__grid { grid-template-columns: minmax(0, 1fr); } .tfc-toolpage__side { position: static; } .tfc-toolpage__side .tfc-tools-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); } }

.tfc-tool { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow-1); position: relative; }
.tfc-tool--embed { border-radius: var(--r-l); padding: clamp(18px, 2.4vw, 28px); }
.tfc-tool--ai { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(120deg, #6D4AA6, #C2417A, #F3D67A) border-box; border: 2px solid transparent; }
.tfc-tool__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--sec); }
.tfc-tool__name { margin: 0; font: 600 24px/1.2 var(--serif); color: var(--ink); }
.tfc-tool__name a { text-decoration: none; }
.tfc-tool__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.tfc-tool--embed .tfc-tool__fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.tfc-tf { min-width: 0; }
.tfc-tf--radio, .tfc-tf--checks, .tfc-tf--text { grid-column: 1 / -1; }
.tfc-tf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.tfc-tf legend, .tfc-tf__label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14.5px; color: var(--ink); padding: 0; }
.tfc-tf__help { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.tfc-tf__row { display: flex; gap: 10px; }
.tfc-tf__row .tfc-input { flex: 1; }
.tfc-input { position: relative; display: flex; align-items: center; }
.tfc-input input { width: 100%; min-width: 0; min-height: 50px; padding: 10px 52px 10px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg); font-size: 17px; font-weight: 600; -moz-appearance: textfield; }
.tfc-input input[type="text"], .tfc-input input[type="time"], .tfc-input input[type="date"] { padding-right: 16px; }
.tfc-input input::-webkit-outer-spin-button, .tfc-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tfc-input input:focus { outline: none; border-color: var(--sec); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sec) 16%, transparent); }
.tfc-input input[aria-invalid="true"] { border-color: #C0392B; }
.tfc-input__unit { position: absolute; right: 16px; font-size: 14px; font-weight: 700; color: var(--muted); pointer-events: none; }
.tfc-select { position: relative; }
.tfc-select select { width: 100%; min-height: 50px; padding: 10px 44px 10px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg); font-size: 16px; font-weight: 600; -webkit-appearance: none; appearance: none; }
.tfc-select select:focus { outline: none; border-color: var(--sec); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sec) 16%, transparent); }
.tfc-select .tfc-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.tfc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tfc-chip { position: relative; }
.tfc-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tfc-chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--bg); font-weight: 600; font-size: 14.5px; line-height: 1.3; cursor: pointer; transition: .15s; }
.tfc-chip span:hover { border-color: var(--sec); }
.tfc-chip input:checked + span { background: var(--sec); border-color: var(--sec); color: #fff; }
.tfc-chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.tfc-units { display: inline-flex; padding: 4px; margin-bottom: 20px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.tfc-units label { position: relative; }
.tfc-units input { position: absolute; opacity: 0; }
.tfc-units span { display: block; padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--muted); }
.tfc-units input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.tfc-units input:focus-visible + span { outline: 3px solid var(--focus); }
.tfc-tool__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tfc-tool .tfc-btn--primary { background: var(--sec); box-shadow: 0 8px 20px -10px var(--sec); color: #fff; }
.tfc-tool .tfc-btn--primary:hover { background: color-mix(in srgb, var(--sec) 80%, #000); }
.tfc-tool__error { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #FDECEA; color: #8B1E14; font-weight: 600; font-size: 14.5px; }
:root[data-theme="dark"] .tfc-tool__error { background: #3A1512; color: #FFB4A8; }
.tfc-tool__privacy, .tfc-tool__engine, .tfc-tool__disclaimer { display: flex; gap: 6px; align-items: flex-start; margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.tfc-tool__disclaimer { margin-top: 6px; display: block; }
.tfc-tool__result { margin-top: 26px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-l); background: color-mix(in srgb, var(--sec) 6%, var(--bg)); border: 1px solid color-mix(in srgb, var(--sec) 20%, var(--line)); animation: tfcPop .25s ease; }
@media (max-width: 560px) { .tfc-tool__fields { grid-template-columns: minmax(0, 1fr); } .tfc-tool { border-radius: var(--r-l); } }

/* Result pieces */
.tr-kicker { margin: 0 0 4px; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tr-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 6px; }
.tr-value { font: 600 clamp(40px, 5vw, 60px)/1 var(--serif); color: var(--ink); letter-spacing: -.02em; }
.tr-unit { font-weight: 700; color: var(--muted); }
.tr-badge { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; color: #fff; background: var(--badge, var(--sec)); }
.tr-lede { font-size: 16.5px; color: var(--ink-2); margin: 8px 0 14px; }
.tr-scale { position: relative; margin: 22px 0 30px; }
.tr-scale__bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; }
.tr-scale__bar span { flex: var(--w); background: var(--c); }
.tr-scale__labels { display: flex; margin-top: 8px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.tr-scale__labels span { flex: var(--w); text-align: center; line-height: 1.2; padding: 0 2px; }
.tr-scale__marker { position: absolute; top: -6px; width: 4px; height: 24px; border-radius: 4px; background: var(--ink); transform: translateX(-2px); box-shadow: 0 0 0 3px var(--bg); }
.tr-rows { margin: 14px 0 0; display: grid; gap: 0; }
.tr-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.tr-rows dt { color: var(--ink-2); }
.tr-rows dd { margin: 0; font-weight: 800; text-align: right; }
.tr-h { font: 600 22px/1.2 var(--serif); margin: 22px 0 8px; }
.tr-list { margin: 0; padding-left: 20px; }
.tr-list li { margin: 6px 0; font-size: 16px; }
.tr-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin-top: 14px; }
.tr-card { padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.tr-card h4 { font-size: 19px; margin: 0 0 8px; }
.tr-card ul { margin: 0; padding-left: 18px; font-size: 15px; }
.tr-card li { margin: 4px 0; }
.tr-card p { font-size: 14.5px; color: var(--ink-2); margin: 8px 0 0; }
.tr-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 4px; }
.tr-sw { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 72px; font-size: 11.5px; font-weight: 600; text-align: center; color: var(--ink-2); line-height: 1.2; }
.tr-sw i { display: block; width: 56px; height: 56px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.tr-bars { display: grid; gap: 12px; margin-top: 16px; }
.tr-bar__top { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.tr-bar__track { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.tr-bar__fill { display: block; height: 100%; width: var(--p); background: var(--c, var(--sec)); border-radius: inherit; }
.tr-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15.5px; }
.tr-table th, .tr-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.tr-table th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tr-table tr.is-you td { background: color-mix(in srgb, var(--sec) 12%, transparent); font-weight: 800; }
.tr-scroll { overflow-x: auto; }
.tr-note { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.tr-copy { margin-top: 10px; }
.tr-caption { position: relative; padding: 14px 16px; padding-right: 60px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin: 10px 0; font-size: 16px; line-height: 1.5; }
.tr-caption button { position: absolute; top: 10px; right: 10px; }
.tr-mini-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-size: 12.5px; font-weight: 700; }
.tr-mini-btn:hover { border-color: var(--sec); color: var(--sec); }
.tr-tags { font-size: 15.5px; line-height: 1.8; word-spacing: 4px; color: #1D6FB8; font-weight: 600; overflow-wrap: anywhere; }
:root[data-theme="dark"] .tr-tags { color: #8CC3FF; }
.tr-ai h3 { font-size: 22px; margin: 20px 0 8px; }
.tr-ai h3:first-child { margin-top: 0; }
.tr-ai ul, .tr-ai ol { padding-left: 20px; margin: 0 0 12px; }
.tr-ai li { margin: 5px 0; }
.tr-cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Guest post page ---------- */
.tfc-gp__hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); color: #fff; background: radial-gradient(900px 400px at 100% 100%, rgba(243, 214, 122, .28), transparent 60%), linear-gradient(125deg, #6F0A1C, #B3122E 60%, #C9364E); }
.tfc-gp__hero .tfc-crumbs ol, .tfc-gp__hero .tfc-crumbs [aria-current] { color: rgba(255, 255, 255, .78); }
.tfc-gp__hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.tfc-gp__title { font-size: clamp(46px, 7vw, 96px); line-height: .98; color: #fff; margin-bottom: 16px; }
.tfc-gp__lede { font-size: 19px; color: rgba(255, 255, 255, .9); max-width: 58ch; }
@media (max-width: 900px) { .tfc-gp__hero-grid { grid-template-columns: minmax(0, 1fr); } }
.tfc-gp__section { padding: clamp(48px, 6vw, 88px) 0; }
.tfc-gp__section--tint { background: var(--surface-2); }
.tfc-gp__accept { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.tfc-gp__accept li { padding: 22px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--sec); }
.tfc-gp__accept h3 { font-size: 22px; margin: 12px 0 6px; }
.tfc-gp__accept p { margin: 0; font-size: 15px; color: var(--ink-2); }
.tfc-gp__accept-icon { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--sec) 12%, var(--surface)); color: var(--sec); }
.tfc-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .tfc-plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; } }
.tfc-plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.tfc-plan--featured { background: var(--ink); color: var(--bg); border-color: var(--ink); box-shadow: var(--shadow-3); }
.tfc-plan__flag { position: absolute; top: -13px; left: 28px; margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--butter); color: #161214; font: 800 11.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.tfc-plan__name { font-size: 28px; margin: 0 0 6px; }
.tfc-plan__price { font: italic 600 22px/1.2 var(--serif); color: var(--cherry); margin: 0 0 18px; }
.tfc-plan--featured .tfc-plan__price { color: var(--butter); }
.tfc-plan__feats { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.tfc-plan__feats li { display: flex; gap: 10px; align-items: flex-start; }
.tfc-plan__feats .tfc-icon { color: #1F7A5A; margin-top: 3px; }
.tfc-plan--featured .tfc-plan__feats .tfc-icon { color: var(--butter); }
.tfc-plan .tfc-btn { margin-top: auto; }
.tfc-plan--featured .tfc-btn--primary { background: var(--butter); color: #161214; box-shadow: none; }
.tfc-process { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tfc-process li { counter-increment: p; padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.tfc-process li::before { content: '0' counter(p); display: block; font: italic 600 44px/1 var(--serif); color: var(--cherry); margin-bottom: 12px; }
.tfc-process h3 { font-size: 22px; margin-bottom: 6px; }
.tfc-process p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 960px) { .tfc-process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tfc-process { grid-template-columns: minmax(0, 1fr); } }
.tfc-gp__idea { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 28px 0 0; font-weight: 600; }
.tfc-gp__idea a { color: var(--cherry); }
.tfc-gp__or { margin-top: 18px; text-align: center; color: var(--muted); }
.tfc-gp__section--form { background: var(--surface-2); }

/* ---------- Forms ---------- */
.tfc-form { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.tfc-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tfc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tfc-field--wide { grid-column: 1 / -1; }
.tfc-field label { font-weight: 700; font-size: 14.5px; }
.tfc-req { color: var(--cherry); }
.tfc-field input, .tfc-field select, .tfc-field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--bg); font-size: 16px; }
.tfc-field textarea { min-height: 150px; resize: vertical; }
.tfc-field input:focus, .tfc-field select:focus, .tfc-field textarea:focus { outline: none; border-color: var(--cherry); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cherry) 14%, transparent); }
.tfc-form__legal { font-size: 13.5px; color: var(--muted); margin: 16px 0; }
.tfc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tfc-notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); margin-bottom: 16px; font-weight: 600; }
.tfc-notice p { margin: 0; }
.tfc-notice--ok { background: #E7F6EC; color: #14532D; }
.tfc-notice--err { background: #FDECEA; color: #8B1E14; }
:root[data-theme="dark"] .tfc-notice--ok { background: #0F2A19; color: #86EFAC; }
:root[data-theme="dark"] .tfc-notice--err { background: #3A1512; color: #FFB4A8; }
@media (max-width: 640px) { .tfc-form__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.tfc-footer { margin-top: clamp(40px, 5vw, 72px); background: var(--dark); color: var(--on-dark); padding: clamp(48px, 6vw, 80px) 0 28px; }
.tfc-footer a { color: var(--on-dark); }
.tfc-footer a:hover { color: var(--butter); }
.tfc-footer .tfc-logo__ink { fill: #F7F1EA; }
.tfc-footer .tfc-logo__accent { fill: #FF6B7F; }
.tfc-footer .tfc-logo__tag { fill: rgba(247, 241, 234, .65); }
.tfc-footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.tfc-footer__logo .tfc-logo { height: 64px; width: auto; }
.tfc-footer__about { margin: 18px 0; color: rgba(247, 241, 234, .75); font-size: 15.5px; max-width: 46ch; }
.tfc-footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 18px; }
.tfc-footer__mail { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; min-width: 0; }
.tfc-footer__mail span { overflow-wrap: anywhere; }
.tfc-footer .tfc-socials a { border-color: rgba(255, 255, 255, .18); }
.tfc-footer__title { font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--butter); margin: 8px 0 16px; }
.tfc-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tfc-footer__col a { text-decoration: none; font-size: 15px; color: rgba(247, 241, 234, .85); display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.tfc-footer__all { font-weight: 700; color: var(--butter) !important; }
.tfc-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 13.5px; color: rgba(247, 241, 234, .65); }
.tfc-footer__bottom p { margin: 0; }
.tfc-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tfc-legal a { text-decoration: none; color: rgba(247, 241, 234, .75); }
.tfc-footer__note { flex-basis: 100%; font-size: 12.5px; }
@media (max-width: 1000px) { .tfc-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tfc-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .tfc-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .tfc-footer__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- WhatsApp float, back to top, toast ---------- */
.tfc-wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90; }
.tfc-wa-float__btn {
	display: flex; align-items: center; gap: 0; height: 60px; padding: 0 16px; border: 0; border-radius: 999px;
	background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(31, 168, 85, .6), 0 2px 6px rgba(0, 0, 0, .12);
	transition: gap .25s ease, padding .25s ease, background-color .2s;
}
.tfc-wa-float__btn::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 168, 85, .5); animation: tfcPulse 2.6s ease-out infinite; pointer-events: none; }
.tfc-wa-float__btn .tfc-wa__text { display: flex; flex-direction: column; align-items: flex-start; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease; line-height: 1.15; text-align: left; }
.tfc-wa-float__btn .tfc-wa__label { font-weight: 800; font-size: 15px; }
.tfc-wa-float__btn .tfc-wa__sub { font-size: 12px; opacity: .88; }
.tfc-wa-float__btn:hover, .tfc-wa-float__btn:focus-visible { gap: 10px; padding-right: 22px; background: var(--wa-2); }
.tfc-wa-float__btn:hover .tfc-wa__text, .tfc-wa-float__btn:focus-visible .tfc-wa__text { max-width: 260px; }
@keyframes tfcPulse { 0% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .45); } 70% { box-shadow: 0 0 0 16px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0); } }
.tfc-totop { position: fixed; right: max(26px, env(safe-area-inset-right)); bottom: 92px; z-index: 89; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-2); }
.tfc-totop:hover { background: var(--ink); color: var(--bg); }
.tfc-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 120; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-3); animation: tfcPop .2s ease; max-width: calc(100% - 120px); text-align: center; }

/* ---------- Print ---------- */
@media print {
	.tfc-announce, .tfc-header, .tfc-footer, .tfc-sidebar, .tfc-wa-float, .tfc-totop, .tfc-share, .tfc-related, .tfc-comments, .tfc-postnav, .tfc-article__share-end { display: none !important; }
	body { background: #fff; color: #000; }
	.tfc-layout--article { display: block; }
}

/* ---------- Refinements ---------- */
.tfc-card__media, .tfc-stories__item, .tfc-toolcard a { text-decoration: none; }
.tfc-card--num .tfc-card__title, .tfc-card--list .tfc-card__title, .tfc-hero__stack .tfc-card__title { letter-spacing: 0; }
/* Feature variant: a single story shown wide (image left, text right). */
.tfc-card--feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.tfc-card--feature .tfc-card__media { aspect-ratio: 16 / 10; border-radius: var(--r-l); }
.tfc-card--feature .tfc-card__title { font-size: clamp(26px, 2.8vw, 40px); }
.tfc-card--feature .tfc-card__excerpt { font-size: 17px; }
.tfc-card--feature .tfc-card__foot { margin-top: 12px; }
@media (max-width: 760px) { .tfc-card--feature { grid-template-columns: minmax(0, 1fr); } }
.tfc-card--overlay .tfc-fallback { justify-content: flex-start; padding-top: clamp(28px, 6vw, 56px); align-items: flex-end; padding-right: clamp(28px, 5vw, 56px); }
.tfc-card--overlay .tfc-fallback__word { display: none; }
.tfc-card--overlay .tfc-fallback__icon { width: 72px; height: 72px; opacity: .35; }
@media (max-width: 760px) { .tfc-announce__text > .tfc-icon { display: none; } }
@media (max-width: 560px) {
	.tfc-lab .tfc-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.tfc-lab .tfc-toolcard { padding: 14px; }
	.tfc-lab .tfc-toolcard__desc { display: none; }
	.tfc-lab .tfc-toolcard__title { font-size: 15px; }
	.tfc-lab .tfc-toolcard__badge { top: 12px; right: 12px; }
}
.tfc-card--overlay .tfc-fallback__icon { display: none; }
.tfc-gp__accept { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .tfc-gp__accept { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tfc-gp__accept { grid-template-columns: minmax(0, 1fr); } }
.tfc-gpband__stats dd, .tfc-gp__stats dd { overflow-wrap: anywhere; }
