/* TheTimeo homepage: luxury editorial cover system. */
.ttm-editorial-home {
  width: 100%;
  max-width: none;
  padding: 0;
  background: var(--ttm-bg);
  color: var(--ttm-ink);
}

.ttm-home-eyebrow,
.ttm-home-kicker,
.ttm-home-meta {
  margin: 0;
  color: var(--ttm-color-subtle);
  font: var(--ttm-font-eyebrow);
  letter-spacing: var(--ttm-track-eyebrow);
  text-transform: uppercase;
}

.ttm-home-cover {
  width: min(100%, var(--ttm-max));
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.8rem) var(--ttm-gutter) 0;
}

.ttm-home-cover__inner {
  display: grid;
  gap: var(--ttm-space-md);
  border-bottom: 1px solid var(--ttm-line);
  padding-bottom: clamp(2.4rem, 5vw, 4.6rem);
}

.ttm-home-cover__media {
  display: block;
  overflow: hidden;
  aspect-ratio: var(--ttm-ratio-card);
  background: var(--ttm-panel);
}

.ttm-home-cover__media img,
.ttm-home-cover__media .ttm-image-fallback,
.ttm-story-slider__media img,
.ttm-story-slider__media .ttm-image-fallback,
.ttm-editorial-home .ttm-mb-feature-card__media img,
.ttm-editorial-home .ttm-mb-feature-card__media .ttm-image-fallback,
.ttm-editorial-home .ttm-mb-split-feature__media img,
.ttm-editorial-home .ttm-mb-split-feature__media .ttm-image-fallback,
.ttm-editorial-home .ttm-mb-latest-card__media img,
.ttm-editorial-home .ttm-mb-latest-card__media .ttm-image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ttm-home-cover__copy {
  display: grid;
  align-content: end;
  max-width: 43rem;
}

.ttm-home-cover h1 {
  max-width: 12em;
  margin: 0.45rem 0 0;
  color: var(--ttm-ink);
  font-family: var(--ttm-font-sans);
  font-size: clamp(1.8rem, 3.6vw, 3.35rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.04;
}

.ttm-home-dek {
  max-width: 34rem;
  margin: 0.95rem 0 0;
  color: var(--ttm-color-copy);
  font: var(--ttm-font-dek);
}

.ttm-home-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 1rem;
  letter-spacing: 0.1em;
}

.ttm-home-meta span {
  position: relative;
}

.ttm-home-meta span::before {
  content: "";
  position: absolute;
  left: -0.58rem;
  top: 50%;
  width: 3px;
  height: 3px;
  transform: translateY(-50%);
  background: currentColor;
}

.ttm-home-text-link {
  justify-self: start;
  margin-top: 1.1rem;
  color: var(--ttm-ink);
  font: var(--ttm-font-label);
  letter-spacing: var(--ttm-track-label);
  text-transform: uppercase;
}

.ttm-home-section,
.ttm-editorial-home .ttm-mb-section {
  width: min(100%, var(--ttm-max));
  margin: 0 auto;
  padding: var(--ttm-section-tight) var(--ttm-gutter);
}

.ttm-home-section--stories {
  background: var(--ttm-panel);
}

.ttm-section-head--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}

.ttm-section-head--row h2,
.ttm-editorial-home .ttm-mb-section-head h2,
.ttm-editorial-home .ttm-mb-magazine-grid h2 {
  margin: 0.35rem 0 0;
  color: var(--ttm-ink);
  font: var(--ttm-font-section-title);
  letter-spacing: 0;
}

.ttm-editorial-home .ttm-mb-feature-card h2,
.ttm-editorial-home .ttm-mb-split-feature h2 {
  margin: 0.35rem 0 0;
  color: var(--ttm-ink);
  font: var(--ttm-font-card-title-large);
  letter-spacing: 0;
}

.ttm-slider-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 0.45rem;
}

.ttm-slider-controls.is-static {
  display: none;
}

.ttm-slider-control {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--ttm-line-strong);
  border-radius: var(--ttm-radius-none);
  background: transparent;
  color: var(--ttm-ink);
}

.ttm-slider-control:disabled {
  opacity: 0.32;
}

