@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Instrument+Serif:ital@0;1&family=Italiana&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);
}

.magazine-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

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

.magazine-title {
    font-size: 2.2rem;
    margin: 0 0 1.5rem;
    font-weight: 600;
}

.highlights-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: start;
    margin: 0 0 2rem;
}

.clickable-box {
    display: block;
    width: 100%;
    min-height: 320px;
    padding: 1rem;
    text-decoration: none;
    color: var(--text);
    box-sizing: border-box;
    background: var(--card-bg);
    border: 1px solid black;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickable-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.article-title {
    font-size: 1.6rem;
    margin: 0.8rem 0 0.35rem;
    font-weight: 600;
}

.article-summary {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: var(--muted);
}

.image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 0.75rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 1.25rem;
    margin: 0 0 1.5rem;
    min-height: 420px;
}

.feature-card .image {
    height: auto;
    margin-bottom: 1rem;
}

.subtitle {
    font-family: "Instrument Serif", serif;
    font-size: 2rem;
    margin: 0 0 0.5rem;
}

.main {
    font-family: "Instrument Serif", serif;
    font-size: 1.1rem;
    margin: 0.2rem 0;
}

hr {
    border: none;
    border-top: 1px solid var(--card-border);
    margin: 2rem 0 1rem;
}

iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 1px solid var(--card-border)
}
