/* Hummingbird-inspired layout for TrekkerTrek.
   Kleuren blijven die van style.css (--brown, --olive, …). */

.theme-hummingbird {
  overflow-x: clip;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #e8e2d4 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #e4ead0 0%, transparent 45%),
    #f2f0ea;
}

/* ——— Sticky navbar (hummingbird-achtig) ——— */
.theme-hummingbird .hb-masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  height: auto;
  min-height: 72px;
  background: color-mix(in srgb, #f9f7f1 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: none;
  border-radius: 0;
  /* Rechte bruine lijn — knipoog naar de oude navigatiebalk, loopt door in de hero */
  box-shadow:
    0 1px 0 #fff8,
    0 5px 0 #3d2a16;
}

.theme-hummingbird .hb-masthead-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.theme-hummingbird .hb-brand {
  min-width: 0;
  flex-shrink: 0;
}

.theme-hummingbird .hb-brand .brand-copy strong {
  font-size: clamp(28px, 2.4vw, 38px);
}

.theme-hummingbird .hb-brand .brand-tractor {
  width: 96px;
  height: 64px;
}

.theme-hummingbird .hb-brand .brand-tractor img {
  width: 108px;
  bottom: -10px;
}

.theme-hummingbird .hb-nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.theme-hummingbird .hb-nav-desktop a {
  padding: 8px 14px;
  border-radius: 10px;
  font: 700 15px/1.2 'Barlow Condensed', sans-serif;
  letter-spacing: .3px;
  color: var(--brown);
  text-transform: uppercase;
}

.theme-hummingbird .hb-nav-desktop a:hover,
.theme-hummingbird .hb-nav-desktop a.active {
  background: #e9ecd9;
  color: var(--olive);
}

.theme-hummingbird .hb-top-search {
  margin-left: auto;
  width: min(300px, 100%);
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #cfc6b8;
  background: #fffcf7;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px #3827160a;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.theme-hummingbird .hb-top-search:focus-within {
  border-color: #8a9a55;
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 3px #8a9a5533;
}

.theme-hummingbird .hb-top-search select {
  position: relative;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brown) 50%),
    linear-gradient(135deg, var(--brown) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 36px 0 14px;
  font: 600 14px/1.2 'Barlow Condensed', sans-serif;
  letter-spacing: .2px;
  color: var(--brown);
  cursor: pointer;
}

.theme-hummingbird .hb-top-search select:invalid,
.theme-hummingbird .hb-top-search select option[value=""] {
  color: #7a6f5d;
}

.theme-hummingbird .hb-top-search select option {
  color: var(--text);
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 500;
}

