/* CosmeticsDaily homepage v2 — magazine long-page */

body.cd-home-v2 {
  --cd-ink: #1c1a19;
  --cd-ink-soft: #5a514c;
  --cd-muted: #6b5f59;
  --cd-accent: #9e2f45;
  --cd-accent-on-dark: #e9a3b1;
  --cd-bg: #ffffff;
  --cd-bg-blush: #f7f0eb;
  --cd-bg-cream: #fbf8f5;
  --cd-dark-card: #3a3432;
  --cd-line: #ece4de;
  --cd-font-display: "Fraunces", Georgia, serif;
  --cd-font-body: "Inter", system-ui, sans-serif;
  --cd-radius-lg: 16px;
  --cd-radius-md: 12px;
  --cd-radius-sm: 10px;
  --cd-radius-pill: 999px;
  --cd-max: 1560px;
  background: var(--cd-bg);
  color: var(--cd-ink);
  font-family: var(--cd-font-body);
  font-size: 16px;
  line-height: 1.5;
}

body.cd-home-v2 .cd-main {
  max-width: none;
  padding: 0;
}

body.cd-home-v2 .cd-crumbs,
body.cd-home-v2 .cd-breadcrumbs {
  display: none;
}

.cd-container {
  max-width: 1560px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 48px);
  box-sizing: border-box;
}

.cd-section {
  padding-block: 64px;
}

.cd-section--blush {
  background: var(--cd-bg-blush);
}

.cd-section--cream {
  background: var(--cd-bg-cream);
}

.cd-section--white {
  background: var(--cd-bg);
}

.cd-section--ink {
  background: var(--cd-ink);
  color: #f7f3ee;
}

.cd-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cd-section-title {
  margin: 0;
  font-family: var(--cd-font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cd-section--ink .cd-section-title {
  color: #fff;
}

.cd-eyebrow,
.cd-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--cd-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cd-accent);
}

.cd-section--ink .cd-eyebrow,
.cd-section--ink .cd-kicker {
  color: var(--cd-accent-on-dark);
}

.cd-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--cd-accent);
  white-space: nowrap;
}

.cd-more:hover {
  color: var(--cd-ink);
}

.cd-more--on-dark,
.cd-section--ink .cd-more {
  color: var(--cd-accent-on-dark);
}

.cd-more--on-dark:hover,
.cd-section--ink .cd-more:hover {
  color: #fff;
}

.cd-ph {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cd-line);
}

.cd-ph--dark {
  background: var(--cd-dark-card);
}

/* —— Header v2 —— */
body.cd-home-v2 .cd-header--v2 {
  background: transparent;
  color: inherit;
}

body.cd-home-v2 .cd-header--v2 .cd-util {
  background: var(--cd-ink);
  color: #b7ada6;
  border-bottom: 0;
  font-size: 13px;
}

body.cd-home-v2 .cd-header--v2 .cd-util__inner {
  max-width: 1560px;
  padding-inline: clamp(20px, 4vw, 48px);
}

body.cd-home-v2 .cd-header--v2 .cd-util__date {
  display: none;
}

body.cd-home-v2 .cd-header--v2 .cd-util__tag {
  color: #cfc5be;
}

body.cd-home-v2 .cd-header--v2 .cd-util__links a {
  color: #e8e0da;
}

body.cd-home-v2 .cd-header--v2 .cd-util__links a:hover {
  color: #fff;
}

body.cd-home-v2 .cd-masthead--v2 {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--cd-line);
  color: var(--cd-ink);
}

body.cd-home-v2 .cd-masthead--v2 .cd-masthead__inner {
  position: relative;
  max-width: 1560px;
  padding-inline: clamp(20px, 4vw, 48px);
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 1.25rem;
}

body.cd-home-v2 .cd-masthead--v2 .cd-brand {
  display: block;
}

body.cd-home-v2 .cd-masthead--v2 .cd-brand__mark {
  font-family: var(--cd-font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--cd-ink);
  text-transform: lowercase;
}

body.cd-home-v2 .cd-masthead--v2 .cd-brand__tagline {
  display: none;
}

