/*
Theme Name: EE School SaaS
Theme URI: https://enuresie-encopresie.fr
Author: Enuresie Encopresie
Description: Theme WordPress clair et institutionnel pour plateforme de suivi continence.
Version: 1.1.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.2
Text Domain: ee-school
*/

:root {
  --ee-navy: #153a5b;
  --ee-navy-2: #0f2a43;
  --ee-blue: #2e7df6;
  --ee-cyan: #36c5d8;
  --ee-sand: #f7f1e7;
  --ee-cream: #fffaf2;
  --ee-white: #ffffff;
  --ee-text: #1f2d3d;
  --ee-muted: #65758a;
  --ee-line: #e3e8ef;
  --ee-yellow: #ffd36a;
  --ee-radius: 18px;
  --ee-shadow: 0 24px 70px rgba(15, 42, 67, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ee-text);
  background: var(--ee-cream);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.ee-container {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.ee-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 242, .96);
  border-bottom: 1px solid rgba(227, 232, 239, .9);
  backdrop-filter: blur(16px);
}

.ee-header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.ee-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
  color: var(--ee-navy);
  font-weight: 900;
  font-size: .92rem;
  line-height: 1.1;
  white-space: nowrap;
}

.ee-logo-mark {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ee-navy);
  color: #fff;
  font-size: .9rem;
  letter-spacing: .02em;
}

.ee-menu-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ee-navy);
  border-radius: 999px;
  background: transparent;
  color: var(--ee-navy);
  font-weight: 850;
  cursor: pointer;
}

.ee-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.ee-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 12px);
  padding: 24px;
  background: var(--ee-white);
  border: 1px solid var(--ee-line);
  border-radius: 26px;
  box-shadow: var(--ee-shadow);
}

.ee-nav.is-open { display: block; }
.ee-nav ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0;
  padding: 0;
}
.ee-nav li { min-width: 0; }
.ee-nav a {
  display: block;
  padding: 8px 0;
  color: var(--ee-navy);
  font-weight: 850;
}
.ee-nav a:hover { color: var(--ee-blue); }
.ee-nav .sub-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--ee-line);
}
.ee-nav .sub-menu a {
  color: var(--ee-muted);
  font-weight: 650;
  font-size: .95rem;
  padding: 4px 0;
}

.ee-button,
.wp-block-button__link,
input[type=submit],
button[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ee-navy);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}
.ee-button:hover,
input[type=submit]:hover { background: var(--ee-navy-2); color: #fff; }
.ee-button-secondary {
  background: transparent;
  color: var(--ee-navy);
  border: 1px solid rgba(21, 58, 91, .28);
}
.ee-button-sun {
  background: var(--ee-yellow);
  color: #352600;
}

.ee-main { min-height: 68vh; }

.ee-hero {
  padding: clamp(72px, 9vw, 128px) 0 clamp(56px, 7vw, 96px);
  background:
    linear-gradient(90deg, rgba(255, 250, 242, .96) 0%, rgba(255, 250, 242, .74) 48%, rgba(226, 245, 249, .9) 100%);
}
.ee-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}
.ee-kicker,
.ee-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ee-blue);
  font-weight: 900;
  font-size: .86rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.ee-hero h1,
.ee-page-title {
  margin: 18px 0 22px;
  max-width: 980px;
  color: var(--ee-navy);
  font-size: clamp(3rem, 6.4vw, 7rem);
  line-height: .93;
  letter-spacing: 0;
}
.ee-hero p,
.ee-lead {
  max-width: 760px;
  margin: 0;
  color: var(--ee-muted);
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
}
.ee-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.ee-hero-visual {
  background: var(--ee-white);
  border: 1px solid var(--ee-line);
  border-radius: 28px;
  box-shadow: var(--ee-shadow);
  overflow: hidden;
}
.ee-notebook {
  display: grid;
}
.ee-notebook div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--ee-line);
  align-items: baseline;
}
.ee-notebook div:last-child { border-bottom: 0; }
.ee-notebook span {
  color: var(--ee-blue);
  font-weight: 900;
}
.ee-notebook strong {
  color: var(--ee-navy);
  font-size: 1.08rem;
}

.ee-editorial-section,
.ee-section,
.ee-page {
  padding: clamp(58px, 7vw, 104px) 0;
}
.ee-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}
.ee-split h2,
.ee-editorial-section h2,
.ee-section h2,
.ee-page h1 {
  margin: 0 0 18px;
  max-width: 980px;
  color: var(--ee-navy);
  font-size: clamp(2.2rem, 4.6vw, 5.2rem);
  line-height: .96;
  letter-spacing: 0;
}
.ee-split p,
.ee-editorial-section p {
  color: var(--ee-muted);
  font-size: 1.12rem;
}
.ee-text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ee-navy);
  font-weight: 900;
  border-bottom: 3px solid var(--ee-yellow);
}

.ee-section-blue {
  background: var(--ee-navy);
  color: #fff;
}
.ee-section-blue h2,
.ee-section-blue p { color: #fff; }
.ee-section-blue .ee-kicker { color: var(--ee-yellow); }
.ee-feature-lines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.ee-feature-lines a {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-weight: 850;
}
.ee-feature-lines a:hover { color: var(--ee-yellow); }

.ee-audience-list {
  display: grid;
  border-top: 1px solid rgba(21, 58, 91, .18);
}
.ee-audience-list article {
  display: grid;
  grid-template-columns: 90px minmax(220px, .5fr) minmax(0, 1fr);
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(21, 58, 91, .18);
  align-items: baseline;
}
.ee-audience-list span {
  color: var(--ee-blue);
  font-weight: 950;
}
.ee-audience-list h3 {
  margin: 0;
  color: var(--ee-navy);
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  line-height: 1.05;
}
.ee-audience-list p {
  margin: 0;
  color: var(--ee-muted);
}
.ee-final-cta {
  background: var(--ee-sand);
  text-align: center;
}
.ee-final-cta h2,
.ee-final-cta p {
  margin-left: auto;
  margin-right: auto;
}
.ee-final-cta p { max-width: 760px; }

.ee-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(21, 58, 91, .16);
}
.ee-card {
  padding: 28px 20px;
  border-bottom: 1px solid rgba(21, 58, 91, .16);
}
.ee-card h3 {
  margin: 0 0 8px;
  color: var(--ee-navy);
  font-size: 1.24rem;
}
.ee-card p { margin: 0; color: var(--ee-muted); }
.ee-icon {
  display: inline-flex;
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 10px;
}
.ee-dashboard-card .ee-icon { font-size: 2rem; }

