/*
Theme Name:   OceanWP Child — GerardBes
Theme URI:    https://www.gerardbes.nl
Description:  Child theme voor gerardbes.nl — alle custom CSS
Author:       Marald Bes
Template:     oceanwp
Version:      3.6
*/

/* ── GOOGLE FONTS (REQUIRED — laad Cormorant Garamond + Jost) ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ═══════════════════════════════════════════════
   GERARDBES.NL — Custom CSS  v3.0
   ═══════════════════════════════════════════════ */

/* ── 1. CSS VARIABLES ─────────────────────────── */
:root {
  --gb-ink:    #1A1714;
  --gb-stone:  #8C7B6B;
  --gb-terra:  #9C5A3C;
  --gb-warm:   #C8B49A;
  --gb-cream:  #F8F5F0;
  --gb-border: rgba(140,123,107,0.18);
}

/* ── GLOBAL FONT ──────────────────────────────── */
body {
  font-family: 'Jost', system-ui, sans-serif;
}

/* ── GLOBAL LINK KLEUR — vervang OceanWP-blauw ── */
a {
  color: var(--gb-stone);
}
a:hover {
  color: var(--gb-terra);
}
/* Specifieke uitzonderingen die hun eigen kleur houden */
.gb-hero__cta,
.gb-hero__cta:hover,
.gb-about__link,
.gb-over__cta,
.gb-over__cta:hover,
.gb-over__cta-soft,
.gb-stones__index-grid li a,
#site-logo a,
.menu-link,
.sub-menu a {
  color: inherit;
}

/* ── LOGO: vervang tekst door afbeelding ─────── */
#site-logo a.site-logo-text,
#site-logo a.site-title,
a.site-logo-text,
a.site-title.site-logo-text {
  display: block !important;
  overflow: hidden !important;
  text-indent: -9999px !important;
  background: url('https://www.gerardbes.nl/wp-content/uploads/2020/07/logo.png') no-repeat left center !important;
  background-size: contain !important;
  width: 200px !important;
  height: 55px !important;
  font-size: 0 !important;
  color: transparent !important;
}

/* ── 2. FULL-WIDTH HOMEPAGE (page-id-5) ──────── */
.page-id-5 #wrap,
.page-id-5 #content-wrap,
.page-id-5 #primary,
.page-id-5 .content-area,
.page-id-5 #content,
.page-id-5 .site-content,
.page-id-5 .entry,
.page-id-5 article,
.page-id-5 .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  overflow: visible !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}
.page-id-5 #content-wrap.container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page-id-5 .page-header { display: none; }

/* ── 3. HOMEPAGE LAYOUT ─────────────────────── */
.gb-home {
  font-family: 'Jost', system-ui, sans-serif;
  color: var(--gb-ink);
}

/* ── HORIZONTALE SLIDER (gb-reel-h) ──────────── */
.gb-reel-h {
  width: 100%;
  height: 520px;
  overflow: hidden;
  position: relative;
  background: var(--gb-ink);
}
.gb-reel-h__track {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: max-content;
  animation: gb-reel-left 90s linear infinite;
  will-change: transform;
}
.gb-reel-h__track:hover {
  animation-play-state: paused;
}
@keyframes gb-reel-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.gb-reel-h__item {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.gb-reel-h__item img {
  height: 100%;
  width: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gb-reel-h__item:hover img {
  transform: scale(1.04);
}
.gb-reel-h__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(26,23,20,0.85));
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.gb-reel-h__item:hover .gb-reel-h__label {
  opacity: 1;
  transform: translateY(0);
}

/* ── LEGACY VERTICAL REEL (kept for backwards compat) ── */
.gb-hero {
  display: flex;
  min-height: 90vh;
  overflow: hidden;
}
.gb-hero__left {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem,6vw,6rem) clamp(1.5rem,4vw,4rem);
  background: var(--gb-cream);
}
.gb-hero__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gb-stone);
  display: block;
  margin-bottom: 1.5rem;
}
.gb-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(60px,8vw,110px);
  font-weight: 300;
  line-height: 0.95;
  color: var(--gb-ink);
  margin: 0 0 1.5rem 0;
}
.gb-hero__intro {
  font-size: clamp(14px,1.5vw,17px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--gb-stone);
  margin: 0 0 2.5rem 0;
  max-width: 44ch;
}
.gb-hero__cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gb-ink);
  text-decoration: none;
  border: 1px solid var(--gb-ink);
  padding: 12px 28px;
  transition: background 0.25s, color 0.25s;
  align-self: flex-start;
}
.gb-hero__cta:hover {
  background: var(--gb-ink);
  color: var(--gb-cream);
}
.gb-hero__reel {
  width: 55%;
  overflow: hidden;
  position: relative;
  background-color: var(--gb-ink) !important;
  background-image: url('https://www.gerardbes.nl/wp-content/uploads/2020/07/Tomo-Beeld_Nori.jpg') !important;
  background-size: cover !important;
  background-position: center top !important;
}
.gb-reel__track {
  display: flex;
  flex-direction: column;
  animation: gb-reel-up 160s linear infinite;
  will-change: transform;
}
@keyframes gb-reel-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.gb-reel__item {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
  text-decoration: none;
}
.gb-reel__item img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.4s ease;
}
.gb-reel__item:hover img { transform: scale(1.02); }
.gb-reel__label {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 1.25rem 1rem;
  background: linear-gradient(transparent, rgba(26,23,20,0.88));
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px,2.2vw,28px);
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.gb-reel__item:hover .gb-reel__label {
  opacity: 1;
  transform: translateY(0);
}

