/*
Theme Name: The Essential Review — Editorial
Theme URI: https://theessentialreview.com/
Description: A premium editorial-commerce child theme for The Essential Review with product cards, conversion-focused layouts, and modern magazine styling. Requires the HybridMag parent theme.
Author: The Essential Review
Template: hybridmag
Version: 3.0.0
Text Domain: essential-review-editorial
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ter-ink: #0f172a;
  --ter-text: #334155;
  --ter-muted: #64748b;
  --ter-soft: #94a3b8;
  --ter-bg: #faf9f6;
  --ter-surface: #ffffff;
  --ter-surface-alt: #f4f7f6;
  --ter-accent: #0f766e;
  --ter-accent-dark: #115e59;
  --ter-accent-soft: #dff3ef;
  --ter-gold: #b78636;
  --ter-gold-soft: #f6ecd9;
  --ter-border: #e2e8f0;
  --ter-danger: #9f1239;
  --ter-success: #166534;
  --ter-radius-sm: 10px;
  --ter-radius: 16px;
  --ter-radius-lg: 26px;
  --ter-shadow-sm: 0 7px 22px rgba(15, 23, 42, 0.06);
  --ter-shadow: 0 18px 54px rgba(15, 23, 42, 0.09);
  --ter-container: 1180px;
  --ter-reading: 760px;
  --ter-transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ter-bg);
  color: var(--ter-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .ter-header {
  top: 32px;
}

a {
  color: var(--ter-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--ter-accent-dark);
}

button,
input,
select,
textarea {
  font: inherit;
}

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

figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ter-brand__name {
  margin-top: 0;
  color: var(--ter-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.026em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.25rem, 5.2vw, 4.4rem);
}

h2 {
  font-size: clamp(1.72rem, 3vw, 2.45rem);
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.62rem);
}

p,
ul,
ol,
blockquote,
pre,
table {
  margin-top: 0;
}

::selection {
  background: var(--ter-accent-soft);
  color: var(--ter-ink);
}

.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;
}

.screen-reader-text:focus {
  top: 8px;
  left: 8px;
  z-index: 99999;
  width: auto;
  height: auto;
  padding: 0.8rem 1rem;
  clip: auto;
  background: var(--ter-ink);
  color: #fff;
  border-radius: 8px;
}

.ter-container {
  width: min(calc(100% - 2rem), var(--ter-container));
  margin-inline: auto;
}

.ter-reading-width {
  width: min(calc(100% - 2rem), var(--ter-reading));
  margin-inline: auto;
}

.ter-site-main {
  min-height: 58vh;
}

.ter-section {
  padding-block: clamp(3.4rem, 7vw, 6.8rem);
}

.ter-section--compact {
  padding-block: clamp(2.4rem, 4.5vw, 4.2rem);
}

.ter-section--white {
  background: var(--ter-surface);
}

.ter-section--soft {
  background: var(--ter-surface-alt);
}

.ter-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ter-section__header h2,
.ter-section__header p {
  margin-bottom: 0;
}

.ter-section__intro {
  max-width: 680px;
  color: var(--ter-muted);
  font-size: 1.06rem;
}

.ter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--ter-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ter-eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.ter-kicker {
  color: var(--ter-muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ter-button,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.78rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ter-accent);
  color: #fff !important;
  box-shadow: none;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--ter-transition), background var(--ter-transition), box-shadow var(--ter-transition);
}

.ter-button:hover,
.ter-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
button[type="submit"]:hover,
button[type="submit"]:focus {
  background: var(--ter-accent-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.ter-button--secondary {
  border-color: var(--ter-border);
  background: #fff;
  color: var(--ter-ink) !important;
}

.ter-button--secondary:hover,
.ter-button--secondary:focus {
  border-color: var(--ter-accent);
  background: var(--ter-accent-soft);
  color: var(--ter-accent-dark) !important;
}

.ter-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 760;
  text-decoration: none;
}

.ter-text-link::after {
  content: "→";
  transition: transform var(--ter-transition);
}

.ter-text-link:hover::after,
.ter-text-link:focus::after {
  transform: translateX(3px);
}

/* Header */
.ter-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.ter-header__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px;
}

.ter-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--ter-ink);
  text-decoration: none;
}

.ter-brand:hover,
.ter-brand:focus {
  color: var(--ter-ink);
}

.ter-brand__mark {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--ter-ink);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.ter-brand__text {
  min-width: 0;
}

.ter-brand__name {
  display: block;
  overflow: hidden;
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ter-brand__tagline {
  display: block;
  margin-top: 0.22rem;
  overflow: hidden;
  color: var(--ter-muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ter-brand .custom-logo {
  display: block;
  width: auto;
  max-height: 48px;
}

.ter-brand--logo .custom-logo-link {
  display: block;
}

.ter-nav ul {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ter-nav li {
  position: relative;
}

.ter-nav a {
  display: block;
  padding-block: 0.6rem;
  color: var(--ter-ink);
  font-size: 0.93rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.ter-nav a:hover,
.ter-nav a:focus,
.ter-nav .current-menu-item > a,
.ter-nav .current-category-ancestor > a,
.ter-nav .current-post-ancestor > a {
  color: var(--ter-accent);
}

.ter-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  display: none;
  min-width: 220px;
  padding: 0.75rem;
  border: 1px solid var(--ter-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--ter-shadow);
}

.ter-nav li:hover > .sub-menu,
.ter-nav li:focus-within > .sub-menu {
  display: block;
}

.ter-nav .sub-menu a {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
}

.ter-nav .sub-menu a:hover,
.ter-nav .sub-menu a:focus {
  background: var(--ter-surface-alt);
}

.ter-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ter-icon-button,
.ter-menu-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ter-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ter-ink);
  cursor: pointer;
}

.ter-icon-button:hover,
.ter-icon-button:focus,
.ter-menu-toggle:hover,
.ter-menu-toggle:focus {
  border-color: var(--ter-accent);
  color: var(--ter-accent);
}

.ter-menu-toggle {
  display: none;
}

.ter-search-panel {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--ter-border);
  background: #fff;
}

.ter-search-panel.is-open {
  display: block;
}

.ter-search-form {
  display: flex;
  gap: 0.65rem;
  max-width: 720px;
  margin-inline: auto;
}

.ter-search-form label {
  flex: 1;
}

.ter-search-form input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 1rem;
  border: 1px solid var(--ter-border);
  border-radius: 999px;
  background: var(--ter-bg);
  color: var(--ter-ink);
}

/* Hero */
.ter-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7.5rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(15, 118, 110, 0.13), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(183, 134, 54, 0.12), transparent 30%),
    linear-gradient(180deg, #fff 0%, var(--ter-bg) 100%);
}

.ter-hero::after {
  position: absolute;
  right: -120px;
  bottom: -190px;
  width: 430px;
  height: 430px;
  content: "";
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(15, 118, 110, 0.035), 0 0 0 110px rgba(15, 118, 110, 0.025);
}

.ter-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.ter-hero__copy h1 {
  max-width: 820px;
  margin-bottom: 1.25rem;
}

.ter-hero__lede {
  max-width: 700px;
  margin-bottom: 1.65rem;
  color: var(--ter-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.ter-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ter-hero__panel {
  position: relative;
  padding: 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--ter-radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--ter-shadow);
  backdrop-filter: blur(10px);
}

.ter-hero__panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.ter-hero-mini {
  min-height: 142px;
  padding: 1.1rem;
  border: 1px solid var(--ter-border);
  border-radius: 18px;
  background: #fff;
}

.ter-hero-mini:nth-child(1) {
  background: linear-gradient(145deg, #ecf8f6, #fff);
}

.ter-hero-mini:nth-child(2) {
  background: linear-gradient(145deg, #fbf3e6, #fff);
}

.ter-hero-mini:nth-child(3) {
  background: linear-gradient(145deg, #f1f5f9, #fff);
}

.ter-hero-mini:nth-child(4) {
  background: linear-gradient(145deg, #edf4ff, #fff);
}

.ter-hero-mini__icon {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 10px;
  background: var(--ter-ink);
  color: #fff;
}

.ter-hero-mini strong {
  display: block;
  color: var(--ter-ink);
  font-size: 0.96rem;
  line-height: 1.25;
}

.ter-hero-mini span {
  display: block;
  margin-top: 0.35rem;
  color: var(--ter-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.ter-trust-strip {
  border-block: 1px solid var(--ter-border);
  background: #fff;
}

.ter-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ter-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 74px;
  padding: 1rem;
  color: var(--ter-muted);
  font-size: 0.92rem;
  font-weight: 680;
  text-align: center;
}

.ter-trust-item + .ter-trust-item {
  border-left: 1px solid var(--ter-border);
}

.ter-trust-item svg {
  color: var(--ter-accent);
}

/* Cards */
.ter-grid {
  display: grid;
  gap: 1.35rem;
}

.ter-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ter-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ter-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ter-border);
  border-radius: var(--ter-radius);
  background: #fff;
  box-shadow: var(--ter-shadow-sm);
  transition: transform var(--ter-transition), box-shadow var(--ter-transition), border-color var(--ter-transition);
}

.ter-card:hover,
.ter-card:focus-within {
  border-color: rgba(15, 118, 110, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--ter-shadow);
}

.ter-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #e7efee, #f8f4eb);
}

.ter-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.ter-card:hover .ter-card__media img,
.ter-card:focus-within .ter-card__media img {
  transform: scale(1.025);
}

.ter-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--ter-accent);
}

.ter-card__body {
  padding: 1.25rem;
}

.ter-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
  color: var(--ter-muted);
  font-size: 0.78rem;
  font-weight: 680;
}