/* ── Panel header / actions ── */
.ee-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ee-line);
}
.ee-panel-header h1 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--ee-navy); }
.ee-panel-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ── KPI variants ── */
.ee-kpi-alert { background: #fff4d4; border-color: #ffe29a; }
.ee-kpi-alert strong { color: #b8460a; }
.ee-kpi-good { background: #eefbf7; border-color: #c9f0e4; }
.ee-kpi-good strong { color: #0f6c4d; }

/* ── Dashboard sections ── */
.ee-dashboard-header { margin-bottom: 28px; }
.ee-dashboard-header .ee-kicker { margin-bottom: 8px; display: block; }
.ee-dashboard-header h1 { margin: 0 0 8px; color: var(--ee-navy); font-size: clamp(1.8rem, 4vw, 3rem); }
.ee-dashboard-header .ee-lead { margin: 0; }
.ee-dashboard-section { margin-top: 32px; }
.ee-dashboard-section h2 { margin: 0 0 18px; color: var(--ee-navy); font-size: clamp(1.3rem, 2.5vw, 1.9rem); }

/* ── Family cards (parent/pro dashboard) ── */
.ee-family-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ee-family-card {
  padding: 22px;
  border-radius: 20px;
  background: #f8fbff;
  border: 1px solid var(--ee-line);
}
.ee-family-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ee-family-card-header h3 { margin: 0; color: var(--ee-navy); font-size: 1.1rem; }
.ee-family-card-header p { margin: 0; color: var(--ee-muted); font-size: .9rem; }
.ee-avatar {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ee-navy);
  color: #fff;
  font-weight: 950;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ee-family-stats {
  display: flex; gap: 16px;
  margin-bottom: 14px;
  font-size: .9rem;
  color: var(--ee-muted);
}
.ee-family-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Reward cards ── */
.ee-rewards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.ee-reward-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ee-line);
  box-shadow: 0 8px 24px rgba(15,42,67,.07);
}
.ee-reward-icon { font-size: 2.2rem; flex-shrink: 0; }
.ee-reward-body h3 { margin: 0 0 6px; color: var(--ee-navy); }
.ee-reward-body p { margin: 0 0 4px; color: var(--ee-muted); font-size: .9rem; }
.ee-reward-meta { font-size: .82rem; color: var(--ee-muted); }

/* ── Progress section ── */
.ee-progress-section { margin: 24px 0; }
.ee-progress-section h2 { margin: 0 0 10px; color: var(--ee-navy); font-size: 1.2rem; }
.ee-progress-bar {
  height: 14px; border-radius: 999px;
  background: var(--ee-line);
  overflow: hidden;
  margin-bottom: 8px;
}
.ee-progress-fill { height: 100%; background: var(--ee-blue); border-radius: 999px; transition: width .4s ease; min-width: 2px; }
.ee-progress-section p { margin: 0; color: var(--ee-muted); font-size: .9rem; }

/* ── Payload detail list ── */
.ee-payload-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; padding: 0; }
.ee-payload-item { padding: 14px; border-radius: 14px; background: #f8fbff; border: 1px solid var(--ee-line); }
.ee-payload-item dt { font-weight: 850; color: var(--ee-navy); font-size: .88rem; margin-bottom: 4px; }
.ee-payload-item dd { margin: 0; color: var(--ee-text); }
.ee-record-subject { margin: 0 0 16px; color: var(--ee-muted); font-size: .95rem; }
.ee-record-notes { margin-bottom: 16px; padding: 14px; border-radius: 12px; background: #f8fbff; border: 1px solid var(--ee-line); }

/* ── Form helpers ── */
.ee-required { color: #c0392b; }
.ee-icon-picker { display: flex; flex-wrap: wrap; gap: 10px; }
.ee-icon-option { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.ee-icon-option input { width: auto; min-height: auto; }
.ee-icon-option span { font-size: 1.4rem; }
.ee-mood-picker { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ee-mood-option { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.ee-mood-option input { width: auto; min-height: auto; }
.ee-mood-ico { font-size: 2rem; }

/* ── Table variants ── */
.ee-row-past td { color: var(--ee-muted); }
.ee-table .ee-unread { background: #fffbef; font-weight: 700; }
.ee-table td:last-child { white-space: nowrap; }

/* ── Links ── */
.ee-link-danger { color: #c0392b; font-size: .88rem; }
.ee-link-danger:hover { text-decoration: underline; }

/* ── Alert banner ── */
.ee-alert-banner {
  padding: 12px 18px;
  border-radius: 12px;
  background: #fff4d4;
  border: 1px solid #ffe29a;
  color: #62470b;
  margin-bottom: 20px;
  font-weight: 700;
}
.ee-alert-banner a { color: #b8460a; text-decoration: underline; }

/* ── Badge variants ── */
.ee-badge-prevu { background: #e0f2fe; color: #0369a1; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 800; }
.ee-badge-confirme { background: #dcfce7; color: #166534; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 800; }
.ee-badge-annule { background: #fee2e2; color: #991b1b; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 800; }
.ee-badge-passe { background: #f1f5f9; color: #64748b; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 800; }

/* ── Notice privacy (école) ── */
.ee-notice-privacy { font-size: .9rem; }

/* ── Back link / breadcrumb ── */
.ee-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 20px;
  color: var(--ee-muted);
  font-weight: 700;
  font-size: .92rem;
}
.ee-back-link:hover { color: var(--ee-navy); }

/* ── Danger button ── */
.ee-button-danger {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.ee-button-danger:hover { background: #fca5a5; color: #7f1d1d; }

/* ── Subject selector ── */
.ee-subject-selector { margin-bottom: 16px; }

/* ── Responsive additions ── */
@media (max-width: 899px) {
  .ee-family-grid,
  .ee-rewards-grid,
  .ee-payload-list { grid-template-columns: 1fr; }
  .ee-panel-header { flex-direction: column; align-items: flex-start; }
}

.ee-panel,
.ee-dashboard,
.ee-form-card {
  background: var(--ee-white);
  border: 1px solid var(--ee-line);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: 0 16px 50px rgba(15, 42, 67, .08);
}
.ee-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ee-line);
}
.ee-dashboard-card {
  display: block;
  padding: 24px 18px;
  border-bottom: 1px solid var(--ee-line);
}
.ee-dashboard-card:hover { background: #f8fbff; }
.ee-dashboard-card h3 { margin: 8px 0; color: var(--ee-navy); }
.ee-dashboard-card p { margin: 0; color: var(--ee-muted); }

.ee-table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--ee-line); background: #fff; }
.ee-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.ee-table th,
.ee-table td { padding: 14px 16px; border-bottom: 1px solid var(--ee-line); text-align: left; }
.ee-table th { color: var(--ee-navy); background: #f6f9fc; }

.ee-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ee-field { margin-bottom: 16px; }
.ee-field label { display: block; margin-bottom: 7px; font-weight: 850; color: var(--ee-navy); }
.ee-field input,
.ee-field select,
.ee-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d9e2ec;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  font: inherit;
}
.ee-field textarea { min-height: 128px; }
.ee-notice { padding: 14px 16px; border-radius: 14px; background: #eefbf7; color: #13644d; border: 1px solid #c9f0e4; margin: 16px 0; }
.ee-warning { padding: 14px 16px; border-radius: 14px; background: #fff4d4; color: #62470b; border: 1px solid #ffe29a; }

.ee-site-footer {
  background: var(--ee-navy-2);
  color: #dbe7f3;
  padding: 58px 0 28px;
}
.ee-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 30px;
}
.ee-site-footer h3,
.ee-site-footer h4 { margin: 0 0 14px; color: #fff; }
.ee-site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ee-site-footer a { color: #dbe7f3; }
.ee-footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); color: #aab9c9; font-size: .94rem; }

.ee-intranet-menu {
  margin-bottom: 24px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--ee-line);
  border-radius: 18px;
  overflow-x: auto;
}
.ee-intranet-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ee-intranet-menu li {
  position: relative;
  flex: 0 0 auto;
}
.ee-intranet-menu a {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: #f6f9fc;
  color: var(--ee-navy);
  font-weight: 800;
  white-space: nowrap;
}

/* ── Menu intranet vertical à gauche ── */
.ee-intranet-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}
.ee-intranet-sidebar {
  position: sticky;
  top: 24px;
}
.ee-intranet-sidebar .ee-intranet-menu {
  margin-bottom: 0;
  overflow-x: visible;
}
.ee-intranet-sidebar .ee-intranet-menu ul {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.ee-intranet-sidebar .ee-intranet-menu li {
  flex: 1 1 auto;
}
.ee-intranet-sidebar .ee-intranet-menu a {
  display: block;
  border-radius: 12px;
  white-space: normal;
}
.ee-intranet-content {
  min-width: 0;
}
.ee-intranet-menu .sub-menu {
  display: block;
  margin-left: 12px;
  margin-top: 4px;
  padding-left: 8px;
  border-left: 2px solid #e0e0e0;
}

.ee-intranet-menu .sub-menu li {
  margin: 4px 0;
  list-style: none;
}

.ee-intranet-menu .sub-menu a {
  font-size: 0.85rem;
  padding: 4px 8px;
  color: #666;
  display: block;
  border-radius: 6px;
}

.ee-intranet-menu .sub-menu a:hover {
  background: #f0f0f0;
  color: #333;
}

.ee-intranet-menu > ul > li {
  margin-bottom: 8px;
}

.ee-intranet-menu .menu-item-has-children > a {
  cursor: pointer;
  position: relative;
}

.ee-intranet-menu .submenu-icon {
  font-size: 0.7em;
  margin-left: 5px;
}

.ee-intranet-menu > ul > li > a {
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
}

.ee-youth-page {
  display: grid;
  gap: 28px;
}
.ee-youth-hero {
  padding: clamp(34px, 6vw, 72px);
  border-radius: 34px;
  background:
    linear-gradient(120deg, rgba(21,58,91,.9), rgba(46,125,246,.78)),
    url("assets/images/student-laptop.jpg") center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.ee-youth-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: var(--ee-yellow);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .84rem;
}
.ee-youth-hero h1 {
  max-width: 900px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: .94;
}
.ee-youth-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}
.ee-youth-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ee-youth-actions a {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 22px;
  background: var(--ee-yellow);
  color: #352600;
  text-align: center;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(15,42,67,.1);
}
.ee-youth-actions a:nth-child(2) {
  background: #dff8fc;
  color: var(--ee-navy);
}
.ee-youth-actions a:nth-child(3) {
  background: #efeaff;
  color: var(--ee-navy);
}
.ee-youth-actions a:nth-child(4) {
  background: #eaf5ff;
  color: var(--ee-navy);
}
.ee-mission-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ee-mission-board article {
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--ee-line);
  box-shadow: 0 14px 42px rgba(15,42,67,.08);
}
.ee-mission-board span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--ee-navy);
  color: #fff;
  font-weight: 950;
}
.ee-mission-board h2 {
  margin: 0 0 10px;
  color: var(--ee-navy);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}
.ee-mission-board p {
  margin: 0;
  color: var(--ee-muted);
}
.ee-youth-note {
  padding: clamp(24px, 4vw, 40px);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255,211,106,.94), rgba(255,245,212,.94)),
    url("assets/images/notebook.jpg") center / cover no-repeat;
}
.ee-youth-note h2 {
  margin: 0 0 10px;
  color: #342500;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
}
.ee-youth-note p {
  max-width: 860px;
  margin: 0;
  color: #5f4810;
  font-weight: 700;
}
.ee-global-youth-page {
  display: grid;
  gap: 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.ee-youth-content {
  padding: clamp(22px, 4vw, 42px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--ee-line);
  box-shadow: 0 14px 42px rgba(15,42,67,.08);
}
.ee-youth-content h2 {
  margin-top: 34px;
  color: var(--ee-navy);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.02;
}
.ee-youth-content h2:first-child {
  margin-top: 0;
}
.ee-youth-content p {
  color: var(--ee-muted);
}
.ee-youth-content .ee-card-grid {
  margin-top: 20px;
}
.ee-youth-content .ee-card {
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--ee-line);
  padding: 24px;
}
.ee-youth-content .ee-simple-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}
.ee-youth-content .ee-simple-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid var(--ee-line);
  color: var(--ee-navy);
  font-weight: 700;
}
.ee-direct-page {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.ee-link-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.ee-link-card {
  display: block;
  min-height: 170px;
  padding: 26px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--ee-line);
  box-shadow: 0 14px 42px rgba(15,42,67,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.ee-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(15,42,67,.13);
}
.ee-link-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--ee-blue);
  font-weight: 950;
}
.ee-link-card h2,
.ee-link-card h3 {
  margin: 0 0 10px;
  color: var(--ee-navy);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.05;
}
.ee-link-card p {
  margin: 0;
  color: var(--ee-muted);
}
.ee-filter-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 160px 160px auto auto;
  gap: 10px;
  margin: 18px 0 20px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid var(--ee-line);
}
.ee-filter-bar input,
.ee-filter-bar button {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--ee-line);
  padding: 0 12px;
  font: inherit;
}
.ee-filter-bar button {
  background: var(--ee-navy);
  color: #fff;
  font-weight: 850;
}
.ee-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 28px;
}
.ee-kpi {
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--ee-line);
  box-shadow: 0 12px 34px rgba(15,42,67,.07);
}
.ee-kpi strong {
  display: block;
  color: var(--ee-blue);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}
.ee-kpi span {
  color: var(--ee-muted);
  font-weight: 800;
}
.ee-empty-state {
  padding: 30px;
  border-radius: 24px;
  background: #fff8df;
  border: 1px solid #ffe4a8;
  color: #5c4408;
}
.ee-loader {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px solid #dfe7f3;
  border-top-color: var(--ee-blue);
  animation: ee-spin 1s linear infinite;
}
@keyframes ee-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .ee-youth-actions,
  .ee-mission-board,
  .ee-link-card-grid {
    grid-template-columns: 1fr;
  }
  .ee-filter-bar,
  .ee-kpi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .ee-hero-grid,
  .ee-split { grid-template-columns: 1fr; }
  .ee-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  body { font-size: 16px; }
  .ee-container { width: min(100% - 24px, 1320px); }
  .ee-header-actions { display: none; }
  .ee-logo { font-size: .9rem; }
  .ee-nav { padding: 18px; }
  .ee-nav ul,
  .ee-feature-lines,
  .ee-card-grid,
  .ee-dashboard-grid,
  .ee-form-row { grid-template-columns: 1fr; }
  .ee-hero h1,
  .ee-page-title { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .ee-audience-list article { grid-template-columns: 1fr; gap: 8px; }
  .ee-notebook div { grid-template-columns: 64px 1fr; padding: 18px; }
}

/* Ultra Education inspired layout: clean academic landing, no copied assets. */
.ee-edu-hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18, 47, 74, .88), rgba(18, 47, 74, .55)),
    radial-gradient(circle at 78% 18%, rgba(255, 211, 106, .58), transparent 18rem),
    linear-gradient(135deg, #1c5ca8, #34bdd0 55%, #fff3cf);
  color: #fff;
}
.ee-edu-hero-inner {
  max-width: 1320px;
}
.ee-edu-hero h1 {
  max-width: 880px;
  margin: 18px 0 22px;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: .9;
  color: #fff;
}
.ee-edu-hero p {
  max-width: 760px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
}
.ee-edu-hero .ee-kicker {
  color: var(--ee-yellow);
}