/* Dark band */
.gb-band {
  background: var(--gb-ink);
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
}
.gb-band blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px,2.5vw,30px);
  font-weight: 300;
  font-style: italic;
  margin: 0 0 0.75rem;
  border: none;
  padding: 0;
  color: #fff;
}
.gb-band cite {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gb-warm);
}

/* Editorial facts bar */
.gb-facts-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--gb-border);
  border-top: 1px solid var(--gb-border);
  background: #fff;
}
.gb-facts-bar span {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gb-stone);
}
.gb-facts-bar .gb-sep {
  color: var(--gb-border);
  font-size: 14px;
  letter-spacing: 0;
}

/* Portfolio preview grid */
.gb-preview {
  padding: clamp(3rem,6vw,6rem) clamp(1.5rem,5vw,5rem);
  background: #fff;
}
.gb-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gb-border);
}
.gb-preview__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px,3vw,36px);
  font-weight: 300;
  margin: 0;
  color: var(--gb-ink);
}
.gb-preview__link {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gb-stone);
  text-decoration: none;
}
.gb-preview__link:hover { color: var(--gb-terra); }
.gb-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: var(--gb-border);
}
.gb-grid__item {
  background: #fff;
  overflow: hidden;
}
.gb-grid__item a { display: block; text-decoration: none; }
.gb-grid__item img {
  width: 100%;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gb-grid__item a:hover img { transform: scale(1.04); }
.gb-grid__caption {
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.gb-grid__caption-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--gb-ink);
}
.gb-grid__caption-mat {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gb-stone);
}

/* Expositie CTA banner (homepage) */
.gb-expo-banner {
  background: var(--gb-terra);
  color: #fff;
  padding: 2rem clamp(1.5rem,5vw,5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.gb-expo-banner__text {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}
.gb-expo-banner__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px,2.5vw,26px);
  font-weight: 300;
  margin: 0.2rem 0 0;
}
.gb-expo-banner__link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 10px 22px;
  white-space: nowrap;
  transition: background 0.2s;
}
.gb-expo-banner__link:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* About section */
.gb-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 65vh;
}
.gb-about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem,6vw,7rem) clamp(2rem,5vw,6rem);
  background: var(--gb-cream);
}
.gb-about__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gb-stone);
  display: block;
  margin-bottom: 1.25rem;
}
.gb-about__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px,4vw,52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--gb-ink);
  margin: 0 0 1.5rem;
}
.gb-about__body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gb-stone);
  margin-bottom: 1rem;
  max-width: 50ch;
}
.gb-about__link {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gb-ink);
  text-decoration: none;
  margin-top: 1rem;
}
.gb-about__link:hover { color: var(--gb-terra); }
.gb-about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* About section image container — white background, Elementor image shows */
.gb-about__img {
  background: #fff;
  overflow: hidden;
}

/* ── 4. PAGE HEADER — BREADCRUMBS FIX ─────────── */
.page-header {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 80px !important;
  padding: 2rem 0 !important;
  gap: 1rem !important;
}
.page-header .page-header-title {
  font-size: clamp(20px,3vw,32px) !important;
  line-height: 1.25 !important;
  position: relative !important;
  margin: 0 !important;
}
.page-header .ocean-breadcrumbs,
.page-header #breadcrumbs,
.page-header .ocean-breadcrumbs-wrap {
  position: relative !important;
  bottom: auto !important;
  margin-top: 0.5rem !important;
  order: 2 !important;
}

