/* ==========================================================================
   Schemerlicht - designsysteem hobbyfotografie.be
   Lettertypes lokaal, absolute URL's zodat cache-plugins het pad niet breken.
   ========================================================================== */

@font-face {
font-display:swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('https://hobbyfotografie.be/wp-content/uploads/hf-design/fonts/playfair-variable.woff2') format('woff2-variations');
}

@font-face {
font-display:swap;
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('https://hobbyfotografie.be/wp-content/uploads/hf-design/fonts/jost-variable.woff2') format('woff2-variations');
}

:root {
  --hf-bg: #0B0B0C;
  --hf-surface: #131315;
  --hf-ink: #F2EFEA;
  --hf-muted: #A29C93;
  --hf-accent: #C39A5B;
  --hf-line: #2A2724;

  --hf-serif: 'Playfair Display', serif;
  --hf-sans: 'Jost', system-ui, sans-serif;

  --hf-max: 1320px;
  --hf-radius: 6px;
  --hf-radius-lg: 10px;
}

:root {
  --theme-palette-color-1: #C39A5B;
  --theme-palette-color-2: #A8823F;
  --theme-palette-color-3: #F2EFEA;
  --theme-palette-color-4: #A29C93;
  --theme-palette-color-5: #2A2724;
  --theme-palette-color-6: #131315;
  --theme-palette-color-7: #0B0B0C;
  --theme-palette-color-8: #0B0B0C;
  --theme-font-family: 'Jost', system-ui, sans-serif;
  --theme-text-color: #A29C93;
  --theme-headings-color: #F2EFEA;
  --theme-link-initial-color: #C39A5B;
  --theme-link-hover-color: #F2EFEA;
  --theme-border-color: #2A2724;
  --theme-normal-container-max-width: 1320px;
}

/* ---------------------------------------------------------------- basis -- */

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

body {
  background-color: var(--hf-bg);
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hf-serif);
  color: var(--hf-ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

p { line-height: 1.85; }

a { text-decoration: none; }

::selection { background: var(--hf-accent); color: var(--hf-bg); }

a:focus-visible, .elementor-button:focus-visible {
  outline: 2px solid var(--hf-accent);
  outline-offset: 3px;
}

/* --------------------------------------------------------------- header -- */

.hf-header {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(16px, 3vw, 48px) !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 90px !important;
  padding: 0 clamp(18px, 2.6vw, 42px) !important;
  background-color: #0A0A0B !important;
  border-bottom: 1px solid var(--hf-line);
  position: sticky;
  top: 0;
  z-index: 200;
}

.hf-brand {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 14px !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

.hf-brand-mark { width: auto !important; max-width: none !important; }
.hf-brand-mark img { width: 46px; height: 46px; object-fit: contain; display: block; }

.hf-brand-text { width: auto !important; max-width: none !important; }

.hf-brand-name,
.hf-brand-name .elementor-heading-title {
  margin: 0;
  font-family: var(--hf-serif);
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--hf-ink);
  line-height: 1.1;
}

.hf-brand-sub,
.hf-brand-sub .elementor-heading-title {
  margin: 5px 0 0;
  font-family: var(--hf-sans);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hf-accent);
  line-height: 1;
}

.hf-nav { width: auto !important; max-width: none !important; }

.hf-nav p {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(16px, 2.4vw, 44px);
  margin: 0;
  line-height: 1;
}

.hf-nav a {
  display: inline-block;
  padding-bottom: 7px;
  font-family: var(--hf-sans);
  font-weight: 400;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hf-ink);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.hf-nav a:hover { color: var(--hf-accent); }

.hf-nav a.hf-current {
  color: var(--hf-accent);
  border-bottom-color: var(--hf-accent);
}

.hf-social { width: auto !important; max-width: none !important; }

.hf-social .elementor-social-icon {
  background-color: transparent !important;
  color: var(--hf-muted) !important;
  width: auto;
  height: auto;
  padding: 6px;
  font-size: 1.02rem;
  transition: color 0.25s ease;
}

.hf-social .elementor-social-icon:hover { color: var(--hf-accent) !important; }
.hf-social .elementor-social-icon svg { fill: currentColor; width: 1.02rem; height: 1.02rem; }
.hf-social .elementor-grid { gap: 6px; }