.ee-edu-pillars {
  margin-top: -96px;
  position: relative;
  z-index: 2;
}
.ee-edu-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  box-shadow: var(--ee-shadow);
}
.ee-edu-pillar-grid article {
  padding: clamp(26px, 4vw, 46px);
  border-right: 1px solid var(--ee-line);
}
.ee-edu-pillar-grid article:last-child {
  border-right: 0;
}
.ee-edu-pillar-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--ee-blue);
  font-weight: 950;
  letter-spacing: .08em;
}
.ee-edu-pillar-grid h2 {
  margin: 0 0 12px;
  color: var(--ee-navy);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 1.05;
}
.ee-edu-pillar-grid p {
  color: var(--ee-muted);
}
.ee-edu-pillar-grid a {
  color: var(--ee-blue);
  font-weight: 900;
}

.ee-edu-register {
  padding: clamp(70px, 8vw, 120px) 0;
  background: var(--ee-yellow);
  text-align: center;
}
.ee-edu-register h2 {
  max-width: 940px;
  margin: 0 auto 28px;
  color: #302400;
  font-size: clamp(2.1rem, 4.4vw, 5rem);
  line-height: .96;
}

.ee-edu-section {
  padding: clamp(70px, 8vw, 120px) 0;
  background: var(--ee-cream);
}
.ee-edu-news {
  background: #fff;
}
.ee-edu-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}
.ee-edu-heading h2 {
  margin: 8px 0 0;
  color: var(--ee-navy);
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: .95;
}
.ee-edu-heading a {
  color: var(--ee-blue);
  font-weight: 900;
}
.ee-edu-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ee-line);
}
.ee-edu-list article {
  display: grid;
  grid-template-columns: 180px minmax(220px, .5fr) minmax(0, 1fr);
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ee-line);
  align-items: baseline;
}
.ee-edu-list time,
.ee-edu-news-grid time {
  color: var(--ee-blue);
  font-weight: 900;
}
.ee-edu-list h3,
.ee-edu-news-grid h3 {
  margin: 0;
  color: var(--ee-navy);
  font-size: 1.45rem;
  line-height: 1.15;
}
.ee-edu-list p,
.ee-edu-news-grid p {
  margin: 0;
  color: var(--ee-muted);
}
.ee-edu-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ee-line);
}
.ee-edu-news-grid article {
  padding: 24px 20px;
  border-right: 1px solid var(--ee-line);
  border-bottom: 1px solid var(--ee-line);
}
.ee-edu-news-grid article:last-child {
  border-right: 0;
}

