/* Tastelark – core styles. Uses Kadence's palette variables so Customizer colour changes flow through. */
:root {
	--tl-radius: 6px;
	--tl-ratio: 4 / 3;
	--tl-accent: var(--global-palette1, #C8442B);
	--tl-accent-dark: var(--global-palette2, #9F3220);
	--tl-ink: var(--global-palette3, #241A16);
	--tl-text: var(--global-palette4, #3B2D27);
	--tl-muted: var(--global-palette5, #6A5A52);
	--tl-line: var(--global-palette6, #E6D7C3);
	--tl-cream: var(--global-palette7, #F7EBD7);
	--tl-soft: var(--global-palette8, #FFF8EC);
	--tl-white: var(--global-palette9, #fff);
	--tl-star: var(--global-palette15, #EFA81C);
	--tl-gap: clamp(1rem, 2.2vw, 1.75rem);
	--tl-wrap: 1200px;
}

.screen-reader-text:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tl-center { text-align: center; }
.tl-small { font-size: .9rem; color: var(--tl-muted); }
.tl-note { font-size: .85rem; color: var(--tl-muted); background: var(--tl-cream); padding: .6rem .9rem; border-radius: 10px; }
.tl-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; color: var(--tl-accent); margin: 0 0 .6rem; }
.tl-icon { vertical-align: -3px; flex: none; }
.tl-link { font-weight: 700; color: var(--tl-accent); text-decoration: none; }
.tl-link:hover { text-decoration: underline; }
.tl-ph { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--global-heading-font-family, serif); font-size: 3rem; color: var(--tl-accent); background: linear-gradient(135deg, var(--tl-cream), var(--tl-soft)); aspect-ratio: var(--tl-ratio); }

/* ---------- Sections ---------- */
.tl-section { padding: clamp(3rem, 6vw, 5.5rem) clamp(1.1rem, 4vw, 2rem); }
.tl-section > * { max-width: var(--tl-wrap); margin-left: auto; margin-right: auto; }
.tl-section > .alignfull, .tl-section > .wp-block-cover { max-width: none; }
.tl-band { background: var(--tl-cream); }
.tl-dark { background: var(--tl-ink); color: #f2e7d6; }
.tl-dark h1, .tl-dark h2, .tl-dark h3, .tl-dark .tl-eyebrow { color: #fff; }
.tl-narrow > * { max-width: 780px; }
.tl-narrow-wide > * { max-width: 1000px; }
.tl-section h2 { margin-bottom: .5em; }
.tl-section > .wp-block-heading + .tl-grid, .tl-section > .wp-block-heading + .tl-tabs { margin-top: 1.75rem; }
.tl-pagehead { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); background: var(--tl-cream); }
.tl-hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.05; }
.tl-hero .wp-block-columns { gap: clamp(1.5rem, 4vw, 4rem); }
.tl-rounded img, img.tl-rounded, .tl-rounded { border-radius: calc(var(--tl-radius) * 1.4); overflow: hidden; }
.tl-portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.tl-avatar img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto; display: block; }
.tl-cover-hero { margin: 0; }
.tl-cover-hero .wp-block-cover__inner-container { max-width: 820px; text-align: center; }
.wp-block-cover h1, .wp-block-cover h2, .wp-block-cover p, .tl-on-dark { color: #fff; }
.tl-cover-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.tl-stars-line { color: var(--tl-star); letter-spacing: 3px; margin-bottom: .3rem; }
.tl-card-icon { font-size: 2rem; line-height: 1; margin-bottom: .5rem; }
.tl-logos:not(:has(> .wp-block-group__inner-container)), .tl-logos > .wp-block-group__inner-container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 3rem; }
.tl-logo { margin: 0; font-family: var(--global-heading-font-family, serif); font-size: clamp(1.1rem, 2vw, 1.6rem); color: var(--tl-muted); opacity: .75; white-space: nowrap; }
.tl-logo--2 { font-style: italic; } .tl-logo--3 { text-transform: uppercase; letter-spacing: .12em; font-size: 1rem; font-family: var(--global-body-font-family, sans-serif); font-weight: 700; } .tl-logo--4 { font-weight: 700; letter-spacing: -.02em; } .tl-logo--5 { font-variant: small-caps; letter-spacing: .08em; }

/* ---------- Buttons ---------- */
.wp-block-button__link, .tl-btn { border-radius: var(--tl-btn-radius, 6px); font-weight: 700; letter-spacing: .02em; }
.tl-btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--tl-accent); color: #fff; border: 2px solid var(--tl-accent); padding: .75rem 1.6rem; cursor: pointer; text-decoration: none; font-size: 1rem; line-height: 1.2; transition: background .15s, transform .15s; }
.tl-btn:hover { background: var(--tl-accent-dark); border-color: var(--tl-accent-dark); color: #fff; transform: translateY(-1px); }
.tl-btn--ghost { background: transparent; color: var(--tl-accent); }
.tl-btn--ghost:hover { background: var(--tl-accent); color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link { border: 2px solid currentColor; background: transparent; }
.tl-dark .wp-block-button.is-style-outline .wp-block-button__link, .wp-block-cover .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; }
.wp-block-button.tl-btn-light .wp-block-button__link { background: #fff; color: var(--tl-ink); border-color: #fff; }
.wp-block-buttons { margin-top: 1.4rem; gap: .75rem; }

/* ---------- Grids & cards ---------- */
.tl-grid, .tl-rows { display: grid; gap: var(--tl-gap); grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); margin: 1.5rem 0; }
.tl-cols-1 { --cols: 1; } .tl-cols-2 { --cols: 2; } .tl-cols-3 { --cols: 3; } .tl-cols-4 { --cols: 4; } .tl-cols-5 { --cols: 5; }
@media (max-width: 1100px) { .tl-cols-4, .tl-cols-5 { --cols: 3; } }
@media (max-width: 880px) { .tl-cols-3, .tl-cols-4, .tl-cols-5 { --cols: 2; } }
@media (max-width: 520px) { .tl-cols-2, .tl-cols-3, .tl-cols-4, .tl-cols-5 { --cols: 1; } .tl-rows { --cols: 1; } }
.tl-list { display: grid; gap: var(--tl-gap); }
.tl-list .tl-card { display: grid; grid-template-columns: minmax(0, 220px) 1fr; }
@media (max-width: 600px) { .tl-list .tl-card { grid-template-columns: 1fr; } }

.tl-card { background: var(--tl-white); border-radius: var(--tl-radius); overflow: hidden; text-align: left; transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; height: 100%; }
.tl-list .tl-card { flex-direction: row; height: auto; }
@media (max-width: 600px) { .tl-list .tl-card { flex-direction: column; } }
.tl-cards-shadow .tl-card { box-shadow: 0 8px 26px rgba(36, 26, 22, .09); }
.tl-cards-border .tl-card { border: 1px solid var(--tl-line); }
.tl-card:hover { transform: translateY(-3px); }
.tl-cards-shadow .tl-card:hover { box-shadow: 0 14px 34px rgba(36, 26, 22, .15); }
.tl-card__media-wrap { position: relative; }
.tl-card__media { display: block; aspect-ratio: var(--tl-ratio); background: var(--tl-cream); overflow: hidden; }
.tl-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tl-card:hover .tl-card__media img { transform: scale(1.04); }
.tl-card__badge { position: absolute; left: .75rem; top: .75rem; background: rgba(255, 255, 255, .94); color: var(--tl-ink); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 999px; }
.tl-card__body { padding: 1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.tl-card__eyebrow { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--tl-accent); margin-bottom: .35rem; }
.tl-card__eyebrow a { color: inherit; text-decoration: none; }
.tl-card .tl-card__title { margin: 0 0 .4rem; padding: 0; font-size: 1.2rem; line-height: 1.25; }
.tl-card__title a { color: var(--tl-ink); text-decoration: none; }
.tl-card__title a:hover { color: var(--tl-accent); }
.tl-card__excerpt { font-size: .95rem; color: var(--tl-muted); margin: 0 0 .6rem; }
.tl-card__meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--tl-muted); }
.tl-card__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.tl-card__rating { color: var(--tl-ink); font-weight: 700; } .tl-card__rating .tl-icon { color: var(--tl-star); } .tl-card__rating small { font-weight: 400; color: var(--tl-muted); }

.tl-save { position: absolute; right: .7rem; top: .7rem; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--tl-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); transition: transform .15s; padding: 0; }
.tl-save:hover { transform: scale(1.1); }
.tl-save[aria-pressed="true"] { color: var(--tl-accent); } .tl-save[aria-pressed="true"] svg { fill: currentColor; }

.tl-row { display: flex; gap: 1rem; align-items: center; background: var(--tl-white); border-radius: var(--tl-radius); padding: .6rem; }
.tl-cards-shadow .tl-row { box-shadow: 0 6px 18px rgba(36, 26, 22, .07); } .tl-cards-border .tl-row { border: 1px solid var(--tl-line); }
.tl-row__img { flex: none; width: 92px; height: 92px; border-radius: calc(var(--tl-radius) * .7); overflow: hidden; display: block; background: var(--tl-cream); }
.tl-row__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-row__title { margin: 0; font-size: 1.05rem; line-height: 1.3; } .tl-row__title a { color: var(--tl-ink); text-decoration: none; } .tl-row__title a:hover { color: var(--tl-accent); }

/* ---------- Tiles, pills, tabs ---------- */
.tl-tiles { list-style: none; margin: 2rem auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem clamp(1rem, 3vw, 2.25rem); }
.tl-tiles a { display: grid; justify-items: center; gap: .7rem; text-decoration: none; color: var(--tl-ink); font-weight: 700; }
.tl-tiles--circle .tl-tiles__img { width: clamp(92px, 12vw, 132px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: block; background: var(--tl-cream); transition: transform .25s; box-shadow: 0 6px 18px rgba(36, 26, 22, .12); }
.tl-tiles--circle a:hover .tl-tiles__img { transform: scale(1.06); }
.tl-tiles__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-tiles--square { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--tl-gap); }
.tl-tiles--square a { position: relative; display: block; }
.tl-tiles--square .tl-tiles__img { display: block; aspect-ratio: 1; border-radius: var(--tl-radius); overflow: hidden; background: var(--tl-cream); }
.tl-tiles--square .tl-tiles__img::after { content: ""; position: absolute; inset: 0; border-radius: var(--tl-radius); background: linear-gradient(to top, rgba(20, 12, 8, .65), transparent 55%); }
.tl-tiles--square .tl-tiles__name { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; color: #fff; text-align: left; z-index: 1; font-family: var(--global-heading-font-family, serif); font-size: 1.3rem; font-weight: 400; }
.tl-pills { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; padding: 0; margin: 1.25rem 0 0; }
.tl-pills a, .tl-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--tl-line); background: var(--tl-white); color: var(--tl-ink); font-weight: 600; font-size: .92rem; text-decoration: none; transition: all .15s; }
.tl-pills a:hover, .tl-pill:hover { background: var(--tl-accent); border-color: var(--tl-accent); color: #fff; }
.tl-pill--fill { background: var(--tl-accent); border-color: var(--tl-accent); color: #fff; } .tl-pill--fill:hover { background: var(--tl-accent-dark); }
.tl-pill--plain { background: transparent; border-color: transparent; color: var(--tl-muted); padding-left: .3rem; }
.tl-subterms { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 1.5rem; } .tl-subterms > span { font-weight: 700; } .tl-subterms .tl-pills { margin: 0; justify-content: flex-start; }

.tl-tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.25rem 0 .5rem; }
.tl-tabs__list button { border: 1px solid var(--tl-line); background: var(--tl-white); color: var(--tl-ink); padding: .55rem 1.2rem; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: .95rem; }
.tl-tabs__list button[aria-selected="true"] { background: var(--tl-ink); color: #fff; border-color: var(--tl-ink); }
.tl-tabs [role="tabpanel"][hidden] { display: none; }

/* ---------- Index / filters ---------- */
.tl-index__bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; align-items: center; }
.tl-index__search { flex: 1 1 240px; } .tl-index__search input, .tl-index__bar select { width: 100%; border-radius: 999px; padding: .7rem 1.1rem; border: 1px solid var(--tl-line); background: var(--tl-white); }
.tl-index__bar select { width: auto; flex: 0 1 auto; min-width: 140px; }
.tl-index.is-loading .tl-grid { opacity: .45; transition: opacity .2s; }
.tl-index__count { color: var(--tl-muted); font-weight: 600; margin: 0; }
.tl-empty { grid-column: 1 / -1; text-align: center; padding: 2rem; }
.tl-search { display: flex; gap: .5rem; max-width: 560px; margin: 1.25rem auto; } .tl-search input { flex: 1; border-radius: 999px; padding: .85rem 1.3rem; border: 1px solid var(--tl-line); min-width: 0; }

/* ---------- Newsletter, forms ---------- */
.tl-newsletter { max-width: 560px; margin: 1.25rem 0 0; }
.tl-center .tl-newsletter, .tl-dark .tl-newsletter, .tl-pagehead .tl-newsletter { margin-left: auto; margin-right: auto; }
.tl-newsletter__form { display: flex; flex-wrap: wrap; gap: .6rem; }
.tl-newsletter__form input[type="email"], .tl-contact input, .tl-contact textarea { flex: 1 1 220px; border-radius: 999px; padding: .8rem 1.25rem; border: 1px solid var(--tl-line); background: var(--tl-white); color: var(--tl-ink); min-width: 0; font: inherit; }
.tl-newsletter__consent { flex-basis: 100%; font-size: .82rem; opacity: .85; display: flex; gap: .5rem; align-items: flex-start; }
.tl-newsletter__msg { flex-basis: 100%; margin: 0; min-height: 1.4em; font-weight: 600; } .tl-newsletter__msg.is-error { color: #ff9b8a; } .tl-contact .tl-newsletter__msg.is-error { color: #b32d2e; }
.tl-contact { display: grid; gap: .5rem; } .tl-contact label { display: block; font-weight: 700; margin-bottom: .3rem; font-size: .9rem; } .tl-contact input, .tl-contact textarea { width: 100%; border-radius: 14px; } .tl-contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } @media (max-width: 600px) { .tl-contact__row { grid-template-columns: 1fr; } }
.tl-contact p { margin: 0 0 .7rem; }

/* ---------- Feature cards ---------- */
.tl-cards-row { gap: var(--tl-gap); }
.tl-feature { background: var(--tl-white); border-radius: var(--tl-radius); padding: clamp(1.25rem, 2.5vw, 2rem); height: 100%; }
.tl-cards-shadow .tl-feature { box-shadow: 0 8px 26px rgba(36, 26, 22, .08); } .tl-cards-border .tl-feature { border: 1px solid var(--tl-line); }
.tl-feature--plain { background: transparent; box-shadow: none !important; border: 0 !important; padding: .5rem; }
.tl-feature h3, .tl-feature h4 { margin-top: .2rem; }
.tl-feature .tl-rounded img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.tl-plan { text-align: center; } .tl-plan.is-featured { border: 2px solid var(--tl-accent); position: relative; } .tl-price { font-family: var(--global-heading-font-family, serif); font-size: 2.4rem; color: var(--tl-ink); font-weight: 400; }
.tl-faq details { background: var(--tl-white); border: 1px solid var(--tl-line); border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: .75rem; }
.tl-faq summary { font-weight: 700; cursor: pointer; color: var(--tl-ink); } .tl-faq details[open] summary { margin-bottom: .5rem; }
.tl-faq { max-width: 780px; margin: 1.5rem auto 0; }
.tl-gallery:not(:has(> .wp-block-group__inner-container)), .tl-gallery > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; margin: 1.5rem auto; }
.tl-gallery figure { margin: 0; } .tl-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--tl-radius); }
@media (max-width: 880px) { .tl-gallery:not(:has(> .wp-block-group__inner-container)), .tl-gallery > .wp-block-group__inner-container { grid-template-columns: repeat(3, 1fr); } }
.tl-collage { position: relative; padding-bottom: 14%; } .tl-collage__a img { width: 82%; aspect-ratio: 1 / 1.05; object-fit: cover; } .tl-collage .tl-collage__b { position: absolute; right: 0; bottom: 0; width: 48%; margin: 0; } .tl-collage__b img { aspect-ratio: 1; object-fit: cover; width: 100%; border: 6px solid var(--tl-white); border-radius: calc(var(--tl-radius) * 1.4); box-shadow: 0 14px 34px rgba(36, 26, 22, .22); }
.tl-linkstack .wp-block-buttons { flex-direction: column; align-items: stretch; } .tl-linkstack .wp-block-button { width: 100%; } .tl-linkstack .wp-block-button__link { width: 100%; text-align: center; padding: 1rem; }
.tl-mealplan table { width: 100%; border-collapse: collapse; background: var(--tl-white); } .tl-mealplan th, .tl-mealplan td { border: 1px solid var(--tl-line); padding: .9rem .75rem; text-align: left; } .tl-mealplan td { height: 64px; } .tl-mealplan th { background: var(--tl-ink); color: #fff; }

/* ---------- Social ---------- */
.tl-social { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0; margin: .75rem 0 0; } .tl-center .tl-social, .tl-links .tl-social { justify-content: center; }
.tl-social a { font-weight: 700; text-decoration: none; }
/* Icon buttons */
.tl-social--icons { gap: .6rem; }
.tl-social li { margin: 0; }
.tl-social .tl-social__btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--tl-line); background: var(--tl-white); color: var(--tl-ink); transition: background .18s, color .18s, border-color .18s, transform .18s; }
.tl-social .tl-social__btn:hover, .tl-social .tl-social__btn:focus-visible { background: var(--tl-accent); border-color: var(--tl-accent); color: #fff; transform: translateY(-2px); }
.tl-social__icon { display: block; }
.tl-footer .tl-social__btn, .tl-footer .tl-social__btn:hover { text-decoration: none; }

/* ---------- Pre-footer band & footer ---------- */
.tl-band { }
.tl-footer { background: var(--tl-soft); border-top: 1px solid var(--tl-line); padding: clamp(2.5rem, 5vw, 4rem) clamp(1.1rem, 4vw, 2rem); }
.tl-footer__in { max-width: var(--tl-wrap); margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem 3rem; }
.tl-footer__about p { max-width: 34ch; color: var(--tl-muted); margin-top: .75rem; }
.tl-footer__brand { font-family: var(--global-heading-font-family, serif); font-size: 1.6rem; color: var(--tl-ink); text-decoration: none; }
.tl-footer .custom-logo { max-width: 180px; height: auto; }
.tl-footer h3 { font-family: var(--global-body-font-family, sans-serif); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--tl-muted); margin: 0 0 .9rem; }
.tl-footer ul { list-style: none; margin: 0; padding: 0; } .tl-footer li { margin: .45rem 0; } .tl-footer a { color: var(--tl-ink); text-decoration: none; } .tl-footer a:hover { color: var(--tl-accent); }
@media (max-width: 880px) { .tl-footer__in { grid-template-columns: 1fr 1fr; } .tl-footer__about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .tl-footer__in { grid-template-columns: 1fr; } }
.tl-band#subscribe p, .tl-dark p { color: inherit; }
.tl-band#subscribe { background: var(--tl-ink); color: #f2e7d6; padding: clamp(2.5rem, 5vw, 4rem) clamp(1.1rem, 4vw, 2rem); }
.tl-band__in { max-width: var(--tl-wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: center; }
.tl-band__in h2 { color: #fff; margin: 0 0 .4rem; } .tl-band__in p { margin: 0; }
.tl-band__in .tl-newsletter { margin: 0; max-width: none; }
@media (max-width: 800px) { .tl-band__in { grid-template-columns: 1fr; } }

/* ---------- Progress bar & mobile jump ---------- */
.tl-progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 99999; background: transparent; pointer-events: none; } .tl-progress span { display: block; height: 100%; width: 0; background: var(--tl-accent); transition: width .1s linear; }
.admin-bar .tl-progress { top: 32px; } @media (max-width: 782px) { .admin-bar .tl-progress { top: 46px; } }
.tl-mobile-jump { display: none; position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 90px); z-index: 9999; background: var(--tl-accent); color: #fff; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); align-items: center; gap: .5rem; transition: transform .25s; }
.tl-mobile-jump.is-visible { transform: translate(-50%, 0); }
@media (max-width: 782px) { .tl-mobile-jump { display: inline-flex; } }

/* ---------- Kadence header polish ---------- */
.site-top-header-wrap a { text-decoration: underline; text-underline-offset: 3px; }
#masthead .secondary-navigation .menu > li > a, #masthead .header-navigation .menu > li > a { font-weight: 600; }
.secondary-navigation .secondary-menu-container > ul > li > a { letter-spacing: .02em; }
.entry-content > .tl-section:first-child { margin-top: 0; }
.entry-hero-container-inner { background: var(--tl-cream); }
.single-recipe .entry-content > p:first-of-type { font-size: 1.1rem; }
.tl-related { margin: 3rem auto 0; max-width: var(--tl-wrap); } .tl-related h2 { text-align: center; }
.tl-links .tl-linkstack { max-width: 420px; margin: 1.5rem auto 2rem; }
.tl-saved .tl-card__media-wrap .tl-save { color: var(--tl-accent); }
.tl-saved__actions, .tl-shopping__actions { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0; }
.tl-shopping h3 { margin: 1.5rem 0 .4rem; font-size: 1.2rem; } .tl-shopping ul { list-style: none; padding: 0; margin: 0; } .tl-shopping li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; border-bottom: 1px dashed var(--tl-line); } .tl-shopping li.is-done span { text-decoration: line-through; opacity: .5; }
.tl-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--tl-ink); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; z-index: 100000; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
@media print { .tl-announce, .tl-footer, .tl-band#subscribe, .tl-mobile-jump, .tl-progress, .tl-toast { display: none !important; } }


/* =========================================================================
   Editorial look: photo-led cards, label-tab tiles, browse panel,
   kitchen-essentials strip and Instagram-style footer strip.
   ========================================================================= */
.tl-cards-editorial .tl-card { background: transparent; border-radius: 0; overflow: visible; box-shadow: none; }
.tl-cards-editorial .tl-card:hover { transform: none; box-shadow: none; }
.tl-cards-editorial .tl-card__media { border-radius: var(--tl-radius); }
.tl-cards-editorial .tl-card__body { padding: 1rem 0 0; }
.tl-cards-editorial .tl-card .tl-card__title { padding: 0 0 .8rem; margin: 0 0 .7rem; border-bottom: 1px solid var(--tl-line); font-size: 1.28rem; }
.tl-cards-editorial .tl-card__badge { border-radius: 3px; }
.tl-cards-editorial .tl-card__eyebrow { margin-bottom: .45rem; }
.tl-cards-editorial .tl-row { background: transparent; border-radius: 0; padding: 0 0 .9rem; box-shadow: none; border-bottom: 1px solid var(--tl-line); }
.tl-cards-editorial .tl-row__img { border-radius: var(--tl-radius); }
.tl-cards-editorial .tl-feature { box-shadow: none; border: 1px solid var(--tl-line); }

/* Photo tiles with a white label tab (bottom-right) */
.tl-tiles--tab { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--tl-gap); margin: 2rem auto 0; max-width: var(--tl-wrap); }
.tl-tiles--tab a { position: relative; display: block; }
.tl-tiles--tab .tl-tiles__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tl-cream); border-radius: var(--tl-radius); }
.tl-tiles--tab.tl-cols-2 .tl-tiles__img { aspect-ratio: 5 / 4; }
.tl-tiles--tab .tl-tiles__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.tl-tiles--tab a:hover .tl-tiles__img img { transform: scale(1.05); }
.tl-tiles--tab .tl-tiles__name { position: absolute; right: 0; bottom: 0; background: #fff; color: var(--tl-ink); padding: .8rem 1.5rem; font-family: var(--global-heading-font-family, serif); font-size: 1.2rem; font-weight: 400; border-top-left-radius: var(--tl-radius); border-bottom-right-radius: var(--tl-radius); }
.tl-tiles--tab a:hover .tl-tiles__name { color: var(--tl-accent); }
@media (max-width: 1100px) { .tl-tiles--tab.tl-cols-4 { --cols: 4; } }
@media (max-width: 880px) { .tl-tiles--tab, .tl-tiles--tab.tl-cols-4 { --cols: 2; } }
@media (max-width: 480px) { .tl-tiles--tab.tl-cols-2 { --cols: 1; } .tl-tiles--tab .tl-tiles__name { padding: .55rem 1rem; font-size: 1rem; } }
.tl-pagetop { padding-top: 1.5rem; }

/* Find-a-recipe panel */
.tl-browse { background: var(--tl-white); border: 1px solid var(--tl-line); border-radius: var(--tl-radius); padding: clamp(1.25rem, 3vw, 2rem); margin-top: 2.5rem; }
.tl-browse__title { font-family: var(--global-heading-font-family, serif); font-size: 1.7rem; line-height: 1.1; margin: 0 0 .5rem; color: var(--tl-ink); }
.tl-browse .tl-search { margin: .5rem 0 1.5rem; max-width: none; }
.tl-browse__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; }
.tl-browse__col h4 { font-family: var(--global-body-font-family, sans-serif); font-size: .74rem; text-transform: uppercase; letter-spacing: .17em; color: var(--tl-accent); margin: 0 0 .6rem; }
.tl-browse__col ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1rem; }
.tl-browse__col li { margin: 0 0 .35rem; break-inside: avoid; }
.tl-browse__col a { color: var(--tl-ink); text-decoration: none; font-weight: 600; }
.tl-browse__col a:hover { color: var(--tl-accent); }
@media (max-width: 760px) { .tl-browse__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tl-browse__cols { grid-template-columns: 1fr; } }