/* ── 5. FOOTER FIX ────────────────────────────── */
#footer-widgets .footer-box,
#footer .footer-menu {
  display: block !important;
}
#footer-widgets { padding: 3rem 0 2rem !important; }
#footer-widgets .footer-box .widget-title {
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--gb-stone) !important;
  margin-bottom: 1rem !important;
  font-weight: 500 !important;
}
#footer .footer-menu ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem 1.5rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#footer .footer-menu ul li a {
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--gb-stone) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}
#footer .footer-menu ul li a:hover { color: var(--gb-ink) !important; }
#footer-bottom {
  border-top: 1px solid var(--gb-border) !important;
  padding: 1.25rem 0 !important;
  font-size: 11px !important;
  color: var(--gb-stone) !important;
  display: flex !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

/* ── 6. PORTFOLIO GRID — LARGER PREVIEWS ───────── */
.ocean-portfolio-entry .portfolio-thumbnail img {
  aspect-ratio: 3/4 !important;
  object-fit: cover !important;
  width: 100% !important;
}
.ocean-portfolio-grid {
  gap: 2px !important;
}
.ocean-portfolio-entry .portfolio-thumbnail a {
  overflow: hidden !important;
  display: block !important;
}
.ocean-portfolio-entry .portfolio-thumbnail a:hover img {
  transform: scale(1.04) !important;
  transition: transform 0.5s ease !important;
}

/* ── 7. PORTFOLIO SINGLE — BEELD + TEKST NAAST ELKAAR ── */
.single-ocean_portfolio #primary {
  padding-top: 0 !important;
}
.single-ocean_portfolio #content {
  max-width: 100% !important;
  padding: 0 !important;
}
.single-ocean_portfolio article {
  display: grid !important;
  grid-template-columns: 50% 1fr !important;
  grid-template-rows: auto auto auto 1fr !important;
  gap: 0 3.5rem !important;
  align-items: start !important;
  padding: 3rem clamp(1.5rem,5vw,5rem) 4rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}
/* Thumbnail: left column, spans all rows — scrolls normally with page */
.single-ocean_portfolio article .thumbnail {
  grid-column: 1 !important;
  grid-row: 1 / 6 !important;
  position: relative !important;
  top: auto !important;
}
.single-ocean_portfolio article .thumbnail img {
  width: 100% !important;
  display: block !important;
  border: none !important;
}
/* Title: right column, row 1 */
.single-ocean_portfolio article .entry-header {
  grid-column: 2 !important;
  grid-row: 1 !important;
  padding: 0 !important;
}
.single-ocean_portfolio .single-portfolio-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(32px,4vw,54px) !important;
  font-weight: 300 !important;
  line-height: 1.1 !important;
  color: var(--gb-ink) !important;
  margin: 0 0 0.75rem !important;
}
/* Meta: right column, row 2 */
.single-ocean_portfolio article ul.meta {
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin-bottom: 1.5rem !important;
}
.single-ocean_portfolio ul.meta li,
.single-ocean_portfolio ul.meta li a {
  font-size: 12px !important;
  color: var(--gb-stone) !important;
  letter-spacing: 0.05em !important;
}
/* Content: right column, row 3 */
.single-ocean_portfolio article .entry-content {
  grid-column: 2 !important;
  grid-row: 3 !important;
  display: block !important;
  padding: 0 !important;
}
/* Hide the duplicate featured image inside entry-content */
.single-ocean_portfolio .entry-content .wp-block-image:first-child,
.single-ocean_portfolio .entry-content > figure:first-child {
  display: none !important;
}
/* Description text */
.single-ocean_portfolio .entry-content p {
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: 1.9 !important;
  color: var(--gb-stone) !important;
  margin-bottom: 0.75rem !important;
}
/* Materiaal / Afmetingen labels */
.single-ocean_portfolio .entry-content p strong {
  display: block !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--gb-ink) !important;
  margin-bottom: 0.2rem !important;
  margin-top: 1rem !important;
}
/* Tags row 4 */
.single-ocean_portfolio article .portfolio-tags {
  grid-column: 2 !important;
  grid-row: 4 !important;
}