.ee-edu-testimonials {
  padding: clamp(74px, 8vw, 124px) 0;
  background: var(--ee-navy);
  color: #fff;
}
.ee-edu-testimonials h2 {
  max-width: 980px;
  margin: 12px 0 36px;
  color: #fff;
  font-size: clamp(2.1rem, 4.7vw, 5.1rem);
  line-height: .96;
}
.ee-edu-testimonials .ee-kicker {
  color: var(--ee-yellow);
}
.ee-edu-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ee-edu-quote-grid blockquote {
  margin: 0;
  padding: 28px;
  background: rgba(255,255,255,.08);
  border-left: 4px solid var(--ee-yellow);
  color: rgba(255,255,255,.9);
  font-size: 1.08rem;
}

.ee-edu-subscribe {
  padding: clamp(64px, 7vw, 100px) 0;
  background: #fff;
}
.ee-edu-subscribe-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 34px;
  align-items: center;
}
.ee-edu-subscribe h2 {
  margin: 0 0 10px;
  color: var(--ee-navy);
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: .96;
}
.ee-newsletter-form {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--ee-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 42, 67, .08);
}
.ee-newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 14px;
  font: inherit;
  outline: none;
}
.ee-newsletter-form button {
  white-space: nowrap;
}

@media (min-width: 900px) {
  .ee-menu-toggle {
    display: none;
  }
  .ee-nav {
    position: static;
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    flex: 1 1 auto;
    min-width: 0;
    overflow: visible;
  }
  .ee-nav ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 2px;
  }
  .ee-nav a {
    padding: 7px 9px;
    border-radius: 999px;
    font-size: .84rem;
    white-space: nowrap;
  }
  .ee-nav .sub-menu {
    display: none;
    position: absolute;
    width: 240px;
    margin-top: 4px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--ee-line);
    border-radius: 16px;
    box-shadow: var(--ee-shadow);
  }
  .ee-nav li {
    position: relative;
  }
  .ee-nav li:hover > .sub-menu {
    display: grid;
  }
}