body.cd-home-v2 .cd-catnav--inline {
  background: transparent;
  border: 0;
  min-width: 0;
}

body.cd-home-v2 .cd-catnav--inline .cd-catnav__inner {
  max-width: none;
  padding: 0;
}

body.cd-home-v2 .cd-catnav--inline .cd-catnav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.cd-home-v2 .cd-catnav--inline a {
  color: var(--cd-ink-soft);
  font-size: 14px;
  font-weight: 500;
}

body.cd-home-v2 .cd-catnav--inline a:hover,
body.cd-home-v2 .cd-catnav--inline .is-current a {
  color: var(--cd-ink);
}

body.cd-home-v2 .cd-masthead--v2 .cd-search {
  display: flex;
  align-items: center;
  width: min(340px, 100%);
  background: var(--cd-bg-blush);
  border: 1px solid var(--cd-line);
  border-radius: var(--cd-radius-pill);
  overflow: hidden;
}

body.cd-home-v2 .cd-masthead--v2 .cd-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.65rem 1rem;
  font: inherit;
  font-size: 14px;
  color: var(--cd-ink);
  min-width: 0;
}

body.cd-home-v2 .cd-masthead--v2 .cd-search button {
  width: 40px;
  height: 40px;
  margin: 4px;
  border: 0;
  border-radius: 50%;
  background: var(--cd-ink);
  color: #fff;
  font-size: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

body.cd-home-v2 .cd-masthead--v2 .cd-search button::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-sizing: border-box;
}

body.cd-home-v2 .cd-masthead--v2 .cd-search button::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: #fff;
  right: 10px;
  bottom: 12px;
  transform: rotate(45deg);
  border-radius: 1px;
}

body.cd-home-v2 .cd-nav-toggle {
  display: none;
  border-color: var(--cd-ink);
}

body.cd-home-v2 .cd-nav-toggle span,
body.cd-home-v2 .cd-nav-toggle::before,
body.cd-home-v2 .cd-nav-toggle::after {
  background: var(--cd-ink);
}

/* —— Breaking News —— */
.cd-home-news__top {
  display: grid;
  grid-template-columns: minmax(0, 853px) minmax(300px, 1fr);
  grid-template-areas:
    "media stories"
    "body .";
  column-gap: 32px;
  row-gap: 1rem;
  align-items: stretch;
}

