/* Spreekbeurten theme — modern, vriendelijk, schoolmerk */

:root {
  --sb-ink: #1c2a24;
  --sb-muted: #4d5f56;
  --sb-brand: #8fad1f;
  --sb-brand-deep: #6f8a12;
  --sb-sky-1: #e8f6fb;
  --sb-sky-2: #dff0f5;
  --sb-sun: #ffe29a;
  --sb-surface: #ffffff;
  --sb-line: rgba(28, 42, 36, 0.12);
  --sb-shadow: 0 12px 32px rgba(28, 42, 36, 0.08);
  --sb-radius: 18px;
  --sb-font: "Figtree", Georgia, sans-serif;
  --sb-display: "Nunito", Georgia, sans-serif;
  --sb-max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body.sb-theme {
  margin: 0;
  color: var(--sb-ink);
  font-family: var(--sb-font);
  font-size: 1.05rem;
  line-height: 1.65;
  background-color: #eef6f2;
  background-image:
    linear-gradient(
      180deg,
      rgba(232, 246, 251, 0.55) 0%,
      rgba(223, 240, 245, 0.72) 28%,
      rgba(244, 250, 247, 0.9) 62%,
      rgba(244, 250, 247, 0.97) 100%
    ),
    url("../img/bg-landscape.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  min-height: 100vh;
}

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

a {
  color: var(--sb-brand-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--sb-ink);
}

.sb-skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sb-ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.sb-skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sb-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 0;
}

.sb-header__top {
  border-bottom: 1px solid var(--sb-line);
}

.sb-header__top-inner {
  width: min(100% - 2rem, var(--sb-max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0 0.7rem;
}

.sb-header__search {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.sb-header__search .sb-search,
.sb-404__search .sb-search {
  flex-direction: row;
  align-items: stretch;
  max-width: 380px;
  width: 100%;
  gap: 0;
  background: #f4f6f3;
  border: 1px solid #d7ddd3;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sb-404__search .sb-search {
  max-width: 480px;
}

.sb-header__search .sb-search:focus-within,
.sb-404__search .sb-search:focus-within {
  border-color: rgba(111, 138, 18, 0.55);
  box-shadow: 0 0 0 3px rgba(143, 173, 31, 0.18);
  background: #fff;
}

.sb-header__search .sb-search__input,
.sb-404__search .sb-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.65rem 0.9rem;
  box-shadow: none;
}

.sb-header__search .sb-search__input:focus,
.sb-404__search .sb-search__input:focus {
  outline: none;
}

.sb-header__search .sb-search__submit,
.sb-404__search .sb-search__submit {
  width: auto;
  flex-shrink: 0;
  border-radius: 0;
  border: 0;
  border-left: 1px solid #d7ddd3;
  background: transparent;
  color: var(--sb-brand-deep);
  padding: 0 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sb-header__search .sb-search__submit:hover,
.sb-404__search .sb-search__submit:hover {
  background: rgba(143, 173, 31, 0.12);
}

.sb-search__icon {
  display: block;
}

.sb-logo img {
  display: block;
  width: min(220px, 48vw);
  height: auto;
}

.sb-nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: var(--sb-brand-deep);
  color: #fff;
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.sb-nav-toggle:hover {
  background: #5f7610;
}

.sb-nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
}

.sb-nav-toggle__icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 1px;
}

.sb-nav {
  background: var(--sb-brand-deep);
  width: 100%;
}

.sb-nav__inner {
  width: min(100% - 2rem, var(--sb-max));
  margin: 0 auto;
}

.sb-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sb-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  padding: 0.85rem 0.95rem;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sb-nav__list > li > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.sb-nav__list .current-menu-item > a,
.sb-nav__list .current_page_item > a {
  color: #fff;
  border-bottom-color: rgba(255, 226, 154, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.sb-page {
  width: min(100% - 2rem, var(--sb-max));
  margin: 1.5rem auto 2.5rem;
  flex: 1;
}

.sb-main {
  background: var(--sb-surface);
  border: 1px solid var(--sb-line);
  border-radius: var(--sb-radius);
  box-shadow: var(--sb-shadow);
  padding: 1.5rem;
  animation: sb-rise 0.55s ease both;
}

@keyframes sb-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
}

.sb-brand-mark {
  margin: 0 0 0.5rem;
  font-family: var(--sb-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--sb-brand-deep);
  letter-spacing: -0.02em;
  text-align: center;
}

.sb-home-intro {
  text-align: center;
  margin-bottom: 1.75rem;
}

.sb-home-intro__title {
  margin: 0 0 0.65rem;
  font-family: var(--sb-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.25;
  color: var(--sb-ink);
}

.sb-home-intro__lead {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--sb-muted);
}

.sb-cat-grid__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sb-cat-grid__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, #f7fbf4 0%, #fff 100%);
  border: 1px solid var(--sb-line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sb-cat-grid__link:hover {
  transform: translateY(-3px);
  box-shadow: var(--sb-shadow);
  border-color: rgba(143, 173, 31, 0.45);
}

.sb-cat-grid__media {
  display: block;
  aspect-ratio: 150 / 124;
  background: #eef5ea;
  overflow: hidden;
}

.sb-cat-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.sb-cat-grid__link:hover .sb-cat-grid__media img {
  transform: scale(1.04);
}

.sb-cat-grid__label {
  display: block;
  padding: 0.7rem 0.65rem 0.85rem;
  text-align: center;
  font-family: var(--sb-display);
  font-weight: 800;
  color: var(--sb-brand-deep);
  font-size: 1rem;
}

.sb-archive-header {
  margin-bottom: 1.25rem;
}

.sb-archive-header__title,
.sb-article__title {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--sb-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sb-archive-header__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.sb-article__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.sb-archive-header__desc {
  color: var(--sb-muted);
  max-width: 46rem;
  margin: 0.75rem 0 0;
  line-height: 1.65;
}

.sb-archive-header__desc p {
  margin: 0 0 0.75rem;
}

.sb-archive-header__desc p:last-child {
  margin-bottom: 0;
}

.sb-breadcrumbs {
  font-size: 0.92rem;
  color: var(--sb-muted);
  margin-bottom: 0.5rem;
}

.sb-post-list {
  display: grid;
  gap: 1.25rem;
}

.sb-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--sb-line);
}

.sb-card__media {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #eef5ea;
}

.sb-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.sb-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--sb-display);
  font-size: 1.25rem;
  line-height: 1.3;
}

.sb-card__title a {
  color: var(--sb-ink);
  text-decoration: none;
}

.sb-card__title a:hover {
  color: var(--sb-brand-deep);
}

.sb-card--text {
  padding-bottom: 1rem;
}

.sb-card--text .sb-card__title {
  font-size: 1.15rem;
}

.sb-card__excerpt {
  color: var(--sb-muted);
  font-size: 0.98rem;
}

.sb-card__excerpt p {
  margin: 0;
}

.sb-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--sb-muted);
}