@media (max-width: 900px) {
  .ee-edu-pillar-grid,
  .ee-edu-news-grid,
  .ee-edu-quote-grid,
  .ee-edu-subscribe-inner {
    grid-template-columns: 1fr;
  }
  .ee-edu-pillar-grid article,
  .ee-edu-news-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--ee-line);
  }
  .ee-edu-heading,
  .ee-edu-list article {
    grid-template-columns: 1fr;
  }
  .ee-edu-pillars {
    margin-top: 0;
  }
  .ee-edu-hero {
    min-height: auto;
    padding: 88px 0;
  }
  .ee-newsletter-form {
    border-radius: 20px;
    display: grid;
  }
  .ee-newsletter-form input {
    min-height: 46px;
  }
}

/* Closer education demo composition. */
.ee-ultra-hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 38, 64, .9) 0%, rgba(13, 38, 64, .72) 48%, rgba(13, 38, 64, .34) 100%),
    url("assets/images/student-laptop.jpg") center / cover no-repeat;
  overflow: hidden;
}
.ee-ultra-hero::after {
  content: "";
  position: absolute;
  right: 8vw;
  bottom: -44px;
  width: min(480px, 42vw);
  aspect-ratio: 1;
  border-radius: 48% 52% 36% 64%;
  background:
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,255,255,.55)),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(21,58,91,.08) 22px 24px);
  box-shadow: 0 36px 90px rgba(0,0,0,.2);
}
.ee-ultra-hero-content {
  position: relative;
  z-index: 2;
}
.ee-ultra-small {
  color: var(--ee-yellow);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 950;
  font-size: .9rem;
}
.ee-ultra-hero h1 {
  max-width: 860px;
  margin: 18px 0 20px;
  color: #fff;
  font-size: clamp(3.5rem, 7.4vw, 7.8rem);
  line-height: .88;
}
.ee-ultra-hero p {
  max-width: 720px;
  color: rgba(255,255,255,.9);
  font-size: 1.25rem;
}
.ee-ultra-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 28px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--ee-yellow);
  color: #342500;
  font-weight: 950;
}
.ee-ultra-cta-dark {
  background: var(--ee-navy);
  color: #fff;
}

.ee-ultra-features {
  position: relative;
  z-index: 5;
  margin-top: -86px;
}
.ee-ultra-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  box-shadow: 0 26px 80px rgba(15,42,67,.16);
}
.ee-ultra-features article {
  padding: 42px 34px;
  border-right: 1px solid var(--ee-line);
}
.ee-ultra-features article:last-child {
  border-right: 0;
}
.ee-ultra-features article:nth-child(1) {
  background:
    linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.95)),
    url("assets/images/medical-team.jpg") center / cover no-repeat;
}
.ee-ultra-features article:nth-child(2) {
  background:
    linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.95)),
    url("assets/images/notebook.jpg") center / cover no-repeat;
}
.ee-ultra-features article:nth-child(3) {
  background:
    linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.95)),
    url("assets/images/family-study.jpg") center / cover no-repeat;
}
.ee-feature-ico {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--ee-blue);
  font-weight: 950;
}
.ee-ultra-features h3 {
  margin: 0 0 10px;
  color: var(--ee-navy);
  font-size: 1.45rem;
}
.ee-ultra-features p {
  color: var(--ee-muted);
}
.ee-ultra-features a {
  color: var(--ee-blue);
  font-weight: 900;
}

.ee-ultra-register {
  padding: 112px 0 92px;
  background:
    linear-gradient(90deg, rgba(255,211,106,.96), rgba(255,211,106,.86)),
    url("assets/images/family-study.jpg") center / cover no-repeat;
  text-align: center;
}
.ee-ultra-register h2 {
  max-width: 980px;
  margin: 0 auto 12px;
  color: #2f2400;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: .92;
}
.ee-ultra-register p {
  margin: 0 auto 24px;
  color: #5b4510;
  font-size: 1.18rem;
}
.ee-countdown {
  display: grid;
  grid-template-columns: repeat(4, 110px);
  justify-content: center;
  gap: 14px;
  margin: 28px 0 10px;
}
.ee-countdown div {
  padding: 18px 8px;
  background: rgba(255,255,255,.65);
}
.ee-countdown strong {
  display: block;
  color: var(--ee-navy);
  font-size: 2rem;
  line-height: 1;
}
.ee-countdown span {
  color: #614708;
  font-size: .88rem;
  font-weight: 800;
}

