/*
Theme Name: Chic Living Club
Theme URI: https://chiclivingclub.com
Author: Chic Living Club
Description: A premium, editorial, mobile-first theme for home decor and lifestyle publishers. Cormorant Garamond headings, Lato body, pink and ink palette.
Version: 1.6.1
Requires at least: 6.0
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: chic-living-club
*/

/* =========================================================================
   Tokens
   ====================================================================== */
:root {
	--pink: #ef1580;
	--pink-deep: #c70f69;
	--blush: #fdeaf3;
	--ink: #0d0509;
	--slate: #3f4649;
	--muted: #6f7478;
	--line: #e8e2de;
	--paper: #faf7f4;
	--white: #fff;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Lato", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--container: 1240px;
	--gutter: clamp(18px, 4.5vw, 44px);
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* =========================================================================
   Base
   ====================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.7;
	color: var(--slate);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--pink); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 {
	font-family: var(--serif);
	color: var(--ink);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -.005em;
	margin: 0 0 .5em;
}
p { margin: 0 0 1.2em; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: var(--ink); color: #fff; padding: 12px 18px; }
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   Layout helpers
   ====================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: 1160px; }
.container--narrow { max-width: 900px; }
.container--text { max-width: 780px; }
.section { padding-block: clamp(44px, 7vw, 92px); }
.section--tight { padding-top: clamp(20px, 3vw, 36px); }
.section-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	margin-bottom: clamp(22px, 3vw, 34px); padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.section-head h2 { margin: 0; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.section-head--center { justify-content: flex-start; text-align: left; }

.kicker {
	display: inline-block;
	font: 700 11px/1.2 var(--sans);
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--pink);
	margin-bottom: 14px;
}
.meta { font-size: 13px; color: var(--muted); margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--blush), #f3ece7); }

.btn, .comment-form .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 30px;
	font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
	background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 0;
	transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover, .comment-form .submit:hover { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn--pink { background: var(--pink); border-color: var(--pink); }
.btn--pink:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-link {
	display: inline-flex; align-items: center; gap: 10px;
	font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
	color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--ink); align-self: flex-start;
}
.btn-link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn-link:hover { color: var(--pink); border-color: var(--pink); }
.btn-link:hover .icon { transform: translateX(4px); }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; background: none; border: 0; padding: 0; color: var(--ink);
}
.icon-btn:hover { color: var(--pink); }