/* ── 8. /OVER/ PAGINA ──────────────────────────── */
.gb-over {
  font-family: 'Jost', system-ui, sans-serif;
  color: var(--gb-ink);
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem,4vw,3rem) 5rem;
}
.gb-over__header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--gb-border);
  margin-bottom: 3rem;
}
.gb-over__tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gb-stone);
  display: block;
  margin-bottom: 1.25rem;
}
/* Title fits on ONE line — br tag suppressed */
.gb-over__title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(30px, 4.2vw, 52px) !important;
  font-weight: 300 !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
  color: var(--gb-ink) !important;
  margin: 0 0 1.25rem !important;
}
/* Kill the <br> inside the /over/ title so it stays on one line */
.gb-over__title br { display: none !important; }
@media (max-width: 600px) {
  .gb-over__title { white-space: normal !important; font-size: 28px !important; }
  .gb-over__title br { display: inline !important; }
}
.gb-over__deck {
  font-size: clamp(15px,1.8vw,19px);
  font-weight: 300;
  color: var(--gb-stone);
  line-height: 1.6;
  margin: 0;
}
.gb-over__lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(19px,2.4vw,26px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--gb-ink);
  margin-bottom: 3rem;
  border-left: 2px solid var(--gb-terra);
  padding-left: 1.5rem;
  font-style: italic;
}
.gb-over__body {
  margin-bottom: 3rem;
}
.gb-over__section {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 3rem 4rem;
  margin-bottom: 3rem;
  align-items: start;
}
/* All h2 inside gb-over use Cormorant consistently */
.gb-over h2,
.gb-over__h2,
.gb-over__text h2 {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(22px,2.8vw,34px) !important;
  font-weight: 300 !important;
  color: var(--gb-ink) !important;
  margin: 0 0 1.25rem !important;
  border: none !important;
  padding: 0 !important;
}
.gb-over__text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gb-stone);
  margin-bottom: 1.1rem;
}
.gb-over__text strong { color: var(--gb-ink); font-weight: 500; }
.gb-over__aside {}
.gb-over__timeline {
  border-left: 1px solid var(--gb-border);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.gb-over__tl-item { display: flex; flex-direction: column; gap: 0.2rem; }
.gb-over__tl-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--gb-terra);
  line-height: 1;
}
.gb-over__tl-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gb-stone);
  font-weight: 300;
}
.gb-over__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px,2.5vw,28px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--gb-ink);
  margin: 0 0 3rem;
  padding: 2rem 2.5rem;
  border: none;
  background: var(--gb-cream);
  border-left: 3px solid var(--gb-terra);
}
.gb-over__img-full {
  margin: 0 0 3rem;
}
.gb-over__img-full img {
  width: 100%;
  display: block;
  max-height: 55vh;
  object-fit: cover;
}
.gb-over__img-caption {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gb-stone);
  margin-top: 0.6rem;
}
/* Media grid — with clickable links */
.gb-over__media-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.gb-over__media-item {
  padding: 1.25rem;
  border: 1px solid var(--gb-border);
  background: var(--gb-cream);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s, background 0.2s;
}
.gb-over__media-item:hover {
  border-color: var(--gb-terra);
  background: #fff;
}
.gb-over__media-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gb-terra);
  display: block;
  margin-bottom: 0.6rem;
}
.gb-over__media-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gb-stone);
  margin: 0;
}
.gb-over__media-item:hover .gb-over__media-desc {
  color: var(--gb-ink);
}
.gb-over__cta-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gb-border);
}
.gb-over__cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: var(--gb-ink);
  padding: 12px 24px;
  transition: background 0.2s;
}
.gb-over__cta:hover { background: var(--gb-terra); color: #fff; }
.gb-over__cta-soft {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gb-stone);
  text-decoration: none;
}
.gb-over__cta-soft:hover { color: var(--gb-terra); }

/* ── 9. STEENSOORTEN ──────────────────────────── */
.gb-stones {
  font-family: 'Jost', system-ui, sans-serif;
  color: var(--gb-ink);
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem clamp(1rem,3vw,2.5rem) 5rem;
}
.gb-stones__index {
  background: var(--gb-cream);
  border: 1px solid var(--gb-border);
  border-radius: 2px;
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}
.gb-stones__index h3 {
  font-size: 9px !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gb-stone);
  font-weight: 500;
  margin: 0 0 1rem !important;
  font-family: 'Jost', sans-serif !important;
}
.gb-stones__index-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gb-stones__index-grid li a {
  font-size: 13px;
  font-weight: 300;
  color: var(--gb-ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.gb-stones__index-grid li a:hover { color: var(--gb-terra); }
.idx-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.dot-hard   { background: var(--gb-ink); }
.dot-medium { background: var(--gb-stone); }
.dot-soft   { background: var(--gb-warm); }

.gb-stones__cat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 2rem 0 1rem;
  border-top: 2px solid var(--gb-ink);
  margin-top: 1rem;
}
.gb-stones__cat-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(20px,2.8vw,30px) !important;
  font-weight: 300 !important;
  color: var(--gb-ink) !important;
  margin: 0 !important;
}
.gb-stones__cat-sub {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gb-stone);
}

