/* ============================
   TEAM TEMPLATE (CLEAN v2)
   Scope: body.custom-team-template
   ============================ */

body.custom-team-template{
  --accent: #ef4444;
  --navy-1: #0b1020;
  --navy-2: #0a0f1e;
  --text: #1f2937;
  --muted: rgba(31,41,55,.72);
  --card: rgba(255,255,255,.92);
  --border: rgba(0,0,0,.08);

  background: #f7f7f6;
  overflow-x: hidden; /* nodig voor full-width hero */
}

/* Layout container */
body.custom-team-template .lc-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 20px 70px;
}

/* -------- Header (clean) -------- */
body.custom-team-template .lc-header{
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

body.custom-team-template .lc-header__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}

body.custom-team-template .lc-logo{
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

body.custom-team-template .lc-logo::before{
  content:"";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(239,68,68,.14);
  display: inline-block;
}

body.custom-team-template .lc-nav{ margin-left: auto; }

body.custom-team-template .lc-nav__menu{
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  align-items: center;
}

body.custom-team-template .lc-nav__menu a{
  text-decoration: none;
  color: rgba(31,41,55,.72);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 0;
}

body.custom-team-template .lc-nav__menu a:hover{
  color: rgba(31,41,55,.92);
}

body.custom-team-template .lc-cta{
  margin-left: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  text-decoration: none;
  color: rgba(31,41,55,.92);
  font-weight: 700;
  font-size: 14px;
}

/* -------- Hero (dark like homepage) -------- */
body.custom-team-template .team-hero{
  position: relative;

  /* full-width trick (Gutenberg container neutraliseren) */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 76px 0 56px;
  min-height: 420px;

  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(239,68,68,.14), transparent 55%),
    radial-gradient(900px 500px at 80% 20%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, var(--navy-1), var(--navy-2));
  color: rgba(255,255,255,.92);

  /* hero layout: stack */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* Hero content aligned to wrap width */
body.custom-team-template .team-hero > *{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Badge */
body.custom-team-template .team-hero p:first-child{
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
  align-self: flex-start;
}

/* Title */
body.custom-team-template .team-hero h1{
  color: #fff;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: .01em;
}

body.custom-team-template .team-hero p{
  color: rgba(255,255,255,.72);
  font-size: 18px;
  line-height: 1.6;
  max-width: 65ch;
  margin: 0;
}

body.custom-team-template .team-hero a{
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

body.custom-team-template .team-hero a:hover{
  text-decoration: underline;
}

@media (max-width: 640px){
  body.custom-team-template .team-hero{ min-height: 320px; }
}

/* -------- Content spacing after hero -------- */
body.custom-team-template .lc-main{
  background: #f7f7f6;
}

body.custom-team-template .lc-main .lc-wrap{
  padding-top: 44px;
}

/* Headings */
body.custom-team-template h2{
  margin-top: 60px;
  margin-bottom: 10px;
  letter-spacing: .01em;
}

/* -------- Team grid/cards -------- */
body.custom-team-template .team-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

@media (max-width: 980px){
  body.custom-team-template .team-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px){
  body.custom-team-template .team-grid{ grid-template-columns: 1fr; }
  body.custom-team-template .lc-nav{ display: none; }
}

body.custom-team-template .team-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.custom-team-template .team-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.14);
}

body.custom-team-template .team-card .head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

body.custom-team-template .avatar{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
  border: 1px solid rgba(0,0,0,.06);
  flex: 0 0 auto;
  overflow: hidden;
}

body.custom-team-template .avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.custom-team-template .team-card h3{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

body.custom-team-template .team-card .role{
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(31,41,55,.70);
}

body.custom-team-template .team-card .bio{
  margin: 10px 0 0;
  color: rgba(31,41,55,.82);
}

body.custom-team-template .team-kicker{
  display: inline-block;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(31,41,55,.62);
}

/* Footer */
body.custom-team-template .lc-footer{
  background: #f7f7f6;
  color: rgba(31,41,55,.62);
  padding-bottom: 40px;
}
/* ===== Hero spacing fixes ===== */

/* Meer safe space links/rechts binnen full-width hero */
body.custom-team-template .team-hero{
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

/* Beperk de content op grote schermen en zet hem mooi in het midden */
body.custom-team-template .team-hero > *{
  max-width: 1200px;            /* iets ruimer, voelt premium */
  padding-left: 0;              /* want padding zit nu op .team-hero zelf */
  padding-right: 0;
}

/* Badge mag nooit buiten beeld */
body.custom-team-template .team-hero p:first-child{
  align-self: flex-start;
  margin-left: 0;
}
/* ===== HERO: make it homepage-like (centered) ===== */

body.custom-team-template .team-hero{
  text-align: center;
  padding-top: 110px;
  padding-bottom: 90px;
  min-height: 520px;
}

/* Center the badge */
body.custom-team-template .team-hero p:first-child{
  align-self: center;
}

/* Center intro text */
body.custom-team-template .team-hero p{
  margin-left: auto;
  margin-right: auto;
}

/* Make the title feel like homepage */
body.custom-team-template .team-hero h1{
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}
/* Subtle noise + starry dots overlay */
body.custom-team-template .team-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.22;
  background-image:
    radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 34px 34px;
  mix-blend-mode: overlay;
}

body.custom-team-template .team-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.10;
  background:
    linear-gradient(180deg, rgba(0,0,0,.25), transparent 35%, rgba(0,0,0,.25));
}
body.custom-team-template .team-hero .hero-cta{
  display:inline-block;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #0b1020;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(239,68,68,.22);
}
body.custom-team-template .team-hero .hero-cta:hover{
  filter: brightness(1.03);
  transform: translateY(-1px);
}
/* ===== Team card: simplified (photo, name, role, linkedin) ===== */

body.custom-team-template .team-card .head{
  align-items: center;
  margin-bottom: 0;
}

body.custom-team-template .avatar{
  width: 64px;
  height: 64px;
}

body.custom-team-template .team-card h3{
  font-size: 18px;
  margin: 0;
}

body.custom-team-template .team-card .role{
  margin-top: 6px;
  margin-bottom: 10px;
}

body.custom-team-template .team-card .bio,
body.custom-team-template .team-kicker{
  display: none !important;
}

body.custom-team-template .team-linkedin{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255,255,255,.92);
  text-decoration: none;

  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.04);
}

