/*
Theme Name: Sint Martinusgilde Waalre 2027
Theme URI: https://stmartinusgildewaalre.nl/
Author: Sint Martinusgilde Waalre
Description: Maatwerkthema voor het Sint Martinusgilde Waalre, inclusief historie, activiteiten, braderie en dynamisch nieuws.
Version: 1.0.0
Text Domain: sint-martinus-2027
*/
:root {
  --cream: #f5efe3;
  --paper: #fbf8f1;
  --ink: #17352f;
  --green: #17483d;
  --burgundy: #6f1830;
  --red: #8b233d;
  --gold: #d6a73a;
  --blue: #173b63;
  --line: rgba(23, 53, 47, 0.18);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3,
.footer-brand,
.brand strong {
  font-family: Georgia, "Times New Roman", serif;
}
.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  height: 86px;
  background: #102f2a;
  color: white;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  object-fit: contain;
  width: 44px;
  height: 64px;
}
.custom-logo-link { display: block; line-height: 0; }
.brand span {
  display: flex;
  flex-direction: column;
}
.brand strong {
  font-size: 20px;
  letter-spacing: 0.01em;
}
.brand small {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #d5c8a6;
  font-size: 9px;
  margin-top: 4px;
}
.site-header nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
}
.site-header nav a {
  padding: 32px 0;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover {
  border-color: var(--gold);
}
.menu-toggle { display: none; }
.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 12px 17px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
}
.nav-cta span,
.button span,
.text-link span {
  margin-left: 14px;
}
.hero {
  height: 710px;
  position: relative;
  color: white;
  overflow: hidden;
}
.hero-image,
.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 30, 25, 0.88) 0%,
    rgba(8, 30, 25, 0.45) 48%,
    rgba(8, 30, 25, 0.08) 80%
  );
}
.hero-content {
  position: relative;
  padding-top: 120px;
  z-index: 2;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.21em;
  font-size: 11px;
  font-weight: bold;
  color: var(--burgundy);
  margin-bottom: 24px;
}
.eyebrow.light {
  color: #e1c872;
}
.hero h1,
.page-hero h1,
.braderie-hero h1 {
  font-size: clamp(58px, 7.5vw, 100px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: normal;
  margin-bottom: 32px;
}
.hero-copy {
  max-width: 580px;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.button-row {
  display: flex;
  gap: 34px;
  align-items: center;
  margin-top: 40px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  min-width: 210px;
  border: 0;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
}
.button.gold {
  background: var(--gold);
  color: #172d28;
}
.button.cream {
  background: var(--cream);
  color: var(--ink);
}
.button.burgundy {
  background: var(--burgundy);
  color: white;
}
.button:disabled,
.button.disabled {
  opacity: 0.72;
  cursor: not-allowed;
}
.text-link {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: bold;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
}
.text-link.light {
  color: white;
}
.jubilee-stamp {
  position: absolute;
  right: 7vw;
  bottom: 55px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-7deg);
  background: rgba(66, 18, 32, 0.65);
  backdrop-filter: blur(5px);
}
.jubilee-stamp strong {
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 0.8;
}
.jubilee-stamp span {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
}
.jubilee-stamp small {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  margin-top: 9px;
  padding-top: 7px;
  font-size: 9px;
  letter-spacing: 0.1em;
}
.intro-band {
  background: var(--cream);
  padding: 100px 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
.intro-grid h2,
.section h2,
.event-panel h2,
.join-banner h2 {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04;
  font-weight: normal;
  letter-spacing: -0.03em;
  margin-bottom: 30px;
}
.intro-grid > div > p {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.8;
  color: #47605a;
}
.section {
  padding: 110px 0;
}
.section-heading {
  max-width: 720px;
  margin-bottom: 52px;
}
.section-heading h2 {
  margin-bottom: 20px;
}
.section-heading > p:last-child {
  font-size: 17px;
  line-height: 1.7;
  color: #58706a;
}
.split-heading {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.editor-note {
  max-width: 350px;
  font-size: 13px !important;
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}
.post-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}
.post-card {
  background: white;
  border: 1px solid var(--line);
}
.post-card.featured {
  grid-row: span 2;
}
.post-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.featured .post-image {
  height: 420px;
}
.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.post-image { display: block; }
.post-card:hover img {
  transform: scale(1.025);
}
.post-body {
  padding: 26px 28px;
  position: relative;
}
.post-meta {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9px;
  color: var(--burgundy);
}
.post-meta span {
  color: var(--gold);
  margin: 0 5px;
}
.post-body h3 {
  font-size: 29px;
  font-weight: normal;
}
.post-body > p:last-of-type {
  color: #5d716c;
  line-height: 1.65;
  padding-right: 35px;
}
.round-arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.event-panel {
  background: var(--burgundy);
  color: white;
  padding: 76px 0;
}
.event-grid {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 60px;
}
.date-block {
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.date-block strong {
  font-family: Georgia, serif;
  font-size: 65px;
}
.date-block span {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.event-panel h2 {
  font-size: 55px;
  margin: 0 0 12px;
}
.event-panel p:last-child {
  color: #eadce0;
  margin: 0;
}
.join-grid,
.image-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.join-image,
.portrait-image {
  position: relative;
  height: 560px;
}
.join-image img,
.portrait-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.join-copy p:not(.eyebrow),
.image-story p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.8;
  color: #5a706b;
  margin-bottom: 35px;
}
.site-footer {
  background: #102f2a;
  color: white;
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
}
.footer-brand {
  font-size: 34px;
  line-height: 1;
}
.footer-brand span {
  color: #d5c8a6;
}
.site-footer h3 {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: Arial, sans-serif;
  font-size: 10px;
  color: #d5c8a6;
}
.site-footer p,
.site-footer a {
  display: block;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
}
.site-footer .muted {
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  margin-top: 55px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
}
.page-hero {
  height: 560px;
  position: relative;
  color: white;
  overflow: hidden;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  max-width: 1180px;
}
.page-hero-content h1 {
  max-width: 850px;
  font-size: 75px;
}
.page-hero-content > p:last-child {
  font-size: 19px;
  line-height: 1.65;
  max-width: 650px;
}
.story-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 100px;
}
.story-layout aside {
  border-top: 4px solid var(--burgundy);
  padding-top: 26px;
}
.story-layout aside span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  line-height: 1.7;
}
.big-200 {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 120px;
  line-height: 1;
  display: block;
  color: var(--burgundy);
}
.prose {
  max-width: 730px;
}
.prose h2 {
  font-size: 57px;
}
.prose p {
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.9;
  color: #3f5751;
}
.prose blockquote {
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1.4;
  color: var(--burgundy);
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 32px;
  margin: 45px 0;
}
.timeline-section {
  background: var(--blue);
  color: white;
  padding: 95px 0;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px;
  margin-top: 42px;
}
.timeline > div {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 25px;
}
.timeline strong {
  font-family: Georgia, serif;
  font-size: 40px;
  color: #e2c66c;
}
.timeline h2,
.timeline h3 {
  font-size: 22px;
  font-weight: normal;
}
.timeline p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}
.activities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.activities-grid article {
  position: relative;
  padding: 36px 50px 38px 64px;
  border-bottom: 1px solid var(--line);
}
.activities-grid article:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.activities-grid span {
  position: absolute;
  left: 0;
  top: 40px;
  color: var(--burgundy);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.activities-grid h3 {
  font-size: 27px;
  font-weight: normal;
}
.activities-grid p {
  color: #5a706b;
  line-height: 1.7;
}
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 400px;
}
.strip-image {
  position: relative;
  overflow: hidden;
}
.strip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.join-banner {
  background: var(--green);
  color: white;
  padding: 100px 0;
  text-align: center;
}
.join-banner .container {
  max-width: 800px;
}
.join-banner p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
}
.braderie-hero {
  height: 650px;
  background: var(--burgundy);
  color: white;
  position: relative;
  overflow: hidden;
}
.market-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    radial-gradient(circle at 10% 20%, var(--gold) 0 2px, transparent 3px),
    linear-gradient(
      135deg,
      transparent 0 48%,
      rgba(255, 255, 255, 0.15) 49% 51%,
      transparent 52%
    );
  background-size:
    38px 38px,
    120px 120px;
}
.braderie-content {
  position: relative;
  z-index: 2;
  padding-top: 95px;
}
.braderie-content > p:not(.eyebrow) {
  font-size: 19px;
  line-height: 1.6;
  max-width: 550px;
}
.braderie-date {
  position: absolute;
  right: 8vw;
  top: 160px;
  width: 285px;
  height: 285px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(7deg);
}
.braderie-date span,
.braderie-date small {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
}
.braderie-date strong {
  font-family: Georgia, serif;
  font-size: 64px;
  color: #efd47a;
}
.braderie-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.braderie-intro p {
  font-size: 17px;
  line-height: 1.8;
  color: #536b65;
}
.facts-band {
  background: var(--cream);
  padding: 55px 0;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.facts-grid div {
  border-left: 1px solid #cabf9f;
  padding-left: 22px;
}
.facts-grid span {
  display: block;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--burgundy);
  margin-bottom: 12px;
}
.facts-grid strong {
  font-family: Georgia, serif;
  font-weight: normal;
  font-size: 18px;
}
.signup-panel {
  background: var(--blue);
  color: white;
  padding: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}
