@import url("https://fonts.googleapis.com/css2?family=Domine:wght@400;500;600;700&family=Funnel+Sans:wght@400;500;600;700&display=swap");

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background: #fff;
  font-family: "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.blog-header-logo {
  font-family: "Domine", Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-scroller .nav-link {
  font-size: 1rem;
  font-weight: 600;
}

.featured-story-title {
  font-family: "Domine", Georgia, "Times New Roman", serif;
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0;
}

.featured-story-summary {
  color: var(--bs-secondary-color);
  font-size: 1.125rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.featured-story-image {
  height: auto;
  background: var(--bs-tertiary-bg);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.2;
}

.section-heading::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: .25rem;
  height: 1.1rem;
  background: var(--bs-primary);
}

.album-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  border-radius: var(--bs-border-radius);
  background: var(--bs-tertiary-bg);
}

.article-link {
  transition: opacity .2s ease-in-out;
}

.article-link img {
  transition: filter .2s ease-in-out;
}

.article-link:hover {
  opacity: .96;
}

.article-link:hover img {
  filter: brightness(.9);
}

.album-card-title {
  font-family: "Domine", Georgia, "Times New Roman", serif;
  margin: .35rem 0 0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0;
}

.album-card-summary {
  color: var(--bs-secondary-color);
  margin-bottom: 0;
  display: -webkit-box;
  display: box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  max-height: 4.5em;
}

.homepage-sidebar-thumb {
  width: 100%;
  aspect-ratio: 6 / 4;
  object-fit: cover;
  background: var(--bs-tertiary-bg);
}

.homepage-sidebar-title {
  font-family: "Domine", Georgia, "Times New Roman", serif;
  margin: .35rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}

.story-image-placeholder {
  min-height: 12rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 3rem;
  align-items: start;
}

.article-main-column,
.article-sidebar-column,
.article-page,
.sidebar-stack,
.recent-story-link,
.recent-story-copy {
  min-width: 0;
}

.article-hero-frame {
  width: 100%;
  overflow: hidden;
  border-radius: var(--bs-border-radius);
  background: var(--bs-tertiary-bg);
}

.article-hero-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.article-header {
  padding-top: .5rem;
}

.article-category-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: .75rem;
  padding: .25rem .65rem;
  border: 1px solid rgba(var(--bs-primary-rgb), .24);
  border-radius: .35rem;
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .06);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.article-category-tag:hover,
.article-category-tag:focus {
  color: var(--bs-primary);
  background: rgba(var(--bs-primary-rgb), .1);
}

.article-title {
  font-family: "Domine", Georgia, "Times New Roman", serif;
  max-width: 980px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.article-title-rule {
  margin: 0 0 1rem;
  opacity: .12;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: 1rem;
}

.article-page {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.article-content-with-share {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.article-share-rail {
  position: sticky;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-top: .15rem;
}

.article-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: var(--bs-secondary-color);
  background: var(--bs-tertiary-bg);
  text-decoration: none;
  transition: background-color .15s ease-in-out, color .15s ease-in-out, transform .15s ease-in-out;
}

.article-share-link:hover,
.article-share-link:focus {
  color: var(--bs-body-color);
  background: var(--bs-secondary-bg);
  transform: translateY(-1px);
}

.article-source-link {
  margin-left: 4.75rem;
}

.recent-story-link {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-radius: var(--bs-border-radius);
}

.recent-story-thumb {
  width: 96px;
  height: auto;
  display: block;
  border-radius: var(--bs-border-radius);
  background: var(--bs-tertiary-bg);
}

.recent-story-copy h6 {
  font-family: "Domine", Georgia, "Times New Roman", serif;
  overflow-wrap: anywhere;
}

.recent-story-summary {
  color: var(--bs-secondary-color);
  display: -webkit-box;
  display: box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  max-height: 1.35em;
  margin-top: .25rem;
}

footer .nav-link:hover,
footer .nav-link:focus {
  color: var(--bs-body-color) !important;
  opacity: .8;
}

footer a.link-body-emphasis:hover,
footer a.link-body-emphasis:focus {
  opacity: .85;
}

@media (max-width: 767.98px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .featured-story-title {
    font-size: 2rem;
  }

  .article-title {
    max-width: none;
    font-size: 2.45rem;
  }

  .article-content-with-share {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .article-share-rail {
    position: static;
    flex-direction: row;
    padding-top: 0;
  }

  .article-source-link {
    margin-left: 0;
  }
}
