:root {
  --lt-navy: #101c30;
  --lt-ivory: #faf6eb;
  --lt-gold: #bd9859;
  --lt-gold-ink: #765420;
  --lt-ink: #233044;
  --lt-rule: #d6c8af;
  --lt-serif: Georgia, "Times New Roman", serif;
  --lt-sans: system-ui, sans-serif;
  --lt-gutter: clamp(1rem, 3vw, 3rem);
  --lt-gap: clamp(1rem, 2.5vw, 2.5rem);
}

body {
  background: var(--lt-ivory);
  color: var(--lt-ink);
}

#main-content {
  background-color: var(--lt-ivory);
}

.lt-editorial {
  background-color: var(--lt-ivory);
  color: var(--lt-ink);
  font: 1rem/1.65 var(--lt-sans);
}

.lt-editorial :is(h1, h2, h3, h4) {
  color: var(--lt-navy);
  font-family: var(--lt-serif);
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.lt-editorial h1 {
  font-size: clamp(2.25rem, 5.4vw, 5.5rem);
  letter-spacing: -0.035em;
}

.lt-editorial h2 {
  font-size: clamp(1.65rem, 3vw, 3rem);
  letter-spacing: -0.025em;
}

.lt-editorial h3 {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.lt-editorial a {
  color: var(--lt-gold-ink);
}

.lt-editorial :is(p, li) a {
  text-decoration: underline;
  text-underline-offset: 0.17em;
}

.lt-editorial :focus-visible {
  outline: 2px solid var(--lt-gold-ink);
  outline-offset: 4px;
}

/* Apply to Divi rows inside a full-width section or page template. */
.lt-editorial .lt-wide {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding-inline: var(--lt-gutter);
}

.lt-editorial.lt-masthead,
.lt-editorial.lt-dark,
.lt-editorial .lt-dark {
  background-color: var(--lt-navy);
  color: var(--lt-ivory);
}

.lt-editorial.lt-masthead :is(h1, h2, h3, h4),
.lt-editorial.lt-dark :is(h1, h2, h3, h4),
.lt-editorial .lt-dark :is(h1, h2, h3, h4) {
  color: var(--lt-ivory);
}

.lt-editorial.lt-masthead a,
.lt-editorial.lt-dark a,
.lt-editorial .lt-dark a {
  color: var(--lt-ivory);
}

.lt-editorial.lt-masthead :focus-visible,
.lt-editorial.lt-dark :focus-visible,
.lt-editorial .lt-dark :focus-visible {
  outline-color: var(--lt-gold);
}

.lt-editorial.lt-masthead {
  border-bottom: 3px solid var(--lt-gold);
  text-align: center;
}

.lt-editorial .lt-kicker {
  font: 700 0.75rem/1.4 var(--lt-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lt-editorial .lt-rule {
  border-top: 1px solid var(--lt-rule);
}

.lt-editorial .lt-card {
  min-width: 0;
  border-top: 1px solid var(--lt-rule);
  padding-top: 0.875rem;
}

/* Use on a container whose direct children are the repeated story cards. */
.lt-editorial .lt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--lt-gap);
}

.lt-editorial .lt-reading {
  box-sizing: border-box;
  width: min(calc(100% - 2 * var(--lt-gutter)), 68ch);
  max-width: 68ch;
  margin-inline: auto;
  font: clamp(1.0625rem, 0.96rem + 0.35vw, 1.25rem)/1.75 var(--lt-serif);
  overflow-wrap: anywhere;
}

.lt-editorial .lt-reading :is(pre, .wp-block-table) {
  overflow-x: auto;
}

.lt-editorial .lt-reading img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .lt-editorial .lt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .lt-editorial .lt-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
