/* =====================================================================
   internethobby.nl — branded theme
   Replaces the original WordPress/Elementor CSS that Wayback did not
   archive. Targets the archived markup classes so pages render cleanly.
   ===================================================================== */

:root {
  --ih-primary: #1d4ed8;
  --ih-primary-dark: #1e3a8a;
  --ih-accent: #f59e0b;
  --ih-accent-dark: #d97706;
  --ih-ink: #0f2744;
  --ih-text: #1f2937;
  --ih-muted: #5b6677;
  --ih-line: #e5e9f0;
  --ih-bg-soft: #f4f7fb;
  --ih-radius: 12px;
  --ih-shadow: 0 10px 30px rgba(15, 39, 68, 0.08);
  --ih-shadow-sm: 0 2px 10px rgba(15, 39, 68, 0.06);
  --ih-container: 1180px;
  --ih-font: "Inter", "Open Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ih-font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ih-text);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ih-primary); text-decoration: none; }
a:hover { color: var(--ih-primary-dark); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ih-font);
  color: var(--ih-ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin: 0.2em 0; }

/* ---------- Material Symbols ---------- */
.material-symbols-rounded,
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
  line-height: 1;
}

/* ---------- Layout primitives ---------- */
.ih-container { max-width: var(--ih-container); margin: 0 auto; padding: 0 20px; }

/* ---------- Header / navigation ---------- */
header,
.site-header,
#masthead {
  background: #fff;
  border-bottom: 1px solid var(--ih-line);
  box-shadow: var(--ih-shadow-sm);
  position: relative;
  z-index: 100;
}
.site-branding-logo,
.site-branding { display: flex; align-items: center; }
.custom-logo-link { display: inline-flex; align-items: center; padding: 10px 0; }
img.custom-logo {
  height: 44px !important;
  width: auto !important;
  max-width: 240px;
}
.site-branding-text { font-weight: 800; color: var(--ih-ink); font-size: 1.15rem; }

.navbar,
.navbar-default {
  background: transparent;
  border: 0;
  margin: 0;
  min-height: auto;
}
.navbar .container,
.main-menu .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

.nav.navbar-nav,
ul.nav,
.menu-container ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-item { margin: 0; position: relative; }
.menu-item > a,
.nav.navbar-nav > li > a {
  display: inline-block;
  padding: 0.6rem 0.85rem;
  color: var(--ih-ink);
  font-weight: 600;
  font-size: 0.97rem;
  border-radius: 8px;
  text-decoration: none;
}
.menu-item > a:hover,
.menu-item.active > a,
.current-menu-item > a {
  background: var(--ih-bg-soft);
  color: var(--ih-primary);
  text-decoration: none;
}

/* Dropdowns: reveal on hover (original JS/CSS is gone) */
.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--ih-line);
  border-radius: 10px;
  box-shadow: var(--ih-shadow);
  display: none;
  z-index: 200;
}
.menu-item-has-children:hover > .dropdown-menu,
.dropdown:hover > .dropdown-menu { display: block; }
.dropdown-menu .menu-item > a { display: block; padding: 0.5rem 0.7rem; font-weight: 500; }

.menu-button,
.toggle.menu-panel { display: none; }

/* ---------- Main content ---------- */
#site-content,
.page-builders,
main { display: block; }
.page-builders-content-area { width: 100%; }

/* ---------- Elementor container/grid reconstruction ---------- */
.elementor,
.elementor * { min-width: 0; }

.e-con,
.elementor-section,
.elementor-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
}
.e-con.e-flex { flex-direction: row; }
.e-con-boxed,
.e-con.e-con-boxed { max-width: var(--ih-container); margin-inline: auto; width: 100%; }
.e-con-full,
.e-con.e-con-full { width: 100%; }
.e-con.e-child,
.e-con.e-parent { padding: 28px 20px; }
.e-con > .e-con,
.elementor-column { flex: 1 1 280px; }

.elementor-widget,
.elementor-element.elementor-widget { width: 100%; }
.elementor-widget-container { width: 100%; }

