.bw-kf-page {
  --bw-kf-ivory: var(--bw-ivory, #f7f8f1);
  --bw-kf-beige: var(--bw-beige, #e5eadf);
  --bw-kf-sage: var(--bw-sage, #6f875c);
  --bw-kf-charcoal: var(--bw-charcoal, #1f3524);
  --bw-kf-muted: var(--bw-muted, #657060);
  --bw-kf-border: var(--bw-border, rgba(31, 53, 36, 0.13));
  --bw-kf-shadow: var(--bw-shadow, 0 18px 45px rgba(31, 53, 36, 0.11));
  --bw-kf-serif: var(--bw-serif, "Playfair Display", Georgia, serif);
  --bw-kf-sans: var(--bw-sans, "Lato", Arial, sans-serif);
  background: #fff;
  color: var(--bw-kf-charcoal);
  font-family: var(--bw-kf-sans);
}

.bw-kf-inner {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.bw-kf-hero {
  padding: clamp(54px, 8vw, 108px) 0 clamp(34px, 5vw, 64px);
  background: linear-gradient(180deg, var(--bw-kf-ivory), #fff);
}

.bw-kf-breadcrumb {
  margin: 0 0 28px;
  color: var(--bw-kf-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.bw-kf-breadcrumb a {
  color: var(--bw-kf-sage);
  text-decoration: none;
}

.bw-kf-hero .bw-kicker,
.bw-kf-card-category {
  color: var(--bw-kf-sage);
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bw-kf-hero h1 {
  max-width: 820px;
  margin: 8px 0 18px;
  color: var(--bw-kf-charcoal);
  font-family: var(--bw-kf-serif);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: 1.05;
}

.bw-kf-hero p:not(.bw-kicker):not(.bw-kf-breadcrumb) {
  max-width: 760px;
  color: var(--bw-kf-muted);
  font-size: clamp(1.04rem, 1.4vw, 1.22rem);
  line-height: 1.75;
}

.bw-kf-section {
  padding: clamp(48px, 7vw, 90px) 0;
}

.bw-kf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.bw-kf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 62px) clamp(26px, 4vw, 46px);
}

.bw-kf-card {
  position: relative;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(31, 53, 36, 0.1);
  text-align: center;
}

.bw-kf-card-media {
  display: block;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--bw-kf-beige);
  box-shadow: 0 10px 30px rgba(31, 53, 36, 0.08);
}

.bw-kf-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 220ms ease;
}

.bw-kf-card-media:hover img {
  transform: scale(1.025);
}

.bw-kf-card-body {
  max-width: 92%;
  margin-inline: auto;
}

.bw-kf-card-category {
  margin: 0 0 8px;
}

.bw-kf-card h2 {
  margin: 0 0 8px;
  font-family: var(--bw-kf-serif);
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  font-weight: 600;
  line-height: 1.18;
}

.bw-kf-card h2 a {
  color: var(--bw-kf-charcoal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.bw-kf-card h2 a:hover {
  color: var(--bw-kf-sage);
}

.bw-kf-meta {
  margin: 0 0 16px;
  color: #8b9b78;
  font-family: var(--bw-kf-serif);
  font-size: 0.88rem;
  font-style: italic;
}

.bw-kf-card p:not(.bw-kf-card-category):not(.bw-kf-meta) {
  color: var(--bw-kf-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.bw-kf-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 12px;
  padding: 0.68rem 1.05rem;
  border: 1px solid rgba(111, 135, 92, 0.45);
  border-radius: 999px;
  color: var(--bw-kf-sage);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.bw-kf-readmore:hover {
  background: var(--bw-kf-sage);
  color: #fff;
}

.bw-kf-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 28px;
}

.bw-kf-widget {
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(31, 53, 36, 0.12);
}

.bw-kf-widget h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--bw-kf-charcoal);
  font-family: var(--bw-kf-sans);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bw-kf-widget h2::before,
.bw-kf-widget h2::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(31, 53, 36, 0.18);
}

.bw-kf-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bw-kf-widget li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(31, 53, 36, 0.08);
  font-size: 0.88rem;
  line-height: 1.35;
}

.bw-kf-widget a {
  color: var(--bw-kf-charcoal);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.bw-kf-widget a:hover {
  color: var(--bw-kf-sage);
}

.bw-kf-follow div {
  display: flex;
  gap: 10px;
}

.bw-kf-follow a {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #eff4eb;
  color: var(--bw-kf-sage);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
}

.bw-kf-widget .search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
}

.bw-kf-widget .search-field {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--bw-kf-border);
  border-right: 0;
  border-radius: 0;
  padding: 0.65rem 0.8rem;
}

.bw-kf-widget .search-submit {
  min-height: 42px;
  border: 0;
  background: var(--bw-kf-charcoal);
  color: #fff;
  padding: 0 0.9rem;
  font-weight: 900;
}

.bw-kf-note {
  padding: 24px;
  border: 1px solid var(--bw-kf-border);
  border-radius: 8px;
  background: var(--bw-kf-ivory);
}

.bw-kf-note p {
  color: var(--bw-kf-muted);
  font-size: 0.92rem;
}

.bw-kf-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.bw-kf-pagination .page-numbers {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  background: var(--bw-kf-charcoal);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.bw-kf-pagination .page-numbers.current {
  background: var(--bw-kf-sage);
}

body.single-kattenfratsen .bw-section > .bw-container > article {
  max-width: 920px;
  margin-inline: auto;
}

body.single-kattenfratsen .bw-section > .bw-container > article > h1 {
  max-width: 860px;
  margin: 0 auto 22px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.12;
}

.bw-kf-single-photo {
  position: relative;
  overflow: hidden;
  margin: 0 0 34px;
  border: 1px solid var(--bw-kf-border);
  border-radius: 18px;
  background: var(--bw-kf-beige);
  box-shadow: var(--bw-kf-shadow);
}

.bw-kf-single-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.bw-kf-single-photo span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--bw-kf-charcoal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bw-kf-empty {
  padding: 34px;
  border: 1px solid var(--bw-kf-border);
  border-radius: 8px;
  background: var(--bw-kf-ivory);
}

@media (max-width: 1100px) {
  .bw-kf-layout {
    grid-template-columns: 1fr;
  }

  .bw-kf-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bw-kf-inner {
    width: min(100% - 28px, 1320px);
  }

  .bw-kf-grid,
  .bw-kf-sidebar {
    grid-template-columns: 1fr;
  }

  .bw-kf-card-body {
    max-width: 100%;
  }

  body.single-kattenfratsen .bw-section > .bw-container > article > h1 {
    font-size: clamp(1.9rem, 10vw, 2.55rem);
  }
}
