:root {
  /* Поверхности */
  --bg:            #F5F0E6;
  --surface:       #FFFFFF;

  /* Бренд */
  --primary:       #4A7C3B;
  --primary-dark:  #2F5226;
  --primary-light: #E4EEDF;

  /* Акцент */
  --accent:        #E8743C;
  --accent-bright: #F26B3C;

  /* Дополнительные */
  --teal:          #2D6A66;
  --turquoise:     #9DE0DF;
  --turquoise-deep:#5BB9B7;
  --turquoise-soft:#E8F7F7;
  --cool-grey:     #E8EEF5;

  /* Тинт-чипы */
  --tint-orange:   #FDF3ED;
  --tint-green:    #EBF2E6;
  --tint-wasabi:   #F1F6EF;

  /* Текст */
  --text:          #1F1F1A;
  --text-muted:    #6B6B5F;
  --text-on-dark:  #F5F0E6;

  /* Утилиты */
  --border:        #E0D8C6;
  --border-soft:   #F0E9DB;
  --shadow:        rgba(31, 31, 26, 0.08);

  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2 {
  text-shadow: 0px 4px 16px rgba(31, 31, 26, 0.08);
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.highlight-green { color: var(--primary-dark); }
.highlight-orange { color: var(--accent); }
.highlight-wasabi { color: var(--primary); }
.highlight-teal { color: var(--teal); }

/* WP utility */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  padding: 8px 16px; background: var(--text); color: var(--text-on-dark);
  border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 16px; }

/* === HEADER === */
.header {
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: var(--bg);
  transition: box-shadow 0.3s ease;
}
/* Soft shadow appears once the page is scrolled (toggled in main.js). */
.header.is-scrolled {
  box-shadow: 0 6px 24px rgba(31, 31, 26, 0.08);
}
/* Offset page content so it isn't hidden behind the fixed header. */
body { padding-top: 96px; }
/* Keep clear of the WordPress admin bar for logged-in users. */
body.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}

/* Header aligns to the same content width as the rest of the page
   (the shared .container cap of 1440px). */
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: 'Onest', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.logo__l { color: var(--accent); }
.logo__dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 2px;
  align-self: flex-start;
  margin-top: 4px;
}
.logo--dark { color: var(--text-on-dark); }
.logo--dark .logo__l { color: var(--turquoise); }
.logo--dark .logo__dot { background: var(--turquoise); }

.nav-desktop {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s ease;
}
.nav-desktop a:hover { color: var(--primary); }
.nav-desktop a.is-active,
.nav-desktop .current-menu-item > a,
.nav-desktop .current_page_item > a {
  color: var(--teal);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-btn {
  color: var(--text);
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease, color 0.2s ease;
}
.action-btn:hover { transform: scale(1.1); color: var(--primary); }

/* === BURGER BUTTON (tablet / mobile) === */
.burger-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}
.burger-btn__box {
  position: relative;
  width: 24px;
  height: 16px;
}
.burger-btn__line,
.burger-btn__line::before,
.burger-btn__line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.burger-btn__line { top: 50%; transform: translateY(-50%); }
.burger-btn__line::before { top: -7px; }
.burger-btn__line::after  { top: 7px; }
body.mobile-nav-open .burger-btn__line { background: transparent; }
body.mobile-nav-open .burger-btn__line::before { top: 0; transform: rotate(45deg); }
body.mobile-nav-open .burger-btn__line::after  { top: 0; transform: rotate(-45deg); }

/* === MOBILE OFF-CANVAS NAV === */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(82vw, 360px);
  padding: 96px 24px 32px;
  background: var(--surface);
  box-shadow: -8px 0 48px rgba(31, 31, 26, 0.16);
  transform: translateX(100%);
  visibility: hidden;
  overflow-y: auto;
  z-index: 200;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.38s;
}
body.mobile-nav-open .mobile-nav {
  transform: translateX(0);
  visibility: visible;
}
.mobile-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav__menu a {
  display: block;
  padding: 14px 14px;
  border-radius: 14px;
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-nav__menu a:hover,
.mobile-nav__menu a:focus-visible { background: var(--bg); color: var(--primary); }
.mobile-nav__menu a.is-active,
.mobile-nav__menu .current-menu-item > a,
.mobile-nav__menu .current_page_item > a { color: var(--teal); }

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 31, 26, 0.42);
  opacity: 0;
  visibility: hidden;
  z-index: 150;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.mobile-nav-open .mobile-nav__overlay { opacity: 1; visibility: visible; }
body.mobile-nav-open { overflow: hidden; }

/* Never let the off-canvas layer leak onto the desktop layout. */
@media (min-width: 992px) {
  .mobile-nav,
  .mobile-nav__overlay { display: none !important; }
}

/* === SEARCH === */
.search {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  height: 44px;
  width: 44px;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  position: relative;
}
.search.is-open {
  width: 360px;
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(232, 116, 60, 0.12);
}
.search:not(.is-open) {
  background: transparent;
  border-color: transparent;
}
.search__toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}
.search:not(.is-open) .search__toggle:hover {
  transform: scale(1.1);
  color: var(--primary);
}
.search.is-open .search__toggle { color: var(--accent); }
.search__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 0 8px 0 4px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.search.is-open .search__input { opacity: 1; }
.search__input::placeholder {
  color: rgba(31, 31, 26, 0.45);
}
.search__close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(31, 31, 26, 0.06);
  color: var(--text);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  margin-right: 4px;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.search.is-open .search__close { display: flex; }
.search__close:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 600px) {
  .search.is-open { width: calc(100vw - 96px); }
}

/* === BREADCRUMBS === */
.breadcrumbs {
  padding: 16px 0 8px;
  font-size: 13px;
  color: rgba(31, 31, 26, 0.5);
  font-weight: 500;
}
.breadcrumbs a {
  color: rgba(31, 31, 26, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep {
  margin: 0 8px;
  color: rgba(31, 31, 26, 0.3);
}
.breadcrumbs .current { color: var(--text); }

/* === ARTICLE HERO === */
.article-hero { padding: 24px 0 32px; }

.article-hero__meta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tag {
  background-color: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}
a.tag:hover { background-color: var(--accent-bright); }

.time-pill {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(31, 31, 26, 0.7);
  letter-spacing: 0.05em;
  background-color: rgba(31, 31, 26, 0.05);
  padding: 8px 16px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-hero__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 800;
  line-height: 1.02;
  color: var(--text);
  letter-spacing: -0.03em;
  max-width: 1100px;
  margin-bottom: 32px;
  text-shadow: 0 6px 20px rgba(31, 31, 26, 0.1);
}

.article-hero__lede {
  font-family: 'Onest', sans-serif;
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(31, 31, 26, 0.75);
  letter-spacing: -0.01em;
  max-width: 880px;
  margin-bottom: 40px;
}

.article-hero__byline {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.byline-block { display: flex; align-items: center; gap: 14px; }
.byline-block .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.byline-block .meta { display: flex; flex-direction: column; }
.byline-block .label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(31, 31, 26, 0.4);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.byline-block .value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.article-hero__actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.icon-btn:hover {
  background: var(--text);
  color: var(--surface);
  transform: translateY(-2px);
}

/* === HERO COVER === */
.hero-cover {
  padding: 0 0 48px;
}
.hero-cover__inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.15);
  background-color: #F0F0F0;
}
.hero-cover__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === ARTICLE LAYOUT === */
.article-section { padding: 32px 0 96px; }

.article-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 80px;
  align-items: start;
}
/* Safety net: if the sidebar didn't render, the body is the only grid child —
   let it span the full row and centre, instead of collapsing into the narrow
   first column. */