body.custom-team-template .team-linkedin:hover{
  background: rgba(0,0,0,.07);
}
/* ===== Core team grid: 3 columns / 2 rows ===== */

body.custom-team-template .team-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

/* Tablet */
@media (max-width: 980px){
  body.custom-team-template .team-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px){
  body.custom-team-template .team-grid{
    grid-template-columns: 1fr;
  }
}
/* ===== Vertical team cards ===== */

body.custom-team-template .team-card--vertical{
  text-align: center;
  padding: 28px 22px 26px;
}

body.custom-team-template .team-card--vertical .avatar{
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 999px;
}

body.custom-team-template .team-card--vertical h3{
  margin: 0;
  font-size: 18px;
}

body.custom-team-template .team-card--vertical .role{
  margin-top: 6px;
  font-size: 14px;
  color: rgba(31,41,55,.70);
}

/* LinkedIn button */
body.custom-team-template .team-card--vertical .team-linkedin{
  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  color: rgba(31,41,55,.82);
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
}

body.custom-team-template .team-card--vertical .team-linkedin:hover{
  background: rgba(0,0,0,.06);
}
/* ===== FORCE 3-column grid (override theme/Gutenberg) ===== */
body.custom-team-template .team-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
}

/* Zorg dat Gutenberg geen extra margins/padding het kapot maakt */
body.custom-team-template .team-grid > *{
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
}

/* responsive */
@media (max-width: 980px){
  body.custom-team-template .team-grid{
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px){
  body.custom-team-template .team-grid{
    grid-template-columns: 1fr !important;
  }
}
body.custom-team-template h2{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
/* ===== FORCE support + cta styling (no body scope needed) ===== */

.support{
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 70px 20px 10px !important;
}

.support-intro{
  margin: 0 0 26px !important;
  color: rgba(31,41,55,.72) !important;
  max-width: 70ch !important;
}

.support-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

@media (max-width: 980px){
  .support-grid{ grid-template-columns: 1fr !important; }
}

.support-card{
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 18px !important;
  padding: 22px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.06) !important;
}

.support-card h3{
  margin: 0 0 10px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #ef4444 !important;
}

.support-card p{
  margin: 0 !important;
  color: rgba(31,41,55,.74) !important;
  line-height: 1.6 !important;
}

/* full-width red band */
.cta-band{
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: #ef4444 !important;
  padding: 72px 0 !important;
  margin-top: 60px !important;
}

.cta-band__inner{
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

.cta-band h2{
  margin: 0 0 12px !important;
  font-size: clamp(32px, 4vw, 44px) !important;
  line-height: 1.05 !important;
  color: rgba(11,16,32,.90) !important;
}

.cta-band p{
  margin: 0 0 26px !important;
  max-width: 65ch !important;
  color: rgba(255,255,255,.9) !important;
  line-height: 1.6 !important;
}

.cta-actions{
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

/* CTA buttons */
.cta-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-actions a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

/* Dark button – Email the team */
.cta-actions a:first-child{
  background: #0b1020;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

/* Light button – Back to homepage */
.cta-actions a:last-child{
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}

/* Hover */
.cta-actions a:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.3);
}
/* Force CTA buttons at bottom */
body.custom-team-template .cta-band .cta-actions a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 22px !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  background-clip: padding-box !important;
}

/* Primary button */
body.custom-team-template .cta-band .cta-actions a:first-child{
  background: #0b1020 !important;
  color: #fff !important;
  border: 0 !important;
}

/* Secondary button */
body.custom-team-template .cta-band .cta-actions a:last-child{
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.25) !important;
}

/* === CTA buttons (force) === */
body.custom-team-template .cta-actions{
  display: flex !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

body.custom-team-template .cta-actions a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 22px !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 15px !important;
}

body.custom-team-template .cta-actions a:first-child{
  background: #0b1020 !important;
  color: #fff !important;
  border: 0 !important;
}

body.custom-team-template .cta-actions a:last-child{
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.25) !important;
}