/* ----------------------------------------------------------------- hero -- */

.hf-hero {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: min(calc(100vh - 90px), 780px) !important;
  padding: 0 !important;
  position: relative;
  background-color: var(--hf-bg) !important;
  overflow: hidden;
}

.hf-hero-copy {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: min(56%, 780px) !important;
  padding: clamp(48px, 5vw, 80px) clamp(24px, 4.4vw, 78px) !important;
  z-index: 2;
}

.hf-hero-media {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  flex: none !important;
  width: 66% !important;
  max-width: none !important;
  padding: 0 !important;
  z-index: 0;
  background-size: cover !important;
  background-position: center center !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(11, 11, 12, 0.12) 14%, rgba(11, 11, 12, 0.38) 27%, rgba(11, 11, 12, 0.72) 39%, var(--hf-bg) 52%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(11, 11, 12, 0.12) 14%, rgba(11, 11, 12, 0.38) 27%, rgba(11, 11, 12, 0.72) 39%, var(--hf-bg) 52%);
}

.hf-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, var(--hf-bg) 0%, rgba(11, 11, 12, 0.72) 7%, rgba(11, 11, 12, 0.28) 15%, transparent 26%),
    linear-gradient(to bottom, rgba(11, 11, 12, 0.45) 0%, transparent 12%);
}

/* -------------------------------------------------------------- eyebrow -- */

.hf-eyebrow,
.hf-eyebrow .elementor-heading-title {
  font-family: var(--hf-sans);
  font-weight: 400;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hf-accent);
}

.hf-eyebrow {
  width: fit-content !important;
  max-width: none !important;
  margin: 0 0 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hf-accent);
}

.hf-eyebrow--center {
  margin-inline: auto;
  padding-bottom: 0;
  border-bottom: 0;
}

.hf-eyebrow--center .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hf-eyebrow--center .elementor-heading-title::before,
.hf-eyebrow--center .elementor-heading-title::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--hf-accent);
}

/* ----------------------------------------------------------- herotekst -- */

.hf-hero-title { width: 100% !important; max-width: none !important; }

.hf-hero-title .elementor-heading-title {
  margin: 0 0 30px;
  max-width: 15ch;
  color: var(--hf-ink);
  font-family: var(--hf-serif);
  font-size: clamp(2.4rem, 3.9vw, 3.85rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.012em;
}

.hf-hero-text {
  width: 100% !important;
  max-width: 42ch !important;
  margin: 0 0 clamp(28px, 3vw, 40px);
  padding-top: 30px;
  border-top: 1px solid rgba(195, 154, 91, 0.55);
}

.hf-hero-text p {
  margin: 0;
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.9;
}

/* -------------------------------------------------------------- knoppen -- */

.hf-btn { width: auto !important; max-width: none !important; }

.hf-btn .elementor-button,
.hf-btn a.elementor-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 56px;
  padding: 0 34px;
  border: 1px solid rgba(255, 246, 232, 0.22);
  border-radius: var(--hf-radius);
  background-image: linear-gradient(180deg, #D8B074 0%, #C39A5B 52%, #B0873F 100%);
  color: #1A1408;
  font-family: var(--hf-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 240, 0.34),
    inset 0 -1px 0 rgba(60, 40, 12, 0.22),
    0 10px 26px rgba(11, 11, 12, 0.55);
  transition: filter 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hf-btn .elementor-button:hover,
.hf-btn .elementor-button:focus {
  filter: brightness(1.07);
  color: #1A1408;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 240, 0.42),
    inset 0 -1px 0 rgba(60, 40, 12, 0.22),
    0 14px 32px rgba(11, 11, 12, 0.62);
}

.hf-btn .elementor-button:active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 4px rgba(60, 40, 12, 0.3),
    0 6px 16px rgba(11, 11, 12, 0.5);
}

.hf-btn .elementor-button-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --------------------------------------------------------- scrollteken -- */

.hf-scroll {
  position: absolute !important;
  left: 50% !important;
  bottom: 34px !important;
  transform: translateX(-50%);
  width: auto !important;
  max-width: none !important;
  z-index: 3;
  text-align: center;
}

.hf-scroll::before {
  content: "";
  display: block;
  width: 21px;
  height: 33px;
  margin: 0 auto 7px;
  border: 1px solid rgba(242, 239, 234, 0.45);
  border-radius: 11px;
  transition: border-color 0.3s ease;
}

.hf-scroll::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: rgba(242, 239, 234, 0.75);
  transform: translateX(-50%);
  animation: hf-wheel 1.9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hf-wheel {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 13px); }
}

