/*
Theme Name: The Mother Huddle
Template: generatepress
Text Domain: the-mother-huddle
Description: GeneratePress child theme for The Mother Huddle: brand colors, fonts, and layouts.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* ---------- Brand tokens ---------- */
:root {
	--tmh-coral: #F27179;
	--tmh-coral-deep: #C2414D;
	--tmh-coral-dark: #9E2F3A;
	--tmh-coral-tint: #FBE1E3;
	--tmh-ink: #3D3936;
	--tmh-text: #605B56;
	--tmh-sage: #8CADA7;
	--tmh-sage-tint: #DCE7E4;
	--tmh-sand: #EFE8E1;
	--tmh-peach: #FDEEE3;
	--tmh-cream: #FAF7F4;
	--tmh-line: #EDE6E0;
	--tmh-serif: "Fraunces", Georgia, serif;
	--tmh-sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
body {
	background: var(--tmh-cream);
	color: var(--tmh-text);
	font-family: var(--tmh-sans);
	font-size: 18px;
	line-height: 1.7;
}
h1, h2, h3, h4, .entry-title, .page-title {
	font-family: var(--tmh-serif);
	font-weight: 600;
	color: var(--tmh-ink);
	line-height: 1.15;
}
h1, .entry-title { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.4rem; }
a { color: var(--tmh-coral-deep); }
a:hover, a:focus { color: var(--tmh-coral-dark); }
::selection { background: var(--tmh-coral-tint); }

/* Buttons */
button, .button, input[type="submit"], .wp-block-button__link, .tmh-btn {
	background: var(--tmh-coral-deep);
	color: #fff;
	border: 0;
	border-radius: 24px;
	padding: 12px 26px;
	font-weight: 700;
	font-family: var(--tmh-sans);
	text-decoration: none;
}
button:hover, .button:hover, input[type="submit"]:hover, .wp-block-button__link:hover, .tmh-btn:hover {
	background: var(--tmh-coral-dark);
	color: #fff;
}
.tmh-btn-outline {
	display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px;
	border: 2px solid var(--tmh-ink); border-radius: 24px;
	color: var(--tmh-ink); font-weight: 700; text-decoration: none;
}
.tmh-btn-outline:hover { background: var(--tmh-ink); color: #fff; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--tmh-line); }
.inside-header { padding-top: 14px; padding-bottom: 14px; }
.site-logo img, .header-image { max-height: 51px; width: auto; }
.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a {
	color: var(--tmh-ink);
	font-weight: 700;
	font-size: 15px;
	padding-left: 12px;
	padding-right: 12px;
}
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current-menu-ancestor > a { color: var(--tmh-coral-deep); background: transparent; }
.main-navigation ul ul { background: #fff; box-shadow: 0 8px 24px rgba(61, 57, 54, .12); border-radius: 12px; }
.main-navigation .main-nav ul ul li a { font-weight: 600; }
.menu-toggle, .menu-bar-item > a { color: var(--tmh-ink); }

/* ---------- Content shell ---------- */
.separate-containers .inside-article,
.separate-containers .page-header,
.one-container .container { background: #fff; border-radius: 20px; border: 1px solid var(--tmh-line); }
.single .inside-article, .page .inside-article { max-width: 780px; margin-left: auto; margin-right: auto; }
.entry-meta { font-size: 15px; color: var(--tmh-text); }
.entry-meta a { color: var(--tmh-coral-deep); }
.entry-content img { border-radius: 14px; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content blockquote { border-left: 4px solid var(--tmh-coral); background: var(--tmh-coral-tint); border-radius: 0 12px 12px 0; padding: 16px 20px; }

/* Breadcrumb */
.tmh-breadcrumb { font-size: 14px; margin-bottom: 14px; color: var(--tmh-text); }
.tmh-breadcrumb a { text-decoration: none; }

/* Disclosure line */
.tmh-disclosure {
	font-size: 14px; line-height: 1.5;
	background: var(--tmh-cream); border: 1px solid var(--tmh-line);
	border-radius: 12px; padding: 12px 16px; margin: 16px 0 24px;
}

/* Author box */
.tmh-author-box {
	display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start;
	margin-top: 40px; padding: 24px; border-radius: 20px;
	background: var(--tmh-cream); border: 1px solid var(--tmh-line);
}
.tmh-author-box img { border-radius: 50%; width: 80px; height: 80px; flex: none; }
.tmh-author-box .tmh-author-name { font-family: var(--tmh-serif); font-size: 22px; font-weight: 600; color: var(--tmh-ink); margin: 0; }
.tmh-author-box p { margin: 4px 0 10px; font-size: 16px; }
.tmh-author-box .tmh-author-text { flex: 1 1 280px; min-width: 0; }

/* Related posts */
.tmh-related { max-width: 1180px; margin: 0 auto; padding: 40px 0 8px; }
.tmh-related h2 { margin-bottom: 20px; }

/* Recipe card */
.tmh-recipe { margin: 32px 0; padding: 28px; border-radius: 20px; background: var(--tmh-cream); border: 2px solid var(--tmh-coral); }
.tmh-recipe-title { margin-top: 0; }
.tmh-recipe-facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 20px; padding: 14px 0; border-top: 1px solid var(--tmh-line); border-bottom: 1px solid var(--tmh-line); }
.tmh-recipe-facts dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tmh-recipe-facts dd { margin: 0; font-weight: 700; color: var(--tmh-ink); }
.tmh-recipe h3 { font-size: 20px; margin: 20px 0 8px; }
.tmh-recipe-ingredients li { margin-bottom: 4px; }
.tmh-recipe-print { margin-top: 12px; }
@media print {
	body * { visibility: hidden; }
	.tmh-recipe, .tmh-recipe * { visibility: visible; }
	.tmh-recipe { position: absolute; left: 0; top: 0; border: 0; }
	.tmh-recipe-print { display: none; }
}

/* ---------- Post content components (carried over from the old theme, restyled) ---------- */
/* Icon font is gone: hide old icon tags, draw the few that carry meaning. */
.entry-content i.fa { font-style: normal; }
.entry-content .tc-list i.fa { display: none; }
.entry-content .fa-plus-circle::before, .entry-content .fa-minus-circle::before, .entry-content .fa-check-circle::before, .entry-content .fa-times-circle::before {
	display: inline-flex; align-items: center; justify-content: center;
	width: 20px; height: 20px; border-radius: 50%; margin-right: 8px;
	font-size: 14px; font-weight: 700; line-height: 1; color: #fff; vertical-align: -3px;
}
.entry-content .fa-plus-circle::before { content: "+"; background: #3F7F67; }
.entry-content .fa-check-circle::before { content: "\2713"; background: #3F7F67; }
.entry-content .fa-minus-circle::before { content: "\2212"; background: var(--tmh-coral-deep); }
.entry-content .fa-times-circle::before { content: "\00D7"; background: var(--tmh-coral-deep); }
.entry-content .fa-ul { list-style: none; padding-left: 0; margin-left: 0; }

/* Table of contents box */
.tc-table { display: block; border: 1px solid var(--tmh-line); background: var(--tmh-cream); padding: 20px 24px; margin: 0 0 24px; border-radius: 16px; }
.tc-title { font-family: var(--tmh-serif); font-weight: 600; font-size: 20px; color: var(--tmh-ink); margin: 0 0 10px; }
.tc-list { column-count: 2; margin: 0; padding-left: 0; list-style: none; }
.tc-list li { padding: 2px 10px 2px 0; }
.tc-list a { color: var(--tmh-coral-deep); font-weight: 600; }
@media (max-width: 767px) { .tc-list { column-count: 1; } }
.c-title { color: var(--tmh-ink); margin: 36px 0 16px; }

/* Numbered product cards in guides */
.l-title { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--tmh-line); padding: 18px 0 8px; margin-top: 36px; }
.l-number { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--tmh-coral); color: var(--tmh-ink); display: flex; align-items: center; justify-content: center; }
.l-number p { margin: 0; font-family: var(--tmh-serif); font-size: 24px; font-weight: 600; }
.l-info h2 { font-size: 22px; margin: 0; }
.l-info h3 { font-size: 15px; font-family: var(--tmh-sans); font-weight: 700; color: var(--tmh-text); margin: 2px 0 0; }
.l-info p { display: none; }
.l-feature { display: flex; flex-wrap: wrap; gap: 20px; margin: 12px 0 20px; padding: 20px; border-radius: 18px; background: var(--tmh-cream); border: 1px solid var(--tmh-line); }
.l-product { flex: 1 1 240px; text-align: center; align-self: center; }
.l-product img { max-height: 260px; width: auto; border-radius: 12px; }
.l-add { margin-bottom: 8px; font-size: 15px; }
.l-button a { display: inline-block; width: 100%; max-width: 260px; padding: 12px 18px; border-radius: 24px; background: var(--tmh-coral-deep); color: #fff !important; font-size: 16px; text-decoration: none; }
.l-button a:hover { background: var(--tmh-coral-dark); }
.l-procon { flex: 1 1 260px; align-self: center; }
.l-procon p { margin-bottom: 8px; font-size: 14px; letter-spacing: .06em; }
.l-procon li { margin-bottom: 6px; }

/* Show / product summary blocks */
.show-container { border-top: 1px solid var(--tmh-line); margin-top: 40px; padding: 28px 0 16px; }
.show-container + .show-container { border-top: 0; margin-top: 0; }
.show-container .show { padding: 6px 18px; border-left: 6px solid var(--tmh-sage); font-family: var(--tmh-serif); font-weight: 600; color: var(--tmh-ink); font-size: 24px; }
.show-container .info-bar { display: flex; flex-wrap: wrap; background: var(--tmh-cream); border-radius: 16px; overflow: hidden; margin: 20px 0; }
.show-container .show-image { flex: 1 1 280px; aspect-ratio: 4 / 3; overflow: hidden; }
.show-container .show-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.show-container .show-stats { flex: 1 1 320px; padding: 24px; align-self: center; }
.show-container .watch, .show-container .age, .show-container .episodes, .show-container .calm { display: block; margin-bottom: 8px; }

/* Rank badges and simple tables */
.rank-box { float: left; width: 48px; height: 48px; border-radius: 50%; margin-right: 12px; background: var(--tmh-coral); color: var(--tmh-ink); font-weight: 700; font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }
.editor-choice { background: var(--tmh-coral-deep); color: #fff; padding: 4px 10px; font-weight: 700; border-radius: 8px; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 16px; }
.entry-content th, .entry-content td { border: 1px solid var(--tmh-line); padding: 8px 12px; }
.entry-content th { background: var(--tmh-cream); color: var(--tmh-ink); }

/* ---------- Post cards (archives, related, blog) ---------- */
.tmh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.tmh-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--tmh-ink); }
.tmh-card:hover { color: var(--tmh-coral-dark); }
.tmh-card-img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--tmh-sand); }
.tmh-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tmh-card-cat { align-self: flex-start; padding: 4px 10px; border-radius: 12px; background: var(--tmh-coral-tint); color: var(--tmh-coral-dark); font-size: 13px; font-weight: 700; }
.tmh-card-title { font-family: var(--tmh-serif); font-size: 21px; font-weight: 600; line-height: 1.25; }
.tmh-card-meta { font-size: 15px; color: var(--tmh-text); }

/* Archive layout: GeneratePress loop as a grid of cards */
.blog .site-main, .archive .site-main, .search-results .site-main {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px;
}
.blog .site-main > .page-header, .archive .site-main > .page-header, .search-results .site-main > .page-header,
.blog .site-main > .paging-navigation, .archive .site-main > .paging-navigation, .search-results .site-main > .paging-navigation,
.blog .site-main > .tmh-archive-intro, .archive .site-main > .tmh-archive-intro { grid-column: 1 / -1; }
.blog .site-main > article, .archive .site-main > article, .search-results .site-main > article { margin-bottom: 0; }
.blog .inside-article, .archive .inside-article, .search-results .inside-article {
	height: 100%; padding: 0 0 20px; overflow: hidden; background: #fff;
	border-radius: 18px; border: 1px solid var(--tmh-line);
}
.blog .post-image, .archive .post-image, .search-results .post-image { margin: 0 0 14px; }
.blog .post-image img, .archive .post-image img, .search-results .post-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 0; }
.blog .entry-header, .archive .entry-header, .search-results .entry-header,
.blog .entry-summary, .archive .entry-summary, .search-results .entry-summary,
.blog footer.entry-meta, .archive footer.entry-meta, .search-results footer.entry-meta { padding: 0 20px; }
.blog .entry-title, .archive .entry-title, .search-results .entry-title { font-size: 22px; }
.blog .entry-title a, .archive .entry-title a, .search-results .entry-title a { color: var(--tmh-ink); text-decoration: none; }
.blog .entry-summary, .archive .entry-summary, .search-results .entry-summary { font-size: 16px; }
.archive .page-header { padding: 32px; }
.archive .page-header .taxonomy-description { font-size: 18px; }
.tmh-subcats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tmh-subcats a { padding: 6px 14px; border-radius: 16px; background: var(--tmh-sage-tint); color: var(--tmh-ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.tmh-subcats a:hover { background: var(--tmh-sage); }

/* ---------- Homepage ---------- */
.tmh-home .site-content { padding: 0; }
.tmh-home .site.grid-container { max-width: none; padding: 0; }
.tmh-home .inside-article { background: transparent; border: 0; border-radius: 0; padding: 0; max-width: none; }
.tmh-home .entry-content { margin: 0; }
.tmh-home .entry-content > * { margin-top: 0; margin-bottom: 0; }
.tmh-section { padding: 64px 24px; }
.tmh-section-white { background: #fff; border-top: 1px solid var(--tmh-line); border-bottom: 1px solid var(--tmh-line); }
.tmh-section-peach { background: var(--tmh-peach); }
.tmh-wrap { max-width: 1180px; margin: 0 auto; }
.tmh-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tmh-coral-dark); display: inline-flex; align-items: center; gap: 10px; }
.tmh-section h2 { margin: 0 0 8px; }
.tmh-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.tmh-section-head p { margin: 0; }
.tmh-section-link { font-weight: 700; text-decoration: none; }

.tmh-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.tmh-hero-text { flex: 1 1 460px; min-width: 0; }
.tmh-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); line-height: 1.05; margin: 0 0 20px; }
.tmh-hero-lead { font-size: 19px; max-width: 540px; margin: 0 0 30px; }
.tmh-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.tmh-hero-actions .tmh-btn { display: inline-flex; align-items: center; min-height: 48px; }
.tmh-hero-media { flex: 1 1 420px; min-width: 0; }