.elementor-widget-popularis-extra-heading h1,
.elementor-widget-popularis-extra-heading h2,
.elementor-widget-heading-title { margin-top: 0; }

/* Wave/shape dividers reference missing SVGs — neutralise */
.elementor-shape,
.elementor-shape-bottom,
.elementor-shape-top { display: none !important; }

/* Broken slideshow hero banners (background images 404 on Wayback).
   Content stays in the DOM for crawlers; we render our own .ih-hero instead. */
.elementor-element[data-settings*="slideshow"] { display: none !important; }

/* Strip leftover full-viewport min-heights that create huge empty blocks */
.elementor-section,
.e-con { min-height: 0 !important; }

/* Tidy the legacy USP/icon strip whose icon font is gone */
.elementor-widget-icon-box .elementor-icon,
.elementor-icon-box-icon { color: var(--ih-primary); }

/* ---------- Buttons ---------- */
.elementor-button,
.wp-block-button__link,
a.button,
button,
input[type="submit"] {
  display: inline-block;
  background: var(--ih-primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  line-height: 1.4;
}
.elementor-button:hover,
.wp-block-button__link:hover,
a.button:hover,
button:hover { background: var(--ih-primary-dark); transform: translateY(-1px); }

/* ---------- WooCommerce product grid ---------- */
.woocommerce ul.products,
ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}
.woocommerce ul.products li.product,
ul.products li.product {
  background: #fff;
  border: 1px solid var(--ih-line);
  border-radius: var(--ih-radius);
  padding: 18px;
  text-align: center;
  box-shadow: var(--ih-shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.woocommerce ul.products li.product:hover,
ul.products li.product:hover { box-shadow: var(--ih-shadow); transform: translateY(-3px); }
.woocommerce ul.products li.product img { border-radius: 8px; margin: 0 auto 0.8rem; }
.woocommerce ul.products li.product .price,
.price { color: var(--ih-primary-dark); font-weight: 800; font-size: 1.1rem; display: block; margin: 0.4rem 0; }
.woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 { font-size: 1.05rem; margin: 0.4rem 0; }

/* ---------- Tables / forms ---------- */
table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; }
th, td { border: 1px solid var(--ih-line); padding: 0.65rem 0.8rem; text-align: left; }
th { background: var(--ih-bg-soft); }
input, textarea, select {
  font: inherit;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--ih-line);
  border-radius: 8px;
  width: 100%;
  max-width: 100%;
}

/* ---------- Branded hero (homepage + page tops) ---------- */
.ih-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15,39,68,0.86), rgba(29,78,216,0.78)),
              url("images/hero.jpg") center/cover no-repeat;
  color: #fff;
  padding: 72px 20px;
  text-align: center;
}
.ih-hero .ih-hero-inner { max-width: 820px; margin: 0 auto; }
.ih-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.ih-hero p { font-size: 1.2rem; color: #e8eefb; margin-bottom: 1.6rem; }
.ih-hero-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ih-accent); color: #111 !important;
  font-weight: 800; padding: 0.9rem 1.8rem; border-radius: 999px;
  text-decoration: none !important;
}
.ih-hero-cta:hover { background: var(--ih-accent-dark); }

/* ---------- Feature / USP cards ---------- */
.ih-usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: 36px auto;
  max-width: var(--ih-container);
  padding: 0 20px;
}
.ih-usp-card {
  background: #fff;
  border: 1px solid var(--ih-line);
  border-radius: var(--ih-radius);
  padding: 26px 22px;
  box-shadow: var(--ih-shadow-sm);
}
.ih-usp-card .material-symbols-rounded {
  font-size: 38px;
  color: var(--ih-primary);
  background: var(--ih-bg-soft);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
  display: inline-block;
}
.ih-usp-card h3 { margin: 0.3rem 0 0.4rem; font-size: 1.15rem; }
.ih-usp-card p { margin: 0; color: var(--ih-muted); font-size: 0.97rem; }