.sb-article__body {
  font-size: 1.05rem;
}

.sb-article__body h2,
.sb-article__body h3 {
  font-family: var(--sb-display);
  line-height: 1.25;
}

.sb-article__body h2[id],
.sb-article__body h3[id] {
  scroll-margin-top: 5.5rem;
}

.sb-toc {
  margin: 0 0 1.35rem;
  border: 1px solid var(--sb-line);
  border-radius: 12px;
  background: #f7fbf4;
}

.sb-toc__details {
  padding: 0;
}

.sb-toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--sb-display);
  font-weight: 800;
  color: var(--sb-brand-deep);
}

.sb-toc__summary::-webkit-details-marker {
  display: none;
}

.sb-toc__summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.sb-toc__details[open] > .sb-toc__summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.sb-toc__summary-text {
  flex: 1;
}

.sb-toc__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(143, 173, 31, 0.2);
  color: var(--sb-brand-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.sb-toc__body {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--sb-line);
}

.sb-toc__list {
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.15rem;
}

.sb-toc__list--nested {
  margin-top: 0.35rem;
  margin-bottom: 0.2rem;
}

.sb-toc__item {
  margin: 0.28rem 0;
}

.sb-toc__link {
  color: var(--sb-ink);
  text-decoration: none;
  text-underline-offset: 0.15em;
}