.hf-scroll:hover::before { border-color: var(--hf-accent); }
.hf-scroll:hover .elementor-icon { color: var(--hf-accent); }

.hf-scroll .elementor-icon {
  display: inline-block;
  color: rgba(242, 239, 234, 0.55);
  font-size: 13px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.hf-scroll .elementor-icon svg { width: 13px; height: 13px; fill: currentColor; }

/* ------------------------------------------------------------ portfolio -- */

.hf-strip {
  scroll-margin-top: 96px;
  width: 100% !important;
  max-width: none !important;
  background-color: var(--hf-bg) !important;
  padding: clamp(64px, 7vw, 96px) clamp(18px, 2.6vw, 42px) !important;
}

.hf-sec-head {
  width: 100% !important;
  max-width: none !important;
  text-align: center;
  padding: 0 0 clamp(32px, 4vw, 46px) !important;
}

.hf-sec-title .elementor-heading-title {
  margin: 18px 0 0;
  color: var(--hf-ink);
  font-family: var(--hf-serif);
  font-size: clamp(1.8rem, 2.9vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
}

.hf-gallery { width: 100% !important; max-width: none !important; }

.hf-gallery .gallery {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
  margin: 0 !important;
}

.hf-gallery .gallery-item {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  overflow: hidden;
  border-radius: var(--hf-radius-lg);
}

.hf-gallery .gallery-icon,
.hf-gallery .gallery-icon a {
  display: block;
  border-radius: var(--hf-radius-lg);
  overflow: hidden;
}

.hf-gallery .gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 1px solid var(--hf-line) !important;
  border-radius: var(--hf-radius-lg);
  filter: brightness(0.92);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.hf-gallery .gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}

/* --------------------------------------------------------------- citaat -- */

.hf-quote {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  padding: clamp(56px, 6vw, 84px) clamp(24px, 4vw, 64px) !important;
  text-align: center;
  background-size: cover !important;
  background-position: center 62% !important;
  border-top: 1px solid var(--hf-line);
  border-bottom: 1px solid var(--hf-line);
  overflow: hidden;
}

.hf-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.88) 0%, rgba(11, 11, 12, 0.93) 100%);
  z-index: 0;
}

.hf-quote > .e-con-inner,
.hf-quote > .elementor-element { position: relative; z-index: 1; }

.hf-quote-text { width: 100% !important; max-width: none !important; }