.ter-card__category {
  color: var(--ter-accent);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ter-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.34rem;
}

.ter-card h3 a {
  color: var(--ter-ink);
  text-decoration: none;
}

.ter-card h3 a:hover,
.ter-card h3 a:focus {
  color: var(--ter-accent);
}

.ter-card__excerpt {
  margin-bottom: 1rem;
  color: var(--ter-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.ter-category-card {
  position: relative;
  display: flex;
  min-height: 310px;
  overflow: hidden;
  align-items: end;
  border-radius: 20px;
  background: var(--ter-ink);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--ter-shadow-sm);
}

.ter-category-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04) 15%, rgba(15, 23, 42, 0.92) 100%);
}

.ter-category-card__image,
.ter-category-card__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ter-category-card__image {
  object-fit: cover;
  transition: transform 300ms ease;
}

.ter-category-card__fallback {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(145deg, var(--ter-accent), var(--ter-ink));
}

.ter-category-card:nth-child(2) .ter-category-card__fallback {
  background: linear-gradient(145deg, #8a6423, var(--ter-ink));
}

.ter-category-card:nth-child(3) .ter-category-card__fallback {
  background: linear-gradient(145deg, #475569, var(--ter-ink));
}

.ter-category-card:nth-child(4) .ter-category-card__fallback {
  background: linear-gradient(145deg, #1d4ed8, var(--ter-ink));
}

.ter-category-card:hover .ter-category-card__image,
.ter-category-card:focus .ter-category-card__image {
  transform: scale(1.035);
}

.ter-category-card__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.45rem;
}

.ter-category-card__content h3 {
  margin-bottom: 0.45rem;
  color: #fff;
  font-size: 1.48rem;
}

.ter-category-card__content p {
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.ter-category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 760;
}

.ter-card--featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100%;
}

.ter-card--featured .ter-card__media {
  height: 100%;
  aspect-ratio: auto;
}

.ter-card--featured .ter-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

.ter-card--featured h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

.ter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  margin-bottom: 0.85rem;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: var(--ter-gold-soft);
  color: #76541d;
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Methodology */
.ter-method-card {
  padding: 1.7rem;
  border: 1px solid var(--ter-border);
  border-radius: var(--ter-radius);
  background: #fff;
}

.ter-method-card__number {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 1.1rem;
  place-items: center;
  border-radius: 12px;
  background: var(--ter-accent-soft);
  color: var(--ter-accent-dark);
  font-weight: 820;
}

.ter-method-card h3 {
  margin-bottom: 0.55rem;
}

.ter-method-card p {
  margin-bottom: 0;
  color: var(--ter-muted);
  font-size: 0.95rem;
}

.ter-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: var(--ter-radius-lg);
  background: var(--ter-ink);
  color: #fff;
}

.ter-cta::after {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 310px;
  height: 310px;
  content: "";
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.22);
}

.ter-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ter-cta h2 {
  max-width: 680px;
  margin-bottom: 0.65rem;
  color: #fff;
}

.ter-cta p {
  max-width: 680px;
  margin-bottom: 0;
  color: #cbd5e1;
}

/* Archive and page hero */
.ter-page-hero {
  padding-block: clamp(3rem, 6vw, 5.8rem);
  border-bottom: 1px solid var(--ter-border);
  background: #fff;
}

.ter-page-hero__inner {
  max-width: 840px;
}

.ter-page-hero h1 {
  margin-bottom: 0.85rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.ter-page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ter-muted);
  font-size: 1.12rem;
}

.ter-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.ter-pagination {
  margin-top: 2.2rem;
}

.ter-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.ter-pagination .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding-inline: 0.7rem;
  border: 1px solid var(--ter-border);
  border-radius: 10px;
  background: #fff;
  color: var(--ter-ink);
  font-weight: 700;
  text-decoration: none;
}

.ter-pagination .current,
.ter-pagination .page-numbers:hover,
.ter-pagination .page-numbers:focus {
  border-color: var(--ter-accent);
  background: var(--ter-accent);
  color: #fff;
}

/* Single article */
.ter-article-hero {
  padding-block: clamp(2.8rem, 6vw, 5.6rem) 2rem;
  background: #fff;
}

.ter-article-hero__inner {
  max-width: 930px;
}

.ter-article-hero h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.3rem, 5vw, 4.25rem);
}

.ter-article-deck {
  max-width: 800px;
  margin-bottom: 1.2rem;
  color: var(--ter-muted);
  font-size: clamp(1.08rem, 1.7vw, 1.24rem);
}

.ter-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  color: var(--ter-muted);
  font-size: 0.88rem;
}

.ter-article-meta a {
  color: var(--ter-text);
  font-weight: 720;
  text-decoration: none;
}

.ter-article-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.ter-article-image {
  width: min(calc(100% - 2rem), 1040px);
  margin: 0 auto clamp(2rem, 5vw, 3.6rem);
}

.ter-article-image img {
  display: block;
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--ter-shadow-sm);
}

.ter-article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--ter-reading)) 250px;
  justify-content: center;
  gap: 3rem;
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

.ter-article-main {
  min-width: 0;
}

.ter-disclosure {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--ter-border);
  border-left: 4px solid var(--ter-accent);
  border-radius: 12px;
  background: #fff;
  color: var(--ter-muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.ter-disclosure strong {
  color: var(--ter-ink);
}

.ter-disclosure p:last-child {
  margin-bottom: 0;
}

.ter-toc {
  display: none;
  margin-bottom: 1.75rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--ter-border);
  border-radius: var(--ter-radius);
  background: #fff;
}

.ter-toc.is-ready {
  display: block;
}

.ter-toc__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--ter-ink);
  font-weight: 780;
}

.ter-toc ol {
  margin: 0;
  padding-left: 1.15rem;
}

.ter-toc li + li {
  margin-top: 0.35rem;
}

.ter-toc a {
  color: var(--ter-text);
  font-size: 0.92rem;
  text-decoration: none;
}

.ter-toc a:hover,
.ter-toc a:focus {
  color: var(--ter-accent);
}

.ter-entry-content {
  color: var(--ter-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.82;
}

.ter-entry-content > * {
  max-width: 100%;
}

.ter-entry-content p,
.ter-entry-content ul,
.ter-entry-content ol {
  margin-bottom: 1.35em;
}

.ter-entry-content h2,
.ter-entry-content h3,
.ter-entry-content h4 {
  scroll-margin-top: 110px;
}

.ter-entry-content h2 {
  margin-top: 2.2em;
  margin-bottom: 0.75em;
  padding-top: 0.15em;
}

.ter-entry-content h3 {
  margin-top: 1.7em;
  margin-bottom: 0.62em;
}

.ter-entry-content a {
  color: var(--ter-accent);
  font-weight: 650;
}

.ter-entry-content > p:first-of-type {
  color: var(--ter-text);
  font-size: 1.13em;
}

.ter-entry-content blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.35rem;
  border-left: 4px solid var(--ter-gold);
  background: var(--ter-gold-soft);
  color: var(--ter-ink);
  font-style: italic;
}

.ter-entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.ter-entry-content img {
  border-radius: 14px;
}

.ter-entry-content figure {
  margin-block: 1.8rem;
}

