
*{box-sizing:border-box}
html{scroll-behavior:smooth}
[id]{
  scroll-margin-top:110px;
}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  line-height:1.6;
  color:#102033;
  background:#f6f8fb
}
main{
  background:linear-gradient(135deg,#dbe8ff,#c5d8ff);
  display:flow-root;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.wrap{width:min(1160px,calc(100% - 2rem));margin:0 auto}

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid #e6ebf2
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  min-height:76px;gap:1rem
}
.brand{
  display:flex;align-items:center;gap:.8rem;
  font-weight:800;font-size:1.25rem;color:#173d7a
}
.brand img{width:42px;height:42px;border-radius:10px}
.main-nav{display:flex;gap:1.15rem;align-items:center}
.main-nav>a,.dropbtn,.mobile-menu a{color:#27425e;font-weight:600}
.main-nav a:hover,.dropbtn:hover,.mobile-menu a:hover,.text-link:hover{color:#173d7a}
.dropdown{position:relative}
.dropbtn{background:none;border:none;font:inherit;cursor:pointer;padding:0}
.dropdown-menu{
  position:absolute;top:calc(100% + 12px);left:0;min-width:250px;
  background:#fff;border:1px solid #e6ebf2;border-radius:16px;
  box-shadow:0 16px 40px rgba(16,32,51,.10);
  padding:.45rem;display:none
}
.dropdown:hover .dropdown-menu,.dropdown:focus-within .dropdown-menu{display:block}
.dropdown-menu a{display:block;padding:.7rem .85rem;border-radius:12px}
.dropdown-menu a:hover{background:#f3f7fd}
.menu-btn{
  display:none;border:1px solid #d6dfeb;background:#fff;border-radius:12px;
  padding:.55rem .85rem;font-size:1rem
}
.mobile-menu{display:none;padding:0 1rem 1rem}
.mobile-menu.open{display:grid;gap:.75rem}
.mobile-dropdown-title{font-weight:800;color:#173d7a;margin-top:.5rem}
.mobile-submenu{display:grid;gap:.5rem;padding-left:.8rem}

.hero{
  padding:5rem 0 3.5rem;
  background:transparent
}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:2rem;align-items:center}
.eyebrow{
  text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;
  font-weight:700;color:#4a6aa6;margin:0 0 .75rem
}
.hero h1,.page-hero h1{
  font-size:clamp(2.4rem,5vw,4.4rem);line-height:1.05;
  margin:.2rem 0 1rem;color:#0c2548
}
.lead{font-size:1.1rem;max-width:64ch;color:#324860}
.hero-actions{display:flex;gap:.9rem;flex-wrap:wrap;margin-top:1.5rem}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:999px;padding:.88rem 1.2rem;font-weight:700;
  transition:.2s transform,.2s box-shadow,.2s background
}
.btn:hover{transform:translateY(-1px)}
.btn.primary{
  background:#173d7a;color:#fff;box-shadow:0 12px 28px rgba(23,61,122,.18)
}
.btn.secondary{background:#fff;color:#173d7a;border:1px solid #dbe4f0}

.hero-visual{
  position:relative;min-height:390px;
  border-radius:34px;overflow:hidden;
  background:linear-gradient(135deg,#e8f0ff,#f8fbff);
  border:1px solid #dde6f4
}
.visual-card{
  position:absolute;border-radius:26px;box-shadow:0 24px 60px rgba(19,39,73,.12)
}
.v1{inset:10% 26% 34% 6%;background:linear-gradient(135deg,#dbe7ff,#b9cbff)}
.v2{inset:32% 6% 10% 30%;background:linear-gradient(135deg,#dff6f4,#a3dfd4)}
.v3{inset:6% 10% 50% 42%;background:linear-gradient(135deg,#fff0d9,#ffd08e)}
.hero-badge{
  position:absolute;right:1.2rem;bottom:1.2rem;background:#fff;
  padding:.9rem 1rem;border-radius:18px;font-weight:800;
  box-shadow:0 16px 40px rgba(19,39,73,.12)
}

.intro{padding:0 0 3rem}
.intro-box,.project-hero-box,.content-block,.info-card{
  background:#fff;border:1px solid #e7edf5;border-radius:28px;
  box-shadow:0 14px 36px rgba(16,32,51,.05)
}
.intro-box{padding:1.6rem 1.4rem}

.section-head{margin-bottom:1.5rem}
.section-head h2,.about h2,.content-block h2,.page-title{
  margin:.2rem 0 0;
  font-size:clamp(1.9rem,3vw,2.75rem);
  line-height:1.15;color:#0c2548
}

.projects{padding:1rem 0 4rem}
.project-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem}
.project-card{
  background:#fff;border:1px solid #e7edf5;border-radius:24px;
  padding:1.1rem;box-shadow:0 14px 36px rgba(16,32,51,.05);
  transition:.2s transform,.2s box-shadow;display:flex;flex-direction:column
}
.project-card:hover{
  transform:translateY(-4px);box-shadow:0 18px 40px rgba(16,32,51,.09)
}
.project-top{
  height:108px;border-radius:18px;display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:1.2rem;color:#0c2548;margin-bottom:1rem;text-align:center;padding:.8rem
}
.project-top img{max-height:72px;width:auto}
.racek{background:linear-gradient(135deg,#fff2db,#ffd18c)}
.brin{background:linear-gradient(135deg,#e7f6e9,#bce7c4)}
.marinka{background:linear-gradient(135deg,#dbe8ff,#c5d8ff)}
.katarina{background:linear-gradient(135deg,#f0e6ff,#cfb3ff)}
.card-actions{margin-top:auto;padding-top:.8rem}

.about{
  padding:1.5rem 0 4rem;
  background:transparent
}
.about-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:1.5rem;align-items:start}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.stat{
  background:#fff;border:1px solid #e7edf5;border-radius:22px;
  padding:1.1rem;text-align:center;box-shadow:0 14px 36px rgba(16,32,51,.05)
}
.stat strong{display:block;font-size:2rem;color:#173d7a}
.stat span{color:#4f6277}

.footer-strip-section{
  background:transparent;
  padding:0 0 4rem
}
.footer-strip-box{
  background:#fff;border:1px solid #e7edf5;border-radius:24px;
  padding:1rem;box-shadow:0 14px 36px rgba(16,32,51,.05)
}
.footer-strip-box img{max-width:100%;width:100%;height:auto;border-radius:16px}

.page-hero{
  padding:3.9rem 0 2.4rem;
  background:transparent
}
.project-hero-box{padding:1.5rem}
.project-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:1.5rem;align-items:center}
.logo-panel{
  min-height:260px;border-radius:24px;display:flex;align-items:center;justify-content:center;padding:1.5rem
}
.logo-panel img{max-height:160px;width:auto}

.content-section{padding:0 0 1.25rem}
.content-block{padding:1.45rem}
.content-block ul{margin:.75rem 0 0 1rem}
.locations-section{
  background:transparent;
  padding:2rem 0 2.25rem;
  margin:1rem 0 2rem;
}
.locations-section .content-block{
  background:#fff;
}
.locations-section .full-map-shell,
.locations-section .map-shell{
  background:#fff;
}
.locations-section .map-shell{
  margin-top:1rem;
}
.locations-layout{
  display:grid;
  grid-template-columns:3fr 1fr;
  gap:1rem;
  align-items:stretch;
  margin-top:1rem;
}
.locations-layout .full-map-shell,
.locations-layout .map-shell{
  margin-top:0;
}
.locations-layout .map-shell{
  display:flex;
  flex-direction:column;
  max-height:600px;
}
.locations-layout .viz-list{
  grid-template-columns:1fr;
  overflow:auto;
  padding-right:.15rem;
}
.locations-layout .viz-list li{
  padding:0;
  border-color:#dde8f5;
  border-radius:14px;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
}
.locations-layout .viz-list a{
  display:block;
  padding:.78rem .85rem;
  color:#173d7a;
  font-weight:800;
  line-height:1.25;
}
.locations-layout .viz-list a:hover{
  text-decoration:none;
}
.locations-layout .viz-list li:hover{
  background:#e9f1ff;
  border-color:#c9d8ee;
  box-shadow:0 8px 18px rgba(16,32,51,.08);
}

.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.info-card{padding:1rem}
.placeholder-map,.viz-box{
  min-height:150px;border:2px dashed #c9d8ee;border-radius:20px;
  background:#f8fbff;display:flex;align-items:center;justify-content:center;
  text-align:center;padding:1rem;color:#51709b
}

.site-footer{background:#0d1f38;color:#eaf0f9;padding-top:3rem}
.site-footer .footer-strip-in-footer{
  padding:2rem 0 0;
}
.site-footer .footer-strip-box{
  box-shadow:0 14px 36px rgba(0,0,0,.16);
}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr .9fr;gap:1.5rem}
.site-footer h3,.site-footer h4{margin-top:0;color:#fff}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:.45rem 0}
.site-footer a{color:#d7e5ff}
.footer-bottom{
  margin-top:2rem;padding:1rem 0;border-top:1px solid rgba(255,255,255,.14);
  display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap
}

@media (max-width: 980px){
  .hero-grid,.about-grid,.footer-grid,.project-hero-grid,.info-grid{grid-template-columns:1fr}
  .project-grid{grid-template-columns:repeat(2,1fr)}
  .stats{grid-template-columns:repeat(3,1fr)}
}
@media (max-width: 720px){
  .main-nav{display:none}
  .menu-btn{display:block}
  .hero{padding-top:4rem}
  .project-grid,.stats{grid-template-columns:1fr}
  .hero-visual{min-height:280px}
  .locations-layout{grid-template-columns:1fr}
  .locations-layout .map-shell{max-height:none}
}


/* polish */
.hero-copy{padding-right:1rem}
.intro-box h2,.project-card h3,.info-card h3{color:#0c2548}
.project-card p{color:#41556d}
.project-card .btn{width:100%}
.project-card h3{margin:.2rem 0 .5rem}
.section-head p{margin-bottom:.35rem}
.footer-strip-box{padding:1.2rem}
.footer-strip-box img{background:#fff}

.stats-visual{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1rem;
}
.stat-card{
  background:#fff;
  border:1px solid #e7edf5;
  border-radius:24px;
  padding:1rem;
  box-shadow:0 14px 36px rgba(16,32,51,.05);
  display:flex;
  gap:.9rem;
  align-items:flex-start;
}
.stat-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  flex:0 0 58px;
  display:grid;
  place-items:center;
  color:#173d7a;
}
.icon-projects{background:linear-gradient(135deg,#dbe7ff,#b9cbff)}
.icon-teachers{background:linear-gradient(135deg,#e7f6e9,#bce7c4)}
.icon-students{background:linear-gradient(135deg,#fff1d8,#ffd48e)}
.icon-posts{background:linear-gradient(135deg,#f0e6ff,#cfb3ff)}
.stat-content strong{
  display:block;
  font-size:2rem;
  line-height:1;
  color:#173d7a;
  margin-bottom:.35rem;
}
.stat-content span{
  display:block;
  font-weight:800;
  color:#0c2548;
}
.stat-content small{
  display:block;
  color:#607285;
  margin-top:.15rem;
}
.stat-icon svg{width:32px;height:32px}

@media (max-width: 980px){
  .stats-visual{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 720px){
  .stats-visual{grid-template-columns:1fr}
}


/* header v3 */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(214,223,235,.9);
  box-shadow:0 8px 30px rgba(16,32,51,.05);
}
.nav{min-height:82px}
.brand{
  display:flex;align-items:center;gap:.9rem;
  font-weight:800;font-size:1.18rem;color:#173d7a;
}
.brand-text{
  display:flex;flex-direction:column;line-height:1.05
}
.brand-title{
  font-size:1rem;
  color:#0c2548;
  font-weight:800;
}
.brand-sub{
  font-size:.78rem;
  color:#58708b;
  font-weight:700;
}
.main-nav{gap:1.35rem}
.main-nav>a,.dropbtn,.mobile-menu a{
  color:#27425e;font-weight:700
}
.nav-pill{
  display:inline-flex;align-items:center;gap:.45rem;
  padding:.55rem .75rem;border-radius:999px;
  transition:background .2s ease,color .2s ease, transform .2s ease;
}
.nav-pill:hover{
  background:#f3f7fd;color:#173d7a;transform:translateY(-1px)
}
.dropdown-menu{margin-top:.15rem}
.dropbtn .chev{
  width:14px;
  height:14px;
  display:inline-block;
  flex:0 0 14px;
  transition:transform .2s ease;
}
.dropdown:hover .dropbtn .chev,
.dropdown:focus-within .dropbtn .chev{
  transform:rotate(180deg)
}

.dropdown-menu a{
  display:flex;align-items:center;
}
.mobile-dropdown-title{
  display:flex;align-items:center;gap:.45rem
}
@media (max-width: 720px){
  .brand-sub{display:none}
}


/* project pages enhancements */
.project-hero-box .hero-actions{display:none}
.meta-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
  margin-top:1rem;
}
.meta-card{
  background:#f8fbff;
  border:1px solid #dfe8f4;
  border-radius:20px;
  padding:1rem;
}
.meta-card h3{
  margin:.2rem 0 .45rem;
  font-size:1rem;
  color:#0c2548;
}
.meta-card p{
  margin:0;
  color:#52677d;
}
.viz-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.6rem 1rem;
  margin-top:.75rem;
  padding:0;
  list-style:none;
}
.viz-list li{
  background:#f8fbff;
  border:1px solid #dfe8f4;
  border-radius:16px;
  padding:.65rem .8rem;
  color:#27425e;
}
.map-wrap{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:1rem;
  align-items:start;
}
.map-card{
  background:#f8fbff;
  border:1px solid #dfe8f4;
  border-radius:22px;
  padding:1rem;
}
.map-card svg{
  width:100%;
  height:auto;
  display:block;
}
.map-note{
  color:#58708b;
  font-size:.95rem;
  margin-top:.7rem;
}
.map-town{
  fill:#173d7a;
}
.map-label{
  font: 600 11px Inter, Arial, sans-serif;
  fill:#27425e;
}
.map-outline{
  fill:#eef4ff;
  stroke:#c8d8ef;
  stroke-width:2;
}
.legend-list{
  list-style:none;
  padding:0;
  margin:.25rem 0 0;
  display:grid;
  gap:.5rem;
}
.legend-list li{
  padding:.55rem .7rem;
  background:#fff;
  border:1px solid #e1e9f5;
  border-radius:14px;
  color:#314a63;
}
@media (max-width: 980px){
  .meta-grid,.map-wrap{grid-template-columns:1fr}
  .viz-list{grid-template-columns:1fr}
}


/* article-style leaflet map */
.article-map-grid{
  display:grid;
  grid-template-columns:1fr .95fr;
  gap:1rem;
}
.map-shell{
  background:#f8fbff;
  border:1px solid #dfe8f4;
  border-radius:22px;
  padding:1rem;
}
.map-shell h3{
  margin:.1rem 0 .45rem;
  color:#0c2548;
}
.viz-list{
  list-style:none;
  padding:0;
  margin:.25rem 0 0;
  display:grid;
  gap:.65rem
}
.viz-list li{
  padding:.55rem .75rem;
  background:#fff;
  border:1px solid #e6ebf2;
  border-radius:12px;
  transition:.2s background,.2s box-shadow
}
.viz-list li:hover{
  background:#f3f7fd;
  box-shadow:0 4px 12px rgba(16,32,51,.06)
}
.viz-list a{
  color:#173d7a;
  font-weight:600
}
.viz-list a:hover{
  text-decoration:underline
}
.map-subtitle{
  margin:.15rem 0 .75rem;
  color:#58708b;
}
.leaflet-map{
  width:100%;
  height:460px;
  border-radius:18px;
  overflow:hidden;
}
.legend-list{
  list-style:none;
  padding:0;
  margin:.25rem 0 0;
  display:grid;
  gap:.5rem;
}
.legend-list li{
  padding:.55rem .7rem;
  background:#fff;
  border:1px solid #e1e9f5;
  border-radius:14px;
  color:#314a63;
}
.popup-title{
  font-weight:800;
  color:#0c2548;
  margin-bottom:.2rem;
}
.popup-title a{
  color:#173d7a;
  text-decoration:underline
}
.popup-title a:hover{
  color:#4a6aa6
}
.popup-meta{
  color:#52677d;
  font-size:.92rem;
}
@media (max-width: 980px){
  .article-map-grid{grid-template-columns:1fr}
}


/* v4 nav + full width maps */
.main-nav .dropdown{position:relative}
.main-nav .dropdown > .dropbtn{cursor:pointer}
.main-nav .dropdown-menu{
  min-width:280px;
  padding:.55rem;
  border-radius:18px;
}
.main-nav .dropdown-menu a{
  display:flex;
  align-items:center;
  gap:1rem;
  padding:.85rem .95rem;
  border-radius:14px;
  font-weight:700;
  transition:background .18s ease, transform .18s ease, color .18s ease;
}
.main-nav .dropdown-menu a:hover{
  background:linear-gradient(135deg,#eef4ff,#f8fbff);
  color:#173d7a;
  transform:translateX(2px);
}
.main-nav .dropdown-menu a::before{
  content:"";
}
.main-nav .dropdown-menu a::after{
  content:"";
}
.main-nav .dropdown:hover .dropdown-menu,
.main-nav .dropdown:focus-within .dropdown-menu{
  display:block;
}

.project-page-list{
  display:grid;
  grid-template-columns:1fr;
  gap:.7rem;
  margin-top:.75rem;
  padding:0;
  list-style:none;
}
.project-page-list li{
  background:#f8fbff;
  border:1px solid #dfe8f4;
  border-radius:16px;
  padding:.75rem .9rem;
  color:#27425e;
}
.full-map-shell{
  background:#f8fbff;
  border:1px solid #dfe8f4;
  border-radius:22px;
  padding:1rem;
}
.map-subtitle{margin:0 0 1rem;color:#4f6277}
.school-tags-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:0.8rem;
  margin-bottom:1.5rem
}
.school-tag{
  padding:0.9rem 1rem;
  border-radius:12px;
  font-weight:600;
  color:#0c2548;
  font-size:0.95rem;
  line-height:1.3;
  transition:transform .2s ease, box-shadow .2s ease
}
.school-tag:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(16,32,51,.12)
}
.full-map-shell .leaflet-map{
  width:100%;
  height:600px;
  border-radius:18px;
  overflow:hidden;
}

@media (max-width: 720px){
  .full-map-shell .leaflet-map{height:480px}
  .school-tags-grid{
    grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
    gap:0.6rem;
    margin-bottom:1rem
  }
  .school-tag{
    padding:0.7rem 0.8rem;
    font-size:0.85rem
  }
}


/* v5 dropdown + smaller VIZ */
.main-nav .dropdown{position:relative}
.main-nav .dropdown-menu{
  display:none;
  pointer-events:auto;
  z-index:2000;
}
.main-nav .dropdown.open .dropdown-menu{
  display:block;
}
.main-nav .dropdown > .dropbtn{
  position:relative;
  z-index:2001;
}
.project-page-list li{
  padding:.5rem .7rem;
  font-size:.93rem;
  line-height:1.35;
}
.project-page-help{
  margin-top:.8rem;
  font-size:.95rem;
  color:#607285;
}
.mobile-submenu a{
  display:block;
}


/* v6 modern header + hover dropdown + firefox-friendly map */
.site-header{
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(222,231,242,.95);
  box-shadow:0 12px 34px rgba(16,32,51,.08);
}
.nav{
  min-height:86px;
}
.brand{
  gap:1rem;
}
.brand img{
  width:46px;
  height:46px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(23,61,122,.12);
}
.brand-title{
  font-size:1.05rem;
  letter-spacing:-0.01em;
}
.brand-sub{
  font-size:.8rem;
}
.main-nav{
  gap:.8rem;
}
.nav-pill{
  padding:.72rem .95rem;
  border:1px solid transparent;
  background:transparent;
}
.nav-pill:hover{
  background:rgba(243,247,253,.95);
  border-color:#dbe5f2;
  box-shadow:0 6px 18px rgba(16,32,51,.05);
}
.main-nav .dropdown{
  position:relative;
}
.main-nav .dropdown-menu{
  display:none;
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:180px;
  width:max-content;
  max-width:320px;
  background:rgba(255,255,255,.98);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid #dfe8f4;
  border-radius:20px;
  box-shadow:0 22px 50px rgba(16,32,51,.14);
  padding:.55rem;
  z-index:3000;
}
.main-nav .dropdown:hover .dropdown-menu,
.main-nav .dropdown:focus-within .dropdown-menu,
.main-nav .dropdown.open .dropdown-menu{
  display:block;
}
.main-nav .dropdown-menu a,
.main-nav .dropdown-menu .dropdown-disabled{
  display:flex;
  align-items:center;
  gap:.75rem;
  padding:.75rem .9rem;
  border-radius:14px;
  transition:background .18s ease, transform .18s ease, color .18s ease;
}
.main-nav .dropdown-menu .dropdown-disabled{
  color:#8a9bae;
  cursor:default;
  font-weight:700;
}
.main-nav .dropdown-menu a:hover{
  background:linear-gradient(135deg,#eef4ff,#f8fbff);
  color:#173d7a;
  transform:translateX(2px);
}
.main-nav .dropdown-menu a::before{
  content:"";
}
.mobile-submenu .dropdown-disabled{
  color:#8a9bae;
  font-weight:700;
}

.dropbtn.nav-pill{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
}


/* firefox map fixes */
.full-map-shell,
.map-shell,
.leaflet-map{
  position:relative;
  z-index:1;
}
.leaflet-map{
  height:520px;
  border-radius:18px;
  overflow:hidden;
  isolation:isolate;
}
.leaflet-control-layers{
  max-width:220px;
}
.leaflet-pane,
.leaflet-top,
.leaflet-bottom,
.leaflet-control{
  z-index: 400 !important;
}
.leaflet-container{
  background:#e9f1fb !important;
  font-family:Inter,Arial,sans-serif;
}
.project-map-marker{
  width:30px;
  height:40px;
}
.project-map-marker span{
  position:absolute;
  left:50%;
  top:0;
  width:28px;
  height:28px;
  border:3px solid #fff;
  border-radius:50% 50% 50% 0;
  box-shadow:0 8px 20px rgba(16,32,51,.24);
  transform:translateX(-50%) rotate(-45deg);
}
.project-map-marker span::after{
  content:"";
  position:absolute;
  inset:6px;
  border-radius:50%;
  background:#fff;
  opacity:.92;
}
.project-map-marker.racek-marker span{background:#f2a51a}
.project-map-marker.brin-marker span{background:#34a853}
.project-map-marker.marinka-marker span{background:#2f6fdd}
.project-map-marker.katarina-marker span{background:#8f5bdc}
.leaflet-tile{
  image-rendering:auto;
}
@supports (-moz-appearance:none){
  .leaflet-map{
    overflow:clip;
  }
}


/* v7 dropdown bridge + hero images */
.main-nav .dropdown{
  position:relative;
  padding-bottom:20px;
  margin-bottom:-20px;
}
.main-nav .dropdown::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:24px;
}
.main-nav .dropdown-menu{
  top:calc(100% - 2px);
}

.hero-visual{
  position:relative;
  min-height:390px;
  background:transparent;
  border:none;
  overflow:visible;
}
.visual-card{display:none !important}
.hero-photo{
  position:absolute;
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(19,39,73,.14);
  border:1px solid #dde6f4;
  background:#fff;
  width:45%;
  height:190px;
}
.hero-photo:nth-child(1){
  inset:10% 26% 34% 6%;
  height:auto;
}
.hero-photo:nth-child(2){
  inset:32% 6% 10% 30%;
  height:auto;
}
.hero-photo.large{
  inset:6% 10% 50% 42%;
  width:auto;
  height:auto;
}
.hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hero-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(12,37,72,0.02), rgba(12,37,72,0.08));
  pointer-events:none;
}
.hero-badge{
  position:absolute;
  right:14px;
  bottom:14px;
  z-index:2;
}

@media (max-width: 720px){
  .hero-visual{
    min-height:280px;
  }
  .hero-photo{
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:180px !important;
    margin-bottom:0.75rem;
  }
  .hero-photo.large{
    height:220px !important;
  }
}

/* knowledge catalog */
.catalog-hero .meta-card{
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
}
.catalog-hero-mark{
  flex-direction:column;
  color:#0c2548;
  text-align:center;
}
.catalog-hero-mark strong{
  display:block;
  font-size:clamp(3rem,7vw,5.5rem);
  line-height:1;
  color:#173d7a;
}
.catalog-hero-mark span{
  margin-top:.5rem;
  font-weight:800;
  color:#27425e;
}
.catalog-section{
  background:transparent;
  padding:3.2rem 0 3rem;
  transition:background .2s ease;
}
.catalog-section .section-head{
  background:rgba(255,255,255,.74);
  border:1px solid rgba(223,232,244,.86);
  border-radius:26px;
  padding:1.15rem;
  box-shadow:0 14px 36px rgba(16,32,51,.05);
}
.catalog-theme-obdp{
  background:linear-gradient(135deg,#e9f8e8 0%,#cfeecf 100%);
}
.catalog-theme-obd1{
  background:linear-gradient(135deg,#f4edff 0%,#dfcff9 100%);
}
.catalog-theme-obd2{
  background:linear-gradient(135deg,#d1def8 0%,#aebfe9 100%);
}
.catalog-theme-obd3{
  background:linear-gradient(135deg,#eef1f5 0%,#d5dce6 100%);
}
.catalog-page-head{
  margin-bottom:1.5rem;
}
.catalog-title-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:1rem;
  align-items:center;
}
.catalog-title-row h2{
  max-width:980px;
}
.catalog-page-logo-link{
  display:inline-block;
  border-radius:16px;
}
.catalog-page-logo{
  width:min(180px,22vw);
  max-height:92px;
  object-fit:contain;
}
.catalog-period-tabs{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  margin-top:1rem;
}
.catalog-period-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:2.35rem;
  border-radius:999px;
  border:1px solid #dfe8f4;
  background:#fff;
  color:#27425e;
  padding:.45rem .85rem;
  font-weight:800;
  box-shadow:0 10px 24px rgba(16,32,51,.04);
  transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.catalog-period-tab:hover{
  background:#f3f7fd;
  border-color:#c9d8ee;
  color:#173d7a;
  transform:translateY(-1px);
}
.catalog-period-tab.is-active{
  background:#173d7a;
  border-color:#173d7a;
  color:#fff;
}
.catalog-layout{
  display:grid;
  grid-template-columns:minmax(260px,330px) 1fr;
  gap:1rem;
  align-items:start;
}
.catalog-sidebar{
  position:sticky;
  top:104px;
  max-height:calc(100vh - 128px);
  overflow:auto;
  background:#fff;
  border:1px solid #dfe8f4;
  border-radius:24px;
  padding:1rem;
  box-shadow:0 14px 36px rgba(16,32,51,.05);
}
.catalog-nav-group + .catalog-nav-group{
  margin-top:1.15rem;
  padding-top:1rem;
  border-top:1px solid #e7edf5;
}
.catalog-nav-title{
  margin:0 0 .45rem;
  font-size:1.08rem;
  line-height:1.25;
  color:#0c2548;
}
.catalog-subtopic-btn{
  width:100%;
  display:grid;
  grid-template-columns:1fr;
  gap:.45rem;
  align-items:center;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  color:#27425e;
  padding:.48rem .6rem;
  font:inherit;
  font-size:.92rem;
  font-weight:800;
  text-align:left;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.catalog-subtopic-btn:hover{
  background:#f3f7fd;
  border-color:#dbe7ff;
  color:#173d7a;
  transform:translateX(2px);
}
.catalog-subtopic-btn.is-active{
  background:linear-gradient(135deg,#dbe8ff,#eef4ff);
  border-color:#bfd0ef;
  color:#0c2548;
}
.catalog-results{
  min-width:0;
}
.catalog-current{
  background:#fff;
  border:1px solid #dfe8f4;
  border-radius:24px;
  padding:1.15rem 1.2rem;
  box-shadow:0 14px 36px rgba(16,32,51,.05);
  margin-bottom:1rem;
}
.catalog-current h3{
  margin:.15rem 0 .35rem;
  color:#0c2548;
  font-size:clamp(1.45rem,2vw,2rem);
  line-height:1.18;
}
.catalog-content-text{
  margin:.7rem 0 0;
  color:#58708b;
  font-weight:600;
  line-height:1.55;
  white-space:pre-line;
}
.goal-cards{
  display:grid;
  gap:.85rem;
}
.goal-card{
  background:#fff;
  border:1px solid #dfe8f4;
  border-radius:18px;
  box-shadow:0 12px 28px rgba(16,32,51,.05);
  overflow:hidden;
}
.goal-card[open]{
  border-color:#bfd0ef;
  box-shadow:0 16px 34px rgba(16,32,51,.08);
}
.goal-card summary{
  display:grid;
  grid-template-columns:1fr auto;
  gap:1rem;
  align-items:center;
  padding:1rem 1.1rem;
  color:#102033;
  font-weight:800;
  cursor:pointer;
  list-style:none;
}
.goal-card summary::-webkit-details-marker{
  display:none;
}
.goal-summary-content{
  display:grid;
  gap:.25rem;
}
.goal-card-eyebrow{
  display:block;
  color:#5f7896;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.08em;
  line-height:1;
  text-transform:uppercase;
}
.goal-title{
  display:grid;
  gap:.55rem;
}
.goal-card summary::after{
  content:"+";
  display:grid;
  place-items:center;
  width:2rem;
  height:2rem;
  border-radius:999px;
  background:#eef4ff;
  color:#173d7a;
  font-weight:900;
}
.goal-card[open] summary::after{
  content:"−";
  background:#173d7a;
  color:#fff;
}
.goal-detail-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.85rem;
  padding:0 1.1rem 1.1rem;
}
.goal-detail{
  background:#f8fbff;
  border:1px solid #e7edf5;
  border-radius:14px;
  padding:.9rem;
}
.goal-detail h4{
  margin:0 0 .4rem;
  color:#0c2548;
  font-size:.95rem;
}
.goal-detail p{
  margin:0;
  color:#40556d;
  white-space:pre-line;
}
.goal-rich-text{
  margin:0;
  color:#40556d;
  white-space:pre-line;
}
.catalog-media{
  margin:.75rem 0 0;
  white-space:normal;
}
.catalog-media img{
  width:100%;
  height:auto;
  border:1px solid #dce7f3;
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 24px rgba(12,37,72,.08);
}
.catalog-media-summary{
  display:block;
  max-width:540px;
}
.catalog-media-summary img{
  width:100%;
}
.catalog-media-link{
  display:inline-flex;
  align-items:center;
  margin:.5rem 0;
  color:#0b63b6;
  font-weight:700;
  white-space:normal;
  word-break:break-word;
}

/* Didactic recommendations */
.recommendations-section{
  padding:4rem 0;
}
.recommendations-head{
  background:#fff;
  border:1px solid #dfe8f4;
  border-radius:28px;
  box-shadow:0 18px 44px rgba(16,32,51,.08);
  margin-bottom:1rem;
  padding:1.8rem;
}
.recommendations-head h1{
  color:#0c2548;
  font-size:clamp(1.7rem,3vw,2.6rem);
  line-height:1.08;
  margin:.2rem 0 .5rem;
}
.recommendation-cards{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin:0;
  padding:0 1rem;
}
.recommendation-card{
  flex:1 1 0;
  max-width:220px;
  min-height:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid #dfe8f4;
  border-bottom-color:#fff;
  border-radius:16px 16px 0 0;
  box-shadow:0 10px 24px rgba(16,32,51,.05);
  color:#173d7a;
  font:inherit;
  font-size:.95rem;
  font-weight:900;
  line-height:1;
  padding:.85rem 1.1rem;
  text-align:center;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.recommendation-card:hover{
  border-color:#bfd0ef;
  border-bottom-color:#fff;
  box-shadow:0 12px 28px rgba(16,32,51,.08);
}
.recommendation-card.is-active{
  background:#173d7a;
  border-color:#173d7a;
  color:#fff;
  box-shadow:0 14px 32px rgba(23,61,122,.18);
}
.recommendation-shell{
  margin-top:1rem;
}
.recommendation-panel-wrap{
  background:#fff;
  border:1px solid #dfe8f4;
  border-radius:24px;
  box-shadow:0 14px 34px rgba(16,32,51,.06);
  overflow:hidden;
}
.recommendation-content{
  padding:1.5rem;
}
.recommendation-content[hidden]{
  display:none;
}
.recommendation-content h2{
  color:#0c2548;
  margin:.2rem 0 1rem;
}
.recommendation-content p{
  color:#40556d;
  margin:0 0 1rem;
}
.guidelines-shell{
  background:#fff;
  border:1px solid #dfe8f4;
  border-radius:24px;
  box-shadow:0 14px 34px rgba(16,32,51,.06);
  margin-top:1rem;
  overflow:hidden;
}
.guidelines-period-bar{
  display:grid;
  gap:.55rem;
  padding:1.25rem;
  border-bottom:1px solid #e7eef8;
}
.guidelines-period-bar .eyebrow,
.guidelines-sidebar .eyebrow{
  margin:0;
}
.guidelines-layout{
  display:grid;
  grid-template-columns:minmax(220px, 280px) 1fr;
}
.guidelines-sidebar{
  background:#f7fafe;
  border-right:1px solid #e7eef8;
  padding:1.25rem;
}
.guidelines-filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
}
.guidelines-sklop-list{
  display:grid;
  gap:.55rem;
  margin-top:.55rem;
}
.guideline-filter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  background:#f7fafe;
  border:1px solid #dfe8f4;
  border-radius:999px;
  color:#173d7a;
  font:inherit;
  font-size:.92rem;
  font-weight:800;
  line-height:1.2;
  padding:.65rem 1rem;
  text-align:center;
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.guideline-filter:hover{
  border-color:#bfd0ef;
  box-shadow:0 8px 18px rgba(16,32,51,.07);
}
.guideline-filter.is-active{
  background:#173d7a;
  border-color:#173d7a;
  color:#fff;
  box-shadow:0 12px 24px rgba(23,61,122,.16);
}
.guidelines-filter-row [data-guidelines-period],
.guidelines-filter-row [data-progress-period]{
  min-width:86px;
}
.guidelines-sklop-list .guideline-filter{
  justify-content:flex-start;
  width:100%;
  border-radius:14px;
  text-align:left;
}
.guideline-result{
  padding:1.5rem;
}
.guideline-result h2{
  color:#0c2548;
  margin:.2rem 0 1rem;
}
.guideline-body p{
  color:#40556d;
  margin:0 0 1rem;
}
.guideline-body p:last-child{
  margin-bottom:0;
}
.content-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  padding:1.25rem 1.5rem 1.5rem;
}
.content-action-link{
  margin-top:1.35rem;
}
.progress-body h3{
  color:#0c2548;
  font-size:1rem;
  margin:1.25rem 0 .7rem;
}
.progress-body ul{
  display:grid;
  gap:.65rem;
  margin:0;
  padding-left:1.15rem;
}
.progress-body li{
  color:#40556d;
  line-height:1.62;
}

/* RIN learning scenario material */
.rin-material-section{
  padding:3.2rem 0 3rem;
  background:linear-gradient(135deg,#dbe8ff 0%,#c5d8ff 100%);
}
.rin-material-head,
.rin-material-card{
  background:rgba(255,255,255,.9);
  border:1px solid #dfe8f4;
  border-radius:26px;
  box-shadow:0 14px 36px rgba(16,32,51,.08);
}
.rin-material-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:1.25rem;
  align-items:center;
  margin-bottom:1rem;
  padding:1.5rem;
}
.rin-material-head h1{
  color:#0c2548;
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:1.08;
  margin:.2rem 0 .8rem;
}
.rin-material-logos{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.75rem;
}
.rin-material-logos img{
  width:min(150px,18vw);
  max-height:82px;
  object-fit:contain;
}
.rin-material-card{
  margin-top:1rem;
  padding:1.5rem;
}
.rin-material-card h2{
  color:#0c2548;
  margin:.1rem 0 .8rem;
}
.rin-collapse-card summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  cursor:pointer;
  list-style:none;
}
.rin-collapse-card summary::-webkit-details-marker{
  display:none;
}
.rin-collapse-card summary h2{
  margin:0;
}
.rin-collapse-card summary::after{
  content:"+";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  background:#173d7a;
  border-radius:50%;
  color:#fff;
  font-size:1.35rem;
  font-weight:800;
  line-height:1;
}
.rin-collapse-card[open] summary{
  margin-bottom:1rem;
}
.rin-collapse-card[open] summary::after{
  content:"−";
}
.rin-material-card p{
  color:#40556d;
  margin:0 0 1rem;
}
.rin-material-card p:last-child{
  margin-bottom:0;
}
.scenario-structure-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:.8rem;
  margin-top:1rem;
}
.scenario-structure-grid article{
  background:#f7fafe;
  border:1px solid #dfe8f4;
  border-radius:18px;
  padding:1rem;
}
.scenario-structure-grid span{
  display:inline-flex;
  color:#0b63b6;
  font-weight:900;
  letter-spacing:.08em;
  margin-bottom:.5rem;
}
.scenario-structure-grid h3{
  color:#173d7a;
  font-size:1rem;
  line-height:1.25;
  margin:0;
  text-transform:uppercase;
}
.rin-material-note{
  border-left:5px solid #173d7a;
}
.rin-scenarios-list{
  margin-top:1.2rem;
}
.rin-scenario-filter{
  background:rgba(255,255,255,.9);
  border:1px solid #dfe8f4;
  border-radius:22px;
  box-shadow:0 10px 24px rgba(16,32,51,.06);
  margin-top:1rem;
  padding:1rem;
}
.rin-scenario-filter .eyebrow{
  margin:0 0 .55rem;
}
.rin-scenario-filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
}
.rin-scenario-count{
  justify-content:flex-start;
  margin:1rem 0 0;
}
.rin-scenario-count p{
  border-color:#aebfe9;
  color:#2f6fdd;
}
.rin-scenario-grid{
  margin-top:1rem;
}
.rin-scenario-grid .scenario-card{
  border-color:#dfe8f4;
  box-shadow:0 12px 28px rgba(16,32,51,.07);
}
.rin-scenario-grid .scenario-card-top{
  border-bottom-color:#e7eef8;
}
.rin-scenario-grid .scenario-viz{
  color:#0b63b6;
}
.rin-scenario-grid .rin-grade-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  background:#eef4ff;
  border:1px solid #c5d8ff;
  border-radius:999px;
  color:#2f6fdd;
  font-size:.82rem;
  font-weight:900;
  margin:.7rem 0 0;
  padding:.35rem .65rem;
}
.rin-scenario-grid .scenario-meta div{
  background:#f7fafe;
  border-color:#dfe8f4;
}
.rin-scenario-grid .scenario-meta dt{
  color:#173d7a;
}
.rin-scenario-grid .scenario-download{
  background:#173d7a;
  border-color:#173d7a;
  color:#fff;
}
.rin-scenario-grid .scenario-download:hover{
  box-shadow:0 12px 28px rgba(23,61,122,.18);
}
.rin-scenario-actions{
  display:grid;
  gap:.55rem;
  margin-top:auto;
}
.rin-video-link{
  width:100%;
}
@media (max-width: 980px){
  .catalog-layout{
    grid-template-columns:1fr;
  }
  .catalog-sidebar{
    position:relative;
    top:auto;
    max-height:none;
  }
  .recommendation-cards{
    padding:0 .4rem;
  }
  .guidelines-layout{
    grid-template-columns:1fr;
  }
  .guidelines-sidebar{
    border-right:0;
    border-bottom:1px solid #e7eef8;
  }
  .guidelines-sklop-list{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .scenario-structure-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .rin-material-head{
    grid-template-columns:1fr;
  }
  .rin-material-logos{
    justify-content:flex-start;
  }
  .rin-material-logos img{
    width:140px;
  }
}
@media (max-width: 720px){
  .catalog-title-row{
    grid-template-columns:1fr;
  }
  .catalog-page-logo{
    width:150px;
  }
  .catalog-sidebar,
  .catalog-current{
    border-radius:20px;
  }
  .guidelines-sklop-list{
    grid-template-columns:1fr;
  }
  .scenario-structure-grid{
    grid-template-columns:1fr;
  }
  .goal-detail-grid{
    grid-template-columns:1fr;
  }
  .goal-card summary{
    grid-template-columns:1fr;
  }
  .goal-card summary::after{
    justify-self:start;
  }
}

/* RAČek learning scenarios */
.scenario-section{
  padding:3.2rem 0 3rem;
  background:linear-gradient(135deg,#fff5dd 0%,#ffd995 100%);
}
.scenario-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:1.25rem;
  align-items:center;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(255,221,154,.9);
  border-radius:26px;
  padding:1.25rem;
  box-shadow:0 14px 36px rgba(128,82,10,.08);
  margin-bottom:1rem;
}
.scenario-head h1{
  margin:.2rem 0 .8rem;
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:1.08;
  color:#0c2548;
}
.scenario-logo{
  width:min(190px,24vw);
  max-height:104px;
  object-fit:contain;
}
.scenario-toolbar{
  display:flex;
  justify-content:flex-end;
  margin:0 0 1rem;
}
.scenario-toolbar p{
  margin:0;
  background:#fff;
  border:1px solid #f3d28f;
  color:#7a520e;
  border-radius:999px;
  padding:.45rem .85rem;
  font-weight:800;
}
.scenario-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}
.scenario-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:#fff;
  border:1px solid #f1d59d;
  border-radius:20px;
  padding:1rem;
  box-shadow:0 12px 28px rgba(128,82,10,.07);
}
.scenario-card-top{
  border-bottom:1px solid #f4e1bb;
  padding-bottom:.75rem;
  margin-bottom:.8rem;
}
.scenario-viz{
  margin:0 0 .45rem;
  color:#8a5d10;
  font-size:.82rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.scenario-card h2{
  margin:0;
  color:#0c2548;
  font-size:1.22rem;
  line-height:1.2;
}
.scenario-summary{
  color:#40556d;
  margin:.1rem 0 .95rem;
}
.scenario-meta{
  display:grid;
  gap:.65rem;
  margin:auto 0 1rem;
}
.scenario-meta div{
  background:#fff9ec;
  border:1px solid #f4e1bb;
  border-radius:14px;
  padding:.7rem;
}
.scenario-meta dt{
  margin:0 0 .2rem;
  color:#8a5d10;
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.scenario-meta dd{
  margin:0;
  color:#27425e;
}
.scenario-download{
  width:100%;
  background:#f2a51a;
  color:#102033;
  border:1px solid #db9010;
}
.scenario-download:hover{
  box-shadow:0 12px 28px rgba(128,82,10,.16);
}
@media (max-width: 1080px){
  .scenario-grid{
    grid-template-columns:repeat(2,1fr);
  }
}
@media (max-width: 720px){
  .scenario-head{
    grid-template-columns:1fr;
  }
  .scenario-logo{
    width:150px;
  }
  .scenario-toolbar{
    justify-content:flex-start;
  }
  .scenario-grid{
    grid-template-columns:1fr;
  }
}
