:root{--orange:#ff6518;--navy:#0b2b59;--blue:#1595e7;--green:#43b84a;--yellow:#ffd650;--purple:#8d4bea;--cream:#fff9f2;--text:#10294f;--muted:#5f6f83;--shadow:0 12px 34px rgba(19,47,83,.10)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:#fff}.container{width:min(1180px,calc(100% - 40px));margin:auto}a{color:inherit;text-decoration:none}.lp-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);box-shadow:0 2px 14px rgba(0,0,0,.06)}.lp-top{min-height:82px;display:flex;align-items:center;gap:24px}.lp-brand{display:flex;align-items:center;gap:12px;line-height:1.05}.lp-brand .custom-logo{max-height:65px;width:auto}.lp-mark{font-size:42px}.lp-brand b,.lp-brand em{display:block;font-size:12px;font-style:normal}.lp-brand strong{display:block;color:var(--orange);font:800 20px Georgia,serif}.lp-motto{margin-right:auto;color:var(--orange);font:italic 19px Georgia,serif;transform:rotate(-3deg)}.lp-audience{display:flex;align-items:center;gap:18px;font-size:13px}.lp-audience .portal{background:var(--orange);color:#fff;padding:10px 18px;border-radius:9px}.lp-nav{border-top:1px solid #eef1f5}.lp-nav .menu{display:flex;list-style:none;margin:0;padding:0;gap:4px}.lp-nav a{display:block;padding:15px 14px;font-weight:750;font-size:13px}.lp-nav a:hover{color:var(--orange)}.lp-menu-toggle{display:none;border:0;background:none;font-size:26px}.lp-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff 0,#fff9ef 48%,#eefaff 100%);padding:24px 0 0}.lp-hero:before,.lp-hero:after{content:"";position:absolute;border-radius:50%;filter:blur(1px)}.lp-hero:before{width:260px;height:260px;background:#dff6ef;left:-160px;top:60px}.lp-hero:after{width:230px;height:230px;background:#fff0a9;right:-120px;top:-90px}.lp-hero-grid{display:grid;grid-template-columns:42% 58%;min-height:440px;position:relative;z-index:1}.lp-hero-copy{padding:52px 34px 50px 10px}.lp-kicker{color:var(--blue);font-weight:800;letter-spacing:.06em;text-transform:uppercase;font-size:12px;margin-bottom:12px}.lp-hero h1{font:800 clamp(40px,5vw,66px)/.98 Georgia,serif;margin:0 0 20px;color:var(--navy)}.lp-hero h1::first-line{color:var(--navy)}.lp-hero-copy p{font-size:17px;line-height:1.6;max-width:540px}.lp-btn{display:inline-block;margin-top:10px;background:var(--orange);color:#fff;font-weight:800;padding:14px 24px;border-radius:999px}.lp-btn.white{background:#fff;color:var(--orange)}.lp-hero-photo{min-height:440px;border-radius:80px 0 0 80px;background:linear-gradient(135deg,#ffe6b5,#cdeeff);background-size:cover;background-position:center;position:relative;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4)}.lp-hero-photo:before{content:"Imaginea principală a colegiului";position:absolute;inset:0;display:grid;place-items:center;color:#6d7a84;font-weight:700}.lp-hero-photo[style]:before{display:none}.lp-photo-note{position:absolute;right:25px;top:32px;background:var(--orange);color:#fff;padding:18px 22px;border-radius:22px 4px 22px 22px;font:italic 20px Georgia,serif;transform:rotate(-4deg)}.lp-doodle{position:absolute;font-size:40px;color:var(--blue);z-index:2}.d1{left:2%;top:38%}.d2{right:2%;bottom:18%;color:var(--orange)}.lp-quick{position:relative;z-index:3;margin-top:-18px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.lp-quick-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;background:#fff;border-radius:20px;padding:18px;box-shadow:var(--shadow);transition:.2s}.lp-quick-card:hover{transform:translateY(-3px)}.lp-quick-card .ico{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:25px;background:var(--orange)}.lp-quick-card.orar .ico{background:var(--blue)}.lp-quick-card.examene .ico{background:var(--green)}.lp-quick-card.documente .ico{background:var(--purple)}.lp-quick-card b,.lp-quick-card small{display:block}.lp-quick-card b{font:700 21px Georgia,serif}.lp-quick-card small{color:var(--muted);margin-top:4px}.lp-quick-card i{font-size:28px;font-style:normal}.lp-section{padding:62px 0}.lp-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.lp-heading h2{font:800 34px Georgia,serif;margin:7px 0 0}.lp-heading span{display:block;width:30px;height:4px;background:var(--orange);border-radius:4px}.lp-heading>a{color:var(--orange);font-weight:750;font-size:14px}.lp-levels{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.lp-level{position:relative;overflow:hidden;border-radius:18px;padding:0 20px 22px;min-height:290px;box-shadow:var(--shadow);background:#ffe3e3}.lp-level.gimnaziu{background:#dff1ff}.lp-level.liceu{background:#fff2ad}.lp-level.pedagogic{background:#ddf5d9}.level-photo{height:130px;margin:0 -20px 18px;background:linear-gradient(135deg,rgba(255,255,255,.35),rgba(16,41,79,.13))}.level-ico{position:absolute;top:104px;left:20px;width:52px;height:52px;background:#fff;border-radius:50%;display:grid;place-items:center;font-size:24px;box-shadow:var(--shadow)}.lp-level h3{font:800 25px/1.05 Georgia,serif;margin:28px 0 7px}.lp-level p{margin:0;color:#354c67;line-height:1.4}.lp-level i{position:absolute;right:18px;bottom:18px;color:var(--orange);font-size:24px}.lp-community{background:linear-gradient(90deg,var(--orange),#ff8a1e 62%,#fff7e8 62%)}.lp-community-grid{display:grid;grid-template-columns:38% 32% 30%;min-height:340px}.lp-community-copy{color:#fff;padding:58px 42px 50px 0}.lp-community-copy h2{font:800 42px/1.05 Georgia,serif;margin:10px 0}.lp-community-copy p{line-height:1.55}.lp-community-photo{background:linear-gradient(135deg,#ffd07a,#a8ddec);margin:0}.lp-stats{background:#fffaf2;padding:36px;border-radius:26px 0 0 26px;margin:24px 0}.lp-stats h3{font:800 27px Georgia,serif}.lp-stats p{border-bottom:1px solid #eadfce;padding:11px 0;margin:0}.lp-stats b,.lp-stats span{display:block}.lp-stats b{font-size:22px}.lp-stats span{color:var(--muted);font-size:13px}.lp-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.lp-news-card{border-radius:16px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.lp-news-img{height:180px;display:block;overflow:hidden}.lp-news-img img{width:100%;height:100%;object-fit:cover}.lp-placeholder{background:linear-gradient(135deg,#f8c976,#a8d9f5);display:grid;place-items:center;font-weight:800}.lp-news-body{padding:20px;position:relative}.lp-date{color:var(--orange);font-weight:800;text-transform:uppercase;font-size:12px}.lp-news-card h3{font:800 21px/1.15 Georgia,serif;margin:8px 0}.lp-news-card p{color:var(--muted);line-height:1.5}.lp-more{color:var(--orange);font-weight:750}.lp-projects{background:#fffaf4;padding:50px 0}.lp-project-row{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.lp-project-row span{background:#fff;border:1px solid #eef0f2;border-radius:12px;min-height:68px;display:grid;place-items:center;text-align:center;font-weight:800;padding:10px}.lp-gallery{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.lp-gallery div{height:120px;border-radius:14px;background:linear-gradient(135deg,#ffd06f,#9fdcf4)}.lp-gallery div:nth-child(2n){background:linear-gradient(135deg,#b8ebc3,#fff0a9)}.lp-gallery div:nth-child(3n){background:linear-gradient(135deg,#e7c7ff,#ffcfb2)}.lp-content{padding:60px 0;max-width:900px}.lp-content h1{font:800 44px Georgia,serif}.lp-content article{font-size:17px;line-height:1.7}.lp-footer{background:var(--navy);color:#fff;margin-top:40px;padding:44px 0 20px}.lp-footer-grid{display:grid;grid-template-columns:2fr 1fr;gap:30px}.lp-footer a{color:#fff}.lp-copy{border-top:1px solid rgba(255,255,255,.15);padding-top:18px;margin-top:24px;font-size:13px;opacity:.8}
@media(max-width:900px){.lp-motto,.lp-audience{display:none}.lp-menu-toggle{display:block;margin-left:auto}.lp-nav{display:none}.lp-nav.open{display:block}.lp-nav .menu{display:block;padding:10px 0}.lp-hero-grid{grid-template-columns:1fr}.lp-hero-copy{padding:42px 10px}.lp-hero-photo{min-height:340px;border-radius:34px}.lp-quick{grid-template-columns:1fr 1fr;margin-top:18px}.lp-levels{grid-template-columns:1fr 1fr}.lp-community{background:var(--orange)}.lp-community-grid{grid-template-columns:1fr 1fr}.lp-stats{grid-column:1/-1;border-radius:20px}.lp-news-grid{grid-template-columns:1fr}.lp-project-row{grid-template-columns:repeat(3,1fr)}.lp-gallery{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.container{width:min(100% - 24px,1180px)}.lp-top{min-height:70px}.lp-brand b,.lp-brand em{font-size:9px}.lp-brand strong{font-size:16px}.lp-hero h1{font-size:43px}.lp-photo-note{font-size:16px}.lp-quick{grid-template-columns:1fr}.lp-levels{grid-template-columns:1fr}.lp-community-grid{grid-template-columns:1fr}.lp-community-copy{padding:45px 8px}.lp-community-photo{height:260px}.lp-heading{align-items:flex-start;gap:15px}.lp-heading h2{font-size:29px}.lp-heading>a{display:none}.lp-project-row{grid-template-columns:1fr 1fr}.lp-gallery{grid-template-columns:1fr 1fr}.lp-footer-grid{grid-template-columns:1fr}}

/* v0.1.1 — wide Pedagogic layout */
.lp-shell{width:calc(100% - 56px);max-width:1720px;margin-inline:auto}
.lp-header .container{width:calc(100% - 56px);max-width:1720px}
.lp-hero{padding-top:20px}
.lp-hero-grid{grid-template-columns:minmax(390px,36%) minmax(0,64%);min-height:520px}
.lp-hero-copy{padding:58px 54px 70px 6px;display:flex;flex-direction:column;justify-content:center}
.lp-hero h1{font-size:clamp(48px,4.2vw,76px);max-width:700px}
.lp-hero-copy p{max-width:650px;font-size:18px}
.lp-hero-photo{min-height:520px;border-radius:52px 0 0 52px;background-position:center;background-size:cover}
.lp-quick{margin-top:-34px;gap:14px}
.lp-quick-card{padding:20px 22px}
.lp-section{padding:72px 0}
.lp-levels{gap:22px}
.lp-level{min-height:330px}
.level-photo{height:155px}
.lp-community-grid{grid-template-columns:36% 38% 26%;min-height:390px}
.lp-news-grid{gap:24px}
.lp-news-img{height:220px}
.lp-gallery div{height:150px}
@media(max-width:1100px){.lp-shell,.lp-header .container{width:calc(100% - 36px)}.lp-hero-grid{grid-template-columns:42% 58%}.lp-hero h1{font-size:52px}.lp-hero-copy{padding-right:28px}}
@media(max-width:900px){.lp-shell,.lp-header .container{width:calc(100% - 28px)}.lp-hero-grid{grid-template-columns:1fr}.lp-hero-photo{border-radius:30px;min-height:420px}.lp-quick{margin-top:18px}.lp-community-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.lp-shell,.lp-header .container{width:calc(100% - 20px)}.lp-hero-copy{padding:36px 4px 28px}.lp-hero h1{font-size:42px}.lp-hero-photo{min-height:300px}.lp-section{padding:48px 0}}

/* v0.1.3 — full-width hero, overlay navigation cards, developer signature */
.lp-hero-full{padding:0;background:#fff;overflow:visible}
.lp-hero-full:before,.lp-hero-full:after{display:none}
.lp-hero-stage{position:relative;width:100%;min-height:clamp(560px,47vw,820px);background-image:var(--lp-hero-image);background-size:cover;background-position:center center;background-repeat:no-repeat}
.lp-hero-stage:after{content:"";position:absolute;left:0;right:0;bottom:0;height:30%;background:linear-gradient(to top,rgba(7,32,66,.28),transparent);pointer-events:none}
.lp-hero-shade{position:absolute;inset:0;pointer-events:none}
.lp-hero-actions{position:absolute;z-index:4;left:50%;bottom:28px;transform:translateX(-50%);width:calc(100% - 56px);max-width:1720px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.lp-hero-actions .lp-quick-card{background:rgba(255,255,255,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.75);box-shadow:0 14px 40px rgba(7,32,66,.18);min-height:92px;padding:18px 20px}
.lp-hero-actions .lp-quick-card:hover{transform:translateY(-5px);box-shadow:0 18px 48px rgba(7,32,66,.24)}
.lp-footer{margin-top:40px;padding-bottom:24px}
.lp-footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:28px;padding-top:22px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.lp-footer-bottom .lp-copy{border:0;padding:0;margin:0;opacity:.72}
.lp-signature{text-align:right;display:flex;flex-direction:column;align-items:flex-end;line-height:1.2}
.lp-signature span{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.62);margin-bottom:5px}
.lp-signature strong{position:relative;display:inline-block;color:#ffb06d;font:italic 600 20px Georgia,serif;letter-spacing:.01em;padding-bottom:6px}
.lp-signature strong:after{content:"";position:absolute;left:12%;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,#ff7a2f 22%,#ffd0a8 72%,transparent);transform:rotate(-1deg);border-radius:999px}
@media(max-width:900px){.lp-hero-stage{min-height:620px;background-position:center}.lp-hero-actions{width:calc(100% - 28px);grid-template-columns:1fr 1fr;bottom:18px}.lp-hero-actions .lp-quick-card{min-height:82px}.lp-footer-bottom{align-items:flex-start;flex-direction:column}.lp-signature{text-align:left;align-items:flex-start}}
@media(max-width:600px){.lp-hero-stage{min-height:690px;background-position:62% center}.lp-hero-actions{width:calc(100% - 20px);grid-template-columns:1fr;gap:8px;bottom:10px}.lp-hero-actions .lp-quick-card{min-height:66px;padding:10px 14px;border-radius:16px}.lp-hero-actions .lp-quick-card .ico{width:42px;height:42px;font-size:20px}.lp-hero-actions .lp-quick-card b{font-size:18px}.lp-hero-actions .lp-quick-card small{font-size:12px}.lp-signature strong{font-size:18px}}

/* v0.1.4 — dark full-width sticky header, correct WordPress admin-bar offset */
.lp-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#101820;
  color:#fff;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  box-shadow:0 8px 24px rgba(4,14,25,.18);
}
.admin-bar .lp-header{top:32px}
.lp-header .lp-top,
.lp-header .lp-nav{background:#101820}
.lp-header .lp-top{min-height:82px}
.lp-header .lp-brand{color:#fff}
.lp-header .lp-brand b,
.lp-header .lp-brand em{color:#f5f7fa}
.lp-header .lp-brand strong{color:var(--orange)}
.lp-header .lp-motto{color:#ff8a4c}
.lp-header .lp-audience a{color:#f7f9fc}
.lp-header .lp-audience a:hover{color:#ff9a62}
.lp-header .lp-audience .portal{color:#fff;background:var(--orange);box-shadow:0 7px 20px rgba(255,101,24,.22)}
.lp-header .lp-nav{border-top:1px solid rgba(255,255,255,.10);border-bottom:1px solid rgba(255,255,255,.06)}
.lp-header .lp-nav a{color:#fff}
.lp-header .lp-nav a:hover,
.lp-header .lp-nav .current-menu-item>a,
.lp-header .lp-nav .current_page_item>a{color:#ff9a62}
.lp-header .lp-menu-toggle{color:#fff}
@media(max-width:782px){.admin-bar .lp-header{top:46px}}
@media(max-width:600px){.lp-header .lp-top{min-height:70px}}

/* =========================================================
   v0.1.6 — Interior pages + History page
   ========================================================= */

.lp-page{
  background:#fff;
  overflow:hidden;
}

.lp-page-hero{
  position:relative;
  padding:72px 0 66px;
  background:
    radial-gradient(circle at 88% 18%,rgba(255,214,80,.32) 0 90px,transparent 91px),
    radial-gradient(circle at 5% 85%,rgba(21,149,231,.10) 0 150px,transparent 151px),
    linear-gradient(135deg,#fffaf4 0%,#ffffff 52%,#f1f9ff 100%);
  border-bottom:1px solid #edf1f5;
}

.lp-page-hero:after{
  content:"";
  position:absolute;
  width:120px;
  height:8px;
  left:50%;
  bottom:-4px;
  transform:translateX(-50%);
  border-radius:999px;
  background:var(--orange);
}

.lp-page-kicker{
  margin-bottom:12px;
  color:var(--orange);
  font-size:13px;
  line-height:1.3;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.lp-page-hero h1{
  max-width:1000px;
  margin:0;
  color:var(--navy);
  font:800 clamp(42px,5vw,68px)/1.02 Georgia,serif;
  letter-spacing:-.025em;
}

.lp-page-lead{
  max-width:720px;
  margin:20px 0 0;
  color:#53677e;
  font-size:19px;
  line-height:1.65;
}

.lp-page-body{
  padding-top:68px;
  padding-bottom:80px;
}

.lp-page-article{
  width:min(100%,980px);
  margin:0 auto;
  color:#263d59;
  font-size:17px;
  line-height:1.8;
}

.lp-page-article p{
  margin:0 0 26px;
}

.lp-page-article a{
  color:var(--orange);
  font-weight:700;
}

.lp-page-article img{
  display:block;
  max-width:100%;
  height:auto;
  margin:42px auto;
  border-radius:24px;
  box-shadow:0 22px 55px rgba(11,43,89,.16);
}

/* History */
.lp-page-history .lp-page-hero{
  padding-top:82px;
  padding-bottom:76px;
}

.lp-page-history .lp-page-article > p:first-child{
  position:relative;
  margin:0 0 42px;
  padding:30px 34px 30px 42px;
  background:#fff8ef;
  border-radius:0 22px 22px 0;
  color:var(--navy);
  font:500 20px/1.75 Georgia,serif;
  box-shadow:0 14px 40px rgba(19,47,83,.07);
}

.lp-page-history .lp-page-article > p:first-child:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:7px;
  background:var(--orange);
  border-radius:7px;
}

.lp-page-history .lp-page-article > img{
  width:min(100%,820px);
  max-height:580px;
  object-fit:cover;
  border:8px solid #fff;
  outline:1px solid #edf0f3;
}

.lp-page-history .lp-page-article > ul{
  position:relative;
  list-style:none;
  margin:64px 0 10px;
  padding:12px 0 12px 52px;
}

.lp-page-history .lp-page-article > ul:before{
  content:"";
  position:absolute;
  left:16px;
  top:0;
  bottom:0;
  width:3px;
  border-radius:999px;
  background:linear-gradient(
    to bottom,
    var(--orange),
    var(--yellow),
    var(--green),
    var(--blue),
    var(--purple)
  );
}

.lp-page-history .lp-page-article > ul li{
  position:relative;
  margin:0 0 18px;
  padding:22px 26px;
  background:#fff;
  border:1px solid #edf0f3;
  border-radius:18px;
  box-shadow:0 10px 28px rgba(19,47,83,.07);
  color:#334b67;
  line-height:1.65;
}

.lp-page-history .lp-page-article > ul li:before{
  content:"";
  position:absolute;
  left:-45px;
  top:29px;
  width:17px;
  height:17px;
  border:5px solid #fff;
  border-radius:50%;
  background:var(--orange);
  box-shadow:0 0 0 2px rgba(255,101,24,.20);
}

.lp-page-history .lp-page-article > ul li:first-child{
  background:var(--navy);
  border-color:var(--navy);
  color:#fff;
  font:700 21px/1.4 Georgia,serif;
}

.lp-page-history .lp-page-article > ul li:first-child:before{
  background:var(--navy);
  box-shadow:0 0 0 2px rgba(11,43,89,.20);
}

@media(max-width:900px){
  .lp-page-hero{
    padding:58px 0 54px;
  }

  .lp-page-body{
    padding-top:52px;
    padding-bottom:60px;
  }

  .lp-page-history .lp-page-article > p:first-child{
    padding:25px 26px 25px 32px;
  }
}

@media(max-width:600px){
  .lp-page-hero{
    padding:44px 0 42px;
  }

  .lp-page-hero h1{
    font-size:39px;
  }

  .lp-page-lead{
    font-size:17px;
  }

  .lp-page-body{
    padding-top:38px;
    padding-bottom:48px;
  }

  .lp-page-article{
    font-size:16px;
    line-height:1.72;
  }

  .lp-page-history .lp-page-article > p:first-child{
    margin-bottom:30px;
    padding:22px 20px 22px 26px;
    font-size:18px;
  }

  .lp-page-article img{
    margin:30px auto;
    border-radius:16px;
  }

  .lp-page-history .lp-page-article > ul{
    margin-top:42px;
    padding-left:34px;
  }

  .lp-page-history .lp-page-article > ul:before{
    left:8px;
  }

  .lp-page-history .lp-page-article > ul li{
    padding:18px;
    border-radius:14px;
  }

  .lp-page-history .lp-page-article > ul li:before{
    left:-34px;
    top:24px;
    width:15px;
    height:15px;
  }
}

/* v0.1.6 — wider interior content on desktop */
@media(min-width:901px){
  .lp-page-article{
    width:min(100%,1280px);
  }

  .lp-page-history .lp-page-article > p:first-child{
    width:min(100%,1120px);
    margin-left:auto;
    margin-right:auto;
  }

  .lp-page-history .lp-page-article > img{
    width:min(100%,980px);
  }
}

/* v0.1.6 — interior pages use 90% of desktop viewport */
@media(min-width:901px){
  .lp-page > .lp-page-hero .lp-shell,
  .lp-page > .lp-page-body{
    width:90%;
    max-width:1550px;
  }

  .lp-page-article{
    width:100%;
    max-width:none;
  }

  /* Long reading blocks remain comfortable */
  .lp-page-history .lp-page-article > p:not(:first-child){
    width:min(100%,1250px);
    margin-left:auto;
    margin-right:auto;
  }

  .lp-page-history .lp-page-article > p:first-child{
    width:min(100%,1250px);
  }

  /* Historical material may use more of the page */
  .lp-page-history .lp-page-article > img{
    width:min(100%,1100px);
  }

  .lp-page-history .lp-page-article > ul{
    width:min(100%,1350px);
    margin-left:auto;
    margin-right:auto;
  }
}

/* v0.1.6 — History timeline polish */
@media(min-width:601px){

  .lp-page-history .lp-page-article > ul{
    padding-left:64px;
  }

  .lp-page-history .lp-page-article > ul:before{
    left:20px;
    width:4px;
  }

  .lp-page-history .lp-page-article > ul li{
    margin-bottom:22px;
    padding:25px 30px;
    border-radius:20px;
    font-size:18px;
    line-height:1.65;
    box-shadow:0 12px 32px rgba(19,47,83,.08);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  }

  .lp-page-history .lp-page-article > ul li:hover{
    transform:translateX(5px);
    border-color:rgba(255,101,24,.25);
    box-shadow:0 16px 38px rgba(19,47,83,.12);
  }

  .lp-page-history .lp-page-article > ul li:before{
    left:-54px;
    top:29px;
    width:20px;
    height:20px;
    border-width:5px;
  }

  .lp-page-history .lp-page-article > ul li:first-child{
    padding:27px 30px;
    font-size:23px;
    background:linear-gradient(135deg,var(--navy),#17467e);
    box-shadow:0 16px 38px rgba(11,43,89,.18);
  }

  .lp-page-history .lp-page-article > ul li:not(:first-child)::first-line{
    color:var(--navy);
    font-weight:800;
  }
}

/* v0.1.6 — timeline typography correction */
.lp-page-history .lp-page-article > ul li:not(:first-child)::first-line{
  color:inherit;
  font-weight:400;
}

/* v0.1.6 — improved reading typography for interior pages */
@media(min-width:901px){
  .lp-page-article{
    font-size:18px;
    line-height:1.82;
  }

  .lp-page-article p{
    margin-bottom:30px;
  }
}

/* v0.1.6 — editorial paragraph indentation */
.lp-page-article > p:not(:first-child){
  text-indent:2em;
}


/* v0.1.7 — official crest and footer credit placement */
.lp-official-logo{
  display:block;
  width:auto;
  height:68px;
  max-width:92px;
  object-fit:contain;
  flex:0 0 auto;
}
.lp-brand-name{display:block;min-width:0}
.lp-footer-bottom{justify-content:flex-start}
.lp-footer-credit{display:flex;flex-direction:column;align-items:flex-start;gap:12px;max-width:760px}
.lp-footer-bottom .lp-signature{text-align:left;align-items:flex-start}
.lp-footer-bottom .lp-copy{width:auto}
@media(max-width:900px){
  .lp-official-logo{height:62px;max-width:84px}
  .lp-footer-credit{gap:10px}
}
@media(max-width:600px){
  .lp-official-logo{height:54px;max-width:72px}
  .lp-brand{gap:9px}
  .lp-brand-name b,.lp-brand-name em{font-size:8px}
  .lp-brand-name strong{font-size:15px}
}

/* =========================================================
   v0.1.11 — administrator visual direction
   Orange identity, navy instead of black, pale rounded cards,
   priority area, Mission/Vision, 7-item navigation + submenus.
   ========================================================= */
:root{
  --lp-orange:#f47a20;
  --lp-orange-soft:#fff2e8;
  --lp-navy:#17324d;
  --lp-navy-2:#234866;
  --lp-gray:#eef2f4;
  --lp-pale-blue:#eef7fb;
  --lp-pale-green:#eff8f1;
  --lp-pale-yellow:#fff8df;
}
.lp-header{background:var(--lp-navy);border-top:6px solid var(--lp-orange);box-shadow:0 8px 24px rgba(23,50,77,.16)}
.lp-header .lp-top,.lp-header .lp-nav{background:var(--lp-navy)}
.lp-header .lp-nav{border-top:1px solid rgba(255,255,255,.12);border-bottom:0}
.lp-header .lp-brand strong,.lp-header .lp-motto{color:#ff9a54}
.lp-header .lp-audience .portal{background:var(--lp-orange)}
.lp-header .lp-nav>.container>.menu{justify-content:center;gap:0}
.lp-header .lp-nav .menu>li>a{padding:14px 11px;font-size:12.5px;white-space:nowrap}
.lp-header .lp-nav .menu li{position:relative}
.lp-header .lp-nav .sub-menu{position:absolute;left:0;top:100%;z-index:1002;min-width:245px;margin:0;padding:9px;list-style:none;background:#fff;color:var(--lp-navy);border:1px solid #e6ecef;border-radius:0 0 16px 16px;box-shadow:0 18px 40px rgba(23,50,77,.16);opacity:0;visibility:hidden;transform:translateY(7px);transition:.18s ease}
.lp-header .lp-nav .sub-menu a{padding:11px 13px;border-radius:10px;color:var(--lp-navy);font-size:13px;font-weight:700;white-space:normal}
.lp-header .lp-nav .sub-menu a:hover{background:var(--lp-orange-soft);color:#b84f08}
.lp-header .lp-nav li:hover>.sub-menu,.lp-header .lp-nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.lp-header .lp-nav .sub-menu .sub-menu{left:100%;top:-9px;border-radius:16px}

.lp-priority{padding-top:44px}
.lp-priority-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:26px 30px;background:linear-gradient(135deg,#fff4e9,#fffaf5);border:1px solid #ffe0c8;border-radius:26px;box-shadow:0 14px 36px rgba(23,50,77,.08)}
.lp-priority-mark{align-self:start;padding:8px 12px;background:var(--lp-orange);color:#fff;border-radius:999px;font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.lp-priority-copy h2{margin:0 0 8px;color:var(--lp-navy);font:800 30px/1.08 Georgia,serif}
.lp-priority-copy p{margin:0;color:#53677a;line-height:1.65}
.lp-priority-link{font-weight:800;color:#c85b10;white-space:nowrap}

.lp-values{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding-top:28px;padding-bottom:18px}
.lp-value-card{position:relative;overflow:hidden;min-height:210px;padding:34px 36px;border-radius:28px;border:1px solid rgba(23,50,77,.06);box-shadow:0 12px 32px rgba(23,50,77,.07)}
.lp-value-card:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-58px;bottom:-70px;opacity:.55}
.lp-value-card.mission{background:var(--lp-pale-blue)}
.lp-value-card.mission:after{background:#cdeaf6}
.lp-value-card.vision{background:var(--lp-pale-green)}
.lp-value-card.vision:after{background:#d4efd9}
.lp-value-kicker{display:block;margin-bottom:10px;color:var(--lp-orange);font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.lp-value-card h2{position:relative;z-index:1;margin:0 0 14px;color:var(--lp-navy);font:800 34px/1.05 Georgia,serif}
.lp-value-card p{position:relative;z-index:1;margin:0;max-width:720px;color:#4d6478;font-size:16px;line-height:1.65}
.lp-value-placeholder{font-style:italic;opacity:.68}

.lp-level{border-radius:26px;box-shadow:0 12px 32px rgba(23,50,77,.08)}
.lp-level.primar{background:#fff0ed}.lp-level.gimnaziu{background:#eaf6fd}.lp-level.liceu{background:#fff7d9}.lp-level.pedagogic{background:#edf8ed}
.lp-news-card,.lp-project-row span{border-radius:22px;box-shadow:0 10px 28px rgba(23,50,77,.07)}
.lp-projects{background:#f7f8f8}

/* The old hard orange community block is intentionally no longer used on the homepage. */
.lp-footer{background:linear-gradient(135deg,var(--lp-navy),var(--lp-navy-2));border-top:7px solid var(--lp-orange);color:#fff}
.lp-footer .lp-signature strong{color:#ffb37d}

@media(max-width:1100px){
  .lp-header .lp-nav .menu>li>a{padding-left:8px;padding-right:8px;font-size:12px}
  .lp-priority-card{grid-template-columns:1fr}.lp-priority-mark{justify-self:start}.lp-priority-link{justify-self:start}
}
@media(max-width:900px){
  .lp-header .lp-nav .menu{display:block}
  .lp-header .lp-nav .menu>li>a{font-size:14px;padding:12px 8px}
  .lp-header .lp-nav .sub-menu{position:static;display:none;min-width:0;padding:4px 0 8px 16px;background:transparent;border:0;box-shadow:none;opacity:1;visibility:visible;transform:none}
  .lp-header .lp-nav li:hover>.sub-menu,.lp-header .lp-nav li:focus-within>.sub-menu{display:block}
  .lp-header .lp-nav .sub-menu a{color:#fff;background:rgba(255,255,255,.05)}
  .lp-header .lp-nav .sub-menu a:hover{color:#fff;background:rgba(244,122,32,.24)}
  .lp-values{grid-template-columns:1fr}
}
@media(max-width:600px){
  .lp-priority{padding-top:28px}.lp-priority-card{padding:22px;border-radius:20px;gap:16px}.lp-priority-copy h2{font-size:26px}
  .lp-values{padding-top:20px;gap:14px}.lp-value-card{padding:26px 22px;min-height:0;border-radius:22px}.lp-value-card h2{font-size:29px}
}


/* =========================================================
   v0.1.12 — layout correction after visual review
   Hero is complete, quick links are below it, then priority,
   Mission/Vision. Larger official crest in desktop header.
   ========================================================= */
.lp-hero-full{overflow:visible;padding-bottom:0}
.lp-hero-stage{
  position:relative;
  min-height:clamp(600px,47vw,820px) !important;
  background-size:cover;
  background-position:center center;
}
.lp-hero-actions{
  position:relative !important;
  left:auto !important;
  bottom:auto !important;
  transform:none !important;
  width:min(1720px,calc(100% - 56px)) !important;
  max-width:none;
  margin:22px auto 0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  z-index:4;
}
.lp-hero-actions .lp-quick-card{
  min-height:88px;
  background:#fff;
  border:1px solid #edf1f3;
  box-shadow:0 12px 30px rgba(23,50,77,.10);
}
.lp-priority{padding-top:32px}
.lp-values{padding-top:32px;padding-bottom:28px}
.lp-official-logo{
  height:86px;
  max-width:122px;
}
.lp-brand{gap:16px}
.lp-brand-name b,.lp-brand-name em{font-size:12px}
.lp-brand-name strong{font-size:22px}
@media(max-width:1100px){
  .lp-official-logo{height:76px;max-width:106px}
  .lp-brand-name strong{font-size:19px}
}
@media(max-width:900px){
  .lp-hero-stage{min-height:520px !important;background-position:center center}
  .lp-hero-actions{width:calc(100% - 28px) !important;grid-template-columns:1fr 1fr;margin-top:16px}
  .lp-official-logo{height:66px;max-width:92px}
}
@media(max-width:600px){
  .lp-hero-stage{min-height:390px !important;background-position:60% center}
  .lp-hero-actions{width:calc(100% - 20px) !important;grid-template-columns:1fr;gap:8px;margin-top:12px}
  .lp-official-logo{height:56px;max-width:78px}
}


/* =========================================================
   v0.1.15 — minimal hero correction only.
   Keep v0.1.12 full-width composition; anchor hero artwork
   to the top so its title remains visible. No overlays added.
   ========================================================= */
.lp-hero-stage{background-position:center top !important;}
@media(max-width:900px){.lp-hero-stage{background-position:center top !important;}}
@media(max-width:600px){.lp-hero-stage{background-position:60% top !important;}}


/* =========================================================
   v0.1.16 — only Mission/Vision card transparency.
   Preserve the v0.1.15 layout unchanged.
   ========================================================= */
.lp-value-card.mission{background:rgba(234,246,253,.50);}
.lp-value-card.vision{background:rgba(237,248,237,.50);}

/* =========================================================
   v0.1.17 — move only Mission/Vision lower on desktop.
   Keep v0.1.16 hero, transparency and all other layout intact.
   This clears the descriptive text embedded in the hero artwork.
   ========================================================= */
@media(min-width:901px){
  .lp-values{margin-top:150px;}
}

/* =========================================================
   v0.1.18 — move only the four quick-access cards.
   They now render after Mission/Vision. Everything else stays
   as in v0.1.17.
   ========================================================= */
.lp-quick-after-values{
  margin-top:18px !important;
  margin-bottom:0;
}

/* =========================================================
   v0.1.19 — cheerful card palette only.
   IMPORTANT: no position/layout changes from v0.1.18.
   ========================================================= */

/* Mission + Vision: one shared warm, translucent color */
.lp-values .lp-value-card,
.lp-values .lp-value-card:first-child,
.lp-values .lp-value-card:last-child{
  background:
    linear-gradient(135deg, rgba(255,239,204,.78), rgba(255,248,224,.70)) !important;
  border:1px solid rgba(239,154,53,.30) !important;
  box-shadow:0 16px 34px rgba(25,54,83,.10) !important;
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
.lp-values .lp-value-card h2,
.lp-values .lp-value-card p{
  color:#12385a !important;
}

/* Four quick cards: vivid, light, happy, each distinct */
.lp-quick-card{
  overflow:hidden;
  border:1px solid rgba(18,56,90,.08) !important;
  box-shadow:0 12px 26px rgba(25,54,83,.11) !important;
  transition:transform .18s ease, box-shadow .18s ease !important;
}
.lp-quick-card:hover{
  transform:translateY(-3px);
  box-shadow:0 17px 32px rgba(25,54,83,.15) !important;
}
.lp-quick-card.admitere{
  background:linear-gradient(135deg,#fff2d8 0%,#ffd68a 100%) !important;
}
.lp-quick-card.orar{
  background:linear-gradient(135deg,#e3f6ff 0%,#a8ddff 100%) !important;
}
.lp-quick-card.examene{
  background:linear-gradient(135deg,#edffd9 0%,#b9ef91 100%) !important;
}
.lp-quick-card.documente{
  background:linear-gradient(135deg,#f4e7ff 0%,#d6b3ff 100%) !important;
}
.lp-quick-card b{
  color:#12385a !important;
}
.lp-quick-card small{
  color:#315875 !important;
  opacity:1 !important;
}
.lp-quick-card i{
  color:#12385a !important;
}

/* Keep the existing icon identity but make the circles pop */
.lp-quick-card .ico{
  box-shadow:0 5px 13px rgba(18,56,90,.15);
  border:2px solid rgba(255,255,255,.82);
}
