/* ============================================================
   GayLifeThai — Design System
   Direction: Deep teal-ink nav + coral sunset accent + cool mist
   Fonts: Outfit (display/body) + Noto Sans Thai
   ============================================================ */

/* ── 1. Design tokens ────────────────────────────────────── */
:root {
  /* Colours */
  --accent:        #E4574C;
  --accent-hot:    #C93D34;
  --accent-soft:   #FDECEA;
  --accent-dim:    rgba(228, 87, 76, 0.12);
  --ink:           #0D2C2F;
  --black:         #0D2C2F;
  --black-2:       #141414;
  --black-3:       #1E1E1E;
  --white:         #FFFFFF;
  --off-white:     #F4F7F6;
  --grey-1:        #F2F2F2;
  --grey-2:        #E0E0E0;
  --grey-3:        #ADADAD;
  --grey-4:        #6B6B6B;
  --grey-5:        #3A3A3A;

  /* Nav */
  --nav-bg:        #0D2C2F;
  --nav-text:      var(--white);
  --nav-h:         64px;

  /* Typography */
  --font-display:  'Outfit', 'Noto Sans Thai', sans-serif;
  --font:          'Outfit', 'Noto Sans Thai', sans-serif;
  --font-thai:     'Noto Sans Thai', 'Outfit', sans-serif;

  /* Sizes */
  --max:           1180px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     24px;
  --radius-pill:   999px;

  /* Spacing scale */
  --sp-1:   4px;
  --sp-2:   8px;
  --sp-3:   12px;
  --sp-4:   16px;
  --sp-5:   24px;
  --sp-6:   32px;
  --sp-7:   48px;
  --sp-8:   64px;
  --sp-9:   96px;
  --sp-10: 128px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);
  --shadow-coral: 0 4px 24px rgba(228,87,76,.22);

  /* Transitions */
  --t-fast:   150ms ease;
  --t-base:   250ms ease;
  --t-slow:   400ms ease;
}

/* ── 2. Reset / base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-thai);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent-hot); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* Screen reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

/* Section spacing */
.section { padding-block: var(--sp-8); }
.section--dark { background: var(--black); color: var(--white); }
.section--pink { background: var(--accent); color: var(--white); }
.section--soft { background: var(--off-white); }

/* ── 3. Typography ───────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-thai);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { line-height: 1.75; margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

.display-title {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

/* ── 4. Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background var(--t-fast), color var(--t-fast),
              transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--accent-hot);
  color: var(--white);
  box-shadow: var(--shadow-coral);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn--outline-light:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn--ghost {
  background: var(--grey-1);
  color: var(--grey-5);
}
.btn--ghost:hover { background: var(--grey-2); color: var(--black); }

.btn--sm { padding: 8px 18px; font-size: 0.8rem; }
.btn--lg { padding: 16px 40px; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

/* Icon buttons */
.btn-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--white);
  transition: background var(--t-fast), color var(--t-fast);
}
.btn-icon:hover { background: rgba(255,255,255,.12); }
.btn-icon:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── 5. Site header ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  height: 100%;
}

.site-header__logo img {
  height: 36px;
  width: auto;
  display: block;
}

/* Desktop nav */
.site-nav { flex: 1; }
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color var(--t-fast), background var(--t-fast);
  letter-spacing: 0.02em;
}
.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-left: auto;
}

/* Hamburger icon */
.btn-menu { display: none; }
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -6px; }
.hamburger::after  { top: 6px; }

/* Search bar */
.site-search {
  background: var(--black-2);
  border-top: 1px solid rgba(255,255,255,.06);
  padding-block: var(--sp-3);
  animation: slideDown var(--t-base) ease forwards;
}
.site-search[hidden] { display: none; }
.site-search__form {
  display: flex;
  gap: var(--sp-2);
  max-width: 640px;
}
.site-search__input {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  transition: border-color var(--t-fast);
}
.site-search__input::placeholder { color: var(--grey-3); }
.site-search__input:focus {
  outline: none;
  border-color: var(--accent);
}
.site-search__btn {
  background: var(--accent);
  color: var(--white);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.site-search__btn:hover { background: var(--accent-hot); }

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

/* ── 6. Mobile drawer ────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.mobile-drawer[aria-hidden="false"] { pointer-events: auto; }

.mobile-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t-base);
}
.mobile-drawer[aria-hidden="false"] .mobile-drawer__overlay { opacity: 1; }

.mobile-drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--black-2);
  transform: translateX(100%);
  transition: transform var(--t-slow);
  overflow-y: auto;
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
}
.mobile-drawer[aria-hidden="false"] .mobile-drawer__panel { transform: translateX(0); }

.mobile-drawer__close {
  align-self: flex-end;
  margin-bottom: var(--sp-5);
}
.mobile-drawer__list { flex: 1; }
.mobile-drawer__link {
  display: block;
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.mobile-drawer__link:hover { color: var(--accent); padding-left: var(--sp-2); }
.mobile-drawer__divider { border-top: 1px solid rgba(255,255,255,.12); margin-block: var(--sp-3); }

/* ── 7. Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(460px, 65vh, 680px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__bg--static {
  background: linear-gradient(135deg, var(--black) 0%, var(--black-3) 50%, #1a0a10 100%);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,.95) 0%,
    rgba(10,10,10,.6) 45%,
    rgba(10,10,10,.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-8) var(--sp-9);
  max-width: 740px;
}
.hero__content--center {
  text-align: center;
  max-width: 100%;
  padding-block: var(--sp-9);
}

.hero__label { margin-bottom: var(--sp-3); }

.hero__cat-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.hero__cat-badge:hover { background: var(--accent-hot); color: var(--white); }

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.02em;
}
.hero__title a { color: inherit; }
.hero__title a:hover { color: var(--accent-soft); }

.hero__title--display {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__excerpt {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  margin-bottom: var(--sp-5);
  max-width: 540px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
}
.hero__author { font-weight: 600; color: rgba(255,255,255,.9); }
.hero__date { color: rgba(255,255,255,.5); }

/* ── 8. Section headers ──────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
  gap: var(--sp-4);
}

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}
.section-title::after {
  content: '';
  display: block;
  width: 32px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.section-more:hover { color: var(--accent-hot); }

.section-cta-wrap {
  text-align: center;
  margin-top: var(--sp-7);
}

/* ── 9. Topic grid ───────────────────────────────────────── */
.topic-grid__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--sp-3);
}