/* =========================================================================
   Header
   ====================================================================== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--pink); transform: scaleX(0); transform-origin: 0 50%; z-index: 120; }
.masthead { background: #fff; }
.masthead__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-block: 22px 18px; }
.masthead__left { display: flex; align-items: center; }
.masthead__right { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.masthead__tag { font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.menu-toggle { display: none; margin-left: -10px; }
.site-title { font: 700 clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem)/1 var(--serif); color: var(--ink); }
.masthead__brand .custom-logo-link { display: block; }
.masthead__brand img, .footer__brand img { width: auto; height: 52px; max-width: 100%; }
.social { display: flex; align-items: center; }
.social .icon-btn { width: 40px; }

.nav-bar { position: sticky; top: 0; z-index: 90; background: #fff; border-block: 1px solid var(--line); }
body.admin-bar .nav-bar { top: 32px; }
.nav-bar .menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 clamp(18px, 2.6vw, 38px); list-style: none; margin: 0; padding: 0; }
.nav-bar .menu > li { position: relative; display: flex; align-items: center; }
.menu a { font: 700 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); display: block; padding: 18px 0; }
.menu a:hover, .menu .current-menu-item > a, .menu .current-cat > a { color: var(--pink); }
.sub-toggle { background: none; border: 0; padding: 6px; margin-left: 2px; color: var(--muted); display: inline-flex; }
.sub-toggle svg { transition: transform .25s var(--ease); }

/* Desktop dropdowns */
.nav-bar .menu li > ul {
	position: absolute; top: 100%; left: -18px; min-width: 230px; list-style: none; margin: 0; padding: 12px 0;
	background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(13, 5, 9, .25);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-bar .menu li:hover > ul, .nav-bar .menu li:focus-within > ul, .nav-bar .menu li.is-open > ul { opacity: 1; visibility: visible; transform: none; }
.nav-bar .menu li > ul a { padding: 10px 22px; letter-spacing: .1em; font-weight: 400; font-size: 12px; text-transform: none; font-size: 14px; letter-spacing: .02em; }
.nav-bar .menu li > ul a:hover { background: var(--paper); }

/* Mobile panel */
.mobile-overlay { position: fixed; inset: 0; background: rgba(13, 5, 9, .5); z-index: 130; opacity: 0; transition: opacity .3s var(--ease); }
.mobile-overlay.is-open { opacity: 1; }
.mobile-panel {
	position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 380px); z-index: 140; background: #fff;
	transform: translateX(-102%); transition: transform .35s var(--ease); overflow-y: auto; overscroll-behavior: contain;
	padding: 0 24px calc(24px + env(safe-area-inset-bottom));
}
.mobile-panel.is-open { transform: none; }
.mobile-panel__head { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.mobile-panel__title { font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.menu--mobile { list-style: none; margin: 0; padding: 0; }
.menu--mobile li { position: relative; border-bottom: 1px solid var(--line); }
.menu--mobile a { font: 600 1.55rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; padding: 16px 44px 16px 0; }
.menu--mobile .sub-toggle { position: absolute; right: -6px; top: 8px; width: 44px; height: 44px; justify-content: center; align-items: center; }
.menu--mobile li.is-open > .sub-toggle svg { transform: rotate(180deg); }
.menu--mobile li > ul { list-style: none; margin: 0; padding: 0 0 12px 14px; display: none; }
.menu--mobile li.is-open > ul { display: block; }
.menu--mobile li > ul li { border: 0; }
.menu--mobile li > ul a { font: 400 15px/1.3 var(--sans); padding: 10px 0; color: var(--slate); }
.social--panel { margin-top: 24px; }

/* Search overlay */
.search-overlay {
	position: fixed; inset: 0; z-index: 150; background: #fff; display: flex; align-items: center; justify-content: center;
	opacity: 0; transition: opacity .25s var(--ease); padding: var(--gutter);
}
.search-overlay[hidden] { display: none; }
.search-overlay.is-open { opacity: 1; }
.search-overlay__close { position: absolute; top: 14px; right: 14px; }
.search-overlay__inner { width: min(760px, 100%); text-align: center; }
.searchform { display: flex; border-bottom: 2px solid var(--ink); }
.searchform input { flex: 1; min-width: 0; border: 0; background: none; font: 500 clamp(1.7rem, 1.2rem + 2vw, 2.8rem)/1.2 var(--serif); padding: 14px 0; color: var(--ink); outline: 0; border-radius: 0; -webkit-appearance: none; appearance: none; }
.searchform input::placeholder { color: #b9b2ad; }
.searchform button { background: none; border: 0; width: 52px; color: var(--ink); }
.searchform button:hover { color: var(--pink); }

@media (max-width: 1023px) {
	.masthead { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); }
	body.admin-bar .masthead { top: 46px; }
	.masthead__inner { padding-block: 10px; }
	.menu-toggle { display: inline-flex; }
	.masthead__tag, .social--head { display: none; }
	.masthead__brand img { height: 34px; }
	.nav-bar { display: none; }
}

/* =========================================================================
   Cards, features, grids
   ====================================================================== */
.card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card__media, .feature__media { display: block; overflow: hidden; background: var(--blush); position: relative; }
.card__media { aspect-ratio: 4 / 3; }
.card__media img, .feature__media img, .cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img, .feature:hover .feature__media img, .cat-tile:hover img { transform: scale(1.045); }
.card__body { display: flex; flex-direction: column; align-items: flex-start; }
.card__body .kicker { margin-bottom: 10px; }
.card__title { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); line-height: 1.14; margin: 0 0 12px; }
.card__title a:hover { color: var(--ink); background-image: linear-gradient(var(--pink), var(--pink)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; }

.grid { display: grid; gap: clamp(36px, 5vw, 56px) clamp(22px, 3vw, 36px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--after-feature { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.archive-head + .section .feature:only-child + .grid--after-feature { margin-top: 0; }

.feature { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.feature__media { aspect-ratio: 5 / 4; }
.feature__body { display: flex; flex-direction: column; align-items: flex-start; }
.feature__title { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); line-height: 1.04; margin-bottom: 18px; }
.feature__title a:hover { color: var(--pink); }
.feature__excerpt { font-size: 17px; line-height: 1.7; color: var(--slate); margin-bottom: 18px; }
.feature .meta { margin-bottom: 26px; }

@media (max-width: 1023px) {
	.feature { grid-template-columns: 1fr; gap: 24px; }
	.feature__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.grid--3 { grid-template-columns: 1fr; }
	.card__media { aspect-ratio: 16 / 11; }
	.feature__excerpt { font-size: 16px; }
}

/* =========================================================================
   Homepage
   ====================================================================== */
.hero { padding-top: clamp(20px, 3.5vw, 44px); }

.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--blush); color: #fff; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 5, 9, 0) 45%, rgba(13, 5, 9, .72)); }
.cat-tile img { position: absolute; inset: 0; }
.cat-tile__label { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.cat-tile__name { font: 600 clamp(1.5rem, 1.2rem + .8vw, 2rem)/1.05 var(--serif); }
.cat-tile__count { font: 700 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.cat-tile:hover { color: #fff; }
@media (max-width: 900px) {
	.cat-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.cat-grid::-webkit-scrollbar { display: none; }
	.cat-tile { flex: 0 0 62%; max-width: 280px; scroll-snap-align: start; }
}

.more-wrap { text-align: center; margin: clamp(40px, 6vw, 64px) 0 0; }

.story { background: var(--paper); }
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.story__grid--solo { grid-template-columns: minmax(0, 720px); justify-content: start; text-align: left; }
.story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story__body h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.story__body p { font-size: 17px; }

.band { background: var(--ink); color: #e9e3df; text-align: left; padding-block: clamp(56px, 8vw, 96px); }
.band h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.band p { max-width: 560px; margin: 0 0 28px; }
.band__form { max-width: 480px; margin: 0; }
.band__form input[type="email"], .band__form input[type="text"] { width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid #4a4146; background: transparent; color: #fff; font-size: 16px; border-radius: 0; }
.band__form input[type="submit"], .band__form button { min-height: 48px; padding: 0 28px; background: var(--pink); color: #fff; border: 0; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-top: 10px; }

.faq.container--text { max-width: var(--container); }
.faq__item { border-bottom: 1px solid var(--line); max-width: 860px; }
.faq__item summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
	font: 600 clamp(1.3rem, 1.1rem + .6vw, 1.6rem)/1.2 var(--serif); color: var(--ink); padding: 22px 0; min-height: 56px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--pink); }
.faq__chev { flex: none; width: 20px; height: 20px; transition: transform .3s var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__item p { padding-bottom: 22px; margin: 0; color: var(--slate); max-width: 680px; }

/* =========================================================================
   Archive / category
   ====================================================================== */
.archive-head { text-align: left; padding-block: clamp(36px, 6vw, 72px) clamp(8px, 2vw, 20px); }
.archive-head > * { max-width: 820px; }
.archive-head__title { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.2rem); line-height: 1; margin-bottom: 18px; }
.archive-head__desc { font-size: 17px; max-width: 680px; margin: 0 0 8px; }
.archive-head__desc p:last-child { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--pink); }
.pills { list-style: none; display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 10px; padding: 0; margin: 28px 0 0; }
.pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--line); font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.pills a:hover, .pills a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 700px) {
	.pills { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.pills::-webkit-scrollbar { display: none; }
	.pills a { white-space: nowrap; }
}

.pagination { margin-top: clamp(48px, 7vw, 84px); border-top: 1px solid var(--line); padding-top: 32px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 6px; }
.page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); border: 1px solid transparent; }
a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }
.page-numbers.current { background: var(--ink); color: #fff; }
.page-numbers.dots { min-width: 0; }

.empty { text-align: left; padding-block: 40px; }
.empty .searchform { max-width: 520px; margin: 24px 0; }
.empty--page { padding-block: clamp(60px, 10vw, 120px); }

/* =========================================================================
   Single post
   ====================================================================== */
.single .entry-header { text-align: left; padding-block: clamp(28px, 5vw, 56px) clamp(20px, 3vw, 32px); }
.single--page .container { max-width: var(--container); }
.single--page .entry-content { max-width: 780px; }
.entry-title { font-size: clamp(2.3rem, 1.5rem + 3.8vw, 4.4rem); line-height: 1.04; letter-spacing: -.01em; margin-bottom: 20px; }
.entry-dek { font: italic 500 clamp(1.25rem, 1.1rem + .6vw, 1.6rem)/1.35 var(--serif); color: var(--slate); max-width: 680px; margin: 0 0 24px; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 10px; font-size: 13px; color: var(--muted); }
.entry-meta strong { color: var(--ink); }
.entry-meta__avatar { border-radius: 50%; width: 36px; height: 36px; }
.entry-hero { margin: 0 0 clamp(28px, 4vw, 44px); }
.entry-hero img { width: 100%; max-height: 720px; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 700px) { .entry-hero { padding-inline: 0; } .entry-hero img { aspect-ratio: 4 / 3; } }

.disclosure { font-size: 13px; line-height: 1.6; color: var(--muted); border-left: 2px solid var(--pink); padding: 4px 0 4px 16px; margin-bottom: 32px; }

.entry-content { font-size: 17.5px; line-height: 1.85; color: #2c2f31; overflow-wrap: break-word; }
.entry-content > * { margin-block: 0 1.5em; }
.entry-content > p:first-child::first-letter {
	float: left; font: 600 4.6em/.78 var(--serif); color: var(--pink); padding: .06em .1em 0 0;
}
.entry-content h2 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.9rem); margin: 2.1em 0 .6em; line-height: 1.08; }
.entry-content h3 { font-size: clamp(1.6rem, 1.4rem + .9vw, 2.15rem); margin: 1.8em 0 .5em; }
.entry-content h4 { font-size: 1.35rem; margin: 1.6em 0 .4em; }
.entry-content a { color: var(--pink-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .55em; }
.entry-content li::marker { color: var(--pink); }
.entry-content img { max-width: 100%; height: auto; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; margin-top: 10px; }
.entry-content blockquote {
	margin: 2em 0; padding: 0 0 0 clamp(18px, 3vw, 32px); border-left: 2px solid var(--pink);
	font: italic 500 clamp(1.5rem, 1.2rem + 1.2vw, 2rem)/1.3 var(--serif); color: var(--ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content hr { border: 0; height: 1px; background: var(--line); margin: 3em auto; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 480px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.entry-content th { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--paper); }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content iframe { width: 100%; }
.entry-content > p:empty { display: none; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2.5em 0 0; }
.entry-tags a { font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); padding: 10px 14px; }
.entry-tags a:hover { border-color: var(--pink); }

/* Contents box */
.toc { background: var(--paper); border: 1px solid var(--line); margin-block: 2em; font-size: 16px; }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; min-height: 56px; font: 600 1.5rem/1 var(--serif); color: var(--ink); }
.toc summary::-webkit-details-marker { display: none; }
.toc__chev { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.toc:not([open]) .toc__chev { transform: rotate(-90deg); }
.toc li { margin: 0; padding: 7px 0; }
.toc a { color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--pink); }

/* Common plugin boxes (related, "don't miss", FAQ blocks) get a quiet editorial look */
.entry-content .wp-block-group.has-background, .entry-content .wp-block-quote.is-style-plain { padding: clamp(18px, 3vw, 28px); }
.entry-content .wp-block-button__link { border-radius: 0; background: var(--ink); color: #fff; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; text-decoration: none; }
.entry-content .wp-block-button__link:hover { background: var(--pink); color: #fff; }
.entry-content .wp-block-image figcaption { margin-top: 10px; }

/* Share + author */
.share { display: flex; align-items: center; gap: 4px; border-block: 1px solid var(--line); padding: 14px 0; margin-top: 48px; }
.share__label { font: 600 1.4rem/1 var(--serif); color: var(--ink); margin-right: auto; }
.share .icon-btn.is-done { color: var(--pink); }
.author-box { display: flex; gap: clamp(16px, 3vw, 28px); align-items: flex-start; background: var(--paper); padding: clamp(22px, 4vw, 36px); margin-top: 40px; }
.author-box__avatar { border-radius: 50%; flex: none; width: 84px; height: 84px; object-fit: cover; }
.author-box__name { font-size: 1.9rem; margin-bottom: 8px; }
.author-box p:last-child { margin: 0; font-size: 15px; }
@media (max-width: 560px) { .author-box { flex-direction: column; } }

/* Two-column post layout */
.post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(40px, 6vw, 88px);
	align-items: start;
	padding-bottom: clamp(48px, 7vw, 88px);
}
.post-main { min-width: 0; max-width: 800px; }
.entry-title { max-width: 800px; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 44px; padding-top: clamp(28px, 5vw, 56px); }
@media (min-width: 1024px) and (min-height: 760px) {
	.sidebar { position: sticky; top: 84px; }
	body.admin-bar .sidebar { top: 116px; }
}
.widget__title { font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding-bottom: 14px; margin: 0 0 4px; border-bottom: 1px solid var(--ink); }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--blush); }
.mini__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mini:hover .mini__media img { transform: scale(1.06); }
.mini__body { display: flex; flex-direction: column; gap: 6px; }
.mini__kicker { font: 700 10px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--pink); }
.mini__title { font: 600 1.2rem/1.2 var(--serif); color: var(--ink); }
.mini__title:hover { color: var(--pink); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.chips a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border: 1px solid var(--line); font: 700 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.chips a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.widget--search .searchform { margin-top: 14px; }
.widget--search .searchform input { font-size: 1.25rem; padding: 10px 0; }
.widget--follow { background: var(--paper); padding: 24px; }
.widget--follow .widget__title { border-color: var(--line); }
.widget--follow p { margin: 16px 0 18px; font-size: 15px; }

@media (max-width: 1023px) {
	.post-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.post-main { max-width: none; }
	.sidebar { padding-top: 24px; border-top: 1px solid var(--line); margin-top: 8px; }
}

/* Comments */
.comments { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments__title, .comment-reply-title { font-size: 2rem; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: clamp(16px, 4vw, 40px); }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.comment-author img { float: left; margin-right: 14px; border-radius: 50%; }
.comment-metadata { font-size: 12px; }
.comment-form label { display: block; font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 0; font: 16px/1.5 var(--sans); background: #fff; color: var(--ink);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--ink); outline: 0; }

/* =========================================================================
   Home: magazine front
   ====================================================================== */
.hero { padding-top: clamp(14px, 3vw, 36px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.lead { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.lead__media { display: block; position: relative; aspect-ratio: 4 / 3; }
.lead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lead:hover .lead__media img { transform: scale(1.03); }
.lead__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(13, 5, 9, 0) 38%, rgba(13, 5, 9, .84)); }
.lead__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px, 4vw, 48px); pointer-events: none; }
.lead__body a { pointer-events: auto; }
.lead .kicker { background: var(--pink); color: #fff; padding: 7px 11px; margin-bottom: 16px; }
.lead .kicker:hover { background: #fff; color: var(--ink); }
.lead__title { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.6rem); line-height: 1.04; color: #fff; margin: 0 0 14px; max-width: 24ch; }
.lead__title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.lead .meta { color: rgba(255, 255, 255, .85); }
.hero__side { display: flex; flex-direction: column; }
.hero__side .row:last-child { border-bottom: 0; }

.row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--blush); }
.row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.row:hover .row__media img { transform: scale(1.06); }
.row__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.row__kicker { font: 700 10px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--pink); }
.row__title { font: 600 clamp(1.2rem, 1.1rem + .4vw, 1.5rem)/1.18 var(--serif); color: var(--ink); }
.row__title:hover { color: var(--pink); }

.intro { padding-block: clamp(56px, 9vw, 120px) 0; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 96px); align-items: end; border-top: 1px solid var(--ink); padding-top: clamp(24px, 3vw, 40px); }
.intro__title { font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.6rem); line-height: 1.02; margin: 0; }
.intro__text { font-size: 17px; margin: 0 0 22px; }

.grid--mosaic > .card:first-child { grid-column: span 2; }
.grid--mosaic > .card:first-child .card__media { aspect-ratio: 16 / 10; }
.grid--mosaic > .card:first-child .card__title { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); }

