/* ==========================================================================
   Pearl & Pick — main stylesheet
   Ported faithfully from the React source (App.tsx) — Roboto everywhere
   (font-serif resolves to Roboto too, per index.css), Roboto Mono for
   badges/eyebrows/labels. Palette: forest #2C4A3E / coral #E07A5F / canvas
   #FDFBF7, footer #21392F.
   ========================================================================== */

:root {
	--peach-100: #FDF7F5;
	--peach-border: #F6DFD5;
	--peach-500: #E07A5F;
	--peach-600: #CC6A4F;
	--sage-50:  #F3F6F4;
	--sage-100: #E3E9E5;
	--sage-500: #2C4A3E;
	--sage-600: #21392F;
	--canvas:   #FDFBF7;
	--ink:      #374151;
	--ink-soft: #4b5563;
	--ink-mute: #6b7280;
	--font-sans: 'Roboto', sans-serif;
	--font-serif: 'Roboto', sans-serif;
	--font-mono: 'Roboto Mono', monospace;
	--max-width: 1280px;

	/* getBentoCategoryTheme() solid badge colors — Tailwind stock palette */
	--badge-fashion: #312e81;
	--badge-fashion-text: #FDFBF7;
	--badge-lifestyle: #0f766e;
	--badge-travel: #065f46;
	--badge-beauty: #8D5B4C;
	--badge-beauty-text: #FDFBF7;
	--badge-health: #be123c;
	--badge-journal: #1f2937;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--font-sans);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 700; color: var(--sage-500); margin: 0 0 0.5em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.pap-container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.pap-eyebrow-pill {
	display: inline-block;
	padding: 0.35rem 0.9rem;
	background: var(--peach-100);
	border: 1px solid var(--peach-border);
	color: var(--peach-500);
	font-family: var(--font-mono);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-radius: 999px;
}

.pap-link-arrow {
	color: var(--peach-500);
	font-weight: 600;
	font-size: 0.8rem;
	white-space: nowrap;
}
.pap-link-arrow:hover { color: var(--peach-600); text-decoration: underline; }

.pap-btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.02em;
	transition: transform 0.2s ease, background 0.2s ease;
	border: none;
}
.pap-btn--primary { background: var(--peach-500); color: var(--canvas); }
.pap-btn--primary:hover { background: var(--peach-600); transform: scale(1.02); }
.pap-btn--dark { background: var(--sage-500); color: var(--canvas); }
.pap-btn--dark:hover { background: var(--sage-600); }

/* ---------------------------------------------------------------------- */
/* Announcement bar                                                        */
/* ---------------------------------------------------------------------- */
.pap-announcement { background: var(--sage-500); color: var(--canvas); text-align: center; padding: 0.5rem 1rem; font-size: 0.8rem; }
.pap-announcement p { margin: 0; color: inherit; }

/* ---------------------------------------------------------------------- */
/* Header — matches App.tsx: no subscribe button, "Homepage" active pill  */
/* ---------------------------------------------------------------------- */
.pap-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--canvas);
	border-bottom: 1px solid var(--sage-100);
	box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.pap-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; }

.pap-logo { display: flex; align-items: center; gap: 0.6rem; }
.pap-logo__mark { width: 2.25rem; height: 2.25rem; color: var(--sage-500); transition: transform 0.35s ease; }
.pap-logo:hover .pap-logo__mark { transform: scale(1.05); }
.pap-logo__word { font-weight: 900; font-size: 1.25rem; color: var(--sage-500); letter-spacing: -0.01em; }
.pap-logo__word--light { color: #fff; font-weight: 700; }
.pap-logo__amp { color: var(--peach-500); font-weight: 700; }

.pap-nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; padding: 0.5rem; }
.pap-nav-toggle span { width: 22px; height: 2px; background: var(--sage-500); border-radius: 2px; }