.article-grid > .article-body:only-child {
  grid-column: 1 / -1;
  margin: 0 auto;
}

.sidebar {
  position: sticky;
  top: 24px;
}

.sidebar__label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(31, 31, 26, 0.5);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.sidebar__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(31, 31, 26, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sidebar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(31, 31, 26, 0.1);
}

.sidebar-card__cat {
  font-size: 11px;
  font-weight: 700;
  color: rgba(31, 31, 26, 0.5);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sidebar-card__title {
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.sidebar-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-card__time {
  font-size: 13px;
  color: rgba(31, 31, 26, 0.55);
}

.sidebar-card__arrow {
  font-size: 18px;
  color: rgba(31, 31, 26, 0.4);
  transition: color 0.25s ease, transform 0.25s ease;
  display: flex;
}

.sidebar-card:hover .sidebar-card__arrow {
  color: var(--accent);
  transform: translate(4px, -4px);
}

.sidebar__all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  margin-top: 24px;
  transition: color 0.2s ease;
}
.sidebar__all-link:hover { color: var(--accent); }
.sidebar__all-link iconify-icon {
  font-size: 16px;
  transition: transform 0.2s ease;
}
.sidebar__all-link:hover iconify-icon { transform: translate(2px, -2px); }

/* === Article body === */
.article-body {
  max-width: 760px;
}

.article-body p {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

.article-body p strong { font-weight: 700; }
.article-body p em { font-style: italic; color: rgba(31, 31, 26, 0.8); }
.article-body a:not(.cta):not(.wp-block-button__link) {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(232, 116, 60, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.article-body a:not(.cta):not(.wp-block-button__link):hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.article-body h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 64px;
  margin-bottom: 20px;
  text-shadow: 0 4px 16px rgba(31, 31, 26, 0.06);
}

.article-body h3 {
  font-family: 'Onest', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 12px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.article-body ul li,
.article-body ol li {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 10px;
  padding-left: 8px;
}
.article-body ul li::marker,
.article-body ol li::marker { color: var(--accent); }

/* === Gutenberg parity inside article body === */
.article-body .wp-block-image {
  margin: 48px 0;
}
/* Cover image moved into the middle of the body (see functions.php). */
.article-body__cover { margin: 56px 0; }
.article-body__cover img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(31, 31, 26, 0.1);
  display: block;
}
.article-body .wp-block-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 48px rgba(31, 31, 26, 0.1);
}
.article-body .wp-block-image figcaption,
.article-body figure.figure .figure__cap,
.article-body figure.ct-figure .figure__cap {
  font-size: 13px;
  color: rgba(31, 31, 26, 0.5);
  margin-top: 14px;
  font-style: italic;
  line-height: 1.5;
  text-align: left;
}

/* legacy/non-Gutenberg figure */
.figure { margin: 48px 0; }
.figure__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(31, 31, 26, 0.1);
  background-color: #F0F0F0;
}
.figure__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.figure__cap {
  font-size: 13px;
  color: rgba(31, 31, 26, 0.5);
  margin-top: 14px;
  font-style: italic;
  line-height: 1.5;
}

/* Pull quote (custom class .pullquote or Gutenberg .wp-block-pullquote) */
.article-body .pullquote,
.article-body .wp-block-pullquote {
  margin: 56px 0;
  padding: 40px 44px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  position: relative;
  border-left: none;
}
.article-body .pullquote::before,
.article-body .wp-block-pullquote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Onest', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  padding-top: 6px;
}
.article-body .pullquote__text,
.article-body .wp-block-pullquote p {
  font-family: 'Onest', sans-serif;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.article-body .pullquote__attr,
.article-body .wp-block-pullquote cite {
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  color: rgba(31, 31, 26, 0.6);
  letter-spacing: 0.04em;
}

/* Comparison table */
.ct-figure { margin: 48px 0; }

.ct-wrap {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 8px 32px rgba(31, 31, 26, 0.06);
  overflow-x: auto;
}

.ct,
.article-body .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
}

.ct thead th,
.article-body .wp-block-table thead th {
  padding: 20px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.ct thead th:first-child,
.article-body .wp-block-table thead th:first-child {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(31, 31, 26, 0.45);
  text-transform: uppercase;
  width: 28%;
}
.ct thead th.col-a { color: var(--accent); font-family: 'Onest', sans-serif; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.ct thead th.col-b { color: var(--primary); font-family: 'Onest', sans-serif; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }

.ct tbody td,
.article-body .wp-block-table tbody td {
  padding: 18px 22px;
  vertical-align: top;
  line-height: 1.5;
  border-bottom: 1px solid var(--border-soft);
  color: rgba(31, 31, 26, 0.85);
}
.ct tbody tr:last-child td,
.article-body .wp-block-table tbody tr:last-child td { border-bottom: none; }
.ct tbody td:first-child,
.article-body .wp-block-table tbody td:first-child {
  font-weight: 700;
  color: var(--text);
}

.article-body .wp-block-table {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 8px 32px rgba(31, 31, 26, 0.06);
  overflow-x: auto;
  margin: 48px 0;
}
.article-body .wp-block-table figcaption { padding: 0 16px; }

/* Stats cards */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 48px 0;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(31, 31, 26, 0.06);
}
.stat-card__num {
  font-family: 'Onest', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-card:nth-child(1) .stat-card__num { color: var(--accent); }
.stat-card:nth-child(2) .stat-card__num { color: var(--primary); }
.stat-card:nth-child(3) .stat-card__num { color: var(--primary-dark); }

.stat-card__label {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(31, 31, 26, 0.7);
}

/* Gutenberg alignwide / alignfull inside article body */
.article-body .alignwide {
  margin-left: calc(50% - 50vw + 380px); /* visual breathing room on wide screens */
  margin-right: calc(50% - 50vw + 380px);
  max-width: none;
}
@media (max-width: 1100px) {
  .article-body .alignwide { margin-left: 0; margin-right: 0; }
}
.article-body .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}

/* Tags + share footer */
.article-foot {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.article-foot__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.article-foot__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(31, 31, 26, 0.5);
  margin-right: 8px;
  text-transform: uppercase;
}
.topic-tag {
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.topic-tag:hover {
  background: var(--tint-orange);
  border-color: var(--accent);
  color: var(--accent);
}

.share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.share-row__label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(31, 31, 26, 0.6);
  margin-right: 4px;
}

/* === Author bio (under article) === */
.author-bio {
  margin-top: 56px;
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-md);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: 0 8px 24px rgba(31, 31, 26, 0.06);
}
.author-bio__avatar {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover;
}
.author-bio__label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(31, 31, 26, 0.5); margin-bottom: 6px;
}
.author-bio__name {
  font-family: 'Onest', sans-serif;
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.author-bio__desc {
  font-size: 15px; line-height: 1.55;
  color: rgba(31, 31, 26, 0.75);
}

/* === MORE LIKE THIS === */
.more { padding: 64px 0 96px; }
.more__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.more__head .meta-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(31, 31, 26, 0.5);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}
.more__head h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.04em;
}
.more__all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.more__all:hover { color: var(--accent); }
.more__all .arrow-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(31, 31, 26, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.more__all:hover .arrow-bubble {
  background: var(--accent);
  color: #fff;
  transform: translate(4px, -4px);
}

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

.more-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.more-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px var(--shadow);
}

