/* ERI.mn Home v2 (Navy + Teal)
   File: c/p/home2.css
   Note: Uses h2- prefixed classes to avoid conflicts with existing CSS.
*/
:root{
  --h2-navy:#0B2A4A;
  --h2-navy-2:#123B66;
  --h2-navy-dark:#081F36;
  --h2-teal:#17BEBB;
  --h2-teal-hover:#0FA3A0;
  --h2-bg:#ffffff;
  --h2-bg-soft:#F5F7FA;
  --h2-text:#111827;
  --h2-muted:#6B7280;
  --h2-border:rgba(17,24,39,.10);
  --h2-shadow:0 10px 30px rgba(0,0,0,.08);
  --h2-radius:16px;
}

.home2, .home2 *{ box-sizing:border-box; }

.home2{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--h2-text);
  background:var(--h2-bg);
}

/* If the global template wraps content in <section class="body"><div class="center"> ... */
.body > .center { width:auto; max-width:none; padding:0; }

/* Containers */
.h2-container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

/* Generic utilities */
.h2-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:28px;
}
.h2-section-head h2{
  margin:0;
  font-size:30px;
  line-height:1.2;
  color:var(--h2-navy);
  letter-spacing:-0.02em;
}
.h2-more{
  color:var(--h2-navy);
  text-decoration:none;
  font-weight:600;
}
.h2-more:hover{ text-decoration:underline; }

/* Buttons */
.h2-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  transition:transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  gap:10px;
  white-space:nowrap;
}
.h2-btn:active{ transform:translateY(1px); }
.h2-primary{
  background:var(--h2-teal);
  color:#fff;
}
.h2-primary:hover{ background:var(--h2-teal-hover); }
.h2-secondary{
  border:2px solid rgba(255,255,255,.75);
  color:#fff;
}
.h2-secondary:hover{ border-color:#fff; }

/* Cards */
.h2-card{
  background:#fff;
  border:1px solid var(--h2-border);
  border-radius:var(--h2-radius);
  box-shadow:var(--h2-shadow);
}
.h2-card:hover{
  transform:translateY(-3px);
  transition:transform .2s ease;
}

/* Hero */
.h2-hero{
  padding:90px 0 60px;
  background:radial-gradient(1200px 600px at 20% 10%, rgba(23,190,187,.35) 0%, rgba(23,190,187,0) 55%),
             linear-gradient(135deg, var(--h2-navy) 0%, var(--h2-navy-2) 100%);
  color:#fff;
}
.h2-hero-grid{
  display:grid;
  grid-template-columns: 1.35fr .75fr;
  gap:28px;
  align-items:stretch;
}
.h2-hero-left h1{
  margin:0 0 14px;
  font-size:48px;
  line-height:1.05;
  letter-spacing:-0.03em;
}
.h2-hero-left p{
  margin:0;
  font-size:18px;
  line-height:1.55;
  opacity:.92;
  max-width:620px;
}
.h2-cta{
  margin-top:24px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.h2-pills{
  margin-top:20px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.h2-pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18);
  font-size:13px;
}

/* Featured card */
.h2-featured{
  padding:22px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  box-shadow:none;
}
.h2-featured h3{
  margin:0 0 10px;
  font-size:18px;
}
.h2-featured p{
  margin:0 0 14px;
  opacity:.9;
}
.h2-link{
  color:#fff;
  font-weight:700;
  text-decoration:none;
}
.h2-link:hover{ text-decoration:underline; }

/* Quick access */
.h2-quick{ padding:34px 0 70px; background:var(--h2-bg); }
.h2-grid-6{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:16px;
}
.h2-grid-6 .h2-card{
  padding:18px 18px 16px;
  text-decoration:none;
  color:var(--h2-text);
  box-shadow:0 8px 22px rgba(0,0,0,.06);
}
.h2-grid-6 .h2-card b{
  display:block;
  color:var(--h2-navy);
  font-size:14px;
  margin-bottom:6px;
}
.h2-grid-6 .h2-card span{
  display:block;
  color:var(--h2-muted);
  font-size:13px;
}

/* News */
.h2-news{ padding:70px 0; background:var(--h2-bg-soft); }
.h2-news-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:18px;
}
.h2-news-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  text-decoration:none;
  color:var(--h2-text);
  border-radius:var(--h2-radius);
  border:1px solid var(--h2-border);
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}
.h2-news-card:hover{ transform:translateY(-3px); transition:transform .2s ease; }
.h2-news-big{ grid-row:1 / span 3; }
.h2-img{
  width:100%;
  background:#e5e7eb;
  background-size:cover;
  background-position:center;
  aspect-ratio: 16 / 9;
}
.h2-news-big .h2-img{ aspect-ratio: 16 / 10; }
.h2-txt{
  padding:16px 16px 14px;
}
.h2-txt b{
  display:block;
  font-size:15px;
  line-height:1.35;
  color:var(--h2-navy);
  margin-bottom:8px;
}
.h2-txt em{
  font-style:normal;
  color:var(--h2-muted);
  font-size:13px;
}

/* Research */
.h2-research{ padding:70px 0; background:#fff; }
.h2-grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
.h2-study{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  text-decoration:none;
  color:var(--h2-text);
  border-radius:var(--h2-radius);
  border:1px solid var(--h2-border);
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}
.h2-study .h2-img{ aspect-ratio: 16 / 10; }
.h2-study b{
  padding:14px 16px 0;
  font-size:15px;
  line-height:1.35;
  color:var(--h2-navy);
}
.h2-study span{
  padding:8px 16px 16px;
  font-size:13px;
  color:var(--h2-muted);
}

/* Top publications */
.h2-top{ padding:70px 0; background:var(--h2-bg-soft); }
.h2-top-list{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}
.h2-top-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid var(--h2-border);
  background:#fff;
  text-decoration:none;
  color:var(--h2-text);
}
.h2-top-item:hover{ transform:translateY(-2px); transition:transform .2s ease; }
.h2-rank{
  width:36px;height:36px;
  border-radius:12px;
  background:rgba(11,42,74,.10);
  color:var(--h2-navy);
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
}
.h2-title{
  font-weight:700;
  color:var(--h2-navy);
  line-height:1.25;
}

/* Responsive */
@media (max-width: 1100px){
  .h2-grid-6{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width: 900px){
  .h2-hero-grid{ grid-template-columns:1fr; }
  .h2-news-grid{ grid-template-columns:1fr; }
  .h2-news-big{ grid-row:auto; }
  .h2-grid-3{ grid-template-columns:repeat(2, 1fr); }
  .h2-top-list{ grid-template-columns:repeat(2, 1fr); }
  .h2-hero-left h1{ font-size:40px; }
}
@media (max-width: 560px){
  .h2-grid-6{ grid-template-columns:repeat(2, 1fr); }
  .h2-grid-3{ grid-template-columns:1fr; }
  .h2-top-list{ grid-template-columns:1fr; }
  .h2-hero{ padding:70px 0 46px; }
  .h2-hero-left h1{ font-size:34px; }
}
