/* ============================================================
   ĐẹpMãi.net — Design System
   Brand: Violet palette · Fraunces + Be Vietnam Pro · Dot system
   ============================================================ */

/* — Google Fonts — */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  /* Brand colors */
  --ink: #1F1A2E;
  --ink-soft: #584F6B;
  --violet-deep: #5B21B6;
  --violet: #7C3AED;
  --violet-light: #A78BFA;
  --lilac-mist: #F7F4FC;
  --lilac-mist-2: #EFE9FA;
  --white: #FFFFFF;
  --blush: #E8927C;
  --gold: #C9A15B;
  --line: #E4DEF2;
  --grad: linear-gradient(100deg, var(--violet-deep) 0%, var(--violet) 55%, var(--violet-light) 100%);

  /* Typography */
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Be Vietnam Pro', 'Segoe UI', sans-serif;

  /* Spacing */
  --wrap: 1200px;
  --gap: 24px;
  --radius: 3px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: .25s;

  /* Header */
  --header-h: 60px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3, h4, h5, .serif { font-family: var(--serif); }

a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--violet); }

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

ul, ol { list-style: none; }

/* ===== UTILITY ===== */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Dot — brand visual marker */
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-violet { background: var(--violet); }
.dot-deep { background: var(--violet-deep); }
.dot-light { background: var(--violet-light); }
.dot-blush { background: var(--blush); }
.dot-gold { background: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  padding: 12px 26px; border-radius: 2px;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--violet); color: var(--white);
  border: 1.5px solid var(--violet);
}
.btn-primary:hover { background: var(--violet-deep); border-color: var(--violet-deep); color: var(--white); }

.btn-secondary {
  background: transparent; color: var(--violet);
  border: 1.5px solid var(--violet);
}
.btn-secondary:hover { background: var(--violet); color: var(--white); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: none; border-bottom: 1.5px solid var(--ink);
  border-radius: 0; padding: 12px 2px;
}
.btn-ghost:hover { color: var(--violet); border-color: var(--violet); }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(31,26,46,.06); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 20px;
}

.header-logo img { height: 32px; }

.header-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; flex-wrap: nowrap; }
.header-nav a {
  font-size: 12.5px; font-weight: 500; color: var(--ink);
  padding: 6px 8px; border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
  position: relative; white-space: nowrap;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px;
  background: var(--violet); transition: all var(--dur) var(--ease); transform: translateX(-50%);
}
.header-nav a:hover { color: var(--violet); background: var(--lilac-mist); }
.header-nav a:hover::after, .header-nav a.active::after { width: 60%; }
.header-nav a.active { color: var(--violet); font-weight: 600; }

.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.header-search {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 7px 12px; font-size: 13px; color: var(--ink-soft);
  transition: border-color var(--dur) var(--ease); cursor: pointer;
}
.header-search:hover { border-color: var(--violet-light); }
.header-search svg { width: 14px; height: 14px; stroke: var(--ink-soft); }

.header-cta { font-size: 13px; padding: 8px 18px; }

/* Mobile toggle */
.mobile-toggle {
  display: none; font-size: 13px; font-weight: 600;
  color: var(--ink); letter-spacing: .04em;
}

/* Subnav */
.subnav {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.subnav-inner {
  display: flex; gap: 20px; padding: 8px 0;
  overflow-x: auto; scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav-inner a {
  font-size: 12.5px; color: var(--ink-soft); white-space: nowrap;
  padding: 4px 0; border-bottom: 1.5px solid transparent;
  transition: all var(--dur) var(--ease);
}
.subnav-inner a:hover { color: var(--violet); border-color: var(--violet); }

/* ===== HERO ===== */
.hero {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 2px;
  margin-top: 2px;
}

.hero-main {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16/9; min-height: 380px;
}
.hero-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.hero-main:hover img { transform: scale(1.03); }
.hero-main .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(31,26,46,.78) 0%, rgba(31,26,46,.15) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 30px;
}
.hero-main .cat-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--violet-light); margin-bottom: 10px;
}
.hero-main .cat-tag .dot { width: 6px; height: 6px; }
.hero-main h2 {
  font-family: var(--serif); font-weight: 500; font-size: 28px;
  color: var(--white); line-height: 1.25; max-width: 540px;
}