.ee-ultra-events,
.ee-ultra-news {
  padding: 92px 0;
  background: var(--ee-cream);
}
.ee-ultra-news {
  background: #fff;
}
.ee-ultra-section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}
.ee-ultra-section-title h2 {
  margin: 0;
  color: var(--ee-navy);
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  line-height: .94;
}
.ee-ultra-section-title a {
  color: var(--ee-blue);
  font-weight: 900;
}
.ee-event-grid {
  display: grid;
  gap: 26px;
}
.ee-event-grid article {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  background: #fff;
  box-shadow: 0 16px 42px rgba(15,42,67,.09);
}
.ee-event-image {
  min-height: 240px;
  background-size: cover;
  background-position: center;
}
.ee-img-blue { background: linear-gradient(135deg, #bcd7ff, #246bfe); }
.ee-img-yellow { background: linear-gradient(135deg, #fff0b2, #ffc857); }
.ee-img-cyan { background: linear-gradient(135deg, #d9f7fb, #36c5d8); }
.ee-img-student { background-image: url("assets/images/student-laptop.jpg"); }
.ee-img-family { background-image: url("assets/images/family-study.jpg"); }
.ee-img-medical { background-image: url("assets/images/medical-team.jpg"); }
.ee-img-notebook { background-image: url("assets/images/notebook.jpg"); }
.ee-img-school { background-image: url("assets/images/school-hall.jpg"); }
.ee-event-content {
  padding: 34px;
}
.ee-event-content span {
  color: var(--ee-blue);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .84rem;
}
.ee-event-content h3 {
  margin: 8px 0 10px;
  color: var(--ee-navy);
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1;
}
.ee-event-content p {
  color: var(--ee-muted);
}
.ee-event-content a {
  color: var(--ee-blue);
  font-weight: 900;
}

.ee-news-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ee-line);
}
.ee-news-list article {
  padding: 26px 20px;
  border-right: 1px solid var(--ee-line);
  border-bottom: 1px solid var(--ee-line);
}
.ee-news-list article:last-child {
  border-right: 0;
}
.ee-news-list time {
  color: var(--ee-blue);
  font-weight: 900;
}
.ee-news-list h3 {
  color: var(--ee-navy);
  font-size: 1.3rem;
  line-height: 1.15;
}
.ee-news-list p {
  color: var(--ee-muted);
}

.ee-ultra-testimonials {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(15,42,67,.94), rgba(15,42,67,.88)),
    url("assets/images/notebook.jpg") center / cover no-repeat;
  color: #fff;
}
.ee-ultra-testimonials h2 {
  max-width: 960px;
  margin: 0 0 34px;
  color: #fff;
  font-size: clamp(2.4rem, 4.8vw, 5.2rem);
  line-height: .94;
}
.ee-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.ee-testimonial-grid blockquote {
  margin: 0;
  padding: 30px;
  background: rgba(255,255,255,.08);
  border-top: 4px solid var(--ee-yellow);
}
.ee-testimonial-grid p {
  color: rgba(255,255,255,.9);
  font-size: 1.08rem;
}
.ee-testimonial-grid cite {
  color: var(--ee-yellow);
  font-style: normal;
  font-weight: 900;
}

.ee-ultra-subscribe {
  padding: 86px 0;
  background: #fff;
  text-align: center;
}
.ee-ultra-subscribe h2 {
  margin: 0 auto 24px;
  max-width: 820px;
  color: var(--ee-navy);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: .95;
}
.ee-ultra-subscribe form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.ee-ultra-subscribe input {
  flex: 1;
  min-height: 50px;
  border: 1px solid var(--ee-line);
  padding: 0 16px;
  font: inherit;
}
.ee-ultra-subscribe button {
  min-height: 50px;
  padding: 0 22px;
}

@media (max-width: 1020px) {
  .ee-ultra-features-grid,
  .ee-news-list,
  .ee-testimonial-grid {
    grid-template-columns: 1fr;
  }
  .ee-ultra-features article,
  .ee-news-list article {
    border-right: 0;
    border-bottom: 1px solid var(--ee-line);
  }
  .ee-event-grid article {
    grid-template-columns: 1fr;
  }
  .ee-countdown {
    grid-template-columns: repeat(2, 110px);
  }
}

@media (max-width: 700px) {
  .ee-ultra-hero {
    min-height: 620px;
  }
  .ee-ultra-hero::after {
    opacity: .35;
    width: 74vw;
  }
  .ee-ultra-section-title {
    display: block;
  }
  .ee-ultra-subscribe form {
    display: grid;
  }
}

/* Phase 2 premium structure */
.ee-home-hero {
  padding: clamp(78px, 9vw, 132px) 0;
  background:
    linear-gradient(90deg, rgba(21,58,91,.92), rgba(21,58,91,.68)),
    url("assets/images/student-laptop.jpg") center / cover no-repeat;
  color: #fff;
}
.ee-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.ee-home-hero h1 {
  max-width: 900px;
  margin: 16px 0 18px;
  color: #fff;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .9;
}
.ee-home-hero p {
  max-width: 760px;
  color: rgba(255,255,255,.9);
  font-size: clamp(1.1rem, 1.5vw, 1.28rem);
}
.ee-home-panel {
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  color: var(--ee-navy);
  box-shadow: var(--ee-shadow);
}
.ee-home-panel h2 { margin-top: 0; color: var(--ee-navy); }
.ee-home-panel ul { padding-left: 20px; color: var(--ee-muted); font-weight: 700; }
.ee-home-section { padding: clamp(58px, 7vw, 108px) 0; }
.ee-home-muted { background: var(--ee-sand); }
.ee-home-dark { background: var(--ee-navy); color: #fff; }
.ee-home-dark h2, .ee-home-dark p { color: #fff; }
.ee-section-title { max-width: 980px; margin-bottom: 30px; }
.ee-section-title h2 {
  margin: 8px 0 0;
  color: var(--ee-navy);
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: .96;
}
.ee-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ee-path-grid article {
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--ee-line);
}
.ee-path-grid span { color: var(--ee-blue); font-weight: 950; }
.ee-path-grid h2 { margin: 8px 0 10px; color: var(--ee-navy); font-size: 1.65rem; }
.ee-path-grid p { color: var(--ee-muted); }
.ee-path-grid a { color: var(--ee-blue); font-weight: 900; }
.ee-step-list { display: grid; gap: 14px; }
.ee-step-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--ee-line);
}
.ee-step-list strong {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ee-blue);
  color: #fff;
}
.ee-step-list p { margin: 0; color: var(--ee-muted); }
.ee-price-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}
.ee-price-strip div {
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--ee-line);
}
.ee-price-strip strong { display: block; color: var(--ee-navy); font-size: 1.4rem; }
.ee-price-strip span { color: var(--ee-muted); }
.ee-faq-list { display: grid; gap: 12px; }
.ee-faq-list details {
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ee-line);
}
.ee-faq-list summary { cursor: pointer; color: var(--ee-navy); font-weight: 900; }
.ee-faq-list p { color: var(--ee-muted); }
.ee-breadcrumb {
  margin-bottom: 16px;
  color: var(--ee-muted);
  font-size: .95rem;
}
.ee-breadcrumb a { color: var(--ee-blue); font-weight: 800; }
@media (max-width: 1100px) {
  .ee-home-hero-grid,
  .ee-path-grid,
  .ee-price-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ee-home-hero-grid,
  .ee-path-grid,
  .ee-price-strip { grid-template-columns: 1fr; }
}