.theme-hummingbird .hb-top-search button {
  border-radius: 0;
  width: 46px;
  background: linear-gradient(#5f482e, var(--brown2));
  color: #f7f3ea;
  font-size: 22px;
  transition: background .15s ease, filter .15s ease;
}

.theme-hummingbird .hb-top-search button:hover {
  background: linear-gradient(var(--olive2), var(--olive));
  filter: none;
}

.theme-hummingbird .hb-top-search button:focus-visible {
  outline: 2px solid #c5d48a;
  outline-offset: -2px;
}

.theme-hummingbird .hb-social a {
  border-radius: 10px;
  width: 36px;
  height: 36px;
}

.theme-hummingbird .menu-toggle {
  display: none;
}

/* Collapsible bar alleen via toggle (tablet/mobiel) */
.theme-hummingbird .hb-main-nav {
  display: none !important;
  background: linear-gradient(#4b351e, #352313);
  box-shadow: 0 8px 20px #0003;
}

.theme-hummingbird .hb-main-nav.is-open {
  display: block !important;
}

.theme-hummingbird .hb-mobile-search {
  display: none;
  width: 100%;
  margin: 8px 0 12px;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #8a7358;
  background: #2c1f12;
  box-shadow: inset 0 1px 0 #ffffff12;
}

.theme-hummingbird .hb-mobile-search select {
  border: 0;
  background-color: transparent;
  background-image:
    linear-gradient(45deg, transparent 50%, #e8dcc8 50%),
    linear-gradient(135deg, #e8dcc8 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 36px 0 14px;
  font: 600 15px/1.2 'Barlow Condensed', sans-serif;
  letter-spacing: .2px;
  color: #f4eee4;
}

.theme-hummingbird .hb-mobile-search select option {
  color: var(--text);
  background: #fff;
}

.theme-hummingbird .hb-mobile-search button {
  width: 48px;
  background: linear-gradient(#70863c, #4d6521);
  color: #fff;
  font-size: 22px;
}

/* ——— Hero: inhoudelijk/visueel zoals vroeger; sluit aan op bruine headerlijn ——— */
.theme-hummingbird .hb-hero {
  border-radius: 0;
  margin-top: 0;
}

/* ——— Content: muddy tire tracks in the side bleed (toggle: body.mud-tracks) ——— */
.theme-hummingbird.mud-tracks .hb-main,
.theme-hummingbird.mud-tracks .forum-shell {
  position: relative;
  isolation: isolate;
}

/* Dirt bed + thick tracks parked in left/right bleed only */
.theme-hummingbird.mud-tracks .hb-main::before,
.theme-hummingbird.mud-tracks .forum-shell::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background-color: #dccdb6;
  background-image:
    url("../../img/mud-tracks.svg"),
    url("../../img/mud-tracks.svg"),
    radial-gradient(ellipse 50% 40% at 8% 30%, #b8956e88 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 92% 70%, #a67f5880 0%, transparent 55%);
  background-repeat: repeat-y, repeat-y, no-repeat, no-repeat;
  background-position:
    0% -24px,
    100% -80px,
    left top,
    right top;
  background-size:
    clamp(160px, 14vw, 230px) auto,
    clamp(160px, 14vw, 230px) auto,
    40% 50%,
    40% 50%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32px, #000 calc(100% - 16px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 32px, #000 calc(100% - 16px), transparent 100%);
}

/* Diagonal drive mark in the left bleed — height locked to content */
.theme-hummingbird.mud-tracks .hb-main::after,
.theme-hummingbird.mud-tracks .forum-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: clamp(170px, 15vw, 240px);
  z-index: -1;
  pointer-events: none;
  background: url("../../img/mud-tracks.svg") repeat-y center top / 100% auto;
  transform: skewY(-9deg);
  transform-origin: top center;
  opacity: .95;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24px, #000 calc(100% - 12px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24px, #000 calc(100% - 12px), transparent 100%);
}

@media (max-width: 1100px) {
  .theme-hummingbird.mud-tracks .hb-main::before,
  .theme-hummingbird.mud-tracks .forum-shell::before {
    background-size:
      110px auto,
      110px auto,
      45% 50%,
      45% 50%;
  }

  .theme-hummingbird.mud-tracks .hb-main::after,
  .theme-hummingbird.mud-tracks .forum-shell::after {
    width: 120px;
    opacity: .78;
  }
}

.theme-hummingbird .hb-main {
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 48px;
}

.theme-hummingbird .hb-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffcf7;
  box-shadow: 0 10px 28px #3827160c;
  overflow: hidden;
}

.theme-hummingbird .hb-card-header,
.theme-hummingbird .hb-card > .panel-heading {
  border-radius: 0;
  min-height: 54px;
  padding: 0 18px;
}

.theme-hummingbird .hb-card-link {
  color: #d9e3a8;
  font-weight: 700;
  font-size: 13px;
}

.theme-hummingbird .hb-card-link:hover {
  text-decoration: underline;
}

.theme-hummingbird .hb-filter-toolbar {
  gap: 12px 18px;
  padding: 16px 18px;
  background: #eef1e4;
  border-bottom: 1px solid var(--line);
}

.theme-hummingbird .hb-filter-toolbar select {
  border-radius: 10px;
  min-height: 40px;
}

.theme-hummingbird .hb-card-grid {
  gap: 22px;
  padding: 22px;
}

.theme-hummingbird .hb-location-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px #3827160a;
  transition: transform .18s ease, box-shadow .18s ease;
}

.theme-hummingbird .hb-location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px #38271618;
}

.theme-hummingbird .hb-location-card .blog-image-wrapper {
  height: 190px;
  border-radius: 0;
}

.theme-hummingbird .hb-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #d8d0c4, #bfae9e 55%, #9a8b76);
}

.theme-hummingbird .hb-card-meta {
  margin: 4px 0 0;
  color: #d9d0be;
  font-size: 12px;
}

.theme-hummingbird .hb-breadcrumb {
  gap: 10px;
  padding: 4px 0;
  font-size: 13px;
}

.theme-hummingbird .location-cover {
  border-radius: 16px;
}

.theme-hummingbird .location-button {
  border-radius: 10px;
}

.theme-hummingbird .location-event {
  border-radius: 12px;
  margin: 18px;
}

.theme-hummingbird .hb-village {
  overflow: hidden;
}

.theme-hummingbird .location-album {
  border-radius: 12px;
  overflow: hidden;
}

.theme-hummingbird .hb-prose {
  max-width: 860px;
}

