/*
Theme Name: HerStyleGuide
Theme URI: https://herstyleguide.com/
Author: HerStyleGuide
Description: A bright, feminine and professional blog theme: raspberry pink accents, tiny bows and sparkles, League Spartan + Sacramento + Poppins (or classic Lora + Dancing Script). Homepage sections, category cards, "You Cannot Miss!", pro-tip boxes, related articles, tag-to-category sync.
Version: 1.8.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: herstyleguide
*/

/* ---------- Tokens ---------- */
:root {
	--rasp: #CC1450;
	--rasp-dark: #A30F40;
	--pale: #FCE8EF;
	--blush: #FFF6F9;
	--hl: #F8C6D6;
	--ink: #2B2326;
	--muted: #6A5A60;
	--line: #F3D3DE;
	--white: #FFFFFF;
	--radius: 6px;
	--head: 'League Spartan', 'Poppins', 'Helvetica Neue', Arial, sans-serif;
	--head-weight: 700;
	--sans: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
	--script: 'Sacramento', 'Brush Script MT', cursive;
	--script-scale: 1.45;
	--script-weight: 400;
	--wrap: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); transition: color .15s ease; }
a:hover { color: var(--rasp); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: var(--head-weight); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
:focus-visible { outline: 2px solid var(--rasp); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto;
	background: var(--white); color: var(--rasp); padding: 10px 16px; z-index: 100; border-radius: var(--radius);
}

.container { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.center { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Buttons, links, chips ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 12px 26px;
	background: var(--rasp); color: var(--white); border: 1.5px solid var(--rasp);
	border-radius: var(--radius);
	font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
	text-decoration: none; cursor: pointer; line-height: 1.2;
	transition: background .15s ease, color .15s ease;
}
.btn:hover { background: var(--rasp-dark); border-color: var(--rasp-dark); color: var(--white); }
.btn--outline { background: var(--white); color: var(--rasp); }
.btn--outline:hover { background: var(--rasp); color: var(--white); border-color: var(--rasp); }

.hl-link {
	font-weight: 500; text-decoration: none;
	background: linear-gradient(transparent 58%, var(--hl) 58%);
	padding: 0 2px;
}
.hl-link:hover { color: var(--ink); background: linear-gradient(transparent 35%, var(--hl) 35%); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.chips--center { justify-content: center; margin-top: 8px; }
.chip {
	display: inline-block; background: var(--rasp); color: var(--white);
	font-size: 10.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
	padding: 5px 11px; border-radius: var(--radius); text-decoration: none; line-height: 1.4;
}
a.chip:hover { color: var(--white); background: var(--rasp-dark); }
.chip--soft { background: var(--pale); color: var(--rasp-dark); }
a.chip--soft:hover { background: var(--hl); color: var(--rasp-dark); }

.icon-btn {
	width: 44px; height: 44px; flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--blush); color: var(--rasp);
	border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.icon-btn:hover { background: var(--pale); color: var(--rasp); }

.script-kicker {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--script); font-weight: var(--script-weight); font-size: calc(30px * var(--script-scale)); line-height: 1.1; color: var(--rasp);
}

/* ---------- Text logo ---------- */
.custom-logo-link img { max-height: 64px; width: auto; }
.text-logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.text-logo-main { display: inline-flex; align-items: baseline; gap: 5px; }
.text-logo-main .hsg-sparkle { align-self: flex-start; }
.text-logo-script { font-family: var(--script); font-weight: var(--script-weight); font-size: calc(36px * var(--script-scale)); line-height: .8; color: var(--rasp); }
.text-logo-caps { font-family: var(--sans); font-weight: 600; font-size: 19px; letter-spacing: 3px; color: var(--ink); }
.text-logo-tagline { font-size: 9px; letter-spacing: 3.5px; color: #8A6A75; margin-top: 7px; font-weight: 400; }
.text-logo--footer .text-logo-script,
.text-logo--footer .text-logo-caps { color: var(--white); }
.text-logo:hover .text-logo-caps { color: var(--ink); }
.text-logo--footer:hover .text-logo-caps { color: var(--white); }

/* ---------- Header & menu ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.site-branding { flex: none; }
.primary-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
.header-actions { display: flex; gap: 8px; flex: none; }
.nav-toggle { display: none; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0 20px; }
.primary-nav li { position: relative; display: flex; align-items: center; }
.primary-nav li[hidden] { display: none !important; }
.primary-nav .menu > li > a {
	display: block; padding: 12px 0; font-size: 14px; font-weight: 400; text-decoration: none; color: var(--ink);
}
.primary-nav .menu > li > a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current-cat > a { color: var(--rasp); }

.sub-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 20px; height: 32px; margin-left: 1px; padding: 0;
	background: none; border: 0; color: var(--rasp); cursor: pointer;
}
.sub-toggle svg { transition: transform .15s ease; }
.has-sub.is-open > .sub-toggle svg { transform: rotate(180deg); }

/* Dropdown (desktop) */
.primary-nav .sub-menu,
.primary-nav .children {
	display: none; position: absolute; top: 100%; left: -16px; z-index: 30;
	min-width: 230px; padding: 8px 0;
	background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--rasp);
	border-radius: var(--radius); box-shadow: 0 14px 34px rgba(204, 20, 80, .10);
	flex-direction: column;
}
.primary-nav .sub-menu .sub-menu,
.primary-nav .children .children { top: -8px; left: 100%; }
.primary-nav .sub-menu li,
.primary-nav .children li { display: block; }
.primary-nav .sub-menu a,
.primary-nav .children a {
	display: block; padding: 9px 20px; font-size: 13.5px; font-weight: 400; text-decoration: none; white-space: nowrap;
}
.primary-nav .sub-menu a:hover,
.primary-nav .children a:hover { background: var(--blush); color: var(--rasp); }
.primary-nav .sub-menu .sub-toggle,
.primary-nav .children .sub-toggle { display: none; }

@media (hover: hover) and (min-width: 1081px) {
	.primary-nav li:hover > .sub-menu,
	.primary-nav li:hover > .children { display: flex; }
}
@media (min-width: 1081px) {
	.primary-nav li:focus-within > .sub-menu,
	.primary-nav li:focus-within > .children,
	.primary-nav li.is-open > .sub-menu,
	.primary-nav li.is-open > .children { display: flex; }
}

/* "More" dropdown (desktop, filled by main.js) */
.primary-nav .sub-toggle.more-toggle {
	width: auto; height: auto; margin: 0; padding: 12px 0; gap: 4px;
	font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--ink);
}
.primary-nav .sub-toggle.more-toggle:hover,
.hsg-more.is-open > .more-toggle,
.hsg-more.current-menu-ancestor > .more-toggle { color: var(--rasp); }
.primary-nav .hsg-more > .sub-menu { left: auto; right: -16px; max-height: 70vh; overflow-y: auto; }
.primary-nav .hsg-more > .sub-menu > li { display: block; }
.primary-nav .hsg-more > .sub-menu > li > .sub-toggle { display: none; }
.primary-nav .hsg-more > .sub-menu > li + li { border-top: 1px solid var(--line); }
.primary-nav .hsg-more > .sub-menu > li > a { font-weight: 500; }
.primary-nav .hsg-more .sub-menu .sub-menu {
	display: flex !important; position: static; min-width: 0;
	border: 0; box-shadow: none; padding: 0 0 6px; margin: 0; background: transparent;
}
.primary-nav .hsg-more .sub-menu .sub-menu a { padding: 6px 20px 6px 32px; font-size: 13px; color: var(--muted); }

/* Header search */
.header-search { border-top: 1px solid var(--line); background: var(--blush); padding: 18px 0; }
.search-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; margin: 0 auto; }
.search-field {
	flex: 1 1 240px; min-width: 0; height: 48px; padding: 0 16px;
	border: 1px solid #EBB8C9; border-radius: var(--radius); background: var(--white);
	font-family: var(--sans); font-size: 15px; color: var(--ink);
}