.hf-quote-text .elementor-heading-title {
  display: block;
  max-width: 34ch;
  margin-inline: auto;
  padding-bottom: 0.14em;
  color: var(--hf-ink);
  font-family: var(--hf-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  line-height: 1.55;
}

.hf-quote-text .elementor-heading-title::before {
  content: "\201C";
  color: var(--hf-accent);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.28em;
  margin-right: 0.12em;
}

.hf-quote-text .elementor-heading-title::after {
  content: "\201D";
  color: var(--hf-accent);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.28em;
  margin-left: 0.08em;
}

.hf-quote-src .elementor-heading-title {
  margin-top: 16px;
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------- footer -- */

.hf-footer {
  width: 100% !important;
  max-width: none !important;
  background-color: #0A0A0B !important;
  padding: clamp(44px, 5vw, 64px) clamp(18px, 2.6vw, 42px) clamp(28px, 3vw, 36px) !important;
  text-align: center;
}

.hf-footer .hf-brand { justify-content: center !important; margin-inline: auto; }
.hf-footer .hf-nav { margin-inline: auto; }
.hf-footer .hf-nav p { justify-content: center; flex-wrap: wrap; }
.hf-footer .hf-social { margin-inline: auto; }

.hf-copyright .elementor-heading-title {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--hf-line);
  display: block;
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------- animatie -- */

.hf-rise {
  opacity: 0;
  transform: translateY(20px);
  animation: hf-rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.hf-rise-1 { animation-delay: 0.06s; }
.hf-rise-2 { animation-delay: 0.18s; }
.hf-rise-3 { animation-delay: 0.3s; }
.hf-rise-4 { animation-delay: 0.42s; }

@keyframes hf-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------- responsive -- */

@media (max-width: 1100px) {
  .hf-nav p { gap: 18px; }
  .hf-nav a { font-size: 0.7rem; letter-spacing: 0.12em; }
  .hf-gallery .gallery { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 900px) {
  .hf-header {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 14px !important;
    padding: 16px 20px !important;
    min-height: 0 !important;
    position: static;
  }

  .hf-brand { justify-content: center !important; }
  .hf-nav { width: 100% !important; }
  .hf-nav p { justify-content: center; flex-wrap: wrap; gap: 14px 20px; }

  .hf-hero {
    flex-direction: column !important;
    min-height: 0 !important;
  }

  .hf-hero-copy {
    position: relative;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 40px 24px 60px !important;
  }

  .hf-hero-media {
    position: static !important;
    order: -1;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46vh;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hf-hero-media::after {
    background: linear-gradient(to top, var(--hf-bg) 0%, rgba(11, 11, 12, 0.7) 12%, rgba(11, 11, 12, 0.2) 26%, transparent 40%);
  }

  .hf-hero-title .elementor-heading-title {
    max-width: 14ch;
    font-size: clamp(2.1rem, 7.6vw, 2.8rem);
  }

  .hf-btn .elementor-button { width: 100%; justify-content: center; }

  .hf-scroll { display: none !important; }
}

@media (max-width: 640px) {
  .hf-gallery .gallery { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .hf-quote-text .elementor-heading-title { max-width: 24ch; }
}

/* -------------------------------------------------------- reduced motion -- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hf-rise { opacity: 1; transform: none; animation: none; }
  .hf-scroll::after { animation: none; opacity: 1; }
  .hf-btn .elementor-button:hover { transform: none; }
  .hf-gallery .gallery-item:hover img { transform: none; }
}

/* ==========================================================================
   Galerijpagina
   ========================================================================== */

.hf-pagehead {
  width: 100% !important;
  max-width: none !important;
  text-align: center;
  background-color: var(--hf-bg) !important;
  padding: clamp(64px, 7vw, 104px) clamp(24px, 4vw, 64px) clamp(36px, 4vw, 52px) !important;
}

.hf-page-title .elementor-heading-title {
  margin: 18px 0 0;
  color: var(--hf-ink);
  font-family: var(--hf-serif);
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  font-weight: 500;
  line-height: 1.12;
}

.hf-page-intro {
  width: 100% !important;
  max-width: 60ch !important;
  margin: 22px auto 0 !important;
}

.hf-page-intro p {
  margin: 0;
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.9;
}

/* ------------------------------------------------------------- masonry -- */

.hf-section {
  width: 100% !important;
  max-width: none !important;
  background-color: var(--hf-bg) !important;
  padding: clamp(40px, 5vw, 64px) clamp(18px, 2.6vw, 42px) clamp(64px, 7vw, 96px) !important;
}

.hf-masonry { width: 100% !important; max-width: none !important; }

.hf-masonry .gallery {
  display: block !important;
  column-count: 3;
  column-gap: 16px;
  margin: 0 !important;
}

.hf-masonry .gallery-item {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 16px !important;
  float: none !important;
  break-inside: avoid;
  border-radius: var(--hf-radius-lg);
  overflow: hidden;
}

.hf-masonry .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
  border: 1px solid var(--hf-line) !important;
  border-radius: var(--hf-radius-lg);
  filter: brightness(0.92);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.hf-masonry .gallery-item:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}

/* ------------------------------------------------------ Instagram-feed -- */

.hf-feed { width: 100% !important; max-width: none !important; }

.hf-feed #sb_instagram { padding-bottom: 0 !important; }

.hf-feed #sb_instagram .sbi_item { padding: 8px !important; }

.hf-feed #sb_instagram .sbi_photo_wrap,
.hf-feed #sb_instagram .sbi_photo {
  border-radius: var(--hf-radius-lg);
  overflow: hidden;
}

.hf-feed #sb_instagram .sbi_photo img,
.hf-feed #sb_instagram .sbi_photo {
  filter: brightness(0.92);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.hf-feed #sb_instagram .sbi_item:hover .sbi_photo img,
.hf-feed #sb_instagram .sbi_item:hover .sbi_photo {
  transform: scale(1.04);
  filter: brightness(1);
}

.hf-feed #sb_instagram .sbi_follow_btn a {
  border-radius: var(--hf-radius) !important;
  background-image: linear-gradient(180deg, #D8B074 0%, #C39A5B 52%, #B0873F 100%) !important;
  background-color: transparent !important;
  color: #1A1408 !important;
  font-family: var(--hf-sans) !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.34), 0 10px 26px rgba(11, 11, 12, 0.55) !important;
}

.hf-feed #sb_instagram #sbi_load .sbi_load_btn {
  border-radius: var(--hf-radius) !important;
  background-color: transparent !important;
  border: 1px solid var(--hf-accent) !important;
  color: var(--hf-accent) !important;
  font-family: var(--hf-sans) !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hf-feed #sb_instagram .sbi_caption_wrap,
.hf-feed #sb_instagram .sbi_meta { color: var(--hf-muted) !important; }

@media (max-width: 1000px) {
  .hf-masonry .gallery { column-count: 2; }
}

@media (max-width: 560px) {
  .hf-masonry .gallery { column-count: 1; }
}
/* ==========================================================================
   Over mij
   ========================================================================== */

.hf-about {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: clamp(28px, 4.5vw, 72px) !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
  padding: clamp(48px, 5vw, 76px) clamp(24px, 3vw, 48px) clamp(56px, 6vw, 88px) !important;
  background-color: var(--hf-bg) !important;
}

.hf-about-media {
  flex: 0 0 46% !important;
  width: 46% !important;
  max-width: 46% !important;
  padding: 0 !important;
}

.hf-about-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--hf-line);
  border-radius: var(--hf-radius-lg);
  filter: brightness(0.94);
}

