/*
Theme Name: EDUTIC-CI École 4G
Author: EDUTIC-CI
Description: Thème WordPress immersif pour la plateforme pédagogique EDUTIC-CI – École 4G, classe de 4e. Intègre le portail HTML autonome V13 (6 matières, 73 leçons).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: edutic-ci-ecole4g
Tags: education, e-learning, custom-logo, full-width-template
*/

/* Styles du thème WordPress autour du portail EDUTIC-CI. */
:root {
  --edutic-navy: #002060;
  --edutic-blue: #164b91;
  --edutic-green: #00b85a;
  --edutic-ink: #14223d;
  --edutic-bg: #f4f7fc;
}
html, body {
  margin: 0;
  min-height: 100%;
}
body.edutic-app-page {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--edutic-navy);
}
.edutic-portal {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 480px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--edutic-navy);
}
.edutic-portal iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
  margin: 0;
  padding: 0;
  background: #fff;
}
body.admin-bar .edutic-portal {
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .edutic-portal {
    height: calc(100vh - 46px);
    height: calc(100dvh - 46px);
  }
}
.edutic-basic-page {
  max-width: 1100px;
  margin: 40px auto;
  padding: 24px;
  color: var(--edutic-ink);
  background: #fff;
  border: 1px solid #dce5f2;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,32,96,.08);
}
.edutic-basic-page h1,
.edutic-basic-page h2 {
  color: var(--edutic-navy);
}
.edutic-site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px max(20px, calc((100vw - 1100px)/2));
  background: var(--edutic-navy);
  color: #fff;
}
.edutic-site-header a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.edutic-site-header .custom-logo {
  max-height: 48px;
  width: auto;
}
.edutic-site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.edutic-site-footer {
  padding: 16px 24px;
  color: #fff;
  background: var(--edutic-navy);
  text-align: center;
  font-size: 13px;
}
@media (max-width: 700px) {
  .edutic-site-header { align-items: flex-start; flex-direction: column; }
  .edutic-site-nav ul { gap: 10px; }
  .edutic-basic-page { margin: 16px; padding: 18px; }
}