.gb-stone {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 2.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--gb-border);
}
.gb-stone__meta {
  border-right: 1px solid var(--gb-border);
  padding-right: 2rem;
}
.gb-stone__name {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 26px !important;
  font-weight: 300 !important;
  color: var(--gb-ink) !important;
  margin: 0 0 0.25rem !important;
}
.gb-stone__alias {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gb-stone);
  display: block;
  margin-bottom: 0.75rem;
}
.gb-stone__badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 1rem;
  font-weight: 500;
}
.badge-igneous  { background: #3a2a1a; color: #e8d5b5; }
.badge-metamorphic { background: #1a2a3a; color: #b5cce8; }
.badge-sedimentary { background: #2a3a1a; color: #cce8b5; }

.gb-stone__hardness-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gb-stone);
  display: block;
  margin-bottom: 0.4rem;
}
.gb-stone__hardness-bar {
  display: flex;
  gap: 3px;
  margin-bottom: 0.75rem;
}
.gb-stone__hardness-bar span {
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--gb-border);
}
.gb-stone__hardness-bar span.filled {
  background: var(--gb-terra);
}
.gb-stone__sg {
  font-size: 12px;
  color: var(--gb-stone);
  margin: 0;
}

.gb-stone__content {
  padding-left: 0;
}
.gb-stone__desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--gb-stone);
  margin-bottom: 1rem;
}
.gb-stone__gerard {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--gb-ink);
  border-left: 2px solid var(--gb-terra);
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 1.25rem 0 0;
  line-height: 1.5;
}
.gb-stone__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  margin-bottom: 1rem;
  background: var(--gb-border);
}

/* ── 10. RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .gb-over__section { grid-template-columns: 1fr; }
  .gb-stone { grid-template-columns: 1fr; }
  .gb-stone__meta { border-right: none; border-bottom: 1px solid var(--gb-border); padding-right: 0; padding-bottom: 1rem; margin-bottom: 1rem; }
  .gb-over__media-grid { grid-template-columns: 1fr; }
  .single-ocean_portfolio article {
    grid-template-columns: 1fr !important;
  }
  .single-ocean_portfolio article .thumbnail {
    grid-row: 1 !important;
    position: relative !important;
    top: auto !important;
  }
  .single-ocean_portfolio article .entry-header { grid-column: 1 !important; grid-row: 2 !important; }
  .single-ocean_portfolio article ul.meta { grid-column: 1 !important; grid-row: 3 !important; }
  .single-ocean_portfolio article .entry-content { grid-column: 1 !important; grid-row: 4 !important; }
}
@media (max-width: 768px) {
  .gb-reel-h { height: 65vw; }
  .gb-hero { flex-direction: column; min-height: auto; }
  .gb-hero__left { width: 100%; padding: 3rem 1.5rem; }
  .gb-hero__reel { width: 100%; height: 60vw; }
  .gb-reel__item img { aspect-ratio: 16/9; }
  .gb-about { grid-template-columns: 1fr; }
  .gb-grid { grid-template-columns: repeat(2,1fr); }
}

/* ── 11. HOMEPAGE SIDEBAR + WELKOM TITEL VERBERGEN ── */
.page-id-5 #right-sidebar,
.page-id-5 #left-sidebar,
.page-id-5 .sidebar-container {
  display: none !important;
}
.page-id-5 #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
.page-id-5 #content-wrap {
  display: block !important;
}
/* Welkom paginatitel verbergen */
.page-id-5 .page-header,
.page-id-5 .page-header-inner,
.page-id-5 h1.page-header-title,
.page-id-5 .page-header-title {
  display: none !important;
}

/* Slider onder hero tekst (flex volgorde) */
.gb-home {
  display: flex !important;
  flex-direction: column !important;
}
.gb-hero  { order: -1 !important; }
.gb-reel-h { order: 0 !important; }

