/*
 * Kinder Trespass - 2017 (static memorial rebuild)
 * Styling approximates the Twenty Seventeen theme the site ran in 2017
 * (one-column layout, front-page panels, Libre Franklin), because the theme was
 * missing from the source replica and no rendered reference HTML existed.
 * The verbatim site custom CSS (WP post 11) is appended at the end of this file.
 */

/* ---- Self-hosted Libre Franklin (variable, latin subset) ---- */
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/libre-franklin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/libre-franklin-italic-var.woff2") format("woff2");
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.66;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: #222; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover, a:focus { color: #000; }

h1, h2, h3, h4, h5, h6 { color: #222; line-height: 1.4; }

h5 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 2.2em 0 0.6em;
}

p { margin: 0 0 1.5em; }

ol, ul { margin: 0 0 1.5em 1.25em; padding: 0; }
li { margin-bottom: 0.4em; }

.wrap { max-width: 740px; margin: 0 auto; padding: 0 2em; }

/* Accessibility helpers */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto; clip-path: none;
  left: 6px; top: 6px;
  width: auto; height: auto;
  z-index: 100000;
  background: #fff;
  padding: 0.6em 1em;
  font-weight: 700;
}

/* ---- Header / hero ---- */
.custom-header { position: relative; overflow: hidden; }

.custom-header .header-image {
  display: block;
  width: 100%;
  height: 58vh;
  min-height: 340px;
  object-fit: cover;
}

.custom-header--small .header-image {
  height: 32vh;
  min-height: 220px;
}

.site-branding {
  position: absolute;
  left: 0; right: 0; bottom: 1.6em;
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.9);
}

.site-title {
  margin: 0;
  font-size: 2.1em;
  font-weight: 800;
  line-height: 1.2;
}
.site-title a { color: #fff; text-decoration: none; }

.site-description {
  margin: 0.4em 0 0;
  font-size: 1em;
  font-weight: 400;
  max-width: 36em;
}

/* ---- Navigation ---- */
.main-navigation {
  background: #fff;
  border-bottom: 1px solid #eee;
}
.main-navigation ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.main-navigation a {
  display: block;
  padding: 1em 1.1em;
  font-size: 0.85rem;
  font-weight: 600;
  color: #222;
  text-decoration: none;
}
.main-navigation a:hover,
.main-navigation a:focus { color: #000; background: #fafafa; }
.main-navigation a[aria-current="page"] { color: #767676; }

/* ---- Content ---- */
.site-content { padding: 3.5em 0 0; }

.page-title {
  font-size: 1.7em;
  font-weight: 700;
  margin: 0 0 1.2em;
}

.entry-content::after { content: ""; display: table; clear: both; }

/* Front-page panels (Twenty Seventeen one-column style) */
.panel { padding: 3.5em 0; border-top: 1px solid #eee; }
.front-section { padding: 0 0 3.5em; }

.panel-title {
  margin: 0 0 2em;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.panel-title a { text-decoration: none; color: inherit; }
.panel-title a:hover, .panel-title a:focus { text-decoration: underline; }

/* Captions and alignment (legacy CMS classes preserved in content) */
.wp-caption { max-width: 100%; margin: 0 0 1.5em; }
.wp-caption img { display: block; margin: 0 auto; }
.wp-caption-text {
  margin: 0.5em 0 0;
  font-size: 0.8rem;
  font-style: italic;
  color: #666;
  text-align: center;
}

.alignleft { float: left; margin: 0.4em 1.75em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.75em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* Notes marking links to services that no longer exist (2026 archival edits) */
.entry-content em { color: #555; }

/* ---- Footer ---- */
.site-footer {
  margin-top: 4em;
  border-top: 1px solid #eee;
  padding: 2.5em 0;
  font-size: 0.85rem;
  color: #666;
}
.widget-title {
  margin: 0 0 0.5em;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #222;
}
.site-footer p { margin: 0; }

/* ---- 404 ---- */
.error-404 { text-align: center; padding: 5em 0; }

/* ---- Small screens ---- */
@media screen and (max-width: 640px) {
  .site-title { font-size: 1.5em; }
  .site-description { font-size: 0.85em; }
  .alignleft, .alignright {
    float: none;
    display: block;
    margin: 0 auto 1.5em;
  }
  .wp-caption.alignleft, .wp-caption.alignright,
  div.alignleft, div.alignright {
    width: auto !important;
  }
}

/* =====================================================================
 * Verbatim site custom CSS, migrated from the original site (custom_css post 11)
 * ===================================================================== */

.site-footer .site-info {
	display: none;
}

.row {
	width: 100%;
	display: block;
}

.col-md-4 {
    width: 33%;
    float: left;
}

.wp-caption {
	text-align: center;
}