/* Phase 3 visual repair */
.ee-site-header {
  box-shadow: 0 10px 30px rgba(15, 42, 67, .06);
}
.ee-header-inner {
  justify-content: space-between;
}
.ee-logo {
  flex: 0 0 auto;
  max-width: 260px;
  white-space: normal;
}
.ee-logo span:last-child {
  display: inline-block;
}
@media (min-width: 1020px) {
  .ee-nav {
    flex: 1 1 auto;
    min-width: 0;
  }
  .ee-nav ul {
    flex-wrap: wrap;
  }
  .ee-header-actions {
    flex: 0 0 auto;
  }
}
.ee-button,
.wp-block-button__link,
input[type=submit],
button[type=submit] {
  text-decoration: none !important;
  box-shadow: 0 12px 24px rgba(21, 58, 91, .14);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.ee-button:hover,
.wp-block-button__link:hover,
input[type=submit]:hover,
button[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(21, 58, 91, .18);
}
.ee-button-sun {
  color: var(--ee-navy) !important;
  background: linear-gradient(135deg, #ffd36a, #ffb84d);
}
.ee-button-light {
  background: rgba(255,255,255,.92);
  color: var(--ee-navy) !important;
  border: 1px solid rgba(255,255,255,.45);
}
.ee-school-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 211, 106, .45), transparent 25%),
    linear-gradient(110deg, rgba(15, 42, 67, .95) 0%, rgba(21, 58, 91, .76) 48%, rgba(46, 125, 246, .34) 100%),
    url("assets/images/school-hall.jpg") center / cover no-repeat;
}
.ee-school-hero::after {
  content: "";
  position: absolute;
  inset: auto -12vw -18vw auto;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  background: rgba(54, 197, 216, .22);
}
.ee-hero-copy,
.ee-hero-photo-card {
  position: relative;
  z-index: 1;
}
.ee-hero-photo-card {
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(0,0,0,.24);
}
.ee-hero-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ee-hero-photo-card div {
  padding: 22px;
  display: grid;
  gap: 4px;
}
.ee-hero-photo-card strong {
  color: var(--ee-navy);
  font-size: 1.2rem;
}
.ee-hero-photo-card span {
  color: var(--ee-muted);
  font-weight: 700;
}
.ee-visual-band {
  background: #fff;
}
.ee-feature-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.ee-feature-ribbon a {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  border-radius: 30px;
  color: #fff;
  box-shadow: var(--ee-shadow);
}
.ee-feature-ribbon a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(15,42,67,.82));
}
.ee-feature-ribbon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.ee-feature-ribbon a:hover img {
  transform: scale(1.06);
}
.ee-feature-ribbon span {
  position: relative;
  z-index: 1;
  padding: 24px;
  font-size: 1.45rem;
  font-weight: 950;
}
.ee-path-grid-visual article {
  min-height: 260px;
  box-shadow: 0 18px 48px rgba(15,42,67,.08);
}
.ee-photo-split {
  align-items: center;
}
.ee-rounded-photo {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--ee-shadow);
}
.ee-dark-photo {
  background:
    linear-gradient(90deg, rgba(15,42,67,.94), rgba(15,42,67,.82)),
    url("assets/images/medical-team.jpg") center / cover no-repeat;
}
.ee-public-hero {
  position: relative;
  min-height: clamp(420px, 52vw, 640px);
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15,42,67,.94), rgba(15,42,67,.62)),
    var(--ee-page-image) center / cover no-repeat;
}
.ee-public-hero h1 {
  max-width: 980px;
  margin: 14px 0 18px;
  color: #fff;
  font-size: clamp(2.6rem, 6.2vw, 6.4rem);
  line-height: .92;
}
.ee-public-hero p {
  max-width: 760px;
  color: rgba(255,255,255,.92);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
}
.ee-public-body {
  padding: clamp(52px, 7vw, 96px) 0;
  background: linear-gradient(180deg, #fffaf2, #f7f1e7);
}
.ee-public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.ee-public-content {
  min-width: 0;
}
.ee-public-content .ee-pillar {
  display: grid;
  gap: 34px;
}
.ee-public-content .ee-page-header {
  display: none;
}
.ee-content-section {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(227,232,239,.95);
  box-shadow: 0 18px 50px rgba(15,42,67,.07);
}
.ee-content-section h2 {
  margin: 0 0 14px;
  color: var(--ee-navy);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1;
}
.ee-content-section p {
  color: var(--ee-text);
}
.ee-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ee-chip {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef7ff;
  color: var(--ee-navy);
  font-weight: 900;
}
.ee-public-aside {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}
.ee-aside-card {
  overflow: hidden;
  padding: 22px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--ee-line);
  box-shadow: 0 18px 50px rgba(15,42,67,.08);
}
.ee-aside-card h2 {
  margin: 0 0 14px;
  color: var(--ee-navy);
  font-size: 1.35rem;
}
.ee-aside-card a {
  display: block;
  padding: 12px 0;
  color: var(--ee-navy);
  font-weight: 900;
  border-top: 1px solid var(--ee-line);
}
.ee-aside-photo {
  padding: 0;
}
.ee-aside-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ee-warning {
  padding: 18px 20px;
  border-radius: 22px;
  background: #fff3d3;
  border: 1px solid #ffd36a;
  color: #5b4215;
  font-weight: 750;
}
.ee-final-cta {
  margin-top: 34px;
  padding: 32px;
  border-radius: 30px;
  background: var(--ee-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.ee-final-cta h2 {
  margin: 0;
  color: #fff;
}
@media (max-width: 1180px) {
  .ee-feature-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ee-public-layout {
    grid-template-columns: 1fr;
  }
  .ee-public-aside {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .ee-logo {
    max-width: 190px;
    font-size: .92rem;
  }
  .ee-feature-ribbon,
  .ee-public-aside {
    grid-template-columns: 1fr;
  }
  .ee-feature-ribbon a {
    min-height: 220px;
  }
  .ee-final-cta {
    display: grid;
  }
  .ee-public-hero {
    min-height: 520px;
  }
}

/* ================================================================
   CALENDRIER PICTOGRAMMES
   ================================================================ */
.ee-cal { font-family: inherit; }
.ee-cal-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.ee-cal-nav h2 { margin: 0; font-size: 1.3rem; flex: 1; }
.ee-cal-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.ee-cal-filter select { min-height: 40px; border: 1px solid #d9e2ec; border-radius: 10px; padding: 6px 12px; font: inherit; }

.ee-cal-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ee-cal-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
  border-radius: 14px;
  min-width: 60px;
  text-align: center;
}
.ee-cal-stat .n { font-size: 1.1rem; font-weight: 800; }
.ee-cal-stat .l { font-size: .78rem; color: #65758a; margin-top: 2px; }

.ee-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 16px;
}
.ee-cal-dow {
  text-align: center;
  font-size: .78rem;
  font-weight: 800;
  color: #65758a;
  padding: 6px 2px;
  text-transform: uppercase;
}
.ee-cal-day {
  min-height: 80px;
  border: 1px solid var(--ee-line, #e5eaf0);
  border-radius: 12px;
  padding: 6px;
  position: relative;
  background: #fff;
  cursor: default;
  transition: background .15s;
}
.ee-cal-day.today { border-color: var(--ee-blue, #0f6fdf); background: #eff6ff; }
.ee-cal-day.weekend { background: #fafbfc; }
.ee-cal-day.has-data { cursor: pointer; }
.ee-cal-day.has-data:hover { background: #f0f7ff; }
.ee-cal-day.empty { background: transparent; border-color: transparent; }

.ee-cal-dnum {
  display: block;
  font-size: .82rem;
  font-weight: 800;
  color: #153a5b;
  margin-bottom: 4px;
}
.ee-cal-day.today .ee-cal-dnum { color: var(--ee-blue, #0f6fdf); }

.ee-cal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 2px;
}
.ee-cal-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: .72rem;
  padding: 2px 6px;
  border-radius: 8px;
  line-height: 1.3;
  white-space: nowrap;
}
.ee-cal-pill .ico { font-size: .9rem; }

.ee-cal-hyd {
  display: block;
  font-size: .72rem;
  color: #0369a1;
  margin-top: 3px;
}
.ee-cal-add {
  position: absolute;
  bottom: 4px;
  right: 6px;
  font-size: .82rem;
  color: var(--ee-blue, #0f6fdf);
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transition: opacity .15s;
}
.ee-cal-day:hover .ee-cal-add { opacity: 1; }

.ee-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ee-line, #e5eaf0);
}
.ee-cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: 10px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .ee-cal-grid { gap: 2px; }
}

/* ===== INTRANET PAGE STYLES ===== */
.ee-page {
  padding: 40px 0;
  min-height: calc(100vh - 140px);
}

.ee-intranet-page {
  max-width: 900px;
  margin: 0 auto;
}

.ee-page-header {
  margin-bottom: 32px;
}

.ee-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ee-muted);
  margin: 0 0 12px 0;
}

.ee-page-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ee-navy);
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.ee-page-header p {
  font-size: 1.1rem;
  color: var(--ee-muted);
  margin: 0;
  line-height: 1.6;
}

.ee-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.ee-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.ee-button-primary {
  background: var(--ee-navy);
  color: #fff;
}

.ee-button-primary:hover {
  background: var(--ee-navy-2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 42, 67, 0.2);
}

.ee-button-secondary {
  background: #fff;
  color: var(--ee-navy);
  border: 2px solid var(--ee-line);
}

.ee-button-secondary:hover {
  border-color: var(--ee-navy);
  background: var(--ee-cream);
}

.ee-card {
  background: #fff;
  border-radius: var(--ee-radius);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(15, 42, 67, 0.08);
  margin-bottom: 24px;
}

.ee-help-card {
  background: var(--ee-sand);
  border-radius: var(--ee-radius);
  padding: 24px 32px;
  border-left: 4px solid var(--ee-yellow);
}

.ee-help-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ee-navy);
  margin: 0 0 8px 0;
}

.ee-help-card p {
  font-size: 0.95rem;
  color: var(--ee-muted);
  margin: 0;
  line-height: 1.6;
}

.ee-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--ee-muted);
}