.theme-hummingbird .hb-prose h1 {
  font: 800 clamp(32px, 4vw, 48px)/1.1 'Barlow Condensed', sans-serif;
  color: var(--brown);
  margin: 0 0 12px;
}

.theme-hummingbird .hb-prose h2 {
  font: 800 26px/1.2 'Barlow Condensed', sans-serif;
  color: var(--brown);
  margin: 28px 0 10px;
}

.theme-hummingbird .hb-prose p,
.theme-hummingbird .hb-prose li {
  line-height: 1.75;
}

.theme-hummingbird .cookie-table {
  border-radius: 12px;
  overflow: hidden;
}

.theme-hummingbird .contact-card {
  border-radius: 16px;
  box-shadow: 0 10px 28px #3827160c;
}

.theme-hummingbird .locations-search {
  border-radius: 0;
}

.theme-hummingbird .locations-result {
  border-radius: 12px;
}

/* ——— Footer ——— */
.theme-hummingbird .hb-footer {
  margin-top: 12px;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}

.theme-hummingbird .hb-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 36px 28px 28px;
  border-bottom: 1px solid #ffffff20;
}

.theme-hummingbird .hb-footer-social {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #ffffff14;
  color: #d7e39a;
  font-weight: 700;
  font-size: 13px;
}

.theme-hummingbird .hb-footer-social:hover {
  background: #ffffff22;
}

.theme-hummingbird .hb-footer-features {
  padding-top: 8px;
  padding-bottom: 8px;
}

.theme-hummingbird .season-panel {
  border-radius: 16px;
  overflow: hidden;
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .theme-hummingbird .hb-nav-desktop {
    display: none;
  }

  .theme-hummingbird .menu-toggle {
    display: flex;
    border-radius: 10px;
  }

  .theme-hummingbird .hb-masthead-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .theme-hummingbird .hb-top-search {
    order: 3;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .theme-hummingbird .hb-masthead {
    position: sticky;
  }

  .theme-hummingbird .hb-masthead-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .theme-hummingbird .hb-brand .brand-tractor {
    display: none;
  }

  .theme-hummingbird .hb-top-search,
  .theme-hummingbird .hb-social {
    display: none !important;
  }

  .theme-hummingbird .hb-main-nav .nav-inner a {
    border-radius: 8px;
    margin: 2px 0;
  }

  .theme-hummingbird .hb-mobile-search {
    display: flex;
  }

  .theme-hummingbird .hb-provinces,
  .theme-hummingbird .hb-footer-features {
    display: none;
  }

  .theme-hummingbird .hb-card-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px;
  }

  .theme-hummingbird .hb-footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 16px;
  }

  .theme-hummingbird .hb-footer {
    border-radius: 20px 20px 0 0;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .theme-hummingbird .hb-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .theme-hummingbird .hb-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-hummingbird .hb-location-card,
  .theme-hummingbird .hb-province-grid button {
    transition: none;
  }
}

/* ——— Forum: zelfde thema-chrome, bruine lijn loopt door ——— */
body.gbody.theme-hummingbird {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #e8e2d4 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #e4ead0 0%, transparent 45%),
    #f2f0ea;
}

.theme-hummingbird .tt-forum-menu.capMenu {
  border-top: 0;
  border-bottom: 1px solid #c9d0b0;
  background: linear-gradient(180deg, #f3f5ea 0%, #e6ebd6 100%);
  box-shadow: 0 4px 14px #3827160a;
}

.theme-hummingbird .tt-forum-menu a,
.theme-hummingbird .tt-forum-menu a.mnblnk:link,
.theme-hummingbird .tt-forum-menu a.mnblnk:visited {
  border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: .2px;
  text-transform: uppercase;
}

.theme-hummingbird .tt-forum-menu a:hover,
.theme-hummingbird .tt-forum-menu a:focus-visible {
  border-color: transparent;
  background: #fffef8;
  color: var(--olive, #5b7028);
}

.theme-hummingbird .forum-shell {
  padding-top: 22px;
  padding-bottom: 36px;
}

.theme-hummingbird .forumCol,
.theme-hummingbird .forum-shell table.forums,
.theme-hummingbird .forum-shell table.forumsmb,
.theme-hummingbird .tt-classic-forums,
.theme-hummingbird .tt-classic-topics {
  border-radius: 14px;
  overflow: hidden;
  border-color: var(--line, #ddd8cf);
  background: #fffcf7;
  box-shadow: 0 10px 28px #3827160c;
}

.theme-hummingbird .groupTitle,
.theme-hummingbird table.capMenu:not(.tt-forum-menu),
.theme-hummingbird .forum-shell td.groupTitle {
  border-radius: 0;
}