.topic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-4);
  background: var(--off-white);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  color: var(--black);
  text-align: center;
  transition: border-color var(--t-fast), transform var(--t-fast),
              box-shadow var(--t-fast), background var(--t-fast);
}
.topic-card:hover {
  border-color: var(--cat-color, var(--accent));
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: var(--black);
}
.topic-card__icon { font-size: 1.8rem; line-height: 1; }
.topic-card__label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── 10. Post grid ───────────────────────────────────────── */
.post-grid {
  display: grid;
  gap: var(--sp-5);
}
.post-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.post-grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr));
}

/* ── 11. Article card ────────────────────────────────────── */
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-1);
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.article-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--grey-1);
}
.article-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.article-card:hover .article-card__img { transform: scale(1.04); }

.article-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  gap: var(--sp-2);
}

.article-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.article-card__cat:hover { color: var(--accent-hot); }

.article-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.article-card__title a { color: var(--black); }
.article-card__title a:hover { color: var(--accent); }

.article-card__excerpt {
  font-size: 0.875rem;
  color: var(--grey-4);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.article-card__meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--grey-1);
  margin-top: auto;
}

.article-card__author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  flex-wrap: wrap;
}
.article-card__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.article-card__avatar--placeholder {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.article-card__author-name { font-weight: 600; color: var(--grey-5); }
.article-card__author-name:hover { color: var(--accent); }
.article-card__meta-sep { color: var(--grey-3); }
.article-card__meta-cat { color: var(--accent); font-weight: 600; font-size: 0.78rem; }
.article-card__meta-cat:hover { color: var(--accent-hot); }

.article-card__date-time {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.78rem;
  color: var(--grey-3);
}
.article-card__read-time::before { content: '·'; margin-right: 6px; }

/* ── 12. Page header ─────────────────────────────────────── */
.page-header {
  background: var(--black);
  color: var(--white);
  padding-block: var(--sp-8) var(--sp-7);
}
.page-header--articles { padding-block: var(--sp-7); }
.page-header__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--sp-4);
}
.page-header__sub {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  margin: 0;
}

/* ── 13. Category filter bar ─────────────────────────────── */
.cat-filter {
  background: var(--white);
  border-bottom: 1px solid var(--grey-2);
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
}
.cat-filter__list {
  display: flex;
  gap: var(--sp-1);
  overflow-x: auto;
  padding-block: var(--sp-3);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-filter__list::-webkit-scrollbar { display: none; }
.cat-filter__btn {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-4);
  border: 1.5px solid var(--grey-2);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all var(--t-fast);
  cursor: pointer;
}
.cat-filter__btn:hover { color: var(--accent); border-color: var(--accent); }
.cat-filter__btn.is-active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ── 14. Articles search ─────────────────────────────────── */
.articles-search { margin-top: var(--sp-5); }
.articles-search__wrap {
  display: flex;
  gap: 0;
  max-width: 560px;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: rgba(255,255,255,.07);
  transition: border-color var(--t-fast);
}
.articles-search__wrap:focus-within { border-color: var(--accent); }
.articles-search__input {
  flex: 1;
  background: transparent;
  color: var(--white);
  border: none;
  padding: 12px 20px;
  font-size: 0.95rem;
}
.articles-search__input::placeholder { color: rgba(255,255,255,.4); }
.articles-search__input:focus { outline: none; }
.articles-search__btn {
  background: var(--accent);
  color: var(--white);
  width: 48px;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.articles-search__btn:hover { background: var(--accent-hot); }

/* ── 15. Breadcrumb ──────────────────────────────────────── */
.breadcrumb {
  padding-block: var(--sp-4) var(--sp-3);
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--grey-3);
}
.breadcrumb__item a { color: var(--grey-4); }
.breadcrumb__item a:hover { color: var(--accent); }
.breadcrumb__item--current span { color: var(--grey-4); font-weight: 500; }

/* ── 16. Article detail ──────────────────────────────────── */
.article-header {
  padding-block: var(--sp-5) var(--sp-4);
  max-width: 820px;
}
.article-header__cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.article-header__title {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-5);
}

