/**
 * The public Affiliate Program page (issue #303, her section BZ).
 *
 * Copied from her become-an-affiliate.html as she asked ("copy it as it
 * is"), with two changes and no others:
 *
 *   1. Every selector is scoped to .tsmp-aff, DOUBLED. The live site is a
 *      custom Tailwind theme whose rules are (0,2,1); her selectors are
 *      (0,1,0) and would lose every tie. Doubling puts us at (0,3,0).
 *   2. Her design tokens are declared on the wrapper below. On her
 *      prototype they come from the page's own base stylesheet, which is
 *      the theme's job on the real site and is not ours to rely on.
 *
 * The photo paths are set from PHP (they live in the plugin), so nothing
 * here points at a file that only exists in her repo.
 */

.tsmp-aff.tsmp-aff {
	--white: #FFFFFF;
	--ink: #1C1A18;
	--mascot: #B48970;
	--stone: #8C8278;
	--dust: #C4B9AE;
	--border: #D8D4CE;
	--cream: #FAF7F2;
	--ivory: #F3EDE3;
	--gold: #C9A96E;
	--fri-yay: #C25F4E;
	--high-tea: #D4ABAB;
	--ff-body: 'Inter', sans-serif;
	font-family: var(--ff-body);
	color: var(--ink);
}