.ttm-slider-control svg {
  width: 1.08rem;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.ttm-story-slider {
  min-width: 0;
}

.ttm-story-slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(17rem, 25vw, 25rem);
  gap: clamp(1rem, 1.8vw, 1.65rem);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 14vw 0.7rem 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-y;
}

.ttm-story-slider__track::-webkit-scrollbar {
  display: none;
}

.ttm-story-slider__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.ttm-story-slider__slide {
  min-width: 0;
  scroll-snap-align: start;
}

.ttm-story-slider__media {
  display: block;
  overflow: hidden;
  aspect-ratio: var(--ttm-ratio-portrait);
  background: var(--ttm-panel);
}

.ttm-story-slider__media img {
  transition: transform var(--ttm-duration-slow) var(--ttm-ease-luxury);
}

.ttm-story-slider__slide:hover .ttm-story-slider__media img {
  transform: scale(var(--ttm-media-hover-scale));
}

.ttm-story-slider__copy {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.82rem;
}

.ttm-story-slider__copy h3 {
  margin: 0;
  color: var(--ttm-ink);
  font: var(--ttm-font-card-title);
  letter-spacing: 0;
}

.ttm-story-slider__copy p:not(.ttm-home-kicker) {
  margin: 0;
  color: var(--ttm-color-subtle);
  font: var(--ttm-font-card-copy);
}

.ttm-slider-progress {
  width: min(19rem, 48vw);
  height: 1px;
  margin-top: 1.25rem;
  overflow: hidden;
  background: var(--ttm-line);
}

.ttm-slider-progress span {
  display: block;
  width: 0;
  height: 100%;
  transform-origin: left center;
  background: var(--ttm-ink);
  transition: width var(--ttm-duration-base) var(--ttm-ease-luxury), transform var(--ttm-duration-base) var(--ttm-ease-luxury);
}

.ttm-editorial-home .ttm-mb-section + .ttm-mb-section,
.ttm-editorial-home .ttm-mb-split-feature + .ttm-mb-section {
  border-top: 1px solid var(--ttm-line);
}

.ttm-editorial-home .ttm-mb-feature-pair {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.ttm-editorial-home .ttm-mb-closing-pair {
  display: grid;
  gap: var(--ttm-space-md);
}

.ttm-editorial-home .ttm-mb-closing-pair .ttm-mb-section-head {
  display: grid;
  justify-items: start;
  max-width: none;
  margin: 0;
  text-align: left;
}

.ttm-editorial-home .ttm-mb-closing-pair .ttm-mb-section-head h2 {
  max-width: 14.8rem;
}

.ttm-editorial-home .ttm-mb-closing-pair__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.4rem);
}

.ttm-editorial-home .ttm-mb-feature-card__media,
.ttm-editorial-home .ttm-mb-split-feature__media,
.ttm-editorial-home .ttm-mb-latest-card__media {
  display: block;
  overflow: hidden;
  background: var(--ttm-panel);
}

.ttm-editorial-home .ttm-mb-feature-card__media {
  aspect-ratio: var(--ttm-ratio-wide);
}

.ttm-editorial-home .ttm-mb-feature-card__copy {
  padding-top: 1rem;
}

.ttm-editorial-home .ttm-mb-feature-card--closing .ttm-mb-feature-card__copy {
  display: grid;
  gap: 0.44rem;
  padding-top: clamp(0.72rem, 1.5vw, 1rem);
}

.ttm-editorial-home .ttm-mb-feature-card__copy p:not(.ttm-mb-kicker),
.ttm-editorial-home .ttm-mb-split-feature__copy p,
.ttm-editorial-home .ttm-mb-latest-card__copy p {
  color: var(--ttm-color-copy);
  font: var(--ttm-font-card-copy);
  line-height: 1.58;
}

.ttm-editorial-home .ttm-mb-split-feature__copy p:not(.ttm-mb-eyebrow) {
  font: var(--ttm-font-dek);
}

.ttm-editorial-home .ttm-mb-button {
  display: inline-flex;
  justify-self: start;
  margin-top: 0.8rem;
  border-bottom: 1px solid currentColor;
  color: var(--ttm-ink);
  font: var(--ttm-font-label);
  letter-spacing: var(--ttm-track-label);
  text-transform: uppercase;
}