/* Byline */
.article-byline {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--grey-2);
}
.article-byline__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.article-byline__avatar--placeholder {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.article-byline__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.85rem;
}
.article-byline__author { color: var(--grey-5); }
.article-byline__author a { font-weight: 700; color: var(--black); }
.article-byline__author a:hover { color: var(--accent); }
.article-byline__in { color: var(--grey-3); }
.article-byline__cat { font-weight: 600; color: var(--accent); font-size: 0.82rem; }
.article-byline__dates { color: var(--grey-3); font-size: 0.78rem; }
.article-byline__read-time {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--grey-3);
  background: var(--grey-1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* Featured image */
.article-featured-img {
  margin-block: var(--sp-5);
  max-width: 900px;
}
.article-featured-img__img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* E-E-A-T strip */
.eeat-strip {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-3) var(--sp-4);
  margin-block: var(--sp-4);
  font-size: 0.85rem;
  max-width: 820px;
}
.eeat-strip__icon { font-size: 1.1rem; flex-shrink: 0; }
.eeat-strip__reviewed { color: var(--grey-5); line-height: 1.4; }
.eeat-strip__reviewed strong { color: var(--black); }

/* Article layout: content + sidebar */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--sp-8);
  align-items: start;
  padding-bottom: var(--sp-8);
}

/* Article content prose */
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--black);
}
.article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--grey-1);
}
.article-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-3);
}
.article-content p { margin-bottom: var(--sp-4); }
.article-content ul, .article-content ol {
  margin-bottom: var(--sp-4);
  padding-left: var(--sp-5);
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: var(--sp-2); }
.article-content a { color: var(--accent); text-decoration: underline; }
.article-content img {
  width: 100%;
  border-radius: var(--radius);
  margin-block: var(--sp-5);
}
.article-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--off-white);
  padding: var(--sp-4) var(--sp-5);
  margin-block: var(--sp-5);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--grey-5);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin-block: var(--sp-5);
  font-size: 0.9rem;
}
.article-content th, .article-content td {
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--grey-2);
  text-align: left;
}
.article-content th { background: var(--off-white); font-weight: 700; }

/* Disclaimer */
.article-disclaimer {
  background: var(--grey-1);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.85rem;
  color: var(--grey-5);
  margin-top: var(--sp-7);
}

/* Sources */
.article-sources {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--grey-2);
}
.article-sources__title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-4);
  margin-bottom: var(--sp-3);
}
.article-sources__list { display: flex; flex-direction: column; gap: var(--sp-1); }
.article-sources__list li { font-size: 0.85rem; }
.article-sources__list a { color: var(--accent); }

/* Article sidebar */
.article-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-4));
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* Share box */
.share-box {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
}
.share-box__title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-4);
  margin-bottom: var(--sp-3);
}
.share-box__btns { display: flex; flex-direction: column; gap: var(--sp-2); }

.share-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 9px 16px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  transition: opacity var(--t-fast), transform var(--t-fast);
  text-decoration: none;
  cursor: pointer;
  border: none;
  width: 100%;
}
.share-btn:hover { opacity: 0.85; transform: translateX(2px); }
.share-btn--fb  { background: #1877F2; color: var(--white); }
.share-btn--tw  { background: var(--black); color: var(--white); }
.share-btn--copy { background: var(--grey-1); color: var(--grey-5); }

/* Author box */
.author-box {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-block: var(--sp-7);
  border: 1px solid var(--grey-2);
}
.author-box__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-box__avatar--placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.author-box__label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-3);
  font-weight: 700;
  margin-bottom: 4px;
}
.author-box__name {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: var(--sp-2);
}
.author-box__name:hover { color: var(--accent); }
.author-box__bio {
  font-size: 0.88rem;
  color: var(--grey-4);
  margin-bottom: var(--sp-3);
  line-height: 1.6;
}

/* ── 17. Related posts ───────────────────────────────────── */
.related-posts { background: var(--off-white); }

/* ── 18. Author page ─────────────────────────────────────── */
.author-hero {
  background: var(--black);
  color: var(--white);
  padding-block: var(--sp-8);
}
.author-hero__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.author-hero__avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  flex-shrink: 0;
}
.author-hero__avatar--placeholder {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 3rem;
  font-weight: 800;
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 4px solid rgba(255,255,255,.2);
}
.author-hero__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.author-hero__name {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--sp-3);
}
.author-hero__bio {
  color: rgba(255,255,255,.65);
  font-size: 0.95rem;
  max-width: 480px;
  line-height: 1.65;
}
.author-hero__count {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: var(--sp-3);
}

/* ── 19. Trust strip ─────────────────────────────────────── */
.trust-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.trust-strip__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-4);
}
.trust-strip__text p {
  color: rgba(255,255,255,.65);
  margin-bottom: var(--sp-5);
}
.trust-strip__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.trust-pillar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
}
.trust-pillar__icon { font-size: 1.5rem; }
.trust-pillar__label { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,.85); }

/* ── 20. E-E-A-T about page ──────────────────────────────── */
.eeat-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-4);
  margin-block: var(--sp-5);
}
.eeat-card {
  background: var(--white);
  border: 2px solid var(--grey-2);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.eeat-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.eeat-card__icon { font-size: 2rem; display: block; margin-bottom: var(--sp-3); }
.eeat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: var(--sp-2); }
.eeat-card p { font-size: 0.88rem; color: var(--grey-4); margin: 0; line-height: 1.6; }