.more-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  background-color: #F0F0F0;
}
.more-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.more-card:hover .more-card__img img {
  transform: scale(1.04);
}

.more-card__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.more-card__desc {
  font-size: 14px;
  color: rgba(31, 31, 26, 0.7);
  line-height: 1.5;
}

/* === Comments === */
.comments {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.comments__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.comment-list { list-style: none; padding: 0; margin: 0 0 48px; }
.comment-list .children { list-style: none; padding-left: 32px; margin-top: 16px; }
.comment-body {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(31, 31, 26, 0.04);
}
.comment-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.comment-author { font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: 13px; color: rgba(31, 31, 26, 0.5); }
.comment-content p { font-size: 16px; line-height: 1.6; margin-bottom: 8px; }
.reply { margin-top: 8px; }
.comment-reply-link {
  font-size: 13px; font-weight: 700;
  color: var(--accent); text-decoration: none;
}
.comment-reply-link:hover { text-decoration: underline; }

.comment-respond {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(31, 31, 26, 0.06);
}
.comment-respond .comment-reply-title {
  font-family: 'Onest', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.comment-form p { margin-bottom: 16px; }
.comment-form label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 6px; color: rgba(31, 31, 26, 0.7);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 116, 60, 0.15);
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: 'Onest', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.comment-form .submit:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
}

/* === FOOTER === */
.footer-new {
  padding: 64px 0 48px;
  border-top: 1px solid rgba(31, 31, 26, 0.05);
  background-color: transparent;
  color: var(--text);
  margin-top: 64px;
}
.footer__container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand .logo { display: inline-block; margin-bottom: 16px; }
.footer__desc {
  font-size: 15px;
  color: rgba(31, 31, 26, 0.6);
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 300px;
}
.footer__email {
  font-family: 'Onest', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer__email:hover { color: var(--accent); }
.footer__nav-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(31, 31, 26, 0.4);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.footer__menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0;
}
.footer__menu a {
  color: rgba(31, 31, 26, 0.8);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer__menu a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(31, 31, 26, 0.05);
}
.footer__bottom p {
  font-size: 14px;
  color: rgba(31, 31, 26, 0.5);
  margin: 0;
}

/* === Animations === */
.fade-in-up { opacity: 0; }
.fade-in-up.is-visible {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in-up { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
}

/* === Responsive === */
@media (max-width: 1100px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sidebar { position: static; }
  .sidebar__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 991px) {
  /* Tablet & mobile — hide the inline nav, reveal the burger + off-canvas menu. */
  .nav-desktop-wrap { display: none; }
  .burger-btn { display: flex; }

  .article-hero__title { font-size: clamp(34px, 7vw, 56px); }
  .article-hero__byline { gap: 24px; }
  .article-hero__actions { margin-left: 0; }

  .stats { grid-template-columns: 1fr; }
  .more__grid { grid-template-columns: 1fr; }
  .article-body .pullquote,
  .article-body .wp-block-pullquote { padding: 32px 28px; }

  .footer__container { grid-template-columns: 1fr; gap: 32px; }
  .author-bio { flex-direction: column; gap: 16px; }
}

@media (max-width: 600px) {
  .sidebar__cards { grid-template-columns: 1fr; }
  .article-body p,
  .article-body ul li,
  .article-body ol li { font-size: 16px; }
  .hero-cover__inner { aspect-ratio: 4 / 3; }
  .ct thead th,
  .ct tbody td { padding: 14px 14px; font-size: 13px; }
  .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .container { padding: 0 16px; }
}

/* =================================================================
 * RUBRICS PAGE — turquoise palette, hero panel, grid of category cards
 * ================================================================= */

/* === RUBRICS HERO PANEL === */
.rubrics-hero { padding: 24px 0 64px; }

.rubrics-hero__panel {
  background-color: var(--turquoise);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.15);
  position: relative;
  overflow: hidden;
}
.rubrics-hero__panel::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.rubrics-hero__panel::after {
  content: '';
  position: absolute;
  bottom: -80px; right: 240px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(45, 106, 102, 0.12);
  pointer-events: none;
}
.rubrics-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}
.rubrics-hero__eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.rubrics-hero__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 32px;
}
.rubrics-hero__title .accent { color: var(--teal); }
.rubrics-hero__lede {
  font-family: 'Onest', sans-serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(31, 31, 26, 0.8);
  max-width: 720px;
  margin-bottom: 0;
}

/* === FILTERS === */
.filters { padding: 0 0 32px; }
.filters__form {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin: 0; padding: 0;
}
.filter-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(31, 31, 26, 0.5);
  margin-right: 8px;
  text-transform: uppercase;
}
.filter-chip {
  background: var(--surface);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-chip:hover {
  background: var(--turquoise-soft);
  border-color: var(--turquoise-deep);
}
.filter-chip.is-active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* === RUBRICS GRID === */
.rubrics-grid-section { padding: 0 0 120px; }

.rubrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rubrics-grid > .rubric-card.is-featured { grid-column: span 2; }

.rubric-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.rubric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.12);
}
.rubric-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  background-color: #F0F0F0;
}
.rubric-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.rubric-card:hover .rubric-card__img img { transform: scale(1.05); }

.rubric-card__num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(31, 31, 26, 0.35);
  letter-spacing: 0.05em;
}
.rubric-card__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.rubric-card__desc {
  font-size: 15px;
  color: rgba(31, 31, 26, 0.7);
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
}
.rubric-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.rubric-card__count {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rubric-card__count .num {
  font-size: 18px;
  color: var(--teal);
}
.rubric-card__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--turquoise-soft);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}
.rubric-card:hover .rubric-card__arrow {
  background: var(--teal);
  color: #fff;
  transform: translate(4px, -4px);
}

/* Featured rubric card */
.rubric-card.is-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 40px;
  align-items: stretch;
  background: var(--turquoise-soft);
}
.rubric-card.is-featured .rubric-card__img {
  margin-bottom: 0;
  aspect-ratio: auto;
  height: 100%;
  min-height: 280px;
}
.rubric-card.is-featured .featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rubric-card.is-featured .rubric-card__title {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 20px;
}
.rubric-card.is-featured .rubric-card__desc {
  font-size: 17px;
  margin-bottom: 32px;
  color: rgba(31, 31, 26, 0.8);
  max-width: 480px;
}
.rubric-card.is-featured .rubric-card__foot {
  border-top-color: rgba(31, 31, 26, 0.15);
}
.rubric-card.is-featured .rubric-card__arrow {
  background: var(--teal);
  color: #fff;
}
.rubric-card.is-featured:hover .rubric-card__arrow {
  background: var(--text);
  color: var(--turquoise);
}
.featured-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: #fff;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  align-self: flex-start;
}
.featured-pill iconify-icon { font-size: 14px; }