.ttm-editorial-home .ttm-mb-button,
.ttm-editorial-home .ttm-mb-button:hover {
  min-width: 0;
  min-height: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  padding: 0 0 0.18rem;
  background: transparent;
}

.ttm-editorial-home .ttm-mb-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.ttm-editorial-home .ttm-mb-category-tile {
  display: grid;
  min-height: 8rem;
  grid-template-rows: minmax(5.6rem, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--ttm-color-line-soft);
  background: var(--ttm-panel);
  color: var(--ttm-ink);
  text-align: center;
}

.ttm-editorial-home .ttm-mb-category-tile__media {
  display: block;
  min-height: 5.6rem;
  background: var(--ttm-panel);
}

.ttm-editorial-home .ttm-mb-category-tile__media:empty {
  background: var(--ttm-panel);
}

.ttm-editorial-home .ttm-mb-category-tile__media img,
.ttm-editorial-home .ttm-mb-category-tile__media .ttm-image-fallback {
  width: 100%;
  height: 100%;
  min-height: 5.6rem;
  object-fit: cover;
}

.ttm-editorial-home .ttm-mb-category-tile__label {
  display: grid;
  min-height: 2.4rem;
  place-items: center;
  padding: 0.6rem 0.45rem;
  font: var(--ttm-font-label);
  letter-spacing: var(--ttm-track-label);
  text-transform: uppercase;
}

.ttm-editorial-home .ttm-mb-split-feature {
  display: grid;
  width: 100%;
  background: var(--ttm-panel);
}

.ttm-editorial-home .ttm-mb-split-feature__media {
  aspect-ratio: 4 / 5;
}

.ttm-editorial-home .ttm-mb-split-feature__copy {
  align-self: center;
  padding: clamp(2.4rem, 6vw, 5.5rem) var(--ttm-gutter);
}

.ttm-editorial-home .ttm-mb-split-feature__copy > * {
  max-width: 35rem;
}

.ttm-editorial-home .ttm-mb-magazine-grid__items {
  display: grid;
  gap: clamp(1rem, 2vw, 1.45rem);
}

.ttm-editorial-home .ttm-mb-latest-card {
  display: grid;
  gap: 0.75rem;
}

.ttm-editorial-home .ttm-mb-latest-card__media {
  aspect-ratio: var(--ttm-ratio-card);
}

.ttm-editorial-home .ttm-mb-latest-card--lead .ttm-mb-latest-card__media {
  aspect-ratio: var(--ttm-ratio-wide);
}

.ttm-editorial-home .ttm-mb-latest-card h3 {
  margin: 0.18rem 0 0;
  color: var(--ttm-ink);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.18;
}

.ttm-editorial-home .ttm-mb-latest-card--lead h3 {
  font-size: clamp(1.02rem, 1.55vw, 1.38rem);
  line-height: 1.12;
}

.ttm-editorial-home .ttm-mb-magazine-grid .ttm-mb-section-head {
  display: grid;
  gap: 0;
}

.ttm-editorial-home .ttm-mb-magazine-grid h2 {
  font-size: clamp(1.42rem, 6.2vw, 1.78rem);
  line-height: 1.06;
}

.ttm-editorial-home .ttm-mb-magazine-grid h2 .ttm-heading-split__sans,
.ttm-editorial-home .ttm-mb-magazine-grid h2 .ttm-heading-split__serif {
  font-family: var(--ttm-font-sans);
  font-style: normal;
  font-weight: var(--ttm-weight-display-sans);
}

.ttm-editorial-home .ttm-mb-magazine-grid .ttm-mb-section-head::after {
  content: "";
  display: block;
  width: min(5.8rem, 30vw);
  height: 1px;
  margin-top: clamp(1.1rem, 2vw, 1.55rem);
  background: var(--ttm-line-strong);
}

.ttm-editorial-home .ttm-mb-magazine-grid .ttm-mb-latest-card__copy {
  display: grid;
  gap: 0.42rem;
}