/* Kitchen essentials strip */
.tl-essentials { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .75rem; }
.tl-essentials a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--tl-white); border: 1px solid var(--tl-line); border-radius: var(--tl-radius); }
.tl-essentials img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tl-essentials a:hover img { transform: scale(1.06); }
.tl-essentials__name { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .95); color: var(--tl-ink); padding: .45rem .6rem; font-size: .74rem; font-weight: 700; line-height: 1.25; transform: translateY(100%); transition: transform .25s; }
.tl-essentials a:hover .tl-essentials__name, .tl-essentials a:focus-visible .tl-essentials__name { transform: none; }
@media (max-width: 1100px) { .tl-essentials { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tl-essentials { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tl-essentials__name { transform: none; position: static; background: transparent; padding: .3rem 0 0; } .tl-essentials a { aspect-ratio: auto; border: 0; } .tl-essentials img { aspect-ratio: 1; border-radius: var(--tl-radius); } }

/* Instagram-style strip */
.tl-insta { background: var(--tl-white); }
.tl-insta__head { text-align: center; font-family: var(--global-heading-font-family, serif); font-size: 1.7rem; margin: 0; padding: 2.75rem 1rem 1.4rem; color: var(--tl-ink); }
.tl-insta__head a { color: var(--tl-accent); text-decoration: none; }
.tl-insta__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.tl-insta__grid li { margin: 0; }
.tl-insta__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: opacity .2s; }
.tl-insta__grid a { display: block; overflow: hidden; } .tl-insta__grid a:hover img { opacity: .82; }
@media (max-width: 1000px) { .tl-insta__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tl-insta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Refinements */
.tl-section h1, .tl-section h2 { text-wrap: balance; }
.tl-eyebrow { letter-spacing: .2em; }
.entry-content .tl-section hr { border: 0; border-top: 1px solid var(--tl-line); }

/* Kadence adds margin/padding to lists inside content; keep our list-based components flush. */
.entry-content .tl-tiles, .entry-content .tl-essentials, .entry-content .tl-pills, .entry-content .tl-social, .entry-content .tl-browse__col ul, .tl-footer ul { padding-left: 0; margin-left: auto; margin-right: auto; }
.entry-content .tl-browse__col ul { margin-left: 0; margin-right: 0; }
.entry-content .tl-tiles li, .entry-content .tl-essentials li, .entry-content .tl-pills li { margin: 0; }
