@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-v26-latin-regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("/assets/fonts/lexend-v26-latin-regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --blog-ink: #293538;
  --blog-muted: #657174;
  --blog-paper: #fffdfa;
  --blog-soft: #f4eee7;
  --blog-line: #d9cec2;
  --blog-teal: #177f83;
  --blog-coral: #bd6658;
  --cream: #fff7ec;
  --blog-shell: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--blog-ink);
  background: var(--blog-paper);
  font-family: "Lexend", Arial, sans-serif;
  line-height: 1.7;
}

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

a {
  color: var(--blog-teal);
  text-underline-offset: .2em;
}

.blog-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--blog-ink);
  color: white;
  transform: translateY(-150%);
}

.blog-skip-link:focus {
  transform: none;
}

.blog-header {
  border-bottom: 1px solid var(--blog-line);
  background: rgba(255, 253, 250, .96);
}

.blog-header-inner {
  width: min(calc(100% - 32px), var(--blog-shell));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.blog-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blog-ink);
  text-decoration: none;
}

.blog-brand img {
  width: 78px;
}

.blog-brand span {
  display: grid;
  line-height: 1.15;
}

.blog-brand strong,
.blog-title,
.blog-card h2,
.blog-article h1,
.blog-article h2,
.blog-sidebar h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
}

.blog-brand strong {
  font-size: 1.35rem;
}

.blog-brand small {
  color: var(--blog-muted);
  font-size: .72rem;
}

.blog-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
}

.blog-nav a {
  color: var(--blog-ink);
  font-size: .9rem;
  text-decoration: none;
}

.blog-nav a:hover,
.blog-nav a:focus-visible,
.blog-nav a.is-active {
  color: var(--blog-coral);
  text-decoration: underline;
}

.blog-main {
  width: min(calc(100% - 32px), var(--blog-shell));
  min-height: 60vh;
  margin: 0 auto;
  padding: 64px 0 80px;
}

.blog-intro {
  max-width: 760px;
  margin-bottom: 48px;
}

.blog-kicker,
.article-meta {
  margin: 0 0 8px;
  color: var(--blog-coral);
  font-size: .76rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.blog-title,
.blog-article h1 {
  margin: 0 0 18px;
  color: var(--blog-teal);
  font-size: var(--fs-h1);
  line-height: .98;
}

.blog-lead {
  max-width: 690px;
  color: var(--blog-muted);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.5;
}

.blog-list {
  display: grid;
  gap: 26px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(190px, 31%) minmax(0, 1fr);
  gap: 28px;
  padding: 22px;
  border: 1px solid var(--blog-line);
  background: white;
}

.blog-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.blog-card-content {
  align-self: center;
}

.blog-card h2 {
  margin: 0 0 10px;
  color: var(--blog-ink);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.blog-card p {
  color: var(--blog-muted);
}

.blog-text {
  display: flow-root;
  padding: 22px;
  border: 1px solid var(--blog-line);
  background: white;
}

.blog-text p,
.blog-text li {
  color: var(--blog-muted);
}

.blog-series-title {
  margin: 0;
  color: var(--blog-coral);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.blog-chapter {
  margin: 4px 0 28px;
  color: var(--blog-coral);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.blog-text h2 {
  clear: both;
  padding-top: .55em;
}

.blog-photo,
.blog-figure {
  width: min(42%, 320px);
}

.blog-photo {
  height: auto;
  border: 2px solid var(--blog-teal);
  border-radius: 15px;
  object-fit: cover;
}

.blog-photo-right,
.blog-figure-right {
  float: right;
  margin: 6px 0 24px 28px;
}

.blog-photo-left {
  float: left;
  margin: 6px 28px 24px 0;
}

.blog-figure {
  margin-top: 6px;
  margin-bottom: 24px;
}

.blog-figure .blog-photo {
  width: 100%;
}

.blog-figure figcaption {
  margin-top: 7px;
  color: var(--blog-coral);
  font-family: "Newsreader", Georgia, serif;
  font-size: .9rem;
  font-style: italic;
  text-align: center;
}

.blog-note {
  clear: both;
  margin-top: 2em;
  padding: 20px;
  border-left: 4px solid var(--blog-coral);
  background: var(--cream);
}
.blog-read-more {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
}

.blog-article-layout {
  display: flex;
  gap: 64px;
  align-items: start;
}

.blog-article {
  flex: 1 1 760px;
  min-width: 0;
}

.blog-article-header {
  margin-bottom: 36px;
}

.blog-article h1 {
  font-size: clamp(1.5rem, 3vw, 2.8rem);
}

.blog-article h2 {
  margin: 2em 0 .5em;
  color: var(--blog-coral);
   font-size: clamp(1.3rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.blog-article p {
  margin: 0 0 1.25em;
}

.blog-article ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-article .with-dropcap::first-letter {
  float: left;
  margin: .08em .12em 0 0;
  color: var(--blog-coral);
  font-family: "Newsreader", Georgia, serif;
  font-size: 4.5rem;
  line-height: .72;
}

.article-hero {
  width: 60%;
  max-height: 560px;
  margin: 14px auto 25px;
  object-fit: cover;
  border: 2px solid var(--blog-teal); 
  border-radius: 15px;
}

.blog-sidebar {
  flex: 0 0 280px;
  position: sticky;
  top: 24px;
  padding: 24px;
  border-top: 4px solid var(--blog-teal);
  background: var(--cream);
}

.blog-sidebar h2 {
  margin: 0 0 18px;
  font-size: 1.8rem;
}

.blog-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-sidebar li + li {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--blog-line);
}

.blog-sidebar a {
  color: var(--blog-ink);
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 28px;
}

.news-panel {
  padding: 28px;
  border: 1px solid var(--blog-line);
  background: white;
}

.news-panel h2 {
  margin-top: 0;
  color: var(--blog-coral);
  font-family: "Newsreader", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.facebook-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed var(--blog-teal);
  color: var(--blog-muted);
  background: var(--blog-soft);
  text-align: center;
}

.blog-footer {
  width: min(calc(100% - 32px), var(--blog-shell));
  margin: 0 auto;
  padding: 24px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--blog-line);
  color: var(--blog-muted);
  font-size: .78rem;
}

.blog-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .blog-header-inner,
  .blog-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-header-inner {
    padding: 16px 0;
  }

  .blog-nav {
    justify-content: flex-start;
  }

  .blog-main {
    padding-top: 44px;
  }

  .blog-card,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .blog-article-layout {
    flex-direction: column;
  }

  .blog-article,
  .blog-sidebar {
    width: 100%;
    flex-basis: auto;
  }

  .blog-card img {
    max-height: 300px;
  }

  .blog-photo,
  .blog-figure,
  .blog-photo-right,
  .blog-photo-left,
  .blog-figure-right {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 22px;
  }

  .blog-sidebar {
    position: static;
  }
}