.ttm-editorial-home .ttm-mb-eyebrow,
.ttm-editorial-home .ttm-mb-kicker {
  margin: 0;
  color: var(--ttm-color-subtle);
  font: var(--ttm-font-eyebrow);
  letter-spacing: var(--ttm-track-eyebrow);
  text-transform: uppercase;
}

.ttm-editorial-home .ttm-image-fallback {
  background: var(--ttm-panel);
}

.ttm-editorial-home .ttm-image-fallback span {
  color: var(--ttm-color-copy);
  font-family: var(--ttm-font-sans);
  font-size: 0.86rem;
  font-weight: 400;
}

@media (max-width: 640px) {
  .ttm-home-cover {
    padding-top: 0;
  }

  .ttm-home-cover__inner {
    gap: 1.15rem;
  }

  .ttm-home-cover__media {
    width: calc(100% + (var(--ttm-gutter) * 2));
    margin-left: calc(var(--ttm-gutter) * -1);
    aspect-ratio: 4 / 4.85;
  }

  .ttm-home-cover h1 {
    font-size: clamp(1.62rem, 8vw, 2.05rem);
  }

  .ttm-home-section,
  .ttm-editorial-home .ttm-mb-section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .ttm-section-head--row {
    align-items: start;
  }

  .ttm-section-head--row h2 {
    max-width: 14.8rem;
  }

  .ttm-story-slider__track {
    grid-auto-columns: 82vw;
    gap: 14px;
    padding-right: 16vw;
  }

  .ttm-story-slider__copy p:not(.ttm-home-kicker) {
    display: none;
  }
}

.ttm-editorial-home .ttm-home-cover h1 a,
.ttm-editorial-home .ttm-story-slider__copy h3 a,
.ttm-editorial-home .ttm-mb-feature-card h2 a,
.ttm-editorial-home .ttm-mb-split-feature h2 a,
.ttm-editorial-home .ttm-mb-latest-card h3 a,
.ttm-editorial-home .ttm-home-text-link,
.ttm-editorial-home .ttm-mb-button,
.ttm-category-nav a,
.ttm-header__link,
.ttm-footer a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  transition: background-size var(--ttm-duration-base) var(--ttm-ease-luxury), color var(--ttm-duration-fast) ease;
}

.ttm-editorial-home .ttm-home-cover h1 a:hover,
.ttm-editorial-home .ttm-story-slider__copy h3 a:hover,
.ttm-editorial-home .ttm-mb-feature-card h2 a:hover,
.ttm-editorial-home .ttm-mb-split-feature h2 a:hover,
.ttm-editorial-home .ttm-mb-latest-card h3 a:hover,
.ttm-editorial-home .ttm-home-text-link:hover,
.ttm-editorial-home .ttm-mb-button:hover,
.ttm-category-nav a:hover,
.ttm-header__link:hover,
.ttm-footer a:hover {
  color: inherit;
  background-size: 100% 1px;
}

.ttm-editorial-home .ttm-mb-feature-card h2,
.ttm-editorial-home .ttm-mb-split-feature h2,
.ttm-editorial-home .ttm-mb-feature-card--closing h2 {
  font-size: clamp(1rem, 1.35vw, 1.26rem);
  line-height: 1.14;
}

@media (max-width: 640px) {
  .ttm-editorial-home .ttm-mb-closing-pair {
    gap: 1.2rem;
  }

  .ttm-editorial-home .ttm-mb-closing-pair .ttm-mb-section-head {
    justify-items: start;
    text-align: left;
  }

  .ttm-editorial-home .ttm-mb-closing-pair__items {
    gap: 0.82rem;
  }

  .ttm-editorial-home .ttm-mb-feature-card--closing .ttm-mb-feature-card__media {
    aspect-ratio: 4 / 4.35;
  }

  .ttm-editorial-home .ttm-mb-feature-card--closing .ttm-mb-feature-card__media img {
    object-fit: cover;
  }

  .ttm-editorial-home .ttm-mb-feature-card--closing:first-child .ttm-mb-feature-card__media img {
    object-fit: contain;
  }

  .ttm-editorial-home .ttm-mb-feature-card--closing h2 {
    font-size: clamp(0.86rem, 3.5vw, 1rem);
    line-height: 1.13;
  }

  .ttm-editorial-home .ttm-mb-feature-card--closing .ttm-mb-feature-card__copy p:not(.ttm-mb-kicker) {
    display: none;
  }

  .ttm-editorial-home .ttm-mb-feature-card--closing .ttm-mb-button {
    margin-top: 0.22rem;
    font-size: 0.58rem;
  }
}

