/*
  Buckfast Bijen - Phase 3 Pro
  Moderne, toegankelijke website op Cassiopeia zonder YOOtheme.
*/

:root {
  --cassiopeia-color-primary: #2d241b;
  --cassiopeia-color-link: #73511f;
  --cassiopeia-color-hover: #a8792d;

  --bb-bg: #f6f1e8;
  --bb-surface: #ffffff;
  --bb-surface-soft: #fbf7ef;
  --bb-text: #29241e;
  --bb-muted: #6c6258;
  --bb-dark: #2d241b;
  --bb-brown: #4d3722;
  --bb-gold: #b98a31;
  --bb-gold-soft: #e4c985;
  --bb-border: #e4d7c5;
  --bb-shadow: 0 22px 55px rgba(45, 36, 27, .12);
  --bb-radius: 22px;
}

html {
  background: var(--bb-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bb-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(185,138,49,.16), transparent 28rem),
    linear-gradient(180deg, #fbf8f0 0%, #f6f1e8 46%, #eee3d3 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.navbar-toggler:focus-visible {
  outline: 3px solid var(--bb-gold-soft);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Joomla standaardoutput verbergen */
.page-header,
.item-title,
.items-leading .item-title,
.blog-item .item-title,
.com-content-category-blog__item-title,
.com-content-featured__item-title,
.article-info,
.article-info-term,
dl.article-info,
.com-content-article__info,
.icons,
.article-info dd,
.article-info dt,
img[src*="statcounter"],
img[alt*="hit counter" i],
a[href*="statcounter"],
a[href*="counter"],
a[href*="hitslink"] {
  display: none !important;
}

/* Header */
.container-header {
  background:
    linear-gradient(135deg, rgba(45,36,27,.98), rgba(27,22,17,.98)),
    radial-gradient(circle at 10% 20%, rgba(185,138,49,.22), transparent 18rem);
  border-bottom: 1px solid rgba(228,201,133,.42);
  box-shadow: 0 10px 30px rgba(27,22,17,.18);
}

.container-header .grid-child {
  max-width: 1180px;
}

.container-header .navbar-brand {
  min-height: 82px;
  padding: 1.15rem 0 .8rem;
}

.container-header .navbar-brand a {
  color: #fff !important;
  text-decoration: none;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 780;
  letter-spacing: -.025em;
}

.container-header .navbar-brand a::before {
  content: "";
  display: inline-block;
  width: .68em;
  height: .68em;
  margin-right: .55rem;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 43%, rgba(45,36,27,.94) 43%, rgba(45,36,27,.94) 57%, transparent 57%),
    linear-gradient(135deg, #e4c985, #a8792d);
  box-shadow: 0 0 0 4px rgba(228,201,133,.14);
  transform: translateY(.05em);
}

.container-header .site-description {
  color: rgba(255,255,255,.72);
  font-size: .98rem;
  margin-top: .25rem;
}

.container-header .container-nav {
  padding-bottom: .85rem;
}

.container-header .navbar-toggler {
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.06);
  border-radius: .75rem;
}

.container-header .mod-menu {
  gap: .18rem;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: rgba(255,255,255,.86);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 720;
  letter-spacing: .015em;
  text-transform: none;
  border-radius: .6rem;
  padding: .7rem .85rem;
  transition: background .18s ease, color .18s ease;
}

.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a,
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus {
  color: #fff;
  background: rgba(228,201,133,.16);
}

/* Basis layout */
.site-grid {
  max-width: 1180px;
  margin: 2.4rem auto 3rem;
  padding: 0 1rem;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.container-component {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.com-content-article {
  max-width: none;
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--bb-dark);
  letter-spacing: -.028em;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 1.02;
  font-weight: 840;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  line-height: 1.18;
  font-weight: 790;
  margin: 0 0 .8rem;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 760;
  margin: 0 0 .45rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: #73511f;
  text-decoration-thickness: .08em;
  text-decoration-color: rgba(185,138,49,.5);
  text-underline-offset: .18em;
}

a:hover {
  color: #a8792d;
}

/* Site home */
.bb-site-home,
.bb-page {
  max-width: 1180px;
  margin: 0 auto;
}

.bb-hero {
  min-height: clamp(460px, 60vw, 660px);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(1rem, 3vw, 2.4rem);
  background:
    linear-gradient(135deg, rgba(45,36,27,.84), rgba(45,36,27,.25)),
    var(--bb-hero-image, linear-gradient(135deg, #4d3722, #b98a31));
  background-size: cover;
  background-position: center;
  box-shadow: var(--bb-shadow);
}

.bb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(228,201,133,.18), transparent 20rem),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.38));
  pointer-events: none;
}

