

:root {
  --ground: #ffffff;
  --ink: #2a2a2a;
  --accent: #1a3a5c;      
  --accent-deep: #11263b; 
  --muted: #7a7a7a;       
  --on-accent: #e8e8e8;   
  --rule: rgba(26, 58, 92, 0.14);

  --font-display: 'Libre Franklin', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Libre Franklin', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --measure: 42rem; 
  --wide: 64rem;    
}

* { box-sizing: border-box; }

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

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: var(--accent-deep);
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 2px; }
a:hover, a:focus { color: var(--accent-deep); text-decoration-color: currentColor; }



.site-header {
  background: var(--accent-deep);
  background-image: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-bottom: 3px solid var(--on-accent);
}

.site-header .wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.custom-header { padding: 1.6rem 0 0.5rem; }
.custom-header-media, .wp-custom-header { display: none; } 

.site-branding-text { margin: 0; }

.site-title,
p.site-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  letter-spacing: 0.01em;
}

.site-title a,
p.site-title a,
.colors-light .site-title a,
body.has-header-image .site-title a {
  color: var(--on-accent) !important;
  text-decoration: none;
}



.navigation-top .wrap { padding-top: 0.25rem; padding-bottom: 0.9rem; }

.main-navigation .menu-toggle { display: none; } 

.menu-top-menu-container .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.menu-top-menu-container .menu a {
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--on-accent);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}

.menu-top-menu-container .menu a:hover,
.menu-top-menu-container .menu a:focus,
.menu-top-menu-container .menu .current-menu-item > a {
  border-bottom-color: var(--on-accent);
}

.menu-scroll-down { display: none; } 



.site-content-contain { background: var(--ground); }

.panel-content .wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.4rem 1.25rem;
}

.twentyseventeen-panel + .twentyseventeen-panel .panel-content .wrap {
  border-top: 1px solid var(--rule);
}

.twentyseventeen-panel.is-empty-panel { display: none; } 

.entry-header { margin-bottom: 1rem; }

.entry-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent) !important;
  margin: 0 0 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.entry-content { font-size: 1.05rem; }
.entry-content p { margin: 0 0 1.1rem; max-width: 38rem; }
.entry-content p:last-child { margin-bottom: 0; }


.wp-block-latest-posts {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.wp-block-latest-posts li { padding-left: 1.1rem; position: relative; }
.wp-block-latest-posts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.wp-block-latest-posts a { text-decoration: none; font-weight: 600; }
.wp-block-latest-posts a:hover { text-decoration: underline; }


.recent-posts { margin-top: 1.6rem; }
.recent-posts > article {
  padding: 1.4rem 0;
  border-top: 1px solid var(--rule);
}
.recent-posts > article:first-child { border-top: 0; padding-top: 0; }

.recent-posts .entry-title,
.recent-posts h3.entry-title {
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: normal;
  border-bottom: 0;
  padding-bottom: 0;
  display: block;
}
.recent-posts .entry-title a { color: var(--accent) !important; text-decoration: none; }
.recent-posts .entry-title a:hover { text-decoration: underline; }

.entry-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.3rem; }
.entry-meta time.updated { display: none; } 

.entry-summary p { color: var(--ink); }
.link-more { margin-top: 0.4rem; }
.more-link { font-weight: 600; font-size: 0.9rem; }


#panel3 iframe,
.twentyseventeen-panel iframe {
  display: block;
  margin-top: 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
}



.site-footer {
  background: var(--accent-deep);
  color: var(--on-accent);
  margin-top: 1rem;
}

.site-footer .wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.2rem 1.25rem 1.4rem;
}

.site-footer .widget-area {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.site-footer .widget-column { flex: 1 1 220px; }

.site-footer .widget-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-accent) !important;
  margin: 0 0 0.6rem;
}

.site-footer .textwidget p { margin: 0 0 0.5rem; color: var(--on-accent); }
.site-footer a { color: var(--on-accent); }

.search-form {
  display: flex;
  gap: 0.5rem;
}
.search-field {
  flex: 1;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(232,232,232,0.4);
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  color: var(--on-accent);
  font-family: var(--font-body);
}
.search-field::placeholder { color: rgba(232,232,232,0.6); }
.search-submit {
  border: 1px solid rgba(232,232,232,0.4);
  background: transparent;
  color: var(--on-accent);
  border-radius: 3px;
  padding: 0 0.7rem;
  cursor: pointer;
}
.search-submit .icon { width: 1em; height: 1em; fill: currentColor; }

.social-navigation { margin-top: 1.6rem; }
.social-links-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 0;
}
.social-links-menu .icon { width: 1.3em; height: 1.3em; fill: var(--on-accent); }
.social-links-menu a { display: inline-flex; }

.site-info { font-size: 0.8rem; color: rgba(232,232,232,0.7); }



@media (min-width: 768px) {
  .custom-header { padding: 2rem 0 0.75rem; }

  .site-title, p.site-title { font-size: 2.1rem; }

  .entry-content { font-size: 1.1rem; }
}
