* {
  box-sizing: border-box;
}

:root {
  --ink: #152238;
  --ink-soft: #35445a;
  --muted: #6b7789;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #dfe4e8;
  --line-dark: #bdc7cf;
  --teal: #168b7b;
  --teal-light: #56d1bc;
  --blue: #377ef7;
  --navy: #17345b;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
}

a {
  color: inherit;
}

.brief-container {
  width: min(1180px, 92%);
  margin: 0 auto;
}


/* HEADER */

.brief-site-header {
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brief-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brief-logo {
  display: block;
  width: auto;
  height: 43px;
  object-fit: contain;
  object-position: left center;
}

.brief-brand span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.brief-main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.brief-main-nav a {
  position: relative;
  padding: 32px 0 29px;
  color: #35445a;
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 700;
}

.brief-main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  background: var(--teal);
}


/* PUBLICATION HEADER */

.publication-head {
  padding: 58px 0 0;
  background: var(--paper);
}

.publication-rule {
  width: 100%;
  height: 5px;
  margin-bottom: 42px;
  background: var(--ink);
}

.publication-kicker,
.section-label {
  margin: 0;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.publication-head h1 {
  margin: 10px 0 0;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
  font-weight: 700;
}

.publication-tagline {
  margin: 20px 0 0;
  color: var(--ink);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-style: italic;
}

.publication-intro {
  max-width: 700px;
  margin: 24px 0 38px;
  color: var(--ink-soft);
  font-size: 1.07rem;
  line-height: 1.75;
}

.category-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.category {
  flex: 0 0 auto;
  padding: 17px 20px 15px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  cursor: pointer;
}

.category:first-child {
  padding-left: 0;
}

.category.active {
  color: var(--ink);
  border-bottom-color: var(--teal);
}


/* LEAD STORY */

.lead-story {
  padding: 52px 0 60px;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.lead-image {
  min-height: 475px;
}

.image-placeholder {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      #d7e5e8 0%,
      #edf1ef 42%,
      #b9ced2 100%
    );
  text-decoration: none;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 50%,
      rgba(17, 34, 55, 0.38)
    );
}

