/*
 * ElleGirlTalk Custom — main stylesheet.
 * Editorial, responsive, no framework. Mobile-first.
 */

:root {
	--color-bg: #fffafc;
	--color-surface: #fdeef4;
	--color-surface-2: #f9e1ec;
	--color-text: #3a2233;
	--color-muted: #8a6b79;
	--color-accent: #e26d9b;
	--color-accent-dark: #c84e84;
	--color-border: #f4dbe7;
	--color-ink: #2e1f2b;
	--max-width: 1180px;
	--content-width: 760px;
	--radius: 18px;
	--radius-sm: 11px;
	--gap: 1.6rem;
	--shadow: 0 14px 36px rgba(200, 78, 132, .15);
	--shadow-sm: 0 6px 18px rgba(200, 78, 132, .12);
	--font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-head: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-accent: "Dancing Script", "Segoe Script", cursive;
	--font-logo: "Poppins", "Nunito", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.65;
	font-size: 1.0625rem;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.22; font-weight: 700; color: var(--color-text); }

a { color: var(--color-accent-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--color-accent); }

::selection { background: #ffd2e4; color: #5a2240; }

img, svg { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: 1.3rem; }

/* Accessibility */
.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 { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--color-ink); color: #fff; padding: .75rem 1rem; border-radius: 0 0 var(--radius-sm) 0; }
.skip-link:focus { left: 0; top: 0; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* ---- Top contact bar ---- */
.topbar { background: linear-gradient(90deg, #2e1f2b, #4a2a40); color: #f6e6ef; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .45rem; flex-wrap: wrap; }
.topbar a { color: #f6e6ef; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__contact { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.topbar__tag { font-family: var(--font-body); font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: #e6cdd9; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,250,252,.92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--color-border); box-shadow: 0 4px 24px rgba(200,78,132,.07); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--color-accent), #9173c9, transparent); opacity: .55; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); padding-block: 1.05rem; flex-wrap: wrap; }
.site-title { margin: 0; font-size: 1.7rem; letter-spacing: -.01em; }
.site-title a { color: var(--color-text); text-decoration: none; }
.site-description { margin: .15rem 0 0; color: var(--color-muted); font-size: .85rem; }

/* Brand logo lockup */
.brand-lockup { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.brand-lockup:hover { text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 auto; filter: drop-shadow(0 5px 11px rgba(180,90,200,.32)); transform: translateY(5px); }
.footer-brand__logo { margin-bottom: .65rem; }
.footer-brand__logo .brand-word { font-size: 1.5rem; }
.brand-word {
	font-family: var(--font-logo); font-size: 1.55rem; font-weight: 800; line-height: 1; letter-spacing: -.022em;
	color: #c84e84; /* fallback */
	background: linear-gradient(95deg, #e7607f 0%, #d6568c 50%, #9173c9 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}
.custom-logo { max-height: 56px; width: auto; }

.main-navigation .menu { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }
.main-navigation a { text-decoration: none; color: var(--color-text); font-weight: 600; font-size: .96rem; padding-block: .35rem; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--color-accent); border-color: var(--color-accent); }

/* Highlighted Contact CTA in the nav */
.main-navigation .menu-cta { margin-left: .3rem; }
.main-navigation .menu-cta > a {
	color: #fff; font-weight: 700; padding: .55rem 1.25rem; border-radius: 999px; border-bottom: 0;
	background: linear-gradient(120deg, #ef7faa, #d6568c);
	box-shadow: 0 6px 16px rgba(214,86,140,.32);
	transition: transform .15s ease, box-shadow .15s ease;
}
.main-navigation .menu-cta > a::before { content: "\2709"; margin-right: .42rem; font-size: .95em; line-height: 1; }
.main-navigation .menu-cta > a:hover { color: #fff; border-bottom: 0; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(214,86,140,.42); }
.main-navigation .menu-cta.current-menu-item > a { color: #fff; }

.menu-toggle { display: none; background: none; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: .55rem .7rem; cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 22px; height: 2px; background: var(--color-text); position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }

/* ---- Hero ---- */
.hero { position: relative; background: linear-gradient(135deg, #ffe9f2 0%, #ffd9ea 42%, #f1ddfb 100%); padding-block: 5rem; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 8%, rgba(255,255,255,.55), transparent 42%), radial-gradient(circle at 12% 88%, rgba(177,111,201,.22), transparent 46%); }
.hero::after { content: "✿"; position: absolute; top: 12%; left: 8%; font-size: 2.4rem; color: #fff; opacity: .55; transform: rotate(-12deg); }
.hero__inner { position: relative; z-index: 2; }
.hero__eyebrow { font-family: var(--font-accent); font-weight: 700; font-size: 1.5rem; color: var(--color-accent-dark); }
.hero__title { font-family: var(--font-logo); font-weight: 800; margin: .25rem 0 .6rem; font-size: clamp(2.4rem, 5.8vw, 3.9rem); letter-spacing: -.025em; color: #4a1f3a; }
.hero__lead { margin: 0 auto; max-width: 40rem; color: #6e4a5e; font-size: 1.22rem; }

/* Hero with a featured-image background (set on the Home page) */
.hero--image::before, .hero--image::after { display: none; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(46,31,43,.62), rgba(46,31,43,.48) 55%, rgba(74,31,58,.66)); }
.hero--image .hero__eyebrow { color: #ffd2e6; }
.hero--image .hero__title { color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,.3); }
.hero--image .hero__lead { color: rgba(255,255,255,.94); }
.hero--image .button--ghost { background: #fff; color: var(--color-accent-dark); border-color: #fff; }
.hero--image .button--ghost:hover { background: #fff; color: var(--color-accent); }
.hero__actions { margin-top: 1.8rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.button--ghost { background: #fff; color: var(--color-accent-dark); border: 2px solid #fff; box-shadow: 0 8px 20px rgba(120,60,90,.18); }
.button--ghost:hover { background: #fff; color: var(--color-accent); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(120,60,90,.24); }

/* ---- Featured highlight ---- */
.featured { padding-block: 3.5rem; }
.feature { display: grid; grid-template-columns: 1.7fr 1fr; gap: var(--gap); }
.feature__link { text-decoration: none; color: inherit; display: block; height: 100%; }
.feature__lead { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: var(--color-bg); transition: transform .18s ease, box-shadow .18s ease; }
.feature__lead:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__media { aspect-ratio: 16/10; overflow: hidden; background: var(--color-surface-2); }
.feature__media .featured-visual__img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: 1.4rem 1.5rem 1.6rem; }
.feature__title { font-size: 1.7rem; margin: .15rem 0 .55rem; line-height: 1.2; }
.feature__excerpt { color: var(--color-muted); margin: 0 0 .8rem; }
.feature__sides { display: flex; flex-direction: column; gap: var(--gap); }
.feature__side { display: flex; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: var(--color-bg); transition: transform .18s ease, box-shadow .18s ease; }
.feature__side:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__side .feature__link { display: flex; align-items: stretch; }
.feature__side-media { flex: 0 0 40%; overflow: hidden; background: var(--color-surface-2); }
.feature__side-media .featured-visual__img { width: 100%; height: 100%; object-fit: cover; }
.feature__side-body { padding: .9rem 1rem; }
.feature__side-title { font-size: 1.08rem; margin: .3rem 0 0; line-height: 1.3; }

/* ---- Promo banner ---- */
.promo { padding-block: 1rem 3.5rem; }
.promo__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 2.5rem; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: linear-gradient(120deg, #2a2230 0%, #4a2e52 60%, #6a3f7a 100%); color: #fff; padding: 2.8rem 2.8rem; }
.promo__eyebrow { font-family: var(--font-accent); font-size: 1.4rem; font-weight: 700; color: #ffc0db; margin: 0 0 .2rem; }
.promo__title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin: 0 0 .7rem; color: #fff; }
.promo__lead { color: #e7dced; margin: 0 0 1.5rem; max-width: 32rem; }
.promo__media { position: relative; }
.promo__svg { width: 100%; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.promo__badge { position: absolute; top: -14px; right: -10px; width: 54px; height: 54px; display: grid; place-items: center; background: var(--color-accent); color: #fff; border-radius: 50%; font-size: 1.5rem; box-shadow: var(--shadow); }

/* ---- Pagination (list form) ---- */
.pagination ul.page-numbers { list-style: none; display: flex; gap: .5rem; flex-wrap: wrap; padding: 0; margin: 0; }
.pagination li { margin: 0; }

/* ---- Sections ---- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section-title { font-size: 1.95rem; margin: 0; position: relative; }
.section-title::after { content: ""; display: block; width: 56px; height: 3px; margin-top: .5rem; border-radius: 3px; background: linear-gradient(90deg, var(--color-accent), #b86fc9); }
.section-link { font-weight: 600; font-size: .95rem; text-decoration: none; }
.content-area { padding-block: 3rem; }
.content-area--single { max-width: var(--content-width); }
.hubs { padding-block: 3.5rem; }
.latest { padding-block: 3.5rem; background: var(--color-surface); }

/* ---- Grids ---- */
.grid { display: grid; gap: var(--gap); }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.grid--hubs { grid-template-columns: repeat(6, 1fr); gap: 1rem; }

/* ---- Hub cards (soft white card with a colored icon badge) ---- */
.hub-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; justify-content: center; min-height: 142px; padding: 1.4rem 1.3rem; border-radius: var(--radius); text-decoration: none; color: var(--color-text); background: #fff; border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.hub-card::before { content: attr(data-motif); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(140deg, var(--hub, #c2466b), color-mix(in srgb, var(--hub, #c2466b) 58%, #2e1f2b)); color: #fff; font-size: 1.3rem; box-shadow: 0 7px 15px color-mix(in srgb, var(--hub, #c2466b) 42%, transparent); }
.hub-card::after { content: ""; position: absolute; right: -32px; bottom: -32px; width: 96px; height: 96px; border-radius: 50%; background: var(--hub, #c2466b); opacity: .08; transition: opacity .18s ease; }
.hub-card:hover { transform: translateY(-5px); border-color: var(--hub, var(--color-accent)); box-shadow: var(--shadow); }
.hub-card:hover::after { opacity: .15; }
.hub-card:hover .hub-card__label { color: var(--hub, var(--color-accent)); }
.hub-card__label { font-family: var(--font-head); font-size: 1.32rem; line-height: 1.1; color: var(--color-text); transition: color .15s ease; }
.hub-card__count { font-size: .78rem; color: var(--color-muted); font-weight: 700; }

/* ---- Post cards ---- */
.card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__link { text-decoration: none; color: inherit; display: block; height: 100%; }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-surface-2); }
.card__media .featured-visual__img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.05rem 1.15rem 1.3rem; }
.card__cats { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .6rem; }
.card__cat { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: #fff; background: var(--hub, var(--color-accent)); padding: .2rem .55rem; border-radius: 999px; font-weight: 700; }
.card__title { font-size: 1.2rem; margin: 0 0 .5rem; line-height: 1.28; }
.card__excerpt { color: var(--color-muted); font-size: .92rem; margin: 0 0 .85rem; }
.card__meta { color: var(--color-muted); font-size: .8rem; display: flex; gap: .4rem; align-items: center; }

/* ---- Buttons ---- */
.button { display: inline-block; background: linear-gradient(120deg, #ef7faa, #d6568c); color: #fff; padding: .85rem 1.8rem; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 8px 20px rgba(214,86,140,.32); transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(214,86,140,.42); }
.latest__more { text-align: center; margin-top: 2.25rem; }

/* ---- Breadcrumbs ---- */
.breadcrumbs { font-size: .84rem; color: var(--color-muted); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--color-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-accent); }

/* ---- Generic page hero band (blog index, archives) ---- */
.page-hero { position: relative; overflow: hidden; text-align: center; padding-block: 3.4rem; background: linear-gradient(135deg, #ffe9f2 0%, #ffd9ea 45%, #f1ddfb 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 12%, rgba(255,255,255,.5), transparent 42%); }
.page-hero > .container { position: relative; }
.page-hero__eyebrow { font-family: var(--font-accent); font-size: 1.45rem; color: var(--color-accent-dark); margin: 0; }
.page-hero__title { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: .1rem 0 .5rem; color: #4a1f3a; }
.page-hero__lead { margin: 0 auto; max-width: 40rem; color: #6e4a5e; font-size: 1.12rem; }

/* ---- Hub intro (colored category hero band) ---- */
.hub-intro { position: relative; overflow: hidden; color: #fff; padding-block: 3.6rem; text-align: center; }
.hub-intro::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(140deg, var(--hub, #c2466b), color-mix(in srgb, var(--hub, #c2466b) 55%, #2e1f2b)); }
.hub-intro::after { content: attr(data-motif); position: absolute; z-index: 0; top: 50%; right: 6%; transform: translateY(-50%); font-size: 9rem; opacity: .14; }
.hub-intro__inner { position: relative; z-index: 1; max-width: var(--content-width); margin-inline: auto; padding-inline: 1.3rem; }
.hub-intro__eyebrow { font-family: var(--font-accent); font-size: 1.4rem; margin: 0 0 .1rem; opacity: .92; }
.hub-intro__title { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 0 0 .6rem; color: #fff; }
.hub-intro__text { opacity: .96; font-size: 1.1rem; }
.hub-intro__text p { margin: 0; }
.hub-intro__count { margin: 1rem 0 0; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }

/* ---- Topic chips ---- */
.topic-chips { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-bottom: 2rem; }
.topic-chip { display: inline-block; padding: .5rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9rem; color: var(--color-text); background: #fff; border: 1.5px solid var(--color-border); transition: all .15s ease; }
.topic-chip:hover { color: #fff; background: var(--hub, var(--color-accent)); border-color: var(--hub, var(--color-accent)); transform: translateY(-2px); }
.topic-chip.is-active { color: #fff; background: var(--hub, var(--color-accent)); border-color: var(--hub, var(--color-accent)); box-shadow: var(--shadow-sm); }

/* ---- Page / archive header ---- */
.page-header { margin-bottom: 2rem; }
.page-title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0; }

/* ---- Single post hero (featured image fills the large top block) ---- */
.post-hero { position: relative; min-height: 480px; display: flex; align-items: flex-end; overflow: hidden; }
.post-hero__bg { position: absolute; inset: 0; z-index: 0; }
.post-hero__bg .featured-visual__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(46,31,43,.84) 0%, rgba(46,31,43,.40) 52%, rgba(46,31,43,.10) 100%); }
.post-hero__inner { position: relative; z-index: 2; width: 100%; padding-block: 2.4rem 3rem; text-align: center; }
.post-hero__content { max-width: 820px; margin-inline: auto; }
.post-hero .post-single__title { color: #fff; margin: .2rem 0 .6rem; text-shadow: 0 2px 22px rgba(0,0,0,.28); }
.post-hero .post-single__meta { color: rgba(255,255,255,.92); justify-content: center; }
.post-hero .post-single__cat { box-shadow: 0 6px 16px rgba(0,0,0,.25); }

/* ---- Single post ---- */
.post-single__header { margin-bottom: 1.5rem; }
.post-single__cats { display: inline-flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: .85rem; }
.post-single__cat { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: #fff; background: var(--hub, var(--color-accent)); padding: .25rem .7rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.post-single__cat:hover { color: #fff; opacity: .9; }
.post-single__title, .page-single__title { font-size: clamp(2rem, 4.8vw, 3rem); margin: 0 0 .8rem; letter-spacing: -.015em; }
.post-single__meta { color: var(--color-muted); font-size: .9rem; display: flex; gap: .5rem; align-items: center; }
.post-single__media, .page-single__media { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-single__media .featured-visual__img, .page-single__media .featured-visual__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-single__content, .page-single__content { font-size: 1.12rem; }
.post-single__content > p:first-of-type { font-size: 1.22rem; color: #3f3a37; }
.post-single__content p, .page-single__content p { margin: 0 0 1.45rem; }
.post-single__content h2, .page-single__content h2 { margin-top: 2.6rem; font-size: 1.7rem; }
.post-single__content h3, .page-single__content h3 { margin-top: 1.8rem; font-size: 1.3rem; }
.post-single__content img, .page-single__content img { border-radius: var(--radius); margin-block: 1.5rem; }
.post-single__content ul, .post-single__content ol, .page-single__content ul, .page-single__content ol { margin: 0 0 1.45rem; padding-left: 1.4rem; }
.post-single__content li, .page-single__content li { margin-bottom: .55rem; }
.post-single__content ul li::marker, .page-single__content ul li::marker { color: var(--hub, var(--color-accent)); }
.post-single__content ol, .page-single__content ol { list-style: none; counter-reset: eg-counter; padding-left: 0; }
.post-single__content ol > li, .page-single__content ol > li { counter-increment: eg-counter; position: relative; padding-left: 2.4rem; margin-bottom: .7rem; }
.post-single__content ol > li::before, .page-single__content ol > li::before { content: counter(eg-counter); position: absolute; left: 0; top: .05em; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--hub, var(--color-accent)); color: #fff; font-weight: 700; font-size: .85rem; font-family: var(--font-body); }

/* ---- Content tables ---- */
.table-wrap { margin: 1.9rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.post-single__content table, .page-single__content table { width: 100%; border-collapse: collapse; margin: 0; font-size: .98rem; background: #fff; min-width: 420px; }
.post-single__content thead th, .page-single__content thead th { background: linear-gradient(120deg, var(--hub, var(--color-accent)), color-mix(in srgb, var(--hub, var(--color-accent)) 58%, #2e1f2b)); color: #fff; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: .96rem; padding: .85rem 1rem; }
.post-single__content th, .post-single__content td, .page-single__content th, .page-single__content td { padding: .75rem 1rem; border-bottom: 1px solid var(--color-border); vertical-align: top; text-align: left; }
.post-single__content tbody tr:nth-child(even), .page-single__content tbody tr:nth-child(even) { background: var(--color-surface); }
.post-single__content tbody tr:last-child td, .page-single__content tbody tr:last-child td { border-bottom: 0; }
.post-single__content table strong, .page-single__content table strong { color: var(--color-accent-dark); }
.post-single__content blockquote, .page-single__content blockquote { border-left: 4px solid var(--hub, var(--color-accent)); margin: 1.8rem 0; padding: .4rem 0 .4rem 1.4rem; color: var(--color-muted); font-style: italic; font-size: 1.18rem; }

/* ---- Tags ---- */
.post-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 2.25rem 0 0; }
.post-tags a { display: inline-block; font-size: .8rem; padding: .3rem .75rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px; text-decoration: none; color: var(--color-muted); }

/* ---- Related ---- */
.related { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--color-border); }
.related__title { font-size: 1.5rem; margin: 0 0 1.4rem; }

/* ---- Extra polish ---- */
.post-single__content > p:first-of-type::first-letter {
	font-family: var(--font-head); font-weight: 700; font-size: 3.6rem; line-height: .82;
	float: left; margin: .08em .14em 0 0; color: var(--hub, var(--color-accent));
}
.card__media, .feature__media { overflow: hidden; }
.card__media .featured-visual__img, .feature__media .featured-visual__img { transition: transform .4s ease; }
.card:hover .card__media .featured-visual__img,
.feature__lead:hover .feature__media .featured-visual__img { transform: scale(1.06); }
.post-single__content a, .page-single__content a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--color-accent) 45%, transparent); text-underline-offset: 3px; }
.post-single__content a:hover, .page-single__content a:hover { text-decoration-color: var(--color-accent); }

/* ---- FAQ ---- */
.faq { margin-top: 3rem; }
.faq__title { font-size: 1.6rem; margin: 0 0 1.1rem; }
.faq__item { border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: .25rem 1.1rem; margin-bottom: .75rem; background: var(--color-surface); }
.faq__question { cursor: pointer; font-weight: 700; padding: .85rem 0; font-family: var(--font-head); font-size: 1.08rem; }
.faq__answer { padding-bottom: .85rem; color: var(--color-muted); }

/* ---- Author / page CTA box ---- */
.infobox { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin: 2.5rem 0; }
.infobox p:last-child { margin-bottom: 0; }

/* ---- Rich content blocks (info pages) ---- */
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; margin: 1.6rem 0 2.2rem; }
.topic-tile { display: flex; align-items: center; gap: .65rem; padding: .9rem 1rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); text-decoration: none; color: var(--color-text); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; box-shadow: var(--shadow-sm); transition: transform .15s ease, border-color .15s ease; }
.topic-tile:hover { transform: translateY(-3px); border-color: var(--hub, var(--color-accent)); }
.topic-tile__icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; color: #fff; font-size: 1rem; background: linear-gradient(140deg, var(--hub, var(--color-accent)), color-mix(in srgb, var(--hub, var(--color-accent)) 58%, #2e1f2b)); }

.value-list { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.value-list li { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.value-list li::before { content: ""; }
.value-list h3 { margin: 0 0 .4rem; font-size: 1.12rem; color: var(--color-accent-dark); }
.value-list p { margin: 0; color: var(--color-muted); font-size: 1rem; }

.cta-band { margin: 2.6rem 0; padding: 2.2rem 2rem; border-radius: var(--radius); background: linear-gradient(120deg, #ffe9f2 0%, #ffd9ea 45%, #f1ddfb 100%); text-align: center; }
.cta-band h2 { margin: 0 0 .45rem; }
.cta-band p { margin: 0 0 1.3rem; color: #6e4a5e; }

.page-single__content a.topic-tile,
.page-single__content .cta-band a,
.page-single__content .infobox a.button { text-decoration: none; }

/* ---- Pagination ---- */
.pagination { margin-top: 2.75rem; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-block; padding: .55rem .9rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); text-decoration: none; color: var(--color-text); }
.pagination .page-numbers.current { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* ---- Search & forms ---- */
.search-form { display: flex; gap: .5rem; margin: 1.5rem 0; }
.search-form .search-field { flex: 1; padding: .7rem .85rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 1rem; }
.search-form .search-submit { background: var(--color-accent); color: #fff; border: 0; padding: .7rem 1.3rem; border-radius: var(--radius-sm); cursor: pointer; }

/* Contact Form 7 */
.wpcf7-form p { margin: 0 0 1.1rem; }
.wpcf7-form label { display: block; font-weight: 600; margin-bottom: .35rem; }
.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form input[type=tel], .wpcf7-form textarea, .wpcf7-form select {
	width: 100%; padding: .75rem .85rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit; background: #fff;
}
.wpcf7-form textarea { min-height: 150px; }
.wpcf7-form .wpcf7-submit { background: var(--color-accent); color: #fff; border: 0; padding: .8rem 1.8rem; border-radius: 999px; font-weight: 600; cursor: pointer; font-size: 1rem; }
.wpcf7-form .wpcf7-submit:hover { background: var(--color-accent-dark); }

/* ---- Widgets ---- */
.widget-area { margin-top: 2.5rem; }
.widget { margin-bottom: 2rem; }
.widget-title { font-size: 1.1rem; margin: 0 0 .75rem; }

/* ---- Footer (multi-column) ---- */
.site-footer { margin-top: 4.5rem; background: linear-gradient(160deg, #2e1f2b 0%, #3f2438 100%); color: #e7d2de; }
.site-footer a { color: #e7d2de; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__top { padding-block: 3.25rem; border-bottom: 1px solid rgba(255,200,224,.14); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2.5rem; }
.footer-col h3 { color: #ffc7e0; font-family: var(--font-head); font-size: 1.2rem; margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col .footer-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .55rem; vertical-align: middle; }
.footer-brand__name { font-family: var(--font-head); font-size: 1.5rem; color: #fff; margin: 0 0 .4rem; }
.footer-brand__desc { color: #b3a9a4; font-size: .92rem; margin: 0 0 1rem; max-width: 26rem; }
.footer-contact { font-size: .92rem; line-height: 1.9; }
.footer-contact strong { color: #fff; }
.footer-legal { color: #9a918c; font-size: .86rem; line-height: 1.8; margin-top: 1rem; }

.site-footer__bottom { padding-block: 1.2rem; }
.site-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #b3a9a4; }
.footer-nav { display: flex; gap: 1.3rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-nav a { font-size: .85rem; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
	.site-header { position: static; }
	.menu-toggle { display: inline-flex; align-items: center; }
	.main-navigation { flex-basis: 100%; display: none; }
	.main-navigation.is-open { display: block; }
	.main-navigation .menu { flex-direction: column; gap: .15rem; padding-block: .5rem; align-items: stretch; }
	.main-navigation .menu a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--color-border); }
	.main-navigation .menu-cta { margin: .6rem 0 .2rem; }
	.main-navigation .menu-cta > a { display: inline-block; padding: .6rem 1.4rem; border-bottom: 0; }
	.feature { grid-template-columns: 1fr; }
	.promo__inner { grid-template-columns: 1fr; padding: 2rem 1.6rem; }
	.promo__media { order: -1; }
	.post-hero { min-height: 320px; }
	.post-hero__inner { padding-block: 1.6rem 2rem; }
}

/* ---- Phones: keep hubs on ONE row via horizontal scroll, no overflow ---- */
@media (max-width: 680px) {
	.container { padding-inline: 1rem; }
	.grid--hubs {
		display: flex; gap: .55rem; overflow-x: auto; scroll-snap-type: x mandatory;
		margin-inline: -1rem; padding: 0 1rem .5rem; -webkit-overflow-scrolling: touch;
	}
	.grid--hubs .hub-card { flex: 0 0 42%; scroll-snap-align: start; min-height: 120px; padding: 1rem .95rem; gap: .5rem; }
	.grid--hubs .hub-card::before { width: 40px; height: 40px; font-size: 1.15rem; }
	.grid--hubs .hub-card__label { font-size: 1.15rem; }
	.grid--hubs::-webkit-scrollbar { height: 6px; }
	.grid--hubs::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 3px; }
	.hub-card__count { display: none; }
	.section-title { font-size: 1.55rem; }
	.content-area { padding-block: 2rem; }
	.hubs, .latest, .featured, .promo { padding-block: 2.2rem; }
	.hero { padding-block: 3rem; }
}
@media (max-width: 480px) {
	.grid--cards { grid-template-columns: 1fr; }
	.hero__title { font-size: clamp(1.9rem, 9vw, 2.4rem); }
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .button { width: 100%; }
	.grid--hubs .hub-card { flex-basis: 46%; }
	.topic-chip { font-size: .82rem; padding: .45rem .85rem; }
	.promo__inner { padding: 1.6rem 1.2rem; }
	.site-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: .5rem; }
	.post-single__content, .page-single__content { font-size: 1.05rem; }
}
@media (max-width: 360px) {
	.grid--hubs .hub-card { flex-basis: 52%; }
	.feature__side .feature__link { flex-direction: column; }
	.feature__side-media { flex-basis: auto; aspect-ratio: 16/9; }
}