/* ---- the page ---- */
.tsmp-aff.tsmp-aff .aff-hero, .tsmp-aff.tsmp-aff .aff-split, .tsmp-aff.tsmp-aff .aff-band-in, .tsmp-aff.tsmp-aff .aff-faq, .tsmp-aff.tsmp-aff .aff-final { max-width: 1160px; margin-left: auto; margin-right: auto; }
.tsmp-aff.tsmp-aff .aff-hero { position: relative; margin-top: 28px; border-radius: 16px; overflow: hidden; min-height: 420px; display: flex; align-items: center; background: var(--ivory); }
.tsmp-aff.tsmp-aff .aff-ph { display: flex; align-items: center; justify-content: center; text-align: center; background: var(--ivory); border: 1.5px dashed var(--dust); color: var(--stone); font-size: 12px; line-height: 1.6; padding: 12px; }
.tsmp-aff.tsmp-aff .aff-ph--hero { position: absolute; inset: 0; border-radius: 0; border: 0; justify-content: flex-end; padding-right: 8%; }
.tsmp-aff.tsmp-aff .aff-ph--tall { aspect-ratio: 4 / 5; width: 100%; border-radius: 10px; }
.tsmp-aff.tsmp-aff .aff-hero-copy { position: relative; max-width: 680px; padding: 56px 48px; }
.tsmp-aff.tsmp-aff .aff-eyebrow, .tsmp-aff.tsmp-aff .aff-label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.tsmp-aff.tsmp-aff .aff-hero h1 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1; white-space: nowrap; font-weight: 800; letter-spacing: -0.03em; color: var(--mascot); margin: 0 0 14px; }
.tsmp-aff.tsmp-aff .aff-hero .aff-tagline { font-size: clamp(22px, 2.5vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
.tsmp-aff.tsmp-aff .aff-hero .aff-tagline em, .tsmp-aff.tsmp-aff .aff-split h2 em, .tsmp-aff.tsmp-aff .aff-band h2 em { font-style: italic; color: var(--mascot); }
.tsmp-aff.tsmp-aff .aff-hero p { font-size: 17px; line-height: 1.6; color: var(--ink); margin-bottom: 26px; }
.tsmp-aff.tsmp-aff .aff-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.tsmp-aff.tsmp-aff .aff-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 6px; padding: 14px 34px; font-family: var(--ff-body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background .15s, border-color .15s; }
.tsmp-aff.tsmp-aff .aff-btn:hover { background: #bc886d; border-color: #bc886d; }
.tsmp-aff.tsmp-aff .aff-link { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.tsmp-aff.tsmp-aff .aff-link:hover { color: #bc886d; }
.tsmp-aff.tsmp-aff .aff-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; padding: 120px 24px 72px; }
.tsmp-aff.tsmp-aff .aff-split h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 12px 0 14px; text-wrap: balance; }
.tsmp-aff.tsmp-aff .aff-split-copy > p { font-size: 16px; line-height: 1.65; color: var(--ink); }
.tsmp-aff.tsmp-aff .aff-steps { list-style: none; counter-reset: s; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.tsmp-aff.tsmp-aff .aff-steps li { counter-increment: s; position: relative; padding-left: 46px; font-size: 15px; line-height: 1.6; color: var(--ink); }
.tsmp-aff.tsmp-aff .aff-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tsmp-aff.tsmp-aff .aff-band { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 72px 24px; }
.tsmp-aff.tsmp-aff .aff-band h2, .tsmp-aff.tsmp-aff .aff-faq h2, .tsmp-aff.tsmp-aff .aff-final h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 0; text-wrap: balance; }
.tsmp-aff.tsmp-aff .aff-band-sub { margin: 12px 0 0; max-width: 620px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.tsmp-aff.tsmp-aff .aff-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 32px 0; }
.tsmp-aff.tsmp-aff .aff-group-label { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.tsmp-aff.tsmp-aff .aff-group-label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--grp); }
.tsmp-aff.tsmp-aff .aff-group-cards--one { grid-template-columns: 1fr !important; }
.tsmp-aff.tsmp-aff .aff-group-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tsmp-aff.tsmp-aff .aff-group--teacher { --grp: #EBD9D6; --grp-top: #D99F9B; --grp-bg: #FEF9F8; }   /* soft blush; dot uses the darker --high-tea below */
.tsmp-aff.tsmp-aff .aff-group--teacher .aff-group-label::before { background: var(--high-tea); }
.tsmp-aff.tsmp-aff .aff-group--you { --grp: var(--mascot); --grp-bg: #F5ECE1; }
.tsmp-aff.tsmp-aff .aff-group .aff-stat { background: var(--grp-bg); border-color: var(--grp); border-top-color: var(--grp-top, var(--grp)); }
@media (max-width: 860px) { .tsmp-aff.tsmp-aff .aff-stats { grid-template-columns: 1fr; } }
.tsmp-aff.tsmp-aff .aff-stat { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--mascot); border-radius: 12px; padding: 22px 20px; }
.tsmp-aff.tsmp-aff .aff-stat b { display: block; font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.tsmp-aff.tsmp-aff .aff-stat span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; font-weight: 500; color: var(--stone); }
.tsmp-aff.tsmp-aff .aff-stat span b { display: inline; font-size: inherit; line-height: inherit; letter-spacing: normal; font-weight: 700; color: var(--ink); }
.tsmp-aff.tsmp-aff .aff-table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.tsmp-aff.tsmp-aff .aff-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.tsmp-aff.tsmp-aff .aff-table th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); padding: 14px 20px; border-bottom: 1px solid var(--border); }
.tsmp-aff.tsmp-aff .aff-table td { padding: 15px 20px; border-bottom: 1px solid var(--border); }
.tsmp-aff.tsmp-aff .aff-table tr:last-child td { border-bottom: 0; }
.tsmp-aff.tsmp-aff .aff-note { margin-top: 18px; font-size: 14px; line-height: 1.65; color: var(--stone); max-width: 760px; }
.tsmp-aff.tsmp-aff .aff-faq { padding: 72px 24px 24px; max-width: 800px; }
.tsmp-aff.tsmp-aff .aff-faq details { border-bottom: 1px solid var(--border); }
.tsmp-aff.tsmp-aff .aff-faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-size: 16px; font-weight: 600; position: relative; }
.tsmp-aff.tsmp-aff .aff-faq summary::-webkit-details-marker { display: none; }
.tsmp-aff.tsmp-aff .aff-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 22px; font-weight: 400; color: var(--stone); }
.tsmp-aff.tsmp-aff .aff-faq details[open] summary::after { content: "–"; }
.tsmp-aff.tsmp-aff .aff-perk { display: inline-block; margin-left: 10px; padding: 4px 9px; border-radius: 3px; background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1; vertical-align: 2px; }
.tsmp-aff.tsmp-aff .aff-faq details p { padding: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--ink); max-width: 680px; }
.tsmp-aff.tsmp-aff .aff-faq h2 { margin-bottom: 18px; }
.tsmp-aff.tsmp-aff .aff-final p { font-size: 16px; line-height: 1.6; margin: 12px auto 26px; max-width: 480px; }
@media (max-width: 860px) {
.tsmp-aff.tsmp-aff .aff-hero { margin: 16px 16px 0; min-height: 0; flex-direction: column; align-items: stretch; }
.tsmp-aff.tsmp-aff .aff-ph--hero { position: relative; inset: auto; aspect-ratio: 3 / 2; justify-content: center; padding: 12px; }
.tsmp-aff.tsmp-aff .aff-hero-copy { padding: 28px 24px 34px; }
.tsmp-aff.tsmp-aff .aff-split { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px; }
}