.sb-toc__link:hover {
  color: var(--sb-brand-deep);
  text-decoration: underline;
}

.entry-content {
  overflow-wrap: anywhere;
}

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

.entry-content img,
.entry-content figure,
.entry-content .wp-caption {
  max-width: 100%;
  height: auto;
}

.entry-content .alignleft,
.entry-content img.alignleft,
.entry-content .wp-caption.alignleft {
  float: left;
  margin: 0.35rem 1.5rem 1rem 0;
}

.entry-content .alignright,
.entry-content img.alignright,
.entry-content .wp-caption.alignright {
  float: right;
  margin: 0.35rem 0 1rem 1.5rem;
}

.entry-content .aligncenter,
.entry-content img.aligncenter,
.entry-content .wp-caption.aligncenter {
  display: block;
  float: none;
  margin: 1rem auto;
}

.entry-content .alignnone,
.entry-content img.alignnone {
  margin: 0.75rem 0;
}

.entry-content .wp-caption-text {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--sb-muted);
}

.sb-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sb-line);
}

.sb-tools__btn {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(111, 138, 18, 0.35);
  background: #f3f8e4;
  color: var(--sb-brand-deep);
  border-radius: 8px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
  appearance: none;
}

.sb-tools__btn:hover,
.sb-tools__btn:focus,
.sb-tools__btn:focus-visible,
.sb-tools__btn:active {
  background: var(--sb-brand);
  color: #16300f;
  outline: none;
}

.sb-tools__btn:focus-visible {
  outline: 2px solid var(--sb-brand-deep);
  outline-offset: 2px;
}

.sb-mailform {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--sb-line);
  border-radius: 10px;
  background: #f7faf5;
}

.sb-mailform[hidden] {
  display: none !important;
}

.sb-mailform__input {
  flex: 1 1 220px;
  min-width: 0;
  border: 1px solid var(--sb-line);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font: inherit;
}

.sb-mailform__msg {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.92rem;
}

.sb-mailform__msg.is-success {
  color: var(--sb-brand-deep);
}

.sb-mailform__msg.is-error {
  color: #a12828;
}

.sb-related {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sb-line);
}

.sb-related__title {
  margin: 0 0 1rem;
  font-family: var(--sb-display);
  font-size: 1.35rem;
}

.sb-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.sb-related__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--sb-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fafcf8;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sb-related__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sb-shadow);
}

.sb-related__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #eef5ea;
  overflow: hidden;
}

.sb-related__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sb-related__name {
  display: block;
  padding: 0.75rem 0.85rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--sb-ink);
}

/* Plugin-output verbergen (eigen blok gebruikt). */
.related-posts-nav,
.relpost-block-container,
#related_posts_thumbnails {
  display: none !important;
}

@media print {
  body.sb-theme {
    background: #fff !important;
  }

  .sb-header,
  .sb-footer,
  .sb-footer-bar,
  .sb-linkcloud,
  .sb-sidebar,
  .sb-tools,
  .sb-related,
  .sb-comments,
  .sb-breadcrumbs,
  .sb-toc {
    display: none !important;
  }

  .sb-page,
  .sb-main,
  .sb-layout,
  .sb-content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  .sb-layout {
    display: block !important;
  }

  a[href]::after {
    content: none !important;
  }
}

.sb-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sb-widget {
  background: #f7fbf8;
  border: 1px solid var(--sb-line);
  border-radius: 14px;
  padding: 1rem;
}

.sb-widget__title {
  margin: 0 0 0.75rem;
  font-family: var(--sb-display);
  font-size: 1.15rem;
}

.sb-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.sb-side-list__item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
}

.sb-side-list__thumb img,
.sb-card__media img,
.sb-featured__media img,
.sb-fallback-thumb,
.sb-cdn-thumb,
.sb-default-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #eef5ea;
}

.sb-side-list__thumb {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eef5ea;
}

.sb-side-list__link {
  color: var(--sb-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  display: block;
}

.sb-side-list__link:hover {
  color: var(--sb-brand-deep);
}

.sb-side-list__meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--sb-muted);
}