.cd-home-hero__media {
  grid-area: media;
  display: block;
  min-width: 0;
  width: 100%;
  border-radius: var(--cd-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: min(480px, 52vw);
  background: var(--cd-line);
}

.cd-home-hero__media img,
.cd-home-hero__img,
.cd-home-hero__ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-home-hero__body {
  grid-area: body;
  width: 100%;
  max-width: 100%;
}

.cd-home-topstories {
  grid-area: stories;
}

.cd-home-hero__title {
  margin: 0 0 0.65rem;
  font-family: var(--cd-font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cd-home-hero__title a:hover {
  color: var(--cd-accent);
}

.cd-home-hero__dek {
  margin: 0;
  color: var(--cd-ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.cd-home-topstories {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  align-self: stretch;
}

.cd-home-story {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cd-line);
}

.cd-home-topstories .cd-home-story {
  flex: 1 1 0;
  align-items: center;
  min-height: 0;
  padding: 0;
  gap: 14px;
}

.cd-home-topstories .cd-home-story + .cd-home-story {
  border-top: 1px solid var(--cd-line);
}

.cd-home-topstories .cd-home-story:last-child {
  border-bottom: 0;
}

.cd-home-topstories .cd-home-story__thumb {
  flex: 0 0 168px;
  width: 168px;
  height: 118px;
  aspect-ratio: auto;
  align-self: center;
}

.cd-home-topstories .cd-home-story__title {
  font-size: 17px;
}

.cd-home-topstories .cd-kicker {
  margin-bottom: 0.25rem;
}

@media (max-width: 1024px) {
  .cd-home-news__top {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "body"
      "stories";
  }

  .cd-home-topstories {
    height: auto;
  }

  .cd-home-topstories .cd-home-story {
    flex: 0 0 auto;
    padding: 12px 0;
  }

  .cd-home-topstories .cd-home-story:first-child {
    padding-top: 0;
  }

  .cd-home-topstories .cd-home-story:last-child {
    padding-bottom: 0;
  }
}

.cd-home-story__thumb {
  flex: 0 0 132px;
  width: 132px;
  aspect-ratio: 4 / 3;
  border-radius: var(--cd-radius-sm);
  overflow: hidden;
  background: var(--cd-line);
}

.cd-home-story__thumb img,
.cd-home-story__thumb .cd-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-home-story__body {
  min-width: 0;
  flex: 1;
}

.cd-home-story__title {
  margin: 0;
  font-family: var(--cd-font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}

.cd-home-story__title a:hover {
  color: var(--cd-accent);
}

.cd-home-morenews {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--cd-line);
}

.cd-home-morenews__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.cd-home-morenews__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px 24px;
}

.cd-home-story--row {
  align-items: center;
  padding: 0;
  border: 0;
}

.cd-home-story--row .cd-home-story__thumb {
  flex-basis: 140px;
  width: 140px;
}

.cd-home-story--row .cd-home-story__title {
  font-size: 18px;
}

/* —— Videos + Creators —— */
.cd-home-watch__top {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cd-home-watch__pair {
  display: grid;
  grid-template-columns: minmax(0, 880px) minmax(280px, 1fr);
  gap: 20px 28px;
  align-items: start;
}

.cd-home-mainvideo__media {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(460px, 50vw);
  border-radius: var(--cd-radius-lg);
  overflow: hidden;
  background: var(--cd-dark-card);
}

.cd-home-mainvideo__media img,
.cd-home-mainvideo__media .cd-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-home-mainvideo__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.cd-home-mainvideo__play::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 22px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent var(--cd-ink);
}

.cd-home-mainvideo__title {
  margin: 0;
  max-width: min(100%, 880px);
  font-family: var(--cd-font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.cd-home-mainvideo__title a {
  color: #fff;
}

.cd-home-mainvideo__title a:hover {
  color: var(--cd-accent-on-dark);
}

.cd-home-videogrid {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  max-height: min(460px, 50vw); /* match main video media */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 12px 14px;
  align-content: start;
  align-items: stretch;
  overflow: hidden;
}

.cd-home-videogrid > li {
  min-width: 0;
  display: flex;
}

.cd-home-videocard {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  color: #f3ebe6;
  min-height: 44px;
}

.cd-home-videocard__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--cd-radius-md);
  overflow: hidden;
  background: var(--cd-dark-card);
  flex: 0 0 auto;
}

.cd-home-videocard__thumb img,
.cd-home-videocard__thumb .cd-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cd-home-videocard__title {
  font-family: var(--cd-font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cd-home-videocard__meta {
  margin-top: auto;
  font-size: 12px;
  line-height: 1.3;
  min-height: 1.3em;
  color: #b8aea7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1100px) {
  .cd-home-watch__pair {
    grid-template-columns: 1fr;
  }

  .cd-home-videogrid {
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
  }
}

.cd-home-videocard:hover .cd-home-videocard__title {
  color: var(--cd-accent-on-dark);
}

.cd-home-creators {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Full-bleed black band under Popular Creators — short horizontal strip. */
.cd-home-partner {
  padding-block: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cd-home-partner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2.5rem;
  width: 100%;
}

.cd-home-partner__copy {
  flex: 1 1 auto;
  min-width: 0;
}

.cd-home-partner .cd-eyebrow--on-dark {
  margin: 0 0 0.15rem;
  color: var(--cd-accent-on-dark);
}

.cd-home-partner__title {
  margin: 0 0 0.2rem;
  font-family: var(--cd-font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

.cd-home-partner__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  color: #cfc5be;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cd-home-partner__actions {
  flex: 0 0 auto;
  margin: 0;
  margin-left: auto;
}

.cd-home-partner__cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cd-accent-on-dark);
  text-decoration: none;
  white-space: nowrap;
}

.cd-home-partner__cta:hover {
  color: #fff;
}

@media (max-width: 767px) {
  .cd-home-partner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cd-home-partner__lead {
    white-space: normal;
  }

  .cd-home-partner__actions {
    margin-left: 0;
  }
}

.cd-home-creators__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
}

.cd-home-creators__title {
  margin: 0;
  font-family: var(--cd-font-display);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.cd-home-creatorgrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px 16px;
}

.cd-home-creator {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  color: #f3ebe6;
  min-height: 44px;
}

.cd-home-creator__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cd-dark-card);
}

.cd-home-creator__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-home-creator__name {
  font-family: var(--cd-font-display);
  font-size: 16px;
  font-weight: 600;
}

.cd-home-creator__plat {
  font-size: 13px;
  color: #b8aea7;
}

.cd-home-creator:hover .cd-home-creator__name {
  color: var(--cd-accent-on-dark);
}

/* —— Products —— */
.cd-home-productgrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.cd-home-productgrid > li {
  display: flex;
  min-width: 0;
}

.cd-home-product {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid var(--cd-line);
  border-radius: var(--cd-radius-md);
  padding: 14px;
  min-height: 44px;
  color: var(--cd-ink);
}

.cd-home-product:hover {
  color: var(--cd-ink);
  border-color: #dccfc5;
}

.cd-home-product__media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--cd-radius-sm);
  overflow: hidden;
  background: var(--cd-bg-blush);
}

