/* =========================================================
   ROTA İTALYA V22 — ACADEMIC ATLAS
   Editorial / academic trust layer.
   Loaded after all existing page CSS so functionality is untouched.
   ========================================================= */

:root{
  --green:#1d6548;
  --green-2:#28775a;
  --green-soft:#e8f0e9;
  --red:#b9493f;
  --red-soft:#f5e7e3;
  --ink:#102033;
  --muted:#657168;
  --line:#d9d4ca;
  --cream:#f4f0e7;
  --paper:#faf8f3;
  --paper-2:#eee9df;
  --white:#fffdf9;
  --shadow:none;
}

html{background:var(--cream)}
body{
  color:var(--ink);
  background:
    linear-gradient(rgba(16,32,51,.025) 1px,transparent 1px),
    linear-gradient(90deg,rgba(16,32,51,.018) 1px,transparent 1px),
    var(--paper);
  background-size:100% 36px,36px 100%,auto;
}

.container{width:min(1180px,calc(100% - 48px))}

/* Header: academic index instead of decorative flag stripe */
.site-header{
  background:rgba(250,248,243,.96);
  border-bottom:1px solid #cec8bd;
  backdrop-filter:blur(14px);
  box-shadow:none;
}
.site-header .nav{min-height:72px}
.flag-line{
  width:auto;
  height:auto;
  overflow:visible;
  border-radius:0;
  background:transparent;
  display:flex;
  align-items:center;
}
.flag-line span{display:none}
.flag-line:before{
  content:"2027 / ACADEMIC ATLAS";
  display:block;
  padding:5px 0 5px 12px;
  border-left:2px solid var(--red);
  color:#716f68;
  font-size:9px;
  line-height:1;
  font-weight:850;
  letter-spacing:1.55px;
  white-space:nowrap;
}
.nav-actions{gap:20px}
.text-link{
  color:#59635d;
  font-size:13px;
}
.nav-actions .text-link.active{
  color:var(--ink);
  text-decoration:underline;
  text-decoration-color:var(--green);
  text-decoration-thickness:2px;
  text-underline-offset:7px;
}
.nav-actions .pill{
  padding:11px 16px;
  border:1px solid #17392d;
  border-radius:5px;
  background:#17392d;
  color:#fff;
  font-weight:800;
}
.nav-actions .pill:hover{
  background:#fff;
  color:#17392d;
  border-color:#17392d;
}

/* Global typography */
.eyebrow,
.section-heading>span,
.mini,
.offer-subtitle,
.app-side-kicker,
.contact-simple-card .kicker,
.privacy-head .eyebrow{
  text-transform:uppercase;
  letter-spacing:1.45px;
  font-size:10px;
  font-weight:900;
}
.eyebrow{
  color:var(--green);
  gap:9px;
}
.eyebrow:before{
  content:"";
  width:8px;
  height:8px;
  background:var(--red);
  display:inline-block;
}
.eyebrow .cap-icon{display:none}

h1,
.section-heading h2,
.offer-heading h2,
.about-hero h1,
.contact-simple-hero h1,
.application-hero h1,
.explorer-hero h1,
.privacy-head h1{
  color:var(--ink);
  letter-spacing:-.046em;
}

.button,
.app-submit,
.app-next,
.app-back{
  border-radius:5px;
}
.button:hover{transform:none}
.primary{
  background:#1d6548;
  box-shadow:none;
}
.secondary{
  border-color:#9ca69f;
  background:transparent;
}

/* HOME — editorial hero */
.hero{
  padding:76px 0 58px;
  border-bottom:1px solid var(--line);
  background:rgba(250,248,243,.72);
}
.hero-grid{
  grid-template-columns:1.02fr .98fr;
  gap:64px;
}
.hero-copy{
  position:relative;
  padding:26px 0 24px 28px;
  border-left:2px solid var(--green);
}
.hero h1{
  max-width:690px;
  font-size:clamp(52px,6vw,78px);
  line-height:.96;
  margin-bottom:26px;
}
.lead{
  max-width:590px;
  color:#5f6862;
}
.cta-row{gap:10px}
.micro-trust{display:none}