.ter-entry-content figcaption {
  margin-top: 0.6rem;
  color: var(--ter-muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  text-align: center;
}

.ter-entry-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ter-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ter-entry-content th,
.ter-entry-content td {
  min-width: 130px;
  padding: 0.85rem;
  border-right: 1px solid var(--ter-border);
  border-bottom: 1px solid var(--ter-border);
  text-align: left;
  vertical-align: top;
}

.ter-entry-content th {
  background: var(--ter-ink);
  color: #fff;
  font-weight: 760;
}

.ter-entry-content tr:last-child td {
  border-bottom: 0;
}

.ter-entry-content th:last-child,
.ter-entry-content td:last-child {
  border-right: 0;
}

.ter-entry-content .wp-block-separator {
  margin-block: 2.4rem;
  border-color: var(--ter-border);
}

.ter-entry-content .wp-block-group,
.ter-entry-content .ter-product-box,
.ter-product-box {
  margin-block: 1.6rem;
  padding: 1.35rem;
  border: 1px solid var(--ter-border);
  border-radius: var(--ter-radius);
  background: #fff;
  box-shadow: var(--ter-shadow-sm);
}

.ter-buy-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  margin: 1.3rem 0 1.8rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--ter-border);
  border-radius: 14px;
  background: var(--ter-surface-alt);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.ter-buy-box__label {
  flex: 1 1 190px;
  color: var(--ter-ink);
  font-size: 0.95rem;
  font-weight: 760;
}

.ter-buy-box .ter-button {
  min-height: 44px;
  padding: 0.68rem 1.05rem;
  font-size: 0.9rem;
}

.ter-buy-box small {
  flex-basis: 100%;
  color: var(--ter-muted);
  font-size: 0.76rem;
}

.ter-article-aside {
  align-self: start;
}

.ter-article-aside__sticky {
  position: sticky;
  top: 108px;
}

.ter-side-card {
  padding: 1.1rem;
  border: 1px solid var(--ter-border);
  border-radius: 14px;
  background: #fff;
}

.ter-side-card + .ter-side-card {
  margin-top: 1rem;
}

.ter-side-card h3 {
  margin-bottom: 0.7rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.ter-side-card p,
.ter-side-card li {
  color: var(--ter-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.ter-side-card ul {
  margin: 0;
  padding-left: 1rem;
}

.ter-author-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-top: 2.4rem;
  padding: 1.35rem;
  border: 1px solid var(--ter-border);
  border-radius: var(--ter-radius);
  background: #fff;
}

.ter-author-box img {
  border-radius: 50%;
}

.ter-author-box h2 {
  margin-bottom: 0.35rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0;
}

.ter-author-box p {
  margin-bottom: 0.5rem;
  color: var(--ter-muted);
  font-size: 0.92rem;
}

.ter-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.ter-post-nav a {
  display: block;
  padding: 1rem;
  border: 1px solid var(--ter-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ter-ink);
  font-weight: 720;
  text-decoration: none;
}

.ter-post-nav a:hover,
.ter-post-nav a:focus {
  border-color: var(--ter-accent);
  color: var(--ter-accent);
}

.ter-post-nav__next {
  text-align: right;
}

.ter-related {
  padding-block: 3.5rem;
  border-top: 1px solid var(--ter-border);
  background: #fff;
}

/* Pages and forms */
.ter-page-content {
  width: min(calc(100% - 2rem), 820px);
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}

.ter-page-content .ter-entry-content {
  font-size: 1.04rem;
}

.ter-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.ter-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ter-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--ter-ink);
  font-size: 0.88rem;
  font-weight: 720;
}

.ter-form input,
.ter-form select,
.ter-form textarea,
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--ter-border);
  border-radius: 10px;
  background: #fff;
  color: var(--ter-ink);
}

.ter-form input:focus,
.ter-form select:focus,
.ter-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.14);
  border-color: var(--ter-accent);
}

.ter-form textarea {
  min-height: 180px;
  resize: vertical;
}

.ter-form__consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 0.6rem !important;
  color: var(--ter-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
}

.ter-form__consent input {
  width: auto;
  margin-top: 0.25rem;
}

.ter-alert {
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.9rem;
}

.ter-alert--success {
  background: #ecfdf3;
  color: var(--ter-success);
}

.ter-alert--error {
  background: #fff1f2;
  color: var(--ter-danger);
}

/* Comments */
.ter-comments {
  margin-top: 2.5rem;
}

.ter-comments-list {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.ter-comments-list .comment {
  padding: 1rem 0;
  border-top: 1px solid var(--ter-border);
}

.comment-author img {
  border-radius: 50%;
}

/* Footer */
.ter-footer {
  background: var(--ter-ink);
  color: #cbd5e1;
}

.ter-footer__main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 3rem;
  padding-block: 4rem 3rem;
}

.ter-footer .ter-brand {
  margin-bottom: 1rem;
  color: #fff;
}

.ter-footer .ter-brand__name {
  color: #fff;
}

.ter-footer .ter-brand__tagline {
  color: #94a3b8;
}

.ter-footer__about {
  max-width: 520px;
  color: #94a3b8;
  font-size: 0.92rem;
}

.ter-footer h2 {
  margin-bottom: 0.9rem;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ter-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ter-footer li + li {
  margin-top: 0.5rem;
}

.ter-footer a {
  color: #cbd5e1;
  font-size: 0.9rem;
  text-decoration: none;
}

.ter-footer a:hover,
.ter-footer a:focus {
  color: #fff;
}

.ter-footer__disclosure {
  margin-top: 1.1rem;
  color: #94a3b8;
  font-size: 0.78rem;
}

.ter-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
  font-size: 0.78rem;
}

.ter-footer__bottom nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

/* Utility and WordPress alignment */
.alignwide {
  width: min(100vw - 2rem, 1040px);
  max-width: none !important;
  margin-left: 50%;
  transform: translateX(-50%);
}

.alignfull {
  width: 100vw;
  max-width: none !important;
  margin-left: 50%;
  transform: translateX(-50%);
}

.wp-caption-text,
.gallery-caption {
  color: var(--ter-muted);
  font-size: 0.82rem;
}

.sticky {
  position: relative;
}

.bypostauthor {
  position: relative;
}

.ter-empty-state {
  padding: 2rem;
  border: 1px solid var(--ter-border);
  border-radius: var(--ter-radius);
  background: #fff;
  text-align: center;
}

.ter-empty-state h2 {
  margin-bottom: 0.55rem;
}

/* Responsive */
@media (max-width: 1080px) {
  .ter-header__inner {
    grid-template-columns: 1fr auto;
  }

  .ter-menu-toggle {
    display: inline-grid;
  }

  .ter-nav {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    padding: 0.75rem 1rem 1.2rem;
    border-bottom: 1px solid var(--ter-border);
    background: #fff;
  }

  body.admin-bar .ter-nav {
    top: 110px;
  }

  .ter-nav.is-open {
    display: block;
  }

  .ter-nav ul {
    display: block;
  }

  .ter-nav a {
    padding: 0.8rem 0.6rem;
    border-bottom: 1px solid var(--ter-border);
  }

  .ter-nav .sub-menu {
    position: static;
    display: block;
    padding: 0 0 0 1rem;
    border: 0;
    box-shadow: none;
  }

  .ter-hero__grid {
    grid-template-columns: 1fr;
  }

  .ter-hero__panel {
    max-width: 720px;
  }

  .ter-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ter-archive-grid,
  .ter-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ter-article-layout {
    grid-template-columns: minmax(0, var(--ter-reading));
  }

  .ter-article-aside {
    display: none;
  }
}

