/* ==========================================================================
   The Tasty Table — mobile-first styles. Sections: tokens, base, layout,
   buttons, header, hero, cards, home sections, footer, article, recipe,
   WP Recipe Maker overrides, comments, archives, utilities.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--tt-green: #263D2B;
	--tt-dark: #1D3022;
	--tt-cream: #FAF8F4;
	--tt-sage: #E8EDE5;
	--tt-white: #fff;
	--tt-text: #222620;
	--tt-muted: #687067;
	--tt-border: #E6E7E1;
	--tt-accent: #D99435;
	--tt-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--tt-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--tt-radius: 14px;
	--tt-radius-sm: 10px;
	--tt-shadow: 0 2px 10px rgba(29, 48, 34, .07);
	--tt-gap: clamp(.75rem, 3vw, 1.5rem);
	--tt-pad: 1.25rem;
	--tt-max: 1180px;
	--tt-read: 740px;
	--tt-card-w: 900px;
	--tt-header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--tt-header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--tt-cream);
	color: var(--tt-text);
	font-family: var(--tt-sans);
	font-size: 1rem;
	line-height: 1.65;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--tt-green); text-underline-offset: .18em; }
a:hover { color: var(--tt-dark); }
h1, h2, h3, h4 { font-family: var(--tt-serif); color: var(--tt-dark); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--tt-accent); outline-offset: 2px; border-radius: 4px; }
.tt-muted { color: var(--tt-muted); }
.tt-icon { flex: none; }

.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; z-index: 100000;
	left: .5rem; top: .5rem; background: var(--tt-white); color: var(--tt-dark); padding: .75rem 1rem;
	border-radius: 8px; box-shadow: var(--tt-shadow); font-weight: 600;
}

/* ---------- Layout ---------- */
.tt-container { width: 100%; max-width: var(--tt-max); margin-inline: auto; padding-inline: var(--tt-pad); }
.tt-container--read { max-width: calc(var(--tt-read) + 2 * var(--tt-pad)); }
.tt-section { padding-block: clamp(1.75rem, 5vw, 3.25rem); }
.tt-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.tt-section__title { font-size: clamp(1.4rem, 3.6vw, 1.9rem); margin-bottom: 1rem; }
.tt-section__head .tt-section__title { margin-bottom: 0; }
.tt-link-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; min-height: 44px; }
.tt-link-more:hover { text-decoration: underline; }
.tt-notice { background: var(--tt-sage); padding: .9rem 1rem; border-radius: var(--tt-radius-sm); font-size: .9rem; margin: 0; }

/* ---------- Buttons ---------- */
.tt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .7rem 1.4rem; border-radius: 10px; border: 1px solid transparent;
	font: 600 1rem/1.2 var(--tt-sans); text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.tt-btn--primary { background: var(--tt-green); color: #fff; }
.tt-btn--primary:hover { background: var(--tt-dark); color: #fff; }
.tt-btn--sm { min-height: 40px; padding: .45rem 1rem; font-size: .9rem; border-radius: 999px; }
.tt-icon-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	background: transparent; border: 0; border-radius: 10px; color: var(--tt-dark); cursor: pointer;
}
.tt-icon-btn:hover { background: var(--tt-sage); }
.tt-icon-btn .tt-icon { width: 24px; height: 24px; }

/* ---------- Header ---------- */
.tt-header { position: sticky; top: 0; z-index: 50; background: var(--tt-cream); border-bottom: 1px solid var(--tt-border); }
.tt-header__inner { display: flex; align-items: center; flex-wrap: wrap; min-height: var(--tt-header-h); gap: .25rem; }
.tt-brand { margin-right: auto; font-family: var(--tt-serif); }
.tt-brand__link { display: inline-flex; align-items: center; gap: .5rem; color: var(--tt-dark); font-size: 1.35rem; font-weight: 700; text-decoration: none; min-height: 44px; }
.tt-brand__link .tt-icon { width: 28px; height: 28px; color: var(--tt-green); }
.custom-logo-link { display: inline-flex; align-items: center; min-height: 44px; }
.custom-logo { max-height: 44px; width: auto; }
.tt-header__actions { display: flex; align-items: center; gap: .25rem; }
.tt-nav { order: 3; flex-basis: 100%; }
.js .tt-nav { display: none; }
.js .tt-nav.is-open { display: block; padding-bottom: 1rem; }
.tt-menu, .tt-footer-menu { list-style: none; margin: 0; padding: 0; }
.tt-menu a { display: flex; align-items: center; min-height: 48px; color: var(--tt-text); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--tt-border); }
.tt-menu a:hover, .tt-menu .current-menu-item > a, .tt-menu .current_page_item > a { color: var(--tt-green); font-weight: 700; }
.tt-menu .sub-menu { list-style: none; margin: 0; padding-left: 1rem; }
.tt-nav__cta { margin-top: .75rem; }
.tt-search-panel { border-top: 1px solid var(--tt-border); padding-block: .75rem; background: var(--tt-white); }

