:root {
  --page-bg: #f4efe6;
  --page-fg: #111111;
  --muted: #555555;
  --accent: #a40000;
  --rule: #222222;
  --rule-light: #d0c6b4;
  --link: #a40000;
  --link-hover: #740000;
  --max-width: 960px;
  --base-font: "Georgia", "Times New Roman", serif;
}

/* -----------------------------
   RESET / BASE
----------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--base-font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--page-fg);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

/* images */

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

/* links */

a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--link-hover);
  border-color: var(--link-hover);
}

/* headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--base-font);
  margin: 0 0 0.35em;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  border-bottom: 4px double var(--rule);
  padding-bottom: 0.4rem;
  margin-bottom: 0.8rem;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  border-bottom: 1px solid var(--rule-light);
  padding-bottom: 0.25rem;
  margin-top: 2.25rem;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin-top: 1.75rem;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem 1.4rem;
  padding: 0;
}

li {
  margin-bottom: 0.35rem;
}

/* generic */

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

main.container {
  display: block;
}

/* visually hidden */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* -----------------------------
   PAGE CONTAINER
----------------------------- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

/* -----------------------------
   MASTHEAD (TOP HEADER)
----------------------------- */

.top-header {
  border-bottom: 4px double var(--rule);
  background: #f9f5ec;
}

.top-header header.top-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

/* brand icon as masthead emblem */

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-bottom: none;
}

.brand-icon {
  font-size: 1.8rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  border: 2px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rule);
  background: #fdfaf4;
}

/* keep FA classes clean if used elsewhere */

.fa-solid.fa-scale-balanced {
  font-size: 1.2rem;
}

/* ---------------------------------
   NEWSPAPER NAV BAR / HAMBURGER
---------------------------------- */

.top-nav {
  border-bottom: 2px solid var(--rule);
  border-top: 2px solid var(--rule);
  background: #f1ece0;
}

/* inner layout */

.top-nav .container {
  max-width: var(--max-width);
  padding: 0.35rem 1.25rem;
  margin: 0 auto;
}

/* hamburger button */

.menu-toggle {
  appearance: none;
  border: 1px solid var(--rule);
  background: #f9f5ec;
  padding: 0.4rem 0.6rem;
  margin: 0.2rem 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.menu-toggle:focus {
  outline: 2px solid var(--rule);
  outline-offset: 2px;
}

/* bars */

.bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #111111;
}

/* menu (mobile first) */

.menu {
  display: none;
  margin-top: 0.35rem;
}

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

.menu li {
  margin: 0;
  border-top: 1px solid var(--rule-light);
}

.menu li:first-child {
  border-top: none;
}

.menu a {
  display: block;
  padding: 0.55rem 0.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: #111111;
  border-bottom: none;
}

/* open state */

.top-nav.open .menu {
  display: block;
}

/* desktop */

@media (min-width: 768px) {
  .top-nav {
    position: sticky;
    top: 0;
    z-index: 40;
  }

  .top-nav .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }

  .menu-toggle {
    display: none;
  }

  .menu {
    display: block;
    margin-top: 0;
    width: 100%;
  }

  .menu ul {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
  }

  .menu li {
    border-top: none;
  }

  .menu a {
    padding: 0.4rem 0;
    border-bottom: 1px solid transparent;
  }

  .menu a:hover {
    border-bottom-color: var(--rule);
  }
}


/* -----------------------------
   SLANT DIVIDERS / BANDS
   (.slant-divider-1, .slant-divider-2, .below-header, .above-footer)
----------------------------- */

.below-header {
  background: transparent;
}

.above-footer {
  background: transparent;
}

.slant-divider-1,
.slant-divider-2 {
  height: 10px;
  max-width: var(--max-width);
  margin: 0.4rem auto 0.1rem;
  background: repeating-linear-gradient(
    135deg,
    #c6ba9f,
    #c6ba9f 4px,
    #f4efe6 4px,
    #f4efe6 8px
  );
}

/* -----------------------------
   ARTICLE BODY STYLING
----------------------------- */

/* multi-column feel for long text on wide screens */

@media (min-width: 900px) {
  .container > h2 + p,
  .container > h2 + p + p,
  .container > p + h2 {
    column-count: 1;
  }

  main.container {
    column-gap: 3rem;
  }
}

/* first paragraph under main h1: slightly larger */

main.container > h1 + p {
  font-size: 1.02rem;
  line-height: 1.75;
}

