/* ECGinterpretatie.nl — front page 2026. Scoped under .ex so nothing leaks into Boss / LearnDash pages. */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');

.ex {
  --navy: #012243;          /* site header */
  --navy-d: #001631;
  --blue: #22428f;          /* site accent blue */
  --coral: #ea6645;         /* site accent coral */
  --coral-d: #d4512f;
  --green: #1f9d6b;
  --ink: #10233f;
  --muted: #5a6b80;
  --line: #dde4ee;
  --soft: #f3f6fa;
  --paper: #fdeeee;         /* ECG paper */
  --r: 14px;
  --shadow: 0 1px 2px rgba(1,34,67,.06), 0 8px 24px rgba(1,34,67,.08);
  --shadow-h: 0 2px 4px rgba(1,34,67,.08), 0 16px 40px rgba(1,34,67,.16);
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}
.ex *, .ex *::before, .ex *::after { box-sizing: border-box; }
.ex h1, .ex h2, .ex h3, .ex p, .ex ul, .ex ol { margin: 0; padding: 0; }
.ex h1, .ex h2, .ex h3 { font-family: inherit; color: inherit; letter-spacing: -.01em; line-height: 1.15; text-transform: none; font-weight: 900; }
.ex ul, .ex ol { list-style: none; }
.ex a { color: inherit; text-decoration: none; }
.ex img { display: block; max-width: 100%; height: auto; border: 0; }
.ex section, .ex [id] { scroll-margin-top: 90px; }