/* ---------- LYNX Media partner band (strong backlink) ---------- */
.ih-agency-band {
  background: var(--ih-ink);
  color: #e8eefb;
  padding: 40px 20px;
  margin-top: 48px;
}
.ih-agency-band .ih-agency-inner {
  max-width: var(--ih-container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.ih-agency-band h2 { color: #fff; font-size: 1.4rem; margin: 0 0 0.4rem; }
.ih-agency-band p { margin: 0; max-width: 640px; color: #c7d2e6; }
.ih-agency-band a.ih-agency-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ih-accent); color: #111 !important;
  font-weight: 800; padding: 0.85rem 1.7rem; border-radius: 999px;
  text-decoration: none !important; white-space: nowrap;
}
.ih-agency-band a.ih-agency-cta:hover { background: var(--ih-accent-dark); }
.ih-agency-band a { color: #fff; }
.ih-agency-band .ih-agency-text strong a { color: var(--ih-accent); }

/* ---------- Section helpers ---------- */
.ih-section { max-width: var(--ih-container); margin: 0 auto; padding: 40px 20px; }
.ih-section--soft { background: var(--ih-bg-soft); max-width: none; }
.ih-section--soft > * { max-width: var(--ih-container); margin-inline: auto; }

/* ---------- Footer ---------- */
footer,
.site-footer { background: #0b1f38; color: #c7d2e6; margin-top: 0; }
.site-footer a, footer a { color: #93c5fd; }

/* keep the existing agency footer block tidy */
.agency-footer-block { border-top: 3px solid var(--ih-accent); }

/* ---------- Hide leftover dynamic/cart UI ---------- */
.site-header-cart,
.header-cart,
.cart-contents,
.menu-item-cart,
form.cart .quantity,
.woocommerce-message,
.woocommerce-info.cart { display: none !important; }

/* ---------- Generated content pages ---------- */
.ih-simple-header { background: #fff; border-bottom: 1px solid var(--ih-line); box-shadow: var(--ih-shadow-sm); }
.ih-simple-header-inner {
  max-width: var(--ih-container); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.ih-simple-logo img { height: 44px; width: auto; }
.ih-simple-nav { display: flex; flex-wrap: wrap; gap: 0.2rem 0.4rem; }
.ih-simple-nav a { padding: 0.5rem 0.8rem; color: var(--ih-ink); font-weight: 600; border-radius: 8px; font-size: 0.95rem; }
.ih-simple-nav a:hover { background: var(--ih-bg-soft); color: var(--ih-primary); text-decoration: none; }

.ih-hero--page { padding: 52px 20px; text-align: left; }
.ih-hero--page .ih-hero-inner { margin: 0 auto; max-width: var(--ih-container); }
.ih-breadcrumb { font-size: 0.9rem; color: #cdd9ee; margin-bottom: 0.6rem; }
.ih-breadcrumb a { color: #fff; text-decoration: underline; }
.ih-breadcrumb span { color: #e8eefb; }

.ih-price-tag {
  display: inline-block; background: var(--ih-bg-soft); color: var(--ih-primary-dark);
  font-weight: 800; font-size: 1.4rem; padding: 0.5rem 1.1rem; border-radius: 10px; margin: 0 0 1rem;
}
.ih-link-list {
  list-style: none; padding: 0; margin: 0.5rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px;
}
.ih-link-list li { margin: 0; }
.ih-link-list a {
  display: block; background: #fff; border: 1px solid var(--ih-line); border-radius: 10px;
  padding: 0.8rem 1rem; font-weight: 600; box-shadow: var(--ih-shadow-sm);
}
.ih-link-list a:hover { border-color: var(--ih-primary); text-decoration: none; transform: translateY(-2px); }
.ih-simple-footer { background: #0b1f38; color: #c7d2e6; text-align: center; padding: 1.4rem 1rem; font-size: 0.9rem; }
.ih-simple-footer a { color: #93c5fd; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav.navbar-nav,
  ul.nav,
  .menu-container ul { gap: 0; }
  .menu-item > a { padding: 0.5rem 0.6rem; font-size: 0.92rem; }
  .dropdown-menu { position: static; box-shadow: none; border: 0; padding-left: 1rem; }
  .ih-agency-band .ih-agency-inner { flex-direction: column; text-align: center; }
  .ih-hero { padding: 54px 18px; }
}