/* drop cap for very first paragraph of page, where appropriate */

main.container > h1 + p::first-letter {
  float: left;
  font-size: 2.8rem;
  line-height: 0.9;
  padding-right: 0.2rem;
  padding-top: 0.18rem;
  font-weight: 700;
}

/* lists tighter, newspaper style */

main.container ul,
main.container ol {
  font-size: 0.98rem;
}

/* -----------------------------
   COMPONENTS
----------------------------- */

/* .card — like a boxed sidebar feature */

.card {
  border: 1px solid var(--rule-light);
  padding: 0.9rem 1rem;
  margin: 1.75rem 0;
  background: #f9f5ec;
}

.card h3 {
  margin-top: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--rule-light);
  padding-bottom: 0.25rem;
}

/* .quote — pull quote */

.quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  border-left: 4px solid var(--rule);
  padding-left: 0.9rem;
  margin: 1.5rem 0;
}

/* .note — information box */

.note {
  border: 1px solid var(--rule-light);
  background: #fffdf8;
  padding: 0.75rem 0.9rem;
  margin: 1.25rem 0;
  font-size: 0.96rem;
}

/* accordion */

.accordion {
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
  margin: 2rem 0;
}

.acc-item {
  border-top: 1px solid var(--rule-light);
}

.acc-item:first-child {
  border-top: none;
}

.acc-button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.7rem 0.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.acc-button:focus {
  outline: 2px solid var(--rule);
  outline-offset: 2px;
}

.acc-panel {
  padding: 0 0 0.75rem;
  font-size: 0.96rem;
}

/* -----------------------------
   CONTACT PAGE
   (.contact-card, .contact-info)
----------------------------- */

.contact-card {
  border: 2px solid var(--rule);
  padding: 1rem 1.1rem;
  margin: 1.5rem 0 1.75rem;
  background: #f9f5ec;
}

.contact-card h1 {
  font-size: 1.5rem;
  border-bottom: 2px solid var(--rule-light);
  margin-bottom: 0.6rem;
}

.contact-info {
  border-top: 1px solid var(--rule-light);
  padding-top: 1rem;
  margin-top: 1rem;
}

.contact-info h2 {
  border-bottom: 1px solid var(--rule-light);
  padding-bottom: 0.3rem;
  margin-bottom: 0.5rem;
}

.contact-info address {
  font-style: normal;
}

/* -----------------------------
   FOOTER
   (.bottom-footer, .site-footer, .below-footer)
----------------------------- */

.bottom-footer {
  border-top: 2px solid var(--rule);
  background: #f1ece0;
  margin-top: 2rem;
}

.below-footer {
  background: transparent;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  font-size: 0.9rem;
  text-align: center;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

/* -----------------------------
   SMALL SCREEN TWEAKS
----------------------------- */

@media (max-width: 480px) {
  .container {
    padding: 1.25rem 1rem 2.5rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  main.container > h1 + p::first-letter {
    font-size: 2.2rem;
  }
}
/* ---------------------------------
   DEFINITION LISTS (dl, dt, dd)
   Newspaper-style layout
---------------------------------- */

dl {
  margin: 1.75rem 0;
  padding: 0;
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}

dt {
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--rule-light);
}

dt:first-of-type {
  border-top: none;
}

dd {
  margin: 0 0 1rem;
  padding: 0 0 0.75rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--muted);
}

/* optional subtle indented style */
dd:not(:last-of-type) {
  border-bottom: 1px dotted var(--rule-light);
}

/* wide screen: two-column definition lists (newspaper dictionary look) */
@media (min-width: 900px) {
  dl.two-column {
    column-count: 2;
    column-gap: 3rem;
  }
}
/* ---------------------------------
   BELOW-HEADER HERO SLIDER
---------------------------------- */

.hero-slider {
  width: 100%;
  max-width: var(--max-width);
  margin: 0.75rem auto 1.5rem;
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.hero-slide {
  width: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1200 / 400;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(0,0,0,0.45);
  color: #fff;
}

.hero-caption h2 {
  font-size: 1.6rem;
  margin: 0 0 0.3rem;
  border: none;
}

.hero-caption p {
  margin: 0;
  font-size: 1rem;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .hero-caption h2 {
    font-size: 1.2rem;
  }
  .hero-caption p {
    font-size: 0.9rem;
  }
}
.masthead-title {
  font-family: var(--base-font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-left: 0.75rem;
  color: #111;
}