/* Mobile menu */
@media (max-width: 1080px) {
	.header-inner { flex-wrap: wrap; justify-content: space-between; }
	.nav-toggle { display: inline-flex; }
	.primary-nav { order: 3; flex: 1 1 100%; display: none; }
	.primary-nav.is-open { display: block; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); }
	.primary-nav li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a { flex: 1; padding: 14px 4px; font-size: 15px; }
	.sub-toggle { width: 44px; height: 44px; }
	.primary-nav .sub-menu,
	.primary-nav .children {
		position: static; flex: 1 1 100%; min-width: 0; box-shadow: none;
		border: 0; border-left: 2px solid var(--hl); border-radius: 0; margin: 0 0 10px 6px; padding: 0;
	}
	.primary-nav li.is-open > .sub-menu,
	.primary-nav li.is-open > .children { display: flex; }
	.primary-nav .sub-menu li,
	.primary-nav .children li { border-bottom: 0; }
	.primary-nav .sub-menu a,
	.primary-nav .children a { padding: 10px 14px; white-space: normal; }
}

/* ---------- Sections ---------- */
.section { padding-top: 80px; padding-bottom: 80px; }
.section--tight { padding-top: 24px; }
.section--blush { background: var(--blush); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 36px; text-align: center; }
.section-head h2 { font-size: 34px; margin: 0; }