.tmh-posts-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, 190px); gap: 16px; }
.tmh-mosaic-item { display: block; position: relative; border-radius: 20px; overflow: hidden; background: var(--tmh-sand); transition: transform .2s ease, box-shadow .2s ease; }
.tmh-mosaic-item:hover, .tmh-mosaic-item:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(47, 72, 88, .18); }
.tmh-mosaic-item img { transition: transform .35s ease; }
.tmh-mosaic-item:hover img { transform: scale(1.03); }
.tmh-mosaic-label { position: absolute; left: 12px; bottom: 12px; background: #fff; color: #2F4858; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; line-height: 1; padding: 7px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
@media (prefers-reduced-motion: reduce) { .tmh-mosaic-item, .tmh-mosaic-item img { transition: none; } .tmh-mosaic-item:hover, .tmh-mosaic-item:hover img { transform: none; } }
.tmh-mosaic-item:first-child { grid-row: span 2; }
.tmh-mosaic-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tmh-pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 28px; }
.tmh-pillar { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 16px; text-decoration: none; color: var(--tmh-ink); background: var(--tmh-sand); }
.tmh-pillar:nth-child(3n+1) { background: var(--tmh-coral-tint); }
.tmh-pillar:nth-child(3n+2) { background: var(--tmh-sage-tint); }
.tmh-pillar:hover { color: var(--tmh-coral-dark); }
.tmh-pillar strong { font-family: var(--tmh-serif); font-size: 22px; font-weight: 600; }
.tmh-pillar span { font-size: 15px; color: var(--tmh-text); }