.ex-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.ex-eyebrow { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.ex-eyebrow--blue { color: var(--blue); margin-bottom: 10px; }

/* Buttons */
.ex-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1; border: 2px solid transparent; transition: transform .15s, background .15s, color .15s, border-color .15s, box-shadow .15s; cursor: pointer; white-space: nowrap; }
.ex-btn svg { width: 18px; height: 18px; flex: none; }
.ex-btn:hover { transform: translateY(-1px); }
.ex-btn--coral { background: var(--coral); color: #fff !important; }
.ex-btn--coral:hover { background: var(--coral-d); box-shadow: 0 8px 22px rgba(234,102,69,.35); }
.ex-btn--ghost { border-color: rgba(255,255,255,.5); color: #fff !important; }
.ex-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.ex-btn--blue { background: var(--blue); color: #fff !important; }
.ex-btn--blue:hover { background: var(--navy); box-shadow: 0 8px 22px rgba(34,66,143,.3); }
.ex-btn--line { border-color: var(--blue); color: var(--blue) !important; background: #fff; }
.ex-btn--line:hover { background: var(--blue); color: #fff !important; }

/* Hero */
.ex-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 55%, #0a3566 100%); color: #fff; padding: 72px 0 84px; }
.ex-hero__grid { position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px; }
.ex-hero__trace { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 120px; opacity: .55; }
.ex-hero__trace path { fill: none; stroke: var(--coral); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: ex-draw 4.5s ease-out .2s forwards; vector-effect: non-scaling-stroke; }
@keyframes ex-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ex-hero__trace path { animation: none; stroke-dashoffset: 0; } }
.ex-hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.ex-hero h1 { font-size: clamp(36px, 5vw, 58px); margin: 14px 0 18px; color: #fff; }
.ex-hero h1 span { display: block; color: var(--coral); }
.ex-hero__lead { font-size: 19px; color: rgba(255,255,255,.85); max-width: 560px; }
.ex-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ex .ex-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 14px; color: rgba(255,255,255,.75); }
.ex-trust li { position: relative; padding-left: 16px; }
.ex-trust li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.ex-trust b { color: #fff; }
.ex-hero__card { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); transform: rotate(1.5deg); border: 6px solid #fff; }
.ex-hero__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ex-hero__badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy); font-weight: 900; font-size: 14px; padding: 10px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.ex-hero__badge svg { width: 18px; height: 18px; color: var(--green); }

/* Sections */
.ex-sec { padding: 80px 0; }
.ex-sec--soft { background: var(--soft); }
.ex-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.ex-head h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); }
.ex-head p { margin-top: 10px; color: var(--muted); font-size: 18px; }

/* Steps */
.ex-sec--steps { padding: 0; position: relative; z-index: 2; margin-top: -40px; }
.ex-steps { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--r); box-shadow: var(--shadow-h); overflow: hidden; }
.ex-steps li { display: flex; gap: 16px; padding: 26px 26px; border-right: 1px solid var(--line); }
.ex-steps li:last-child { border-right: 0; }
.ex-steps__n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); color: var(--coral); font-weight: 900; font-size: 18px; display: grid; place-items: center; }
.ex-steps h3 { font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.ex-steps p { color: var(--muted); font-size: 15px; }
.ex-steps a { color: var(--blue); font-weight: 700; }

/* Course cards */
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ex-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.ex-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.ex-card--best { border: 2px solid var(--coral); }
.ex-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.ex-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ex-card:hover .ex-card__img img { transform: scale(1.04); }
.ex-card__body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 24px; }
.ex-card h3 { font-size: 21px; color: var(--navy); margin: 12px 0 8px; }
.ex-card p { color: var(--muted); font-size: 15px; flex: 1; }
.ex-tag { align-self: flex-start; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: #e8eef9; padding: 5px 10px; border-radius: 6px; }
.ex-tag--free { color: #fff; background: var(--green); }
.ex-tag--coral { color: #fff; background: var(--coral); }
.ex-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 900; color: var(--green); }
.ex-card__go svg { width: 18px; height: 18px; transition: transform .2s; }
.ex-card:hover .ex-card__go svg { transform: translateX(4px); }
.ex-card__price { margin-top: 18px; font-size: 26px; font-weight: 900; color: var(--navy); }
.ex-alt { text-align: center; margin-top: 34px; color: var(--muted); }
.ex-alt a { color: var(--blue); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.ex-alt svg { width: 16px; height: 16px; }

/* Book */
.ex-book { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ex-book__img img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-h); aspect-ratio: 4 / 3; object-fit: cover; }
.ex-book h2 { font-size: clamp(26px, 3vw, 36px); color: var(--navy); margin-bottom: 16px; }
.ex-book > div > p { color: var(--muted); font-size: 17px; }
.ex .ex-checks { margin: 22px 0 28px; display: grid; gap: 10px; }
.ex-checks li { position: relative; padding-left: 32px; }
.ex-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ex-book__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Who */
.ex-who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ex-who > div { padding: 26px 22px; border-radius: var(--r); border: 1px solid var(--line); text-align: center; }
.ex-who svg { width: 40px; height: 40px; color: var(--coral); margin: 0 auto 14px; display: block; }
.ex-who h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.ex-who p { color: var(--muted); font-size: 15px; }

/* Authors */
.ex-authors { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.ex-author { display: flex; align-items: center; gap: 18px; background: #fff; padding: 18px 26px 18px 18px; border-radius: 999px; box-shadow: var(--shadow); min-width: 360px; }
.ex-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); }
.ex-author h3 { font-size: 19px; color: var(--navy); }
.ex-author h3 a:hover { color: var(--blue); }
.ex-author p { color: var(--muted); font-size: 15px; margin-top: 2px; }

/* Final CTA */
.ex-final { background: var(--navy); color: #fff; text-align: center; padding: 70px 0; position: relative; overflow: hidden; }
.ex-final h2 { font-size: clamp(28px, 3.4vw, 40px); color: #fff; }
.ex-final p { color: rgba(255,255,255,.8); font-size: 18px; margin: 10px 0 26px; }

/* Boss theme: remove the gap above full-width page content on the home page */
body.ex-page .page-full-width, body.ex-page #primary, body.ex-page #content { padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important; }
body.ex-page .entry-header, body.ex-page .entry-title { display: none !important; }

/* Responsive */
@media (max-width: 980px) {
  .ex-hero__inner, .ex-book { grid-template-columns: 1fr; gap: 40px; }
  .ex-hero__card { max-width: 520px; transform: none; }
  .ex-grid { grid-template-columns: 1fr 1fr; }
  .ex-who { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ex-wrap { padding: 0 16px; }
  .ex-hero { padding: 48px 0 70px; }
  .ex-hero__lead { font-size: 17px; }
  .ex-hero__cta .ex-btn { width: 100%; }
  .ex-sec { padding: 56px 0; }
  .ex-steps { grid-template-columns: 1fr; }
  .ex-steps li { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
  .ex-steps li:last-child { border-bottom: 0; }
  .ex-grid, .ex-who { grid-template-columns: 1fr; }
  .ex-author { min-width: 0; width: 100%; border-radius: var(--r); }
  .ex-author img { width: 72px; height: 72px; }
  .ex-book__cta .ex-btn { flex: 1; }
}