.pap-nav__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 600; color: #334155; }
.pap-nav__list a { display: inline-block; padding: 0.5rem 0.75rem; border-radius: 999px; transition: all 0.15s ease; }
.pap-nav__list a:hover { color: var(--peach-500); background: #f8fafc; }
.pap-nav__list li.current-menu-item a,
.pap-nav__list a.is-active {
	color: var(--sage-500);
	font-weight: 700;
	background: var(--sage-100);
}
.pap-nav__list li.pap-nav__home a { color: var(--peach-500); background: var(--peach-100); border: 1px solid var(--peach-border); }

.pap-header__actions { display: flex; align-items: center; gap: 0.75rem; }

.pap-search { position: relative; display: flex; align-items: center; }
.pap-search__input {
	width: 15rem;
	max-width: 100%;
	padding: 0.5rem 2rem 0.5rem 2.1rem;
	border: 1px solid var(--sage-100);
	border-radius: 999px;
	font-size: 0.75rem;
	background: var(--sage-50);
	color: #334155;
}
.pap-search__input:focus { outline: none; border-color: var(--peach-500); box-shadow: 0 0 0 1px var(--peach-500); }
.pap-search__submit { position: absolute; left: 0.75rem; background: none; border: none; color: #94a3b8; display: flex; }
.pap-search__submit:hover { color: var(--peach-500); }

/* Language switcher */
.pap-lang-switcher { position: relative; }
.pap-lang-trigger { display: flex; align-items: center; gap: 0.4rem; background: none; border: 1px solid var(--sage-100); border-radius: 999px; padding: 0.4rem 0.7rem; font-size: 0.75rem; color: var(--sage-500); }
.pap-lang-dropdown {
	position: absolute; right: 0; top: calc(100% + 0.5rem);
	background: #fff; border: 1px solid var(--sage-100); border-radius: 6px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	min-width: 10rem; padding: 0.4rem; display: none; z-index: 60;
}
.pap-lang-switcher.open .pap-lang-dropdown { display: block; }
.pap-lang-dropdown li a { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.6rem; border-radius: 6px; font-size: 0.8rem; }
.pap-lang-dropdown li a:hover, .pap-lang-dropdown li.is-active a { background: var(--sage-50); }

/* ---------------------------------------------------------------------- */
/* Badges — App.tsx uses several distinct treatments depending on context */
/* ---------------------------------------------------------------------- */

/* 1. Solid dot+name badge (bento hero cards) */
.pap-badge-solid {
	display: inline-flex; align-items: center; gap: 0.4rem;
	padding: 0.2rem 0.55rem;
	font-family: var(--font-mono);
	font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.pap-badge-solid::before { content: '●'; font-size: 0.55rem; }
.pap-badge-solid--fashion { background: var(--badge-fashion); color: var(--badge-fashion-text); }
.pap-badge-solid--lifestyle { background: var(--badge-lifestyle); color: #fff; }
.pap-badge-solid--travel { background: var(--badge-travel); color: #fff; }
.pap-badge-solid--beauty { background: var(--badge-beauty); color: var(--badge-beauty-text); }
.pap-badge-solid--health { background: var(--badge-health); color: #fff; }
.pap-badge-solid--journal { background: var(--badge-journal); color: #fff; }
/* Lifestyle hero pair uses hardcoded peach/sage, not getBentoCategoryTheme() */
.pap-badge-solid--peach { background: var(--peach-500); color: #fff; }
.pap-badge-solid--sage { background: var(--sage-500); color: #fff; }

/* 2. Flat text label (category grid cards, sidebar/footer recent posts) */
.pap-badge-plain {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
	color: var(--peach-500);
	margin-bottom: 0.3rem;
}

/* 3. Boxed pill (category archive / search results) */
.pap-badge-boxed {
	display: inline-block;
	font-family: var(--font-mono);
	font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
	color: var(--peach-500);
	background: var(--peach-100);
	border: 1px solid var(--peach-border);
	padding: 0.25rem 0.6rem;
}

/* 4. Rounded pill (single article page) */
.pap-badge-pill {
	display: inline-block;
	padding: 0.15rem 0.7rem;
	background: var(--peach-100);
	border: 1px solid var(--peach-border);
	color: var(--peach-500);
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 999px;
}

/* ---------------------------------------------------------------------- */
/* Homepage — 6-card bento hero grid                                       */
/* ---------------------------------------------------------------------- */
.pap-bento {
	padding: 3rem 0;
	background: linear-gradient(to bottom, var(--peach-100), var(--canvas));
	border-bottom: 1px solid var(--sage-100);
}
.pap-bento__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.pap-bento__card {
	position: relative;
	overflow: hidden;
	background: var(--sage-500);
	border: 1px solid var(--sage-100);
	height: 340px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.25rem;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.pap-bento__card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
.pap-bento__card--light { background: #fff; flex-direction: row; padding: 0; }
.pap-bento__card img.pap-bento__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.pap-bento__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4) 55%, transparent); }
.pap-bento__content { position: relative; z-index: 1; }
.pap-bento__content h3 { color: #fff; font-size: 1rem; line-height: 1.35; margin: 0.5rem 0 0; }
.pap-bento__content h3 a:hover { color: var(--peach-border); }

.pap-bento__mixed { display: flex; flex-direction: column; width: 100%; height: 100%; }
.pap-bento__mixed-media { flex: 0 0 40%; height: 9rem; position: relative; overflow: hidden; background: var(--sage-50); }
.pap-bento__mixed-media img { width: 100%; height: 100%; object-fit: cover; }
.pap-bento__mixed-text { flex: 1; padding: 1.25rem; display: flex; flex-direction: column; justify-content: center; }
.pap-bento__mixed-text h3 { color: var(--sage-500); font-size: 1rem; margin: 0.4rem 0; }
.pap-bento__mixed-text h3:hover { color: var(--peach-500); }
.pap-bento__mixed-text p { font-size: 0.7rem; margin: 0; }

/* ---------------------------------------------------------------------- */
/* List-row card (category archive / search results)                      */
/* ---------------------------------------------------------------------- */
.pap-list-row { display: flex; flex-direction: column; gap: 1.25rem; padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--sage-100); }
.pap-list-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.pap-list-row__media { display: block; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: var(--sage-50); }
.pap-list-row__media img { width: 100%; height: 100%; object-fit: cover; }
.pap-list-row__body { flex: 1; min-width: 0; }
.pap-list-row__body h3 { font-size: 1.2rem; margin: 0.6rem 0; line-height: 1.3; }
.pap-list-row__body h3 a:hover { color: var(--peach-500); }
.pap-list-row__body p { font-size: 0.85rem; max-width: 48rem; }

/* ---------------------------------------------------------------------- */
/* Sidebar/footer thumbnail row (Recent Posts, Latest Posts)              */
/* ---------------------------------------------------------------------- */
.pap-mini-row { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.5rem; background: #fff; border: 1px solid #f1f5f9; margin-bottom: 0.6rem; }
.pap-mini-row:hover { border-color: var(--peach-border); }
.pap-mini-row__thumb { width: 3.5rem; height: 3.5rem; flex-shrink: 0; overflow: hidden; background: var(--sage-50); }
.pap-mini-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pap-mini-row__title { font-size: 0.78rem; font-weight: 700; line-height: 1.3; color: var(--ink); }

/* ---------------------------------------------------------------------- */
/* Slider (embedded as one bento card, spans 2 cols on desktop)           */
/* ---------------------------------------------------------------------- */
.pap-slider.pap-bento__card { padding: 0; }
.pap-slider__track { position: relative; width: 100%; height: 100%; }
.pap-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.pap-slider__slide.is-active { opacity: 1; pointer-events: auto; }
.pap-slider__link { position: relative; display: block; width: 100%; height: 100%; }
.pap-slider__link img { width: 100%; height: 100%; object-fit: cover; }
.pap-slider__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.25rem 1.25rem 1.25rem 2rem; }
.pap-slider__caption h3 { color: #fff; margin: 0.5rem 0 0; font-size: 1.15rem; }
.pap-slider__arrow { position: absolute; top: 1rem; width: 1.75rem; height: 1.75rem; background: rgba(255,255,255,0.9); color: var(--sage-500); border: none; display: flex; align-items: center; justify-content: center; font-weight: 700; z-index: 5; }
.pap-slider__arrow--prev { right: 3rem; }
.pap-slider__arrow--next { right: 1rem; }
.pap-slider__dots { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 0.5rem; z-index: 5; }
.pap-slider__dot { width: 6px; height: 6px; border-radius: 999px; border: none; background: rgba(255,255,255,0.4); transition: all 0.3s ease; }
.pap-slider__dot.is-active { height: 1.5rem; background: var(--peach-500); }

/* ---------------------------------------------------------------------- */
/* Brand strip                                                            */
/* ---------------------------------------------------------------------- */
.pap-brand-strip { border-top: 1px solid var(--sage-100); border-bottom: 1px solid var(--sage-100); background: rgba(255,255,255,0.7); padding: 1.5rem 0; }
.pap-brand-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.pap-brand-strip__label { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; font-weight: 700; color: var(--ink-mute); letter-spacing: 0.08em; }
.pap-brand-strip__logos { display: flex; flex-wrap: wrap; gap: 2rem; overflow-x: auto; }
.pap-brand-strip__logo { color: var(--ink-mute); font-size: 1rem; letter-spacing: 0.1em; white-space: nowrap; font-weight: 500; }

/* ---------------------------------------------------------------------- */
/* Category sections (Fashion / Lifestyle+Reviews / Travel / Beauty / Health) */
/* ---------------------------------------------------------------------- */
.pap-cat-section { padding: 0; }
.pap-cat-sections { padding: 3rem 0; display: flex; flex-direction: column; gap: 4rem; }
.pap-cat-section__head { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--sage-100); padding-bottom: 0.75rem; margin-bottom: 1.5rem; gap: 1rem; flex-wrap: wrap; }
.pap-cat-section__head h2 { font-size: 1.25rem; margin: 0; }
.pap-cat-section__viewall { color: var(--peach-500); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-mono); display: inline-flex; align-items: center; gap: 0.3rem; }
.pap-cat-section__viewall:hover { color: var(--peach-600); }

.pap-simple-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.pap-simple-card { background: #fff; border: 1px solid var(--sage-100); overflow: hidden; transition: box-shadow 0.25s ease; }
.pap-simple-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.pap-simple-card__media { position: relative; display: block; aspect-ratio: 1/1; overflow: hidden; background: var(--sage-50); }
.pap-simple-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pap-simple-card__body { padding: 1.1rem; }
.pap-simple-card__body h3 { font-size: 1rem; line-height: 1.3; margin-bottom: 0.4rem; }
.pap-simple-card__body h3 a:hover { color: var(--peach-500); }
.pap-simple-card__body p { font-size: 0.8rem; margin: 0; }

/* Health section: mixed large/small grid */
.pap-health-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.pap-health-grid .pap-simple-card--large .pap-simple-card__media { aspect-ratio: 4/3; }

/* Lifestyle hero pair (dark cards, hardcoded badges) */
.pap-lifestyle-hero-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
.pap-lifestyle-hero-card { position: relative; overflow: hidden; background: #111827; height: 260px; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
.pap-lifestyle-hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.pap-lifestyle-hero-card .pap-bento__overlay { background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3) 55%, transparent); }
.pap-lifestyle-hero-card h3 { position: relative; z-index: 1; color: #fff; font-size: 1.05rem; margin-top: 0.6rem; }

/* Lifestyle Reviews sub-block */
.pap-reviews { position: relative; }
.pap-reviews__heading { position: relative; padding-bottom: 0.9rem; }
.pap-reviews__heading::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 3rem; height: 3px; background: var(--peach-500); }
.pap-reviews__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.pap-reviews__featured { background: #fff; border: 1px solid var(--sage-100); overflow: hidden; }
.pap-reviews__featured-media { aspect-ratio: 1/1; overflow: hidden; background: var(--sage-50); }
.pap-reviews__featured-media img { width: 100%; height: 100%; object-fit: cover; }
.pap-reviews__featured-body { padding: 1.25rem; }
.pap-reviews__tag { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.pap-reviews__tag-bar { width: 0.75rem; height: 0.35rem; background: var(--peach-500); display: inline-block; }
.pap-reviews__tag span:last-child { font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; font-weight: 700; letter-spacing: 0.08em; color: #64748b; }
.pap-reviews__readmore { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--sage-50); color: var(--sage-500); font-size: 0.7rem; font-weight: 700; padding: 0.5rem 1rem; border-radius: 999px; margin-top: 0.75rem; }
.pap-reviews__readmore-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--sage-500); color: #fff; font-size: 0.8rem; line-height: 1; }
.pap-reviews__list { display: flex; flex-direction: column; gap: 1rem; }
.pap-reviews__row { display: flex; gap: 1rem; align-items: flex-start; padding: 0.6rem; border: 1px solid transparent; }
.pap-reviews__row:hover { background: rgba(253,247,245,0.5); border-color: var(--peach-border); }
.pap-reviews__row-thumb { width: 5rem; height: 5rem; flex-shrink: 0; overflow: hidden; background: var(--sage-50); }
.pap-reviews__row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pap-reviews__row h4 { font-size: 0.85rem; margin: 0.2rem 0 0; line-height: 1.35; }

/* ---------------------------------------------------------------------- */
/* Newsletter — sidebar block                                              */
/* ---------------------------------------------------------------------- */
.pap-newsletter { background: var(--sage-50); border: 1px solid var(--sage-100); border-radius: 12px; padding: 1.5rem; }
.pap-newsletter h4 { font-size: 0.95rem; border-bottom: 1px solid var(--sage-100); padding-bottom: 0.5rem; }
.pap-newsletter p { font-size: 0.8rem; }
.pap-newsletter__fallback-form { display: flex; flex-direction: column; gap: 0.6rem; }
.pap-newsletter__fallback-form input { padding: 0.6rem 0.9rem; border: 1px solid var(--sage-100); border-radius: 999px; font-size: 0.75rem; }
.pap-newsletter-band { padding: 3rem 0; }
.pap-newsletter-band .pap-newsletter { max-width: 32rem; margin: 0 auto; text-align: center; }

/* ---------------------------------------------------------------------- */
/* Footer — dark forest #21392F, matches App.tsx exactly                  */
/* ---------------------------------------------------------------------- */
.pap-footer { background: var(--sage-600); color: rgba(255,255,255,0.85); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.pap-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.pap-footer__desc { font-size: 0.8rem; color: rgba(255,255,255,0.75); max-width: 26rem; }
.pap-footer__trustpilot { display: flex; align-items: center; gap: 0.9rem; font-size: 0.8rem; color: #fff; }
.pap-stars { color: var(--peach-500); }
.pap-footer__col h4 { color: var(--peach-500); font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem; }
.pap-footer__list { display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.75rem; color: rgba(255,255,255,0.8); }
.pap-footer__list a:hover { color: #fff; text-decoration: underline; }
.pap-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.7rem; color: rgba(255,255,255,0.85); }
/* The global `p { color: var(--ink-soft) }` rule directly matches this element and
   wins over the inherited color from .pap-footer__bottom, so it needs its own rule. */
.pap-footer__copyright { color: rgba(255,255,255,0.7); }
.pap-social { display: flex; gap: 0.75rem; }
.pap-social__icon { width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: #fff; transition: all 0.25s ease; }
.pap-social__icon:hover { background: var(--peach-500); border-color: var(--peach-500); }

/* Footer "Latest Posts" reuses .pap-mini-row (also used on light backgrounds in the
   single-post sidebar) — override for the dark footer context so it doesn't render
   as a mismatched white box. */
.pap-footer__col .pap-mini-row { background: transparent; border-color: rgba(255,255,255,0.12); }
.pap-footer__col .pap-mini-row:hover { border-color: var(--peach-500); }
.pap-footer__col .pap-mini-row__title { color: rgba(255,255,255,0.9); }

/* ---------------------------------------------------------------------- */
/* Single article                                                          */
/* ---------------------------------------------------------------------- */
.pap-single { padding: 2rem 0; }
.pap-single__layout { display: flex; flex-direction: column; gap: 2.5rem; }
.pap-single__back { display: inline-flex; align-items: center; gap: 0.35rem; margin-bottom: 1rem; font-weight: 700; }
.pap-single__header h1 { font-size: 1.75rem; margin-top: 0.75rem; line-height: 1.25; }
.pap-single__meta { font-size: 0.8rem; color: var(--ink-mute); }
.pap-single__thumb { aspect-ratio: 16/10; max-height: 24rem; overflow: hidden; border-radius: 0; background: var(--sage-50); border: 1px solid var(--sage-100); margin: 1.5rem auto; max-width: 42rem; }
.pap-single__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pap-single__content { font-size: 0.95rem; color: var(--ink-soft); }
.pap-single__content p { margin-bottom: 1.25rem; }
.pap-single__content h2 { font-size: 1.3rem; color: var(--sage-500); margin-top: 1.75rem; }
.pap-single__sidebar { display: flex; flex-direction: column; gap: 2rem; }
.pap-sidebar-recent h4 { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--sage-100); padding-bottom: 0.5rem; }

/* ---------------------------------------------------------------------- */
/* Archive / search / blog index / 404                                    */
/* ---------------------------------------------------------------------- */
.pap-archive__header { padding: 2.5rem 0; background: var(--sage-50); border: 1px solid var(--sage-100); }
.pap-archive__header.pap-archive__header--search { background: var(--peach-100); border-color: var(--peach-border); }
.pap-archive__header h1 { font-size: 1.75rem; margin: 0.5rem 0; }
.pap-archive__list { padding: 2rem 1.5rem; max-width: 60rem; margin: 0 auto; }
.pap-blog-index__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.5rem; padding: 2rem 0; }
.pap-empty-state { text-align: center; padding: 3rem 0; color: var(--ink-mute); }
.pap-404 { padding: 5rem 0; }
.pap-404__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.pap-404__search { margin-top: 1.5rem; }

nav.navigation.pagination ul { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; }
nav.navigation.pagination a, nav.navigation.pagination span.current { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; height: 2.25rem; border: 1px solid var(--sage-100); border-radius: 6px; font-size: 0.8rem; }
nav.navigation.pagination span.current { background: var(--sage-500); color: #fff; border-color: var(--sage-500); }

/* ---------------------------------------------------------------------- */
/* About / Contact / Legal pages                                          */
/* ---------------------------------------------------------------------- */
.pap-about, .pap-contact, .pap-legal, .pap-page { padding: 3rem 0 4rem; }
.pap-about__inner { max-width: 50rem; margin: 0 auto; }
.pap-about__header { text-align: center; margin-bottom: 2.5rem; }
.pap-about__header h1 { font-size: 2rem; }
.pap-about__images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.pap-about__image { aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--sage-100); }
.pap-about__image--offset { transform: translateY(4px); }
.pap-about__body p:first-child { font-weight: 700; color: var(--sage-500); font-size: 1rem; }
.pap-about__image img { width: 100%; height: 100%; object-fit: cover; }
.pap-about__body { text-align: justify; }
.pap-about__body h2 { font-size: 1.15rem; margin-top: 1.75rem; }

.pap-contact__inner { max-width: 70rem; margin: 0 auto; }
.pap-contact__header { text-align: center; margin-bottom: 2.5rem; }
.pap-contact__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
.pap-contact__image { overflow: hidden; aspect-ratio: 1/1; border: 1px solid var(--sage-100); background: var(--sage-50); }
.pap-contact__image img { width: 100%; height: 100%; object-fit: cover; }
.pap-contact__form-panel { background: #fff; border: 1px solid var(--sage-100); padding: 1.75rem; }
.pap-contact__form-panel h3 { font-size: 1rem; margin-bottom: 1rem; }

/* Contact Form 7 renders its own bare markup with no width/spacing of its own —
   style it to match the rest of the site instead of leaving CF7's browser defaults. */
.pap-contact__form-panel .wpcf7-form { display: flex; flex-direction: column; gap: 1.1rem; }
.pap-contact__form-panel .wpcf7-form-control-wrap { display: block; }
.pap-contact__form-panel label { display: block; font-weight: 700; color: var(--sage-500); font-size: 0.78rem; margin-bottom: 0.4rem; }
.pap-contact__form-panel input[type="text"],
.pap-contact__form-panel input[type="email"],
.pap-contact__form-panel textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.65rem 0.9rem;
	border: 1px solid var(--sage-100);
	border-radius: 0.75rem;
	font-family: var(--font-sans);
	font-size: 0.85rem;
	color: var(--ink);
}
.pap-contact__form-panel textarea { min-height: 8rem; resize: vertical; }
.pap-contact__form-panel input:focus,
.pap-contact__form-panel textarea:focus { outline: none; border-color: var(--peach-500); box-shadow: 0 0 0 1px var(--peach-500); }
.pap-contact__form-panel .wpcf7-submit {
	width: 100%;
	padding: 0.8rem;
	background: var(--peach-500);
	color: #fff;
	border: none;
	border-radius: 0.75rem;
	font-weight: 700;
	font-size: 0.85rem;
	cursor: pointer;
	transition: background 0.2s ease;
}
.pap-contact__form-panel .wpcf7-submit:hover { background: var(--peach-600); }
.pap-contact__form-panel .wpcf7-spinner { margin: 0 0 0 0.5rem; }
.pap-contact__form-panel .wpcf7-not-valid-tip { display: block; color: #dc2626; font-size: 0.72rem; margin-top: 0.3rem; }
.pap-contact__form-panel .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.9rem 1.1rem;
	border-radius: 0.75rem;
	font-size: 0.82rem;
	border-width: 1px;
	border-style: solid;
}
.pap-contact__form-panel form.sent .wpcf7-response-output { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.pap-contact__form-panel form.failed .wpcf7-response-output,
.pap-contact__form-panel form.aborted .wpcf7-response-output { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.pap-contact__form-panel form.invalid .wpcf7-response-output,
.pap-contact__form-panel form.unaccepted .wpcf7-response-output { background: #fffbeb; border-color: #fde68a; color: #92400e; }

.pap-legal__inner { max-width: 44rem; margin: 0 auto; }
.pap-legal__header { border-bottom: 1px solid var(--sage-100); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.pap-legal__amended { font-size: 0.75rem; color: var(--ink-mute); }
.pap-legal__content h2 { font-size: 1.1rem; }

.pap-page__inner { max-width: 48rem; margin: 0 auto; }

/* ---------------------------------------------------------------------- */
/* Responsive                                                              */
/* ---------------------------------------------------------------------- */
@media (min-width: 768px) {
	.pap-nav-toggle { display: none; }
	.pap-bento__grid { grid-template-columns: repeat(4, 1fr); }
	.pap-bento__card--span2 { grid-column: span 2; }
	.pap-bento__card--light { grid-column: span 2; }
	.pap-bento__mixed { flex-direction: row; }
	.pap-bento__mixed-media { flex: 0 0 50%; height: auto; }
	.pap-simple-grid { grid-template-columns: repeat(3, 1fr); }
	.pap-lifestyle-hero-grid { grid-template-columns: repeat(2, 1fr); }
	.pap-reviews__grid { grid-template-columns: 5fr 7fr; }
	.pap-health-grid { grid-template-columns: repeat(6, 1fr); }
	.pap-health-grid .pap-simple-card--large { grid-column: span 3; }
	.pap-health-grid .pap-simple-card--small { grid-column: span 2; }
	.pap-single__layout { flex-direction: row; }
	.pap-single__article { width: 68%; }
	.pap-single__sidebar { width: 32%; flex-shrink: 0; }
	.pap-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
	.pap-contact__grid { grid-template-columns: 5fr 7fr; }
	.pap-list-row { flex-direction: row; align-items: flex-start; gap: 2rem; }
	.pap-list-row__media { width: 280px; flex-shrink: 0; }
}

@media (max-width: 767px) {
	.pap-nav-toggle { display: flex; }
	.pap-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--sage-100); max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
	.pap-nav.is-open { max-height: 20rem; }
	.pap-nav__list { flex-direction: column; align-items: flex-start; padding: 1rem 1.5rem; gap: 0.5rem; }
	.pap-search__input { width: 8rem; }
	.pap-about__images { grid-template-columns: 1fr 1fr; }
}