.tsmp-aff.tsmp-aff .aff-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 22%; }
.tsmp-aff.tsmp-aff .aff-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.88) 42%, rgba(255,255,255,0) 72%); }
.tsmp-aff.tsmp-aff .aff-hero { justify-content: flex-end; }
.tsmp-aff.tsmp-aff .aff-hero-copy { z-index: 1; }
.tsmp-aff.tsmp-aff .aff-tall { display: block; width: 100%; height: 500px; object-fit: cover; object-position: 60% 50%; border-radius: 10px; }
@media (max-width: 860px) {
.tsmp-aff.tsmp-aff .aff-hero-img { position: relative; inset: auto; aspect-ratio: 3 / 2; height: auto; }
.tsmp-aff.tsmp-aff .aff-hero::after { display: none; }
.tsmp-aff.tsmp-aff .aff-hero { justify-content: flex-start; }
}

.tsmp-aff.tsmp-aff .aff-hero { max-width: none; margin-left: 40px; margin-right: 40px; width: calc(100% - 80px); height: clamp(460px, 34vw, 620px); }   /* same side gutters as the site header; shows more of the photo instead of cropping it hard */
.tsmp-aff.tsmp-aff .aff-hero-img { object-position: 30% 8%; }
@media (max-width: 860px) { .tsmp-aff.tsmp-aff .aff-hero { margin-left: 16px; margin-right: 16px; width: auto; height: auto; min-height: 0; } }
.tsmp-aff.tsmp-aff .aff-pro { padding: 24px 24px 72px; }
.tsmp-aff.tsmp-aff .aff-pro-in { max-width: 1160px; margin: 0 auto; }
.tsmp-aff.tsmp-aff .aff-pro h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 0; }
.tsmp-aff.tsmp-aff .aff-pro-def { max-width: 720px; margin: 16px 0 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; font-weight: 500; color: var(--ink); }
.tsmp-aff.tsmp-aff .aff-hair { max-width: 720px; border: 0; border-top: 1px solid var(--border); margin: 22px 0 16px; }
.tsmp-aff.tsmp-aff .aff-pro-intro { max-width: 720px; margin-top: 14px; font-size: 16px; line-height: 1.65; color: var(--ink); }
.tsmp-aff.tsmp-aff .aff-pro-intro--2 { margin-top: 12px; font-weight: 600; }
.tsmp-aff.tsmp-aff .aff-pro-intro--3 { margin-top: 12px; }
.tsmp-aff.tsmp-aff .aff-pro-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.tsmp-aff.tsmp-aff .aff-pro-photo { display: block; width: 100%; height: 500px; object-fit: cover; object-position: 40% 30%; border-radius: 10px; }
.tsmp-aff.tsmp-aff .aff-pro-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 80px; align-items: stretch; }
.tsmp-aff.tsmp-aff .aff-pro-card { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: 12px; padding: 26px 24px 28px; }
.tsmp-aff.tsmp-aff .aff-pro-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 16px; }
.tsmp-aff.tsmp-aff .aff-price { font-size: 16px; color: var(--ink); }
.tsmp-aff.tsmp-aff .aff-price b { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.tsmp-aff.tsmp-aff .aff-price-sub { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--stone); font-weight: 500; }
.tsmp-aff.tsmp-aff .aff-price-sub strong { font-weight: 700; color: var(--stone); }
.tsmp-aff.tsmp-aff .aff-price-or { margin: 14px 0; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); }
.tsmp-aff.tsmp-aff .aff-pro-card--wide { grid-column: 1 / -1; }
.tsmp-aff.tsmp-aff .aff-pro-card--inc, .tsmp-aff.tsmp-aff .aff-pro-card--price { grid-column: 1 / -1; }
.tsmp-aff.tsmp-aff .aff-inc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) 200px; gap: 26px 32px; align-items: stretch; }
.tsmp-aff.tsmp-aff .aff-h4-gap { margin-top: 26px !important; }
.tsmp-aff.tsmp-aff .aff-inc-photo { display: block; width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: 50% 30%; border-radius: 10px; }
.tsmp-aff.tsmp-aff .aff-inc h4 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.tsmp-aff.tsmp-aff .aff-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.tsmp-aff.tsmp-aff .aff-price-row .aff-price-or { margin: 0; }
.tsmp-aff.tsmp-aff .aff-card-lead { font-size: 16px; line-height: 1.6; color: var(--ink); font-weight: 600; margin: -4px 0 22px; max-width: 760px; }
.tsmp-aff.tsmp-aff .aff-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.tsmp-aff.tsmp-aff .aff-two h4 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.tsmp-aff.tsmp-aff .aff-checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: var(--ico) center / contain no-repeat; }
.tsmp-aff.tsmp-aff .aff-who { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.tsmp-aff.tsmp-aff .aff-who h4 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.tsmp-aff.tsmp-aff .aff-who-photo { display: block; width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: 10px; }
.tsmp-aff.tsmp-aff .aff-checks.aff-checks--cols { display: block; columns: 2; column-gap: 20px; }
.tsmp-aff.tsmp-aff .aff-checks--cols li { break-inside: avoid; margin-bottom: 11px; }
.tsmp-aff.tsmp-aff .aff-checks { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B48970' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E"); }
.tsmp-aff.tsmp-aff .aff-checks--plus { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B48970' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.tsmp-aff.tsmp-aff .aff-checks--heart { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B48970'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.8 8.2 2.9 4.5 6.4 4.5c2 0 3.7 1.1 5.6 3.2 1.9-2.1 3.6-3.2 5.6-3.2 3.5 0 5.6 3.7 4 7.2C19.5 16.4 12 21 12 21z'/%3E%3C/svg%3E"); }
.tsmp-aff.tsmp-aff .aff-checks--arrow { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B48970' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.tsmp-aff.tsmp-aff .aff-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.tsmp-aff.tsmp-aff .aff-checks li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
@media (max-width: 1000px) { .tsmp-aff.tsmp-aff .aff-who { grid-template-columns: 1fr 1fr; }.tsmp-aff.tsmp-aff .aff-who-photo { grid-column: 1 / -1; height: 240px; }.tsmp-aff.tsmp-aff .aff-inc { grid-template-columns: repeat(2, minmax(0, 1fr)); }.tsmp-aff.tsmp-aff .aff-inc-photo { grid-column: 1 / -1; height: 240px; } }
@media (max-width: 860px) { .tsmp-aff.tsmp-aff .aff-tall, .tsmp-aff.tsmp-aff .aff-pro-photo { height: auto; aspect-ratio: 4 / 3; }.tsmp-aff.tsmp-aff .aff-pro { padding: 24px 24px 48px; }.tsmp-aff.tsmp-aff .aff-pro-head { grid-template-columns: 1fr; gap: 24px; }.tsmp-aff.tsmp-aff .aff-pro-grid { grid-template-columns: 1fr; }.tsmp-aff.tsmp-aff .aff-two { grid-template-columns: 1fr; gap: 24px; }.tsmp-aff.tsmp-aff .aff-inc { grid-template-columns: 1fr; }.tsmp-aff.tsmp-aff .aff-who { grid-template-columns: 1fr; }.tsmp-aff.tsmp-aff .aff-checks--cols { columns: 1; } }
/* The photo comes from --aff-closing, which PHP sets on the wrapper. Hers was
   a relative "affiliate-closing-lamp.jpg", which only resolves next to her
   HTML file; ours lives in the plugin. The colour behind it is her fallback
   and stays, so the card is still readable if the photo never loads. */
.tsmp-aff.tsmp-aff .aff-final { max-width: none; margin: 72px 0 0; padding: 120px 24px; background: #E9E5DF var(--aff-closing) center 40% / cover fixed no-repeat; text-align: center; }
.tsmp-aff.tsmp-aff .aff-final-card { max-width: 560px; margin: 0 auto; padding: 48px 40px 52px; background: var(--white); border-radius: 16px; box-shadow: 0 16px 48px rgba(28,26,24,.14); }
.tsmp-aff.tsmp-aff .aff-final-card h2 { margin: 0; }
.tsmp-aff.tsmp-aff .aff-final-card p { margin: 12px auto 26px; max-width: 420px; }
@media (max-width: 1024px) { .tsmp-aff.tsmp-aff .aff-final { background-attachment: scroll; padding: 64px 16px; margin-top: 48px; }.tsmp-aff.tsmp-aff .aff-final-card { padding: 36px 24px 40px; } }
.tsmp-aff.tsmp-aff .aff-perk-block { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); background: var(--fri-yay); background-image: radial-gradient(120% 140% at 0% 0%, #D77A66 0%, rgba(215,122,102,0) 55%), linear-gradient(135deg, #CB6652 0%, #C25F4E 45%, #A94A3C 100%); color: #fff; margin-top: 24px; }
.tsmp-aff.tsmp-aff .aff-perk-copy { padding: 72px 56px 72px max(24px, calc((100vw - 1160px) / 2 + 24px)); max-width: none; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.tsmp-aff.tsmp-aff .aff-perk-tag { display: inline-block; padding: 5px 11px; border-radius: 3px; background: #F3E2BC; color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; line-height: 1; }
.tsmp-aff.tsmp-aff .aff-perk-yes { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(40px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.01em; margin: 16px 0 18px; color: #fff; }
.tsmp-aff.tsmp-aff .aff-perk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tsmp-aff.tsmp-aff .aff-perk-list li { position: relative; padding-left: 32px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.4; font-weight: 500; color: #fff; }
.tsmp-aff.tsmp-aff .aff-perk-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.tsmp-aff.tsmp-aff .aff-perk-close { margin: 26px 0 0; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; color: #fff; max-width: 520px; }
.tsmp-aff.tsmp-aff .aff-perk-block h2 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; margin: 18px 0 0; max-width: 560px; text-wrap: balance; }
.tsmp-aff.tsmp-aff .aff-perk-img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 55% 40%; }
@media (max-width: 860px) { .tsmp-aff.tsmp-aff .aff-perk-block { grid-template-columns: 1fr; }.tsmp-aff.tsmp-aff .aff-perk-copy { padding: 40px 24px 44px; }.tsmp-aff.tsmp-aff .aff-perk-img { order: -1; height: 240px; min-height: 0; } }

/* ---- the sign-up pop-up (her TS-AFFILIATE-SIGNUP block) ---- */
.tsmp-aff.tsmp-aff .aff-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(28,26,24,.55); }
.tsmp-aff.tsmp-aff .aff-modal[hidden] { display: none; }
.tsmp-aff.tsmp-aff .aff-modal-card { position: relative; width: 100%; max-width: 880px; max-height: calc(100vh - 48px); background: #fff; border: 1px solid #E6DCC6; border-top: 4px solid var(--gold, #C9A96E); border-radius: 12px; box-shadow: 0 24px 64px rgba(28,26,24,.3); overflow: hidden; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.tsmp-aff.tsmp-aff .aff-modal-photo { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: 30% 50%; }
.tsmp-aff.tsmp-aff .aff-modal-x { position: absolute; top: 8px; right: 10px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #1C1A18; font-size: 26px; line-height: 1; cursor: pointer; transition: background .15s, color .15s; }
.tsmp-aff.tsmp-aff .aff-modal-x:hover { background: #bc886d; color: #fff; }
.tsmp-aff.tsmp-aff .aff-modal-body { min-width: 0; overflow: auto; -webkit-overflow-scrolling: touch; max-height: calc(100vh - 56px); padding: 36px 0; background: #fff; }
.tsmp-aff.tsmp-aff .aff-modal-body iframe { display: block; width: 100%; height: 560px; max-height: calc(100vh - 130px); border: 0; }
body.aff-modal-open { overflow: hidden; }
@media (max-width: 760px) { .tsmp-aff.tsmp-aff .aff-modal-card { max-width: 560px; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); overflow: auto; }.tsmp-aff.tsmp-aff .aff-modal-photo { height: 120px; min-height: 0; object-position: 50% 40%; }.tsmp-aff.tsmp-aff .aff-modal-body { max-height: none; overflow: visible; padding: 24px 0; }.tsmp-aff.tsmp-aff .aff-modal-body iframe { height: 620px; max-height: none; } }
@media (max-width: 600px) { .tsmp-aff.tsmp-aff .aff-modal { padding: 0; align-items: flex-end; }.tsmp-aff.tsmp-aff .aff-modal-card { max-width: none; max-height: 94vh; border-radius: 14px 14px 0 0; } }