.tmh-posts-card { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.tmh-posts-tall { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.tmh-card-tall .tmh-card-img { aspect-ratio: 2 / 3; }
.tmh-posts-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.tmh-list-item { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 16px; border: 1px solid var(--tmh-line); background: #fff; text-decoration: none; color: var(--tmh-ink); font-weight: 700; }
.tmh-list-item:hover { border-color: var(--tmh-coral); }
.tmh-list-num { font-family: var(--tmh-serif); font-size: 34px; font-weight: 600; color: var(--tmh-coral-deep); line-height: 1; }

.tmh-founder { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 40px; border-radius: 24px; background: #fff; border: 1px solid var(--tmh-line); }
.tmh-founder-photo { flex: 0 0 auto; width: 220px; height: 220px; border-radius: 50%; overflow: hidden; background: var(--tmh-coral-tint); }
.tmh-founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.tmh-founder-text { flex: 1 1 420px; min-width: 0; }

/* =========================================================
 * Homepage polish (Nov 14) — small details, nothing loud.
 * ========================================================= */

/* Stitched dash before every section label (a nod to sewing). */
.tmh-home .tmh-eyebrow::before { content: ""; width: 22px; border-top: 2px dashed currentColor; opacity: .75; }

/* Hero: hand-drawn coral squiggle under "Real talk." */
.tmh-squiggle {
	padding-bottom: 8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 10'%3E%3Cpath d='M1 6c7-5 13-5 20 0s13 5 20 0 13-5 18 0' fill='none' stroke='%23F27179' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x left bottom / 46px 8px;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* Hero: soft sage circle and a few dots behind the photos. */
.tmh-hero-media { position: relative; }
.tmh-hero-media::before { content: ""; position: absolute; top: -26px; right: -26px; width: 190px; height: 190px; border-radius: 50%; background: var(--tmh-sage-tint); z-index: 0; }
.tmh-hero-media::after { content: ""; position: absolute; left: -22px; bottom: -22px; width: 110px; height: 80px; background-image: radial-gradient(var(--tmh-coral) 1.6px, transparent 1.8px); background-size: 14px 14px; opacity: .45; z-index: 0; }
.tmh-hero-media .tmh-posts-mosaic { position: relative; z-index: 1; }

/* Find your corner: ring colors rotate coral / sage / navy / peach. */
.tmh-home .tmh-cat:nth-child(4n+1) .tmh-cat-img { box-shadow: 0 0 0 2px var(--tmh-coral); }
.tmh-home .tmh-cat:nth-child(4n+2) .tmh-cat-img { box-shadow: 0 0 0 2px var(--tmh-sage); }
.tmh-home .tmh-cat:nth-child(4n+3) .tmh-cat-img { box-shadow: 0 0 0 2px #2F4858; }
.tmh-home .tmh-cat:nth-child(4n+4) .tmh-cat-img { box-shadow: 0 0 0 2px #E8A93A; }
.tmh-home .tmh-cat .tmh-cat-img { transition: transform .2s ease; }
.tmh-home .tmh-cat:hover .tmh-cat-img { transform: translateY(-3px) rotate(-2deg); }

/* Fresh from the huddle: white boxed cards with a gentle lift. */
.tmh-home #fresh .tmh-card { background: #fff; border: 1px solid var(--tmh-line); border-radius: 22px; padding: 12px 12px 20px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tmh-home #fresh .tmh-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(47, 72, 88, .12); border-color: var(--tmh-coral-tint); }
.tmh-home #fresh .tmh-card-img { border-radius: 14px; }
.tmh-home #fresh .tmh-card-cat, .tmh-home #fresh .tmh-card-title, .tmh-home #fresh .tmh-card-meta { margin-left: 8px; margin-right: 8px; }
.tmh-home #fresh .tmh-card:nth-child(3n+2) .tmh-card-cat { background: var(--tmh-sage-tint); color: #3F5F59; }
.tmh-home #fresh .tmh-card:nth-child(3n+3) .tmh-card-cat { background: #E3EAF0; color: #2F4858; }

/* Trust section: navy band to match the top bar. */
.tmh-section-navy { background: #2F4858; color: #fff; }
.tmh-section-navy h2 { color: #fff; }
.tmh-section-navy .tmh-eyebrow { color: #F6B8BD; }
.tmh-home .tmh-section-navy .tmh-trust-card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; transition: background .2s ease, border-color .2s ease; }
.tmh-home .tmh-section-navy .tmh-trust-card:hover { background: rgba(255, 255, 255, .11); border-color: #F6B8BD; }
.tmh-section-navy .tmh-trust-title { color: #fff; }
.tmh-section-navy .tmh-trust-text { color: rgba(255, 255, 255, .78); }

/* Corner spotlights: colored tab across the top of each card. */
.tmh-home .tmh-spotlights > *:nth-child(odd) { box-shadow: inset 0 6px 0 var(--tmh-coral); }
.tmh-home .tmh-spotlights > *:nth-child(even) { box-shadow: inset 0 6px 0 var(--tmh-sage); }

/* Founder: sage section, stitched border inside the card. */
.tmh-section-sage { background: var(--tmh-sage-tint); }
.tmh-home .tmh-founder { position: relative; border: 0; box-shadow: 0 10px 30px rgba(47, 72, 88, .08); }
.tmh-home .tmh-founder::after { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(242, 113, 121, .45); border-radius: 18px; pointer-events: none; }
.tmh-home .tmh-founder > * { position: relative; z-index: 1; }

@media (max-width: 768px) {
	.tmh-hero-media::before { width: 120px; height: 120px; top: -14px; right: -10px; }
	.tmh-hero-media::after { left: -8px; bottom: -12px; }
}

/* Writers page */
.tmh-writers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 24px 0; }
.tmh-writer { padding: 24px; border-radius: 20px; background: var(--tmh-cream); border: 1px solid var(--tmh-line); }
.tmh-writer img { border-radius: 50%; }
.tmh-writer h3 { margin: 12px 0 4px; }
.tmh-writer-role { font-size: 14px; font-weight: 700; color: var(--tmh-coral-dark); margin: 0 0 8px; }

/* ---------- Footer ---------- */
.site-footer .site-info { display: none; }
.tmh-footer { background: var(--tmh-ink); color: #F3EEEA; font-size: 15px; }
.tmh-footer a { color: #fff; }
.tmh-footer a:hover { color: #F6B8BD; }
.tmh-footer-inner { max-width: 1180px; margin: 0 auto; padding: 48px 24px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.tmh-footer-brand { flex: 1 1 320px; min-width: 0; }
.tmh-footer-name { font-family: var(--tmh-serif); font-size: 26px; font-weight: 600; color: #fff; margin: 0 0 6px; }
.tmh-footer-tagline { color: #F6B8BD; font-weight: 700; margin: 0 0 14px; }
.tmh-footer-note { font-size: 14px; max-width: 440px; margin: 0; }
.tmh-footer-links { display: flex; flex-wrap: wrap; gap: 40px; }
.tmh-footer-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tmh-footer-bottom { max-width: 1180px; margin: 0 auto; padding: 16px 24px 28px; border-top: 1px solid #5A5450; font-size: 13px; color: #D8D0CA; }

/* ---------- Redesign (Nov 2026): header ---------- */
.tmh-topbar { background: #2F4858; color: #fff; font-size: 13.5px; }
.tmh-topbar-inner { max-width: 1180px; margin: 0 auto; padding: 7px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tmh-topbar-text { margin: 0; }
.tmh-topbar-text strong { color: var(--tmh-coral-dark); }
.tmh-topbar-links { display: flex; align-items: center; gap: 14px; }
.tmh-topbar-links a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; }
.tmh-topbar-links a:hover, .tmh-topbar .tmh-season-menu a:hover { color: var(--tmh-coral-tint); text-decoration: underline; }
.tmh-topbar .tmh-season-menu a { color: #fff; }
.tmh-topbar .tmh-season-label { color: #F6B8BD; }
.tmh-topbar-links a:hover, .tmh-topbar .tmh-season-menu a:hover { color: #F6B8BD; }

.inside-header { padding-left: 24px; padding-right: 24px; }
.site-header .site-logo, .site-header .site-branding { margin-left: 0; padding-left: 0; }
.tmh-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.tmh-brand .site-logo img, .tmh-brand .header-image { max-height: 52px; }
.tmh-brand-tag { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--tmh-text); white-space: nowrap; }

.main-navigation .main-nav ul li.tmh-nav-cta > a {
	background: var(--tmh-coral-deep); color: #fff; border-radius: 999px;
	line-height: 40px; padding: 0 20px; margin-left: 10px;
}
.main-navigation .main-nav ul li.tmh-nav-cta > a:hover { background: var(--tmh-coral-dark); color: #fff; }
/* Search icon in the menu */
.main-navigation .menu-bar-items { margin-left: 6px; }
.main-navigation .menu-bar-item > a { color: var(--tmh-ink); padding-left: 14px; padding-right: 6px; }
.main-navigation .menu-bar-item > a:hover { color: var(--tmh-coral-deep); }
.main-navigation .menu-bar-item .gp-icon svg { width: 1.15em; height: 1.15em; }
/* Search pop-up (styled here so it never shows unstyled) */
.gp-modal { display: none; }
.gp-modal.gp-modal--open { display: block; }
.gp-modal__overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(47, 72, 88, .6); display: flex; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px; }
.gp-modal__container { width: 100%; max-width: 640px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.gp-search-modal .search-modal-form { margin: 0; }
.gp-search-modal .search-modal-fields { display: flex; align-items: center; gap: 8px; }
.gp-search-modal .search-field { flex: 1; min-width: 0; height: 56px; border: 0; background: var(--tmh-cream); border-radius: 12px; padding: 0 18px; font-size: 19px; color: var(--tmh-ink); }
.gp-search-modal .search-field:focus { outline: 2px solid var(--tmh-coral); background: #fff; }
.gp-search-modal .search-modal-fields button { height: 56px; width: 56px; border-radius: 12px; border: 0; background: var(--tmh-coral-deep); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.gp-search-modal .search-modal-fields button:hover { background: var(--tmh-coral-dark); }
.gp-search-modal .search-modal-fields button svg { width: 20px; height: 20px; fill: currentColor; }

.tmh-season-row { background: var(--tmh-sage-tint); font-size: 14px; border-bottom: 1px solid var(--tmh-line); }
.tmh-season-inner { max-width: 1180px; margin: 0 auto; padding: 7px 24px; display: flex; align-items: center; gap: 14px; }
.tmh-topbar-season { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tmh-season-label { font-weight: 800; color: var(--tmh-coral-dark); text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; white-space: nowrap; }
.tmh-season-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.tmh-season-menu li { margin: 0; }
.tmh-season-menu a { color: var(--tmh-ink); font-weight: 700; text-decoration: none; }
.tmh-season-menu a:hover { color: var(--tmh-coral-dark); }

/* ---------- Redesign: homepage ---------- */
.tmh-img-blank { display: block; width: 100%; height: 100%; background: var(--tmh-sand); }
.tmh-hero-proof { margin: 18px 0 0; font-size: 14px; font-weight: 700; color: var(--tmh-text); }

/* Search-first section */
.tmh-search-section { text-align: center; }
.tmh-search-section h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 18px; }
.tmh-bigsearch { display: flex; align-items: center; max-width: 640px; margin: 0 auto 16px; background: #fff; border: 2px solid var(--tmh-line); border-radius: 999px; padding: 6px 6px 6px 22px; transition: border-color .2s; }
.tmh-bigsearch:focus-within { border-color: var(--tmh-coral); }
.tmh-bigsearch input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 18px; padding: 10px 0; color: var(--tmh-ink); outline: none; box-shadow: none; }
.tmh-bigsearch button { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--tmh-coral-deep); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.tmh-bigsearch button:hover { background: var(--tmh-coral-dark); }
.tmh-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0 auto 40px; max-width: 960px; }
.tmh-chips-label { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tmh-text); margin-right: 4px; }
.tmh-chip { display: inline-block; padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--tmh-line); color: var(--tmh-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.tmh-chip:hover { border-color: var(--tmh-coral); color: var(--tmh-coral-dark); }
.tmh-search-section .tmh-intent { text-align: left; }

/* "I want to..." tiles */
.tmh-intent { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tmh-intent-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--tmh-sand); text-decoration: none; }
.tmh-intent-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tmh-intent-tile:hover img { transform: scale(1.04); }
.tmh-intent-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(61,57,54,0) 35%, rgba(61,57,54,.82) 100%); }
.tmh-intent-text { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 4px; color: #fff; }
.tmh-intent-kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #F6B8BD; }
.tmh-intent-title { font-family: var(--tmh-serif); font-size: 23px; font-weight: 600; line-height: 1.15; }
.tmh-intent-sub { font-size: 14px; font-weight: 600; opacity: .92; }

/* Round category tiles */
.tmh-cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.tmh-cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; text-decoration: none; color: var(--tmh-ink); }
.tmh-cat-img { display: block; width: 112px; height: 112px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--tmh-coral-tint); margin-bottom: 8px; background: var(--tmh-sand); transition: box-shadow .2s ease; }
.tmh-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tmh-cat:hover .tmh-cat-img { box-shadow: 0 0 0 3px var(--tmh-coral); }
.tmh-cat-name { font-family: var(--tmh-serif); font-weight: 600; font-size: 17px; line-height: 1.2; }
.tmh-cat:hover .tmh-cat-name { color: var(--tmh-coral-dark); }
.tmh-cat-sub { font-size: 13px; color: var(--tmh-text); line-height: 1.35; }

/* Season block: intro card + 4 cards */
.tmh-season { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px; align-items: stretch; }
.tmh-season-intro { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.tmh-season-intro h2 { font-size: 28px; line-height: 1.15; }
.tmh-season-intro p:not(.tmh-eyebrow) { margin: 0 0 18px; }
.tmh-season-intro .tmh-btn { align-self: flex-start; }
/* 3 wider, squarer cards so text printed on photos isn't cut off. */
.tmh-season .tmh-posts-tall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tmh-season .tmh-card-tall .tmh-card-img { aspect-ratio: 3 / 2; }
.tmh-season { align-items: center; }
/* Seasonal corner illustration (snowflakes, leaves, hearts...) */
.tmh-season-intro { position: relative; overflow: hidden; }
.tmh-season-intro > :not(.tmh-season-art) { position: relative; z-index: 1; }
.tmh-season-art { position: absolute; right: -4px; bottom: -4px; width: 150px; height: 110px; opacity: .55; pointer-events: none; }
.tmh-season-art.tmh-season-art-top { top: 6px; right: 4px; bottom: auto; width: 70px; height: 70px; opacity: .4; }
@media (max-width: 600px) {
	.tmh-season .tmh-posts.tmh-posts-tall { grid-template-columns: 1fr; }
}

/* Card label + byline */
.tmh-card-meta { font-size: 13px; color: var(--tmh-text); }

/* Why trust us */
.tmh-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tmh-trust-card { display: flex; flex-direction: column; gap: 8px; padding: 26px 22px; border-radius: 20px; background: var(--tmh-cream); border: 1px solid var(--tmh-line); text-decoration: none; color: var(--tmh-ink); }
.tmh-trust-card:hover { border-color: var(--tmh-coral); }
.tmh-trust-icon { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--tmh-coral-tint); color: var(--tmh-coral-deep); margin-bottom: 6px; }
.tmh-trust-card:nth-child(even) .tmh-trust-icon { background: var(--tmh-sage-tint); color: #4F6F69; }
.tmh-trust-title { font-family: var(--tmh-serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.tmh-trust-text { font-size: 15px; color: var(--tmh-text); line-height: 1.55; }

/* Category spotlights */
.tmh-spotlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tmh-spot { background: #fff; border: 1px solid var(--tmh-line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.tmh-spot-head h3 { margin: 0 0 4px; font-size: 26px; }
.tmh-spot-head p { margin: 0; font-size: 15px; color: var(--tmh-text); }
.tmh-spot-lead { display: grid; grid-template-columns: 160px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; row-gap: 6px; text-decoration: none; color: var(--tmh-ink); }
.tmh-spot-img { grid-row: span 2; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--tmh-sand); }
.tmh-spot-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tmh-spot-title { font-family: var(--tmh-serif); font-size: 20px; font-weight: 600; line-height: 1.2; }
.tmh-spot-lead:hover .tmh-spot-title { color: var(--tmh-coral-dark); }
.tmh-spot-excerpt { font-size: 14.5px; color: var(--tmh-text); }
.tmh-spot-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tmh-line); }
.tmh-spot-list li { margin: 0; border-bottom: 1px solid var(--tmh-line); }
.tmh-spot-list a { display: block; padding: 11px 0; font-weight: 700; text-decoration: none; color: var(--tmh-ink); }
.tmh-spot-list a:hover { color: var(--tmh-coral-dark); }
.tmh-small { font-size: 13px; color: var(--tmh-text); margin: 18px 0 0; }
.tmh-founder-cred { font-size: 14px; font-weight: 700; color: var(--tmh-coral-dark); margin: 0 0 12px; }

/* ---------- Redesign: footer ---------- */
.tmh-footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 3fr); gap: 40px; }
.tmh-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tmh-fcol-title { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F6B8BD; }
.tmh-fcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tmh-fcol a { text-decoration: none; }
.tmh-fcol a:hover { text-decoration: underline; }
.tmh-footer-social { margin: 16px 0 0; font-weight: 700; }
.tmh-footer-money { max-width: 1180px; margin: 0 auto; padding: 0 24px 24px; }
.tmh-footer-money p { margin: 0; padding: 18px 20px; border-radius: 14px; background: #4A4541; font-size: 14px; line-height: 1.6; color: #EDE6E0; }

/* ---------- Small screens ---------- */
@media (max-width: 1024px) {
	.tmh-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
	.tmh-intent, .tmh-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tmh-season { grid-template-columns: 1fr; }
	.tmh-season .tmh-posts-tall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tmh-spotlights { grid-template-columns: 1fr; }
	.tmh-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
	body { font-size: 17px; }
	.site-logo img, .header-image, .tmh-brand .site-logo img { max-height: 35px; }
	.tmh-brand-tag { font-size: 11px; }
	.tmh-topbar-inner { justify-content: center; text-align: center; }
	.tmh-topbar-links { display: none; }
	.tmh-topbar-season { flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
	.tmh-season-menu { justify-content: center; gap: 2px 14px; font-size: 13px; }
	.main-navigation .main-nav ul li.tmh-nav-cta > a { margin: 10px 16px; display: inline-block; }
	.tmh-intent { gap: 12px; }
	.tmh-intent-title { font-size: 19px; }
	.tmh-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tmh-cat-img { width: 96px; height: 96px; }
	.tmh-spot-lead { grid-template-columns: 110px minmax(0, 1fr); }
	.tmh-footer-cols { grid-template-columns: 1fr 1fr; }
	.tmh-section { padding: 48px 18px; }
}