.bb-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
  backdrop-filter: blur(7px);
}

.bb-eyebrow {
  color: var(--bb-gold);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: .55rem;
}

.bb-lead {
  color: #40372f;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.62;
  max-width: 780px;
}

.bb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.35rem;
}

.bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .72rem 1rem;
  border-radius: 999px;
  font-weight: 780;
  text-decoration: none;
}

.bb-btn-primary {
  color: #fff;
  background: var(--bb-dark);
}

.bb-btn-primary:hover {
  color: #fff;
  background: #1e1812;
}

.bb-btn-secondary {
  color: var(--bb-dark);
  background: #f0e3c6;
}

.bb-btn-secondary:hover {
  color: var(--bb-dark);
  background: #e3cc99;
}

.bb-section,
.bb-card,
.bb-aside,
.bb-pedigree-archive {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius);
  box-shadow: 0 12px 32px rgba(45,36,27,.075);
}

.bb-section {
  margin-top: 1rem;
  padding: clamp(1.25rem, 3vw, 2.35rem);
}

.bb-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 1.25rem;
  align-items: center;
}

.bb-highlight-box {
  background: var(--bb-surface-soft);
  border: 1px solid var(--bb-border);
  border-left: 4px solid var(--bb-gold);
  border-radius: 16px;
  padding: 1.1rem;
}

.bb-highlight-box strong,
.bb-highlight-box span {
  display: block;
}

.bb-highlight-box span {
  color: var(--bb-muted);
  margin-top: .25rem;
}

.bb-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.bb-card {
  padding: 1.3rem;
}

.bb-card span {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  align-items: center;
  justify-content: center;
  color: var(--bb-dark);
  background: #f0e3c6;
  border-radius: 999px;
  font-weight: 820;
  margin-bottom: .9rem;
}

.bb-card p {
  color: var(--bb-muted);
}

.bb-card a {
  font-weight: 780;
}

.bb-feature-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1.4rem;
}

.bb-feature-list {
  display: grid;
  gap: .75rem;
}

.bb-feature-list div {
  background: var(--bb-surface-soft);
  border: 1px solid var(--bb-border);
  border-left: 4px solid var(--bb-gold);
  border-radius: 14px;
  padding: .95rem 1rem;
}

.bb-feature-list strong {
  display: block;
  color: var(--bb-dark);
}

.bb-feature-list p {
  color: var(--bb-muted);
  margin: .15rem 0 0;
}

.bb-image-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 1rem;
  margin-top: 1rem;
}