@media (min-width: 768px) {
  .ttm-editorial-home .ttm-mb-closing-pair .ttm-mb-section-head h2 {
    max-width: 15.5rem;
    font-size: clamp(1.62rem, 2.2vw, 2.35rem);
    line-height: 1.07;
  }

  .ttm-editorial-home .ttm-mb-feature-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ttm-editorial-home .ttm-mb-categories__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ttm-editorial-home .ttm-mb-split-feature {
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  }

  .ttm-editorial-home .ttm-mb-split-feature__media {
    aspect-ratio: auto;
    min-height: clamp(31rem, 55vw, 42rem);
  }

  .ttm-editorial-home .ttm-mb-magazine-grid__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .ttm-editorial-home .ttm-mb-latest-card--lead {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (min-width: 1024px) {
  .ttm-editorial-home .ttm-mb-magazine-grid {
    display: grid;
    grid-template-columns: minmax(11rem, 0.21fr) minmax(0, 0.79fr);
    align-items: start;
    column-gap: clamp(2rem, 3.2vw, 3.8rem);
    padding-top: clamp(4.4rem, 6.4vw, 6.8rem);
  }

  .ttm-editorial-home .ttm-mb-magazine-grid .ttm-mb-section-head {
    max-width: 15.5rem;
    margin: 0;
    padding-top: 0.15rem;
  }

  .ttm-editorial-home .ttm-mb-magazine-grid h2 {
    font-size: clamp(1.62rem, 2.2vw, 2.35rem);
    line-height: 1.07;
  }

  .ttm-editorial-home .ttm-mb-magazine-grid__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.35rem, 2vw, 2rem) clamp(1rem, 1.55vw, 1.45rem);
  }

  .ttm-editorial-home .ttm-mb-latest-card--lead {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 0.58fr) minmax(18rem, 0.42fr);
    align-items: end;
    gap: clamp(1.25rem, 2.6vw, 2.6rem);
    border-bottom: 1px solid var(--ttm-line);
    padding-bottom: clamp(1.3rem, 2.2vw, 2rem);
  }

  .ttm-editorial-home .ttm-mb-latest-card--lead .ttm-mb-latest-card__media {
    aspect-ratio: 16 / 10;
  }

  .ttm-editorial-home .ttm-mb-latest-card__copy {
    max-width: 24rem;
  }

  .ttm-editorial-home .ttm-mb-latest-card--lead .ttm-mb-latest-card__copy {
    max-width: 30rem;
    padding-bottom: 0.2rem;
  }

  .ttm-editorial-home .ttm-mb-latest-card--lead h3 {
    font-size: clamp(1.08rem, 1.45vw, 1.42rem);
    line-height: 1.12;
  }

  .ttm-editorial-home .ttm-mb-latest-card--lead .ttm-mb-kicker {
    margin-bottom: 0.1rem;
  }

  .ttm-editorial-home .ttm-mb-latest-card--lead p:not(.ttm-mb-kicker) {
    max-width: 26rem;
    font-size: 0.92rem;
    line-height: 1.58;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .ttm-home-cover__media {
    aspect-ratio: 16 / 10.6;
  }
}

@media (min-width: 1024px) {
  .ttm-home-cover__inner {
    grid-template-columns: minmax(0, 0.64fr) minmax(18rem, 0.36fr);
    align-items: end;
  }

  .ttm-home-cover__media {
    aspect-ratio: var(--ttm-ratio-hero);
    min-height: clamp(31rem, 58vh, 45rem);
  }
}

@media (min-width: 1180px) {
  .ttm-home-cover {
    padding-top: clamp(1.2rem, 2.4vw, 2.2rem);
  }
}