.signup-panel > div {
  max-width: 650px;
}
.signup-panel h2 {
  margin-bottom: 18px;
}
.signup-panel p:last-child {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}
.center-cta {
  text-align: center;
  max-width: 850px;
}
.center-cta .text-link {
  margin-top: 25px;
}
.video-section {
  background: var(--cream);
}
.video-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr;
  gap: 75px;
  align-items: center;
}
.video-grid h2 {
  font-size: 54px;
}
.video-grid > div:first-child > p:not(.eyebrow) {
  color: #536b65;
  line-height: 1.8;
  font-size: 17px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #102f2a;
  box-shadow: 0 20px 50px rgba(23, 53, 47, 0.18);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.default-page { padding: 100px 0; min-height: 65vh; }
.page-shell { max-width: 880px; }
.page-shell > h1,
.page-shell article > h1 { font-size: clamp(46px, 6vw, 76px); font-weight: normal; line-height: 1; }
.page-content { font-family: Georgia, serif; font-size: 19px; line-height: 1.85; color: #3f5751; }
.page-content img { max-width: 100%; height: auto; }
.single-image { margin: 40px 0; }
.single-image img { width: 100%; height: auto; }
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 900px) {
  .site-header {
    height: auto;
  }
  .nav-wrap {
    padding: 14px 0;
    flex-wrap: wrap;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,.45);
    background: transparent;
    color: #fff;
    padding: 10px 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 10px;
  }
  .primary-nav { display: none !important; }
  .primary-nav.is-open { display: flex !important; }
  .site-header nav a {
    padding: 14px 0;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    height: 690px;
  }
  .jubilee-stamp {
    width: 110px;
    height: 110px;
    right: 20px;
  }
  .jubilee-stamp strong {
    font-size: 40px;
  }
  .intro-grid,
  .join-grid,
  .image-story,
  .story-layout,
  .braderie-intro {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .post-grid {
    grid-template-columns: 1fr;
  }
  .featured .post-image {
    height: 300px;
  }
  .event-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .facts-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: span 2;
  }
  .braderie-date {
    right: -30px;
    top: 40px;
    width: 170px;
    height: 170px;
  }
  .braderie-date strong {
    font-size: 42px;
  }
  .braderie-content {
    padding-top: 210px;
  }
  .activities-grid {
    grid-template-columns: 1fr;
  }
  .activities-grid article:nth-child(odd) {
    border-right: 0;
  }
  .signup-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .photo-strip {
    height: 280px;
  }
  .split-heading {
    display: block;
  }
  .editor-note {
    margin-top: 20px;
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .archive-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container {
    width: min(100% - 30px, 1180px);
  }
  .brand strong {
    font-size: 16px;
  }
  .site-header nav {
    font-size: 11px;
  }
  .hero-content {
    padding-top: 85px;
  }
  .hero h1,
  .braderie-hero h1 {
    font-size: 52px;
  }
  .hero-copy {
    font-size: 16px;
    max-width: 80%;
  }
  .button-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .jubilee-stamp {
    bottom: 25px;
  }
  .section,
  .intro-band {
    padding: 75px 0;
  }
  .intro-grid h2,
  .section h2,
  .event-panel h2,
  .join-banner h2 {
    font-size: 40px;
  }
  .join-image,
  .portrait-image {
    height: 380px;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .photo-strip {
    grid-template-columns: 1fr;
    height: 650px;
  }
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .page-hero {
    height: 500px;
  }
  .page-hero-content {
    padding-top: 100px;
  }
  .page-hero-content h1 {
    font-size: 50px;
  }
  .big-200 {
    font-size: 90px;
  }
  .prose h2 {
    font-size: 42px;
  }
  .prose p {
    font-size: 17px;
  }
  .prose blockquote {
    font-size: 24px;
  }
  .activities-grid article {
    padding-right: 15px;
  }
  .signup-panel {
    padding: 40px 25px;
  }
  .braderie-date {
    width: 130px;
    height: 130px;
  }
  .braderie-date strong {
    font-size: 32px;
  }
}