@media (max-width: 782px) {
  body.admin-bar .ter-header {
    top: 46px;
  }

  .ter-section__header,
  .ter-cta__inner,
  .ter-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .ter-trust-item + .ter-trust-item {
    border-top: 1px solid var(--ter-border);
    border-left: 0;
  }

  .ter-card--featured {
    grid-template-columns: 1fr;
  }

  .ter-card--featured .ter-card__media {
    aspect-ratio: 16 / 10;
  }

  .ter-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .ter-footer__main > :first-child {
    grid-column: 1 / -1;
  }

  .ter-form__row,
  .ter-post-nav {
    grid-template-columns: 1fr;
  }

  .ter-post-nav__next {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .ter-container,
  .ter-reading-width,
  .ter-page-content {
    width: min(calc(100% - 1.2rem), var(--ter-container));
  }

  .ter-header__inner {
    min-height: 70px;
    gap: 0.75rem;
  }

  .ter-brand__tagline {
    display: none;
  }

  .ter-brand__name {
    font-size: 1.05rem;
  }

  .ter-brand__mark {
    width: 38px;
    height: 38px;
  }

  .ter-grid--4,
  .ter-grid--3,
  .ter-archive-grid {
    grid-template-columns: 1fr;
  }

  .ter-hero__panel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ter-hero-mini {
    min-height: 128px;
  }

  .ter-article-image {
    width: min(calc(100% - 1.2rem), 1040px);
  }

  .ter-article-image img {
    border-radius: 16px;
  }

  .ter-entry-content {
    font-size: 1rem;
    line-height: 1.76;
  }

  .ter-footer__main {
    grid-template-columns: 1fr;
  }

  .ter-footer__main > :first-child {
    grid-column: auto;
  }

  .ter-search-form {
    flex-direction: column;
  }

  .ter-search-form .ter-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ========================================================================== 
   Editorial 2.0 — premium magazine homepage and header
   ========================================================================== */

:root {
  --ter-editorial-ink: #0a1f31;
  --ter-editorial-text: #4f5660;
  --ter-editorial-paper: #fbfaf7;
  --ter-editorial-paper-strong: #ffffff;
  --ter-editorial-line: rgba(10, 31, 49, 0.14);
  --ter-editorial-teal: #075d6b;
  --ter-editorial-teal-dark: #064a55;
  --ter-editorial-gold: #b68a4c;
  --ter-editorial-soft: #eef1f1;
  --ter-editorial-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, "Times New Roman", serif;
  --ter-editorial-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ter-container: 1540px;
}

body.ter-elegant {
  background: var(--ter-editorial-paper);
  color: var(--ter-editorial-text);
  font-family: var(--ter-editorial-sans);
}

body.ter-elegant h1,
body.ter-elegant h2,
body.ter-elegant h3,
body.ter-elegant h4,
body.ter-elegant h5,
body.ter-elegant h6 {
  color: var(--ter-editorial-ink);
  font-family: var(--ter-editorial-serif);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.ter-header--editorial {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--ter-editorial-line);
  box-shadow: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ter-header__inner--editorial {
  display: grid;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 3rem);
  min-height: 86px;
}

.ter-header__brand {
  min-width: 0;
}

.ter-wordmark {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto auto;
  grid-template-rows: 17px 40px 13px;
  align-items: center;
  width: 190px;
  color: var(--ter-editorial-ink);
  line-height: 1;
  text-decoration: none;
}

.ter-wordmark:hover,
.ter-wordmark:focus {
  color: var(--ter-editorial-teal);
}

.ter-wordmark__the {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-left: 0.15rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.ter-wordmark__essential {
  grid-column: 1 / span 2;
  grid-row: 2;
  font-family: var(--ter-editorial-serif);
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.065em;
}

.ter-wordmark__review {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  margin-top: -0.15rem;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ter-brand--logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.ter-brand--logo .custom-logo {
  width: auto;
  max-width: 220px;
  max-height: 58px;
  object-fit: contain;
}

.ter-nav--editorial {
  justify-self: center;
}

.ter-nav--editorial .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.05rem, 2.1vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ter-nav--editorial .menu > li {
  position: relative;
  margin: 0;
}

.ter-nav--editorial .menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ter-editorial-ink);
  font-family: var(--ter-editorial-serif);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.ter-nav--editorial .menu > li > a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--ter-editorial-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.ter-nav--editorial .menu > li > a:hover::after,
.ter-nav--editorial .menu > .current-menu-item > a::after,
.ter-nav--editorial .menu > .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.ter-nav--editorial .sub-menu {
  top: calc(100% + 1px);
  min-width: 220px;
  padding: 0.7rem;
  background: var(--ter-editorial-paper-strong);
  border: 1px solid var(--ter-editorial-line);
  border-radius: 4px;
  box-shadow: 0 18px 44px rgba(10, 31, 49, 0.12);
}

.ter-nav--editorial .sub-menu a {
  display: block;
  padding: 0.7rem 0.8rem;
  color: var(--ter-editorial-ink);
  border-radius: 3px;
  font-size: 0.92rem;
  text-decoration: none;
}

.ter-nav--editorial .sub-menu a:hover {
  background: rgba(7, 93, 107, 0.07);
  color: var(--ter-editorial-teal);
}

.ter-header__actions--editorial {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.ter-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 45px;
  padding: 0.7rem 1.2rem;
  color: #8b6636;
  border: 1px solid rgba(182, 138, 76, 0.8);
  border-radius: 2px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ter-header-cta:hover,
.ter-header-cta:focus {
  color: #ffffff;
  background: var(--ter-editorial-gold);
  transform: translateY(-1px);
}

.ter-header__actions--editorial .ter-icon-button {
  display: inline-flex;
  width: 42px;
  height: 42px;
  color: var(--ter-editorial-ink);
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.ter-header__actions--editorial .ter-icon-button:hover {
  background: rgba(10, 31, 49, 0.06);
}

.ter-editorial-hero {
  overflow: hidden;
  padding: clamp(1.25rem, 2.8vw, 2.8rem) 0 2rem;
  background:
    radial-gradient(circle at 20% 15%, rgba(182, 138, 76, 0.07), transparent 27rem),
    var(--ter-editorial-paper);
}

.ter-editorial-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(610px, 1.5fr);
  align-items: stretch;
  gap: clamp(2.2rem, 4vw, 5rem);
}

.ter-editorial-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 510px;
  padding: clamp(1.5rem, 4vw, 4rem) 0 clamp(1rem, 3vw, 2rem) clamp(0rem, 2vw, 2.8rem);
}

.ter-editorial-eyebrow,
.ter-editorial-kicker {
  margin: 0 0 0.95rem;
  color: var(--ter-editorial-gold);
  font-family: var(--ter-editorial-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ter-editorial-hero h1 {
  max-width: 650px;
  margin: 0;
  color: var(--ter-editorial-ink);
  font-size: clamp(4rem, 6.8vw, 7.6rem);
  font-weight: 500;
  letter-spacing: -0.068em;
  line-height: 0.88;
}

.ter-editorial-hero h1::first-letter {
  letter-spacing: -0.08em;
}

.ter-editorial-hero__lede {
  max-width: 590px;
  margin: clamp(1.55rem, 3vw, 2.25rem) 0 0;
  color: var(--ter-editorial-text);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.62;
}

.ter-editorial-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.ter-button--editorial,
.ter-button--editorial-outline {
  min-height: 48px;
  padding: 0.78rem 1.45rem;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.ter-button--editorial {
  color: #ffffff !important;
  background: var(--ter-editorial-teal);
  border: 1px solid var(--ter-editorial-teal);
}

.ter-button--editorial:hover,
.ter-button--editorial:focus {
  color: #ffffff !important;
  background: var(--ter-editorial-teal-dark);
  border-color: var(--ter-editorial-teal-dark);
}

.ter-button--editorial-outline {
  color: var(--ter-editorial-teal) !important;
  background: transparent;
  border: 1px solid rgba(10, 31, 49, 0.55);
}

.ter-button--editorial-outline:hover,
.ter-button--editorial-outline:focus {
  color: #ffffff !important;
  background: var(--ter-editorial-ink);
  border-color: var(--ter-editorial-ink);
}

.ter-editorial-proof {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 610px;
  margin-top: 1.7rem;
  color: #6c7179;
  font-size: 0.84rem;
  line-height: 1.45;
}

.ter-editorial-proof__marks {
  display: inline-flex;
  flex: 0 0 auto;
}

.ter-editorial-proof__marks > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  margin-left: -7px;
  color: var(--ter-editorial-ink);
  background: #ede9df;
  border: 2px solid var(--ter-editorial-paper);
  border-radius: 50%;
}

.ter-editorial-proof__marks > span:first-child {
  margin-left: 0;
}

.ter-editorial-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  min-height: 510px;
}

.ter-editorial-tile {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  background: #7d8588;
  text-decoration: none;
  isolation: isolate;
}

.ter-editorial-tile:first-child {
  border-radius: 4px 0 0 4px;
}

.ter-editorial-tile:last-child {
  border-radius: 0 4px 4px 0;
}

.ter-editorial-tile > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96);
  transform: scale(1.002);
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 400ms ease;
}

.ter-editorial-tile:hover > img,
.ter-editorial-tile:focus > img {
  filter: saturate(0.98) contrast(1.02);
  transform: scale(1.05);
}

.ter-editorial-tile__fallback {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
}

.ter-editorial-tile--translation .ter-editorial-tile__fallback {
  background:
    radial-gradient(circle at 58% 34%, rgba(255,255,255,.55), transparent 16%),
    linear-gradient(145deg, #d8d2c5, #7d827f 56%, #343c41);
}

.ter-editorial-tile--cleaning .ter-editorial-tile__fallback {
  background:
    radial-gradient(circle at 48% 55%, rgba(255,255,255,.55), transparent 22%),
    linear-gradient(145deg, #d7c9b6, #a79b89 48%, #495158);
}

.ter-editorial-tile--garden .ter-editorial-tile__fallback {
  background:
    radial-gradient(circle at 40% 20%, rgba(222,244,202,.42), transparent 27%),
    linear-gradient(145deg, #768b64, #526d4e 54%, #263e31);
}

.ter-editorial-tile--power .ter-editorial-tile__fallback {
  background:
    radial-gradient(circle at 75% 20%, rgba(177,203,215,.4), transparent 23%),
    linear-gradient(145deg, #6e7c83, #35464f 54%, #172a36);
}

.ter-editorial-tile__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(3, 15, 23, 0.82) 0%, rgba(3, 15, 23, 0.18) 46%, rgba(3, 15, 23, 0.03) 72%),
    linear-gradient(to right, rgba(3, 15, 23, 0.08), transparent 45%);
}

.ter-editorial-tile__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.6rem;
  align-items: end;
  padding: 1.15rem 0.9rem 1.25rem;
}

.ter-editorial-tile__content strong {
  grid-column: 1;
  color: #ffffff;
  font-family: var(--ter-editorial-serif);
  font-size: clamp(1rem, 1.3vw, 1.28rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ter-editorial-tile__content small {
  grid-column: 1;
  color: rgba(255,255,255,.88);
  font-size: 0.74rem;
  line-height: 1.35;
}

.ter-editorial-tile__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  color: rgba(255,255,255,.92);
  transition: transform 180ms ease;
}

.ter-editorial-tile:hover .ter-editorial-tile__arrow {
  transform: translateX(4px);
}

.ter-editorial-category-section {
  padding: 0 0 1rem;
}

.ter-editorial-divider-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.45rem;
}

.ter-editorial-divider-heading > span {
  height: 1px;
  background: var(--ter-editorial-line);
}

.ter-editorial-divider-heading h2 {
  margin: 0;
  color: #4d5862;
  font-family: var(--ter-editorial-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ter-editorial-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ter-editorial-category-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 104px;
  padding: 1rem 1.2rem;
  color: var(--ter-editorial-ink);
  background: rgba(255,255,255,.58);
  border: 1px solid var(--ter-editorial-line);
  border-radius: 4px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ter-editorial-category-card:hover,
.ter-editorial-category-card:focus {
  color: var(--ter-editorial-ink);
  background: #ffffff;
  border-color: rgba(7, 93, 107, 0.32);
  box-shadow: 0 12px 34px rgba(10, 31, 49, 0.07);
  transform: translateY(-2px);
}

.ter-editorial-category-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  color: var(--ter-editorial-teal);
  background: #edf0ef;
  border-radius: 50%;
}

.ter-editorial-category-card__copy {
  display: block;
  min-width: 0;
}

.ter-editorial-category-card__copy strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ter-editorial-ink);
  font-family: var(--ter-editorial-serif);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.2;
}

.ter-editorial-category-card__copy small {
  display: block;
  color: #6f747c;
  font-size: 0.78rem;
  line-height: 1.45;
}

.ter-editorial-category-card__arrow {
  display: inline-flex;
  color: var(--ter-editorial-ink);
  transition: transform 180ms ease;
}

.ter-editorial-category-card:hover .ter-editorial-category-card__arrow {
  transform: translateX(4px);
}

.ter-editorial-picks-section {
  padding: 1rem 0 1.3rem;
}

.ter-editorial-picks-panel {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1rem 1.15rem;
  background: rgba(255,255,255,.46);
  border: 1px solid var(--ter-editorial-line);
  border-radius: 4px;
}

.ter-editorial-picks-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.65rem 1rem;
}

.ter-editorial-picks-intro h2 {
  margin: 0 0 1.2rem;
  font-size: 1.55rem;
  line-height: 1.1;
}

.ter-editorial-picks-intro a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #9a6f35;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.ter-editorial-picks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.ter-editorial-pick-card {
  display: grid;
  grid-template-columns: minmax(88px, 42%) minmax(0, 1fr);
  gap: 0.85rem;
  min-width: 0;
  min-height: 112px;
  padding: 0.65rem;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(10, 31, 49, 0.09);
  border-radius: 4px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ter-editorial-pick-card:hover {
  border-color: rgba(7, 93, 107, 0.25);
  box-shadow: 0 10px 26px rgba(10,31,49,.07);
  transform: translateY(-2px);
}

.ter-editorial-pick-card__media {
  position: relative;
  display: block;
  min-height: 92px;
  overflow: hidden;
  color: var(--ter-editorial-teal);
  background: #e8eceb;
  border-radius: 3px;
}

.ter-editorial-pick-card__media img {
  width: 100%;
  height: 100%;
  min-height: 92px;
  object-fit: cover;
  transition: transform 350ms ease;
}

.ter-editorial-pick-card:hover .ter-editorial-pick-card__media img {
  transform: scale(1.045);
}

.ter-editorial-pick-card__media > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ter-editorial-pick-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ter-editorial-pick-card__copy small {
  color: #8b6a3d;
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ter-editorial-pick-card__copy h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.28rem 0 0.45rem;
  font-size: 1.01rem;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ter-editorial-pick-card__copy h3 a {
  color: var(--ter-editorial-ink);
  text-decoration: none;
}

.ter-editorial-pick-card__copy > span {
  color: #7d8289;
  font-size: 0.67rem;
}

.ter-editorial-principles-section {
  padding: 0.35rem 0 clamp(2.8rem, 5vw, 5.2rem);
}

.ter-editorial-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0.9rem 0;
  border: 1px solid var(--ter-editorial-line);
  border-radius: 4px;
}

.ter-editorial-principle {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  min-height: 76px;
  padding: 0.5rem 1.35rem;
  border-left: 1px solid var(--ter-editorial-line);
}

.ter-editorial-principle:first-child {
  border-left: 0;
}

.ter-editorial-principle > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--ter-editorial-ink);
  background: #eef0ef;
  border-radius: 50%;
}