/* === ABOUT CTA === */
.about-cta { padding: 0 0 120px; }

.about-cta__panel {
  background-color: var(--turquoise);
  border-radius: var(--radius-lg);
  padding: 64px;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.15);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.about-cta__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.about-cta__title .accent { color: var(--teal); }
.about-cta__desc {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(31, 31, 26, 0.8);
}
.about-cta__action {
  display: flex;
  justify-content: flex-end;
}
.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--text);
  color: var(--turquoise);
  padding: 18px 28px 18px 32px;
  border-radius: 100px;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn-teal:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}
.btn-teal .arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background 0.25s ease;
}
.btn-teal:hover .arrow { background: rgba(255, 255, 255, 0.22); }

/* Extra animation delays (rubrics page has up to 7 cards) */
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }
.delay-6 { animation-delay: 0.48s; }
.delay-7 { animation-delay: 0.56s; }

/* === Rubrics responsive === */
@media (max-width: 1100px) {
  .rubrics-grid { grid-template-columns: repeat(2, 1fr); }
  .rubrics-grid > .rubric-card.is-featured { grid-column: span 2; }
  .rubric-card.is-featured { grid-template-columns: 1fr; }
  .rubric-card.is-featured .rubric-card__img { min-height: 240px; aspect-ratio: 16 / 9; }
}

@media (max-width: 991px) {
  .rubrics-hero__panel { padding: 56px 32px; }
  .about-cta__panel { grid-template-columns: 1fr; padding: 48px 32px; gap: 32px; }
  .about-cta__action { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .rubrics-grid { grid-template-columns: 1fr; }
  .rubrics-grid > .rubric-card.is-featured { grid-column: span 1; }
  .rubrics-hero__panel { padding: 40px 24px; }
}

/* =================================================================
 * COLLECTIONS PAGE — orange hero, title-chip cards, turquoise CTA
 * ================================================================= */

:root {
  --accent-deep: #C05B25;
}

/* Active menu item — accent override for collections context */
body.page-template-page-collections .nav-desktop a.is-active,
body.page-template-page-collections .nav-desktop .current-menu-item > a,
body.page-template-page-collections .nav-desktop .current_page_item > a {
  color: var(--accent);
}

/* === HERO PANEL (orange) === */
.col-hero { padding: 24px 0 64px; }

.col-hero__panel {
  background-color: var(--accent);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.18);
  position: relative;
  overflow: hidden;
  color: var(--text-on-dark);
}
.col-hero__panel::before {
  content: '';
  position: absolute;
  top: -140px; right: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  pointer-events: none;
}
.col-hero__panel::after {
  content: '';
  position: absolute;
  bottom: -100px; right: 200px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--turquoise);
  opacity: 0.85;
  pointer-events: none;
}
.col-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
}
.col-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  background: var(--turquoise);
  padding: 8px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.col-hero__eyebrow iconify-icon { font-size: 14px; }

.col-hero__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(48px, 6.5vw, 104px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text-on-dark);
  margin-bottom: 32px;
  text-shadow: 0 6px 20px rgba(31, 31, 26, 0.15);
}
.col-hero__title .turquoise { color: var(--turquoise); }

.col-hero__lede {
  font-family: 'Onest', sans-serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(245, 240, 230, 0.92);
  max-width: 720px;
  margin: 0;
}

/* === Collections filter chips (accent-themed) === */
body.page-template-page-collections .filter-chip:hover {
  background: var(--tint-orange);
  border-color: var(--accent);
}
body.page-template-page-collections .filter-chip.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* === COLLECTIONS GRID === */
.col-grid-section { padding: 0 0 120px; }

.col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.col-grid > .col-card.is-featured { grid-column: span 2; }

.col-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.col-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.12);
}

.col-card__title-chip {
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  margin-bottom: 20px;
  min-height: 132px;
  display: flex;
  align-items: center;
}
.col-card__title-chip.tint-green  { background-color: var(--tint-green); }
.col-card__title-chip.tint-wasabi { background-color: var(--tint-wasabi); }
.col-card__title-chip.tint-orange { background-color: var(--tint-orange); }

.col-card__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.col-card__num {
  position: absolute;
  top: 20px; right: 24px;
  font-family: 'Onest', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(31, 31, 26, 0.35);
  letter-spacing: 0.05em;
  z-index: 1;
}

.col-card__desc {
  font-size: 15px;
  color: rgba(31, 31, 26, 0.7);
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
}

.col-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.col-card__count {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.col-card__count .num {
  font-size: 18px;
  color: var(--accent);
}
.col-card__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--tint-orange);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}
.col-card:hover .col-card__arrow {
  background: var(--accent);
  color: #fff;
  transform: translate(4px, -4px);
}

/* Featured collection card (image left, body right) */
.col-card.is-featured {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  padding: 40px;
  align-items: stretch;
  background: var(--tint-orange);
}
.col-card.is-featured .featured-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #F0F0F0;
  min-height: 320px;
}
.col-card.is-featured .featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.col-card.is-featured .featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Featured pill uses accent (orange) bg + white text */
.col-card.is-featured .featured-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  align-self: flex-start;
}
.col-card.is-featured .col-card__title {
  font-size: clamp(32px, 3.4vw, 48px);
  margin-bottom: 20px;
}
.col-card.is-featured .col-card__desc {
  font-size: 17px;
  margin-bottom: 32px;
  color: rgba(31, 31, 26, 0.8);
  max-width: 480px;
}
.col-card.is-featured .col-card__foot {
  border-top-color: rgba(31, 31, 26, 0.15);
}
.col-card.is-featured .col-card__arrow {
  background: var(--accent);
  color: #fff;
}
.col-card.is-featured:hover .col-card__arrow {
  background: var(--text);
  color: var(--accent);
}

/* === COLLECTIONS CTA PANEL (turquoise with accent circle) === */
.col-cta { padding: 0 0 120px; }

.col-cta__panel {
  background-color: var(--accent);
  border-radius: var(--radius-lg);
  padding: 64px;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.18);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.col-cta__panel::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  pointer-events: none;
}
.col-cta__panel::after {
  content: '';
  position: absolute;
  bottom: -90px; right: 200px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--turquoise);
  opacity: 0.85;
  pointer-events: none;
}
.col-cta__inner { position: relative; z-index: 1; }

.col-cta__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-on-dark);
  margin-bottom: 20px;
  text-shadow: 0 4px 16px rgba(31, 31, 26, 0.12);
}
.col-cta__title .accent { color: var(--turquoise); }
.col-cta__desc {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(245, 240, 230, 0.9);
}
.col-cta__action {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--text-on-dark);
  color: var(--text);
  padding: 18px 28px 18px 32px;
  border-radius: 100px;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn-dark:hover {
  background: var(--text);
  color: var(--text-on-dark);
  transform: translateY(-2px);
}
.btn-dark .arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(31, 31, 26, 0.08);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-dark:hover .arrow {
  background: var(--turquoise);
  color: var(--text);
}