/* ── 21. Static pages prose ──────────────────────────────── */
.prose { max-width: 720px; }
.prose--wide { max-width: 900px; }
.prose h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 2px solid var(--grey-1);
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--grey-5); font-size: 0.95rem; }
.prose ul { list-style: disc; padding-left: var(--sp-5); margin-bottom: var(--sp-4); }
.prose li { margin-bottom: var(--sp-2); color: var(--grey-5); font-size: 0.95rem; }
.prose a { color: var(--accent); text-decoration: underline; }

.about-section { margin-bottom: var(--sp-8); }
.about-contact { background: var(--accent-soft); padding: var(--sp-5); border-radius: var(--radius-lg); }

/* ── 22. FAQ ─────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item__q {
  cursor: pointer;
  padding: var(--sp-4) var(--sp-5);
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  transition: color var(--t-fast);
}
.faq-item__q::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--t-base);
}
.faq-item[open] .faq-item__q::after { transform: rotate(45deg); }
.faq-item__q:hover { color: var(--accent); }
.faq-item__a {
  padding: 0 var(--sp-5) var(--sp-4);
  font-size: 0.92rem;
  color: var(--grey-4);
  line-height: 1.7;
}
.faq-cta {
  margin-top: var(--sp-7);
  font-size: 0.95rem;
  color: var(--grey-4);
}

/* ── 23. Contact page ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-8);
  align-items: start;
}
.contact-info h2 { font-size: 1.3rem; margin-bottom: var(--sp-4); }
.contact-info__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: 0.95rem;
  color: var(--grey-5);
}
.contact-info__item svg { color: var(--accent); flex-shrink: 0; }
.contact-info__response {
  font-size: 0.85rem;
  color: var(--grey-3);
  margin-top: var(--sp-4);
  font-style: italic;
}
.contact-form-wrap h2 { font-size: 1.3rem; margin-bottom: var(--sp-5); }

/* Forms */
.form-group { margin-bottom: var(--sp-4); }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--grey-5);
}
.form-input {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--grey-2);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* ── 24. Privacy table ───────────────────────────────────── */
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-block: var(--sp-4);
}
.privacy-table th,
.privacy-table td {
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--grey-2);
  text-align: left;
}
.privacy-table th { background: var(--off-white); font-weight: 700; }
.privacy-table code {
  background: var(--grey-1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
}

/* ── 25. Pagination ──────────────────────────────────────── */
.pagination {
  margin-top: var(--sp-8);
  display: flex;
  justify-content: center;
}
.pagination ul {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.pagination a,
.pagination .page-ellipsis {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey-4);
  border: 1.5px solid var(--grey-2);
  transition: all var(--t-fast);
}
.pagination a:hover { color: var(--accent); border-color: var(--accent); }
.pagination a.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.pagination .page-prev,
.pagination .page-next { color: var(--accent); border-color: var(--accent-soft); }
.pagination .page-ellipsis { border: none; color: var(--grey-3); }

/* ── 26. Empty state ─────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: var(--sp-9) var(--sp-5);
  color: var(--grey-4);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}
.empty-state__hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--grey-3);
}

/* ── 27. 404 page ────────────────────────────────────────── */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page__inner {
  text-align: center;
  padding-block: var(--sp-9);
}
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  color: var(--accent);
  line-height: 1;
  display: block;
  opacity: 0.15;
  letter-spacing: 0.05em;
}
.error-page__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-top: calc(var(--sp-4) * -3);
  position: relative;
  z-index: 1;
}
.error-page__body {
  color: var(--grey-4);
  margin-block: var(--sp-4) var(--sp-6);
}
.error-page__actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ── 28. Cookie bar ──────────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: var(--sp-4);
  left: var(--sp-4);
  right: var(--sp-4);
  z-index: 300;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.1);
  animation: slideUp var(--t-slow) ease;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  flex-wrap: wrap;
}
.cookie-bar__text { flex: 1; font-size: 0.88rem; color: rgba(255,255,255,.8); }
.cookie-bar__text strong { color: var(--white); display: block; margin-bottom: 4px; font-size: 0.95rem; }
.cookie-bar__text p { margin: 0; font-size: 0.83rem; color: rgba(255,255,255,.65); }
.cookie-bar__link { color: var(--accent); text-decoration: underline; }
.cookie-bar__actions {
  display: flex;
  gap: var(--sp-2);
  flex-shrink: 0;
}

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