.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--tight { gap: 20px; }
@media (max-width: 900px) {
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
}

/* ---------- Cards ---------- */
.card-link { display: flex; flex-direction: column; gap: 10px; text-decoration: none; height: 100%; }
.card-media {
	aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--pale);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease; }
.card-link:hover .card-media img { transform: scale(1.03); }
.card .chip { align-self: flex-start; }
.card-title { font-size: 20px; line-height: 1.3; margin: 2px 0 0; color: var(--ink); }
.card-link:hover .card-title { color: var(--rasp); }
.card-excerpt { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.card--small .card-media { aspect-ratio: 4 / 5; }
.card--small .card-title { font-size: 16.5px; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 80px; }
.hero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero-title { font-size: clamp(32px, 4vw, 44px); line-height: 1.12; letter-spacing: -.5px; margin: 0; }
.hero-title em { color: var(--rasp); font-style: italic; }
.hero-intro { margin: 0; font-size: 17px; color: #5A4A50; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 8px; }
.hero-media { flex: 1 1 400px; min-width: 0; position: relative; padding: 24px 24px 0 0; }
.hero-frame { position: absolute; inset: 0 0 24px 24px; border: 1.5px solid var(--rasp); border-radius: var(--radius); }
.hero-image { position: relative; aspect-ratio: 5 / 6; max-height: 520px; width: 100%; background: var(--pale); border-radius: var(--radius); overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-bow { position: absolute; top: -12px; left: -28px; }
.hero-sparkle { position: absolute; bottom: 4px; right: -10px; line-height: 0; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; }
.cat-card-media {
	position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
	border-radius: var(--radius); background: var(--pale);
	display: flex; align-items: flex-end; justify-content: center;
}
.cat-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s ease; }
.cat-card:hover .cat-card-media img { transform: scale(1.04); }
.take-me {
	position: relative; margin-bottom: 14px;
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--white); border-radius: 999px; padding: 4px 4px 4px 14px;
	box-shadow: 0 4px 14px rgba(204, 20, 80, .14);
	font-size: 11px; font-weight: 600; letter-spacing: 1.2px; color: var(--ink);
}
.take-me-heart { width: 28px; height: 28px; border-radius: 50%; background: var(--rasp); display: inline-flex; align-items: center; justify-content: center; }
.cat-card-name { font-family: var(--head); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--ink); text-align: center; }
.cat-card:hover .cat-card-name { color: var(--rasp); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--pale); padding: 72px 24px; }
.newsletter-inner { max-width: 640px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.newsletter h2 { font-size: 34px; margin: 0; }
.newsletter p { margin: 0; color: #5A4A50; }
.newsletter-form { width: 100%; max-width: 540px; margin-top: 18px; }
.newsletter-form form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
	flex: 1 1 240px; min-width: 0; height: 50px; padding: 0 16px;
	border: 1px solid #EBB8C9; border-radius: var(--radius); background: var(--white);
	font-family: var(--sans); font-size: 14px; color: var(--ink);
}
.newsletter-form button,
.newsletter-form input[type="submit"] {
	height: 50px; padding: 0 28px; background: var(--rasp); color: var(--white);
	border: 0; border-radius: var(--radius); font-family: var(--sans); font-weight: 500;
	font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
}
.admin-hint { font-size: 13px; background: var(--white); border: 1px dashed var(--rasp); border-radius: var(--radius); padding: 12px; }

/* ---------- You Cannot Miss ---------- */
.must-box { position: relative; border: 1.5px solid var(--rasp); border-radius: var(--radius); padding: 60px 32px 36px; margin-top: 16px; }
.must-title {
	position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
	display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 20px;
	background: var(--white); font-size: 34px; white-space: nowrap;
}

/* ---------- About ---------- */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 104px; padding-bottom: 104px; max-width: 1100px; }
.about-media { flex: 0 1 340px; min-width: 0; position: relative; padding: 0 20px 20px 0; margin: 0 auto; width: 100%; }
.about-frame { position: absolute; inset: 20px 0 0 20px; border: 1.5px solid var(--rasp); border-radius: var(--radius); }
.about-image { position: relative; aspect-ratio: 4 / 5; background: var(--pale); border-radius: var(--radius); overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-bow { position: absolute; top: -18px; right: -6px; }
.about-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.about-text h2 { font-size: clamp(30px, 4vw, 40px); margin: 0; }
.about-copy { color: #5A4A50; }
.about-copy p { margin: 0 0 10px; }

/* ---------- Archive ---------- */
.archive-head { padding-top: 48px; }
.archive-head .breadcrumbs { justify-content: center; margin-bottom: 20px; }
.archive-head .section-head { margin-bottom: 12px; }
.archive-head .section-head h2 { font-size: clamp(32px, 4vw, 44px); }
.archive-desc { max-width: 640px; margin: 0 auto 8px; text-align: center; color: var(--muted); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.page-numbers {
	min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 500;
}
.page-numbers.current { background: var(--rasp); border-color: var(--rasp); color: var(--white); }
.empty-state { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* ---------- Single post ---------- */
.more-strip { background: var(--blush); border-bottom: 1px solid var(--line); }
.more-strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 14px; padding-bottom: 14px; }
.more-strip-label { font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--rasp); }
.more-strip-list { display: flex; gap: 24px; overflow-x: auto; flex: 1 1 0; min-width: 0; scrollbar-width: thin; }
.more-item { display: flex; align-items: center; gap: 10px; flex: none; max-width: 260px; text-decoration: none; font-size: 13.5px; font-weight: 400; line-height: 1.35; }
.more-thumb { width: 46px; height: 46px; flex: none; border-radius: var(--radius); overflow: hidden; background: var(--pale); }
.more-thumb img { width: 100%; height: 100%; object-fit: cover; }

.single-article { padding-top: 40px; padding-bottom: 40px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: #8A6A75; line-height: 1.4; }
.breadcrumbs a { color: #8A6A75; text-decoration: none; }
.breadcrumbs a:hover { color: var(--rasp); }
.entry-title { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.15; margin: 0; }
.page-title { margin-bottom: 24px; }
.entry-meta { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.entry-meta a { color: var(--ink); font-weight: 500; text-decoration: none; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.btn--pin { min-height: 44px; padding: 10px 18px; font-size: 12px; }
.featured-figure { margin: 0 0 32px; }
.featured-figure img { width: auto; max-width: 100%; max-height: 760px; object-fit: contain; margin: 0 auto; border-radius: var(--radius); }
.featured-figure figcaption { font-size: 12.5px; font-style: italic; color: var(--muted); margin-top: 8px; text-align: center; }

.related-box { position: relative; border: 1.5px solid var(--rasp); border-radius: var(--radius); padding: 42px 24px 26px; margin: 64px 0 24px; }
.related-box-title {
	position: absolute; top: 0; left: 24px; transform: translateY(-50%);
	margin: 0; padding: 0 12px; background: var(--white); font-size: 26px;
}

/* ---------- Comments ---------- */
.comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid #EBB8C9; border-radius: var(--radius);
	font-family: var(--sans); font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--rasp); color: var(--white); padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand p { margin: 0; font-size: 14px; max-width: 300px; color: #FFE9F0; }
.footer-col { flex: 0 1 170px; }
.footer-title { font-size: 18px; color: var(--white); margin: 0 0 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: var(--white); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .35); font-size: 12.5px; color: #FFE9F0; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
	.header-inner { gap: 12px; }
	.text-logo-script { font-size: 28px; }
	.text-logo-caps { font-size: 14px; letter-spacing: 2px; }
	.text-logo-tagline { font-size: 7.5px; letter-spacing: 2.5px; }
	.custom-logo-link img { max-height: 48px; }
	.section { padding-top: 56px; padding-bottom: 56px; }
	.hero { padding-top: 40px; padding-bottom: 48px; gap: 40px; }
	.hero-bow { left: -8px; }
	.must-box { padding: 52px 18px 26px; }
	.must-title { font-size: 24px; }
	.section-head h2, .newsletter h2 { font-size: 28px; }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.take-me { font-size: 9.5px; padding-left: 10px; gap: 6px; }
	.take-me-heart { width: 24px; height: 24px; }
	.about { padding-top: 64px; padding-bottom: 64px; gap: 40px; }
	.card-title { font-size: 16px; }
	.card-excerpt { display: none; }
	.must-box .grid--3 { grid-template-columns: minmax(0, 1fr); }
	.related-box-title { font-size: 21px; }
}

/* =========================================================
   v1.3 structure: top bar, DREAM/forever lockups, 4-up grids,
   follow band, footer search. (Later rules refine the ones above.)
   ========================================================= */

/* Logo: bold caps beside the script word */
.text-logo-caps { font-family: var(--head); font-weight: 700; font-size: 21px; letter-spacing: 2.5px; }
.text-logo-main { gap: 10px; align-items: center; }

/* Top bar */
.topbar { background: var(--rasp); color: var(--white); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; min-height: 38px; padding-top: 4px; padding-bottom: 4px; }
.topbar-text { margin: 0; font-size: 12px; font-weight: 400; letter-spacing: 1.2px; text-transform: uppercase; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.social--icons a {
	width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%; color: inherit; text-decoration: none; transition: background .15s ease;
}
.topbar .social--icons a { color: var(--white); }
.topbar .social--icons a:hover { background: rgba(255, 255, 255, .18); color: var(--white); }
.social--buttons { justify-content: center; gap: 10px; }
.social--buttons a {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
	border: 1.5px solid var(--rasp); border-radius: var(--radius); background: var(--white);
	color: var(--rasp); text-decoration: none; font-weight: 500; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase;
}
.social--buttons a:hover { background: var(--rasp); color: var(--white); }

/* Heading lockup: DREAM / forever */
.section-head { display: flex; flex-direction: row; align-items: flex-end; justify-content: center; gap: 12px 24px; margin-bottom: 40px; text-align: center; }
.section-head--left { justify-content: space-between; text-align: left; flex-wrap: wrap; }
.section-head > .hsg-sparkle { display: none; }
.lockup { display: inline-flex; flex-direction: column; align-items: center; margin: 0; line-height: 1; font-size: clamp(30px, 4vw, 46px); }
.section-head--left .lockup { align-items: flex-start; }
.lockup-big {
	font-family: var(--head); font-weight: 800; font-size: 1em; line-height: 1;
	text-transform: uppercase; letter-spacing: .02em; color: var(--ink);
}
.lockup-script {
	font-family: var(--script); font-weight: var(--script-weight); text-transform: none;
	font-size: calc(.95em * var(--script-scale)); line-height: .9; color: var(--rasp);
	margin-top: -.18em; padding-left: 1.4em; letter-spacing: 0;
}
.section-head--center .lockup-script { padding-left: 1.6em; }
.see-all {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px;
	font-size: 12.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
	color: var(--rasp); text-decoration: none; border-bottom: 1.5px solid var(--hl);
}
.see-all:hover { color: var(--rasp-dark); border-bottom-color: var(--rasp); }
.archive-head .section-head { margin-bottom: 12px; }
.archive-head .lockup { font-size: clamp(32px, 4.4vw, 50px); }

/* Hero: highlighted word in script */
.hero-title { font-weight: 700; letter-spacing: -.01em; }
.hero-title em {
	font-family: var(--script); font-style: normal; font-weight: var(--script-weight);
	color: var(--rasp); font-size: calc(1.05em * var(--script-scale)); line-height: .6; padding: 0 .04em;
}

/* Grids: 4 up */
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } }

/* Cards */
.card-title { font-family: var(--head); font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: 0; }
.card--small .card-title { font-size: 16px; }
.cat-section .card-media, .must-box .card-media { aspect-ratio: 2 / 3; }

/* Category cards ("take me to" in script) */
.take-me { text-transform: none; letter-spacing: 0; }
.take-me > span:first-child {
	font-family: var(--script); font-weight: var(--script-weight); color: var(--ink);
	font-size: calc(17px * var(--script-scale)); line-height: 1; padding-right: 2px;
}

/* Category cards sit close under the hero */
.section--cards { padding-top: 16px; }

/* Posts you cannot miss */
.must-box { padding: 48px 32px 36px; }
.must-box .section-head { margin-bottom: 32px; }

/* Newsletter */
.newsletter .section-head { margin-bottom: 8px; }

/* Meet the author */
.about-text { gap: 14px; }
.about-text .section-head { margin-bottom: 4px; }
.about-greeting { font-size: clamp(22px, 2.6vw, 28px); margin: 0; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 6px; }
.about-social a { color: var(--rasp); border: 1px solid var(--line); background: var(--blush); }
.about-social a:hover { background: var(--pale); color: var(--rasp); }

/* Follow along band */
.follow { background: var(--pale); padding: 64px 0; }
.follow-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.follow-inner .section-head { margin-bottom: 4px; }
.follow-inner p { margin: 0 0 10px; color: #5A4A50; max-width: 520px; }

/* Footer */
.site-footer { padding-top: 56px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px 48px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.footer-brand { flex: 1 1 280px; }
.footer-social a { color: var(--white); border: 1px solid rgba(255, 255, 255, .45); }
.footer-social a:hover { background: var(--white); color: var(--rasp); }
.footer-search { flex: 1 1 360px; max-width: 520px; }
.footer-search-title { font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--white); margin: 0 0 12px; }
.footer-search .search-form { margin: 0; max-width: none; }
.footer-search .search-field { border-color: transparent; }
.footer-search .btn { background: var(--ink); border-color: var(--ink); }
.footer-search .btn:hover { background: #000; border-color: #000; }
.footer-grid { justify-content: flex-start; gap: 32px 72px; }
.footer-title { font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: 1.6px; text-transform: uppercase; }
.footer-disclosure { margin-top: 36px; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: #FFE9F0; line-height: 1.6; }

/* Article + blocks headings in the head face */
.entry-title { font-weight: 700; letter-spacing: -.01em; }
.related-box-title { font-weight: 700; }

@media (max-width: 640px) {
	.topbar-text { display: none; }
	.topbar-inner { justify-content: center; }
	.text-logo-caps { font-size: 15px; letter-spacing: 1.8px; }
	.lockup { font-size: 30px; }
	.section-head--left { align-items: flex-end; }
	.footer-grid { gap: 28px 40px; }
}

/* =========================================================
   Floating heart / share / read-next (bottom-right)
   ========================================================= */
.hsg-float {
	position: fixed; z-index: 40;
	right: calc(16px + env(safe-area-inset-right, 0px));
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	display: flex; align-items: flex-end; gap: 12px;
	pointer-events: none;
}
.hsg-float > * { pointer-events: auto; }
.hsg-float.is-hidden { display: none; }
.hsg-float-buttons { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hsg-heart-wrap, .hsg-share-wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hsg-fbtn {
	width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 22px rgba(43, 35, 38, .16);
	transition: transform .15s ease, background .15s ease, color .15s ease;
}
.hsg-fbtn:hover { transform: translateY(-2px); }
.hsg-heart { background: var(--rasp); color: var(--white); }
.hsg-heart svg { fill: none; transition: fill .15s ease; }
.hsg-heart.is-liked svg { fill: currentColor; }
.hsg-heart.pop svg { animation: hsg-pop .45s ease; }
@keyframes hsg-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.hsg-count {
	min-width: 44px; padding: 3px 10px; border-radius: 999px; text-align: center;
	background: var(--white); color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.4;
	box-shadow: 0 4px 14px rgba(43, 35, 38, .12); font-variant-numeric: tabular-nums;
}
.hsg-count[hidden] { display: none; }
.hsg-share { background: var(--white); color: var(--rasp); }
.hsg-share-menu {
	position: absolute; right: calc(100% + 12px); bottom: 0; min-width: 200px;
	background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--rasp);
	border-radius: var(--radius); box-shadow: 0 14px 34px rgba(204, 20, 80, .14);
	padding: 6px 0; display: flex; flex-direction: column;
}
.hsg-share-menu[hidden] { display: none; }
.hsg-float.menu-open .hsg-bubble { visibility: hidden; }
.hsg-share-menu a, .hsg-share-menu button {
	display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 18px;
	font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--ink);
	text-decoration: none; background: none; border: 0; text-align: left; cursor: pointer;
}
.hsg-share-menu a:hover, .hsg-share-menu button:hover { background: var(--blush); color: var(--rasp); }
.hsg-share-menu svg { color: var(--rasp); }

.hsg-bubble {
	position: relative; display: flex; align-items: center;
	max-width: 300px; background: var(--white); border-radius: 999px 18px 18px 999px;
	box-shadow: 0 10px 28px rgba(43, 35, 38, .16);
	opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease;
}
.hsg-bubble[hidden] { display: none; }
.hsg-bubble.is-in { opacity: 1; transform: none; }
.hsg-bubble-link { display: flex; align-items: center; gap: 12px; padding: 6px 34px 6px 6px; text-decoration: none; min-width: 0; }
.hsg-bubble-thumb { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; background: var(--pale); border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--hl); }
.hsg-bubble-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hsg-bubble-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.hsg-bubble-label { font-size: 10.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--rasp); }
.hsg-bubble-title {
	font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--ink);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hsg-bubble-link:hover .hsg-bubble-title { color: var(--rasp); }
.hsg-bubble-close {
	position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%;
	border: 0; background: var(--blush); color: var(--muted); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.hsg-bubble-close:hover { color: var(--rasp); }
@media (max-width: 640px) {
	.hsg-float { right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
	.hsg-fbtn { width: 50px; height: 50px; }
	.hsg-bubble { max-width: calc(100vw - 100px); }
	.hsg-bubble-thumb { width: 52px; height: 52px; }
	.hsg-bubble-title { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.hsg-bubble, .hsg-fbtn { transition: none; }
	.hsg-heart.pop svg { animation: none; }
}
@media print { .hsg-float { display: none; } }

/* =========================================================
   Category cards v2: square photo, rectangle "TAKE ME TO" label
   overlapping the bottom edge, big name below.
   ========================================================= */
.cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 36px; max-width: 1040px; margin: 0 auto; }
.cat-card { gap: 0; }
.cat-card-media { aspect-ratio: 1 / 1; border-radius: 0; display: block; }
.cat-card-media img { object-position: center 20%; }
.take-me {
	position: relative; z-index: 1; margin: -26px auto 0; width: 86%;
	display: flex; align-items: center; justify-content: center; gap: 0;
	min-height: 48px; padding: 8px 12px; border-radius: 0; box-shadow: none;
	background: #FAD3DF; color: var(--ink);
	font-family: var(--head); font-weight: 500; font-size: 26px; line-height: 1;
	letter-spacing: 0; text-transform: uppercase;
}
.cat-card--rose .take-me { background: #D9668C; color: var(--white); }
.cat-card--raspberry .take-me { background: #F2457A; color: var(--white); }
.cat-card:hover .take-me { background: var(--rasp); color: var(--white); }
.cat-card-name {
	margin-top: 18px; font-family: var(--head); font-weight: 600; font-size: 40px; line-height: 1.1;
	text-transform: none; letter-spacing: -.01em; color: var(--ink); text-align: center;
}
@media (max-width: 900px) {
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
	.take-me { font-size: 20px; min-height: 40px; margin-top: -22px; }
	.cat-card-name { font-size: 30px; margin-top: 14px; }
}
@media (max-width: 480px) {
	.cat-grid { gap: 28px 14px; }
	.take-me { font-size: 16px; min-height: 34px; margin-top: -18px; width: 88%; }
	.cat-card-name { font-size: 24px; margin-top: 12px; }
}

/* "More in …" strip on phones: label on top, posts scroll sideways below */
@media (max-width: 640px) {
	.more-strip-inner { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
	.more-strip-list { flex: none; gap: 16px; scroll-snap-type: x mandatory; padding-bottom: 4px; }
	.more-item { max-width: 240px; scroll-snap-align: start; }
}

/* Share row stays on one line on phones */
@media (max-width: 480px) {
	.share-row { flex-wrap: nowrap; gap: 8px; }
	.share-row .btn--pin { flex: 1 1 auto; min-width: 0; padding: 10px 12px; font-size: 11px; letter-spacing: .8px; white-space: nowrap; }
	.share-row .icon-btn { width: 44px; flex: none; }
}

/* =========================================================
   Newsletter (built-in form)
   ========================================================= */
.newsletter { background: var(--pale); padding: 72px 0; }
.newsletter-inner { max-width: 640px; margin: 0 auto; padding-left: 24px; padding-right: 24px; gap: 10px; }
.newsletter .script-kicker { font-size: calc(26px * var(--script-scale)); }
.newsletter-title {
	font-family: var(--head); font-weight: var(--head-weight); font-size: clamp(26px, 3.4vw, 36px);
	line-height: 1.2; margin: 0; text-wrap: balance;
}
.newsletter-text { margin: 0; color: #5A4A50; font-size: 15px; }
.newsletter-form { width: 100%; max-width: 560px; margin-top: 18px; }
.hsg-nl-form { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hsg-nl-row { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; justify-content: center; }
.hsg-nl-row input[type="email"] {
	flex: 1 1 260px; min-width: 0; height: 52px; padding: 0 16px;
	border: 1px solid #EBB8C9; border-radius: var(--radius); background: var(--white);
	font-family: var(--sans); font-size: 15px; color: var(--ink);
}
.hsg-nl-row input[type="email"]:focus { outline: 2px solid var(--rasp); outline-offset: 1px; border-color: var(--rasp); }
.hsg-nl-row .btn { height: 52px; min-height: 52px; padding: 0 30px; flex: 0 0 auto; }
.hsg-nl-row .btn[disabled] { opacity: .6; cursor: wait; }
.hsg-nl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hsg-nl-msg { margin: 4px 0 0; min-height: 1.4em; font-size: 14px; font-weight: 500; }
.hsg-nl-msg[data-status="ok"], .hsg-nl-msg[data-status="exists"] { color: #2E7D4F; }
.hsg-nl-msg[data-status="invalid"], .hsg-nl-msg[data-status="spam"] { color: var(--rasp-dark); }
.hsg-nl-note { margin: 0; font-size: 12px; color: var(--muted); }
@media (max-width: 480px) {
	.newsletter { padding: 56px 0; }
	.hsg-nl-row .btn { flex: 1 1 100%; }
}
.hsg-nl-msg:empty { display: none; }

/* All "Take me to" labels in the same light pink */
.cat-card--rose .take-me, .cat-card--raspberry .take-me { background: #FAD3DF; color: var(--ink); }