/* === Collections responsive === */
@media (max-width: 1100px) {
  .col-grid { grid-template-columns: repeat(2, 1fr); }
  .col-grid > .col-card.is-featured { grid-column: span 2; }
  .col-card.is-featured { grid-template-columns: 1fr; }
  .col-card.is-featured .featured-img { min-height: 220px; aspect-ratio: 16 / 9; }
}

@media (max-width: 991px) {
  .col-hero__panel { padding: 56px 32px; }
  .col-cta__panel { grid-template-columns: 1fr; padding: 48px 32px; gap: 32px; }
  .col-cta__action { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .col-grid { grid-template-columns: 1fr; }
  .col-grid > .col-card.is-featured { grid-column: span 1; }
  .col-hero__panel { padding: 40px 24px; }
}

/* =================================================================
 * ALL-ARTICLES PAGE — green hero, rank badges, filter bar, CTA
 * ================================================================= */

:root {
  --primary-soft: #F1F6EF;
}

/* Template-scoped active menu */
body.page-template-page-all-articles .nav-desktop a.is-active,
body.page-template-page-all-articles .nav-desktop .current-menu-item > a,
body.page-template-page-all-articles .nav-desktop .current_page_item > a {
  color: var(--primary);
}

/* === HERO (light green) === */
.all-hero { padding: 24px 0 64px; }

.all-hero__panel {
  background-color: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.12);
  position: relative;
  overflow: hidden;
}
.all-hero__panel::before {
  content: '';
  position: absolute;
  top: -140px; right: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(74, 124, 59, 0.1);
  pointer-events: none;
}
.all-hero__panel::after {
  content: '';
  position: absolute;
  bottom: -80px; right: 240px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(74, 124, 59, 0.06);
  pointer-events: none;
}
.all-hero__inner { position: relative; z-index: 1; max-width: 920px; }

.all-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.all-hero__eyebrow iconify-icon { font-size: 14px; color: var(--primary); }

.all-hero__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(48px, 6.5vw, 104px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 28px;
}
.all-hero__title .accent { color: var(--primary); }

.all-hero__lede {
  font-family: 'Onest', sans-serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(31, 31, 26, 0.78);
  max-width: 540px;
  margin-bottom: 36px;
}

.all-hero__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-chip {
  background: var(--surface);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.hero-chip:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* === TOP ARTICLES === */
.top-section { padding: 0 0 96px; }

.top-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.top-section__head .meta-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(31, 31, 26, 0.5);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}
.top-section__head h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.top-section__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
}
.top-section__more:hover { color: var(--primary); }

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

.top-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.top-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.12);
}
.top-card__rank {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(74, 124, 59, 0.3);
}
.top-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  background: #F0F0F0;
}
.top-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.top-card:hover .top-card__img img { transform: scale(1.05); }
.top-card__meta {
  font-size: 11px;
  font-weight: 700;
  color: rgba(31, 31, 26, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.top-card__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.top-card__desc {
  font-size: 14px;
  color: rgba(31, 31, 26, 0.7);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}
.top-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.top-card__views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(31, 31, 26, 0.6);
}
.top-card__views iconify-icon { font-size: 16px; color: var(--primary); }
.top-card__time {
  font-size: 13px;
  color: rgba(31, 31, 26, 0.5);
}

/* === ALL ARTICLES SECTION === */
.all-section { padding: 0 0 64px; }

.all-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.all-section__head h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.all-section__count {
  font-size: 14px;
  color: rgba(31, 31, 26, 0.5);
  font-weight: 600;
}
.all-section__count strong { color: var(--text); font-weight: 700; }

/* Filter bar (rounded pill container) — distinct from rubrics/collections inline chips */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 0 40px;
  padding: 16px 24px;
  background: var(--surface);
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(31, 31, 26, 0.04);
}
.filters-bar__group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filters-bar__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(31, 31, 26, 0.5);
  text-transform: uppercase;
  margin-right: 4px;
}
.filters-bar .filter-chip {
  background: transparent;
  color: var(--text);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.filters-bar .filter-chip:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}
.filters-bar .filter-chip.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.filters-bar__divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

/* === Article grid === */
.all-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.art-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.art-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(31, 31, 26, 0.1);
}
.art-card__img {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: #F0F0F0;
  position: relative;
}
.art-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.art-card:hover .art-card__img img { transform: scale(1.05); }

.art-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(31, 31, 26, 0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  text-decoration: none;
}

.art-card__title {
  font-family: 'Onest', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.art-card__desc {
  font-size: 14px;
  color: rgba(31, 31, 26, 0.7);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}
.art-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: rgba(31, 31, 26, 0.55);
}
.art-card__meta .dot { color: rgba(31, 31, 26, 0.25); }
.art-card__meta .arrow {
  margin-left: auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.art-card:hover .art-card__meta .arrow {
  background: var(--primary);
  color: #fff;
  transform: translate(4px, -4px);
}

/* Load more */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 64px 0 0;
}
.load-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--text);
  padding: 16px 32px;
  border-radius: 100px;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border: 1.5px solid var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}
.load-more:hover {
  background: var(--text);
  color: var(--primary-light);
}
.load-more iconify-icon { font-size: 18px; }

/* === ALL CTA (light green slogan banner) === */
.all-cta { padding: 64px 0 120px; }

.all-cta__panel {
  background-color: var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.12);
  position: relative;
  overflow: hidden;
}
.all-cta__panel::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(74, 124, 59, 0.1);
  pointer-events: none;
}
.all-cta__panel::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(74, 124, 59, 0.06);
  pointer-events: none;
}
.all-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}
.all-cta__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 0;
}
.all-cta__title .accent { color: var(--primary); }

/* === All-articles responsive === */
@media (max-width: 1100px) {
  .top-grid, .all-grid { grid-template-columns: repeat(2, 1fr); }
  .all-hero__panel { padding: 56px 40px; }
}
@media (max-width: 991px) {
  .all-hero__panel { padding: 48px 32px; }
  .all-cta__panel { padding: 56px 32px; }
  .filters-bar { border-radius: 24px; padding: 16px 20px; }
}
@media (max-width: 700px) {
  .top-grid, .all-grid { grid-template-columns: 1fr; }
  .all-hero__panel { padding: 40px 24px; }
  .all-cta__panel { padding: 48px 24px; }
}

/* =================================================================
 * FRONT PAGE — multi-section homepage
 * ================================================================= */

/* === HERO grid === */
.home-hero { padding: 16px 0 64px; }

.home-hero__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero-main {
  grid-column: 1 / 2;
  grid-row: 1 / 4;
  background-color: var(--primary);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.15);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.hero-main::before {
  content: '';
  position: absolute;
  top: -150px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(245, 240, 230, 0.12);
  pointer-events: none;
}
.hero-main::after {
  content: '';
  position: absolute;
  bottom: -100px; right: 80px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--turquoise);
  opacity: 0.4;
  pointer-events: none;
}
.hero-main__title {
  position: relative;
  z-index: 1;
  font-family: 'Onest', sans-serif;
  font-size: clamp(48px, 5.5vw, 92px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text-on-dark);
  text-shadow: 0 6px 20px rgba(31, 31, 26, 0.18);
  max-width: 92%;
}
.hero-main__title .accent { color: var(--turquoise); }

