/* =========================================================
   Beauty Hygiene — Shared Stylesheet
   Used across every page. System fonts only (zero load).
   ========================================================= */

:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --bg: #fafaf7; --bg-card: #ffffff; --bg-soft: #f4f2ed; --bg-dark: #14110f;
  --text: #14110f; --text-soft: #4a4540; --text-muted: #8a8479;
  --border: #ebe8e1; --border-soft: #f0ede6;
  --accent: #b8324a; --accent-hover: #9a2640; --accent-soft: #fdeef1; --accent-text: #8e2238;
  --shadow-xs: 0 1px 2px rgba(20, 17, 15, 0.04);
  --shadow-sm: 0 1px 2px rgba(20, 17, 15, 0.04), 0 2px 8px rgba(20, 17, 15, 0.04);
  --shadow-md: 0 2px 4px rgba(20, 17, 15, 0.05), 0 8px 24px rgba(20, 17, 15, 0.06);
  --shadow-lg: 0 4px 8px rgba(20, 17, 15, 0.06), 0 16px 40px rgba(20, 17, 15, 0.08);
  --shadow-cta: 0 2px 4px rgba(184, 50, 74, 0.15), 0 8px 20px rgba(184, 50, 74, 0.20);
  --shadow-cta-hover: 0 4px 8px rgba(184, 50, 74, 0.20), 0 12px 28px rgba(184, 50, 74, 0.30);
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px;
  --max: 1200px; --gutter: clamp(16px, 3vw, 32px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--text); letter-spacing: -0.01em; }
.visually-hidden { position: absolute; left: -9999px; }

/* Skip link */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--text); color: white; padding: 12px 20px; z-index: 999; font-weight: 600; border-radius: 0 0 var(--radius-sm) 0; }
.skip-link:focus { left: 0; top: 0; color: white; }

/* Announcement */
.announce { background: var(--bg-dark); color: white; text-align: center; padding: 10px var(--gutter); font-size: 13px; }
.announce a { color: #ffb3c1; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { color: white; }

/* Header */
.site-header { background: var(--bg); padding: 22px var(--gutter); position: relative; z-index: 60; }
.site-header-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand-block { display: flex; flex-direction: column; }
.site-title { font-family: var(--font-heading); font-size: 30px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; line-height: 1; }
.site-title .dot { color: var(--accent); }
.site-tagline { font-size: 12px; color: var(--text-muted); margin-top: 4px; letter-spacing: 0.04em; }

.header-search { display: flex; background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; width: 320px; max-width: 100%; transition: all 0.2s ease; box-shadow: var(--shadow-xs); }
.header-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.header-search input { flex: 1; padding: 12px 20px; border: none; outline: none; font-family: inherit; font-size: 14px; background: transparent; min-height: 44px; }
.header-search button { background: var(--text); color: var(--bg-card); border: none; padding: 0 22px; cursor: pointer; font-size: 13px; font-weight: 600; min-height: 44px; transition: background 0.2s ease; }
.header-search button:hover { background: var(--accent); }

.nav-toggle { display: none; background: var(--bg-card); border: 1px solid var(--border); padding: 10px 16px; border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; font-weight: 600; min-height: 44px; align-items: center; gap: 10px; box-shadow: var(--shadow-xs); }
.nav-toggle .bars { position: relative; width: 18px; height: 2px; background: var(--text); display: inline-block; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

/* Nav */
nav.main { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-xs); }
nav.main ul { list-style: none; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; gap: 2px; }
nav.main a { display: block; padding: 16px 18px; font-size: 14px; font-weight: 500; color: var(--text); position: relative; min-height: 44px; transition: color 0.15s ease; }
nav.main a::after { content: ''; position: absolute; bottom: -1px; left: 18px; right: 18px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.2s ease; }
nav.main a:hover { color: var(--accent); }
nav.main a:hover::after, nav.main a[aria-current="page"]::after { transform: scaleX(1); }
nav.main a[aria-current="page"] { color: var(--accent); font-weight: 600; }

/* Breadcrumbs */
.breadcrumbs { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter) 0; font-size: 13px; color: var(--text-muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li:not(:last-child)::after { content: '›'; margin-left: 6px; color: #ccc; }
.breadcrumbs a { color: var(--text-soft); }

/* Trust strip */
.trust-strip { max-width: var(--max); margin: 24px auto 0; padding: 0 var(--gutter); }
.trust-strip-inner { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 18px 28px; display: flex; justify-content: space-around; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--text-soft); }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item strong { color: var(--text); font-weight: 700; }
.trust-item .check { width: 22px; height: 22px; background: var(--accent-soft); color: var(--accent); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }

/* Container */
.container { max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter); }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 48px var(--gutter); }

/* Featured */
.featured { background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 24px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; margin-bottom: 56px; transition: box-shadow 0.3s ease; }
.featured:hover { box-shadow: var(--shadow-lg); }
.featured-img { aspect-ratio: 5/4; background: linear-gradient(135deg, #f4f2ed 0%, #e8e3d8 100%); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: #c4bfb5; font-size: 13px; }
.featured-img::after { content: 'Featured Image'; }
.featured-content { padding: 12px 12px 12px 0; }
.featured-content .badge { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--accent-text); padding: 6px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 999px; margin-bottom: 18px; }
.featured-content .badge::before { content: '★'; color: var(--accent); }
.featured-content h1 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; line-height: 1.15; }
.featured-content h1 a:hover { color: var(--accent); }
.featured-content .excerpt { color: var(--text-soft); font-size: 17px; line-height: 1.6; margin-bottom: 22px; }