.ee-empty-state h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ee-navy);
  margin: 0 0 8px 0;
}

.ee-empty-state p {
  font-size: 0.95rem;
  margin: 0;
}

.ee-panel {
  background: #fff;
  border-radius: var(--ee-radius);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(15, 42, 67, 0.08);
}

.ee-panel-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ee-line);
}

.ee-panel-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ee-navy);
  margin: 0;
}

.ee-panel-body {
  color: var(--ee-text);
}

.ee-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ee-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ee-form-row label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ee-navy);
}

.ee-form-row input,
.ee-form-row textarea,
.ee-form-row select {
  padding: 12px 16px;
  border: 2px solid var(--ee-line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.ee-form-row input:focus,
.ee-form-row textarea:focus,
.ee-form-row select:focus {
  outline: none;
  border-color: var(--ee-blue);
}

.ee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.ee-table th,
.ee-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--ee-line);
}

.ee-table th {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ee-muted);
  background: var(--ee-cream);
}

.ee-table tr:hover {
  background: var(--ee-cream);
}

.ee-button-small {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 8px;
  background: var(--ee-navy);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.ee-button-small:hover {
  background: var(--ee-navy-2);
}

@media (max-width: 640px) {
  .ee-page {
    padding: 24px 0;
  }

  .ee-page-header h1 {
    font-size: 1.6rem;
  }

  .ee-card,
  .ee-panel {
    padding: 20px;
  }

  .ee-actions {
    flex-direction: column;
  }

  .ee-button {
    width: 100%;
  }

  .ee-table {
    font-size: 0.9rem;
  }

  .ee-table th,
  .ee-table td {
    padding: 10px 12px;
  }

  .ee-cal-day { min-height: 54px; padding: 4px; }
  .ee-cal-pill span:not(.ico) { display: none; }
  .ee-cal-dnum { font-size: .75rem; }
  .ee-form-row { grid-template-columns: 1fr; }
}

/* ── Notifications ── */
.ee-unread { background: #f0f7ff; }
tr.ee-unread td { font-weight: 700; }

/* ── Login box enhancements ── */
.ee-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* ── Stat mini-cards ── */
.ee-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 24px; }
.ee-kpi { background: #f6f9fc; border-radius: 18px; padding: 18px 20px; text-align: center; border: 1px solid var(--ee-line, #e5eaf0); }
.ee-kpi strong { display: block; font-size: 2rem; font-weight: 900; color: var(--ee-navy, #153a5b); line-height: 1.1; }
.ee-kpi span { font-size: .85rem; color: #65758a; }

/* ── Intranet menu mobile ── */
@media (max-width: 899px) {
  .ee-intranet-layout {
    grid-template-columns: 1fr;
  }
  .ee-intranet-sidebar {
    position: static;
    order: -1;
  }
  .ee-intranet-sidebar .ee-intranet-menu ul {
    flex-direction: row;
    overflow-x: auto;
  }
}
@media (max-width: 640px) {
  .ee-intranet-menu { display: flex; flex-wrap: wrap; gap: 8px; }
  .ee-intranet-menu a { padding: 7px 12px; font-size: .82rem; }
}