.hero-side { display: flex; flex-direction: column; gap: 2px; }

.hero-side-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  flex: 1; display: flex; align-items: flex-end;
}
.hero-side-item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.hero-side-item:hover img { transform: scale(1.04); }
.hero-side-item .overlay {
  position: relative; z-index: 1; width: 100%;
  background: linear-gradient(0deg, rgba(31,26,46,.82) 0%, rgba(31,26,46,.4) 60%, transparent 100%);
  padding: 16px 18px; min-height: 70px;
}
.hero-side-item .cat-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet-light); margin-bottom: 4px;
}
.hero-side-item .cat-tag .dot { width: 5px; height: 5px; }
.hero-side-item h4 {
  font-family: var(--serif); font-weight: 400; font-size: 15px;
  color: var(--white); line-height: 1.3;
}

/* ===== TRENDING STRIP ===== */
.trending {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.trending-inner {
  display: flex; align-items: center; gap: 18px;
  overflow-x: auto; scrollbar-width: none;
}
.trending-inner::-webkit-scrollbar { display: none; }
.trending-label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet); white-space: nowrap; flex-shrink: 0;
}
.trending-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-soft); white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.trending-item:hover { color: var(--violet); }
.trending-item .dot { width: 5px; height: 5px; background: var(--violet-light); }

/* ===== CATEGORY SECTION ===== */
.cat-section {
  padding: 48px 0; border-bottom: 1px solid var(--line);
}
.cat-section:last-of-type { border-bottom: none; }
.cat-section.alt { background: var(--lilac-mist); }

.sec-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 24px;
}
.sec-head h2 {
  font-family: var(--serif); font-weight: 500; font-size: 26px;
  display: flex; align-items: center; gap: 10px;
}
.sec-head h2 .dot { width: 8px; height: 8px; }
.sec-head .more-link {
  font-size: 13px; font-weight: 600; color: var(--violet);
  transition: opacity var(--dur) var(--ease);
}
.sec-head .more-link:hover { opacity: .7; }

.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
}

/* ===== ARTICLE CARD ===== */
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  display: flex; flex-direction: column;
}
.card:hover {
  box-shadow: 0 8px 30px rgba(91,33,182,.08);
  transform: translateY(-3px);
}
.card-img-wrap {
  overflow: hidden; aspect-ratio: 16/9; flex-shrink: 0;
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card-img-wrap img { transform: scale(1.05); }
.card-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--lilac-mist-2), var(--lilac-mist));
  display: flex; align-items: center; justify-content: center;
  color: var(--violet-light); font-size: 12px;
}
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-cat {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 6px;
}
.card-cat .dot { width: 6px; height: 6px; }
.card-title {
  display: block;
  font-family: var(--serif); font-weight: 500; font-size: 15px;
  line-height: 1.35; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--dur) var(--ease);
}
.card-title:hover { color: var(--violet); }
.card-excerpt {
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.55;
  margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
  font-size: 11.5px; color: var(--ink-soft); margin-top: 10px;
  display: flex; align-items: center; gap: 8px;
}
.card-meta .dot { width: 3px; height: 3px; background: var(--ink-soft); opacity: .5; }

/* ===== LEAD-GEN FORM ===== */
.leadgen {
  padding: 64px 0;
  background: var(--lilac-mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.leadgen-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px;
  align-items: stretch;
}

.leadgen-copy { display: flex; flex-direction: column; }
.leadgen-copy .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 14px;
}
.leadgen-copy h2 {
  font-family: var(--serif); font-weight: 500; font-size: 30px;
  line-height: 1.3; margin-bottom: 10px;
}
.leadgen-copy h2 em { font-style: italic; color: var(--violet); }
.leadgen-copy .desc {
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 28px;
}
.leadgen-benefits { display: flex; flex-direction: column; gap: 14px; margin-bottom: auto; }
.leadgen-benefit {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--ink); line-height: 1.5;
}
.leadgen-benefit .dot { margin-top: 7px; }
.leadgen-expert {
  display: flex; align-items: center; gap: 14px;
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 16px; margin-top: 28px;
}
.leadgen-expert-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--violet-light), var(--violet));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--serif); font-size: 18px; font-weight: 500;
}
.leadgen-expert-info .name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.leadgen-expert-info .role { font-size: 12.5px; color: var(--ink-soft); }