.cat-section { padding-block: clamp(44px, 7vw, 88px); }
.cat-section--alt { background: var(--paper); }
.cat-section__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.cat-section__lead .card__media { aspect-ratio: 4 / 3; }
.cat-section__lead .card__title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.cat-section__list:empty { display: none; }
.cat-section__list .row { grid-template-columns: 132px minmax(0, 1fr); }
.cat-section__list .row:first-child { padding-top: 0; }
.cat-section__list .row:last-child { border-bottom: 0; }

.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq__intro h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); }
.faq__list { border-top: 1px solid var(--ink); }
.faq__list .faq__item { max-width: none; }

@media (min-width: 901px) { .faq__intro { position: sticky; top: 110px; } }
@media (max-width: 1023px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
	.intro__grid, .cat-section__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
	.intro__grid { align-items: start; }
}
@media (max-width: 600px) {
	.lead__media { aspect-ratio: 4 / 5; }
	.grid--mosaic > .card:first-child { grid-column: auto; }
	.grid--mosaic > .card:first-child .card__media { aspect-ratio: 16 / 11; }
	.cat-section__list .row, .row { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
}

/* Contents box: dashes, two columns on wide screens */
.entry-content .toc ul { list-style: none; margin: 0; padding: 0 22px 18px; line-height: 1.5; }
.entry-content .toc li { margin: 0; padding: 7px 0 7px 22px; position: relative; break-inside: avoid; }
.entry-content .toc li::before { content: "\2013"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }
@media (min-width: 700px) { .entry-content .toc ul { columns: 2; column-gap: 36px; } }

/* =========================================================================
   Footer
   ====================================================================== */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); margin-top: clamp(24px, 4vw, 48px); padding-bottom: env(safe-area-inset-bottom); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px); }