/* Post meta */
.post-meta { font-size: 13px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.post-meta .sep { color: #d4cfc4; }
.post-meta a { color: var(--text-soft); font-weight: 600; }
.post-meta .updated { background: #fff7eb; color: #8a5a00; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%); color: white; font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; border: none; border-radius: 999px; cursor: pointer; box-shadow: var(--shadow-cta); transition: all 0.2s ease; min-height: 48px; text-decoration: none; position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%; background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent); pointer-events: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-cta-hover); color: white; }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: var(--bg-card); color: var(--text); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.btn-ghost::before { display: none; }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); box-shadow: var(--shadow-md); }

/* Section title */
.section-title { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.section-title h2 { font-size: clamp(24px, 2.6vw, 32px); position: relative; padding-left: 18px; }
.section-title h2::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: var(--accent); border-radius: 2px; }
.section-title .view-all { font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.section-title .view-all:hover { gap: 8px; }

/* Main grid */
.main-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 48px; }
.post-card { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: all 0.25s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-img { aspect-ratio: 16/10; background: linear-gradient(135deg, #f4f2ed 0%, #e8e3d8 100%); display: flex; align-items: center; justify-content: center; color: #c4bfb5; font-size: 12px; }
.post-img::after { content: 'Image'; }
/* POST CARD BLOCK IMAGES CSS */
img.post-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .category { color: var(--accent); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.post-card h2, .post-card h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.3; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--accent); }
.post-card .excerpt { font-size: 14px; color: var(--text-soft); margin-bottom: 16px; flex: 1; line-height: 1.6; }

/* Sidebar */
aside.sidebar { position: sticky; top: 80px; }
.widget { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; margin-bottom: 24px; }
.widget h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 0.06em; }
.widget ul { list-style: none; }

.widget-author { text-align: center; }
.author-photo { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, #f4f2ed 0%, #e8e3d8 100%); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; color: #c4bfb5; font-size: 11px; box-shadow: var(--shadow-xs); }
.author-photo::after { content: 'Photo'; }
.widget-author h4 { font-family: var(--font-heading); font-size: 19px; margin-bottom: 4px; }
.widget-author .author-role { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 14px; }
.widget-author p { font-size: 13px; color: var(--text-soft); line-height: 1.6; margin-bottom: 16px; }
.credentials { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.credentials span { background: var(--bg-soft); padding: 5px 11px; font-size: 11px; border-radius: 999px; color: var(--text-soft); font-weight: 500; }

.widget-popular li { padding: 14px 0; border-bottom: 1px solid var(--border-soft); display: flex; gap: 14px; align-items: flex-start; }
.widget-popular li:last-child { border-bottom: none; padding-bottom: 0; }
.widget-popular li:first-child { padding-top: 4px; }
.pop-num { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--accent); line-height: 1; flex-shrink: 0; width: 32px; }
.widget-popular .pop-cat { font-size: 10px; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.1em; font-weight: 600; margin-bottom: 4px; }
.widget-popular .pop-title { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text); }
.widget-popular .pop-title:hover { color: var(--accent); }

.widget-cats ul li { padding: 11px 0; border-bottom: 1px solid var(--border-soft); display: flex; justify-content: space-between; font-size: 14px; align-items: center; transition: padding 0.2s ease; }
.widget-cats ul li:hover { padding-left: 6px; }
.widget-cats ul li:last-child { border-bottom: none; }
.widget-cats .count { color: var(--text-muted); font-size: 12px; background: var(--bg-soft); padding: 2px 10px; border-radius: 999px; font-weight: 600; }

.widget-newsletter { background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2520 100%); color: white; padding: 32px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.widget-newsletter::before { content: ''; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; background: radial-gradient(circle, rgba(184, 50, 74, 0.25), transparent 70%); pointer-events: none; }
.widget-newsletter h3 { color: white; border-color: rgba(255,255,255,0.15); position: relative; }
.widget-newsletter p { font-size: 14px; color: #d4cfc4; margin-bottom: 18px; line-height: 1.6; position: relative; }
.widget-newsletter .nl-stat { display: inline-flex; align-items: center; gap: 6px; background: rgba(184, 50, 74, 0.2); color: #ffb3c1; font-weight: 600; font-size: 12px; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; position: relative; }
.widget-newsletter .nl-stat::before { content: '★'; }
.widget-newsletter input { width: 100%; padding: 13px 16px; border: 1px solid #3a3530; background: #1f1c19; color: white; font-family: inherit; font-size: 14px; margin-bottom: 10px; border-radius: var(--radius-sm); min-height: 44px; outline: none; transition: border-color 0.2s ease; }
.widget-newsletter input::placeholder { color: #7a7268; }
.widget-newsletter input:focus { border-color: var(--accent); }
.widget-newsletter button { width: 100%; padding: 14px; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%); color: white; border: none; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: var(--radius-sm); min-height: 44px; box-shadow: var(--shadow-cta); transition: all 0.2s ease; }
.widget-newsletter button:hover { transform: translateY(-1px); box-shadow: var(--shadow-cta-hover); }
.widget-newsletter .fineprint { font-size: 11px; color: #8a8479; text-align: center; margin-top: 10px; }

/* Category section */
.category-section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--border); }
.category-section .post-grid { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; gap: 24px; }
.category-section .post-card h2 { font-size: 17px; }
.category-section .post-img { aspect-ratio: 4/3; }
.category-section .post-card-body { padding: 20px; }

/* FAQ */
.faq-wrapper { padding: 64px var(--gutter); background: var(--bg-soft); margin-top: 64px; }
.faq-section { max-width: 880px; margin: 0 auto; background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 48px clamp(24px, 4vw, 56px); }
.faq-section h2 { font-size: clamp(26px, 3vw, 34px); text-align: center; margin-bottom: 8px; }
.faq-section .subtitle { text-align: center; color: var(--text-soft); margin-bottom: 36px; font-size: 15px; }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; transition: color 0.2s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8324a' stroke-width='3'><path d='M12 5v14M5 12h14'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 14px; transition: transform 0.25s ease, background-color 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--accent); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M12 5v14M5 12h14'/></svg>"); }
.faq-item summary:hover { color: var(--accent); }
.faq-answer { padding: 0 0 24px; color: var(--text-soft); font-size: 15px; line-height: 1.75; }

/* Browse cats */
.browse-cats { padding: 64px var(--gutter); }
.browse-cats-inner { max-width: var(--max); margin: 0 auto; }
.browse-cats h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; text-align: center; }
.browse-cats .subtitle { text-align: center; color: var(--text-soft); margin-bottom: 36px; font-size: 15px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-tile { background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: all 0.25s ease; display: block; min-height: 44px; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-tile h3 { font-size: 17px; margin-bottom: 4px; color: var(--text); }
.cat-tile:hover h3 { color: var(--accent); }
.cat-tile span { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* Promise */
.promise { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 64px; }
.promise-inner { background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.promise-item .icon { width: 48px; height: 48px; background: var(--accent-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--accent); font-size: 20px; font-family: var(--font-heading); font-weight: 700; }
.promise-item h3 { font-size: 17px; margin-bottom: 8px; }
.promise-item p { font-size: 14px; color: var(--text-soft); line-height: 1.6; }

/* CTA section */
.cta-wrapper { padding: 0 var(--gutter) 64px; }
.cta-section { max-width: var(--max); margin: 0 auto; background: linear-gradient(135deg, var(--bg-dark) 0%, #2a2520 100%); color: white; padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 64px); text-align: center; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -120px; left: -120px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(184, 50, 74, 0.18), transparent 70%); pointer-events: none; }
.cta-section::after { content: ''; position: absolute; bottom: -120px; right: -120px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(184, 50, 74, 0.12), transparent 70%); pointer-events: none; }
.cta-inner { max-width: 640px; margin: 0 auto; position: relative; }
.cta-section .label { display: inline-block; background: rgba(184, 50, 74, 0.2); color: #ffb3c1; padding: 6px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.cta-section h2 { color: white; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; line-height: 1.15; }
.cta-section p { color: #d4cfc4; font-size: 17px; margin-bottom: 32px; line-height: 1.6; }
.cta-form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; background: rgba(255,255,255,0.06); padding: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08); }
.cta-form input { flex: 1; padding: 14px 22px; border: none; background: transparent; color: white; font-family: inherit; font-size: 15px; outline: none; min-height: 44px; }
.cta-form input::placeholder { color: rgba(255,255,255,0.5); }
.cta-form button { padding: 14px 28px; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%); color: white; border: none; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 999px; min-height: 44px; white-space: nowrap; box-shadow: var(--shadow-cta); transition: all 0.2s ease; }
.cta-form button:hover { transform: translateY(-1px); box-shadow: var(--shadow-cta-hover); }
.cta-fineprint { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 18px; }

/* Article (text-content) page */
.article-page { background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); padding: clamp(32px, 5vw, 64px); margin: 32px auto; max-width: 880px; }
.article-page h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; line-height: 1.15; }
.article-page .article-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.article-page h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 40px; margin-bottom: 14px; padding-left: 16px; position: relative; }
.article-page h2::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--accent); border-radius: 2px; }
.article-page h3 { font-size: 19px; margin-top: 28px; margin-bottom: 10px; }
.article-page p { color: var(--text-soft); margin-bottom: 16px; line-height: 1.75; font-size: 16px; }
.article-page ul, .article-page ol { margin: 12px 0 20px 24px; color: var(--text-soft); }
.article-page li { margin-bottom: 8px; line-height: 1.7; }
.article-page strong { color: var(--text); font-weight: 700; }
.article-page a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-page a:hover { color: var(--accent-hover); }
.article-page .toc { background: var(--bg-soft); border-radius: var(--radius-md); padding: 22px 28px; margin: 24px 0 32px; }
.article-page .toc h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; padding-left: 0; margin: 0 0 12px; color: var(--text-muted); }
.article-page .toc h2::before { display: none; }
.article-page .toc ol { margin: 0 0 0 18px; }
.article-page .toc li { margin-bottom: 6px; font-size: 14px; }
.article-page .toc a { color: var(--text); font-weight: 500; text-decoration: none; }
.article-page .toc a:hover { color: var(--accent); }
.article-page table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.article-page table th { background: var(--bg-soft); text-align: left; padding: 12px 14px; font-weight: 700; border-bottom: 2px solid var(--border); }
.article-page table td { padding: 12px 14px; border-bottom: 1px solid var(--border-soft); color: var(--text-soft); }
.article-page table tr:hover td { background: var(--bg); }
.article-page blockquote { border-left: 4px solid var(--accent); padding: 4px 20px; margin: 24px 0; font-style: italic; color: var(--text-soft); }
.article-page .callout { background: var(--accent-soft); border-radius: var(--radius-md); padding: 20px 24px; margin: 24px 0; border-left: 4px solid var(--accent); }
.article-page .callout p { margin: 0; color: var(--accent-text); }
.article-page .callout strong { color: var(--accent-text); }
.article-page hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }
.last-updated { font-size: 13px; color: var(--text-muted); margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); font-style: italic; }

/* Footer */
footer { background: var(--bg-dark); color: #c4bfb5; padding: 64px var(--gutter) 28px; font-size: 14px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid #2a2520; margin-bottom: 28px; }
.footer-cols h4 { color: white; font-size: 13px; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 10px; }
.footer-cols a { color: #a8a299; font-size: 14px; }
.footer-cols a:hover { color: white; }
.footer-about .footer-logo { font-family: var(--font-heading); color: white; font-size: 24px; font-weight: 700; margin-bottom: 14px; display: block; letter-spacing: -0.02em; }
.footer-about .footer-logo .dot { color: var(--accent); }
.footer-about p { color: #a8a299; line-height: 1.65; margin-bottom: 20px; max-width: 340px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; background: rgba(255,255,255,0.04); border: 1px solid #2a2520; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #a8a299; font-weight: 600; transition: all 0.2s ease; }
.socials a:hover { background: var(--accent); color: white; border-color: var(--accent); transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: #6a655c; font-size: 13px; }
.footer-bottom a { color: #a8a299; }
.footer-bottom-links { display: flex; gap: 20px; }

/* 404 page */
.error-page { max-width: 600px; margin: 0 auto; padding: 80px var(--gutter); text-align: center; }
.error-code { font-family: var(--font-heading); font-size: clamp(96px, 18vw, 180px); font-weight: 700; line-height: 1; color: var(--accent); margin-bottom: 16px; letter-spacing: -0.04em; }
.error-page h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.error-page p { color: var(--text-soft); font-size: 17px; margin-bottom: 36px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.error-page .error-lead { color: var(--text-soft); font-size: 17px; margin-bottom: 36px; line-height: 1.6; }
.error-search-block { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; margin-bottom: 24px; text-align: left; }
.error-search-block h2 { font-size: 16px; margin-bottom: 8px; }
.error-search-block p { font-size: 14px; color: var(--text-soft); margin-bottom: 16px; }
.error-search-form { display: flex; gap: 8px; }
.error-search-form input { flex: 1; padding: 12px 18px; border: 1px solid var(--border); border-radius: 999px; font-family: inherit; font-size: 14px; min-height: 44px; outline: none; transition: border-color 0.2s ease; background: white; }
.error-search-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.error-search-form button { padding: 12px 24px; background: var(--text); color: white; border: none; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 44px; transition: background 0.2s ease; }
.error-search-form button:hover { background: var(--accent); }
.error-suggestions { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; text-align: left; margin-bottom: 24px; }
.error-suggestions h2 { font-size: 16px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.error-suggestions ul { list-style: none; }
.error-suggestions li { padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
.error-suggestions li:last-child { border-bottom: none; }
.error-suggestions a { display: flex; align-items: center; gap: 12px; color: var(--text); }
.error-suggestions a:hover { color: var(--accent); }
.error-suggestions .cat-tag { background: var(--accent-soft); color: var(--accent-text); padding: 3px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; flex-shrink: 0; }
.error-suggestions strong { font-weight: 600; font-size: 15px; }
.error-cats-block { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; margin-bottom: 24px; text-align: left; }
.error-cats-block h2 { font-size: 16px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.error-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.error-cat-tile { background: var(--bg-soft); border-radius: var(--radius-md); padding: 16px 18px; text-align: left; transition: all 0.2s ease; display: block; }
.error-cat-tile:hover { background: var(--accent-soft); transform: translateY(-2px); }
.error-cat-tile h3 { font-size: 15px; margin-bottom: 2px; color: var(--text); }
.error-cat-tile:hover h3 { color: var(--accent); }
.error-cat-tile span { font-size: 12px; color: var(--text-muted); }
.error-help { font-size: 14px; color: var(--text-soft); margin-top: 24px; }

/* Thank You */
.thank-you { max-width: 720px; margin: 0 auto; padding: 80px var(--gutter); text-align: center; }
.thank-you .icon-circle { width: 96px; height: 96px; margin: 0 auto 24px; background: var(--accent-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(184, 50, 74, 0.15); }
.thank-you .icon-circle::after { content: '✓'; font-size: 48px; color: var(--accent); font-weight: 700; }
.thank-you h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.thank-you .lead { color: var(--text-soft); font-size: 18px; margin-bottom: 36px; line-height: 1.6; }
.next-steps { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 32px; text-align: left; margin-bottom: 24px; }
.next-steps h2 { font-size: 18px; margin-bottom: 18px; }
.next-steps ol { margin-left: 20px; color: var(--text-soft); }
.next-steps li { margin-bottom: 10px; line-height: 1.6; }
.ty-help { font-size: 14px; color: var(--text-soft); margin-bottom: 32px; }
.ty-suggestions { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; text-align: left; margin-bottom: 24px; }
.ty-suggestions h2 { font-size: 16px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.ty-suggestions ul { list-style: none; }
.ty-suggestions li { border-bottom: 1px solid var(--border-soft); }
.ty-suggestions li:last-child { border-bottom: none; }
.ty-suggestions a { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; color: var(--text); transition: padding 0.2s ease; }
.ty-suggestions a:hover { padding-left: 6px; color: var(--accent); }
.ty-arrow { color: var(--accent); font-weight: 700; font-size: 18px; line-height: 1.4; flex-shrink: 0; }
.ty-suggestions strong { display: block; font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.ty-meta { font-size: 12px; color: var(--text-muted); }
.ty-social { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; margin-bottom: 24px; }
.ty-social h2 { font-size: 16px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.ty-social p { font-size: 14px; color: var(--text-soft); margin-bottom: 16px; }
.ty-social-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ty-social-links a { padding: 8px 16px; background: var(--bg-soft); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text); transition: all 0.2s ease; }
.ty-social-links a:hover { background: var(--accent); color: white; transform: translateY(-2px); }
.ty-bottom-cta { margin-top: 32px; }

/* ===== Category landing pages ===== */
.cat-hero { max-width: var(--max); margin: 32px auto 0; padding: 0 var(--gutter); }
.cat-hero-inner { background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); padding: clamp(32px, 5vw, 56px); text-align: center; }
.cat-hero-eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent-text); padding: 6px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.cat-hero h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 16px; line-height: 1.1; }
.cat-hero-lede { color: var(--text-soft); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; max-width: 720px; margin: 0 auto; }

.cat-quick-answer { max-width: 880px; margin: 40px auto 0; padding: 0 var(--gutter); }
.cat-quick-answer { background: linear-gradient(135deg, #fdeef1 0%, #faf2f4 100%); border-radius: var(--radius-xl); padding: 32px clamp(24px, 4vw, 48px); margin: 40px var(--gutter); max-width: calc(var(--max) - var(--gutter) * 2); }
@media (min-width: 1264px) { .cat-quick-answer { margin-left: auto; margin-right: auto; } }
.cat-quick-answer .qa-label { display: inline-block; background: var(--accent); color: white; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.cat-quick-answer h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 12px; }
.cat-quick-answer p { font-size: 16px; color: var(--text); line-height: 1.7; }

.cat-topics { max-width: var(--max); margin: 48px auto 0; padding: 0 var(--gutter); }
.cat-topics h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 24px; position: relative; padding-left: 18px; }
.cat-topics h2::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: var(--accent); border-radius: 2px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic-card { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px; transition: all 0.25s ease; display: block; }
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.topic-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--text); }
.topic-card:hover h3 { color: var(--accent); }
.topic-card p { font-size: 13px; color: var(--text-soft); line-height: 1.55; }

.cat-featured { max-width: var(--max); margin: 48px auto 0; padding: 0 var(--gutter); }
.post-grid-1 { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
.post-grid-1 .post-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; }
.post-grid-1 .post-img { aspect-ratio: 16/10; min-height: 280px; }
.post-grid-1 .post-card-body { padding: 32px; }
.post-grid-1 .post-card h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 14px; line-height: 1.2; }
.post-grid-1 .post-card .excerpt { font-size: 16px; }
@media (max-width: 768px) {
  .post-grid-1 .post-card { grid-template-columns: 1fr; }
  .post-grid-1 .post-card-body { padding: 24px; }
  .post-grid-1 .post-img { min-height: 200px; }
}

.cat-articles { max-width: var(--max); margin: 64px auto 0; padding: 0 var(--gutter); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 10px 16px; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--text); transition: all 0.2s ease; }
.pagination a { background: var(--bg-card); box-shadow: var(--shadow-xs); }
.pagination a:hover { background: var(--accent-soft); color: var(--accent); }
.pagination .pag-current { background: var(--accent); color: white; }
.pagination .pag-ellipsis { color: var(--text-muted); padding: 10px 4px; }

.cat-faq { padding: 64px var(--gutter); background: var(--bg-soft); margin-top: 64px; }
.cat-faq-inner { max-width: 880px; margin: 0 auto; background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: 48px clamp(24px, 4vw, 56px); }
.cat-faq h2 { font-size: clamp(24px, 2.8vw, 32px); text-align: center; margin-bottom: 28px; }
.cat-faq .faq-item { border-bottom: 1px solid var(--border-soft); }
.cat-faq .faq-item:last-child { border-bottom: none; }
.cat-faq .faq-item summary { padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; transition: color 0.2s ease; }
.cat-faq .faq-item summary::-webkit-details-marker { display: none; }
.cat-faq .faq-item summary::after { content: ''; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8324a' stroke-width='3'><path d='M12 5v14M5 12h14'/></svg>"); background-repeat: no-repeat; background-position: center; background-size: 14px; transition: transform 0.25s ease, background-color 0.2s ease; }
.cat-faq .faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--accent); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M12 5v14M5 12h14'/></svg>"); }
.cat-faq .faq-item summary:hover { color: var(--accent); }
.cat-faq .faq-answer { padding: 0 0 24px; color: var(--text-soft); font-size: 15px; line-height: 1.75; }

.cat-related { max-width: var(--max); margin: 64px auto 0; padding: 0 var(--gutter); }
.cat-related h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 24px; text-align: center; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-tile { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px 22px; text-align: center; transition: all 0.25s ease; display: block; }
.related-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-tile h3 { font-size: 18px; margin-bottom: 4px; color: var(--text); }
.related-tile:hover h3 { color: var(--accent); }
.related-tile span { font-size: 12px; color: var(--text-muted); font-weight: 500; }

@media (max-width: 768px) {
  .topic-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; gap: 12px; }
  .cat-faq { padding: 40px var(--gutter); }
  .cat-faq-inner { padding: 32px 20px; }
}

/* ===== Individual blog post pages ===== */
.post-page { max-width: 760px; margin: 32px auto 0; padding: 0 var(--gutter); }
.post-page-header { background: var(--bg-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); padding: clamp(28px, 4vw, 48px); margin-bottom: 32px; }
.post-page-eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent-text); padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.post-page h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; line-height: 1.2; }
.post-page-lede { color: var(--text-soft); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; margin-bottom: 20px; }
.post-page-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 13px; color: var(--text-muted); padding-top: 18px; border-top: 1px solid var(--border-soft); }
.post-page-meta .sep { color: #d4cfc4; }
.post-page-meta .updated { background: #fff7eb; color: #8a5a00; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

.post-hero-img { aspect-ratio: 16/9; background: linear-gradient(135deg, #f4f2ed 0%, #e8e3d8 100%); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: #c4bfb5; font-size: 13px; margin-bottom: 32px; }
.post-hero-img::after { content: 'Featured Image'; }

.post-toc { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 22px 28px; margin-bottom: 32px; }
.post-toc h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; color: var(--text); }
.post-toc ol { margin-left: 18px; counter-reset: toc; list-style: none; }
.post-toc li { padding: 4px 0; font-size: 14px; counter-increment: toc; position: relative; padding-left: 24px; }
.post-toc li::before { content: counter(toc); position: absolute; left: 0; top: 4px; font-size: 12px; font-weight: 700; color: var(--accent); }
.post-toc a { color: var(--text-soft); }
.post-toc a:hover { color: var(--accent); }

.post-quick-answer { background: linear-gradient(135deg, #fdeef1 0%, #faf2f4 100%); border-left: 4px solid var(--accent); border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 32px; }
.post-quick-answer .qa-label { display: inline-block; background: var(--accent); color: white; padding: 3px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.post-quick-answer p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text); }
.post-quick-answer p strong { color: var(--text); }

.post-body { font-size: 17px; line-height: 1.75; color: var(--text); }
.post-body h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 40px 0 16px; scroll-margin-top: 80px; }
.post-body h2:first-child { margin-top: 0; }
.post-body h3 { font-size: clamp(18px, 2vw, 22px); margin: 28px 0 12px; scroll-margin-top: 80px; }
.post-body p { margin-bottom: 18px; color: var(--text-soft); }
.post-body p:first-child { margin-top: 0; }
.post-body ul, .post-body ol { margin: 0 0 20px 22px; color: var(--text-soft); }
.post-body li { margin-bottom: 8px; line-height: 1.7; }
.post-body strong { color: var(--text); font-weight: 600; }
.post-body a { color: var(--accent); border-bottom: 1px solid rgba(184, 50, 74, 0.3); transition: border-color 0.15s ease; }
.post-body a:hover { border-bottom-color: var(--accent); }
.post-body blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 24px 0; font-style: italic; color: var(--text); }
.post-body .callout { background: var(--bg-soft); border-radius: var(--radius-md); padding: 20px 24px; margin: 24px 0; }
.post-body .callout strong { color: var(--text); }
.post-body .callout p { color: var(--text); margin-bottom: 0; }
.post-body .pro-tip { background: #fff7eb; border-left: 3px solid #d99000; padding: 16px 20px; border-radius: var(--radius-md); margin: 24px 0; }
.post-body .pro-tip::before { content: '💡 Pro tip'; display: block; font-size: 12px; font-weight: 700; color: #8a5a00; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.post-body .warning { background: #fff0f0; border-left: 3px solid #c43838; padding: 16px 20px; border-radius: var(--radius-md); margin: 24px 0; }
.post-body .warning::before { content: '⚠ Warning'; display: block; font-size: 12px; font-weight: 700; color: #c43838; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.post-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-xs); }
.post-body th, .post-body td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.post-body th { background: var(--bg-soft); font-weight: 700; font-size: 13px; color: var(--text); }
.post-body td { color: var(--text-soft); }
.post-body tr:last-child td { border-bottom: none; }

.post-faq { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 32px clamp(24px, 4vw, 40px); margin-top: 48px; }
.post-faq h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 24px; }
.post-faq .faq-item { border-bottom: 1px solid var(--border-soft); }
.post-faq .faq-item:last-child { border-bottom: none; }
.post-faq .faq-item summary { padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.post-faq .faq-item summary::-webkit-details-marker { display: none; }
.post-faq .faq-item summary::after { content: '+'; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; transition: transform 0.25s ease; }
.post-faq .faq-item[open] summary::after { transform: rotate(45deg); }
.post-faq .faq-answer { padding: 0 0 20px; color: var(--text-soft); font-size: 15px; line-height: 1.75; }

.post-related { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; margin-top: 32px; }
.post-related h2 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.post-related ul { list-style: none; }
.post-related li { padding: 10px 0; border-bottom: 1px solid var(--border-soft); }
.post-related li:last-child { border-bottom: none; }
.post-related a { display: flex; align-items: flex-start; gap: 10px; color: var(--text); }
.post-related a:hover { color: var(--accent); }
.post-related a::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

.post-share { display: flex; gap: 8px; align-items: center; margin: 32px 0; padding: 18px 22px; background: var(--bg-soft); border-radius: var(--radius-md); flex-wrap: wrap; }
.post-share span { font-size: 13px; color: var(--text-soft); font-weight: 600; }
.post-share a { padding: 6px 14px; background: var(--bg-card); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--text); }
.post-share a:hover { background: var(--accent); color: white; }

.post-disclosure { background: #fff9f0; border-radius: var(--radius-md); padding: 14px 18px; margin: 24px 0; font-size: 13px; color: var(--text-soft); border-left: 3px solid #d99000; }
.post-disclosure strong { color: var(--text); }

@media (max-width: 720px) {
  .post-body { font-size: 16px; }
}

/* Sitemap page */
.sitemap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.sitemap-section { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; }
.sitemap-section h2 { font-size: 18px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: inline-block; padding-right: 20px; }
.sitemap-section ul { list-style: none; }
.sitemap-section li { padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.sitemap-section li:last-child { border-bottom: none; }
.sitemap-section a { display: flex; justify-content: space-between; font-size: 14px; }
.sitemap-section .count { color: var(--text-muted); font-size: 12px; }

/* Glossary */
.glossary-letter { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 32px; margin-bottom: 24px; scroll-margin-top: 80px; }
.glossary-letter h2 { font-size: 36px; color: var(--accent); border-bottom: 2px solid var(--border); padding-bottom: 14px; margin-bottom: 20px; }
.glossary-term { padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
.glossary-term:last-child { border-bottom: none; }
.glossary-term dt { font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 6px; }
.glossary-term dd { color: var(--text-soft); font-size: 14px; line-height: 1.65; }
.glossary-term dd a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.alphabet-nav { background: var(--bg-card); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 16px; margin-bottom: 32px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; position: sticky; top: 70px; z-index: 10; }
.alphabet-nav a { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 700; font-size: 13px; color: var(--text-soft); transition: all 0.15s ease; }
.alphabet-nav a:hover { background: var(--accent); color: white; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 32px 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; background: var(--bg-card); box-shadow: var(--shadow-xs); border: 1px solid var(--border); }
.pagination a:hover { background: var(--accent); color: white; border-color: var(--accent); }
.pagination .current { background: var(--accent); color: white; border-color: var(--accent); }
.pagination .ellipsis { background: transparent; box-shadow: none; border: none; color: var(--text-muted); }

/* Comparison page table */
.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 32px 0; background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.comparison-table th { background: var(--bg-dark); color: white; text-align: left; padding: 18px 20px; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.comparison-table td { padding: 16px 20px; border-bottom: 1px solid var(--border-soft); font-size: 15px; color: var(--text-soft); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .row-label { font-weight: 700; color: var(--text); background: var(--bg-soft); }
.comparison-table .winner { background: var(--accent-soft); font-weight: 600; color: var(--accent-text); }

/* Responsive */
@media (max-width: 960px) {
  .featured { grid-template-columns: 1fr; padding: 16px; gap: 20px; }
  .featured-content { padding: 8px 8px 12px; }
  .main-grid { grid-template-columns: 1fr; gap: 32px; }
  .post-grid { grid-template-columns: 1fr; }
  .category-section .post-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-header-inner { flex-wrap: wrap; gap: 16px; }
  .header-search { display: none; }
  aside.sidebar { position: static; }
  .nav-toggle { display: inline-flex; }
  nav.main ul { display: none; flex-direction: column; padding: 8px var(--gutter) 16px; }
  nav.main ul.is-open { display: flex; }
  nav.main a { padding: 14px 4px; border-bottom: 1px solid var(--border-soft); }
  nav.main li:last-child a { border-bottom: none; }
  nav.main a::after { display: none; }
  .trust-strip-inner { justify-content: flex-start; padding: 16px 20px; }
  .cta-form { flex-direction: column; background: transparent; padding: 0; border: none; gap: 12px; }
  .cta-form input { background: rgba(255,255,255,0.08); border-radius: var(--radius-sm); }
  .cta-form button { border-radius: var(--radius-sm); }
  .sitemap-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 14px; }
  .comparison-table th, .comparison-table td { padding: 12px 14px; }
}

@media (max-width: 560px) {
  .category-section .post-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .post-meta { gap: 8px; font-size: 12px; }
  .featured-content h1 { font-size: 26px; }
  .container { padding: 32px var(--gutter); }
  .article-page { padding: 28px 22px; }
}

/* === AEO BLOCKS === */

/* Quick Answer / TL;DR Box (top of articles) */
.quick-answer { background: linear-gradient(135deg, #fdeef1 0%, #fef5f7 100%); border: 1px solid #f5c4cf; border-left: 4px solid var(--accent); border-radius: var(--radius-md); padding: 24px 28px; margin: 20px 0 32px; }
.quick-answer .qa-label { display: inline-block; background: var(--accent); color: white; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; }
.quick-answer p { color: var(--text); font-size: 16px; line-height: 1.65; margin-bottom: 0; }
.quick-answer p strong { color: var(--accent-text); }
.quick-answer p + p { margin-top: 10px; }

/* Reviewed-by badge (inline) */
.reviewed-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 12px; color: var(--text-soft); margin-right: 8px; }
.reviewed-badge::before { content: '✓'; width: 20px; height: 20px; background: var(--accent); color: white; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.reviewed-badge strong { color: var(--text); font-weight: 700; }

/* Best For grid */
.best-for { background: var(--bg-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 28px; margin: 28px 0; }
.best-for h3 { font-size: 18px; margin-bottom: 16px; padding-left: 14px; position: relative; }
.best-for h3::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--accent); border-radius: 2px; }
.best-for-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.best-for-item { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: 14px; line-height: 1.5; }
.best-for-item::before { content: '✓'; flex-shrink: 0; width: 22px; height: 22px; background: var(--accent-soft); color: var(--accent); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.best-for-item strong { color: var(--text); display: block; margin-bottom: 2px; }

/* How It Works steps */
.how-it-works { margin: 28px 0; }
.how-step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border-soft); }
.how-step:last-child { border-bottom: none; }
.how-step-num { flex-shrink: 0; width: 36px; height: 36px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 17px; font-weight: 700; }
.how-step-content h4 { font-size: 16px; margin-bottom: 4px; }
.how-step-content p { font-size: 14px; color: var(--text-soft); margin: 0; }

/* Statistics callouts */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.stat-item { background: var(--bg-card); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 22px 20px; text-align: center; }
.stat-num { font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* Lead Magnet section */
.lead-magnet { background: linear-gradient(135deg, #fdeef1 0%, #faf2f4 100%); border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 56px); margin: 32px 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.lead-magnet-cover { aspect-ratio: 3/4; background: linear-gradient(160deg, #ffffff 0%, #f4f2ed 100%); border-radius: var(--radius-md); box-shadow: 0 12px 32px rgba(20,17,15,0.12), 0 2px 8px rgba(184,50,74,0.08); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 24px; text-align: center; max-width: 240px; margin-left: auto; transform: rotate(-3deg); transition: transform 0.3s ease; }
.lead-magnet-cover:hover { transform: rotate(0deg) scale(1.02); }
.lead-magnet-cover .cover-label { font-size: 10px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px; }
.lead-magnet-cover .cover-title { font-family: var(--font-heading); font-size: 22px; line-height: 1.15; margin-bottom: 12px; }
.lead-magnet-cover .cover-pages { font-size: 11px; color: var(--text-muted); }
.lead-magnet h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; line-height: 1.2; }
.lead-magnet > div p { color: var(--text-soft); font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.lead-magnet-checklist { list-style: none; margin-bottom: 24px; }
.lead-magnet-checklist li { padding: 6px 0 6px 26px; position: relative; font-size: 14px; color: var(--text-soft); }
.lead-magnet-checklist li::before { content: '✓'; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; background: var(--accent); color: white; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.lead-magnet-form { display: flex; gap: 8px; max-width: 440px; }
.lead-magnet-form input { flex: 1; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 14px; min-height: 48px; outline: none; transition: border-color 0.2s ease; background: white; }
.lead-magnet-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* Sticky Mobile CTA bar */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(20,17,15,0.08); padding: 12px var(--gutter); z-index: 100; display: none; align-items: center; gap: 12px; transform: translateY(100%); transition: transform 0.3s ease; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-text { flex: 1; min-width: 0; }
.sticky-cta-text strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 2px; }
.sticky-cta-text span { display: block; font-size: 12px; color: var(--text-muted); }
.sticky-cta .btn { padding: 12px 20px; min-height: 44px; font-size: 13px; flex-shrink: 0; }
.sticky-cta-close { background: none; border: none; padding: 8px; cursor: pointer; color: var(--text-muted); font-size: 18px; line-height: 1; flex-shrink: 0; min-width: 32px; min-height: 32px; }

/* Exit Intent Modal */
.exit-modal { position: fixed; inset: 0; background: rgba(20,17,15,0.6); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity 0.2s ease; }
.exit-modal.is-open { display: flex; opacity: 1; }
.exit-modal-card { background: white; border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 48px); max-width: 480px; width: 100%; position: relative; box-shadow: var(--shadow-lg); transform: scale(0.95); transition: transform 0.2s ease; }
.exit-modal.is-open .exit-modal-card { transform: scale(1); }
.exit-modal-close { position: absolute; top: 16px; right: 16px; background: var(--bg-soft); border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; color: var(--text-soft); transition: all 0.15s ease; }
.exit-modal-close:hover { background: var(--accent); color: white; }
.exit-modal h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 12px; line-height: 1.2; padding-right: 40px; }
.exit-modal p { color: var(--text-soft); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.exit-modal-form input { width: 100%; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; margin-bottom: 12px; min-height: 48px; outline: none; transition: border-color 0.2s ease; }
.exit-modal-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.exit-modal-form button { width: 100%; }
.exit-modal-fineprint { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* Stat strip in articles */
.entity-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--bg-soft); border-radius: var(--radius-md); padding: 20px; margin: 24px 0; text-align: center; }
.entity-item { padding: 0 12px; border-right: 1px solid var(--border); }
.entity-item:last-child { border-right: none; }
.entity-item .entity-num { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--accent); display: block; line-height: 1; margin-bottom: 4px; }
.entity-item .entity-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

@media (max-width: 960px) {
  .lead-magnet { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .lead-magnet-cover { transform: rotate(0); margin: 0 auto; max-width: 200px; }
  .stat-grid { grid-template-columns: 1fr; }
  .best-for-grid { grid-template-columns: 1fr; }
  .entity-strip { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .entity-item { border-right: none; border-bottom: 1px solid var(--border); padding: 8px 0; }
  .entity-item:nth-child(2n) { border-right: none; }
  .entity-item:nth-last-child(-n+2) { border-bottom: none; }
  .sticky-cta { display: flex; }
  body.has-sticky-cta { padding-bottom: 84px; }
  .lead-magnet-form { flex-direction: column; }
}

@media print { nav, aside, footer, .cta-section, .browse-cats, .trust-strip, .promise, .announce, .sticky-cta, .exit-modal, .lead-magnet { display: none; } .article-page { box-shadow: none; padding: 0; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* =========================================================
   AEO/GEO Components — added for answer-engine optimization
   ========================================================= */

/* Quick Answer box (TL;DR / Featured snippet target) */
.quick-answer {
  background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 24px 0 32px;
  box-shadow: var(--shadow-sm);
}
.quick-answer .qa-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: white;
  padding: 5px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.quick-answer .qa-label::before { content: '★'; }
.quick-answer h2, .quick-answer .qa-title {
  font-size: 18px; margin: 0 0 10px;
  padding-left: 0; color: var(--text);
}
.quick-answer h2::before { display: none; }
.quick-answer p {
  font-size: 16px; color: var(--text);
  line-height: 1.65; margin: 0;
}
.quick-answer p:not(:last-child) { margin-bottom: 8px; }
.quick-answer strong { color: var(--accent-text); font-weight: 700; }

/* "Best for" cards grid */
.best-for {
  margin: 32px 0;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.best-for h2 {
  font-size: 20px; margin: 0 0 18px; padding-left: 0;
}
.best-for h2::before { display: none; }
.best-for-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.best-for-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
}
.best-for-card strong {
  display: block; font-size: 14px;
  color: var(--text); margin-bottom: 4px;
}
.best-for-card span {
  font-size: 13px; color: var(--text-soft); line-height: 1.55;
}

/* "How it works" steps */
.how-it-works { margin: 32px 0; }
.how-it-works h2 { font-size: 22px; margin-bottom: 20px; }
.steps-list {
  list-style: none; counter-reset: step;
  display: grid; gap: 16px;
}
.steps-list li {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  padding: 20px 24px 20px 70px;
  position: relative; counter-increment: step;
}
.steps-list li::before {
  content: counter(step);
  position: absolute; left: 20px; top: 18px;
  width: 36px; height: 36px;
  background: var(--accent); color: white;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps-list strong {
  display: block; color: var(--text);
  margin-bottom: 4px; font-size: 15px;
}
.steps-list span {
  display: block; color: var(--text-soft);
  font-size: 14px; line-height: 1.6;
}

/* Expert quote callout */
.expert-quote {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 32px;
  margin: 32px 0;
  display: flex; gap: 20px; align-items: flex-start;
  border-left: 4px solid var(--accent);
}
.expert-quote-photo {
  flex-shrink: 0; width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4f2ed, #e8e3d8);
  display: flex; align-items: center; justify-content: center;
  color: #c4bfb5; font-size: 10px;
}
.expert-quote-photo::after { content: 'Photo'; }
.expert-quote blockquote {
  border: none; padding: 0; margin: 0 0 12px;
  font-size: 16px; color: var(--text);
  font-style: normal; line-height: 1.65;
}
.expert-quote blockquote::before {
  content: '"'; font-family: var(--font-heading);
  font-size: 36px; color: var(--accent);
  line-height: 0; margin-right: 4px;
  vertical-align: -10px;
}
.expert-quote cite {
  font-style: normal; font-size: 13px;
  color: var(--text-muted);
}
.expert-quote cite strong {
  color: var(--text); display: block;
  font-size: 14px; margin-bottom: 2px;
}

/* Stats grid */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin: 32px 0;
}
.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 18px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 32px; font-weight: 700;
  color: var(--accent); line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px; color: var(--text-soft);
  line-height: 1.45;
}

/* Checklist */
.checklist {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
  list-style: none;
}
.checklist h2, .checklist h3 {
  font-size: 18px; margin: 0 0 16px;
  padding-left: 0;
}
.checklist h2::before { display: none; }
.checklist ul { list-style: none; margin: 0; }
.checklist li {
  padding: 10px 0 10px 32px;
  position: relative; font-size: 15px;
  color: var(--text); line-height: 1.55;
  border-bottom: 1px solid var(--border-soft);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8324a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-position: center;
  background-size: 12px;
}

/* Entity signals block */
.entity-signals {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  margin: 32px 0;
}
.entity-signals h2 {
  font-size: 18px; margin-bottom: 8px;
  padding-left: 0;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.entity-signals h2::before { display: none; }
.entity-signals .lede {
  color: var(--text-soft); margin-bottom: 24px;
  font-size: 14px;
}
.entity-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.entity-row {
  display: contents;
}
.entity-row dt {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 12px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.entity-row dd {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14px; color: var(--text);
  line-height: 1.6;
}

/* Sticky mobile CTA */
.sticky-mobile-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(20, 17, 15, 0.08);
  padding: 12px 14px;
  z-index: 90;
  gap: 10px; align-items: center;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-mobile-cta.is-visible { transform: translateY(0); }
.sticky-mobile-cta .scta-text {
  flex: 1; font-size: 13px;
  color: var(--text); line-height: 1.3;
}
.sticky-mobile-cta .scta-text strong { display: block; }
.sticky-mobile-cta .scta-text span {
  color: var(--text-muted); font-size: 12px;
}
.sticky-mobile-cta .btn {
  padding: 10px 18px; font-size: 13px;
  min-height: 40px; flex-shrink: 0;
}
.sticky-mobile-cta .scta-close {
  background: transparent; border: none;
  color: var(--text-muted); cursor: pointer;
  font-size: 22px; line-height: 1;
  padding: 4px 8px; flex-shrink: 0;
}

/* Hindi/Hinglish FAQ section */
.lang-faq {
  background: var(--bg-soft);
  padding: 48px var(--gutter);
  margin-top: 0;
}
.lang-faq-inner {
  max-width: 880px; margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 40px clamp(24px, 4vw, 48px);
}
.lang-faq h2 { font-size: 26px; margin-bottom: 6px; text-align: center; padding-left: 0; }
.lang-faq h2::before { display: none; }
.lang-faq .subtitle { text-align: center; color: var(--text-soft); margin-bottom: 28px; font-size: 14px; }
.lang-tabs {
  display: flex; gap: 4px; justify-content: center;
  margin-bottom: 24px; padding: 4px;
  background: var(--bg-soft); border-radius: 999px;
  width: fit-content; margin-left: auto; margin-right: auto;
}
.lang-tabs button {
  background: transparent; border: none;
  padding: 8px 16px; font-family: inherit;
  font-size: 13px; font-weight: 600;
  cursor: pointer; border-radius: 999px;
  color: var(--text-soft);
  transition: all 0.2s ease;
}
.lang-tabs button[aria-selected="true"] {
  background: var(--bg-card); color: var(--accent);
  box-shadow: var(--shadow-xs);
}
.lang-pane[hidden] { display: none; }
.lang-pane .faq-item summary { font-size: 15px; }
.lang-pane[lang="hi"] { font-family: -apple-system, "Noto Sans Devanagari", BlinkMacSystemFont, system-ui, sans-serif; }

/* Featured definitions block (glossary top) */
.featured-defs {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  margin-bottom: 32px;
}
.featured-defs h2 {
  font-size: 18px; margin-bottom: 16px;
  padding-left: 0; text-transform: uppercase;
  letter-spacing: 0.06em;
}
.featured-defs h2::before { display: none; }
.featured-defs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.featured-defs-item {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}
.featured-defs-item dt {
  font-weight: 700; font-size: 14px;
  color: var(--accent); margin-bottom: 4px;
}
.featured-defs-item dd {
  font-size: 13px; color: var(--text-soft);
  line-height: 1.55;
}

/* Founder card */
.founder-card {
  background: linear-gradient(135deg, var(--bg-soft) 0%, #ffffff 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  margin: 32px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px; align-items: center;
}
.founder-card .photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4f2ed, #e8e3d8);
  display: flex; align-items: center; justify-content: center;
  color: #c4bfb5; font-size: 11px;
  flex-shrink: 0;
}
.founder-card .photo::after { content: 'Photo'; }
.founder-card .label {
  display: inline-block;
  background: var(--accent-soft); color: var(--accent-text);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 6px;
}
.founder-card h3 { font-size: 22px; margin-bottom: 4px; }
.founder-card .role { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.founder-card p { font-size: 14px; color: var(--text-soft); line-height: 1.6; margin: 0; }

/* Mobile adjustments for AEO components */
@media (max-width: 720px) {
  .best-for-grid, .featured-defs-grid, .stats-grid, .entity-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 10px; }
  .stat-card { padding: 16px 14px; }
  .stat-num { font-size: 26px; }
  .expert-quote { flex-direction: column; padding: 22px; }
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-card .photo { margin: 0 auto; }
  .sticky-mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* ===== Search dropdown ===== */
.header-search { position: relative; }

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  max-height: 480px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  border: 1px solid var(--border-soft);
  min-width: 320px;
}
.search-dropdown.is-open { display: block; }

/* Allow the parent header to NOT clip the dropdown */
.site-header,
.site-header-inner {
  overflow: visible !important;
}

.search-result-item {
  display: block;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover,
.search-result-item.is-active {
  background: var(--bg-soft);
  color: var(--text);
}

.search-result-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--text);
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 6px;
}
.search-result-sep { color: var(--text-muted); font-weight: 400; }
.search-result-tag { color: var(--text-soft); }

.search-result-excerpt {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-result-item mark {
  background: rgba(184, 50, 74, 0.15);
  color: var(--accent);
  padding: 0 2px;
  border-radius: 2px;
}

.search-no-results {
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  .search-dropdown {
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 80px);
    min-width: 0;
  }
}

/* ============================================================
   LEAD MAGNET — DOWNLOAD STATUS STYLES
   Append the contents of this file to the BOTTOM of your styles.css
   (or keep it as a separate stylesheet — your call).

   These classes are NEW (no conflict with your existing
   .lead-magnet, .lead-magnet-form, .lead-magnet-cover styles):
   - .leadmag-action       (wrapper that holds button + status)
   - .leadmag-status       (the "downloading..." pill)
   - .leadmag-spinner      (the rotating circle)
   - .leadmag-status-text  (the message text)
============================================================ */

.leadmag-action {
  margin: 0 0 12px;
  min-height: 50px; /* prevents layout jump when swapping btn ↔ status */
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.leadmag-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  border: 1px solid rgba(184, 50, 74, 0.15);
  box-shadow: 0 4px 14px rgba(184, 50, 74, 0.08);
  font-size: 14px;
  color: #3d3d3d;
  animation: leadmagFadeIn 0.3s ease-out;
}

.leadmag-status.complete {
  border-color: rgba(184, 50, 74, 0.3);
}

.leadmag-status.complete::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: #b8324a;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.leadmag-status.complete .leadmag-spinner {
  display: none;
}

.leadmag-status .leadmag-status-text strong {
  color: #1a1a1a;
  font-weight: 700;
}

.leadmag-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(184, 50, 74, 0.2);
  border-top-color: #b8324a;
  border-radius: 50%;
  animation: leadmagSpin 0.7s linear infinite;
  flex-shrink: 0;
  display: inline-block;
}

@keyframes leadmagSpin {
  to { transform: rotate(360deg); }
}

@keyframes leadmagFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
[hidden] {
  display: none !important;
}


/* ============================================================
   SKIN TYPE FINDER — QUIZ STYLES
   Append the contents of this file to the bottom of your styles.css.

   Two components:
   1. .widget-quiz       — sidebar compact card
   2. .quiz-wrapper / .quiz-section — full footer quiz (3 stages)
============================================================ */

/* ============================================================
   1. SIDEBAR WIDGET (compact teaser)
============================================================ */

.widget-quiz {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1820 100%);
  color: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.widget-quiz::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(184, 50, 74, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.widget-quiz-inner {
  position: relative;
  z-index: 1;
}

.widget-quiz-icon {
  display: inline-block;
  font-size: 28px;
  color: #b8324a;
  margin-bottom: 8px;
}

.widget-quiz h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px;
  text-align: center;
}

.widget-quiz p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 18px;
}

.widget-quiz-btn {
  display: inline-block;
  background: #b8324a;
  color: #fff;
  padding: 11px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  margin-bottom: 12px;
}

.widget-quiz-btn:hover {
  background: #9d2a3e;
}

.widget-quiz-btn:active {
  transform: translateY(1px);
}

.widget-quiz-btn .arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.widget-quiz-btn:hover .arrow {
  transform: translateX(3px);
}

.widget-quiz-meta {
  display: block;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   2. FOOTER QUIZ (full interactive)
============================================================ */

.quiz-wrapper {
  padding: 60px 24px 80px;
  background: #faf6f1;
}

.quiz-section {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1820 60%, #3d1f28 100%);
  border-radius: 20px;
  padding: 64px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.quiz-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(184, 50, 74, 0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.quiz-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(184, 50, 74, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 640px) {
  .quiz-wrapper { padding: 40px 16px 60px; }
  .quiz-section { padding: 44px 24px; border-radius: 14px; }
}

/* ----- Stage 1: INTRO ----- */
.quiz-intro {
  text-align: center;
  position: relative;
  z-index: 1;
}

.quiz-eyebrow {
  display: inline-block;
  background: rgba(184, 50, 74, 0.2);
  color: #f5a5b3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.quiz-intro h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.quiz-lede {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 32px;
  max-width: 480px;
}

.quiz-start {
  background: #b8324a;
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(184, 50, 74, 0.35);
}

.quiz-start:hover {
  background: #9d2a3e;
  box-shadow: 0 10px 30px rgba(184, 50, 74, 0.45);
}

.quiz-start:active { transform: translateY(1px); }

.quiz-start .arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.quiz-start:hover .arrow { transform: translateX(4px); }

.quiz-meta {
  margin: 20px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

/* ----- Stages 2 & 3: CARD ----- */
.quiz-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 36px 32px;
  position: relative;
  z-index: 1;
  animation: quizFadeIn 0.4s ease-out;
}

@media (max-width: 640px) {
  .quiz-card { padding: 28px 20px; }
}

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----- Progress bar ----- */
.quiz-progress {
  margin-bottom: 28px;
}

.quiz-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #b8324a, #d44d65);
  width: 0%;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 3px;
}

.quiz-progress-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

/* ----- Question ----- */
.quiz-question-title {
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1.3;
  color: #fff;
  margin: 0 0 24px;
  font-weight: 700;
}

/* ----- Options ----- */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.4;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.1s;
}

.quiz-option:hover {
  background: rgba(184, 50, 74, 0.15);
  border-color: rgba(184, 50, 74, 0.5);
}

.quiz-option:active { transform: scale(0.99); }

.quiz-option.selected {
  background: rgba(184, 50, 74, 0.25);
  border-color: #b8324a;
  box-shadow: 0 0 0 3px rgba(184, 50, 74, 0.2);
}

.quiz-option:focus-visible {
  outline: 2px solid #b8324a;
  outline-offset: 2px;
}

/* ----- Controls ----- */
.quiz-controls {
  margin-top: 8px;
  text-align: left;
}

.quiz-back {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  cursor: pointer;
  padding: 6px 0;
  font-family: inherit;
  transition: color 0.18s;
}

.quiz-back:hover { color: #fff; }

/* ----- Result ----- */
.quiz-result-card {
  text-align: center;
}

.quiz-result-badge {
  display: inline-block;
  background: rgba(184, 50, 74, 0.2);
  color: #f5a5b3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.quiz-result-label {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  color: #fff;
  margin: 0 0 6px;
  font-weight: 700;
}

.quiz-result-tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #d4a7af;
  font-style: italic;
  margin-bottom: 20px;
}

.quiz-result-summary {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 28px;
  max-width: 520px;
  text-align: left;
}

@media (max-width: 640px) {
  .quiz-result-summary { font-size: 14px; }
}

.quiz-result-tips-block {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid #b8324a;
  border-radius: 8px;
  padding: 20px 24px;
  text-align: left;
  margin: 0 0 28px;
}

.quiz-result-tips-block h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f5a5b3;
  margin: 0 0 12px;
}

.quiz-result-tips {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quiz-result-tips li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.quiz-result-tips li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: #b8324a;
  font-weight: 700;
}

.quiz-result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.quiz-result-cta {
  background: #b8324a;
  color: #fff;
  padding: 14px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 6px 20px rgba(184, 50, 74, 0.3);
}

.quiz-result-cta:hover {
  background: #9d2a3e;
  box-shadow: 0 8px 26px rgba(184, 50, 74, 0.4);
}

.quiz-result-cta:active { transform: translateY(1px); }

.quiz-retake {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s, border-color 0.18s;
}

.quiz-retake:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.header-search {
  overflow: visible;
}

.header-search > input {
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

.header-search > button[type="submit"] {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

/* === Announcement bar — side-by-side with pipe === */
.announce {
  background: var(--bg-dark);
  color: white;
  padding: 10px var(--gutter);
  font-size: 13px;
  text-align: center;
}

.announce-slide {
  display: inline;
}

.announce-slide-1::after {
  content: '|';
  margin: 0 14px;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
}

@media (max-width: 640px) {
  .announce-slide {
    display: block;
    padding: 2px 0;
  }
  .announce-slide-1::after {
    display: none;
  }
}

/* === Beauty Activities page === */
.activity-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px var(--gutter) 24px;
}
.activity-hero-eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-text);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.activity-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 16px;
  line-height: 1.1;
}
.activity-hero p {
  color: var(--text-soft);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
}

.activity-grid {
  max-width: var(--max);
  margin: 32px auto 64px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.activity-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.activity-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.activity-card:hover::before {
  opacity: 1;
}
.activity-card-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
  align-self: flex-start;
}
.activity-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.activity-card:hover h3 {
  color: var(--accent);
}
.activity-card-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}
.activity-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.activity-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 720px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }
}