.form-box {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 6px; color: var(--ink);
}
.field label .req { color: var(--blush); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.3px solid var(--line); border-radius: 2px;
  padding: 10px 13px; font-family: var(--sans); font-size: 14px;
  color: var(--ink); background: var(--white);
  transition: border-color var(--dur) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,.08);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); opacity: .5; }

.form-submit {
  width: 100%; padding: 13px; font-size: 14px; font-weight: 600;
  background: var(--violet); color: var(--white); border-radius: 2px;
  border: none; cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.form-submit:hover { background: var(--violet-deep); }

.terms-check {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; color: var(--ink-soft); cursor: pointer;
  margin-bottom: 16px;
}
.terms-check input {
  width: 15px; height: 15px; margin-top: 1px; flex-shrink: 0;
  accent-color: var(--violet);
}
.terms-check a { color: var(--violet); text-decoration: underline; }

.form-msg {
  text-align: center; font-size: 13px; margin-top: 10px;
  min-height: 20px;
}
.form-msg.success { color: #16a34a; }
.form-msg.error { color: var(--blush); }

/* ===== MAIN + SIDEBAR LAYOUT ===== */
.main-layout {
  display: grid; grid-template-columns: 2.4fr 1fr; gap: 40px;
  padding: 48px 0;
}

.articles-grid-2 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap);
}

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 28px; }

.sidebar-widget {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; background: var(--white);
}
.sidebar-widget .widget-title {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 16px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}

.sidebar-article {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.sidebar-article:last-child { border-bottom: none; }
.sidebar-article .rank {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--violet-light); width: 28px; flex-shrink: 0; line-height: 1;
}
.sidebar-article .sa-title {
  font-size: 13.5px; font-weight: 500; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--dur) var(--ease);
}
.sidebar-article .sa-title:hover { color: var(--violet); }
.sidebar-article .sa-date { font-size: 11px; color: var(--ink-soft); margin-top: 4px; }

/* Newsletter widget */
.newsletter-widget {
  background: var(--lilac-mist); border-color: var(--lilac-mist-2);
}
.newsletter-widget h3 {
  font-family: var(--serif); font-weight: 500; font-size: 18px;
  margin-bottom: 6px;
}
.newsletter-widget p {
  font-size: 13px; color: var(--ink-soft); margin-bottom: 14px;
}
.newsletter-widget input {
  width: 100%; border: 1.3px solid var(--line); border-radius: 2px;
  padding: 9px 12px; font-size: 13px; margin-bottom: 10px;
  font-family: var(--sans);
}
.newsletter-widget input:focus { outline: none; border-color: var(--violet); }
.newsletter-widget .btn { width: 100%; font-size: 13px; padding: 10px; }

/* Ad space */
.ad-space {
  aspect-ratio: 300/250; background: var(--lilac-mist);
  border: 1px dashed var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink); color: #D9D3EA;
  padding: 48px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
  gap: 32px; margin-bottom: 36px;
}
.footer-col h4 {
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #B7B7C4; margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 13.5px; color: #A09AB5;
  padding: 4px 0; transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: var(--white); }

.footer-logo img { height: 28px; margin-bottom: 14px; filter: brightness(1.4); }
.footer-desc { font-size: 13px; color: #8C86A3; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid #4A4A57; display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #A09AB5; padding: 0;
  transition: all var(--dur) var(--ease);
}
.footer-social a:hover { border-color: var(--violet-light); color: var(--violet-light); }

