/* -------- Reset / base -------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f5f5f5;
}

a {
  color: #135ba1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* -------- Hero with background image -------- */

.hero {
  position: relative;
  height: 200px;  /* adjust to taste / image aspect */
  background-image: url("../img/banner.png"); /* new banner with no whiteout */
  background-size: cover;       /* or 'contain' if you prefer */
  background-position: center;  /* center the artwork */
  background-repeat: no-repeat;
  border-bottom: 2px solid #000;
}

/* Centered container, same width as main content */
.hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  height: 100%;       /* fill full hero height */
  padding: 0 1rem;    /* matches main's horizontal padding */
}

/* White strip aligned with main text column */
.hero-strip {
  position: absolute;
  top: 0;
  bottom: 0;                      /* full height of .hero */
  left: 0;                        /* left edge of the main content column */
  width: min(340px, 60%);         /* not too wide on small screens */
  background: rgba(255, 255, 255, 0.9);
  border-right: 2px solid #000;   /* vertical divider line */
  border-left: 2px solid #000;
  display: flex;
  align-items: center;            /* center text vertically inside strip */
}

/* Text inside the strip */
.hero-text {
  padding: 0.8rem 1.2rem;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.0rem;
}

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

/* Small screens: shrink the strip a bit */
@media (max-width: 600px) {
  .hero {
    height: 180px;
  }

  .hero-strip {
    width: 70%;  /* give text more room on small screens */
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }
}

/* -------- Navigation bar -------- */

.top-nav {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
}

.top-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.4rem 1rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-start;
  font-size: 0.95rem;
}

.top-nav a {
  text-decoration: none;
  color: #444;
  padding-bottom: 0.15rem;
  border-bottom: 2px solid transparent;
}

.top-nav a:hover {
  color: #000;
  border-bottom-color: #ccc;
}

.top-nav a.active {
  color: #000;
  font-weight: 600;
  border-bottom-color: #000;
}

/* Small screens: slightly tighter nav */
@media (max-width: 600px) {
  .top-nav-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

/* -------- Main layout -------- */

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  background: #ffffff;
}

/* Intro + contact block */
.intro {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1.5rem;
}

.intro-text {
  flex: 2 1 260px;
}

.intro-text h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.intro-text p {
  margin-bottom: 0.5rem;
}

.intro-meta {
  font-size: 0.95rem;
  color: #444;
  margin-top: 0.75rem;
}

.contact {
  flex: 1 1 200px;
  font-size: 0.95rem;
}

.contact h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.contact ul {
  list-style: none;
}

.contact li + li {
  margin-top: 0.25rem;
}

/* Sections */

section {
  margin-bottom: 1.75rem;
}

section h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #555;
}

.item {
  margin-bottom: 0.75rem;
}

.item-title {
  font-weight: 600;
}

.item-subtitle {
  font-style: italic;
  font-size: 0.95rem;
  color: #555;
}

.item-meta {
  font-size: 0.9rem;
  color: #777;
}

.item-meta-dark {
  font-size: 0.9rem;
  color: #000;
}

.sub-questions {
  margin: 6px 0 0 20px;
  padding: 0;
}
.sub-questions li {
  margin-bottom: 4px;
}

/* Footer */

footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
  font-size: 0.8rem;
  color: #777;
  text-align: center;
}

/* Small screens */

@media (max-width: 600px) {
  .hero-strip h1 {
    font-size: 1.6rem;
  }
}