/* ── 29. Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,.65);
  padding-top: var(--sp-9);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer__logo img { height: 32px; width: auto; margin-bottom: var(--sp-3); }
.site-footer__tagline { font-size: 0.88rem; color: rgba(255,255,255,.5); line-height: 1.5; max-width: 260px; }
.site-footer__social {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  display: grid; place-items: center;
  transition: background var(--t-fast), color var(--t-fast);
}
.social-link:hover { background: var(--accent); color: var(--white); }

.site-footer__links strong,
.site-footer__cats strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  font-weight: 700;
  margin-bottom: var(--sp-4);
}
.site-footer__links ul,
.site-footer__cats ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.site-footer__links a,
.site-footer__cats a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--t-fast);
}
.site-footer__links a:hover,
.site-footer__cats a:hover { color: var(--white); }

.site-footer__bottom {
  padding-block: var(--sp-5);
  background: rgba(0,0,0,.3);
}
.site-footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.site-footer__copy, .site-footer__disclaimer {
  font-size: 0.78rem;
  color: rgba(255,255,255,.3);
  margin: 0;
}

/* ── 30. Reveal animations ───────────────────────────────── */
/* NOTE: Never set initial opacity:0 by default — causes blank page bug */
.reveal {
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.is-hidden {
  opacity: 0;
  transform: translateY(20px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Storefront direction overrides ─────────────────────── */
:root {
  --accent:        #E4574C;
  --accent-hot: #D600FF;
  --accent-soft: #FFF0F6;
  --accent-dim: rgba(228, 87, 76,.14);
  --cyan: #00B7FF;
  --lime: #B7F000;
  --gold: #FFD400;
  --nav-bg: var(--white);
  --nav-text: var(--black);
  --nav-h: 88px;
  --radius-lg: 8px;
  --radius-xl: 8px;
}

body {
  background:
    radial-gradient(circle at 14% 8%, rgba(228, 87, 76,.09), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(0,183,255,.08), transparent 22%),
    linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
}

a { color: var(--black); }
a:hover { color: var(--grey-4); }

.btn {
  border-radius: 3px;
  min-height: 44px;
  padding: 12px 30px;
  font-weight: 700;
}
.btn--primary {
  background: var(--black);
  border: 1px solid var(--black);
}
.btn--primary:hover {
  background: var(--black-2);
  box-shadow: 0 10px 26px rgba(228, 87, 76,.22);
}
.btn--outline {
  color: var(--black);
  border: 1px solid var(--black);
  background: rgba(255,255,255,.55);
}
.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  height: auto;
  flex-direction: column;
  align-items: stretch;
  background: var(--white);
  border-bottom: 1px solid #ededed;
  box-shadow: 0 2px 18px rgba(0,0,0,.04);
}
.site-header__promo {
  height: 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: clamp(16px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(228, 87, 76,.3), transparent 18%, transparent 82%, rgba(0,183,255,.32)),
    #0b0b0b;
  color: var(--white);
  font-size: .82rem;
}
.site-header__promo p {
  grid-column: 2;
  margin: 0;
  line-height: 1;
}
.site-header__social {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.site-header__social a {
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  opacity: .94;
}
.site-header__inner {
  height: 60px;
  justify-content: space-between;
}
.site-header__logo {
  min-width: 200px;
  color: var(--black);
}
.site-header__logo span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  background: linear-gradient(90deg, #0a0a0a 0 52%, var(--accent) 52% 72%, var(--cyan) 72% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-nav {
  flex: 0 1 auto;
}
.site-nav__list {
  justify-content: center;
  gap: clamp(10px, 2vw, 28px);
}
.site-nav__link {
  color: #2e2e2e;
  padding: 8px 0;
  border-radius: 0;
  font-size: .91rem;
  font-weight: 500;
  letter-spacing: 0;
}
.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--black);
  background: transparent;
}
.site-nav__link::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width var(--t-fast);
}
.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  width: 100%;
}
.site-header__actions {
  min-width: 160px;
  justify-content: flex-end;
  gap: 12px;
}
.btn-icon {
  color: var(--black);
  border-radius: 0;
  width: 34px;
  height: 34px;
  position: relative;
}
.btn-icon:hover {
  background: #f3f3f3;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  background: var(--black);
}
.site-search {
  background: var(--white);
  border-top: 1px solid #ededed;
}
.site-search__input {
  color: var(--black);
  background: #f5f5f5;
  border-color: #dedede;
}
.site-search__input::placeholder { color: var(--grey-4); }
.site-search__btn {
  background: var(--black);
}