.image-placeholder span {
  position: relative;
  z-index: 1;
  margin: 20px;
  padding: 8px 11px;
  background: rgba(251, 250, 247, 0.94);
  color: var(--ink);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.story-category {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.lead-copy h2 {
  margin: 0;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.lead-copy h2 a,
.story-body h3 a {
  text-decoration: none;
}

.lead-copy h2 a:hover,
.story-body h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.lead-dek {
  margin: 25px 0;
  color: var(--ink-soft);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.18rem;
  line-height: 1.65;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.story-meta span + span::before {
  content: "•";
  margin-right: 17px;
  color: #a0aab4;
}

.read-story {
  display: inline-block;
  margin-top: 28px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 4px;
  font-size: 0.84rem;
  font-weight: 800;
}


/* STORY GRID */

.latest-section {
  padding: 55px 0 85px;
  border-top: 1px solid var(--line-dark);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading h2 {
  max-width: 700px;
  margin: 10px 0 0;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px 28px;
}

.story-card {
  min-width: 0;
}

.story-card[hidden] {
  display: none;
}

.story-image {
  min-height: 225px;
  margin-bottom: 22px;
}

.story-body h3 {
  margin: 0 0 12px;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.75rem;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.story-body > p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  line-height: 1.6;
}


/* CTA */

.brief-cta {
  padding: 65px 0;
  background: var(--navy);
  color: white;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-inner h2 {
  max-width: 720px;
  margin: 9px 0 12px;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.cta-inner p {
  max-width: 660px;
  margin: 0;
  color: #d6e1eb;
  line-height: 1.6;
}

.brief-button {
  flex: 0 0 auto;
  padding: 15px 20px;
  border-radius: 6px;
  background: var(--teal-light);
  color: #10273c;
  text-decoration: none;
  font-weight: 900;
}


/* FOOTER */

.brief-footer {
  padding: 40px 0;
  background: #102238;
  color: white;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 35px;
}

.footer-inner strong {
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.3rem;
}

.footer-inner p {
  margin: 8px 0 0;
  color: #aebdca;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #d7e1ea;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}


/* RESPONSIVE */

@media (max-width: 900px) {

  .brief-main-nav {
    gap: 14px;
  }

  .brief-main-nav a {
    font-size: 0.78rem;
  }

  .lead-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .lead-image {
    min-height: 380px;
  }

  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}


@media (max-width: 680px) {

  .header-inner {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .brief-main-nav {
    width: 100%;
    overflow-x: auto;
  }

  .brief-main-nav a {
    flex: 0 0 auto;
    padding: 8px 0 12px;
  }

  .brief-main-nav a.active::after {
    bottom: 4px;
  }

  .publication-head {
    padding-top: 35px;
  }

  .publication-rule {
    margin-bottom: 28px;
  }

  .publication-head h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .category {
    padding-left: 14px;
    padding-right: 14px;
  }

  .category:first-child {
    padding-left: 0;
  }

  .lead-story {
    padding-top: 32px;
  }

  .lead-grid {
    gap: 28px;
  }

  .lead-image {
    min-height: 290px;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-image {
    min-height: 245px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* Production editorial image hooks */

.gas-price-photo{
  background:
    linear-gradient(rgba(15,34,55,.10),rgba(15,34,55,.34)),
    url("/images/fuel-brief/gas-prices.webp") center/cover,
    linear-gradient(135deg,#d7e5e8,#b9ced2);
}

.driving-image{
  background:
    linear-gradient(rgba(15,34,55,.05),rgba(15,34,55,.28)),
    url("/images/fuel-brief/smooth-driving.webp") center/cover,
    linear-gradient(135deg,#d7e5e8,#b9ced2);
}

.tire-image{
  background:
    linear-gradient(rgba(15,34,55,.05),rgba(15,34,55,.28)),
    url("/images/fuel-brief/tire-pressure.webp") center/cover,
    linear-gradient(135deg,#d7e5e8,#b9ced2);
}

.idle-image{
  background:
    linear-gradient(rgba(15,34,55,.05),rgba(15,34,55,.28)),
    url("/images/fuel-brief/idling.webp") center/cover,
    linear-gradient(135deg,#d7e5e8,#b9ced2);
}

.cargo-image{
  background:
    linear-gradient(rgba(15,34,55,.05),rgba(15,34,55,.28)),
    url("/images/fuel-brief/roof-cargo.webp") center/cover,
    linear-gradient(135deg,#d7e5e8,#b9ced2);
}

.premium-image{
  background:
    linear-gradient(rgba(15,34,55,.05),rgba(15,34,55,.28)),
    url("/images/fuel-brief/premium-gas.webp") center/cover,
    linear-gradient(135deg,#d7e5e8,#b9ced2);
}

.station-image{
  background:
    linear-gradient(rgba(15,34,55,.05),rgba(15,34,55,.28)),
    url("/images/fuel-brief/cheaper-gas.webp") center/cover,
    linear-gradient(135deg,#d7e5e8,#b9ced2);
}

/* Editorial article links */

.fuel-brief-page h1 a,
.fuel-brief-page h2 a,
.fuel-brief-page h3 a,
.fuel-brief-page h4 a,
main h1 a,
main h2 a,
main h3 a,
main h4 a {
  color: inherit;
  text-decoration: none;
}

.fuel-brief-page h1 a:hover,
.fuel-brief-page h2 a:hover,
.fuel-brief-page h3 a:hover,
.fuel-brief-page h4 a:hover,
main h1 a:hover,
main h2 a:hover,
main h3 a:hover,
main h4 a:hover {
  color: #168b7b;
}