.footer__brand .custom-logo-link, .footer__brand .site-title { display: inline-block; }
.footer__brand img { height: 46px; width: auto; }
.footer__brand p { max-width: 360px; margin: 20px 0 0; font-size: 15px; line-height: 1.75; }
.footer__brand .footer__follow { margin: 28px 0 12px; font: 700 11px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.social--foot { display: flex; flex-wrap: wrap; gap: 10px; }
.social--foot .icon-btn { width: 44px; height: 44px; border: 1px solid #d6cec8; border-radius: 50%; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.social--foot .icon-btn:hover { background: var(--pink); border-color: var(--pink); color: #fff; }

.footer__h { font: 700 11px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin: 0; break-inside: avoid; }
.footer__list a { display: inline-block; padding: 6px 0; font-size: 15px; color: var(--slate); }
.footer__list a:hover { color: var(--pink); }
.footer__list--cols { columns: 2; column-gap: clamp(20px, 3vw, 40px); }

.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line); padding-block: 20px; font-size: 13px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.to-top { font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); padding: 8px 0; }
.to-top:hover { color: var(--pink); }

@media (max-width: 1000px) {
	.footer__top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
	.footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.footer__top { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================================
   WordPress core classes
   ====================================================================== */
.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; display: block; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { display: block; }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 1em auto; } .entry-content { font-size: 17px; line-height: 1.8; } }
@media (max-width: 782px) { body.admin-bar .nav-bar { top: 46px; } }