.storefront,
.magazine-home {
  background: #fbfbfb;
}
.hero--store,
.hero--magazine {
  min-height: 0;
  align-items: stretch;
  background: #f3f3f3;
}
.hero__stage {
  position: relative;
  width: 100%;
  min-height: clamp(560px, 59vw, 720px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #f6f6f6;
}
.hero__stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 31%, rgba(255,255,255,.34) 54%, rgba(255,255,255,0) 72%),
    radial-gradient(circle at 19% 28%, rgba(228, 87, 76,.16), transparent 22%),
    radial-gradient(circle at 46% 75%, rgba(0,183,255,.12), transparent 24%);
  pointer-events: none;
}
.hero__stage::after {
  content: '';
  position: absolute;
  left: clamp(20px, 8vw, 126px);
  bottom: clamp(24px, 4vw, 54px);
  z-index: 1;
  width: min(360px, 45vw);
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--lime), var(--cyan), var(--accent-hot));
  border-radius: 999px;
  opacity: .95;
}
.hero--store .hero__content,
.hero--magazine .hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  max-width: var(--max);
  padding-block: clamp(56px, 7vw, 96px) 72px;
}
.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
}
.hero__eyebrow {
  margin: 0 0 16px;
  font-family: var(--font);
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .45em;
  color: #111;
}
.hero__title--store,
.hero__title--magazine {
  margin: 0 0 18px;
  color: var(--black);
  font-family: var(--font);
  font-size: clamp(3.2rem, 7.4vw, 6.1rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: 0;
}
.hero__title--store span,
.hero__title--magazine span {
  display: block;
}
.hero__title--store span:first-child,
.hero__title--magazine span:first-child {
  font-weight: 900;
  background: linear-gradient(90deg, #0a0a0a 0 64%, var(--accent) 64% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero--store .hero__excerpt,
.hero--magazine .hero__excerpt {
  max-width: 520px;
  margin-bottom: 24px;
  color: #262626;
  font-size: 1.05rem;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
  color: #777;
  font-family: var(--font);
  font-size: .85rem;
}
.hero__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(10,10,10,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #151515;
  font-weight: 700;
}
.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
}
.hero__model {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.02) saturate(1.04);
  border-radius: 0;
  z-index: 0;
}
.hero__model-card {
  position: absolute;
  bottom: 0;
  width: 42%;
  height: 76%;
  background:
    linear-gradient(180deg, transparent 0 38%, #0b0b0b 38% 72%, #161616 72%),
    linear-gradient(110deg, #f8f8f8 0 44%, #151515 44% 58%, #fff 58% 100%);
  box-shadow: -22px 20px 40px rgba(0,0,0,.12);
}
.hero__model-card--one {
  right: 38%;
}
.hero__model-card--two {
  right: 7%;
  background:
    linear-gradient(180deg, transparent 0 35%, #fff 35% 66%, #111 66%),
    linear-gradient(102deg, #f3f3f3 0 42%, #111 42% 56%, #fff 56% 100%);
}

.category-dock {
  position: relative;
  z-index: 5;
  margin-top: -28px;
}
.category-dock__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 20px 24px;
  background: rgba(255,255,255,.96);
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0,0,0,.1);
  backdrop-filter: blur(10px);
}
.category-dock__item {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--black);
  font-size: .83rem;
  text-align: center;
  border-radius: 8px;
  padding: 14px 12px;
}
.category-dock__item:hover {
  color: var(--black);
  background: linear-gradient(135deg, rgba(228, 87, 76,.08), rgba(0,183,255,.08));
}
.category-dock__icon {
  width: 52px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10,10,10,.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(228, 87, 76,.12), rgba(0,183,255,.12));
  font-family: var(--font);
  font-size: .62rem;
  font-weight: 800;
}
.category-dock__item strong {
  font-size: .98rem;
  line-height: 1.25;
}
.category-dock__item small {
  max-width: 190px;
  color: #686868;
  font-size: .72rem;
  line-height: 1.45;
}

.section--shop,
.section--magazine {
  padding-top: 34px;
}
.section-header--shop,
.section-header--magazine {
  align-items: end;
  margin-bottom: 20px;
}
.section-header--shop > div,
.section-header--magazine > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.section-header--shop p,
.section-header--magazine p {
  margin: 0;
  color: #666;
  font-size: .86rem;
}
.section-title {
  letter-spacing: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.section-title::after {
  display: none;
}
.section-more {
  color: var(--black);
  font-weight: 500;
}

.shop-promos,
.editorial-panels {
  padding-top: 20px;
}
.shop-promos__grid,
.editorial-panels__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 18px;
}
.promo-card {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-radius: 8px;
  overflow: hidden;
}
.promo-card--dark {
  background:
    radial-gradient(circle at 88% 80%, rgba(0,183,255,.28), transparent 22%),
    radial-gradient(circle at 12% 18%, rgba(228, 87, 76,.28), transparent 20%),
    linear-gradient(135deg, #111 0%, #020202 100%);
  color: var(--white);
}
.promo-card--light {
  background:
    radial-gradient(circle at 85% 20%, rgba(228, 87, 76,.13), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f7fbff 100%);
  color: var(--black);
  border: 1px solid #e8e8e8;
}
.promo-card span,
.promo-card small {
  font-size: .76rem;
  color: rgba(255,255,255,.78);
}
.promo-card--light span,
.promo-card--light small {
  color: #666;
}
.promo-card strong {
  max-width: 330px;
  margin: 8px 0 4px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.18;
}
.service-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 178px;
  padding: 24px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: rgba(255,255,255,.86);
}
.service-panel--editorial {
  background:
    linear-gradient(135deg, rgba(228, 87, 76,.06), rgba(0,183,255,.06)),
    rgba(255,255,255,.9);
}
.service-panel__item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 4px 10px;
  align-items: center;
}
.service-panel__item span {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(10,10,10,.16);
  background: linear-gradient(135deg, rgba(228, 87, 76,.1), rgba(0,183,255,.1));
  border-radius: 50%;
  font-size: 1.2rem;
}
.service-panel__item strong {
  font-size: .82rem;
  line-height: 1.25;
}
.service-panel__item small {
  color: #777;
  font-size: .7rem;
  line-height: 1.25;
}

.mobile-drawer__panel {
  background: var(--white);
}
.mobile-drawer__close,
.mobile-drawer__link {
  color: var(--black);
}
.mobile-drawer__link {
  border-bottom-color: #e8e8e8;
}
.mobile-drawer__link:hover {
  color: #666;
}

