:root {
  --ink: #2b2024;
  --muted: #72666b;
  --line: #dfd7cd;
  --wine: #702b40;
  --wine-deep: #482333;
  --gold: #ac8b54;
  --paper: #f7f4ef;
  --surface: #fffdfa;
  --soft: #eee8df;
  --content-width: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--wine); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 4px;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
img { max-width: 100%; }
svg { flex-shrink: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: -80px;
  left: 16px;
  padding: 13px 18px;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--wine);
  border-radius: 4px;
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

/* Source banners retain their compact, full-width placement. */
.banner-wall { width: 100%; padding: 2px 2px 0; background: #fff; }
.lead-banner { width: min(728px, calc(100% - 8px)); margin: 3px auto 6px; }
.banner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.banner-slot {
  display: grid;
  align-items: center;
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 5px;
  background: #101010;
  line-height: 0;
}
.banner-slot picture { display: block; width: 100%; min-width: 0; }
.banner-slot img { display: block; width: 100%; height: auto; object-fit: contain; }
.banner-slot:focus-visible { outline-offset: -3px; outline-color: #f6c8da; }
.collection-cta {
  display: block;
  margin: 6px 0 0;
  padding: 14px 15px;
  border: 2px solid #38d968;
  border-radius: 6px;
  background: #101510;
  color: #f3fff5;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.4;
}
.collection-cta:hover { background: #172019; color: #fff; border-color: #b59bff; }
.article-banner { margin-top: 6px; margin-bottom: 3px; }

/* The editorial area uses the same measured frame on every page. */
.masthead {
  display: flex;
  align-items: center;
  gap: 26px;
  width: min(var(--content-width), calc(100% - 72px));
  min-height: 96px;
  margin: auto;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;
  color: var(--wine-deep);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.8px;
}
.brand img { width: 36px; height: 36px; padding: 5px; border-radius: 7px; background: var(--wine); }
.brand small { color: #7c626b; font-size: 16px; font-weight: 400; letter-spacing: -.4px; }
.masthead nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
  color: #62535b;
  font-size: 13px;
}
.masthead nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid transparent;
  padding: 10px 0;
}
.masthead nav > a:hover { border-bottom-color: var(--gold); }
.trial-badge {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid #d2b7bf;
  border-radius: 999px;
  background: #f7edf0;
  color: var(--wine);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  white-space: nowrap;
}
.motion-toggle {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid #d3c5c8;
  border-radius: 5px;
  background: var(--surface);
  color: #66535c;
  font-size: 10px;
  white-space: nowrap;
}
.motion-toggle:hover { border-color: var(--wine); color: var(--wine); }
.main-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 64px;
  width: min(var(--content-width), calc(100% - 72px));
  margin: 48px auto 64px;
}
.blog-main { min-width: 0; }
.section-kicker {
  display: block;
  margin: 0 0 14px;
  color: var(--wine);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.page-title, .blog-heading h1 {
  margin: 0 0 20px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -1px;
}

/* Brand directory. */
.portal-main { display: block; margin-top: 48px; }
.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 242px;
  align-items: center;
  gap: 70px;
  padding: 0 0 38px;
  border-bottom: 1px solid var(--line);
}
.portal-intro { min-width: 0; }
.portal-hero h1 {
  margin: 0 0 18px;
  color: var(--wine-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(42px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.7px;
}
.portal-intro p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.portal-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  padding: 10px 0 10px 35px;
  border-left: 1px solid #cfbea3;
}
.portal-stats > div { min-width: 0; }
.portal-stats strong {
  display: block;
  color: var(--wine-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1px;
}
.portal-stats span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.portal-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin: 29px 0 12px;
}
.portal-toolbar label { display: block; width: min(100%, 420px); min-width: 0; }
.portal-toolbar label > span {
  display: block;
  margin-bottom: 8px;
  color: #65565e;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.portal-toolbar input, .portal-toolbar select {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #d4c9bd;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}
.portal-toolbar input::placeholder { color: #817078; opacity: 1; }
.directory-status { margin: 0 0 23px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.brand-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  scroll-margin-top: 28px;
}
.brand-card {
  min-width: 0;
  border: 1px solid #ddd1c1;
  border-radius: 11px;
  overflow: hidden;
  background: var(--surface);
}
.brand-card:hover { border-color: #b99b72; }
.brand-card-link {
  display: flex;
  flex-direction: column;
  min-height: 290px;
  height: 100%;
  padding: 26px;
  color: var(--ink);
}
.brand-card-link:hover { background: #fffaf2; color: var(--ink); }
.brand-card-link:focus-visible { outline-offset: -4px; border-radius: 11px; }
.brand-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 10px;
  border: 1px solid #e0d3c1;
  border-radius: 7px;
  background: #f5efe6;
  color: var(--wine);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}
.brand-card-mark img { display: block; max-width: 36px; max-height: 32px; object-fit: contain; }
.brand-card-number {
  color: #7b6655;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.4px;
  font-variant-numeric: tabular-nums;
}
.brand-card h2 {
  margin: 21px 0 8px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.6px;
  overflow-wrap: anywhere;
}
.brand-card-link:hover h2 { color: var(--wine); }
.brand-card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.brand-card-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}
.brand-card-topics span, .brand-card-topics li {
  display: inline-block;
  padding: 5px 8px;
  border: 1px solid #e8dfd3;
  border-radius: 4px;
  background: #faf6f0;
  color: #65565d;
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
}
.brand-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid #e9dfd2;
  color: var(--wine);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.brand-card-cta::after { content: '→'; color: var(--wine); font-size: 20px; font-weight: 400; line-height: 1; }

/* Local editorial metadata review. */
.snippet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.snippet-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 25px;
  border: 1px solid #dfd4c5;
  border-radius: 9px;
  background: var(--surface);
  overflow-wrap: anywhere;
}
.snippet-label { margin: 0 0 18px; color: #80664b; font-size: 11px; font-weight: 600; line-height: 1.5; }
.snippet-url { margin: 0 0 8px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.snippet-card h2 { margin: 0 0 12px; color: var(--wine-deep); font-size: 20px; font-weight: 500; line-height: 1.45; }
.snippet-card h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.snippet-description { margin: 0 0 20px; color: #65565d; font-size: 13px; line-height: 1.8; }
.snippet-open { align-self: flex-start; margin-top: auto; color: var(--wine); font-size: 12px; font-weight: 600; }
.snippet-open:hover { text-decoration: underline; text-underline-offset: 3px; }

.campaign-status {
  margin: 0 0 30px;
  padding: 18px 20px;
  border: 1px solid #d8c5a6;
  border-radius: 7px;
  background: #f8f1e5;
}
.campaign-status > strong { display: block; color: var(--wine-deep); font-size: 15px; line-height: 1.6; }
.campaign-status-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 18px; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.campaign-status-meta a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }

/* Brand hub and article cards. */
.brand-hub-header { margin: 0 0 27px; }
.brand-hub-header h1 {
  margin: 0 0 15px;
  color: var(--wine-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 43px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1.1px;
  overflow-wrap: anywhere;
}
.brand-hub-summary, .hub-intro {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.brand-banners { display: grid; gap: 7px; margin: 0 0 28px; }
.brand-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.editorial-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 25px;
  border: 1px solid #dfd4c5;
  border-radius: 9px;
  background: var(--surface);
}
.editorial-card-number {
  display: inline-block;
  margin: 0 0 19px;
  color: #80664b;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.5px;
  font-variant-numeric: tabular-nums;
}
.editorial-card h2 {
  margin: 0 0 13px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -.4px;
  overflow-wrap: anywhere;
}
.editorial-card .post-excerpt { margin: 0 0 23px; font-size: 13px; line-height: 1.85; }
.editorial-card .read-more { align-self: flex-start; margin-top: auto; padding: 4px 0; font-size: 12px; }
.editorial-card:hover { border-color: #bea17c; }
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
  color: #796b72;
  font-size: 11px;
  line-height: 1.6;
}
.breadcrumbs a { color: var(--wine); }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Comfortable long-form reading. */
.article-body h1 {
  margin: 0 0 20px;
  color: var(--wine-deep);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 43px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
  overflow-wrap: anywhere;
}
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 15px;
  color: #786973;
  font-size: 11px;
  line-height: 1.6;
}
.article-body .post-meta { margin-bottom: 24px; }
.article-lead {
  margin: 0 0 34px;
  padding: 0 0 29px;
  border-bottom: 1px solid var(--line);
  color: #695962;
  font-size: 17px;
  line-height: 1.85;
}
.article-body section + section { margin-top: 34px; }
.article-body section h2 {
  margin: 0 0 16px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.4px;
  overflow-wrap: anywhere;
}
.article-body section p {
  margin: 0 0 19px;
  color: #51464d;
  font-size: 15px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}
.article-body section a, .article-lead a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.related-articles { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.related-articles h2 { margin: 0 0 16px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.related-articles ul { margin: 0; padding-left: 18px; }
.related-articles li { padding: 6px 0; color: var(--wine); font-size: 13px; line-height: 1.8; }
.related-articles li::marker { color: var(--gold); }
.related-articles a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Quiet secondary navigation. */
.sidebar { min-width: 0; padding-left: 26px; border-left: 1px solid var(--line); }
.sidebar section + section { margin-top: 32px; }
.sidebar .section-kicker { margin-bottom: 11px; font-size: 9px; letter-spacing: 1.7px; }
.sidebar h2 { margin: 0 0 15px; color: var(--wine-deep); font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: -.2px; }
.sidebar ul { margin: 0; padding: 0; list-style: none; }
.recent-posts li { padding: 11px 0; border-bottom: 1px solid #e5ddd3; }
.recent-posts li:first-child { padding-top: 0; }
.recent-posts a { display: block; color: #6c5b64; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.recent-posts a:hover { color: var(--wine); }
.categories li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 41px;
  padding: 8px 0;
  border-bottom: 1px solid #e5ddd3;
  color: #6c5b64;
  font-size: 12px;
  line-height: 1.5;
}
.categories li a:hover { color: var(--wine); }
.categories small {
  min-width: 24px;
  padding: 4px 6px;
  border: 1px solid #e1d5c7;
  border-radius: 4px;
  background: #f1eade;
  color: #776345;
  font-size: 10px;
  text-align: center;
}
.archive-note p { margin: 0 0 9px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.archive-note > span { color: var(--muted); font-size: 11px; }

/* Advertising contact closes the page with one clear action. */
.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  width: min(var(--content-width), calc(100% - 72px));
  margin: 0 auto 34px;
  padding: 39px 44px;
  border: 1px solid #6a3e4d;
  border-radius: 12px;
  background: var(--wine-deep);
  color: #fbf5eb;
}
.contact-copy { min-width: 0; }
.contact-copy .section-kicker { margin-bottom: 11px; color: #e1c394; font-size: 9px; letter-spacing: 1.8px; }
.contact-copy h2 {
  margin: 0 0 11px;
  color: #fff8ee;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.6px;
}
.contact-copy p { max-width: 510px; margin: 0; color: #dfcbd1; font-size: 13px; line-height: 1.8; }
.telegram-button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 14px 19px;
  border: 1px solid #f3e1c6;
  border-radius: 6px;
  background: #fff8ee;
  color: var(--wine-deep);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.telegram-button svg { width: 23px; height: 23px; }
.telegram-button:hover { border-color: #ebca92; background: #f4e5ce; color: var(--wine-deep); }
.telegram-button:focus-visible { outline-color: #f4d49a; outline-offset: 5px; }
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px 26px;
  width: min(var(--content-width), calc(100% - 72px));
  margin: auto;
  padding: 23px 0 28px;
  border-top: 1px solid var(--line);
  color: #796a72;
  font-size: 10px;
  line-height: 1.7;
}
.footer > a { color: var(--wine-deep); font-size: 13px; font-weight: 600; }
.footer-backlinks {
  display: flex;
  flex-basis: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
  padding-top: 5px;
}
.footer-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid #d7c5ab;
  border-radius: 6px;
  background: var(--surface);
  color: var(--wine-deep);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}
.footer-link-button:hover { border-color: var(--wine); background: #f5e9eb; color: var(--wine); }

/* Compatibility for existing catalogue and list views. */
.blog-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.blog-heading > span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.source-note { margin: 0 0 23px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.source-note a { color: #795562; text-decoration: underline; text-underline-offset: 2px; }
.blog-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 14px;
  margin: 0 0 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f1ece4;
}
.blog-filters label { display: block; min-width: 0; }
.blog-filters label span { display: block; margin-bottom: 8px; color: #65565e; font-size: 11px; }
.blog-filters input, .blog-filters select {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d5c9bb;
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
}
.results-status { margin: 0 0 5px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.post-preview { padding: 27px 0 29px; border-bottom: 1px solid var(--line); }
.post-preview h2 { margin: 0 0 12px; font-family: Georgia, 'Times New Roman', serif; font-size: 27px; font-weight: 400; line-height: 1.35; letter-spacing: -.4px; overflow-wrap: anywhere; }
.post-excerpt { margin: 0 0 17px; color: #6b5c64; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.read-more { display: inline-block; padding: 4px 0; color: var(--wine); font-size: 12px; font-weight: 600; line-height: 1.6; }
.read-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.pagination { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 29px; }
.pagination a { display: grid; place-items: center; min-width: 39px; min-height: 39px; padding: 7px 11px; border: 1px solid #d6cabb; border-radius: 4px; background: var(--surface); color: #6b5c64; font-size: 12px; }
.pagination a[aria-current="page"] { border-color: var(--wine); background: var(--wine); color: #fff; }
.pagination a:hover { border-color: var(--wine); }
.empty-results { padding: 32px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.7; }
.brand-section { padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.brand-section > h2 { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 19px; font-family: Georgia, 'Times New Roman', serif; font-size: 29px; font-weight: 400; line-height: 1.3; }
.brand-section > h2 small { color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 400; white-space: nowrap; }
.brand-article-links { margin: 0; padding-left: 22px; }
.brand-article-links li { padding: 7px 0; color: #65535d; font-size: 13px; line-height: 1.75; }
.brand-article-links li::marker { color: var(--gold); font-size: 11px; }

@media (max-width: 1100px) {
  .masthead { gap: 19px; }
  .masthead nav { gap: 19px; font-size: 12px; }
  .main-wrap { grid-template-columns: minmax(0, 1fr) 235px; gap: 38px; }
  .portal-main { display: block; }
  .portal-hero { gap: 44px; }
  .brand-directory { gap: 17px; }
  .brand-card-link { padding: 23px; }
  .brand-card h2 { font-size: 27px; }
  .sidebar { padding-left: 21px; }
  .contact-panel { gap: 27px; padding: 34px; }
  .contact-copy h2 { font-size: 29px; }
}
@media (max-width: 940px) {
  .masthead { flex-wrap: wrap; gap: 10px 20px; padding: 19px 0 17px; }
  .masthead .brand { order: 1; }
  .masthead .motion-toggle { order: 2; margin-left: auto; }
  .masthead nav { order: 3; flex-basis: 100%; margin-left: 0; gap: 23px; }
  .masthead nav .trial-badge { margin-left: auto; }
  .main-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 37px; }
  .portal-main { display: block; }
  .portal-hero { grid-template-columns: minmax(0, 1fr) 196px; gap: 28px; padding-bottom: 32px; }
  .portal-stats { gap: 18px; padding-left: 24px; }
  .portal-stats strong { font-size: 37px; }
  .brand-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .brand-card-link { min-height: 290px; padding: 25px; }
  .brand-card h2 { font-size: 29px; }
  .brand-hub-header h1, .article-body h1 { font-size: 40px; }
  .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; padding: 29px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .sidebar section + section { margin-top: 0; }
  .sidebar h2 { font-size: 17px; }
  .recent-posts a, .categories li a { font-size: 13px; }
  .contact-panel { align-items: flex-start; flex-direction: column; gap: 24px; padding: 32px; }
  .telegram-button { min-height: 50px; }
}
@media (max-width: 640px) {
  .masthead, .main-wrap, .contact-panel, .footer { width: calc(100% - 36px); }
  .masthead { min-height: 0; padding: 18px 0 14px; }
  .brand { gap: 9px; font-size: 21px; }
  .brand img { width: 32px; height: 32px; }
  .brand small { font-size: 15px; }
  .motion-toggle { max-width: 125px; min-height: 36px; padding: 8px; font-size: 9px; }
  .masthead nav { gap: 19px; font-size: 11px; }
  .trial-badge { padding: 6px 8px; font-size: 8px; }
  .main-wrap { margin-top: 31px; margin-bottom: 42px; gap: 31px; }
  .portal-hero { grid-template-columns: 1fr; gap: 25px; padding-bottom: 29px; }
  .section-kicker { margin-bottom: 12px; font-size: 9px; letter-spacing: 1.8px; }
  .portal-hero h1 { margin-bottom: 16px; font-size: 43px; letter-spacing: -1.2px; }
  .portal-intro p { font-size: 14px; line-height: 1.8; }
  .portal-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 230px; gap: 30px; padding: 0; border-left: 0; }
  .portal-stats strong { font-size: 34px; }
  .portal-stats span { margin-top: 7px; font-size: 11px; }
  .portal-toolbar { margin-top: 24px; }
  .portal-toolbar label { width: 100%; }
  .portal-toolbar input { min-height: 46px; font-size: 14px; }
  .directory-status { margin-bottom: 18px; font-size: 11px; }
  .brand-directory { grid-template-columns: 1fr; gap: 15px; }
  .brand-card-link { min-height: 267px; padding: 24px; }
  .brand-card h2 { margin-top: 18px; font-size: 29px; }
  .brand-card-topics { margin-top: 18px; margin-bottom: 20px; }
  .brand-card-cta { padding-top: 15px; font-size: 12px; }
  .brand-hub-header { margin-bottom: 24px; }
  .brand-hub-header h1, .page-title { font-size: 35px; letter-spacing: -.9px; }
  .brand-hub-summary, .hub-intro { font-size: 13px; }
  .brand-banners { margin-bottom: 24px; }
  .brand-hub-grid { grid-template-columns: 1fr; gap: 15px; }
  .snippet-grid { grid-template-columns: 1fr; gap: 15px; }
  .snippet-card { padding: 24px; }
  .snippet-card h2 { font-size: 19px; }
  .campaign-status { margin-bottom: 25px; padding: 17px 18px; }
  .campaign-status > strong { font-size: 14px; }
  .editorial-card { padding: 24px; }
  .editorial-card h2 { font-size: 25px; }
  .editorial-card-number { margin-bottom: 15px; }
  .editorial-card .post-excerpt { font-size: 13px; }
  .breadcrumbs { gap: 8px; margin-bottom: 22px; font-size: 10px; }
  .article-body h1 { font-size: 35px; line-height: 1.22; letter-spacing: -.8px; }
  .article-lead { margin-bottom: 28px; padding-bottom: 24px; font-size: 15px; line-height: 1.9; }
  .article-body section + section { margin-top: 29px; }
  .article-body section h2 { font-size: 26px; }
  .article-body section p { font-size: 14px; line-height: 1.95; }
  .post-meta { font-size: 10px; }
  .related-articles { margin-top: 32px; padding-top: 24px; }
  .sidebar { grid-template-columns: 1fr; gap: 28px; padding-top: 25px; }
  .sidebar section + section { margin-top: 0; }
  .contact-panel { gap: 22px; margin-bottom: 27px; padding: 27px 24px; border-radius: 10px; }
  .contact-copy h2 { font-size: 29px; }
  .contact-copy p { font-size: 12px; line-height: 1.85; }
  .telegram-button { width: 100%; gap: 9px; padding: 13px 11px; font-size: 11px; }
  .telegram-button svg { width: 21px; height: 21px; }
  .footer { justify-content: flex-start; gap: 9px 19px; padding: 19px 0 25px; font-size: 9px; }
  .footer > a { flex-basis: 100%; font-size: 13px; }
  .footer-backlinks { gap: 9px; padding-top: 7px; }
  .footer-link-button { padding-right: 14px; padding-left: 14px; font-size: 12px; }
  .blog-heading { align-items: center; }
  .blog-heading h1 { font-size: 30px; }
  .blog-heading > span { font-size: 10px; }
  .blog-filters { grid-template-columns: 1fr; gap: 12px; padding: 15px; }
  .post-preview { padding: 23px 0 26px; }
  .post-preview h2 { font-size: 26px; }
  .post-excerpt { font-size: 13px; }
  .brand-section > h2 { font-size: 28px; }
  .brand-article-links li { font-size: 12px; }
}
@media (max-width: 540px) {
  .banner-grid { grid-template-columns: 1fr; gap: 4px; }
  .banner-wall { padding: 2px; }
  .lead-banner { width: calc(100% - 4px); margin: 2px auto 4px; }
  .collection-cta { margin-top: 4px; padding: 12px; font-size: 14px; }
  .article-banner { margin-top: 3px; }
}
@media (max-width: 380px) {
  .masthead, .main-wrap, .contact-panel, .footer { width: calc(100% - 30px); }
  .masthead nav { gap: 15px; font-size: 10px; }
  .trial-badge { padding: 6px; font-size: 7px; letter-spacing: .8px; }
  .portal-hero h1 { font-size: 40px; }
  .brand-card-link { padding: 22px; }
  .article-body h1 { font-size: 32px; }
  .contact-panel { padding: 25px 21px; }
  .contact-copy h2 { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
