/*
Theme Name: TDE Lighttech
Theme URI: https://www.tde-lighttech.nl
Description: Child theme van GeneratePress voor TDE Lighttech (migratie vanuit Drupal 7).
Author: Controllux
Template: generatepress
Version: 1.1.7
Text Domain: tde
*/

:root {
  --tde-primary: #4d5664;
  --tde-primary-dark: #424a56;
  --tde-accent: #ff7302;
  --tde-grey: #f5f5f5;
  --tde-grey-mid: #b9b8b8;
  --tde-border: #dddddd;
  --tde-black: #090909;
  --tde-font: "Raleway", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- basis ---------- */
body, button, input, select, textarea { font-family: var(--tde-font); font-weight: 400; color: #333; }
h1, h2, h3, h4, h5, h6, .main-title { font-family: var(--tde-font); font-weight: 600; color: var(--tde-primary); }
h1 { font-size: 2.1em; } h2 { font-size: 1.6em; } h3 { font-size: 1.25em; }
a { color: var(--tde-primary); } a:hover { color: var(--tde-accent); }
.site-content { background: #fff; }
blockquote { border-left: 4px solid var(--tde-accent); color: var(--tde-primary); font-style: italic; }

/* ---------- header ---------- */
.site-header { background: var(--tde-black); border-bottom: 1px solid #222; }
.site-logo img { max-height: 56px; width: auto; }
.inside-header { padding-left: 0; padding-right: 0; }
.site-header .inside-header { max-width: none; width: 100%; padding: 14px 20px; }
.main-navigation .menu > li > a { color: #fff; }
.main-navigation .menu > li > a:hover, .main-navigation .current-menu-item > a { color: var(--tde-accent) !important; }
.main-navigation ul ul a { color: #fff; }
.main-navigation a { font-weight: 500; text-transform: none; font-size: 13.5px; color: #ffffff; padding-left: 9px; padding-right: 9px; }
.main-navigation, .main-navigation ul ul { background: var(--tde-black); }
.main-navigation ul ul a { color: #e6e6e6; }
.main-navigation .menu-toggle, .main-navigation button.menu-toggle, .main-navigation .mobile-menu { color: #fff; }
.main-title { display: none; }



/* ---------- knoppen ---------- */
.button, button, input[type="button"], input[type="submit"], .wp-element-button, .wp-block-button__link {
  background: var(--tde-primary); border: 1px solid var(--tde-primary-dark); color: #fff; border-radius: 3px; font-family: var(--tde-font); font-weight: 500;
}
.button:hover, button:hover, input[type="submit"]:hover, .wp-element-button:hover, .wp-block-button__link:hover { background: var(--tde-accent); border-color: var(--tde-accent); color: #fff; }

/* ---------- kaarten (producten / projecten / nieuws) ---------- */
.tde-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 24px 0; }
.tde-card { background: #fff; border: 1px solid var(--tde-border); display: flex; flex-direction: column; }
.tde-card .tde-card-img { background: var(--tde-grey); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tde-card .tde-card-img img { width: 100%; height: 100%; object-fit: contain; }
.tde-card.tde-card-cover .tde-card-img img { object-fit: cover; }
.tde-card .tde-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.tde-card h3 { margin: 0 0 8px; font-size: 1.1em; } .tde-card h3 a, .tde-card .tde-card-img { text-decoration: none; }
.tde-card ul { margin: 0 0 12px 18px; padding: 0; font-size: 0.9em; color: #555; }
.tde-card .button { margin-top: auto; align-self: flex-start; }
.tde-card .tde-branche-icon { height: 28px; width: auto; opacity: .75; margin-bottom: 8px; }

/* ---------- filter ---------- */
.tde-filter { display: flex; flex-wrap: wrap; gap: 12px; background: var(--tde-grey); border: 1px solid var(--tde-border); padding: 16px; margin: 0 0 8px; align-items: flex-end; }
.tde-filter label { font-weight: 600; font-size: .85em; display: block; margin-bottom: 4px; color: var(--tde-primary); }
.tde-filter select { min-width: 220px; }

/* ---------- product detail ---------- */
.single-product .tde-product-gallery .wp-block-gallery { gap: 8px; }
.single-product .featured-image { display: none; }
.tde-specs table td:first-child { font-weight: 600; width: 40%; background: var(--tde-grey); }
.tde-related { border-top: 1px solid var(--tde-border); margin-top: 40px; padding-top: 24px; }

/* ---------- dealers ---------- */
.tde-dealers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.tde-dealer { border: 1px solid var(--tde-border); padding: 16px; }
.tde-dealer h3 { margin-top: 0; }

/* ---------- downloads ---------- */
.tde-download-group { margin-bottom: 32px; }
.tde-download-group ul { list-style: none; margin: 0; padding: 0; }
.tde-download-group li { padding: 6px 0; border-bottom: 1px solid var(--tde-border); }
.tde-download-group li a::before { content: "\2193  "; color: var(--tde-accent); font-weight: 700; }

/* ---------- footer ---------- */
.site-footer, .site-info { background: var(--tde-grey); color: #555; }
.tde-footer { background: linear-gradient(to right, #fbac02, #ff5c02); padding: 40px 0 30px; color: #fff; }
.tde-footer .inside { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.tde-footer h4 { color: #fff; font-size: 1em; margin: 0 0 12px; font-weight: 600; }
.tde-footer ul { list-style: none; margin: 0; padding: 0; }
.tde-footer li { margin: 0 0 6px; font-size: .92em; }
.tde-footer a { color: #fff; } .tde-footer a:hover { color: var(--tde-black); }
.tde-footer li::before { content: "\203A  "; font-weight: 700; }
.tde-social a { display: inline-block; margin-right: 12px; font-weight: 600; }
.site-info { font-size: .85em; background: #fff; color: #888; }


/* ---------- homepage (opbouw conform oude site) ---------- */
.home .site-content { display: block; padding: 0; }
.tde-band, .tde-hero { width: 100vw; margin-left: calc(50% - 50vw); }
.tde-band { padding: 60px 0; }
.tde-band > .grid-container { padding: 0 20px; }
.tde-band h2 { text-align: center; font-weight: 400; font-size: 1.9em; margin: 0 0 14px; }
.tde-narrow { max-width: 860px !important; text-align: center; }
.tde-band-white { background: #fff; }
.tde-band-grey { background: #e8e8e8; }
.tde-band-black { background: var(--tde-black); color: #fff; }
.tde-band-black h2, .tde-band-black h3, .tde-band-black p, .tde-band-black a { color: #fff; }
.tde-band-cyan { position: relative; overflow: hidden; background: linear-gradient(90deg, #00bcff 0%, #02ffdf 100%); color: #fff; }
.tde-band-cyan::after { content: ""; position: absolute; left: 50%; top: -50%; height: 200%; width: 1170px; margin-left: -585px; border-radius: 100%; background: rgba(0,0,0,.06); z-index: 0; }
.tde-band-cyan > * { position: relative; z-index: 1; }
.tde-band-cyan h2, .tde-band-cyan h4, .tde-band-cyan p, .tde-band-cyan a { color: #fff; }
.tde-more { text-align: center; margin-top: 28px; }
.tde-more a { color: var(--tde-primary); text-decoration: none; font-size: .95em; }

/* hero */
.tde-hero { position: relative; height: 560px; background: var(--tde-black); overflow: hidden; }
.tde-hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s; display: flex; align-items: center; justify-content: center; }
.tde-hero-slide.is-active { opacity: 1; }
.tde-hero-slide::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.tde-hero-inner { position: relative; z-index: 1; color: #fff; text-align: center; max-width: 760px; padding: 0 20px 110px; }
.tde-hero-inner h2 { color: #fff; font-size: 2em; font-weight: 400; margin: 0 0 10px; }
.tde-hero-inner p { margin: 0 0 12px; font-size: .95em; }
.tde-hero-link { color: #fff; text-decoration: none; }
.tde-hero-icons { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 2; display: flex; justify-content: center; gap: 36px; }
.tde-hero-icons a { color: #fff; text-decoration: none; font-size: .8em; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tde-circle-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--tde-black); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.tde-circle-icon img { width: 30px; height: 30px; }
.tde-hero-dots { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; z-index: 2; }
.tde-hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; background: transparent; margin: 0 4px; padding: 0; }
.tde-hero-dots button.is-active { background: var(--tde-accent); border-color: var(--tde-accent); }

/* intro band + social */
.tde-intro { padding: 50px 0; }
.tde-intro .grid-container { max-width: 760px; text-align: center; }
.tde-intro p { font-size: 1.05em; margin: 0; }
.tde-social-side { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.tde-social-side a { width: 30px; height: 30px; border: 2px solid #fff; border-radius: 6px; color: #fff; font-weight: 700; font-size: .75em; display: flex; align-items: center; justify-content: center; text-decoration: none; }

/* projecten overlay-kaarten */
.tde-overlay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.tde-overlay-card { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tde-black); text-decoration: none; }
.tde-overlay-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.tde-overlay-card:hover img { transform: scale(1.04); }
.tde-overlay-title { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(12,25,41,.65); color: #fff; display: flex; align-items: center; justify-content: space-between; text-align: left; transition: opacity .4s; }
.tde-overlay-title > span { padding: 14px 15px; font-size: .95em; }
.tde-overlay-title figure { margin: 0; width: 50px; height: 50px; background: #0c1929; display: flex; align-items: center; justify-content: center; }
.tde-overlay-title figure img { height: 26px; width: auto; opacity: 1; margin: 0; }
.tde-overlay-hover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .4s; font-size: 1.05em; }
.tde-overlay-card:hover .tde-overlay-title { opacity: 0; }
.tde-overlay-card:hover .tde-overlay-hover { opacity: 1; }
.tde-card .tde-branche-icon { display: none; }

/* productuitlichting (zwart) */
.tde-highlight-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tde-highlight-img img { width: 100%; height: auto; }
.tde-highlight h2 { text-align: left; font-size: 1.7em; }
.tde-link-orange { color: var(--tde-accent) !important; text-decoration: none; }

/* productgroep-cirkels */
.tde-circles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; margin-top: 24px; }
.tde-circle { text-decoration: none; }
.tde-circle h4 { font-weight: 400; font-size: 1.15em; margin: 0 0 12px; }
.tde-circle-img { display: block; width: 180px; height: 180px; margin: 0 auto; border-radius: 50%; overflow: hidden; background: var(--tde-black); border: 4px solid rgba(255,255,255,.15); }
.tde-circle-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* nieuws */
.tde-news-row { display: grid; grid-template-columns: 260px 1fr; gap: 24px; text-align: left; margin: 28px 0; }
.tde-news-img img { width: 100%; height: auto; display: block; }
.tde-news-body h3 { font-weight: 400; font-size: 1.3em; margin: 0 0 10px; }
.tde-news-body h3 a { text-decoration: none; }
.button-outline { background: #fff; color: var(--tde-primary); border: 1px solid #aaa; }
.button-outline:hover { background: var(--tde-primary); color: #fff; }

/* nieuwsbrief */
.tde-newsletter { padding: 24px 0; }
.tde-newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tde-newsletter h2 { margin: 0; font-size: 1.6em; text-align: left; }
.tde-newsletter form { display: flex; gap: 12px; }
.tde-newsletter input { background: #bfbfbf; border: 0; color: #fff; padding: 10px 14px; min-width: 240px; }
.tde-newsletter input::placeholder { color: #fff; }

/* contact (zwart) */
.tde-contact-inner { display: grid; grid-template-columns: 260px 1fr; gap: 40px; }
.tde-contact-address h3 { font-weight: 400; font-size: 1.5em; margin: 0 0 16px; }
.tde-contact-map iframe { width: 100%; max-width: 560px; height: 260px; border: 0; }

@media (max-width: 860px) {
  .tde-hero { height: 480px; } .tde-hero-icons { gap: 14px; } .tde-hero-icons a { font-size: .7em; } .tde-circle-icon { width: 44px; height: 44px; }
  .tde-highlight-inner, .tde-news-row, .tde-contact-inner { grid-template-columns: 1fr; }
  .tde-social-side { display: none; }
}

/* ---------- fixes 0.4.1 ---------- */
html, body { overflow-x: hidden; }
.main-navigation .main-nav ul li a, .main-navigation .menu-bar-item > a, .main-navigation .menu-toggle { color: #fff !important; }
.main-navigation .main-nav ul li a:hover, .main-navigation .main-nav ul li.current-menu-item > a, .main-navigation .main-nav ul li:hover > a { color: var(--tde-accent) !important; background: transparent !important; }
.main-navigation .main-nav ul ul li a { background: var(--tde-black); }
.tde-circle-img { border: 0; }

/* ---------- productuitlichting als wisselend blok ---------- */
.tde-highlight { position: relative; min-height: 520px; }
.tde-highlight-item { position: absolute; left: 0; right: 0; top: 0; margin: 0 auto; opacity: 0; transition: opacity 1s; pointer-events: none; }
.tde-highlight-item.is-active { opacity: 1; pointer-events: auto; }
.tde-hl-dots { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; }
.tde-hl-dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; background: transparent; margin: 0 4px; padding: 0; }
.tde-hl-dots button.is-active { background: var(--tde-accent); border-color: var(--tde-accent); }
.tde-footer a, .tde-more a, .tde-news-body h3 a { text-decoration: none; }
@media (max-width: 860px) { .tde-highlight { min-height: 760px; } }


/* ---------- oranje kopband binnenpagina's ---------- */
.tde-page-band { position: relative; overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw); background: linear-gradient(90deg, #ffd600 0%, #ff7102 100%); color: #fff; padding: 20px 0 50px; margin-bottom: 30px; }
.tde-page-band::after { content: ""; position: absolute; left: 50%; top: -50%; height: 200%; width: 1170px; margin-left: -585px; border-radius: 100%; background: rgba(0,0,0,.06); z-index: 0; }
.tde-page-band > .grid-container { position: relative; z-index: 1; padding: 0 20px; }
.tde-page-band h1 { color: #fff; font-weight: 500; font-size: 2.2em; margin: 6px 0 16px; }
.tde-page-band .tde-crumbs { margin: 0; font-size: .95em; }
.tde-page-band .tde-crumbs a { color: #fff; text-decoration: none; }
.tde-band-intro { max-width: 760px; }
.tde-band-intro p { margin: 0 0 12px; }
.site-content { padding-top: 0; }
.content-area { padding-top: 0; }

/* filter rechts, grijze selects, chevron-bullets */
.tde-filter-right { background: transparent; border: 0; padding: 10px 0 0; justify-content: flex-end; align-items: center; gap: 16px; }
.tde-filter-right > div { display: flex; align-items: center; gap: 10px; }
.tde-filter-right label { margin: 0; font-weight: 400; font-size: 1em; color: var(--tde-primary); }
.tde-filter-right select { background: #b9b8b8; color: #fff; border: 0; padding: 8px 32px 8px 12px; min-width: 240px; font-family: var(--tde-font); }
.tde-filter-reset { font-size: .9em; color: var(--tde-primary); text-decoration: none; }
.tde-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.tde-card ul { list-style: none; margin: 0 0 14px; padding: 0; }
.tde-card ul li { padding-left: 16px; position: relative; margin: 4px 0; }
.tde-card ul li::before { content: "\203A"; position: absolute; left: 2px; top: -1px; color: var(--tde-primary); font-weight: 700; }
.tde-card h3 { font-weight: 400; font-size: 1.25em; margin: 6px 0 12px; }

/* band bovenaan in flex-layout van GP */
.site-content { flex-wrap: wrap; }
.site-content > .tde-page-band { flex: 0 0 100vw; }
.site-content > .content-area { flex: 0 0 100%; width: 100%; }

/* ---------- 0.6.0: witte kop, projecten, nieuws, dealers, projectdetail ---------- */
.tde-page-head { padding: 24px 0 8px; }
.tde-page-head .tde-crumbs { color: #888; font-size: .9em; margin: 0 0 8px; }
.tde-page-head .tde-crumbs a { color: #888; text-decoration: none; }
.tde-page-head h1 { font-weight: 400; font-size: 2.2em; margin: 0 0 10px; }
.tde-overlay-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 16px; }
.tde-news-grid .tde-card-body h3 { font-size: 1.05em; }
.tde-news-date { color: #888; font-size: .85em; margin: 0; }
.tde-dealers-band { padding: 40px 0; margin-top: 20px; }
.tde-dealers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.tde-dealer { border: 0; padding: 0; }
.tde-dealer h3 { font-weight: 400; font-size: 1.15em; margin: 0 0 4px; }
.tde-dealer-addr { margin: 0 0 12px; font-size: .95em; }
.tde-dealer-lines { list-style: none; margin: 0; padding: 0; font-size: .9em; }
.tde-dealer-lines li { margin: 2px 0; }
.tde-dealer-lines .tde-ic { display: inline-block; width: 18px; color: var(--tde-primary); }
.tde-contact-site h2 { font-weight: 400; }
.tde-project-hero { width: 100vw; margin-left: calc(50% - 50vw); height: 560px; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.tde-project-title { display: inline-flex; align-items: center; gap: 16px; background: rgba(12,25,41,.7); color: #fff; padding: 18px 24px; margin-bottom: 0; }
.tde-project-title h1 { color: #fff; font-weight: 400; font-size: 1.6em; margin: 0; }
.tde-project-title figure { margin: 0; width: 40px; height: 40px; background: #0c1929; display: flex; align-items: center; justify-content: center; }
.tde-project-title figure img { height: 22px; width: auto; opacity: 1; margin: 0; }
.single-project .featured-image, .single-project .tde-project-content .wp-block-gallery:first-child { }
.single-project .tde-project-content { max-width: 860px; margin: 32px auto; }
.tde-project-content .wp-block-quote { border-left: 4px solid var(--tde-accent); margin: 24px 0; }
.single-project .site-content > .tde-project-hero { flex: 0 0 100vw; }
/* Over ons: blauwe lucht-band */
.tde-sky { color: #fff; }
.tde-sky h2, .tde-sky h3, .tde-sky p { color: #fff; }
@media (max-width: 860px) { .tde-project-hero { height: 360px; } }

/* cover-band Over ons: inhoud in container */
.tde-sky .wp-block-cover__inner-container { max-width: 1170px; margin: 0 auto; padding: 20px; }
.tde-sky { padding: 40px 0; }

/* ---------- 0.7.0: productdetail – galerij groot + thumbnails, kenmerken als blokjes ---------- */
.single-product .entry-header .entry-title { font-weight: 400; font-size: 2.2em; }
.tde-pg { border: 1px solid var(--tde-border); background: #fff; margin-bottom: 28px; }
.tde-pg-main { position: relative; display: flex; align-items: center; justify-content: center; height: 520px; background: #fff; overflow: hidden; }
.tde-pg-main img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.tde-pg-zoom { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; font-size: 1.4em; opacity: 0; transition: opacity .3s; pointer-events: none; }
.tde-pg-main:hover .tde-pg-zoom { opacity: 1; }
.tde-pg-strip { display: flex; align-items: center; background: var(--tde-grey); border-top: 1px solid var(--tde-border); padding: 10px 6px; }
.tde-pg-prev, .tde-pg-next { background: transparent; border: 0; color: var(--tde-primary); font-size: 2.2em; line-height: 1; padding: 0 10px; cursor: pointer; }
.tde-pg-prev:hover, .tde-pg-next:hover { background: transparent; color: var(--tde-accent); }
.tde-pg-thumbs { flex: 1; display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; padding: 2px; }
.tde-pg-thumb { flex: 0 0 150px; height: 110px; background: #fff; border: 2px solid transparent; padding: 0; cursor: pointer; }
.tde-pg-thumb:hover { background: #fff; }
.tde-pg-thumb.is-active { border-color: var(--tde-accent); }
.tde-pg-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.single-product .entry-content h2 { font-weight: 400; margin-top: 36px; }
.single-product .tde-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.single-product .tde-features li { border: 1px solid var(--tde-border); padding: 14px 16px; margin: 0; background: #fff; }
.single-product .tde-specs table td:first-child { width: 40%; }
.single-product .tde-downloads { list-style: none; margin: 0; padding: 0; }
.single-product .tde-downloads li { padding: 8px 0; border-bottom: 1px solid var(--tde-border); }
.single-product .tde-downloads li a::before { content: "\2193  "; color: var(--tde-accent); font-weight: 700; }
@media (max-width: 768px) { .tde-pg-main { height: 320px; } .tde-pg-thumb { flex-basis: 100px; height: 76px; } }



/* ---------- 0.8.0: projectdetail – slider met pijlen, tekst links / citaat rechts ---------- */
.tde-ps { position: relative; overflow: hidden; }
.tde-ps-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s; }
.tde-ps-slide.is-active { opacity: 1; }
.tde-ps-caption { position: relative; z-index: 2; align-self: flex-end; width: 100%; }
.tde-ps-prev, .tde-ps-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: transparent; border: 0; color: #fff; font-size: 5em; line-height: 1; padding: 0 18px; cursor: pointer; text-shadow: 0 1px 6px rgba(0,0,0,.6); opacity: .85; }
.tde-ps-prev { left: 0; } .tde-ps-next { right: 0; }
.tde-ps-prev:hover, .tde-ps-next:hover { background: transparent; color: #fff; opacity: 1; }
.tde-project-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; max-width: 1100px; margin: 36px auto; align-items: start; }
.tde-project-cols-single { grid-template-columns: 1fr; max-width: 860px; }
.tde-project-quote .wp-block-quote { border: 0; margin: 0; padding: 0; font-style: italic; font-size: 1.6em; line-height: 1.3; color: var(--tde-primary); }
.tde-project-quote .wp-block-quote p { margin: 0; }

.single-project .tde-project-content { max-width: none; }
@media (max-width: 860px) { .tde-project-cols { grid-template-columns: 1fr; } .tde-ps-prev, .tde-ps-next { font-size: 3em; } }



/* ---------- 0.8.3: pagina-inhoud uitlijnen met de kop; contactpagina met logo ---------- */
.page .inside-article, .single-post .inside-article { padding: 0 20px 40px; }
.page .tde-page-head, .page .tde-page-band { margin-bottom: 20px; }
.tde-contact-cols { gap: 48px; }
.tde-contact-cols h3, .tde-contact-cols h2 { font-weight: 400; font-size: 1.6em; margin: 0 0 8px; }
.tde-contact-cols p { margin: 0 0 20px; }
.tde-logo-col { display: flex; justify-content: center; align-items: flex-start; }
.tde-logo-box { margin: 0; background: var(--tde-black); padding: 60px; width: 100%; max-width: 420px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.tde-logo-box img { width: 70%; height: auto; }
@media (max-width: 860px) { .tde-logo-box { max-width: 260px; padding: 36px; } }

/* ---------- 0.8.4: hero-iconen op gelijke afstand ---------- */
.tde-hero-icons { gap: 0; }
.tde-hero-icons a { width: 150px; flex: 0 0 150px; line-height: 1.25; }
@media (max-width: 860px) { .tde-hero-icons a { width: 72px; flex-basis: 72px; font-size: .65em; } }

/* ---------- 0.8.5: contact – rond logo zonder zwart vlak; kop uitgelijnd met inhoud ---------- */
.tde-page-head .grid-container { padding: 0 20px; }
.tde-logo-round { margin: 0; width: 320px; height: 320px; border-radius: 50%; overflow: hidden; background: #fff; }
.tde-logo-round img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.38); transform-origin: center; }
@media (max-width: 860px) { .tde-logo-round { width: 220px; height: 220px; } }

/* ---------- 0.8.6: dealerpagina wit en uitgelijnd ---------- */
.tde-dealers-page { padding: 0 20px 40px; }
.tde-dealers-intro p { margin: 0 0 28px; }
.tde-dealers { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 32px; }
.tde-dealer { border: 0; padding: 0; background: transparent; }
.tde-dealer h3 { font-weight: 400; font-size: 1.2em; margin: 0 0 6px; color: var(--tde-primary); }
.tde-dealer-addr { margin: 0 0 12px; line-height: 1.6; }
.tde-dealer-lines li { line-height: 1.8; }
.tde-dealer-lines a { text-decoration: none; }

/* vacaturepagina: één kleur wit */
body.page-id-673 { background: #fff; }


/* ---------- 0.9.0: dealerlogo's ---------- */
.tde-dealer-logo { height: 90px; display: flex; align-items: center; margin-bottom: 14px; }
.tde-dealer-logo img { max-height: 80px; max-width: 220px; width: auto; height: auto; object-fit: contain; }

/* vlaggen bij dealers */
.tde-flag { vertical-align: -2px; margin-right: 6px; border-radius: 2px; }



/* ---------- 0.9.3: taalkeuze (vlaggetjes) rechtsboven in de header ---------- */
.site-header { position: relative; }
.tde-langbar { position: absolute; top: 8px; right: 20px; z-index: 5; display: flex; gap: 8px; }
.tde-lang { display: inline-flex; padding: 2px; border-radius: 3px; opacity: .55; transition: opacity .2s; line-height: 0; }
.tde-lang:hover, .tde-lang.is-active { opacity: 1; }
.tde-lang.is-active { outline: 1px solid rgba(255,255,255,.5); }
.tde-flag-lang { margin: 0; border-radius: 2px; }
.site-header .inside-header { padding-top: 26px; }
@media (max-width: 860px) { .tde-langbar { top: 6px; right: 12px; } }





/* ---------- 1.0.4: hero-iconen als slider-bediening (zoals oude site) ---------- */
.tde-hero-icons { bottom: 36px; }
.tde-hero-icon { background: transparent; border: 0; padding: 0; color: #fff; font-size: .8em; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 150px; flex: 0 0 150px; line-height: 1.25; cursor: pointer; font-family: var(--tde-font); opacity: .85; transition: opacity .2s; }
.tde-hero-icon:hover, .tde-hero-icon:focus { background: transparent; color: #fff; opacity: 1; }
.tde-hero-icon.is-active { opacity: 1; }
.tde-hero-icon.is-active .tde-circle-icon { border-color: var(--tde-accent); box-shadow: 0 0 0 2px rgba(255,115,2,.35); }
.tde-hero-dots { display: none; }
@media (max-width: 860px) { .tde-hero-icon { width: 72px; flex-basis: 72px; font-size: .65em; } }


/* contact: volledig logo */
.tde-logo-square { margin: 0; width: 340px; max-width: 100%; }
.tde-logo-square img { width: 100%; height: auto; display: block; }


/* ---------- 1.0.7: downloads als tabel per groep (zoals oude site) ---------- */
.tde-download-group { margin-bottom: 40px; }
.tde-download-group h2 { font-weight: 400; font-size: 1.6em; margin: 0 0 12px; }
.tde-download-group ul { list-style: none; margin: 0; padding: 0; }
.tde-download-featured li { padding: 8px 0; border-bottom: 1px solid var(--tde-border); }
.tde-dl-table { width: 100%; border-collapse: collapse; margin: 0; }
.tde-dl-table th, .tde-dl-table td { border: 0; padding: 10px 14px; vertical-align: top; text-align: left; font-weight: 400; }
.tde-dl-table th { width: 34%; }
.tde-dl-table th a { text-decoration: none; }
.tde-dl-table tr:nth-child(even) { background: #e9ebee; }
.tde-dl-files { display: flex; flex-wrap: wrap; gap: 8px 48px; }
.tde-dl-files li { min-width: 260px; }
.tde-dl-files a, .tde-download-featured a { text-decoration: none; }
.tde-dl-ico { color: var(--tde-accent); font-weight: 700; margin-right: 4px; }
@media (max-width: 768px) { .tde-dl-table th, .tde-dl-table td { display: block; width: 100%; } .tde-dl-table th { padding-bottom: 0; } }

.tde-dl-files li, .tde-dl-table td li { border: 0 !important; padding: 2px 0 !important; }
.tde-download-featured li { border-bottom: 1px solid var(--tde-border); }


/* catalogus/brochures in dezelfde tabelopmaak */
.tde-download-featured ul { margin: 0; }
.tde-download-featured li { padding: 10px 14px !important; border: 0 !important; }
.tde-download-featured li:nth-child(even) { background: #e9ebee; }







/* ---------- 1.1.5: lightbox voor productfoto's ---------- */
.tde-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.tde-lb.is-open { display: flex; }
.tde-lb img { max-width: 92vw; max-height: 90vh; width: auto; height: auto; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.6); cursor: zoom-out; }
.tde-lb button { position: absolute; background: transparent; border: 0; color: #fff; cursor: pointer; line-height: 1; padding: 10px 16px; opacity: .85; }
.tde-lb button:hover, .tde-lb button:focus { background: transparent; color: #fff; opacity: 1; }
.tde-lb-prev, .tde-lb-next { top: 50%; transform: translateY(-50%); font-size: 5em; }
.tde-lb-prev { left: 8px; } .tde-lb-next { right: 8px; }
.tde-lb-close { top: 8px; right: 14px; font-size: 3em; }
.tde-lb.tde-lb-single .tde-lb-prev, .tde-lb.tde-lb-single .tde-lb-next { display: none; }
body.tde-lb-open { overflow: hidden; }
.tde-pg-main { cursor: zoom-in; }
@media (max-width: 768px) { .tde-lb-prev, .tde-lb-next { font-size: 3em; } }