/* Content-site polish shared across pages */
.page-header {
  background:
    radial-gradient(circle at 16% 20%, rgba(228, 87, 76,.22), transparent 28%),
    radial-gradient(circle at 84% 20%, rgba(42, 157, 143,.18), transparent 28%),
    linear-gradient(135deg, #0D2C2F 0%, #164247 100%);
}
.page-header__title,
.article-header__title {
  letter-spacing: 0;
}
.articles-search__wrap {
  border-color: rgba(255,255,255,.28);
}
.articles-search__btn,
.cat-filter__btn.is-active,
.pagination a.active {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  border-color: transparent;
}
.cat-filter {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
}
.cat-filter__btn {
  border-radius: 999px;
  background: #fff;
}
.article-card {
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}
.article-card__thumb {
  aspect-ratio: 16 / 11;
}
.article-card__img--placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 74% 28%, rgba(0,183,255,.24), transparent 26%),
    radial-gradient(circle at 18% 72%, rgba(228, 87, 76,.24), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f0f3f5 100%);
}
.article-card__cat,
.article-byline__cat,
.article-header__cat,
.breadcrumb__item a {
  color: var(--accent);
}
.article-card__title a:hover,
.article-byline__author a:hover,
.breadcrumb__item a:hover {
  color: var(--cyan);
}
.article-featured-img__img,
.share-box,
.author-box,
.eeat-card,
.faq-item,
.about-contact {
  border-radius: 8px;
}
.eeat-strip {
  background: linear-gradient(135deg, rgba(228, 87, 76,.1), rgba(0,183,255,.1));
  border-left-color: var(--accent);
}
.article-content h2 {
  border-bottom-color: #ededed;
}
.article-content blockquote {
  background: #fbfbfb;
  border-left-color: var(--accent);
}
.share-btn--tw,
.share-btn--copy {
  background: #111;
  color: #fff;
}
.site-footer {
  background:
    radial-gradient(circle at 16% 0%, rgba(228, 87, 76,.18), transparent 26%),
    radial-gradient(circle at 84% 12%, rgba(0,183,255,.14), transparent 26%),
    #090909;
}

/* ── 31. Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    order: -1;
  }
  .trust-strip__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
  }
  .site-header__logo,
  .site-header__actions {
    min-width: auto;
  }
  .site-nav__list {
    gap: 14px;
  }
  .site-nav__link {
    font-size: .84rem;
  }
  .hero--store .hero__content,
  .hero--magazine .hero__content {
    grid-template-columns: 1fr 1fr;
  }
  .hero__title--store,
  .hero__title--magazine {
    font-size: clamp(2.7rem, 7vw, 4.4rem);
  }
  .category-dock__list {
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(190px, 1fr));
  }
  .shop-promos__grid,
  .editorial-panels__grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .btn-menu { display: grid; }
  .site-header__promo {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-inline: 16px;
  }
  .site-header__social {
    display: none;
  }
  .site-header__promo p {
    grid-column: auto;
    font-size: .76rem;
  }
  .site-header__inner {
    height: 58px;
  }
  .site-header__logo span {
    font-size: 1.35rem;
  }
  .site-header__account,

  .hero { min-height: clamp(380px, 55vh, 520px); }
  .hero__stage {
    min-height: auto;
  }
  .hero--store .hero__content,
  .hero--magazine .hero__content {
    display: flex;
    align-content: start;
    padding-block: 48px 330px;
  }
  .hero__copy {
    max-width: 560px;
  }
  .hero__visual {
    min-height: 260px;
  }
  .hero__model {
    inset: auto 0 0 auto;
    width: min(520px, 96vw);
    height: 300px;
    opacity: .78;
    object-position: 58% top;
  }
  .hero__model-card {
    height: 240px;
  }
  .hero__pager {
    margin-top: 28px;
  }
  .category-dock {
    margin-top: -18px;
  }
  .category-dock__list {
    padding: 14px;
    scroll-snap-type: x proximity;
  }
  .category-dock__item { scroll-snap-align: start; }
  .section-header--shop,
  .section-header--magazine {
    align-items: flex-start;
  }
  .section-header--shop > div,
  .section-header--magazine > div {
    display: block;
  }
  .shop-promos__grid,
  .editorial-panels__grid,
  .service-panel {
    grid-template-columns: 1fr;
  }

  .section { padding-block: var(--sp-7); }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }
  .site-footer__brand { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-6); }

  .author-hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .article-byline {
    flex-wrap: wrap;
  }
  .article-byline__read-time { margin-left: 0; }

  .trust-strip__pillars { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--sp-4); }

  .site-footer__inner { grid-template-columns: 1fr; }

  .cookie-bar { bottom: 0; left: 0; right: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .cookie-bar__actions { flex-direction: column; width: 100%; }
  .cookie-bar__actions .btn { justify-content: center; }

  .topic-grid__list { grid-template-columns: repeat(3, 1fr); }
  .hero__eyebrow {
    letter-spacing: .28em;
    font-size: .75rem;
  }
  .hero__title--store,
  .hero__title--magazine {
    font-size: 2.35rem;
  }
  .hero--magazine .hero__excerpt { font-size: .94rem; }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .category-dock__list {
    grid-template-columns: repeat(4, 190px);
  }
  .promo-card {
    padding: 22px;
  }

  .section-header { flex-direction: column; align-items: flex-start; }

  .hero__meta { flex-wrap: wrap; gap: var(--sp-2); }

  .eeat-pillars { grid-template-columns: 1fr; }

  .pagination ul { gap: 2px; }
  .pagination a { width: 34px; height: 34px; font-size: 0.8rem; }
}

/* ── 32. GayLifeThai portal overrides ─────────────────────── */
body {
  background:
    radial-gradient(1200px 480px at 12% -10%, rgba(228, 87, 76, 0.08), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(42, 157, 143, 0.07), transparent 55%),
    var(--off-white);
}