.cd-home-product__media img,
.cd-home-product__media .cd-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-home-product__rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cd-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.cd-home-product__brand {
  margin-top: 0.35rem;
  flex: 0 0 auto;
  min-height: 1.2em;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cd-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cd-home-product__name {
  flex: 1 1 auto;
  font-family: var(--cd-font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  min-height: calc(1.3em * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cd-home-product__type {
  flex: 0 0 auto;
  margin-top: auto;
  min-height: 1.3em;
  font-size: 13px;
  line-height: 1.3;
  color: var(--cd-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* —— Ingredients —— */
.cd-home-ings__row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
}

.cd-home-ingweek {
  flex: 999 1 640px;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--cd-line);
  border-radius: var(--cd-radius-lg);
  padding: 22px;
}

.cd-home-ingweek__media {
  flex: 1 1 240px;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--cd-radius-md);
  overflow: hidden;
  background: var(--cd-bg-blush);
}

.cd-home-ingweek__media img,
.cd-home-ingweek__media .cd-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-home-ingweek__body {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.cd-home-ingweek__name {
  margin: 0;
  font-family: var(--cd-font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.1;
}

.cd-home-ingweek__name a:hover {
  color: var(--cd-accent);
}

.cd-home-ingweek__inci {
  margin: 0;
  color: var(--cd-muted);
  font-size: 14px;
}

.cd-home-ingweek__dek {
  margin: 0;
  color: var(--cd-ink-soft);
  font-size: 16px;
}

.cd-home-ingtags {
  flex: 1 1 340px;
  min-width: 0;
}

.cd-home-ingtags__title {
  margin: 0 0 1rem;
  font-family: var(--cd-font-display);
  font-size: 24px;
  font-weight: 600;
}

.cd-home-ingtags__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cd-home-ingtags__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--cd-line);
  border-radius: var(--cd-radius-pill);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--cd-ink);
}

.cd-home-ingtags__list a:hover {
  border-color: var(--cd-accent);
  color: var(--cd-accent);
}

/* —— Brands —— */
.cd-home-brandgrid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.cd-home-brand {
  display: grid;
  place-items: center;
  height: 120px;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--cd-line);
  border-radius: var(--cd-radius-md);
  text-align: center;
}

.cd-home-brand img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.cd-home-brand__name {
  font-family: var(--cd-font-display);
  font-size: 16px;
  font-weight: 600;
}

.cd-home-brand:hover {
  border-color: #dccfc5;
}

/* —— Footer on home —— */
body.cd-home-v2 .cd-footer {
  background: var(--cd-ink);
  color: #e8e0da;
  padding: 56px 0 28px;
}

body.cd-home-v2 .cd-footer__grid,
body.cd-home-v2 .cd-footer__copy,
body.cd-home-v2 .cd-disclaimer {
  max-width: 1560px;
  padding-inline: clamp(20px, 4vw, 48px);
}

body.cd-home-v2 .cd-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px 24px;
}

