/* --- WW1 Archive font & kleur consistentie --- */

/* Algemene tekst */
body {
    font-family: 'Lato', 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #2B2B2B; /* Donkergrijs voor betere leesbaarheid */
}

/* Koppen */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: #3F3F2E; /* Donkerbruin voor historische uitstraling */
}

/* Menu-items */
nav, .menu, .main-navigation a {
    font-family: 'Merriweather', serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Knoppen en links */
button, .wp-block-button__link, a {
    font-family: 'Lato', 'Open Sans', sans-serif;
}

/* Timeline- of archiefelementen (optioneel visueel extra) */
.timeline-title, .archive-title {
    font-family: 'Merriweather', serif;
    color: #3F3F2E;
}
/* --- Vintage accenten voor WW1 Archive --- */

/* Koppen met subtiele lijn en letterspacing */
h1, h2, h3 {
    border-bottom: 2px solid #A68B6A; /* warm bruin/beige */
    padding-bottom: 5px;
    letter-spacing: 0.5px;
}

/* Menu in vintage stijl */
.main-navigation a {
    font-family: 'Merriweather', serif;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    color: #3F3F2E;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #A68B6A; /* warme hoverkleur */
}

/* Knoppen in historisch kleurenschema */
.wp-block-button__link, button {
    background-color: #3F3F2E;
    color: #fff;
    border-radius: 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.wp-block-button__link:hover, button:hover {
    background-color: #A68B6A;
    color: #fff;
}

/* Afbeeldingen met subtiele sepia filter */
img.vintage-effect {
    filter: sepia(20%) contrast(95%) brightness(98%);
}

/* Timeline en archieflijsten met kader */
.timeline-title, .archive-title {
    border-left: 4px solid #A68B6A;
    padding-left: 10px;
    font-style: italic;
}
/* --- Verplaats navigatiebalk boven de site-titel in Seedlet --- */
.site-header {
    display: flex;
    flex-direction: column;
}

/* Zet navigatieblok als eerste element in de header */
.primary-navigation {
    order: -1;
    margin-bottom: 10px; /* ruimte tussen menu en titel */
}

/* Optioneel: centreren van menu en titel */
.site-header,
.primary-navigation {
    align-items: center;
    text-align: center;
}
/* Force Seedlet header into a single horizontal row */
.site-header .site-branding,
.site-header .site-navigation {
    display: inline-block;
    vertical-align: middle;
}
/* Align logo and menu side by side in Seedlet */
.site-header {
    display: flex;
    align-items: center;       /* Vertical centering */
    justify-content: space-between; /* Logo left, menu right */
}

/* Make sure logo stays proportional */
.custom-logo {
    max-height: 60px;
    height: auto;
}

/* Style navigation so it sits inline */
.main-navigation {
    margin-left: auto; /* Pushes menu to the right */
}
/* Force Latest Posts block to 3 columns on desktop */
.wp-block-latest-posts.is-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

/* Card styling for Latest Posts */
.wp-block-latest-posts.is-grid li {
    list-style: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Featured image sizing */
.wp-block-latest-posts__featured-image img {
    width: 100%;
    height: 180px; /* Adjust height to match your design */
    object-fit: cover;
    display: block;
}

/* Titles */
.wp-block-latest-posts__post-title {
    font-weight: bold;
    line-height: 1.3;
    margin: 6px 0;
}

/* Excerpts */
.wp-block-latest-posts__post-excerpt {
    margin: 6px 0 10px;
    font-size: 0.95em;
    color: #444;
}

/* Make section breathe on homepage */
.home .latest-news-section {
    margin-bottom: 32px;
}

/* Responsive: stack on smaller screens */
@media (max-width: 768px) {
    .wp-block-latest-posts.is-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}
/* Sidebar fact box */
.ww1-factbox {
  background: #f7f6f1;
  border: 1px solid #b1a16b;
  padding: 16px 18px;
  border-radius: 6px;
}
.ww1-factbox h2, .ww1-factbox h3 {
  margin-top: 0;
  font-family: 'Oswald', sans-serif;
  color: #4b5320;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ww1-factbox li { margin-bottom: 6px; }
@media (min-width: 992px){
  /* optional: keep the sidebar visible as you scroll */
  .ww1-factbox { position: sticky; top: 24px; }
}
.single-post .entry-content {
  max-width: 900px;  /* Increase from the 600px default */
  margin-left: auto;
  margin-right: auto;
}

}
/* Stopford portrait styling */
.stopford-portrait {
  float: right;
  margin: 0 0 1em 1.5em; /* Space below & left */
  max-width: 300px;      /* Keep it from getting too wide */
  height: auto;
  border: 1px solid #b1a16b; /* Khaki Uniform border */
  padding: 4px;
  background-color: #f7f6f1; /* Vintage beige background */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Make sure it looks good on mobile */
@media (max-width: 768px) {
  .stopford-portrait {
    float: none;
    display: block;
    margin: 1em auto;
  }
}/* Make right-aligned images actually float and wrap text */
.wp-block-image.alignright {
  float: right;
  margin: 0 0 1em 1.5em;
  max-width: 320px; /* tweak to taste */
  border: 1px solid #b1a16b;
  padding: 4px;
  background: #f7f6f1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.wp-block-image.alignright img { width: 100%; height: auto; }

/* Allow paragraphs to wrap (Seedlet sometimes clears floats) */
.single-post .entry-content p,
.single-post .entry-content .wp-block-paragraph { clear: none; }

/* Mobile: drop the float */
@media (max-width: 768px){
  .wp-block-image.alignright {
    float: none;
    margin: 1em auto;
    max-width: 100%;
  }
}/* 1) Base width for ALL content in single posts */
.single-post .entry-content > * {
  max-width: 900px;           /* pick 850–1000px to taste */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;         /* gentle side padding */
  padding-right: 1rem;
}

/* 2) Let wide blocks be a bit wider for visual impact */
.single-post .entry-content > .alignwide {
  max-width: 1100px;          /* images/maps/cover blocks */
}

/* 3) Keep full-width blocks truly full */
.single-post .entry-content > .alignfull {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* 4) Make sure images don't overflow their containers */
.single-post .entry-content img {
  max-width: 100%;
  height: auto;
}

/* 5) Keep your floated portrait from exploding in size */
.wp-block-image.stopford-portrait,
.wp-block-image.alignright {
  max-width: 320px;
}
/* People page: clearer search */
.people-search { 
  max-width: 680px; 
  margin: 0 auto 1.25rem; 
}
.people-search .wp-block-search__inside-wrapper {
  gap: .5rem;
}
.people-search .wp-block-search__input {
  background: #fff;
  border: 2px solid #1E2A16;     /* darker border for contrast */
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  color: #1E2A16;
}
.people-search .wp-block-search__input::placeholder {
  color: #6b7280;                 /* visible placeholder */
  opacity: 1;
}
.people-search .wp-block-search__button {
  background: #5B6B3A;            /* your moss green */
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
}
.people-search .wp-block-search__button:hover { filter: brightness(0.95); }

/* Mobile: full-width and stacked nicely */
@media (max-width: 768px) {
  .people-search { max-width: 100%; }
  .people-search .wp-block-search__inside-wrapper { flex-wrap: nowrap; }
  .people-search .wp-block-search__input { width: 100%; }
}