.sb-featured {
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, #f3f9e6 0%, #fff 45%, #e8f6fb 100%);
  border: 1px solid rgba(143, 173, 31, 0.35);
  box-shadow: 0 10px 28px rgba(111, 138, 18, 0.12);
}

.sb-featured__eyebrow {
  margin: 0;
  padding: 0.75rem 1rem 0;
  font-family: var(--sb-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sb-brand-deep);
}

.sb-featured__card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.75rem 1rem 1rem;
}

.sb-featured__media {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  aspect-ratio: 16 / 9;
  background: #eef5ea;
}

.sb-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.sb-featured__card:hover .sb-featured__media img {
  transform: scale(1.04);
}

.sb-featured__cat {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 8px;
  background: rgba(143, 173, 31, 0.18);
  color: var(--sb-brand-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

.sb-featured__title {
  display: block;
  font-family: var(--sb-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--sb-ink);
  margin-bottom: 0.55rem;
}

.sb-featured__cta {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--sb-brand-deep);
}

.sb-featured__card:hover .sb-featured__cta {
  text-decoration: underline;
}

.sb-search {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  width: 100%;
}

.sb-search__input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--sb-line);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font: inherit;
}

.sb-search__submit,
.sb-button {
  border: 0;
  border-radius: 8px;
  background: var(--sb-brand);
  color: #16300f;
  font: inherit;
  font-weight: 700;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  width: auto;
  text-align: center;
  white-space: nowrap;
}

.sb-search__submit:hover,
.sb-button:hover {
  background: #a4c52a;
}

.sb-pagination {
  margin-top: 1.5rem;
}

.sb-pagination .page-numbers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}

.sb-pagination .page-numbers a,
.sb-pagination .page-numbers span {
  display: inline-block;
  min-width: 2.2rem;
  text-align: center;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--sb-line);
  text-decoration: none;
  color: var(--sb-ink);
}

.sb-pagination .page-numbers .current {
  background: var(--sb-brand);
  border-color: var(--sb-brand);
  font-weight: 700;
}

.sb-404 p {
  color: var(--sb-muted);
}

.sb-404__search {
  margin: 1.1rem 0 1.25rem;
}

.sb-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 2rem;
}

.sb-404__inspire {
  margin: 0 0 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--sb-line);
}

.sb-404__inspire-title {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--sb-display);
  font-size: 1.35rem;
  color: var(--sb-brand-deep);
}

.sb-404__inspire-text {
  margin: 0 0 1.15rem;
  color: var(--sb-muted);
}

.sb-404__contact {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--sb-line);
  font-size: 0.98rem;
}

.sb-404__contact a {
  font-weight: 700;
}

.sb-linkcloud {
  width: min(100% - 2rem, var(--sb-max));
  margin: 0 auto 2rem;
}

.sb-linkcloud__inner {
  background: var(--sb-surface);
  border: 1px solid var(--sb-line);
  border-radius: var(--sb-radius);
  padding: 1rem 1.25rem 1.5rem;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.45;
}

.sb-linkcloud__inner table {
  width: 100%;
  border-collapse: collapse;
}

.sb-linkcloud__inner a {
  color: var(--sb-muted);
}

.sb-linkcloud__inner b,
.sb-linkcloud__inner font {
  color: var(--sb-brand-deep) !important;
  font-family: var(--sb-display);
}

.sb-footer {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--sb-brand-deep);
  color: rgba(255, 255, 255, 0.92);
}

.sb-footer__inner {
  width: min(100% - 2rem, var(--sb-max));
  margin: 0 auto;
  padding: 2.25rem 0 1.75rem;
}

.sb-footer a {
  color: #fff;
}

.sb-footer a:hover {
  color: #ffe29a;
}

.sb-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
}