/* ── 12. PORTFOLIO LIGHTBOX ───────────────────── */
#gb-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,23,20,0.95);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#gb-lightbox.is-open {
  display: flex;
}
#gb-lightbox img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
#gb-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  font-family: 'Jost', sans-serif;
  transition: color 0.2s;
}
#gb-lightbox-close:hover { color: #fff; }
.single-ocean_portfolio .thumbnail img {
  cursor: zoom-in;
}

/* ══════════════════════════════════════════════════
   13. STEENSOORTEN PAGINA — v4 layout
   Alle .gb-stone* stijlen zijn embedded in het HTML-blok
   (steensoorten-content-v4.html) via <style> in wp:html.
   ══════════════════════════════════════════════════ */

/* ── SIDEBAR VERBERGEN (/over/ = page 7) ───────── */
.page-id-7 #right-sidebar,
.page-id-7 #left-sidebar,
.page-id-7 .sidebar-container {
  display: none !important;
}
.page-id-7 #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

/* ── SIDEBAR VERBERGEN (steensoorten-pagina's) ── */
.page-id-21 #right-sidebar,
.page-id-21 .sidebar-container,
.page-id-26 #right-sidebar,
.page-id-26 .sidebar-container,
.page-id-19 #right-sidebar,
.page-id-19 .sidebar-container {
  display: none !important;
}
.page-id-21 #primary,
.page-id-26 #primary,
.page-id-19 #primary {
  width: 100% !important;
  float: none !important;
}

/* ══════════════════════════════════════════════════
   14. PORTFOLIO SINGLE — ONDERKANT (gerelateerd, nav)
   ══════════════════════════════════════════════════ */

/* Verberg sociale deelknoppen */
.single-ocean_portfolio .entry-share { display: none !important; }

/* OceanWP theme-heading: verwijder blauw pijltje */
.theme-heading {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(13px, 1.4vw, 16px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--gb-stone) !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 1.5rem !important;
  background: none !important;
}
.theme-heading::before,
.theme-heading .text::before {
  display: none !important;
  content: '' !important;
}
.theme-heading .text { color: var(--gb-stone) !important; }

/* Gerelateerde portfolio items */
#related-posts {
  padding: 2.5rem 0 2rem !important;
  border-top: 1px solid var(--gb-border) !important;
  margin-top: 2rem !important;
}
.related-portfolio {
  padding: 0.5rem !important;
}
.related-portfolio .thumbnail img {
  aspect-ratio: 3/4 !important;
  object-fit: cover !important;
  width: 100% !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}
.related-portfolio a:hover .thumbnail img {
  transform: scale(1.04) !important;
}
.related-portfolio .portfolio-title {
  padding: 0.6rem 0 0 !important;
}
.related-portfolio .portfolio-title a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 17px !important;
  font-weight: 300 !important;
  color: var(--gb-ink) !important;
  text-decoration: none !important;
}
.related-portfolio .portfolio-title a:hover { color: var(--gb-terra) !important; }
/* Verberg datum/meta in gerelateerde items */
.related-portfolio .entry-meta,
.related-portfolio .meta,
.related-portfolio time,
.related-portfolio .updated { display: none !important; }

/* Post navigatie (vorig/volgend) */
.post-navigation,
.portfolio-single-footer {
  border-top: 1px solid var(--gb-border) !important;
  padding: 2rem 0 !important;
  display: flex !important;
  gap: 2rem !important;
}
.post-navigation a,
.nav-previous a,
.nav-next a {
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--gb-stone) !important;
  text-decoration: none !important;
}
.post-navigation .nav-title {
  display: block !important;
  margin-bottom: 0.25rem !important;
}
.post-navigation .post-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  color: var(--gb-ink) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* ══════════════════════════════════════════════════
   15. /OVER/ AFBEELDING-GALERIJ
   ══════════════════════════════════════════════════ */
.gb-over-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0 0 3rem;
}
.gb-over-gallery__item {
  overflow: hidden;
  position: relative;
}
.gb-over-gallery__item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gb-over-gallery__item:hover img { transform: scale(1.03); }
.gb-over-gallery__caption {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gb-stone);
  margin-top: 0.5rem;
}

/* /over/ layout: de tekstkolommen netter verdelen */
.gb-over__section {
  grid-template-columns: 1fr 1fr !important;
  gap: 2rem 3rem !important;
}
.gb-over__section > * {
  min-width: 0;
}

@media (max-width: 640px) {
  .gb-over-gallery { grid-template-columns: 1fr; }
}