body.cd-home-v2 .cd-footer h2,
body.cd-home-v2 .cd-footer__brand {
  margin: 0 0 0.85rem;
  font-family: var(--cd-font-display);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

body.cd-home-v2 .cd-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.cd-home-v2 .cd-footer li + li {
  margin-top: 0.45rem;
}

body.cd-home-v2 .cd-footer__col--types {
  min-width: min(100%, 280px);
}

body.cd-home-v2 .cd-footer__col--types ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
  row-gap: 0.45rem;
}

body.cd-home-v2 .cd-footer__col--types li + li {
  margin-top: 0;
}

body.cd-home-v2 .cd-footer a {
  color: #d7cdc6;
}

body.cd-home-v2 .cd-footer a:hover {
  color: #fff;
}

body.cd-home-v2 .cd-footer__note {
  margin: 0 0 1rem;
  color: #b8aea7;
  font-size: 14px;
}

body.cd-home-v2 .cd-disclaimer {
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9f958e;
  font-size: 13px;
}

body.cd-home-v2 .cd-footer__copy {
  margin: 12px auto 0;
  color: #8f8680;
  font-size: 13px;
}

/* —— Mobile —— */
@media (max-width: 767px) {
  .cd-section {
    padding-block: 40px;
  }

  .cd-section-title {
    font-size: 26px;
  }

  body.cd-home-v2 .cd-header--v2 .cd-util {
    display: none;
  }

  body.cd-home-v2 .cd-masthead--v2 .cd-masthead__inner {
    grid-template-columns: 1fr auto auto;
    min-height: 60px;
  }

  body.cd-home-v2 .cd-catnav--inline {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--cd-line);
    padding: 12px clamp(20px, 4vw, 48px) 20px;
    box-shadow: 0 12px 28px rgba(28, 26, 25, 0.08);
  }

  body.cd-home-v2 .cd-header--v2.is-nav-open .cd-catnav--inline,
  body.cd-home-v2 .cd-catnav--inline.is-open {
    display: block;
  }

  body.cd-home-v2 .cd-catnav--inline .cd-catnav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  body.cd-home-v2 .cd-catnav--inline a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.2rem 0;
    border-bottom: 1px solid var(--cd-line);
  }

  body.cd-home-v2 .cd-nav-toggle {
    display: inline-flex;
  }

  body.cd-home-v2 .cd-masthead--v2 .cd-search {
    width: 40px;
    background: transparent;
    border: 0;
  }

  body.cd-home-v2 .cd-masthead--v2 .cd-search input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  body.cd-home-v2 .cd-masthead--v2 .cd-search.is-open {
    position: absolute;
    left: clamp(20px, 4vw, 48px);
    right: clamp(20px, 4vw, 48px);
    top: calc(100% + 8px);
    width: auto;
    background: #fff;
    border: 1px solid var(--cd-line);
    z-index: 60;
  }

  body.cd-home-v2 .cd-masthead--v2 .cd-search.is-open input {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
  }

  .cd-home-story__thumb {
    flex-basis: 96px;
    width: 96px;
  }

  .cd-home-story--row .cd-home-story__thumb {
    flex-basis: 96px;
    width: 96px;
  }

  .cd-home-morenews__grid li:nth-child(n + 5) {
    display: none;
  }

  .cd-home-videogrid,
  .cd-home-creatorgrid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .cd-home-videogrid li,
  .cd-home-creatorgrid li {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }

  .cd-home-creatorgrid li {
    flex-basis: 140px;
  }

  .cd-home-productgrid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .cd-home-productgrid li:nth-child(n + 7) {
    display: none;
  }

  .cd-home-ingweek {
    flex-direction: column;
  }

  .cd-home-brandgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  body.cd-home-v2 .cd-masthead--v2 {
    position: sticky;
  }
}