.ter-editorial-principle strong,
.ter-editorial-principle small {
  display: block;
}

.ter-editorial-principle strong {
  margin-bottom: 0.18rem;
  color: var(--ter-editorial-ink);
  font-family: var(--ter-editorial-serif);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}

.ter-editorial-principle small {
  color: #717780;
  font-size: 0.76rem;
  line-height: 1.4;
}

.ter-editorial-latest-section {
  padding-top: clamp(3.2rem, 6vw, 6rem);
  background: #f3f1eb;
  border-top: 1px solid rgba(10,31,49,.08);
}

.ter-editorial-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.ter-editorial-section-heading h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.4vw, 4.7rem);
  line-height: 0.98;
}

.ter-editorial-section-heading > p {
  margin: 0;
  color: #697078;
  font-size: 1rem;
  line-height: 1.65;
}

.ter-editorial-latest-grid .ter-card {
  overflow: hidden;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(10,31,49,.11);
  border-radius: 4px;
  box-shadow: none;
}

.ter-editorial-latest-grid .ter-card:hover {
  border-color: rgba(7,93,107,.25);
  box-shadow: 0 18px 40px rgba(10,31,49,.08);
  transform: translateY(-4px);
}

.ter-editorial-latest-grid .ter-card__media {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.ter-editorial-latest-grid .ter-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.ter-editorial-latest-grid .ter-card h3 {
  font-size: 1.48rem;
  font-weight: 500;
}

.ter-editorial-final-cta {
  padding: clamp(3rem, 6vw, 6.2rem) 0;
  color: rgba(255,255,255,.82);
  background:
    linear-gradient(115deg, rgba(7,93,107,.96), rgba(10,31,49,.98)),
    var(--ter-editorial-ink);
}

.ter-editorial-final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.ter-editorial-final-cta .ter-editorial-eyebrow {
  color: #d5b27a;
}

.ter-editorial-final-cta h2 {
  max-width: 900px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1;
}

.ter-editorial-final-cta .ter-button--editorial {
  color: var(--ter-editorial-ink) !important;
  background: #ffffff;
  border-color: #ffffff;
}

.ter-editorial-final-cta .ter-button--editorial:hover {
  color: #ffffff !important;
  background: transparent;
}

/* Keep inner pages in the same editorial language. */
.ter-article-hero {
  background:
    radial-gradient(circle at 12% 14%, rgba(182,138,76,.10), transparent 28rem),
    var(--ter-editorial-paper);
  border-bottom: 1px solid var(--ter-editorial-line);
}

.ter-article-hero h1 {
  font-weight: 500;
  letter-spacing: -0.055em;
}

.ter-card,
.ter-product-box,
.ter-method-card,
.ter-side-card,
.ter-author-box,
.ter-disclosure,
.ter-toc {
  border-radius: 4px;
}

.ter-footer {
  background: #081a28;
}

.ter-footer .ter-brand__name,
.ter-footer h2 {
  font-family: var(--ter-editorial-serif);
  font-weight: 500;
}

@media (max-width: 1320px) {
  .ter-header__inner--editorial {
    grid-template-columns: minmax(170px, 215px) minmax(0, 1fr) auto;
    gap: 1rem;
  }

  .ter-nav--editorial .menu {
    gap: 1.05rem;
  }

  .ter-nav--editorial .menu > li > a {
    font-size: 0.93rem;
  }

  .ter-header-cta {
    padding-inline: 0.9rem;
  }

  .ter-editorial-hero__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.2fr);
    gap: 2.4rem;
  }

  .ter-editorial-picks-panel {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .ter-editorial-pick-card {
    grid-template-columns: 88px minmax(0,1fr);
  }
}

