/*
Theme Name: Easy Academy
Description: Licht en luchtig thema voor Easy Academy - AI made simple.
Version: 1.0.0
Author: Easy Academy
Text Domain: easy-academy
*/

:root {
  --bg: #ffffff;
  --soft: #f5efef;
  --peach: #fbe9e1;
  --sage: #dfece6;
  --accent: #4f8f7c;
  --accent-dark: #386b5b;
  --coral: #e8846b;
  --ink: #23302b;
  --muted: #627069;
  --line: #e9e2e1;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(35, 48, 43, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

.ea-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Header */
.ea-header { position: sticky; top: 0; z-index: 50; background: var(--soft); border-bottom: 1px solid var(--line); }
.ea-header .ea-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.ea-logo img { height: 72px; width: auto; mix-blend-mode: multiply; }
.ea-nav ul { list-style: none; margin: 0; padding: 0; }
.ea-nav > ul { display: flex; gap: 4px; align-items: center; }
.ea-nav li { position: relative; }
.ea-nav a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; letter-spacing: .03em; text-transform: uppercase; border-radius: 999px; }
.ea-nav a:hover, .ea-nav .current-menu-item > a, .ea-nav .current-menu-ancestor > a { background: #fff; color: var(--accent-dark); }
.ea-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 8px; border: 1px solid var(--line); }
.ea-nav .sub-menu .sub-menu { left: 100%; top: 0; }
.ea-nav li:hover > .sub-menu, .ea-nav li:focus-within > .sub-menu { display: block; }
.ea-nav .sub-menu a { text-transform: none; font-size: .98rem; letter-spacing: 0; font-weight: 600; border-radius: 10px; }
.ea-nav .sub-menu a:hover { background: var(--sage); }
.ea-toggle { display: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font: inherit; font-weight: 700; cursor: pointer; }

/* Buttons */
.ea-btn, .wp-block-button__link { display: inline-block; background: var(--accent); color: #fff !important; padding: 14px 28px; border-radius: 999px; text-decoration: none; font-weight: 700; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.ea-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.ea-btn.ghost { background: transparent; color: var(--accent-dark) !important; box-shadow: inset 0 0 0 2px var(--accent); }
.ea-btn.ghost:hover { background: var(--sage); }
.ea-btn.coral { background: var(--coral); }

/* Hero */
.ea-hero { background: linear-gradient(135deg, var(--peach), var(--sage)); padding: 80px 0; }
.ea-hero .ea-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ea-hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.ea-hero .ea-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.ea-eyebrow { display: inline-block; font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-dark); margin-bottom: 14px; }

/* Image slots */
.ea-img { border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #fff, var(--soft)); min-height: 320px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .9rem; text-align: center; padding: 20px; border: 2px dashed #d8cfce; }
.ea-img img { width: 100%; height: 100%; object-fit: cover; }
.ea-img.tall { min-height: 420px; }
.ea-img.wide { min-height: 260px; }

/* Sections */
.ea-section { padding: 72px 0; }
.ea-section.tint { background: var(--soft); }
.ea-section.sage { background: var(--sage); }
.ea-section h2.center, .center { text-align: center; }
.ea-intro { max-width: 40em; margin: 0 auto 40px; text-align: center; color: var(--muted); }
.ea-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.ea-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.ea-card .ea-img { min-height: 150px; margin-bottom: 18px; }
.ea-card h3 { margin-bottom: .4em; }
.ea-card p { color: var(--muted); }
.ea-card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.ea-card .more::after { content: " →"; }
.ea-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ea-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ea-list li { padding-left: 32px; position: relative; margin-bottom: .6em; }
.ea-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--sage); }
.ea-cta-band { background: var(--accent); color: #fff; text-align: center; padding: 64px 24px; }
.ea-cta-band h2 { color: #fff; }
.ea-cta-band .ea-btn { background: #fff; color: var(--accent-dark) !important; }

/* Page header */
.ea-pagehead { background: linear-gradient(135deg, var(--peach), var(--sage)); padding: 56px 0 48px; }
.ea-pagehead h1 { margin: 0; }
.ea-pagehead p { color: var(--muted); margin: 12px 0 0; max-width: 40em; font-size: 1.1rem; }
.ea-crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.ea-crumbs a { color: var(--muted); }
.ea-content { padding: 56px 0 80px; }
.ea-content .entry > *:first-child { margin-top: 0; }

/* Training layout with sticky CTA */
.ea-training { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.ea-aside { position: sticky; top: 108px; align-self: start; }
.ea-cta { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border-top: 6px solid var(--coral); }
.ea-cta h3 { margin-bottom: 14px; }
.ea-cta dl { margin: 0 0 20px; }
.ea-cta dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 800; }
.ea-cta dd { margin: 0 0 12px; font-weight: 700; }
.ea-cta .ea-btn { display: block; text-align: center; margin-bottom: 10px; }
.ea-cta small { color: var(--muted); display: block; text-align: center; }

/* FAQ */
.ea-faq { max-width: 860px; margin: 0 auto; }
.ea-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 0 22px; }
.ea-faq summary { cursor: pointer; font-weight: 800; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.ea-faq summary::-webkit-details-marker { display: none; }
.ea-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.6rem; color: var(--accent); }
.ea-faq details[open] summary::after { content: "–"; }
.ea-faq details p { color: var(--muted); padding-bottom: 6px; }

/* Footer */
.ea-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 56px 0 24px; margin-top: 0; }
.ea-footer .ea-wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.ea-footer h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.ea-footer ul { list-style: none; margin: 0; padding: 0; }
.ea-footer li { margin-bottom: 6px; }
.ea-footer a { text-decoration: none; }
.ea-footer .logo img { height: 90px; width: auto; mix-blend-mode: multiply; margin-bottom: 12px; }
.ea-copy { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Responsive */
@media (max-width: 980px) {
  .ea-toggle { display: block; }
  .ea-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--soft); border-bottom: 1px solid var(--line); padding: 10px 24px 20px; max-height: 80vh; overflow: auto; }
  .ea-nav.open { display: block; }
  .ea-nav > ul { flex-direction: column; align-items: stretch; }
  .ea-nav .sub-menu, .ea-nav .sub-menu .sub-menu { display: block; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 16px; min-width: 0; }
  .ea-hero .ea-wrap, .ea-split, .ea-training, .ea-footer .ea-wrap { grid-template-columns: 1fr; }
  .ea-aside { position: static; }
  .ea-hero { padding: 48px 0; }
}