@media (min-width: 900px) {
	.tt-nav, .js .tt-nav { display: flex !important; align-items: center; gap: 1rem; order: 0; flex-basis: auto; padding: 0 !important; }
	.tt-menu { display: flex; align-items: center; gap: 1.5rem; }
	.tt-menu a { min-height: 44px; border: 0; font-size: .95rem; }
	.tt-menu li { position: relative; }
	.tt-menu .sub-menu { display: none; position: absolute; top: 100%; left: -1rem; z-index: 5; min-width: 200px; background: var(--tt-white); border: 1px solid var(--tt-border); border-radius: var(--tt-radius-sm); box-shadow: var(--tt-shadow); padding: .5rem 1rem; }
	.tt-menu li:hover > .sub-menu, .tt-menu li:focus-within > .sub-menu { display: block; }
	.tt-nav__cta { margin: 0; }
	.tt-nav-toggle { display: none; }
	.tt-header__actions { order: 2; margin-left: .5rem; }
}

/* ---------- Search form ---------- */
.tt-search { position: relative; display: flex; align-items: center; background: var(--tt-white); border: 1px solid var(--tt-border); border-radius: 999px; min-height: 52px; padding: 0 .35rem 0 1rem; max-width: 640px; }
.tt-search:focus-within { border-color: var(--tt-green); box-shadow: 0 0 0 3px rgba(38, 61, 43, .18); }
.tt-search__icon { color: var(--tt-muted); display: inline-flex; margin-right: .5rem; }
.tt-search__input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--tt-text); padding: .75rem 0; outline: none; -webkit-appearance: none; appearance: none; }
.tt-search__btn { display: inline-flex; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tt-green); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.tt-search__btn:hover { background: var(--tt-dark); }