.bb-image-tile {
  min-height: 250px;
  background:
    var(--bb-image, linear-gradient(135deg, #4d3722, #b98a31)) center / cover no-repeat;
  border-radius: var(--bb-radius);
  box-shadow: 0 12px 32px rgba(45,36,27,.09);
}

.bb-image-tile-large {
  min-height: 360px;
}

.bb-faq details {
  border-top: 1px solid var(--bb-border);
  padding: 1rem 0;
}

.bb-faq details:first-of-type {
  border-top: 0;
}

.bb-faq summary {
  cursor: pointer;
  color: var(--bb-dark);
  font-weight: 780;
}

.bb-faq details p {
  color: var(--bb-muted);
  margin: .7rem 0 0;
}

/* Subpagina's */
.bb-page-hero {
  min-height: clamp(340px, 45vw, 480px);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(1.25rem, 3vw, 2.4rem);
  background:
    linear-gradient(135deg, rgba(45,36,27,.82), rgba(45,36,27,.28)),
    var(--bb-image, linear-gradient(135deg, #4d3722, #b98a31));
  background-size: cover;
  background-position: center;
  box-shadow: var(--bb-shadow);
}

.bb-page-hero > div {
  max-width: 760px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 22px;
  padding: clamp(1.25rem, 3vw, 2.35rem);
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
}

.bb-page-hero-plain {
  min-height: auto;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--bb-border);
}

.bb-page-hero-plain > div {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.bb-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 1.35rem;
  align-items: start;
}

.bb-aside {
  padding: 1.25rem;
  background: var(--bb-surface-soft);
}

.bb-aside ul {
  margin: .75rem 0 0;
  padding-left: 1.2rem;
}

.bb-feature-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 1rem;
}

.bb-feature-cards article,
.bb-process article {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--bb-border);
  border-left: 4px solid var(--bb-gold);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(45,36,27,.055);
}

.bb-feature-cards h2,
.bb-process h2 {
  font-size: 1.12rem;
}

.bb-feature-cards p,
.bb-process p {
  color: var(--bb-muted);
}

.bb-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 1rem;
}

.bb-process span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  margin-bottom: .7rem;
  border-radius: 999px;
  background: #f0e3c6;
  color: var(--bb-dark);
  font-weight: 820;
}

.bb-pedigree-archive {
  margin-top: 1rem;
  padding: clamp(1.25rem, 3vw, 2.35rem);
  overflow-wrap: anywhere;
}

.bb-pedigree-archive h1 {
  display: none;
}

.bb-pedigree-archive h3 {
  padding-top: 1.1rem;
  margin-top: 1.35rem;
  border-top: 1px solid var(--bb-border);
}

.bb-pedigree-archive h3:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.bb-pedigree-archive img,
.com-content-article img:not([src*="statcounter"]) {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 1rem 0;
}

.bb-pedigree-archive img {
  box-shadow: 0 12px 30px rgba(45,36,27,.10);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.3rem 0;
  background: #fff;
  border: 1px solid var(--bb-border);
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  padding: .75rem .85rem;
  border: 1px solid var(--bb-border);
  vertical-align: top;
}

th {
  background: #f3eadc;
  color: var(--bb-dark);
  font-weight: 760;
}

/* Footer */
.footer {
  margin-top: 2.5rem;
  color: rgba(255,255,255,.76);
  background: #2d241b;
  border-top: 1px solid rgba(228,201,133,.35);
}

.footer a {
  color: #e4c985;
}

/* Responsive */
@media (min-width: 992px) {
  .container-header .navbar-toggler {
    display: none !important;
  }

  .container-header .navbar-collapse {
    display: flex !important;
  }
}

@media (max-width: 1100px) {
  .bb-feature-cards,
  .bb-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .bb-intro,
  .bb-card-grid,
  .bb-feature-section,
  .bb-image-grid,
  .bb-split {
    grid-template-columns: 1fr;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > span {
    display: block;
    border-radius: .55rem;
  }

  .bb-image-tile,
  .bb-image-tile-large {
    min-height: 240px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .site-grid {
    margin-top: 1rem;
    padding: 0 .7rem;
  }

  .bb-hero,
  .bb-page-hero {
    min-height: auto;
    border-radius: 18px;
    padding: .75rem;
  }

  .bb-hero-content,
  .bb-page-hero > div,
  .bb-section,
  .bb-card,
  .bb-pedigree-archive {
    border-radius: 14px;
    padding: 1rem;
  }

  .bb-feature-cards,
  .bb-process {
    grid-template-columns: 1fr;
  }

  .container-header .navbar-brand {
    min-height: 68px;
  }

  .container-header .navbar-brand a {
    font-size: 1.55rem;
  }

  .container-header .site-description {
    font-size: .88rem;
  }
}
