/*
Theme Name: Stichting Scope Classic
Theme URI: https://example.com/stichting-scope-classic
Author: OpenAI
Description: Een rustig klassiek WordPress-thema met blauwe header, linkernavigatie en lichte contentruimte, geïnspireerd op de aangeleverde Stichting Scope-screenshot.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stichting-scope-classic
Tags: two-columns, left-sidebar, custom-logo, custom-menu, custom-background, featured-images, blog
*/

:root {
  --scope-blue: #5379df;
  --scope-blue-dark: #174d9d;
  --scope-page: #eaf8ff;
  --scope-border: #b8cbd7;
  --scope-text: #16202b;
  --scope-width: 900px;
  --scope-sidebar: 200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #edf3f7;
  color: var(--scope-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: #004f9f; text-decoration: underline; }
a:hover, a:focus { color: #b34816; }
img { max-width: 100%; height: auto; }

.site-shell {
  width: min(calc(100% - 16px), var(--scope-width));
  margin: 16px auto 24px;
  background: #fff;
  border: 1px solid var(--scope-border);
  box-shadow: 0 2px 6px rgba(0,0,0,.16);
}

.site-header {
  min-height: 96px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.16), transparent 52%),
    linear-gradient(180deg, #6688e6 0%, #4d73d6 100%);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 48% -5% -45% -5%;
  background: rgba(55,88,176,.15);
  transform: skewY(-4deg);
  pointer-events: none;
}

.brand-card {
  position: relative;
  z-index: 1;
  min-width: 220px;
  max-width: 88%;
  padding: 7px 18px 9px;
  text-align: center;
  background: #fffde6;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0,0,0,.12);
  transform: perspective(500px) rotateX(2deg);
}

.custom-logo-link { display: inline-block; }
.custom-logo { max-height: 70px; width: auto; }
.site-title { margin: 0; font-size: 26px; line-height: 1.1; }
.site-title a { color: #1c2a63; text-decoration: none; }
.site-description { margin: 3px 0 0; color: #df6239; font-weight: 700; font-size: 12px; }

.site-body { display: grid; grid-template-columns: var(--scope-sidebar) 1fr; min-height: 520px; }

.sidebar {
  background: linear-gradient(180deg, #f8fbfd 0, #fff7f7 100%);
  border-right: 1px solid #d5e1e7;
}

.scope-menu, .scope-menu ul { list-style: none; margin: 0; padding: 0; }
.scope-menu > li { border-bottom: 2px solid #fff; }
.scope-menu > li > a {
  display: block;
  padding: 7px 12px;
  color: #18232b;
  text-decoration: none;
  background: #d9eef9;
}
.scope-menu > li:nth-child(6n+1) > a { background: #fff1b7; }
.scope-menu > li:nth-child(6n+2) > a { background: #d6edf8; }
.scope-menu > li:nth-child(6n+3) > a { background: #addcf2; }
.scope-menu > li:nth-child(6n+4) > a { background: #d3f0dd; }
.scope-menu > li:nth-child(6n+5) > a { background: #bde8d0; }
.scope-menu > li:nth-child(6n+6) > a { background: #d9d3e8; }
.scope-menu > li.current-menu-item > a,
.scope-menu > li.current_page_item > a,
.scope-menu > li > a:hover,
.scope-menu > li > a:focus { font-weight: 700; filter: brightness(.97); }

.scope-menu .sub-menu a {
  display: block;
  padding: 6px 12px 6px 24px;
  color: #1e2b33;
  background: #f3f8fb;
  text-decoration: none;
  border-top: 1px solid #e4edf2;
}

.sidebar-widgets { padding: 14px 12px; font-size: 14px; }
.sidebar-widgets .widget { margin-bottom: 18px; }
.sidebar-widgets .widget-title { font-size: 16px; margin: 0 0 8px; color: #1d4f98; }

.content-area {
  min-width: 0;
  padding: 18px 24px 28px;
  background: linear-gradient(180deg, #eafbff 0%, #f6fcff 100%);
}

.page-header, .entry-header { margin-bottom: 16px; }
.entry-title, .page-title {
  margin: 0;
  color: var(--scope-blue-dark);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 2px solid #2b64ba;
}

.entry-content { max-width: 100%; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { color: #1b4f91; }
.entry-content figure.aligncenter, .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .wp-block-image img, .entry-content img { border: 0; }

.scope-home-intro { text-align: center; margin-top: 12px; }
.scope-home-intro img { display: block; margin: 0 auto 8px; }
.scope-home-intro p { margin: 5px 0 18px; }

.post-card { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid #b8d1de; }
.post-card:last-child { border-bottom: 0; }
.entry-meta { font-size: 13px; color: #56646f; margin: 4px 0 12px; }
.read-more { font-weight: 700; }

.navigation.pagination { margin-top: 24px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.page-numbers { padding: 5px 9px; background: #fff; border: 1px solid #b6c9d6; text-decoration: none; }
.page-numbers.current { background: #d5eafb; font-weight: 700; }

.site-footer {
  padding: 10px 16px;
  background: #eef5f8;
  border-top: 1px solid #c7d8e1;
  color: #52616c;
  font-size: 12px;
  text-align: right;
}

.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; width: 1px;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; height: auto; width: auto;
  background: #fff; color: #111; padding: 10px; left: 10px; top: 10px; z-index: 100000;
}

@media (max-width: 700px) {
  .site-shell { width: 100%; margin: 0; border-left: 0; border-right: 0; }
  .site-header { min-height: 84px; }
  .site-body { grid-template-columns: 1fr; }
  .sidebar { border-right: 0; border-bottom: 1px solid #d5e1e7; }
  .scope-menu { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .scope-menu > li { border-right: 2px solid #fff; }
  .content-area { padding: 18px 16px 26px; }
}

@media (max-width: 420px) {
  .scope-menu { grid-template-columns: 1fr; }
  .site-title { font-size: 22px; }
}