.hero-main__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero-main__caption {
  font-family: 'Onest', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(245, 240, 230, 0.85);
  max-width: 460px;
}
.hero-main__btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--text-on-dark);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.hero-main:hover .hero-main__btn {
  background: var(--turquoise);
  color: var(--text);
  transform: translate(4px, -4px);
}

.hero-side {
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  min-height: 180px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.hero-side:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(31, 31, 26, 0.12);
}
.hero-side__cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: auto;
}
.hero-side__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 24px;
  margin-right: 56px;
}
.hero-side__arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.25s;
}
.hero-side:hover .hero-side__arrow { transform: translate(4px, -4px); }

.hero-side.is-orange { background: var(--accent); color: var(--text-on-dark); grid-column: 2 / 3; grid-row: 1 / 2; }
.hero-side.is-orange .hero-side__cat { color: rgba(245, 240, 230, 0.85); }
.hero-side.is-orange .hero-side__arrow { color: var(--accent); }

.hero-side.is-teal { background: var(--teal); color: var(--text-on-dark); grid-column: 2 / 3; grid-row: 2 / 3; }
.hero-side.is-teal .hero-side__cat { color: rgba(245, 240, 230, 0.78); }
.hero-side.is-teal .hero-side__arrow { color: var(--teal); }

.hero-side.is-cream { background: var(--surface); color: var(--text); grid-column: 2 / 3; grid-row: 3 / 4; }
.hero-side.is-cream .hero-side__cat { color: var(--accent); }
.hero-side.is-cream .hero-side__arrow { background: var(--tint-orange); color: var(--accent); }
.hero-side.is-cream:hover .hero-side__arrow { background: var(--accent); color: #fff; }

/* === UNIVERSAL SECTION HEAD === */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.sec-head .meta-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(31, 31, 26, 0.5);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}
.sec-head h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.sec-head p {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(31, 31, 26, 0.7);
  line-height: 1.5;
  max-width: 520px;
}
.sec-head__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.sec-head__link:hover { color: var(--primary); }
.sec-head__link .arrow-bubble {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(31, 31, 26, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.sec-head__link:hover .arrow-bubble {
  background: var(--primary);
  color: #fff;
  transform: translate(4px, -4px);
}

/* === TOP ARTICLES (falling cards) === */
.home-top { padding: 32px 0 120px; }

.home-top__container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: stretch;
}
.home-top__intro { grid-column: 1 / 2; }

.home-top__card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px var(--shadow);
  text-decoration: none;
  color: var(--text);
  margin-top: 160px;
  position: relative;
  top: 0px;
  transition: top 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.2s, box-shadow 0.2s;
}
.home-top__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px var(--shadow);
  transition-delay: 0s !important;
}
.home-top__card--1 { grid-column: 2 / 3; }
.home-top__card--2 { grid-column: 3 / 4; top: -80px; transition-delay: 0.1s; }
.home-top__card--3 { grid-column: 4 / 5; top: -160px; transition-delay: 0.2s; }
.home-top.is-aligned .home-top__card--2,
.home-top.is-aligned .home-top__card--3 { top: 0px; }

@media (prefers-reduced-motion: reduce) {
  .home-top__card { margin-top: 0; top: 0 !important; transition: none; }
}

.ta-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  background: #F0F0F0;
}
.ta-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.home-top__card:hover .ta-img img { transform: scale(1.05); }

.ta-title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.ta-desc {
  font-size: 14px;
  color: rgba(31, 31, 26, 0.7);
  line-height: 1.5;
}

/* === LONGREAD === */
.home-longread { padding: 0 0 120px; }
.home-longread__panel {
  background-color: var(--cool-grey);
  border-radius: var(--radius-lg);
  padding: 64px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.12);
}
.home-longread__panel::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(74, 124, 59, 0.08);
  pointer-events: none;
}
.home-longread__inner { position: relative; z-index: 1; }
.longread-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.longread-tag {
  background-color: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.longread-time {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(31, 31, 26, 0.7);
  letter-spacing: 0.05em;
  background-color: rgba(31, 31, 26, 0.06);
  padding: 8px 16px;
  border-radius: 100px;
}
.longread-title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 40px;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 16px rgba(31, 31, 26, 0.06);
}
.longread-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}
.longread-cols p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(31, 31, 26, 0.8);
}
.longread-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}
.longread-btn:hover { color: var(--accent); }
.longread-btn .arrow-bubble {
  width: 48px; height: 48px;
  border-radius: 50%;
  background-color: rgba(31, 31, 26, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: background 0.3s, transform 0.3s, color 0.3s;
}
.longread-btn:hover .arrow-bubble {
  background: var(--accent);
  color: #fff;
  transform: translate(4px, -4px);
}

/* === EDITORIAL CATEGORIES LIST === */
.home-categories { padding: 0 0 120px; }
.editorial-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
}
.ed-row { border-bottom: 1px solid var(--border); }
.ed-row:first-child { border-top: 1px solid var(--border); }

.ed-link {
  display: flex;
  align-items: center;
  padding: 32px 24px;
  text-decoration: none;
  color: var(--text);
  transition: background-color 0.4s;
  margin: 0 -24px;
  border-radius: var(--radius-sm);
}
.ed-link.hover-orange:hover { background-color: var(--tint-orange); }
.ed-link.hover-wasabi:hover { background-color: var(--tint-wasabi); }
.ed-link.hover-green:hover  { background-color: var(--tint-green); }

.ed-num {
  font-family: 'Onest', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: rgba(31, 31, 26, 0.4);
  width: 80px;
  flex-shrink: 0;
  transition: color 0.3s;
}
.ed-link:hover .ed-num { color: var(--text); }
.ed-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-right: 32px;
}
.ed-title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  transition: transform 0.3s;
}
.ed-link:hover .ed-title,
.ed-link:hover .ed-desc { transform: translateX(8px); }
.ed-desc {
  font-size: 16px;
  color: rgba(31, 31, 26, 0.7);
  line-height: 1.5;
  max-width: 600px;
  transition: transform 0.3s;
}
.ed-img {
  width: 100px; height: 100px;
  flex-shrink: 0;
  margin-right: 48px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  background: var(--surface);
}
.ed-img img { width: 100%; height: 100%; object-fit: cover; }
.ed-link:hover .ed-img {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}
.ed-arrow {
  font-size: 32px;
  color: rgba(31, 31, 26, 0.3);
  transition: transform 0.4s, color 0.3s;
}
.ed-link:hover .ed-arrow {
  color: var(--text);
  transform: translate(8px, -8px);
}

