@import url('https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');

:root {
    color-scheme: light dark;
    --bg: #ffffff;
    --text: #111111;
    --muted: #777777;
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --card-border: #cccccc;
    --face-bg: linear-gradient(145deg, #ffffff, #f4f4f4);
    --face-border: #000000;
    --hover-overlay: rgba(255, 255, 255, 0.05);
}


body {
    background: var(--bg);
    color: var(--text);
    transition: background 0.3s ease, color 0.3s ease;
    font-family: "Instrument Serif", serif;
}


.header {
  background: var(--header-bg); /* Prevents content behind it from showing through */
  text-align: center;
  color: var(--text);
  margin-bottom: 0;
  width: 100%;
  font-size: 30px;
  font-family: "Instrument Serif", serif;
  font-weight: 500;
}

.header h1 {
  margin: 0;
  padding-bottom: 0.2rem;
}

/* Style the top navigation bar */

.navbar {
  background: var(--header-bg); /* Prevents content behind it from showing through */
  border-bottom: 1px solid var(--card-border);
  top: 0;  
  z-index: 1000; /* Keeps header on top of scrolling content */
  position: sticky;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.2rem;
}


/* Style the navigation bar links */
.navbar a {
  font-family: "Instrument Serif", serif;
  font-size: 1rem;
  color: var(--text);
  text-align: center;
  position: relative;
  text-decoration: none;
  margin: 0;
  padding: 0.2rem 0.4rem;
}

.navbar a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--text);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.navbar a:hover::before {
  transform: scaleX(1);
}


.main-body {
    font-family: "Instrument Serif", serif;
    font-size: 24px;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    margin-bottom: 1rem;
}

.main {
    font-family: "Instrument Serif", serif;
    font-size: 24px;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    margin-bottom: 1rem;
}

.main::first-letter {
    float: left;
    font-family: "Instrument Serif", serif;
    font-size: 3.2em;
    line-height: 0.8;
    margin: 0.08em 0.1em 0 0;
    font-weight: 700;
}

.ext {
    font-family: "Instrument Serif", serif;
    font-size: 100px;
    margin: 0;
    text-decoration: none;
    justify-content: center;
    text-align: center;
}

.subtitle {
    font-family: "Instrument Serif", serif;
    font-size: 50px;
    margin: 0;
    text-align: left;
}

.date {
    font-family: "Instrument Serif", serif;
    font-size: 20px;
    margin: 0;
    text-align: left;
}


.credit {
    font-family: "Instrument Serif", serif;
    font-size: 14px;
    margin: 0;
    text-align: left;
    padding-top: 3px;
}

.image-slot {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 240px;
    margin: 0.2rem 0 0.5rem;
}

.article-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    margin: 0 0 0.35rem;
    color: var(--muted);
}

.article-shell {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.5rem 0 2rem;
}

.article-hero {
    margin: 0 0 1.25rem;
}

.article-content {
    display: grid;
    gap: 0.75rem;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

.article-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.article-image-small {
    width: 60%;
    margin: 0 auto;
}

.article-link {
    margin-top: 0.5rem;
}

.article-link a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--card-border);
}

.article-link a:hover {
    border-bottom-color: var(--text);
}