.sb-footer__title {
  margin: 0 0 0.85rem;
  font-family: var(--sb-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.sb-footer__about {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.55;
}

.sb-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.sb-footer__list a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.sb-footer__list a:hover {
  color: #ffe29a;
  text-decoration: underline;
}

.sb-footer .sb-search {
  max-width: 320px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  overflow: hidden;
  gap: 0;
}

.sb-footer .sb-search__input {
  border: 0;
  background: transparent;
  color: #fff;
  border-radius: 0;
}

.sb-footer .sb-search__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.sb-footer .sb-search__submit {
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sb-footer .sb-search__submit:hover {
  background: rgba(255, 255, 255, 0.18);
}

.sb-footer .sb-search__text {
  display: none;
}

.sb-footer-bar {
  background: #4f640d;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sb-footer-bar__inner {
  width: min(100% - 2rem, var(--sb-max));
  margin: 0 auto;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.sb-footer-bar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.sb-footer-bar__nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.sb-footer-bar__nav a:hover {
  color: #ffe29a;
}

.sb-footer-bar__copy {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.sb-footer-bar__copy a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.sb-meta--spaced {
  margin: 0.35rem 0 1.35rem;
}

.sb-article__thumb {
  margin: 0 0 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  background: #eef5ea;
}

.sb-article__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.sb-az__toolbar {
  position: sticky;
  top: 5.5rem;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--sb-line);
  border-radius: 14px;
  padding: 0.85rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--sb-shadow);
}

.sb-az__filter {
  width: 100%;
  border: 1px solid var(--sb-line);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font: inherit;
  margin-bottom: 0.75rem;
}

.sb-az__letters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.sb-az__letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  border-radius: 8px;
  background: #f3f8e4;
  color: var(--sb-brand-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.sb-az__letter:hover {
  background: var(--sb-brand);
  color: #16300f;
}

.sb-az__letter.is-disabled {
  opacity: 0.35;
  background: #f0f0f0;
  color: var(--sb-muted);
}

.sb-az__heading {
  margin: 1.5rem 0 0.65rem;
  font-family: var(--sb-display);
  font-size: 1.5rem;
  color: var(--sb-brand-deep);
  border-bottom: 2px solid rgba(143, 173, 31, 0.35);
  padding-bottom: 0.25rem;
}

.sb-az__list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: 1.5rem;
}

.sb-az__item {
  break-inside: avoid;
  padding: 0.2rem 0;
}

.sb-az__item a {
  color: var(--sb-ink);
  text-decoration: none;
  font-weight: 600;
}

.sb-az__item a:hover {
  color: var(--sb-brand-deep);
  text-decoration: underline;
}

.sb-az__empty {
  color: var(--sb-muted);
  margin: 0 0 1rem;
}

.sb-comments {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sb-line);
}

@media (max-width: 900px) {
  .sb-layout {
    grid-template-columns: 1fr;
  }

  .sb-cat-grid__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sb-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-related__grid {
    grid-template-columns: 1fr;
  }

  .sb-az__list {
    columns: 2;
  }
}

@media (max-width: 700px) {
  .sb-nav-toggle {
    display: inline-flex;
  }

  .sb-header__top-inner {
    flex-wrap: wrap;
  }

  .sb-header__search {
    order: 3;
    flex: 0 0 100%;
    justify-content: stretch;
    padding-top: 0.15rem;
  }

  .sb-header__search .sb-search {
    max-width: none;
  }

  .sb-header__search .sb-search__text {
    display: none;
  }

  .sb-header {
    position: sticky;
  }

  .sb-nav {
    display: none;
    background: var(--sb-brand-deep);
  }

  .sb-nav.is-open {
    display: block;
  }

  .sb-nav__list {
    flex-direction: column;
  }

  .sb-nav__list > li > a {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sb-nav__list .current-menu-item > a,
  .sb-nav__list .current_page_item > a {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 2px 0 0 rgba(255, 226, 154, 0.65);
    background: rgba(255, 255, 255, 0.05);
  }

  .sb-az__toolbar {
    top: 4.5rem;
  }

  .sb-az__list {
    columns: 1;
  }

  .sb-cat-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sb-footer__grid {
    grid-template-columns: 1fr;
  }

  .sb-footer .sb-search {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-main,
  .sb-cat-grid__link,
  .sb-cat-grid__media img {
    animation: none;
    transition: none;
  }
}