/* === FRESH ARTICLES === */
.home-fresh { padding: 0 0 120px; }
.fresh__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.fresh-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fresh-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.12);
}
.fresh-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  background: #F0F0F0;
  position: relative;
}
.fresh-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.fresh-card:hover .fresh-card__img img { transform: scale(1.05); }
.fresh-card__cat {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(31, 31, 26, 0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.fresh-card__title {
  font-family: 'Onest', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.fresh-card__desc {
  font-size: 14px;
  color: rgba(31, 31, 26, 0.7);
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}
.fresh-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: rgba(31, 31, 26, 0.55);
}
.fresh-card__meta .dot { color: rgba(31, 31, 26, 0.25); }
.fresh-card__meta .arrow {
  margin-left: auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.fresh-card:hover .fresh-card__meta .arrow {
  background: var(--primary);
  color: #fff;
  transform: translate(4px, -4px);
}

/* === MINI COL GRID (classes / collections on homepage) === */
.home-mini-grid { padding: 0 0 120px; }
.col-grid-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.col-card-mini {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
}
.col-card-mini:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.12);
}
.col-card-mini__chip {
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  margin-bottom: 18px;
  min-height: 120px;
  display: flex;
  align-items: center;
}
.col-card-mini__chip.tint-green  { background-color: var(--tint-green); }
.col-card-mini__chip.tint-wasabi { background-color: var(--tint-wasabi); }
.col-card-mini__chip.tint-orange { background-color: var(--tint-orange); }
.col-card-mini__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.col-card-mini__desc {
  font-size: 14px;
  color: rgba(31, 31, 26, 0.7);
  line-height: 1.55;
  flex-grow: 1;
}
.col-actions {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.btn-orange {
  background-color: var(--accent);
  color: #fff;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.btn-orange:hover { opacity: 0.9; transform: translateY(-2px); }

/* === ABOUT PROJECT (turquoise) === */
.home-about { padding: 0 0 120px; }
.about-project__panel {
  background-color: var(--turquoise);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.15);
  position: relative;
  overflow: hidden;
}
.about-project__panel::before {
  content: '';
  position: absolute;
  top: -120px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.about-project__panel::after {
  content: '';
  position: absolute;
  bottom: -80px; right: 240px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(74, 124, 59, 0.12);
  pointer-events: none;
}
.about-project__inner { position: relative; z-index: 1; max-width: 920px; }
.about-project__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.about-project__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 32px;
}
.about-project__title .accent { color: var(--teal); }
.about-project__lede {
  font-family: 'Onest', sans-serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(31, 31, 26, 0.8);
  max-width: 720px;
  margin-bottom: 40px;
}
.about-project__pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ap-pill {
  background: var(--surface);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.ap-pill:hover {
  background: var(--text);
  color: var(--turquoise);
  transform: translateY(-2px);
}

/* === Front-page responsive === */
@media (max-width: 1279px) {
  .hero-main { padding: 48px 36px; }
  .col-grid-mini { grid-template-columns: repeat(2, 1fr); }
  .home-top__card { padding: 24px; margin-top: 120px; }
  .home-top__card--2 { top: -60px; }
  .home-top__card--3 { top: -120px; }
  .home-top.is-aligned .home-top__card--2,
  .home-top.is-aligned .home-top__card--3 { top: 0px; }
}
@media (max-width: 991px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hero-main { grid-column: 1 / 2; grid-row: 1 / 2; padding: 48px 32px; }
  .hero-side.is-orange { grid-column: 1 / 2; grid-row: 2 / 3; }
  .hero-side.is-teal   { grid-column: 1 / 2; grid-row: 3 / 4; }
  .hero-side.is-cream  { grid-column: 1 / 2; grid-row: 4 / 5; }

  .home-top__container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .home-top__intro { grid-column: 1 / 3; margin-bottom: 24px; }
  .home-top__card--1 { grid-column: 1 / 2; margin-top: 0; }
  .home-top__card--2 { grid-column: 2 / 3; margin-top: 60px; }
  .home-top__card--3 { grid-column: 1 / 2; margin-top: 0; }
  .home-top.is-aligned .home-top__card { top: 0px !important; }
  .home-top__card { transition-delay: 0s !important; }

  .home-longread__panel { padding: 48px 32px; }
  .longread-cols { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }

  .fresh__grid { grid-template-columns: 1fr; }
  .col-grid-mini { grid-template-columns: 1fr; }

  .about-project__panel { padding: 56px 32px; }
}
@media (max-width: 600px) {
  .home-top__container { grid-template-columns: 1fr; }
  .home-top__intro { grid-column: 1 / 2; }
  .home-top__card--1, .home-top__card--2, .home-top__card--3 {
    grid-column: 1 / 2;
    margin-top: 0;
  }
  .ed-link { flex-wrap: wrap; padding: 24px 16px; }
  .ed-num { display: none; }
  .ed-img { width: 72px; height: 72px; margin-right: 24px; }
  .ed-content { order: 3; width: 100%; margin-top: 16px; padding-right: 0; }
  .ed-arrow { margin-left: auto; }
}

/* =================================================================
 * COLLABORATION PAGE — violet palette, formats grid, contact CTA
 * ================================================================= */

:root {
  --violet:        #C9B7E5;
  --violet-deep:   #6B52A8;
  --violet-soft:   #F2EDF8;
}

.highlight-violet { color: var(--violet-deep); }

/* Template-scoped active menu (violet) */
body.page-template-page-collaboration .nav-desktop a.is-active,
body.page-template-page-collaboration .nav-desktop .current-menu-item > a,
body.page-template-page-collaboration .nav-desktop .current_page_item > a {
  color: var(--violet-deep);
}

/* === Collaboration HERO (violet) === */
.collab-hero { padding: 24px 0 64px; }

.collab-hero__panel {
  background-color: var(--violet);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.15);
  position: relative;
  overflow: hidden;
}
.collab-hero__panel::before {
  content: '';
  position: absolute;
  top: -140px; right: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}
.collab-hero__panel::after {
  content: '';
  position: absolute;
  bottom: -90px; right: 220px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--violet-deep);
  opacity: 0.18;
  pointer-events: none;
}
.collab-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
}
.collab-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--violet-deep);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.collab-hero__eyebrow iconify-icon { font-size: 14px; }

.collab-hero__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(48px, 6.5vw, 104px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 32px;
  text-shadow: 0 4px 16px rgba(31, 31, 26, 0.08);
}
.collab-hero__title .accent { color: var(--violet-deep); }

.collab-hero__lede {
  font-family: 'Onest', sans-serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(31, 31, 26, 0.8);
  max-width: 720px;
  margin: 0;
}

/* === FORMATS GRID === */
.formats { padding: 0 0 96px; }
.formats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.fmt-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 8px 32px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fmt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.1);
}
.fmt-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}
.fmt-card__num {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(31, 31, 26, 0.3);
  letter-spacing: 0.05em;
}
.fmt-card__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.fmt-card__desc {
  font-size: 15px;
  color: rgba(31, 31, 26, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}
.fmt-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.fmt-tag {
  background: var(--violet-soft);
  color: var(--violet-deep);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* === CONTACT CTA (violet, centered) === */
.contact-cta { padding: 0 0 120px; }

.contact-cta__panel {
  background-color: var(--violet);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.15);
  position: relative;
  overflow: hidden;
}
.contact-cta__panel::before {
  content: '';
  position: absolute;
  top: -110px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.contact-cta__panel::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--violet-deep);
  opacity: 0.15;
  pointer-events: none;
}
.contact-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.contact-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--violet-deep);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.contact-cta__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}
.contact-cta__title .accent { color: var(--violet-deep); }
.contact-cta__desc {
  font-family: 'Onest', sans-serif;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(31, 31, 26, 0.78);
  margin: 0 auto 40px;
  max-width: 680px;
}
.contact-cta__email-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: var(--text);
  color: var(--text-on-dark);
  padding: 20px 24px 20px 36px;
  border-radius: 100px;
  font-family: 'Onest', sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
  text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.25s;
  margin-bottom: 24px;
}
.contact-cta__email-btn:hover {
  background: var(--violet-deep);
  transform: translateY(-2px);
}
.contact-cta__email-btn .arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: background 0.25s;
}
.contact-cta__email-btn:hover .arrow { background: rgba(255, 255, 255, 0.25); }

