@font-face {
  font-family: Poppins;
  src: url("/assets/poppins/Poppins-Regular.ttf");
}

@font-face {
  font-family: Poppins;
  src: url("/assets/poppins/Poppins-Bold.ttf");
  font-weight: 700;
}

@font-face {
  font-family: Poppins;
  src: url("/assets/poppins/Poppins-Black.ttf");
  font-weight: 900;
}

:root {
  --ink: #191f56;
  --coral: #d95148;
  --cream: #f7f0e8;
  --paper: #fffaf6;
  --line: rgba(25, 31, 86, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.blog-page .site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  background: transparent;
}

.blog-page main {
  min-height: 50vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.blog-header {
  height: 88px;
  width: min(1200px, calc(100% - 40px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand img {
  width: 142px;
}

.blog-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
}

.blog-nav a:hover {
  color: var(--coral);
}

.nav-pill {
  border: 1px solid;
  padding: 11px 18px;
  border-radius: 50px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--ink);
  font:
    700 12px Poppins,
    Arial,
    sans-serif;
  text-transform: uppercase;
}

.blog-hero {
  padding: 100px 20px 70px;
  text-align: center;
  background: radial-gradient(
    circle at 50% 0,
    rgba(217, 81, 72, 0.13),
    transparent 40%
  );
}

.kicker {
  font-size: 12px !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--coral) !important;
  margin: 0 0 20px;
}

.blog-hero h1,
.post-head h1 {
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.94;
  /* letter-spacing: -0.06em; */
  margin: 0;
  font-weight: 900;
}

.blog-hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--coral);
}

.blog-hero > p:last-child {
  max-width: 620px;
  margin: 30px auto 0;
  line-height: 1.7;
  color: #535875;
}

.featured-wrap,
.article-section,
.single-post {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.featured-card {
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
}

.featured-media {
  min-height: 420px;
  background: var(--coral);
  display: grid;
  place-items: center;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-media span {
  font-size: 100px;
  font-weight: 900;
  color: var(--ink);
}

.featured-copy {
  padding: clamp(36px, 6vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.label,
.card-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.label {
  color: #f4a499;
}

.featured-copy h2 {
  font-size: clamp(35px, 4vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin: 20px 0;
}

.featured-copy p {
  color: #c9cbe0;
  line-height: 1.7;
}

.read-link {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 30px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.read-link b {
  color: var(--coral);
  font-size: 18px;
}

.article-section {
  padding: 110px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 45px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
}

.section-heading h2 {
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: -0.05em;
  margin: 0;
}

.section-heading > span {
  font-size: 12px;
  text-transform: uppercase;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 25px;
}

.card-image {
  aspect-ratio: 4 / 3;
  background: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--cream);
  font-weight: 900;
  font-size: 24px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.article-card:hover .card-image img {
  transform: scale(1.035);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  color: #6a6d83;
  margin: 20px 0 12px;
}

.article-card h3 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
}

.article-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: #5a5e78;
}

.newsletter,
.post-cta {
  text-align: center;
  color: #fff;
  background: var(--coral);
  padding: 90px 20px;
}

.newsletter .kicker,
.post-cta .kicker {
  color: #ffd7d1 !important;
}

.newsletter h2,
.post-cta h2 {
  font-size: clamp(42px, 7vw, 80px);
  letter-spacing: -0.05em;
  margin: 0;
}

.newsletter > p:not(.kicker) {
  color: #ffe8e4;
}

.newsletter a,
.post-cta a {
  display: inline-block;
  border: 1px solid #fff;
  padding: 14px 24px;
  border-radius: 30px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  margin-top: 28px;
}

.blog-footer {
  background: #121746;
  color: #fff;
  padding: 70px max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
}

.blog-footer img {
  filter: brightness(0) invert(1);
}

.blog-footer p {
  color: #b8bad0;
  font-size: 13px;
}

.blog-footer div:nth-child(2) {
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid #343963;
  padding-top: 24px;
}

.post-head {
  max-width: 950px;
  margin: 80px auto 55px;
  text-align: center;
}

.back-link {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 45px;
}

.post-head h1 {
  font-size: clamp(45px, 7vw, 82px);
}

.dek {
  max-width: 740px;
  margin: 30px auto;
  color: #5c6078;
  line-height: 1.7;
  font-size: 18px;
}

.byline {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.post-hero-image {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  max-height: 680px;
}

.post-hero-image img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.post-layout {
  max-width: 850px;
  margin: 70px auto 110px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 35px;
}

.share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 30px;
  height: max-content;
}

.share span {
  font-size: 14px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.share a,
.share button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.post-content {
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 1.85;
  color: #30334d;
}

.post-content h2,
.post-content h3 {
  font-family: Poppins, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 2.2em 0 0.7em;
}

.post-content h2 {
  font-size: 35px;
}

.post-content h3 {
  font-size: 25px;
}

.post-content a {
  color: var(--coral);
  text-decoration: underline;
}

.post-content img {
  border-radius: 15px;
  margin: 35px auto;
}

.post-content blockquote {
  border-left: 4px solid var(--coral);
  margin: 35px 0;
  padding: 10px 30px;
  font-size: 25px;
  font-style: italic;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 45px;
  font:
    12px Poppins,
    Arial,
    sans-serif;
}

.tags span {
  padding: 7px 12px;
  background: #ebe3dc;
  border-radius: 20px;
}

.not-found,
.empty-public {
  text-align: center;
  padding: 120px 20px;
}

.not-found h1 {
  font-size: clamp(45px, 8vw, 90px);
}

.not-found a {
  display: inline-block;
  margin-top: 30px;
  color: var(--coral);
}

.post-content video {
  display: block;
  width: 100%;
  max-height: 650px;
  border-radius: 15px;
  background: #111;
  margin: 35px auto;
}

.post-content figure {
  margin: 35px 0;
}

.post-content figcaption {
  text-align: center;
  font:
    12px Poppins,
    Arial,
    sans-serif;
  color: #70748b;
  margin-top: 10px;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 35px 0;
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
}

.post-content th,
.post-content td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

.post-content th {
  background: #ebe3dc;
}

@media (max-width: 800px) {
  .blog-header {
    height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .blog-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    background: var(--paper);
    padding: 25px;
    flex-direction: column;
    z-index: 5;
    border-radius: 12px;
    box-shadow: 0 20px 40px #0002;
  }

  .blog-nav.open {
    display: flex;
  }

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

  .featured-media {
    min-height: 280px;
  }

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

  .article-section {
    padding: 70px 0;
  }

  .section-heading {
    align-items: start;
  }

  .byline {
    flex-wrap: wrap;
    gap: 10px;
  }

  .post-layout {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .share {
    position: static;
    flex-direction: row;
  }

  .share span {
    writing-mode: initial;
  }

  .blog-footer {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    padding-top: 70px;
  }
}