.hf-about-copy {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

.hf-about-title .elementor-heading-title {
  margin: 0 0 26px;
  max-width: 18ch;
  color: var(--hf-ink);
  font-family: var(--hf-serif);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 500;
  line-height: 1.12;
}

.hf-about-text {
  width: 100% !important;
  max-width: 56ch !important;
  padding-top: 28px;
  border-top: 1px solid rgba(195, 154, 91, 0.55);
}

.hf-about-text p {
  margin: 0 0 1.1em;
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.9;
}

.hf-about-text p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- rasters -- */

.hf-grid-2,
.hf-grid-4 {
  display: grid !important;
  gap: clamp(20px, 2.6vw, 38px) !important;
  width: 100% !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
  padding: 0 clamp(24px, 3vw, 48px) !important;
}

.hf-grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
.hf-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }

/* --------------------------------------------------------------- kaarten -- */

.hf-card { width: 100% !important; max-width: none !important; }

.hf-card .elementor-image-box-wrapper { text-align: left; }

.hf-card .elementor-image-box-img {
  display: block;
  width: 100% !important;
  margin: 0 !important;
  border-radius: var(--hf-radius-lg);
  overflow: hidden;
}

.hf-card .elementor-image-box-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--hf-line);
  border-radius: var(--hf-radius-lg);
  filter: brightness(0.92);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.hf-card:hover .elementor-image-box-img img {
  transform: scale(1.04);
  filter: brightness(1);
}

