:root {
  --ink: #3e3e3e;
  --dark: #2f2e2e;
  --accent: #f2c94c;
  --accent-soft: #f7dd8c;
  --link: #2f7ec1;
  --panel: rgba(255, 255, 255, 0.86);
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Open Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: #5d7f8a; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #5d7f8a url("../images/c32fcb2084034aecb53ead640818c297.jpg") center / cover fixed no-repeat;
}
body.bg-news { background-image: url("../images/7ff5cc8855fa480096cd5da791eeaeae.jpg"); }

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

/* Header */
.site-header {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 18px 0;
}
.logo {
  display: inline-block;
  font-family: var(--head);
  font-weight: 400;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #000;
  text-decoration: none;
  margin: 0 0 12px;
}
.menu { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.menu a {
  display: block;
  padding: 3px 22px 3px 11px;
  min-width: 70px;
  font-family: var(--head);
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dark);
  background: #fff;
  border-right: 1px solid #e6e6e6;
}
.menu a:hover { background: #f1f1f1; }
.menu a[aria-current="page"] { background: var(--dark); color: #fff; }

/* Panel */
main { flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 50px 18px 60px; }
.home-spacer { min-height: 60vh; }
.panel { background: var(--panel); padding: 28px 24px; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; color: var(--dark); letter-spacing: 0.02em; }

.title {
  font-size: 20px;
  text-transform: uppercase;
  margin: 0 0 22px;
  padding-bottom: 8px;
  position: relative;
}
.title::after {
  content: "";
  display: block;
  margin-top: 8px;
  height: 9px;
  border-top: 4px solid var(--accent);
  border-bottom: 2px solid var(--accent-soft);
}
.title.short::after { width: 180px; }

/* Story */
.story-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 28px; align-items: start; }
.story-grid img { width: 100%; height: auto; display: block; }
.story-text p { margin: 0 0 1em; font-size: 14px; }
.highlights h2 { font-size: 15px; font-weight: 600; font-family: var(--body); text-decoration: underline; margin: 0 0 12px; }
.highlights ul { list-style: none; padding: 0; margin: 0; font-size: 13.5px; }
.highlights li { margin-bottom: 4px; }
.pbs { text-align: right; }
.pbs h2 { font-size: 22px; margin: 0; }
.pbs .title::after { margin-left: auto; }
.pbs p { margin: 0; font-size: 13px; }
.pbs b { margin-left: 10px; }
.story-bottom { display: grid; grid-template-columns: 2fr 3fr; gap: 28px; align-items: end; margin-top: 10px; }

/* News */
.news-item { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 10px 0 46px; }
.news-item + .news-item { border-top: 1px solid rgba(0,0,0,0.08); padding-top: 40px; }
.news-item img { width: 100%; height: 330px; object-fit: cover; display: block; }
.news-item h2 { font-size: 17px; line-height: 1.45; margin: 0 0 18px; text-transform: uppercase; }
.news-item h2 a { color: inherit; text-decoration: none; }
.news-item h2::after {
  content: ""; display: block; width: 150px; margin-top: 10px; height: 8px;
  border-top: 4px solid var(--accent); border-bottom: 2px solid var(--accent-soft);
}
.news-item p { font-size: 13px; margin: 0 0 0.9em; }
.news-item ul { font-size: 13px; margin: 0 0 0.9em; padding-left: 18px; }
.more { text-align: right; margin-top: 20px; }
.more a {
  display: inline-block; font-family: var(--head); font-size: 14px; text-transform: uppercase;
  text-decoration: none; color: var(--link); padding-bottom: 6px;
  border-bottom: 4px double var(--accent);
}

/* Gallery */
/* Rows like the Wix gallery: each photo keeps its shape, rows fill the width */
.gallery { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery::after { content: ""; flex-grow: 999; }
.gallery button { all: unset; cursor: zoom-in; display: block; flex: var(--r) 1 calc(var(--r) * 260px); aspect-ratio: var(--r); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) { .gallery button { flex-basis: calc(var(--r) * 140px); } }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center; z-index: 10; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 38px; cursor: pointer; padding: 10px 18px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.post-card { background: #fff; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border: 1px solid #eee; }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.post-card .meta { font-size: 11px; color: #777; padding: 18px 22px 0; }
.post-card h2 { font-size: 22px; line-height: 1.25; margin: 8px 22px 10px; }
.post-card p { font-size: 13.5px; margin: 0 22px 22px; }
.post-card:hover h2 { color: var(--link); }

.post { background: #fff; padding: 40px 56px 50px; }
.post .meta { font-size: 12px; color: #777; margin-bottom: 6px; }
.post h1 { font-size: 34px; line-height: 1.2; margin: 0 0 26px; }
.post-body { font-size: 16px; line-height: 1.75; }
.post-body p { margin: 0 0 1.1em; }
.post-body figure { margin: 1.4em 0; }
.post-body img { width: 100%; height: auto; display: block; }
.post-body h2, .post-body h3 { font-size: 24px; margin: 1.6em 0 0.6em; }
.post-body li { margin-bottom: 0.6em; }
.post-body a { word-break: break-word; }
.post-body blockquote { margin: 1.2em 0; padding-left: 18px; border-left: 4px solid var(--accent); font-weight: 600; }
.back { display: inline-block; margin-bottom: 18px; font-size: 13px; }

/* Support */
.support-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 28px; align-items: start; }
.support-btn {
  display: inline-block; margin-top: 6px; padding: 11px 26px;
  font-family: var(--head); font-size: 16px; letter-spacing: 0.03em; text-transform: uppercase;
  text-decoration: none; color: var(--dark); background: var(--accent);
  border-bottom: 3px solid #d9a91a;
}
.support-btn:hover { background: #f6d66a; }
.support-grid img { width: 100%; height: auto; display: block; }
.support-text p { font-size: 14px; margin: 0 0 1em; }
.contact { margin-top: 36px; display: grid; grid-template-columns: 3fr 2fr; gap: 28px; }
.contact form { display: grid; gap: 12px; }
.contact input, .contact textarea {
  width: 100%; font: inherit; font-size: 14px; padding: 9px 10px; border: 1px solid #bbb; background: #fff;
}
.contact textarea { min-height: 120px; resize: vertical; }
.contact button {
  justify-self: start; font-family: var(--head); text-transform: uppercase; font-size: 14px;
  background: var(--dark); color: #fff; border: 0; padding: 9px 30px; cursor: pointer;
}
.form-note { font-size: 13px; min-height: 1.2em; margin: 0; }
.social-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.social-list li { margin-bottom: 8px; }

/* Footer */
.site-footer {
  background: rgba(130, 100, 90, 0.55);
  color: #fff;
  font-size: 11px;
}
.site-footer .inner {
  max-width: 980px; margin: 0 auto; padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.social { display: flex; gap: 6px; }
.social a {
  width: 24px; height: 24px; border-radius: 50%; background: #fff;
  display: grid; place-items: center;
}
.social svg { width: 13px; height: 13px; fill: #7b6a63; }

@media (max-width: 760px) {
  .logo { font-size: 30px; }
  .menu a { padding: 3px 12px; min-width: 0; font-size: 13px; }
  main { padding-top: 28px; }
  .panel { padding: 22px 16px; }
  .story-grid, .story-bottom, .news-item, .blog-grid, .support-grid, .contact { grid-template-columns: 1fr; }
  .news-item img { height: 220px; }
  .pbs { text-align: left; }
  .post { padding: 26px 18px 34px; }
  .post h1 { font-size: 27px; }
  body { background-attachment: scroll; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
