/* Cloud Guru - Public Website Production CSS */
:root{
  --school-primary:#1565c0;
  --ink:#102a43;
  --muted:#64748b;
  --surface:#ffffff;
  --soft:#f5f8fb;
  --line:#e5ebf2;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--soft);
  line-height:1.55;
}
img{max-width:100%}
button,a{font:inherit}
.published-wrap{width:100%;overflow:hidden}
.published-wrap a{color:inherit}

/* Builder content rendered publicly */
.published-wrap > *{box-sizing:border-box}

/* Hero */
.published-wrap .hero-block{
  position:relative;
  min-height:520px;
  padding:clamp(72px,10vw,120px) clamp(24px,7vw,96px);
  display:flex;
  align-items:center;
  isolation:isolate;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 82% 28%,rgba(255,255,255,.18),transparent 25%),
    radial-gradient(circle at 15% 85%,rgba(255,255,255,.10),transparent 30%),
    linear-gradient(135deg,#0b4f9c 0%,#1565c0 48%,#0d3b73 100%);
}
.published-wrap .hero-block::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    linear-gradient(90deg,rgba(5,28,56,.34),rgba(5,28,56,.08)),
    radial-gradient(circle at 75% 55%,rgba(255,255,255,.12),transparent 28%);
}
.published-wrap .hero-block::after{
  content:"";
  position:absolute;
  width:420px;height:420px;
  right:-150px;top:-150px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  box-shadow:0 0 0 60px rgba(255,255,255,.035),0 0 0 120px rgba(255,255,255,.02);
  z-index:-1;
}
.published-wrap .hero-content{
  width:min(760px,100%);
  position:relative;
  z-index:2;
}
.published-wrap .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 16px;
  color:var(--school-primary);
  font-size:12px;
  font-weight:900;
  letter-spacing:1.5px;
  text-transform:uppercase;
}
.published-wrap .hero-block .eyebrow{color:#dbeafe}
.published-wrap .hero-block h1{
  margin:0;
  max-width:780px;
  color:#fff;
  font-size:clamp(38px,6vw,72px);
  line-height:1.05;
  letter-spacing:-2px;
  font-weight:900;
  text-shadow:0 3px 18px rgba(0,0,0,.18);
}
.published-wrap .hero-block p{
  max-width:680px;
  margin:22px 0 0;
  color:rgba(255,255,255,.88);
  font-size:clamp(16px,2vw,20px);
  line-height:1.7;
}
.published-wrap .hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}
.published-wrap .hero-btn-primary,
.published-wrap .hero-btn-secondary{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 18px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.published-wrap .hero-btn-primary{
  color:#fff;
  background:var(--school-primary);
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}
.published-wrap .hero-btn-secondary{
  color:#fff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.35);
  backdrop-filter:blur(8px);
}
.published-wrap .hero-btn-primary:hover,
.published-wrap .hero-btn-secondary:hover{
  transform:translateY(-2px);
}
.published-wrap .hero-image-badge{
  position:absolute;
  right:clamp(24px,8vw,110px);
  bottom:clamp(34px,7vw,80px);
  display:flex;
  align-items:center;
  gap:12px;
  padding:13px 16px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:16px;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:13px;
  font-weight:800;
  backdrop-filter:blur(12px);
  box-shadow:0 16px 40px rgba(0,0,0,.16);
}
.published-wrap .hero-image-badge::first-letter{font-size:24px}
.published-wrap .hero-image-badge span{opacity:.92}

/* Stats */
.published-wrap .preview-stats{
  width:min(1120px,calc(100% - 40px));
  margin:-46px auto 0;
  position:relative;
  z-index:5;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.published-wrap .preview-stats > div{
  min-height:112px;
  padding:22px 24px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 16px 36px rgba(15,23,42,.09);
}
.published-wrap .preview-stats b{
  color:var(--school-primary);
  font-size:30px;
  line-height:1;
  font-weight:900;
}
.published-wrap .preview-stats small{
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

/* Generic content section */
.published-wrap .preview-section{
  width:min(1120px,calc(100% - 40px));
  margin:72px auto 28px;
  padding:0;
}
.published-wrap .preview-section h2{
  margin:0 0 12px;
  color:var(--ink);
  font-size:clamp(30px,4vw,46px);
  line-height:1.12;
  letter-spacing:-1px;
}
.published-wrap .preview-section p{
  max-width:780px;
  margin:0;
  color:var(--muted);
  font-size:17px;
  line-height:1.75;
}

/* Three feature cards */
.published-wrap .preview-cards{
  width:min(1120px,calc(100% - 40px));
  margin:28px auto 76px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.published-wrap .preview-card{
  min-height:190px;
  padding:28px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.published-wrap .preview-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 40px rgba(15,23,42,.11);
  border-color:rgba(21,101,192,.24);
}
.published-wrap .preview-card > span{
  width:48px;height:48px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  border-radius:14px;
  background:#eef5ff;
  font-size:24px;
}
.published-wrap .preview-card h3{
  margin:0 0 7px;
  color:var(--ink);
  font-size:20px;
}
.published-wrap .preview-card p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

/* Public dynamic sections */
.public-news-grid,
.public-teacher-grid,
.agenda-public-grid,
.contact-public-grid{
  width:min(1120px,calc(100% - 40px));
  margin-left:auto;
  margin-right:auto;
}
.public-news-grid{margin-top:30px}
.public-teacher-grid{margin-top:30px}
.agenda-public-grid{margin-top:30px}
.contact-public-grid{margin-top:30px}

/* Prevent builder editing artifacts from leaking publicly */
.published-wrap .section-selected{outline:none!important}
.published-wrap [data-drag-bound="1"]{cursor:default}

/* Footer builder embedded inside published content */
.published-wrap .builder-footer{display:none!important}

/* Responsive */
@media(max-width:900px){
  .published-wrap .hero-block{min-height:500px;padding:72px 5%}
  .published-wrap .hero-image-badge{right:5%;bottom:30px}
  .published-wrap .preview-stats{margin-top:-35px}
  .published-wrap .preview-cards{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .published-wrap .hero-block{min-height:560px;padding:70px 5% 120px}
  .published-wrap .hero-block h1{font-size:clamp(36px,10vw,54px);letter-spacing:-1px}
  .published-wrap .hero-block p{font-size:16px}
  .published-wrap .hero-image-badge{left:5%;right:auto;bottom:28px}
  .published-wrap .preview-stats{
    width:calc(100% - 28px);
    grid-template-columns:1fr;
    margin-top:-25px;
  }
  .published-wrap .preview-stats > div{min-height:90px}
  .published-wrap .preview-section,
  .published-wrap .preview-cards{width:calc(100% - 28px)}
  .published-wrap .preview-section{margin-top:55px}
  .published-wrap .preview-cards{
    grid-template-columns:1fr;
    margin-bottom:55px;
  }
}
@media(max-width:480px){
  .published-wrap .hero-actions{flex-direction:column;align-items:stretch}
  .published-wrap .hero-btn-primary,
  .published-wrap .hero-btn-secondary{width:100%}
  .published-wrap .preview-card{padding:22px}
}