.hf-card .elementor-image-box-title {
  margin: 20px 0 0 !important;
  color: var(--hf-ink);
  font-family: var(--hf-serif);
  font-weight: 500;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hf-card .elementor-image-box-description {
  margin: 9px 0 0;
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ------------------------------------------------------------------- cta -- */

.hf-cta {
  width: 100% !important;
  max-width: none !important;
  text-align: center;
  background-color: var(--hf-surface) !important;
  border-top: 1px solid var(--hf-line);
  border-bottom: 1px solid var(--hf-line);
  padding: clamp(56px, 6vw, 84px) clamp(24px, 4vw, 64px) !important;
}

.hf-cta-title .elementor-heading-title {
  margin: 16px 0 26px;
  color: var(--hf-ink);
  font-family: var(--hf-serif);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
}

.hf-cta .hf-btn { margin-inline: auto; }

@media (max-width: 1000px) {
  .hf-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 900px) {
  .hf-about {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hf-about-media,
  .hf-about-copy {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hf-about-media img { aspect-ratio: 3 / 2; }
}

@media (max-width: 620px) {
  .hf-grid-2,
  .hf-grid-4 { grid-template-columns: 1fr !important; }
}
/* --------------------------------------------------- productkaarten ----- */

.hf-card--product .elementor-image-box-img {
  padding: clamp(22px, 2.6vw, 40px);
  border: 1px solid var(--hf-line);
  border-radius: var(--hf-radius-lg);
  background:
    radial-gradient(115% 95% at 50% 42%,
      rgba(195, 154, 91, 0.09) 0%,
      rgba(25, 25, 28, 0.9) 42%,
      var(--hf-bg) 100%);
}

.hf-card--product .elementor-image-box-img img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border: 0 !important;
  border-radius: 0;
  filter: none;
  transition: transform 0.55s ease;
}

.hf-card--product:hover .elementor-image-box-img img {
  transform: scale(1.03);
  filter: none;
}

/* ------------------------------------------------------------ spatiering -- */

.hf-sec-head--gap { padding-top: clamp(60px, 6.5vw, 92px) !important; }

.hf-grid-4 { padding-bottom: clamp(76px, 8vw, 112px) !important; }
/* ==========================================================================
   Blog
   ========================================================================== */

.hf-blog { width: 100% !important; max-width: 1320px !important; margin-inline: auto !important;
  padding: clamp(8px, 1vw, 16px) clamp(24px, 3vw, 48px) clamp(76px, 8vw, 112px) !important; }

.hf-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 3vw, 44px);
}

.hf-post { display: flex; flex-direction: column; }

.hf-post-media {
  display: block;
  border-radius: var(--hf-radius-lg);
  overflow: hidden;
  border: 1px solid var(--hf-line);
}

.hf-post-media img,
.hf-post-noimg {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: brightness(0.92);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.hf-post-noimg { background: var(--hf-surface); }

.hf-post:hover .hf-post-media img { transform: scale(1.04); filter: brightness(1); }

.hf-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  color: var(--hf-accent);
  font-family: var(--hf-sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.hf-post-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--hf-accent); display: inline-block; }

.hf-post-title {
  margin: 12px 0 0;
  font-family: var(--hf-serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
}

.hf-post-title a { color: var(--hf-ink); transition: color 0.25s ease; }
.hf-post-title a:hover { color: var(--hf-accent); }

.hf-post-ex {
  margin: 10px 0 0;
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
}

.hf-post-link {
  margin-top: 16px;
  align-self: flex-start;
  color: var(--hf-accent);
  font-family: var(--hf-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.hf-post-link:hover { border-bottom-color: var(--hf-accent); }

.hf-posts-empty {
  text-align: center;
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
}

.hf-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(40px, 4vw, 60px);
}

.hf-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--hf-line);
  border-radius: var(--hf-radius);
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-size: 0.85rem;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.hf-pagination .page-numbers:hover { color: var(--hf-ink); border-color: var(--hf-accent); }

.hf-pagination .page-numbers.current {
  color: var(--hf-bg);
  background-image: linear-gradient(180deg, #D8B074 0%, #C39A5B 52%, #B0873F 100%);
  border-color: transparent;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.hf-contact {
  width: 100% !important;
  max-width: none !important;
  text-align: center;
  padding: clamp(8px, 1vw, 16px) clamp(24px, 4vw, 64px) clamp(80px, 8vw, 116px) !important;
}

.hf-contact-card {
  width: 100% !important;
  max-width: 660px !important;
  margin-inline: auto !important;
  padding: clamp(36px, 4.5vw, 64px) clamp(24px, 3.5vw, 52px) !important;
  background-color: var(--hf-surface) !important;
  border: 1px solid var(--hf-line);
  border-radius: var(--hf-radius-lg);
  text-align: center;
}

.hf-contact-icon .elementor-icon {
  color: var(--hf-accent);
  font-size: 34px;
}

.hf-contact-icon .elementor-icon svg { width: 34px; height: 34px; fill: currentColor; }

.hf-contact-handle .elementor-heading-title {
  margin: 20px 0 0;
  color: var(--hf-ink);
  font-family: var(--hf-serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
}

.hf-contact-text {
  width: 100% !important;
  max-width: 46ch !important;
  margin: 16px auto clamp(28px, 3vw, 38px) !important;
}

.hf-contact-text p {
  margin: 0;
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.9;
}

.hf-contact-note {
  width: 100% !important;
  max-width: 54ch !important;
  margin: clamp(30px, 3vw, 42px) auto 0 !important;
}

.hf-contact-note p {
  margin: 0;
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.8;
  opacity: 0.85;
}

@media (max-width: 1000px) {
  .hf-posts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .hf-posts { grid-template-columns: 1fr; }
}
/* ==========================================================================
   Themapagina's (losse artikels) - Blocksy in de Schemerlicht-stijl
   ========================================================================== */

.ct-header,
.ct-header [data-row] {
  background-color: #0A0A0B !important;
  border-bottom: 1px solid var(--hf-line);
}

.ct-header [data-row="middle"] > div { min-height: 90px; }

.ct-header [data-id="logo"] .site-logo-container img { height: 46px; width: auto; }

.ct-header [data-id="menu"] .menu > li > a,
.ct-header .menu > li > a {
  color: var(--hf-ink) !important;
  font-family: var(--hf-sans);
  font-weight: 400;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ct-header .menu > li > a:hover,
.ct-header .menu > li.current-menu-item > a { color: var(--hf-accent) !important; }

.ct-drawer-canvas, #offcanvas .ct-panel-inner { background-color: var(--hf-bg) !important; }

body.single-post,
body.archive,
body.blog { background-color: var(--hf-bg); }

.single-post .entry-header,
.single-post .hero-section {
  padding-block: clamp(48px, 6vw, 84px) clamp(24px, 3vw, 36px);
}

.single-post .entry-title,
.page-title {
  color: var(--hf-ink) !important;
  font-family: var(--hf-serif) !important;
  font-weight: 500 !important;
  font-size: clamp(2rem, 3.6vw, 3rem) !important;
  line-height: 1.14 !important;
  max-width: 22ch;
}

.single-post .entry-meta,
.entry-meta,
.entry-meta a {
  color: var(--hf-accent) !important;
  font-family: var(--hf-sans) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.single-post .ct-featured-image img,
.single-post .entry-content img,
.single-post .wp-post-image {
  border-radius: var(--hf-radius-lg);
  border: 1px solid var(--hf-line);
}

.single-post .entry-content {
  max-width: 68ch;
  margin-inline: auto;
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.9;
}

.single-post .entry-content h2,
.single-post .entry-content h3 {
  color: var(--hf-ink);
  font-family: var(--hf-serif);
  font-weight: 500;
  margin-top: 1.7em;
}

.single-post .entry-content a { color: var(--hf-accent); border-bottom: 1px solid rgba(195,154,91,0.4); }

.single-post .entry-content blockquote {
  border-left: 2px solid var(--hf-accent);
  padding-left: 22px;
  color: var(--hf-ink);
  font-family: var(--hf-serif);
  font-style: italic;
}

.ct-footer,
.site-footer { background-color: #0A0A0B !important; border-top: 1px solid var(--hf-line); }

.ct-footer a, .site-footer a { color: var(--hf-muted); }
.ct-footer a:hover, .site-footer a:hover { color: var(--hf-accent); }

.post-navigation a,
.ct-related-posts .entry-title a { color: var(--hf-ink); font-family: var(--hf-serif); }
.post-navigation a:hover { color: var(--hf-accent); }
.hf-fotocredit,
.single-post .entry-content p.hf-fotocredit {
  margin-top: 2.4em;
  padding-top: 1.1em;
  border-top: 1px solid var(--hf-line);
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-size: 0.82rem;
  line-height: 1.7;
  opacity: 0.85;
}
/* ==========================================================================
   Juridische pagina's
   ========================================================================== */

.hf-legal {
  width: 100% !important;
  max-width: 820px !important;
  margin-inline: auto !important;
  padding: clamp(8px, 1vw, 16px) clamp(24px, 4vw, 48px) clamp(76px, 8vw, 112px) !important;
}

.hf-legal-body { width: 100% !important; max-width: none !important; }

.hf-legal-body p,
.hf-legal-body li {
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.9;
}

.hf-legal-body p { margin: 0 0 1.15em; }

.hf-legal-body h2 {
  margin: 2.4em 0 0.7em;
  padding-top: 1.4em;
  border-top: 1px solid var(--hf-line);
  color: var(--hf-ink);
  font-family: var(--hf-serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.25;
}

.hf-legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.hf-legal-body ul { margin: 0 0 1.4em; padding-left: 1.1em; }
.hf-legal-body li { margin-bottom: 0.5em; }
.hf-legal-body li::marker { color: var(--hf-accent); }

.hf-legal-body a {
  color: var(--hf-accent);
  border-bottom: 1px solid rgba(195, 154, 91, 0.35);
  transition: border-color 0.25s ease;
}

.hf-legal-body a:hover { border-bottom-color: var(--hf-accent); }

.hf-legal-body table {
  width: 100%;
  margin: 0 0 1.6em;
  border-collapse: collapse;
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 0.92rem;
}

.hf-legal-body th {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hf-accent);
  color: var(--hf-accent);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hf-legal-body td {
  padding: 14px;
  border-bottom: 1px solid var(--hf-line);
  color: var(--hf-muted);
  line-height: 1.7;
  vertical-align: top;
}

.hf-legal-body tr:last-child td { border-bottom: 0; }

.hf-legal-date .elementor-heading-title {
  margin-top: 10px;
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* Juridische links in de footer */

.hf-legal-links { width: 100% !important; max-width: none !important; }

.hf-legal-links p {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 14px 0 0;
  line-height: 1;
}

.hf-legal-links a {
  color: var(--hf-muted);
  font-family: var(--hf-sans);
  font-weight: 300;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  transition: color 0.25s ease;
}

.hf-legal-links a:hover { color: var(--hf-accent); }

@media (max-width: 620px) {
  .hf-legal-body table, .hf-legal-body thead, .hf-legal-body tbody,
  .hf-legal-body tr, .hf-legal-body th, .hf-legal-body td { display: block; width: 100%; }
  .hf-legal-body thead { display: none; }
  .hf-legal-body tr { border-bottom: 1px solid var(--hf-line); padding: 8px 0; }
  .hf-legal-body td { border-bottom: 0; padding: 6px 0; }
  .hf-legal-body td::before { content: attr(data-label); display: block; color: var(--hf-accent);
    font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 4px; }
}
/* ---------------------------------------------- merknaam: uitlijning ----- */

.hf-brand {
  align-items: center !important;
  gap: 13px !important;
}

.hf-brand-mark img {
  display: block;
  width: 44px;
  height: 44px;
}

/* Elementor zet standaard 20px tussen widgets in een container;
   naam en ondertitel horen als een blok te lezen. */
.hf-brand-text {
  gap: 0 !important;
  row-gap: 0 !important;
  align-items: flex-start !important;
}

.hf-brand-name,
.hf-brand-name .elementor-heading-title {
  margin: 0 !important;
  line-height: 1.02;
}

.hf-brand-sub,
.hf-brand-sub .elementor-heading-title {
  margin: 7px 0 0 !important;
  line-height: 1;
}

/* Letterafstand voegt ruimte toe achter de laatste letter; die halen we
   weg zodat het regeltje optisch onder de naam uitlijnt. */
.hf-brand-sub .elementor-heading-title {
  display: block;
  margin-right: -0.28em !important;
}

/* In de footer staat het merk gecentreerd, dan centreren beide regels mee */
.hf-footer .hf-brand-text { align-items: center !important; }
.hf-footer .hf-brand-name .elementor-heading-title,
.hf-footer .hf-brand-sub .elementor-heading-title { text-align: center; }