.contact-cta__note {
  font-size: 14px;
  color: rgba(31, 31, 26, 0.65);
  font-weight: 500;
}

/* === Collaboration responsive === */
@media (max-width: 1100px) {
  .formats__grid { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
  .collab-hero__panel,
  .contact-cta__panel { padding: 56px 32px; }
}
@media (max-width: 700px) {
  .collab-hero__panel,
  .contact-cta__panel { padding: 40px 24px; }
  .contact-cta__email-btn { font-size: 16px; padding: 16px 18px 16px 24px; }
}

/* =================================================================
 * DIRECTIONS PAGE — honey/sky palette + 8-card grid
 * ================================================================= */

:root {
  --honey:      #A6C8E8;
  --honey-deep: #2B5A8C;
  --honey-soft: #E5EEF7;
}

.highlight-honey { color: var(--honey-deep); }

/* Template-scoped active menu */
body.page-template-page-directions .nav-desktop a.is-active,
body.page-template-page-directions .nav-desktop .current-menu-item > a,
body.page-template-page-directions .nav-desktop .current_page_item > a {
  color: var(--honey-deep);
}

/* === HERO PANEL (honey) === */
.dir-hero { padding: 24px 0 64px; }

.dir-hero__panel {
  background-color: var(--honey);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.15);
  position: relative;
  overflow: hidden;
}
.dir-hero__panel::before {
  content: '';
  position: absolute;
  top: -140px; right: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}
.dir-hero__panel::after {
  content: '';
  position: absolute;
  bottom: -90px; right: 220px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--honey-deep);
  opacity: 0.18;
  pointer-events: none;
}
.dir-hero__inner { position: relative; z-index: 1; max-width: 960px; }

.dir-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--honey-deep);
  background: var(--surface);
  padding: 8px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.dir-hero__eyebrow iconify-icon { font-size: 14px; }

.dir-hero__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(48px, 6.5vw, 104px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 32px;
}
.dir-hero__title .accent { color: var(--honey-deep); }

.dir-hero__lede {
  font-family: 'Onest', sans-serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(31, 31, 26, 0.8);
  max-width: 720px;
  margin: 0;
}

/* Filters — reuse .filter-chip but honey scheme */
body.page-template-page-directions .filter-chip:hover {
  background: var(--honey-soft);
  border-color: var(--honey-deep);
}
body.page-template-page-directions .filter-chip.is-active {
  background: var(--honey-deep);
  color: #fff;
  border-color: var(--honey-deep);
}

/* === DIRECTIONS GRID === */
.dir-grid-section { padding: 0 0 120px; }

.dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.dir-grid > .dir-card.is-featured { grid-column: span 2; }

.dir-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.dir-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.12);
}

.dir-card__num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: 'Onest', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(31, 31, 26, 0.35);
  letter-spacing: 0.05em;
  z-index: 1;
}

.dir-card__chip {
  border-radius: var(--radius-sm);
  padding: 26px 24px;
  margin-bottom: 20px;
  min-height: 132px;
  display: flex;
  align-items: center;
}
.dir-card__chip.tint-orange { background-color: var(--tint-orange); }
.dir-card__chip.tint-green  { background-color: var(--tint-green); }
.dir-card__chip.tint-wasabi { background-color: var(--tint-wasabi); }

.dir-card__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(22px, 1.9vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.dir-card__desc {
  font-size: 15px;
  color: rgba(31, 31, 26, 0.7);
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
  /* Clamp long descriptions so direction cards match the compact height
     of the collection cards on the Подборки page. */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dir-card.is-featured .dir-card__desc {
  -webkit-line-clamp: 3;
}

.dir-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.dir-card__meta {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dir-card__meta .num,
.dir-card__meta iconify-icon {
  color: var(--honey-deep);
  font-size: 16px;
}
.dir-card__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--honey-soft);
  color: var(--honey-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.dir-card:hover .dir-card__arrow {
  background: var(--honey-deep);
  color: #fff;
  transform: translate(4px, -4px);
}

/* Featured layout — image left + body right */
.dir-card.is-featured {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  padding: 40px;
  align-items: stretch;
  background: var(--honey);
}
.dir-card.is-featured .featured-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #F0F0F0;
  min-height: 320px;
}
.dir-card.is-featured .featured-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.dir-card.is-featured .featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dir-card.is-featured .featured-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--honey-deep);
  color: #fff;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  align-self: flex-start;
}
.dir-card.is-featured .featured-pill iconify-icon { font-size: 14px; }
.dir-card.is-featured .dir-card__title {
  font-size: clamp(32px, 3.4vw, 48px);
  margin-bottom: 20px;
}
.dir-card.is-featured .dir-card__desc {
  font-size: 17px;
  margin-bottom: 32px;
  color: rgba(31, 31, 26, 0.8);
  max-width: 480px;
}
.dir-card.is-featured .dir-card__foot {
  border-top-color: rgba(31, 31, 26, 0.15);
}
.dir-card.is-featured .dir-card__arrow {
  background: var(--honey-deep);
  color: #fff;
}
.dir-card.is-featured:hover .dir-card__arrow {
  background: var(--text);
  color: var(--honey);
}

/* === DIRECTIONS CTA === */
.dir-cta { padding: 0 0 120px; }

.dir-cta__panel {
  background-color: var(--honey-soft);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  box-shadow: 0 24px 64px rgba(31, 31, 26, 0.15);
  position: relative;
  overflow: hidden;
}
.dir-cta__panel::before {
  content: '';
  position: absolute;
  top: -110px; left: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}
.dir-cta__panel::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: var(--honey-deep);
  opacity: 0.15;
  pointer-events: none;
}
.dir-cta__inner {
  position: relative; z-index: 1;
  max-width: 880px;
}
.dir-cta__title {
  font-family: 'Onest', sans-serif;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin: 0;
}
.dir-cta__title .accent { color: var(--honey-deep); }

/* === Directions responsive === */
@media (max-width: 1100px) {
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .dir-grid > .dir-card.is-featured { grid-column: span 2; }
  .dir-card.is-featured { grid-template-columns: 1fr; }
  .dir-card.is-featured .featured-img { min-height: 220px; aspect-ratio: 16 / 9; }
}
@media (max-width: 991px) {
  .dir-hero__panel, .dir-cta__panel { padding: 56px 32px; }
}
@media (max-width: 700px) {
  .dir-grid { grid-template-columns: 1fr; }
  .dir-grid > .dir-card.is-featured { grid-column: span 1; }
  .dir-hero__panel { padding: 40px 24px; }
}