.site-header--life {
  background: rgba(13, 44, 47, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247, 251, 250, 0.08);
}

.site-header--life .site-header__logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.site-header--life .site-header__cta {
  display: none;
}

.btn--accent-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.btn--accent-sm:hover { background: var(--accent-hot); color: #fff; }

.btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(13, 44, 47, 0.22);
  color: var(--ink);
  font-weight: 600;
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-hot);
}

.hero--life {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #F7FBFA;
  background: #0D2C2F;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(228, 87, 76, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(42, 157, 143, 0.28), transparent 50%),
    linear-gradient(160deg, #0D2C2F 0%, #164247 48%, #1f3638 100%);
  animation: lifeAtmosphere 14s ease-in-out infinite alternate;
}

@keyframes lifeAtmosphere {
  from { transform: scale(1); filter: saturate(1); }
  to { transform: scale(1.04); filter: saturate(1.08); }
}

.hero--life .hero__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 0;
  padding: calc(var(--nav-h) + 48px) 0 64px;
  display: block;
  align-items: unset;
  overflow: visible;
  background: transparent;
}

.hero--life .hero__stage::before,
.hero--life .hero__stage::after {
  content: none;
  display: none;
}

.hero--life .hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: end;
  max-width: var(--max);
  padding-block: 0;
}

.hero--life .hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: #fff;
}

.hero--life .hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: #fff;
}

.hero--life .hero__title span {
  display: block;
}

.hero--life .hero__title span:first-child {
  color: #FDECEA;
}

.hero--life .hero__excerpt {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(247, 251, 250, 0.82);
  margin-bottom: 28px;
}

.hero--life .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero--life .btn--ghost {
  border-color: rgba(247, 251, 250, 0.35);
  color: #F7FBFA;
}

.hero--life .btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.hero--life .hero__visual {
  justify-self: end;
  width: min(100%, 520px);
  animation: lifeFloat 8s ease-in-out infinite;
}

.hero--life .hero__art {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

@keyframes lifeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.category-dock--life {
  margin-top: -28px;
  position: relative;
  z-index: 2;
  padding-bottom: 8px;
}

.category-dock--life .category-dock__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.category-dock--life .category-dock__item {
  background: #fff;
  border: 1px solid rgba(13, 44, 47, 0.08);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  color: inherit;
}

.category-dock--life .category-dock__item:hover {
  transform: translateY(-4px);
  border-color: rgba(228, 87, 76, 0.35);
  box-shadow: var(--shadow-coral);
  color: inherit;
}

.category-dock--life .category-dock__icon {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.category-dock--life strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.category-dock--life small {
  color: var(--grey-4);
  font-size: 0.82rem;
  line-height: 1.45;
}

.section--life {
  padding-top: 56px;
}

.section-header--life {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-header--life p {
  color: var(--grey-4);
  margin-top: 6px;
}

.trust-strip {
  padding: 64px 0 88px;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(13, 44, 47, 0.96), rgba(26, 74, 79, 0.92));
  color: #F7FBFA;
  border-radius: calc(var(--radius-lg) + 4px);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.trust-strip__eyebrow {
  color: #FDECEA;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}

.trust-strip__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  margin-bottom: 14px;
}

.trust-strip__copy p {
  color: rgba(247, 251, 250, 0.8);
  max-width: 36rem;
  margin-bottom: 24px;
}

.trust-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-strip__pillars {
  display: grid;
  gap: 14px;
}

.trust-strip__pillars li {
  background: rgba(247, 251, 250, 0.08);
  border: 1px solid rgba(247, 251, 250, 0.12);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.trust-strip__pillars strong {
  display: block;
  margin-bottom: 4px;
}

.trust-strip__pillars span {
  color: rgba(247, 251, 250, 0.72);
  font-size: 0.92rem;
}

.eeat-card__icon {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

@media (min-width: 901px) {
  .site-header--life .site-header__cta {
    display: inline-flex;
  }
}

@media (max-width: 980px) {
  .hero--life .hero__content,
  .trust-strip__grid,
  .category-dock--life .category-dock__list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hero--life .hero__content,
  .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .hero--life {
    min-height: auto;
  }

  .hero--life .hero__visual {
    justify-self: stretch;
    width: 100%;
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .category-dock--life .category-dock__list {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip__grid {
    padding: 28px 22px;
  }

  .section-header--life {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── 33. Print ───────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .cookie-bar, .mobile-drawer,
  .article-sidebar, .share-box, .related-posts, .cat-filter { display: none; }
  body { font-size: 12pt; }
  a { color: inherit; text-decoration: underline; }
  .article-content { max-width: 100%; }
}
