/* =========================================================
   WordPress additions. The landing page design lives in
   styles.css (copied unchanged from the static site); this file
   only covers menus, inner pages and WordPress core classes.
   ========================================================= */

/* ---------- Accessibility ---------- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  word-wrap: normal !important;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
  top: 8px;
  left: 8px;
  z-index: 100000;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-heavy);
  text-decoration: none;
}

/* ---------- Header menu (only shown when a Primary menu is assigned) ---------- */
.site-header { border-bottom: 1px solid var(--border-dark); }

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-header__logo img { height: 64px; width: auto; }

.site-nav__list,
.footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.site-nav__list a,
.footer-nav__list a {
  font-family: var(--font-heavy);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.footer-nav__list a:hover { color: var(--red-light); }

/* ---------- Footer menu ---------- */
.footer-nav { padding-top: 40px; }
.footer-nav__list { justify-content: center; }
.footer-nav + .footer__inner { padding-top: 24px; }

/* ---------- Inner pages, posts, archives ---------- */
.entry__header .container { padding-top: 72px; padding-bottom: 48px; }

.entry__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
}

.entry__thumbnail { padding-bottom: 40px; }
.entry__thumbnail img { width: 100%; height: auto; }

.entry__body { background: var(--white); color: var(--ink); }

.entry__content {
  max-width: 820px;
  padding-top: 64px;
  padding-bottom: 80px;
  font-size: 19px;
  line-height: 1.6;
}

.entry__content > :first-child { margin-top: 0; }
.entry__content h2,
.entry__content h3 { font-weight: 700; line-height: 1.2; margin: 1.6em 0 0.5em; }
.entry__content a { color: var(--red-dark); }
.entry__content img { height: auto; }
.entry__content blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 8px solid var(--red); }

.entry__meta {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 15px;
  color: #5c5557;
}

.entry--summary { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid #ddd; }
.entry__summary-title { margin: 0 0 8px; font-size: 28px; }
.entry__summary-title a { color: var(--ink); text-decoration: none; }
.entry__summary-title a:hover { color: var(--red-dark); }

.button--red { background: var(--red); color: var(--white); }
.button--red:hover { background: var(--red-dark); }
.entry__content .button { color: var(--white); }

.nav-links { display: flex; gap: 12px; font-family: var(--font-heavy); }

/* ---------- Hero video ---------- */
/* Uploaded or direct video files play in a <video> element; styles.css only sizes iframes. */
.video video { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--ink-deep); }

/* ---------- Core block alignment ---------- */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text,
.wp-element-caption { font-size: 15px; color: #5c5557; }

@media (max-width: 700px) {
  .entry__header .container { padding-top: 48px; padding-bottom: 32px; }
  .entry__content { padding-top: 40px; padding-bottom: 56px; font-size: 18px; }
  .site-header__inner { justify-content: center; }
}