@media (max-width: 1120px) {
  .ter-header__inner--editorial {
    grid-template-columns: 1fr auto;
  }

  .ter-nav--editorial {
    position: fixed;
    top: 86px;
    right: 1rem;
    left: 1rem;
    z-index: 1002;
    display: none;
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 1rem;
    background: var(--ter-editorial-paper-strong);
    border: 1px solid var(--ter-editorial-line);
    border-radius: 4px;
    box-shadow: 0 22px 50px rgba(10,31,49,.16);
  }

  .ter-nav--editorial.is-open,
  .ter-nav--editorial[data-open="true"] {
    display: block;
  }

  .ter-nav--editorial .menu {
    display: block;
  }

  .ter-nav--editorial .menu > li > a {
    width: 100%;
    min-height: 48px;
    padding: 0.5rem 0.65rem;
    font-size: 1.1rem;
  }

  .ter-nav--editorial .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    margin: 0 0 0.6rem 1rem;
    padding: 0 0 0 0.75rem;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--ter-editorial-line);
    box-shadow: none;
  }

  .ter-menu-toggle {
    display: inline-flex;
  }

  .ter-editorial-hero__grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .ter-editorial-hero__copy {
    min-height: 0;
    padding: 3.2rem 0 1rem;
  }

  .ter-editorial-hero h1 {
    max-width: 850px;
    font-size: clamp(4.2rem, 10vw, 7rem);
  }

  .ter-editorial-gallery {
    min-height: 460px;
  }

  .ter-editorial-category-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .ter-editorial-picks-panel {
    grid-template-columns: 1fr;
  }

  .ter-editorial-picks-intro {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 0.5rem 1rem;
  }

  .ter-editorial-picks-intro .ter-editorial-kicker {
    grid-column: 1 / -1;
  }

  .ter-editorial-picks-intro h2 {
    margin: 0;
  }

  .ter-editorial-principles {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .ter-editorial-principle:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--ter-editorial-line);
  }

  .ter-editorial-principle:nth-child(4) {
    border-top: 1px solid var(--ter-editorial-line);
  }
}

@media (max-width: 820px) {
  body.admin-bar .ter-header--editorial {
    top: 46px;
  }

  .ter-header__inner--editorial {
    min-height: 74px;
  }

  .ter-wordmark {
    width: 160px;
    grid-template-rows: 14px 34px 11px;
  }

  .ter-wordmark__essential {
    font-size: 1.85rem;
  }

  .ter-header-cta {
    display: none;
  }

  .ter-search-toggle {
    display: none !important;
  }

  .ter-nav--editorial {
    top: 74px;
  }

  .ter-editorial-hero {
    padding-top: 0;
  }

  .ter-editorial-hero__copy {
    padding-top: 2.6rem;
  }

  .ter-editorial-hero h1 {
    font-size: clamp(3.5rem, 16vw, 5.8rem);
    line-height: 0.92;
  }

  .ter-editorial-proof {
    align-items: flex-start;
  }

  .ter-editorial-gallery {
    grid-template-columns: repeat(2, minmax(0,1fr));
    min-height: 680px;
  }

  .ter-editorial-tile:first-child,
  .ter-editorial-tile:last-child {
    border-radius: 0;
  }

  .ter-editorial-category-grid {
    grid-template-columns: 1fr;
  }

  .ter-editorial-picks-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scroll-snap-type: x mandatory;
  }

  .ter-editorial-pick-card {
    flex: 0 0 310px;
    scroll-snap-align: start;
  }

  .ter-editorial-section-heading {
    grid-template-columns: 1fr;
  }

  .ter-editorial-final-cta__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ter-container {
    width: min(calc(100% - 1.25rem), var(--ter-container));
  }

  .ter-editorial-hero__copy {
    padding-top: 2.2rem;
  }

  .ter-editorial-hero h1 {
    font-size: clamp(3.15rem, 18vw, 4.55rem);
  }

  .ter-editorial-hero__lede {
    font-size: 0.97rem;
  }

  .ter-editorial-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ter-editorial-hero__actions .ter-button {
    width: 100%;
  }

  .ter-editorial-proof {
    display: grid;
  }

  .ter-editorial-gallery {
    min-height: 590px;
  }

  .ter-editorial-tile__content {
    padding: 0.85rem 0.7rem 0.9rem;
  }

  .ter-editorial-tile__content strong {
    font-size: 0.98rem;
  }

  .ter-editorial-tile__content small {
    font-size: 0.66rem;
  }

  .ter-editorial-category-card {
    grid-template-columns: 52px minmax(0,1fr) auto;
    gap: 0.8rem;
    padding: 0.9rem;
  }

  .ter-editorial-category-card__icon {
    width: 48px;
    height: 48px;
  }

  .ter-editorial-picks-panel {
    padding: 0.8rem;
  }

  .ter-editorial-picks-intro {
    display: block;
  }

  .ter-editorial-picks-intro h2 {
    margin-bottom: 1rem;
  }

  .ter-editorial-pick-card {
    flex-basis: 285px;
  }

  .ter-editorial-principles {
    grid-template-columns: 1fr;
  }

  .ter-editorial-principle,
  .ter-editorial-principle:nth-child(2),
  .ter-editorial-principle:nth-child(3),
  .ter-editorial-principle:nth-child(4) {
    border-top: 1px solid var(--ter-editorial-line);
    border-left: 0;
  }

  .ter-editorial-principle:first-child {
    border-top: 0;
  }

  .ter-editorial-section-heading h2,
  .ter-editorial-final-cta h2 {
    font-size: 2.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ter-editorial-tile > img,
  .ter-editorial-category-card,
  .ter-editorial-pick-card,
  .ter-editorial-tile__arrow,
  .ter-editorial-category-card__arrow,
  .ter-header-cta {
    transition: none !important;
  }
}

/* ========================================================================
   Version 3: premium editorial-commerce homepage and product system
   ======================================================================== */

:root {
  --ter-container: 1480px;
  --ter-cream: #fbfaf7;
  --ter-paper: #fffefa;
  --ter-navy: #081a2b;
  --ter-teal: #075e6f;
  --ter-gold-v3: #b48a4a;
  --ter-hairline: #dfded8;
}

body.ter-editorial {
  background: var(--ter-cream);
}

.ter-site-shell {
  overflow: clip;
}

.ter-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--ter-hairline);
  background: rgba(255, 254, 250, 0.95);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.ter-header__inner {
  display: grid;
  min-height: 86px;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.ter-header__brand {
  min-width: 0;
}

.ter-bundled-logo,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.ter-bundled-logo img,
.custom-logo {
  display: block;
  width: auto;
  max-width: min(100%, 205px);
  max-height: 58px;
  object-fit: contain;
}

.ter-nav {
  justify-self: center;
}

.ter-nav .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 1.7vw, 1.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ter-nav .menu > li > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--ter-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.91rem, 1vw, 1.02rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.ter-nav .menu > li > a:hover,
.ter-nav .menu > li > a:focus,
.ter-nav .current-menu-item > a,
.ter-nav .current-menu-ancestor > a {
  color: var(--ter-teal);
}

.ter-header__actions {
  gap: 0.55rem;
}

.ter-header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.72rem 1.2rem;
  border: 1px solid var(--ter-gold-v3);
  border-radius: 2px;
  color: #8b652e;
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background var(--ter-transition), color var(--ter-transition), transform var(--ter-transition);
}

.ter-header-cta:hover,
.ter-header-cta:focus {
  background: var(--ter-navy);
  color: #fff;
  transform: translateY(-1px);
}