/* ---------- Hero ---------- */
.tt-hero { position: relative; display: flex; align-items: center; background: var(--tt-dark); color: #fff; overflow: hidden; isolation: isolate; }
.tt-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tt-hero__img.tt-focus-left { object-position: left center; }
.tt-hero__img.tt-focus-right { object-position: right center; }
.tt-hero.has-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 32, 23, .5) 0%, rgba(20, 32, 23, .74) 100%); }
/* Intentional fallback when no photo is set: warm glow, forest gradient and a large faint leaf. No image files. */
.tt-hero.no-image { background:
	radial-gradient(110% 130% at 88% 12%, rgba(217, 148, 53, .34) 0%, rgba(217, 148, 53, 0) 55%),
	radial-gradient(90% 110% at 100% 100%, rgba(143, 178, 128, .3) 0%, rgba(143, 178, 128, 0) 60%),
	linear-gradient(120deg, var(--tt-dark) 0%, #2f4d38 100%); }
.tt-hero.no-image::before { content: ""; position: absolute; z-index: -1; right: -12%; top: 50%; width: min(78vw, 560px); aspect-ratio: 1; transform: translateY(-50%) rotate(8deg); background: rgba(255, 255, 255, .13);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 5-14 15-14 0 10-6 15-14 15M5 19c2-5 6-8 10-10'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19c0-8 5-14 15-14 0 10-6 15-14 15M5 19c2-5 6-8 10-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.tt-hero__inner { padding-block: clamp(2.25rem, 8vw, 5.5rem); }
.tt-hero__title { color: #fff; font-size: clamp(2.3rem, 9vw, 4.4rem); max-width: 15ch; text-wrap: balance; margin-bottom: .35em; line-height: 1.08; text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.tt-hero__text { font-size: clamp(1rem, 2.4vw, 1.25rem); max-width: 36ch; margin-bottom: 1.25rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.tt-hero .tt-search { box-shadow: 0 8px 28px rgba(0, 0, 0, .25); max-width: 560px; border-color: transparent; }
.tt-pills { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1rem 0 0; }
.tt-pills a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 999px; color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; background: rgba(20, 32, 23, .3); transition: background-color .2s, color .2s; }
.tt-pills a:hover { background: #fff; color: var(--tt-dark); }
.tt-pills--dark a { color: var(--tt-green); border-color: var(--tt-green); background: transparent; }
.tt-pills--dark a:hover { background: var(--tt-green); color: #fff; }
@media (min-width: 900px) {
	.tt-hero { min-height: 540px; }
	.tt-hero.has-image::after { background: linear-gradient(90deg, rgba(20, 32, 23, .9) 0%, rgba(20, 32, 23, .72) 36%, rgba(20, 32, 23, .12) 70%, rgba(20, 32, 23, 0) 100%); }
	.tt-hero.no-image::before { right: 2%; width: 480px; }
}

/* ---------- Cards ---------- */
.tt-grid { display: grid; gap: var(--tt-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) { .tt-grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 768px) { .tt-grid--3, .tt-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tt-card { background: var(--tt-white); border: 1px solid var(--tt-border); border-radius: 16px; padding: .5rem; overflow: hidden; box-shadow: var(--tt-shadow); display: flex; flex-direction: column; min-width: 0; transition: box-shadow .2s, transform .2s; }
.tt-card:hover { box-shadow: 0 10px 26px rgba(29, 48, 34, .13); }
.tt-card__media { display: block; aspect-ratio: 4 / 3; background: var(--tt-sage); border-radius: 11px; overflow: hidden; }
.tt-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tt-card__media.is-empty { background: linear-gradient(135deg, var(--tt-sage), #f4f6f0); }
.tt-card__ph { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--tt-green); opacity: .45; }
.tt-card__ph .tt-icon { width: 40px; height: 40px; }
.tt-card__body { padding: .65rem .4rem .35rem; min-width: 0; }
.tt-card__title { font-size: 1.02rem; line-height: 1.27; margin: 0 0 .4rem; overflow-wrap: break-word; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tt-card__title a { color: var(--tt-dark); text-decoration: none; }
.tt-card__title a:hover { text-decoration: underline; }
.tt-card__excerpt { font-size: .9rem; color: var(--tt-muted); margin: .4rem 0 0; }
.tt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .85rem; margin: 0; color: var(--tt-muted); font-size: .85rem; }
.tt-meta__item { display: inline-flex; align-items: center; gap: .3rem; }
.tt-meta .tt-icon { width: 15px; height: 15px; }
.tt-meta__rating .tt-icon { color: var(--tt-accent); }
.tt-meta a { color: var(--tt-muted); text-decoration: none; }

/* ---------- Home: story, categories, newsletter ---------- */
.tt-story { position: relative; background: var(--tt-sage); overflow: hidden; isolation: isolate; margin-block: clamp(.5rem, 2vw, 1.5rem) 0; }
.tt-story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tt-story.has-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(250, 248, 244, .72); }
.tt-story__inner { padding-block: clamp(2.5rem, 8vw, 5rem); display: flex; justify-content: center; align-items: center; min-height: clamp(280px, 44vw, 440px); }
.tt-story__content { margin: 0; max-width: 480px; text-align: center; }
.tt-story__leaf { display: inline-flex; color: var(--tt-green); opacity: .7; margin-bottom: .5rem; }
.tt-story__leaf .tt-icon { width: 34px; height: 34px; }
.tt-story__quote { margin: 0 0 .75rem; }
.tt-story__quote p { font-family: var(--tt-serif); font-style: italic; font-size: clamp(1.7rem, 5.8vw, 2.7rem); line-height: 1.18; color: var(--tt-dark); margin: 0; text-wrap: balance; }
.tt-story__caption { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--tt-muted); margin-bottom: 1rem; }
.tt-story__text { color: var(--tt-text); }
@media (min-width: 768px) {
	.tt-story.has-image .tt-story__inner { justify-content: flex-end; }
	.tt-story.has-image::after { background: linear-gradient(90deg, rgba(250, 248, 244, 0) 0%, rgba(250, 248, 244, .8) 55%, rgba(250, 248, 244, .92) 100%); }
}

.tt-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem .5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 560px) { .tt-cats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tt-cat { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-decoration: none; color: var(--tt-dark); font-weight: 600; font-size: .9rem; text-align: center; overflow-wrap: anywhere; }
.tt-cat__img { display: flex; align-items: center; justify-content: center; width: min(100%, 112px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--tt-sage), #f4f6f0); border: 3px solid var(--tt-white); box-shadow: var(--tt-shadow); transition: transform .2s; color: var(--tt-green); }
.tt-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.tt-cat__img .tt-icon { opacity: .45; }
.tt-cat:hover .tt-cat__img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .tt-cat:hover .tt-cat__img { transform: none; } .tt-card, .tt-btn { transition: none; } }

.home .tt-footer { margin-top: 0; }
.tt-newsletter-band { background: #D3DCC9; padding-block: clamp(2rem, 6vw, 3.5rem); margin-top: clamp(1.5rem, 5vw, 3rem); }
.tt-newsletter { text-align: center; }
.tt-newsletter__icon { color: var(--tt-green); display: inline-flex; }
.tt-newsletter__icon .tt-icon { width: 30px; height: 30px; }
.tt-newsletter__title { font-size: clamp(1.4rem, 3.8vw, 1.9rem); margin-bottom: .35rem; }
.tt-newsletter__text { color: #3d4a3f; max-width: 46ch; margin-inline: auto; }
.tt-newsletter__form { max-width: 520px; margin: 1.1rem auto 0; text-align: left; }
.tt-newsletter__form--plain { display: flex; flex-direction: column; gap: .6rem; }
.tt-newsletter__form input[type="email"], .tt-newsletter__form input[type="text"] { width: 100%; min-height: 48px; padding: .6rem 1rem; border: 1px solid var(--tt-border); border-radius: 10px; font: inherit; background: var(--tt-white); }
.tt-newsletter__form button, .tt-newsletter__form input[type="submit"] { min-height: 48px; }
@media (min-width: 560px) { .tt-newsletter__form--plain { flex-direction: row; gap: 0; } .tt-newsletter__form--plain input { flex: 1; border-radius: 10px 0 0 10px; } .tt-newsletter__form--plain .tt-btn { border-radius: 0 10px 10px 0; } }

/* ---------- Footer ---------- */
.tt-footer { background: var(--tt-dark); color: rgba(255, 255, 255, .88); margin-top: clamp(2rem, 6vw, 4rem); padding-block: 2rem 1.5rem; }
.tt-footer a { color: #fff; }
.tt-footer__top { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; justify-content: space-between; }
.tt-footer__name { font-family: var(--tt-serif); font-size: 1.35rem; font-weight: 700; color: #fff; margin: 0 0 .25rem; }
.tt-footer__desc { font-size: .9rem; max-width: 40ch; margin: 0; }
.tt-social { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.tt-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; }
.tt-social a:hover { background: rgba(255, 255, 255, .12); }
.tt-social .tt-icon { width: 24px; height: 24px; }
.tt-footer-menu { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: 1.25rem; }
.tt-footer-menu a { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; text-decoration: none; }
.tt-footer-menu a:hover { text-decoration: underline; }
.tt-footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .85rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .15); }
.tt-footer__legal a { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------- Posts and pages ---------- */
.tt-post-head { padding-top: clamp(1.5rem, 5vw, 3rem); }
.tt-post-head__title { font-size: clamp(2rem, 6.5vw, 3.2rem); margin-bottom: .4em; }
.tt-post-img { margin-block: 1rem 1.5rem; }
.tt-post-img img { width: 100%; border-radius: var(--tt-radius); aspect-ratio: 16 / 9; object-fit: cover; }
.tt-tags { font-size: .9rem; margin-top: 1.5rem; }
.tt-tags a { display: inline-block; padding: .25rem .75rem; margin: 0 .25rem .35rem 0; background: var(--tt-sage); border-radius: 999px; text-decoration: none; }

.tt-entry { font-size: 1.0625rem; line-height: 1.75; overflow-wrap: break-word; }
.tt-entry > * + * { margin-top: 1.1em; }
.tt-entry > * { max-width: var(--tt-read); margin-inline: auto; }
.tt-entry > .alignfull { max-width: none; }
.tt-entry h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-top: 1.8em; }
.tt-entry h3 { font-size: 1.3rem; margin-top: 1.5em; }
.tt-entry img { border-radius: var(--tt-radius-sm); }
.tt-entry figcaption { font-size: .85rem; color: var(--tt-muted); text-align: center; margin-top: .5rem; }
.tt-entry blockquote { border-left: 4px solid var(--tt-accent); margin-inline: 0; padding-left: 1.1rem; font-family: var(--tt-serif); font-style: italic; font-size: 1.2rem; }
.tt-entry table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.tt-entry th, .tt-entry td { border: 1px solid var(--tt-border); padding: .5rem .75rem; text-align: left; }
.tt-entry .alignwide { max-width: min(var(--tt-max), 100vw - 2 * var(--tt-pad)); }
.tt-entry .alignleft { float: left; margin: .25rem 1rem .5rem 0; }
.tt-entry .alignright { float: right; margin: .25rem 0 .5rem 1rem; }
.tt-entry pre { overflow-x: auto; background: var(--tt-white); border: 1px solid var(--tt-border); border-radius: var(--tt-radius-sm); padding: 1rem; }
.tt-entry .wp-block-details { background: var(--tt-white); border: 1px solid var(--tt-border); border-radius: var(--tt-radius-sm); padding: .25rem 1rem; }
.tt-entry .wp-block-details + .wp-block-details { margin-top: .6rem; }
.tt-entry .wp-block-details summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.tt-entry .wp-block-details[open] summary { margin-bottom: .5rem; }

/* Pattern components */
.tt-benefits { list-style: none; padding: 0; margin-left: 0; }
.tt-benefits li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .45rem; }
.tt-benefits li::before { content: ""; flex: none; width: 1.15em; height: 1.15em; margin-top: .3em; background: var(--tt-green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.tt-callout { background: var(--tt-white); border: 1px solid var(--tt-border); border-radius: var(--tt-radius); padding: 1.25rem; box-shadow: var(--tt-shadow); }
.tt-callout--sage { background: var(--tt-sage); }
.tt-callout > h2:first-child, .tt-callout > h3:first-child { margin-top: 0; }
.tt-tips li::marker { color: var(--tt-accent); }

/* ---------- Recipe article ---------- */
.tt-recipe-hero { display: flex; flex-direction: column; }
.tt-recipe-hero__media { background: var(--tt-sage); }
.tt-recipe-hero__img { width: 100%; aspect-ratio: 16 / 10; max-height: 62vh; object-fit: cover; }
.tt-recipe-hero__text { width: 100%; max-width: calc(var(--tt-read) + 2 * var(--tt-pad)); margin-inline: auto; padding: 1.25rem var(--tt-pad) .75rem; }
.tt-recipe-hero.no-media .tt-recipe-hero__text { padding-top: clamp(1.75rem, 5vw, 3.5rem); }
.tt-recipe-hero__title { font-size: clamp(2rem, 8vw, 3.3rem); margin-bottom: .3em; text-wrap: balance; }
.tt-recipe-hero__intro { font-size: 1.06rem; color: var(--tt-text); max-width: 60ch; }
.tt-rating { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; color: var(--tt-muted); }
.tt-stars { display: inline-flex; color: var(--tt-border); }
.tt-stars .is-on { color: var(--tt-accent); }
.tt-stars .tt-icon { width: 18px; height: 18px; }
.tt-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0; margin: 0 0 1rem; color: var(--tt-text); font-size: .95rem; }
.tt-facts li { display: inline-flex; align-items: center; gap: .4rem; }
.tt-facts .tt-icon { width: 18px; height: 18px; color: var(--tt-green); }
.tt-actions { margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.tt-actions .tt-btn { flex: 1 1 180px; }
@media (min-width: 900px) {
	/* Photo + text side by side. The fixed height only exists when there IS a photo to fill it. */
	.tt-recipe-hero.has-media { flex-direction: row; align-items: stretch; min-height: 460px; }
	.tt-recipe-hero.has-media .tt-recipe-hero__text { flex: 1 1 44%; max-width: none; margin: 0; padding: 3rem clamp(1.5rem, 4vw, 4rem); align-self: center; }
	.tt-recipe-hero.has-media .tt-recipe-hero__media { order: 1; flex: 1 1 56%; position: relative; }
	.tt-recipe-hero.has-media .tt-recipe-hero__img { position: absolute; inset: 0; height: 100%; max-height: none; aspect-ratio: auto; }
	.tt-actions .tt-btn { flex: 0 0 auto; }
}

.tt-article__body { padding-top: 1rem; }
.tt-read { max-width: var(--tt-read); margin-inline: auto; }
.tt-author { position: relative; display: flex; gap: .9rem; align-items: center; margin: 1.5rem auto; padding: .9rem 0; border-block: 1px solid var(--tt-border); }
.tt-author__photo { flex: none; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; display: block; background: var(--tt-sage); }
.tt-author__photo img { width: 100%; height: 100%; object-fit: cover; }
.tt-author__body { min-width: 0; }
.tt-author__name { font-family: var(--tt-serif); font-weight: 700; font-size: 1.1rem; margin: 0; }
.tt-author__link { color: var(--tt-dark); text-decoration: none; }
.tt-author__link::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.tt-author:hover .tt-author__link { text-decoration: underline; }
.tt-author__bio { font-size: .9rem; color: var(--tt-muted); margin: .15rem 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tt-author__arrow { margin-left: auto; color: var(--tt-muted); display: inline-flex; flex: none; }
.tt-related .tt-section__head, .tt-related .tt-section__title { margin-bottom: 1rem; }

/* ---------- WP Recipe Maker output (scoped; no plugin files are modified) ----------
   WPRM prints its own template CSS. These rules use higher specificity (not blanket !important) to bring
   the card in line with the theme. Selectors are the plugin's documented class names; if a part of your
   chosen template does not respond, inspect it in the browser and adjust under WPRM → Manage → Templates. */
.tt-entry > .wprm-recipe-container, .tt-entry > .alignwide { max-width: var(--tt-card-w); }
.tt-entry .wprm-recipe-container { width: 100%; max-width: var(--tt-card-w); margin: 2rem auto; }
.tt-entry .wprm-recipe-container .wprm-recipe { background: var(--tt-white); border: 1px solid var(--tt-border); border-radius: var(--tt-radius); box-shadow: var(--tt-shadow); padding: clamp(1rem, 4vw, 2.25rem); font-family: var(--tt-sans); color: var(--tt-text); line-height: 1.6; overflow-wrap: break-word; }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-name { font-family: var(--tt-serif); color: var(--tt-dark); font-size: clamp(1.6rem, 4.5vw, 2.2rem); line-height: 1.15; }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-summary { color: var(--tt-text); }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-header { font-family: var(--tt-serif); color: var(--tt-dark); font-size: clamp(1.35rem, 3.6vw, 1.7rem); margin: 2rem 0 .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--tt-border); }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-group-name { font-family: var(--tt-serif); color: var(--tt-green); font-size: 1.1rem; margin: 1.25rem 0 .25rem; }

/* Ingredients: roomy, readable, no rules between lines. */
.tt-entry .wprm-recipe-container .wprm-recipe ul.wprm-recipe-ingredients { list-style: none; margin: 0 0 .5rem; padding: 0; }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-ingredient { list-style: none; border: 0; padding: .55rem 0; margin: 0; line-height: 1.5; font-size: 1.02rem; color: var(--tt-text); }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-ingredient::marker { content: none; }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-ingredient-amount,
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-ingredient-unit { font-weight: 600; color: var(--tt-dark); }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-ingredient-notes { color: var(--tt-muted); }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-checkbox-container { min-width: 24px; min-height: 24px; accent-color: var(--tt-green); }

/* Instructions: numbered step guide, numbering continues across groups. */
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-instructions-container { counter-reset: tt-step; }
.tt-entry .wprm-recipe-container .wprm-recipe ul.wprm-recipe-instructions,
.tt-entry .wprm-recipe-container .wprm-recipe ol.wprm-recipe-instructions { list-style: none; margin: 0; padding: 0; }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-instruction { position: relative; list-style: none; counter-increment: tt-step; margin: 0 0 1.25rem; padding: 0 0 0 3rem; border: 0; min-height: 2rem; }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-instruction::marker { content: none; }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-instruction::before { content: counter(tt-step); position: absolute; left: 0; top: .05rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--tt-green); color: #fff; font: 700 .95rem/2rem var(--tt-sans); text-align: center; }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-instruction-text { font-size: 1.04rem; line-height: 1.7; color: var(--tt-text); }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-instruction-image { margin: .75rem 0 0; }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-instruction-image img { display: block; width: auto; max-width: 100%; height: auto; max-height: 420px; border-radius: var(--tt-radius-sm); }
.tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-notes { color: var(--tt-text); }

/* Plugin buttons (Print, Pin, ...) share the theme's green. */
.tt-entry .wprm-recipe-container .wprm-recipe a.wprm-recipe-link { color: var(--tt-green); border: 1.5px solid var(--tt-green); background: transparent; border-radius: 999px; padding: .5rem 1.1rem; font-weight: 600; text-decoration: none; }
.tt-entry .wprm-recipe-container .wprm-recipe a.wprm-recipe-link:hover { background: var(--tt-green); color: #fff; }
.tt-entry .wprm-recipe-container:focus { outline: none; }

/* The hero already shows the recipe photo, so do not repeat it inside the card. */
.tt-hero-shows-recipe-photo .tt-entry .wprm-recipe-container .wprm-recipe .wprm-recipe-image { display: none; }

/* Wide-content wrapper (e.g. recipe block wrapped in a group): let it use the card width too. */
.tt-entry > :has(> .wprm-recipe-container) { max-width: var(--tt-card-w); }

/* ---------- Comments ---------- */
.tt-comments { padding-block: 2rem 1rem; }
.tt-comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.tt-comment-list .comment-body { background: var(--tt-white); border: 1px solid var(--tt-border); border-radius: var(--tt-radius-sm); padding: 1rem; margin-bottom: .75rem; }
.tt-comment-list .children { list-style: none; padding-left: 1rem; }
.tt-comment-list .avatar { border-radius: 50%; float: left; margin-right: .75rem; }
.tt-comment-list .comment-meta { font-size: .85rem; color: var(--tt-muted); margin-bottom: .5rem; overflow: hidden; }
.comment-respond { background: var(--tt-white); border: 1px solid var(--tt-border); border-radius: var(--tt-radius); padding: clamp(1rem, 4vw, 1.75rem); }
.comment-reply-title { font-family: var(--tt-serif); font-size: 1.5rem; color: var(--tt-dark); margin-bottom: .5rem; }
.comment-form p { margin: 0 0 1rem; }
.comment-form .logged-in-as, .comment-form .comment-notes { font-size: .9rem; color: var(--tt-muted); }
.comment-form label { display: block; font-weight: 600; margin-bottom: .3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; min-height: 48px; padding: .65rem .9rem; border: 1px solid #cfd3c8; border-radius: 10px; font: inherit; background: var(--tt-cream); }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--tt-green); box-shadow: 0 0 0 3px rgba(38, 61, 43, .18); background: #fff; }
.comment-form textarea { min-height: 150px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.comment-form input[type="checkbox"] { width: 22px; height: 22px; flex: none; accent-color: var(--tt-green); }
.comment-form .comment-form-wprm-rating { margin-bottom: 1rem; }

/* ---------- Archives, empty states, pagination ---------- */
.tt-archive-head { padding-block: clamp(1.75rem, 5vw, 3rem) 0; text-align: center; }
.tt-archive-head__title { font-size: clamp(1.9rem, 6vw, 3rem); }
.tt-archive-head__desc { max-width: 60ch; margin-inline: auto; color: var(--tt-muted); }
.tt-archive-head__author img { border-radius: 50%; margin: 0 auto 1rem; }
.tt-archive-head .tt-search { margin-inline: auto; }
.tt-empty { text-align: center; max-width: 560px; margin-inline: auto; }
.tt-empty .tt-search { margin: 1rem auto; }
.tt-empty .tt-pills { justify-content: center; }
.tt-404 { text-align: center; }
.tt-404 .tt-search { margin: 1.25rem auto; }
.navigation.pagination { margin-top: 2rem; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--tt-border); border-radius: 10px; background: var(--tt-white); color: var(--tt-dark); text-decoration: none; font-weight: 600; }
.page-numbers.current, a.page-numbers:hover { background: var(--tt-green); color: #fff; border-color: var(--tt-green); }
.tt-page-links { margin-top: 1.5rem; }

/* ---------- Print: recipe pages print cleanly via the WPRM print button; hide chrome here ---------- */
@media print { .tt-header, .tt-footer, .tt-related, .tt-comments, .tt-actions { display: none !important; } }