.hero-visual{
  min-height:470px;
  border:1px solid #cfc9be;
  background:#e9e4da;
  padding:18px;
}
.hero-visual:before{
  inset:18px;
  border-radius:0;
  border:1px solid rgba(16,32,51,.12);
  background:#f6f1e8;
}
.hero-visual img{
  right:18px;
  bottom:18px;
  width:calc(100% - 36px);
  height:calc(100% - 36px);
  border-radius:0;
  box-shadow:none;
  mask-image:none;
  object-position:center;
  filter:saturate(.83) contrast(.96);
}
.route,.italy-outline{display:none}
.visual-badge{
  left:36px;
  right:auto;
  top:auto;
  bottom:36px;
  border:1px solid #cbc6bd;
  border-radius:0;
  background:rgba(250,248,243,.94);
  box-shadow:none;
  backdrop-filter:none;
  padding:11px 14px;
}
.visual-badge:before{
  content:"FIELD NOTE";
  display:block;
  margin-right:5px;
  color:var(--red);
  font-size:8px;
  font-weight:900;
  letter-spacing:1px;
}

/* New trust framework */
.trust-framework{
  padding:0;
  background:#18283a;
  color:#fff;
  border-bottom:1px solid #0f1d2d;
}
.trust-framework-inner{
  display:grid;
  grid-template-columns:1.1fr 2fr;
  gap:0;
  border-left:1px solid rgba(255,255,255,.13);
  border-right:1px solid rgba(255,255,255,.13);
}
.trust-framework-copy{
  padding:34px 34px 36px;
  border-right:1px solid rgba(255,255,255,.13);
}
.trust-framework-copy span{
  color:#b8c9bd;
  text-transform:uppercase;
  letter-spacing:1.35px;
  font-size:9px;
  font-weight:900;
}
.trust-framework-copy h2{
  margin:8px 0 12px;
  color:#fff;
  font-size:29px;
  line-height:1.12;
  letter-spacing:-1px;
}
.trust-framework-copy p{
  margin:0;
  color:#bdc7c2;
  font-size:13px;
  line-height:1.65;
}
.trust-framework-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
}
.trust-framework-grid article{
  position:relative;
  min-height:138px;
  padding:28px 28px 24px 64px;
  border-right:1px solid rgba(255,255,255,.12);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.trust-framework-grid article:nth-child(2n){border-right:0}
.trust-framework-grid article:nth-last-child(-n+2){border-bottom:0}
.trust-framework-grid b{
  position:absolute;
  left:25px;
  top:28px;
  color:#d67b70;
  font-size:10px;
  letter-spacing:1px;
}
.trust-framework-grid h3{
  margin:0 0 7px;
  color:#fff;
  font-size:15px;
}
.trust-framework-grid p{
  margin:0;
  color:#aebbb5;
  font-size:12px;
  line-height:1.55;
}

/* Homepage modules become flat editorial panels */
.home-universities{
  padding:76px 0 34px;
}
.home-universities-grid{
  grid-template-columns:.9fr 1.1fr;
  border:0;
  border-top:1px solid #cfc9be;
  border-bottom:1px solid #cfc9be;
  border-radius:0;
  padding:42px 0;
  background:transparent;
  gap:58px;
}
.home-universities h2{
  font-size:clamp(38px,4.5vw,56px);
}
.home-map-card{
  height:360px;
  border-radius:0;
  border:1px solid #cfc9be;
  background:#ece8df;
}
.home-map-guide,
.home-map-stat{
  border-radius:0;
  box-shadow:none;
}
.home-map-stat{border-color:#cec8bd}
.home-map-hotspot{
  width:11px;
  height:11px;
  box-shadow:0 0 0 5px rgba(185,73,63,.12);
}

.services-section{padding:70px 0 34px}
.section-heading{
  max-width:760px;
  padding-left:20px;
  border-left:2px solid var(--red);
}
.section-heading>span{color:var(--red)}
.section-heading h2{
  font-size:clamp(37px,4.7vw,56px);
}
.cards{gap:12px}
.service-card,
.offer-card{
  border-radius:6px;
  border-color:#d3cec4;
  box-shadow:none;
}
.service-card{
  padding:27px;
}
.service-card:hover,
.offer-card:hover{
  transform:none;
  box-shadow:none;
  border-color:#9da89f;
}
.service-card.featured{
  transform:none;
  border-color:var(--green);
  border-top:4px solid var(--green);
}
.coming,
.offer-badge{
  border-radius:3px;
}
.icon,
.offer-icon{
  border-radius:3px;
  background:#e8eee8;
}

.values{padding-top:42px}
.values-grid{
  border-radius:0;
  border-color:#d3cec4;
  background:#f4f1ea;
}
.value{padding:30px}
.value-icon{
  width:42px;height:42px;flex-basis:42px;
  border-radius:0;
  background:transparent;
  border:1px solid #a8b7ad;
  font-size:19px;
}

.contact-box{
  border-radius:6px;
  background:#18283a;
  box-shadow:none;
  border-left:5px solid var(--green);
}
.contact .button{
  border-radius:4px;
}

/* SERVICES */
.services-hero{
  padding:76px 0 58px;
  background:#f4f0e7;
  border-bottom:1px solid #cbc6bc;
}
.services-hero h1{
  max-width:820px;
  font-size:clamp(48px,5.8vw,72px);
}
.price-promise{
  border-radius:4px;
  background:#fffdf9;
  color:var(--ink);
  border:1px solid #cbc6bc;
  border-left:5px solid var(--green);
  box-shadow:none;
}
.price-promise span{color:var(--red)}
.price-promise p{color:#657168}
.offer-section{padding:70px 0}
.offer-heading{
  border-bottom:1px solid #d6d0c5;
  padding-bottom:20px;
}
.roadmap-section{
  background:#ece7dd;
  border-color:#d0c9bd;
}
.roadmap-price-pill{
  border-radius:4px;
  background:#f9f6f0;
  border-color:#cfc8bb;
}
.offer-card{
  padding:27px;
}
.offer-featured{
  background:#fffdf9;
  border:2px solid var(--green);
}
.offer-featured:before{
  right:15px;
  top:15px;
  transform:none;
  background:var(--red);
  padding:5px 8px;
  border-radius:2px;
  font-size:8px;
}
.offer-featured .offer-cta{
  background:#17392d;
  border-radius:3px;
}
.offer-note{
  background:#f5f2eb;
  border-left-color:#a5b4aa;
  border-radius:0;
}
.service-disclaimer-box{
  border-radius:4px;
  background:#f1ebdf;
  border-color:#d6cab3;
}

/* ABOUT — methodology, not founder-story layout */
.about-page{background:transparent}
.about-hero{
  padding:82px 0 62px;
  background:#f4f0e7;
  border-bottom:1px solid #cec8bd;
}
.about-hero-grid{
  grid-template-columns:1.35fr .65fr;
  gap:70px;
}
.about-hero h1{
  font-size:clamp(50px,6vw,76px);
}
.about-principle{
  background:transparent;
  color:var(--ink);
  border-radius:0;
  padding:26px 0 26px 24px;
  border-left:4px solid var(--green);
  box-shadow:none;
}
.about-principle span{color:var(--red)}
.about-principle p{color:#657168}
.about-body{padding:64px 0 84px}
.about-cards{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  border-top:1px solid #d2ccc1;
}
.about-cards article{
  display:grid;
  grid-template-columns:70px minmax(190px,.45fr) 1fr;
  align-items:start;
  gap:25px;
  padding:30px 0;
  border:0;
  border-bottom:1px solid #d2ccc1;
  border-radius:0;
  background:transparent;
}
.about-card-no{
  width:auto;height:auto;
  display:block;
  margin:6px 0 0;
  background:none;
  color:var(--red);
  font-size:10px;
  letter-spacing:1.4px;
}
.about-cards h2{
  font-size:23px;
  margin:0;
}
.about-cards p{font-size:15px}
.about-trust-strip{
  margin-top:46px;
  border-radius:0;
  border-color:#cfc9be;
  background:#ebe7de;
}
.about-cta{
  border-radius:4px;
  background:#18283a;
}

/* APPLICATION */
.application-page{background:transparent}
.application-hero{
  padding:70px 0 48px;
  background:#f4f0e7;
  border-color:#cec8bd;
}
.application-hero h1{
  font-size:clamp(48px,5.9vw,72px);
}
.application-promise{
  border-radius:3px;
  border-color:#cfc9be;
  background:#cfc9be;
  box-shadow:none;
}
.application-promise>div{background:#fffdf9}
.application-side{
  border-radius:4px;
  background:#18283a;
  box-shadow:none;
}
.application-side li>span{
  border-radius:2px;
}
.application-card{
  border-radius:4px;
  border-color:#d2ccc1;
  box-shadow:none;
  background:#fffdf9;
}
.minimal-intro,
.minimal-privacy,
.optional-reply{
  border-radius:3px;
}
.app-field input,
.app-field select,
.app-field textarea{
  border-radius:3px;
  background:#fff;
}
.app-submit,.app-next,.app-back{box-shadow:none}

/* UNIVERSITY DIRECTORY / DETAIL */
.explorer-page{background:transparent}
.explorer-hero{
  background:#f4f0e7;
  border-bottom:1px solid #cec8bd;
}
.explorer-hero h1{
  font-size:clamp(52px,6vw,74px);
}
.stat-pill,
.type-tab,
.program-category-chip,
.program-level-tab,
.region-chip{
  border-radius:3px;
}
.map-panel,
.filter-box,
.school-card{
  border-radius:5px;
  box-shadow:none;
  border-color:#d0cabf;
}
.map-frame{
  border-radius:2px;
}
.filter-box-v21,
.program-filter-group{
  background:#f7f4ed;
}
.program-filter-group{
  border-radius:3px;
}
.search-field input{
  border-radius:3px;
}
.school-category-tags span{
  border-radius:2px;
}
.school-program-match-list{
  border-radius:2px;
}
.uni-hero,
.uni-section,
.uni-card{
  border-radius:5px;
}
.program-list li{
  border-radius:3px;
}
.program-card-tags small{
  border-radius:2px;
}

/* CONTACT / PRIVACY / LEGAL */
.contact-simple-page{background:transparent}
.contact-simple-hero{
  background:#f4f0e7;
  border-color:#cec8bd;
}
.contact-simple-chip{
  border-radius:4px;
  background:#18283a;
  box-shadow:none;
}
.contact-simple-card,
.contact-simple-note,
.privacy-card{
  border-radius:4px;
  border-color:#d2ccc1;
  box-shadow:none;
  background:#fffdf9;
}
.contact-simple-button{
  border-radius:3px;
}
.privacy-card.privacy-note{
  background:#e9eee8;
}

/* FOOTER */
.pro-footer{
  background:#142235;
  border-top:0;
}
.pro-footer-grid{
  border-top:4px solid var(--green);
}
.pro-footer h3{
  color:#cad5cf;
  letter-spacing:1.3px;
  font-size:9px;
}
.pro-footer a,
.pro-footer span,
.pro-footer p{
  color:#aeb9b4;
}
.pro-footer-email{color:#fff!important}
.pro-footer-bottom{
  border-color:rgba(255,255,255,.12);
}

/* Subtle evidence / source treatment */
.source-note,
.legal-note{
  border-radius:0;
}

/* Mobile */
@media(max-width:900px){
  .flag-line{display:none}
  .trust-framework-inner{
    grid-template-columns:1fr;
  }
  .trust-framework-copy{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.13);
  }
  .hero-grid,
  .about-hero-grid{
    grid-template-columns:1fr;
  }
  .hero-copy{
    padding-left:20px;
  }
  .hero-visual{
    min-height:390px;
  }
  .about-principle{max-width:none}
}

@media(max-width:680px){
  .container{width:min(100% - 30px,1180px)}
  .site-header .nav{min-height:66px}
  .brand.brand-image img{
    height:38px!important;
    max-width:175px!important;
  }
  .nav-actions .pill{
    border-radius:4px;
    padding:10px 12px;
  }

  .hero{
    padding:50px 0 38px;
  }
  .hero-copy{
    border-left:2px solid var(--green);
    padding:16px 0 14px 18px;
  }
  .hero h1{
    font-size:47px;
    line-height:.98;
    letter-spacing:-2.45px;
  }
  .lead{
    font-size:16px;
  }
  .hero-visual{
    min-height:310px;
    padding:10px;
  }
  .hero-visual:before{inset:10px}
  .hero-visual img{
    right:10px;bottom:10px;
    width:calc(100% - 20px);
    height:calc(100% - 20px);
  }
  .visual-badge{
    left:22px;
    bottom:22px;
  }

  .trust-framework-grid{
    grid-template-columns:1fr;
  }
  .trust-framework-grid article,
  .trust-framework-grid article:nth-child(2n),
  .trust-framework-grid article:nth-last-child(-n+2){
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.12);
  }
  .trust-framework-grid article:last-child{border-bottom:0}

  .home-universities{
    padding-top:54px;
  }
  .home-universities-grid{
    padding:32px 0;
  }

  .about-cards article{
    grid-template-columns:42px 1fr;
    gap:14px;
  }
  .about-cards article p{
    grid-column:2;
  }

  .application-card{
    border-radius:3px!important;
  }
  .map-panel,.filter-box,.school-card{
    border-radius:4px;
  }
}


/* =========================================================
   V22.1 SOFT ART-DECO REFINEMENT
   - reduce visual fatigue
   - closer to v21.1 softness
   - remove hero stat boxes on directory
   - remove FIELD NOTE copy on visual badge
   ========================================================= */

:root{
  --green:#17724f;
  --green-2:#20835d;
  --green-soft:#edf7f1;
  --red:#ca5e59;
  --red-soft:#faece8;
  --ink:#11253c;
  --muted:#6a7573;
  --line:#dde5de;
  --cream:#f7faf7;
  --paper:#fcfdfb;
  --paper-2:#f2f6f2;
  --white:#ffffff;
}

html{background:var(--paper)}
body{
  background:linear-gradient(180deg,#fbfdfb 0%,#f6faf7 100%);
}
.container{width:min(1180px,calc(100% - 40px))}

.site-header{
  background:rgba(255,255,255,.9);
  border-bottom:1px solid rgba(17,37,60,.08);
  backdrop-filter:blur(10px);
}
.flag-line:before{
  content:"2027 / ITALIA GUIDE";
  border-left:0;
  padding:6px 10px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(23,114,79,.08),rgba(202,94,89,.08));
  color:#60706c;
  font-size:9px;
  letter-spacing:1.3px;
}
.nav-actions .pill{
  background:transparent;
  color:var(--ink);
  border:1px solid rgba(202,94,89,.45);
  border-radius:16px;
}
.nav-actions .pill:hover{
  background:#fff;
  color:var(--ink);
  border-color:rgba(202,94,89,.6);
}

.hero,
.services-hero,
.about-hero,
.application-hero,
.explorer-hero,
.contact-simple-hero{
  background:linear-gradient(180deg,#f7faf7 0%,#fbfdfb 100%);
  border-bottom:1px solid rgba(17,37,60,.08);
}
.hero-copy{
  border-left:0;
  padding:8px 0 20px;
}
.hero h1,
.services-hero h1,
.about-hero h1,
.application-hero h1,
.explorer-hero h1,
.contact-simple-hero h1,
.privacy-head h1{
  letter-spacing:-.04em;
}
.lead{color:#667571}
.eyebrow:before{
  width:7px;
  height:7px;
  border-radius:2px;
}

.hero-visual{
  border-radius:28px;
  border:1px solid rgba(17,37,60,.08);
  background:linear-gradient(180deg,#f4f8f5 0%,#edf3ee 100%);
  padding:14px;
  box-shadow:0 18px 46px rgba(17,37,60,.06);
}
.hero-visual:before{
  inset:14px;
  border-radius:22px;
  border:1px solid rgba(17,37,60,.06);
  background:linear-gradient(180deg,rgba(255,255,255,.85),rgba(247,250,247,.85));
}
.hero-visual img{
  right:14px;
  bottom:14px;
  width:calc(100% - 28px);
  height:calc(100% - 28px);
  border-radius:18px;
  filter:saturate(.93) contrast(.98);
}
.visual-badge{
  left:28px;
  bottom:28px;
  border-radius:16px;
  border:1px solid rgba(17,37,60,.08);
  background:rgba(255,255,255,.9);
  box-shadow:0 10px 28px rgba(17,37,60,.08);
  padding:10px 14px;
  gap:10px;
}
.visual-badge:before{content:none !important; display:none !important}
.visual-badge span{
  color:#677571;
  font-size:13px;
}
.visual-badge strong{
  color:var(--green);
  font-size:15px;
}

.trust-framework{
  background:transparent;
  border-bottom:0;
  padding:0 0 10px;
}
.trust-framework-inner{
  border:0;
  background:transparent;
  grid-template-columns:1fr;
  gap:14px;
}
.trust-framework-copy{
  padding:0;
  border-right:0;
  border-left:3px solid var(--green);
  padding-left:18px;
}
.trust-framework-copy span{color:var(--green)}
.trust-framework-copy h2{color:var(--ink);font-size:26px}
.trust-framework-copy p{color:#667571}
.trust-framework-grid{
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.trust-framework-grid article{
  min-height:unset;
  background:#fff;
  padding:22px 22px 20px 48px;
  border:1px solid rgba(17,37,60,.08);
  border-radius:20px;
  box-shadow:0 10px 24px rgba(17,37,60,.04);
}
.trust-framework-grid article:nth-child(2n),
.trust-framework-grid article:nth-last-child(-n+2){border:1px solid rgba(17,37,60,.08)}
.trust-framework-grid b{left:18px;top:22px;color:var(--red)}
.trust-framework-grid h3{color:var(--ink)}
.trust-framework-grid p{color:#687572}

.home-universities-grid{
  border-top:0;
  border-bottom:0;
  background:transparent;
}
.home-map-card,
.map-panel,
.filter-box,
.school-card,
.service-card,
.offer-card,
.contact-simple-card,
.contact-simple-note,
.privacy-card,
.application-card,
.uni-hero,
.uni-section,
.uni-card,
.values-grid,
.about-trust-strip,
.service-disclaimer-box{
  border-radius:24px;
  border:1px solid rgba(17,37,60,.08);
  box-shadow:0 12px 28px rgba(17,37,60,.04);
}
.map-frame,
.program-filter-group,
.offer-note,
.roadmap-price-pill,
.about-principle,
.price-promise,
.application-promise,
.application-promise>div,
.minimal-intro,
.minimal-privacy,
.optional-reply,
.contact-simple-chip,
.source-note,
.legal-note{
  border-radius:18px;
}
.service-card,
.offer-card,
.value,
.about-cards article,
.contact-simple-card{
  background:rgba(255,255,255,.84);
}
.values-grid{background:rgba(255,255,255,.72)}
.value-icon,
.icon,
.offer-icon{
  border-radius:18px;
  background:#edf7f1;
}
.button,
.app-submit,
.app-next,
.app-back,
.type-tab,
.program-category-chip,
.program-level-tab,
.region-chip,
.stat-pill,
.contact-simple-button{
  border-radius:16px;
}

.explorer-hero .stat-row{display:none !important}
.explorer-hero{padding-bottom:22px}

.stat-pill,
.type-tab,
.program-category-chip,
.program-level-tab,
.region-chip{
  border-radius:999px;
}
.filter-box-v21,
.program-filter-group{
  background:#f6faf7;
}
.search-field input,
.app-field input,
.app-field select,
.app-field textarea{
  border-radius:16px;
  border-color:rgba(17,37,60,.1);
  background:#fff;
}

.pro-footer{background:#102136}
.pro-footer-grid{border-top:1px solid rgba(255,255,255,.12)}

@media(max-width:900px){
  .trust-framework-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:680px){
  .container{width:min(100% - 24px,1180px)}
  .hero-visual{
    min-height:310px;
    padding:10px;
    border-radius:22px;
  }
  .hero-visual:before{inset:10px;border-radius:18px}
  .hero-visual img{right:10px;bottom:10px;width:calc(100% - 20px);height:calc(100% - 20px);border-radius:14px}
  .visual-badge{left:20px;bottom:20px;border-radius:14px}
  .trust-framework-grid{grid-template-columns:1fr}
  .trust-framework-grid article{border-radius:18px}
  .map-panel,.filter-box,.school-card,.service-card,.offer-card,.application-card,.contact-simple-card,.contact-simple-note,.privacy-card{border-radius:20px}
}


/* =========================================================
   V35 MOBILE HOME UNIVERSITY PREVIEW
   Later theme rules used to override the original mobile grid.
   Force a true one-column layout and keep the map in-flow.
   ========================================================= */
@media (max-width:900px){
  .home-universities-grid{
    grid-template-columns:minmax(0,1fr) !important;
    gap:30px !important;
    align-items:stretch !important;
  }
  .home-universities-grid > *{min-width:0}
  .home-map-card{
    width:100% !important;
    max-width:none !important;
    height:280px !important;
    min-height:280px !important;
    margin:0 !important;
  }
  .home-map-canvas{
    inset:14px 18px 12px 74px !important;
  }
}
@media (max-width:560px){
  .home-universities{padding-top:38px}
  .home-universities-grid{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    padding:26px 0 !important;
    gap:26px !important;
  }
  .home-universities h2{
    font-size:clamp(38px,12vw,52px);
    line-height:1.02;
    letter-spacing:-.045em;
  }
  .home-universities p{font-size:16px;line-height:1.65}
  .home-universities .button{width:100%;justify-content:center}
  .home-map-card{
    height:250px !important;
    min-height:250px !important;
    border-radius:20px !important;
  }
  .home-map-canvas{
    inset:14px 12px 12px 66px !important;
  }
  .home-map-stat{left:12px;top:16px}
  .home-map-stat.second{left:12px;top:78px}
}