.ter-icon-button,
.ter-menu-toggle {
  border-radius: 2px;
  background: transparent;
}

/* Hero */
.ter-editorial-hero {
  position: relative;
  padding: clamp(1.4rem, 2.5vw, 2.4rem) 0 clamp(2rem, 4vw, 3.7rem);
  background:
    radial-gradient(circle at 18% 22%, rgba(180, 138, 74, 0.08), transparent 32%),
    linear-gradient(180deg, var(--ter-paper), var(--ter-cream));
}

.ter-editorial-hero__grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.95fr) minmax(640px, 1.45fr);
  align-items: stretch;
  gap: clamp(1.6rem, 2.8vw, 3.2rem);
}

.ter-editorial-hero__copy {
  display: flex;
  min-height: 590px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 2.4vw, 2.6rem) clamp(0rem, 1.2vw, 1rem);
}

.ter-editorial-kicker {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--ter-gold-v3);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ter-editorial-hero h1 {
  max-width: 650px;
  margin-bottom: 1.05rem;
  color: var(--ter-navy);
  font-size: clamp(4rem, 5.2vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.ter-hero-dot {
  color: var(--ter-gold-v3);
}

.ter-editorial-hero__copy > p {
  max-width: 620px;
  margin-bottom: 1.55rem;
  color: #505863;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.55;
}

.ter-editorial-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.ter-button.ter-button--solid {
  border: 1px solid var(--ter-teal);
  border-radius: 2px;
  background: var(--ter-teal);
  color: #fff !important;
  box-shadow: none;
}

.ter-button.ter-button--solid:hover,
.ter-button.ter-button--solid:focus {
  border-color: var(--ter-navy);
  background: var(--ter-navy);
}

.ter-button.ter-button--outline {
  border: 1px solid #798694;
  border-radius: 2px;
  background: transparent;
  color: var(--ter-teal) !important;
  box-shadow: none;
}

.ter-button.ter-button--outline:hover,
.ter-button.ter-button--outline:focus {
  border-color: var(--ter-teal);
  background: #fff;
}

.ter-editorial-hero .ter-button,
.ter-editorial-cta .ter-button,
.ter-product-single .ter-button,
.ter-product-card .ter-button {
  min-height: 48px;
  padding: 0.82rem 1.35rem;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ter-editorial-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  margin: 0;
  padding: 0;
  color: #626a73;
  font-size: 0.79rem;
  list-style: none;
}

.ter-editorial-proof li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.ter-editorial-proof svg {
  color: var(--ter-gold-v3);
}

.ter-hero-gallery {
  display: grid;
  min-width: 0;
  min-height: 590px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.ter-hero-tile {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  align-items: end;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.ter-hero-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 320ms ease;
}

.ter-hero-tile__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 26, 43, 0.02) 28%, rgba(8, 26, 43, 0.84) 100%);
  transition: background 320ms ease;
}

.ter-hero-tile__content {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.15rem 0.6rem;
  padding: 1.15rem 1rem 1.25rem;
}

.ter-hero-tile__content strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.98rem, 1.2vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.ter-hero-tile__content small {
  grid-column: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  line-height: 1.35;
}

.ter-hero-tile__arrow {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(-3px);
  transition: transform var(--ter-transition);
}

.ter-hero-tile:hover img,
.ter-hero-tile:focus img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.045);
}

.ter-hero-tile:hover .ter-hero-tile__shade,
.ter-hero-tile:focus .ter-hero-tile__shade {
  background: linear-gradient(180deg, rgba(8, 26, 43, 0.02) 18%, rgba(8, 26, 43, 0.92) 100%);
}

.ter-hero-tile:hover .ter-hero-tile__arrow,
.ter-hero-tile:focus .ter-hero-tile__arrow {
  transform: translateX(2px);
}

/* Category explorer */
.ter-category-explorer {
  padding: 0 0 clamp(1.3rem, 2.8vw, 2.4rem);
  background: var(--ter-cream);
}

.ter-editorial-divider {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ter-editorial-divider span {
  height: 1px;
  background: var(--ter-hairline);
}

.ter-editorial-divider h2 {
  margin: 0;
  color: #475260;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.ter-category-explorer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.ter-category-link-card {
  display: grid;
  min-height: 102px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--ter-hairline);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ter-navy);
  text-decoration: none;
  transition: border-color var(--ter-transition), background var(--ter-transition), transform var(--ter-transition), box-shadow var(--ter-transition);
}

.ter-category-link-card:hover,
.ter-category-link-card:focus {
  border-color: rgba(7, 94, 111, 0.36);
  background: #fff;
  box-shadow: 0 14px 32px rgba(8, 26, 43, 0.06);
  transform: translateY(-2px);
}

.ter-category-link-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #edf1f2;
  color: var(--ter-teal);
}

.ter-category-link-card__copy {
  display: block;
  min-width: 0;
}

.ter-category-link-card__copy strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--ter-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.018em;
}

.ter-category-link-card__copy small {
  display: block;
  color: #66707a;
  font-size: 0.76rem;
  line-height: 1.45;
}

.ter-category-link-card__arrow {
  color: var(--ter-teal);
  transition: transform var(--ter-transition);
}

.ter-category-link-card:hover .ter-category-link-card__arrow,
.ter-category-link-card:focus .ter-category-link-card__arrow {
  transform: translateX(4px);
}

/* Editor's picks */
.ter-editorial-picks {
  padding: 0 0 clamp(1.35rem, 2.8vw, 2.6rem);
  background: var(--ter-cream);
}

.ter-editorial-picks__panel {
  display: grid;
  grid-template-columns: minmax(190px, 0.78fr) minmax(0, 4.2fr);
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--ter-hairline);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.56);
}

.ter-editorial-picks__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.65rem 0.7rem;
}

.ter-editorial-picks__intro h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
}

.ter-editorial-picks__intro .ter-text-link {
  align-self: flex-start;
  color: var(--ter-gold-v3);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ter-editorial-picks__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.ter-pick-card {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(92px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid #e6e2da;
  border-radius: 4px;
  background: #fff;
  transition: border-color var(--ter-transition), transform var(--ter-transition), box-shadow var(--ter-transition);
}

.ter-pick-card:hover,
.ter-pick-card:focus-within {
  border-color: rgba(7, 94, 111, 0.35);
  box-shadow: 0 12px 28px rgba(8, 26, 43, 0.07);
  transform: translateY(-2px);
}

.ter-pick-card__media {
  display: block;
  min-height: 112px;
  overflow: hidden;
  background: #eef0ef;
}

.ter-pick-card__media img,
.ter-pick-card--placeholder > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.ter-pick-card:hover .ter-pick-card__media img,
.ter-pick-card:focus-within .ter-pick-card__media img {
  transform: scale(1.035);
}

.ter-pick-card__body,
.ter-pick-card--placeholder > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 0.78rem 0.82rem;
}

.ter-pick-card__label,
.ter-pick-card--placeholder small {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ter-gold-v3);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.ter-pick-card h3,
.ter-pick-card--placeholder strong {
  display: block;
  margin: 0 0 0.28rem;
  color: var(--ter-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.9rem, 1.02vw, 1.08rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.18;
}

.ter-pick-card h3 a {
  color: inherit;
  text-decoration: none;
}

.ter-pick-card__meta,
.ter-pick-card--placeholder em {
  display: block;
  margin: 0;
  color: #747c83;
  font-size: 0.69rem;
  font-style: normal;
  line-height: 1.35;
}

/* Editorial trust rail */
.ter-editorial-trust {
  padding: 0 0 clamp(2.5rem, 4vw, 4.5rem);
  background: var(--ter-cream);
}

.ter-editorial-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #d5d5d1;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.48);
}

.ter-editorial-trust__item {
  display: grid;
  min-height: 104px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
}

.ter-editorial-trust__item + .ter-editorial-trust__item {
  border-left: 1px solid #d5d5d1;
}

.ter-editorial-trust__item > span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: #edf0ef;
  color: var(--ter-navy);
}

.ter-editorial-trust__item strong,
.ter-editorial-trust__item small {
  display: block;
}

.ter-editorial-trust__item strong {
  margin-bottom: 0.2rem;
  color: var(--ter-navy);
  font-size: 0.88rem;
  line-height: 1.25;
}

.ter-editorial-trust__item small {
  color: #69717a;
  font-size: 0.72rem;
  line-height: 1.4;
}

/* Latest guides and CTA */
.ter-latest-guides {
  border-top: 1px solid var(--ter-hairline);
  background: #fff;
}

.ter-latest-guides .ter-card {
  border-radius: 4px;
  box-shadow: none;
}