.footer-newsletter input {
  width: 100%; border: 1px solid #4A4A57; border-radius: 2px;
  padding: 9px 12px; font-size: 13px; background: transparent;
  color: var(--white); font-family: var(--sans); margin-bottom: 10px;
}
.footer-newsletter input::placeholder { color: #706B82; }
.footer-newsletter input:focus { outline: none; border-color: var(--violet-light); }
.footer-newsletter .btn { width: 100%; font-size: 12px; padding: 9px; }

.footer-bottom {
  border-top: 1px solid #3A3647;
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: #706B82;
}
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 12px; color: #706B82; }
.footer-bottom-links a:hover { color: var(--violet-light); }

/* ===== COOKIE POPUP ===== */
.cookie-popup {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--ink); color: #D9D3EA;
  padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  z-index: 999;
  transform: translateY(100%);
  transition: transform .4s var(--ease);
  box-shadow: 0 -4px 30px rgba(31,26,46,.25);
}
.cookie-popup.show { transform: translateY(0); }
.cookie-popup p { font-size: 13px; line-height: 1.6; max-width: 640px; }
.cookie-popup a { color: var(--violet-light); text-decoration: underline; }
.cookie-popup .actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-popup .btn-outline {
  background: transparent; border: 1px solid #57506B; color: var(--white);
  padding: 9px 18px; font-size: 13px; border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.cookie-popup .btn-outline:hover { border-color: var(--violet-light); }

/* ===== CATEGORY LISTING PAGE ===== */
.catlist-hero {
  background: var(--lilac-mist); padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.catlist-hero h1 {
  font-family: var(--serif); font-weight: 500; font-size: 36px;
  margin-bottom: 8px;
}
.catlist-hero .desc { font-size: 15px; color: var(--ink-soft); max-width: 600px; }
.catlist-hero .count {
  font-size: 13px; color: var(--ink-soft); margin-top: 8px;
}

.filterbar {
  display: flex; gap: 10px; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap; align-items: center;
}
.filter-tag {
  font-size: 13px; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px 14px; color: var(--ink-soft);
  transition: all var(--dur) var(--ease); cursor: pointer;
}
.filter-tag:hover, .filter-tag.active {
  background: var(--violet); color: var(--white); border-color: var(--violet);
}
.filter-sort {
  margin-left: auto; font-size: 13px; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 6px 14px; color: var(--ink-soft);
  background: var(--white); font-family: var(--sans); cursor: pointer;
}

.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
  padding: 32px 0;
}

.pagination {
  display: flex; justify-content: center; gap: 8px;
  padding: 20px 0 40px;
}
.pagination .pg-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.pagination .pg-dot.active {
  background: var(--violet); width: 24px; border-radius: 5px;
}

/* ===== ARTICLE DETAIL ===== */
.article-head {
  max-width: 760px; margin: 0 auto; padding: 36px 24px 0;
}
.breadcrumb {
  font-size: 12.5px; color: var(--ink-soft);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px;
}
.breadcrumb a { color: var(--violet); }
.breadcrumb .sep { color: var(--ink-soft); opacity: .5; }
.article-head h1 {
  font-family: var(--serif); font-weight: 500; font-size: 34px;
  line-height: 1.25; margin-bottom: 14px;
}
.article-meta {
  font-size: 13px; color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
}
.article-meta .dot { width: 3px; height: 3px; background: var(--ink-soft); opacity: .5; }

.article-hero-img {
  max-width: 760px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden;
}
.article-hero-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.article-body {
  max-width: 760px; margin: 0 auto; padding: 32px 24px;
}
.article-body p {
  font-size: 15.5px; line-height: 1.8; color: var(--ink);
  margin-bottom: 20px;
}
.article-body h2 {
  font-family: var(--serif); font-weight: 500; font-size: 24px;
  margin: 36px 0 16px;
}
.article-body h3 {
  font-family: var(--serif); font-weight: 500; font-size: 20px;
  margin: 28px 0 12px;
}
.article-body ul, .article-body ol {
  padding-left: 0; margin-bottom: 20px;
}
.article-body li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 4px 0; font-size: 15px; line-height: 1.7;
}
.article-body li .dot { margin-top: 8px; flex-shrink: 0; }
.article-body blockquote {
  border-left: 3px solid var(--violet-light);
  padding: 18px 24px; margin: 24px 0;
  background: var(--lilac-mist); border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body blockquote p {
  font-family: var(--serif); font-style: italic;
  font-size: 17px; color: var(--ink); line-height: 1.6;
  margin: 0;
}
.article-body img {
  border-radius: var(--radius); margin: 24px 0;
}
.article-body .img-caption {
  font-size: 12.5px; color: var(--ink-soft); text-align: center;
  margin-top: -16px; margin-bottom: 24px;
}

/* Article CTA */
.article-cta {
  background: var(--grad); border-radius: var(--radius);
  padding: 32px 36px; color: var(--white);
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; margin: 36px 0;
}
.article-cta h3 {
  font-family: var(--serif); font-weight: 400; font-size: 22px;
  line-height: 1.3; color: var(--white); margin: 0;
}
.article-cta .btn {
  background: var(--white); color: var(--violet-deep);
  flex-shrink: 0;
}
.article-cta .btn:hover { background: var(--lilac-mist); }

/* Related articles */
.related-section {
  border-top: 1px solid var(--line); padding: 40px 0;
}
.related-section h2 {
  font-family: var(--serif); font-weight: 500; font-size: 24px;
  margin-bottom: 24px;
}

/* ===== CONTACT / CONSULTATION PAGE ===== */
.contact-hero {
  background: var(--grad); color: var(--white);
  padding: 56px 0; text-align: center;
  position: relative; overflow: hidden;
}
.contact-hero::after {
  content: ''; position: absolute; right: -8%; bottom: -40%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.contact-hero::before {
  content: ''; position: absolute; left: 10%; top: -15%;
  width: 150px; height: 150px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.contact-hero h1 {
  font-family: var(--serif); font-weight: 400; font-size: 38px;
  line-height: 1.2; position: relative; z-index: 1;
}
.contact-hero h1 em { font-style: italic; }
.contact-hero p {
  font-size: 15px; color: #E4D8FF; max-width: 500px;
  margin: 14px auto 0; position: relative; z-index: 1;
}

.contact-section { padding: 56px 0; }

/* Privacy commitment box */
.privacy-box {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 20px; margin-top: 24px;
}
.privacy-box .label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 8px;
}
.privacy-box p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--grad); padding: 48px 0;
}
.cta-band-inner {
  text-align: center; color: var(--white);
}
.cta-band-inner h2 {
  font-family: var(--serif); font-weight: 400; font-size: 28px;
  max-width: 640px; margin: 0 auto 20px; line-height: 1.35;
}
.cta-band-inner .btn {
  background: var(--white); color: var(--violet-deep);
  padding: 14px 32px;
}
.cta-band-inner .btn:hover { background: var(--lilac-mist); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .mobile-toggle { display: block; }
  .subnav { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; gap: 2px; }
  .hero-side-item { min-height: 160px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .main-layout { grid-template-columns: 1fr; }
  .leadgen-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .article-cta { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  :root { --header-h: 52px; }

  .hero-main { min-height: 260px; }
  .hero-main h2 { font-size: 22px; }
  .hero-side { flex-direction: column; }
  .hero-side-item { min-height: 120px; }

  .cat-grid, .articles-grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .catlist-hero h1 { font-size: 28px; }
  .article-head h1 { font-size: 26px; }
  .contact-hero h1 { font-size: 28px; }

  .cookie-popup { flex-direction: column; align-items: flex-start; }
  .cookie-popup .actions { width: 100%; }
  .cookie-popup .actions .btn,
  .cookie-popup .actions .btn-outline { flex: 1; text-align: center; }
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(31,26,46,.5); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }

.mobile-menu-panel {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 300px; max-width: 85vw;
  background: var(--white); padding: 24px;
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }

.mobile-menu-close {
  font-size: 13px; font-weight: 600; color: var(--ink);
  margin-bottom: 24px; display: block;
}

.mobile-menu-nav { display: flex; flex-direction: column; }
.mobile-menu-nav a {
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 12px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
}
.mobile-menu-nav a:hover { color: var(--violet); }
.mobile-menu-nav a .dot { width: 6px; height: 6px; }

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(31,26,46,.85); backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 15vh;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-box {
  width: 600px; max-width: 90vw;
  background: var(--white); border-radius: var(--radius);
  padding: 6px;
  transform: translateY(-20px);
  transition: transform .3s var(--ease);
}
.search-overlay.open .search-box { transform: translateY(0); }
.search-box input {
  width: 100%; border: none; padding: 16px 20px;
  font-size: 17px; font-family: var(--sans); color: var(--ink);
  border-radius: var(--radius);
}
.search-box input:focus { outline: none; }
.search-box input::placeholder { color: var(--ink-soft); opacity: .5; }

/* ===== SECTION TITLE (used in Latest Articles) ===== */
.section-title {
  font-family: var(--serif); font-weight: 500; font-size: 24px;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.section-title .dot { width: 8px; height: 8px; }