.ter-latest-guides .ter-card:hover,
.ter-latest-guides .ter-card:focus-within {
  box-shadow: 0 18px 42px rgba(8, 26, 43, 0.08);
}

.ter-editorial-cta {
  padding: clamp(2rem, 4vw, 4rem) 0;
  background: #fff;
}

.ter-editorial-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 82% 12%, rgba(180, 138, 74, 0.18), transparent 28%),
    var(--ter-navy);
  color: #fff;
}

.ter-editorial-cta h2 {
  max-width: 850px;
  margin-bottom: 0.55rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
}

.ter-editorial-cta p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.ter-button.ter-button--light {
  border: 1px solid #fff;
  border-radius: 2px;
  background: #fff;
  color: var(--ter-navy) !important;
  white-space: nowrap;
}

.ter-button.ter-button--light:hover,
.ter-button.ter-button--light:focus {
  border-color: var(--ter-gold-v3);
  background: var(--ter-gold-v3);
  color: #fff !important;
}

/* Product cards and product pages */
.ter-product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--ter-hairline);
  border-radius: 5px;
  background: #fff;
  transition: border-color var(--ter-transition), transform var(--ter-transition), box-shadow var(--ter-transition);
}

.ter-product-card:hover,
.ter-product-card:focus-within {
  border-color: rgba(7, 94, 111, 0.35);
  box-shadow: 0 18px 44px rgba(8, 26, 43, 0.08);
  transform: translateY(-3px);
}

.ter-product-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #edf0ef;
}

.ter-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.ter-product-card:hover .ter-product-card__media img,
.ter-product-card:focus-within .ter-product-card__media img {
  transform: scale(1.035);
}

.ter-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.ter-product-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
  font-weight: 550;
}

.ter-product-card h3 a {
  color: var(--ter-navy);
  text-decoration: none;
}

.ter-product-card__best-for {
  color: #52606b;
  font-size: 0.9rem;
}

.ter-product-card__cta {
  align-self: flex-start;
  margin-top: auto;
}

.ter-archive-hero {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  border-bottom: 1px solid var(--ter-hairline);
  background: linear-gradient(180deg, #fff, var(--ter-cream));
}

.ter-archive-hero h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 500;
}

.ter-archive-hero p {
  max-width: 740px;
  margin-bottom: 0;
  color: #5b6470;
  font-size: 1.08rem;
}

.ter-product-single__hero {
  padding: clamp(2.8rem, 6vw, 6.5rem) 0;
  border-bottom: 1px solid var(--ter-hairline);
  background: linear-gradient(180deg, #fff, var(--ter-cream));
}

.ter-product-single__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.ter-product-single h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 500;
}

.ter-product-single__best {
  margin-bottom: 0.8rem;
  color: var(--ter-teal);
  font-size: 1.05rem;
}

.ter-product-single__verdict {
  max-width: 720px;
  color: #4d5964;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.ter-product-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin: 1rem 0 1.4rem;
  color: #6c747d;
  font-size: 0.82rem;
}

.ter-product-single__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ter-product-single__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ter-hairline);
  background: #eef0ef;
}

.ter-product-single__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ter-product-single__content {
  padding-block: clamp(3rem, 6vw, 6rem);
}

/* Footer refinement */
.ter-footer {
  background: var(--ter-navy);
}

.ter-footer__top {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Responsive */
@media (max-width: 1320px) {
  .ter-header__inner {
    grid-template-columns: minmax(165px, 205px) minmax(0, 1fr) auto;
  }

  .ter-nav .menu {
    gap: 0.95rem;
  }

  .ter-editorial-hero__grid {
    grid-template-columns: minmax(360px, 0.8fr) minmax(590px, 1.35fr);
  }

  .ter-editorial-hero h1 {
    font-size: clamp(4rem, 6vw, 5.8rem);
  }

  .ter-editorial-picks__panel {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .ter-pick-card {
    grid-template-columns: 1fr;
  }

  .ter-pick-card__media {
    min-height: 105px;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 1120px) {
  .ter-header__inner {
    grid-template-columns: minmax(160px, 200px) 1fr auto;
  }

  .ter-nav {
    position: fixed;
    top: 86px;
    right: 1rem;
    left: 1rem;
    display: none;
    max-height: calc(100vh - 110px);
    overflow: auto;
    padding: 1rem;
    border: 1px solid var(--ter-hairline);
    background: #fff;
    box-shadow: 0 22px 48px rgba(8, 26, 43, 0.12);
  }

  .ter-nav.is-open {
    display: block;
  }

  .ter-nav .menu {
    display: block;
  }

  .ter-nav .menu > li > a {
    width: 100%;
    min-height: 48px;
    border-bottom: 1px solid #ecebe6;
  }

  .ter-menu-toggle {
    display: inline-grid;
  }

  .ter-editorial-hero__grid {
    grid-template-columns: 1fr;
  }

  .ter-editorial-hero__copy {
    min-height: auto;
    padding-top: 2.8rem;
    padding-bottom: 1.5rem;
  }

  .ter-editorial-hero h1 {
    max-width: 780px;
  }

  .ter-hero-gallery {
    min-height: 500px;
  }

  .ter-category-explorer__grid,
  .ter-editorial-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ter-editorial-trust__item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #d5d5d1;
  }

  .ter-editorial-trust__item:nth-child(4) {
    border-top: 1px solid #d5d5d1;
  }

  .ter-editorial-picks__panel {
    grid-template-columns: 1fr;
  }

  .ter-editorial-picks__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.3rem 1rem;
  }

  .ter-editorial-picks__intro .ter-editorial-kicker {
    grid-column: 1 / -1;
  }

  .ter-editorial-picks__intro h2 {
    margin-bottom: 0;
  }

  .ter-product-single__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body.admin-bar .ter-header {
    top: 46px;
  }

  .ter-header__inner {
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .ter-nav {
    top: 76px;
  }

  .ter-header__brand {
    grid-column: 1;
  }

  .ter-header__actions {
    grid-column: 2;
  }

  .ter-header-cta {
    display: none;
  }

  .ter-hero-gallery {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 310px;
  }

  .ter-editorial-picks__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ter-pick-card {
    grid-template-columns: minmax(110px, 0.86fr) minmax(0, 1.14fr);
  }

  .ter-pick-card__media {
    min-height: 120px;
    aspect-ratio: auto;
  }

  .ter-editorial-cta__inner {
    grid-template-columns: 1fr;
  }

  .ter-editorial-cta .ter-button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .ter-container {
    width: min(calc(100% - 1.2rem), var(--ter-container));
  }

  .ter-bundled-logo img,
  .custom-logo {
    max-width: 168px;
    max-height: 48px;
  }

  .ter-icon-button {
    display: none;
  }

  .ter-editorial-hero {
    padding-top: 0.2rem;
  }

  .ter-editorial-hero__copy {
    padding-top: 2.2rem;
  }

  .ter-editorial-hero h1 {
    font-size: clamp(3.25rem, 15vw, 4.75rem);
  }

  .ter-editorial-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ter-editorial-hero .ter-button {
    width: 100%;
  }

  .ter-editorial-proof {
    display: grid;
    gap: 0.45rem;
  }

  .ter-hero-gallery {
    display: grid;
    margin-right: -0.6rem;
    grid-auto-columns: 78%;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-rows: 410px;
    gap: 0.45rem;
    overflow-x: auto;
    padding-right: 0.6rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .ter-hero-gallery::-webkit-scrollbar {
    display: none;
  }

  .ter-hero-tile {
    scroll-snap-align: start;
  }

  .ter-category-explorer__grid,
  .ter-editorial-trust__grid,
  .ter-editorial-picks__grid {
    grid-template-columns: 1fr;
  }

  .ter-category-link-card {
    min-height: 94px;
  }

  .ter-editorial-picks__intro {
    display: block;
  }

  .ter-editorial-picks__intro h2 {
    margin-bottom: 0.7rem;
  }

  .ter-pick-card {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .ter-editorial-trust__item + .ter-editorial-trust__item,
  .ter-editorial-trust__item:nth-child(3),
  .ter-editorial-trust__item:nth-child(4) {
    border-top: 1px solid #d5d5d1;
    border-left: 0;
  }

  .ter-editorial-cta__inner {
    padding: 1.6rem;
  }

  .ter-product-single h1,
  .ter-archive-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ter-hero-tile img,
  .ter-hero-tile__arrow,
  .ter-category-link-card,
  .ter-pick-card,
  .ter-product-card,
  .ter-card {
    transition: none !important;
  }
}
