/* =========================
   News & Publications (CSS)
========================= */
:root{
  --navy:#0b2b44;
  --navy2:#103a5c;
  --gold:#f0b429;

  --bg:#fbf7ef;
  --text:#1a2330;
  --muted:#5a6776;

  --card:#fff;
  --line:rgba(16,58,92,.12);
  --shadow: 0 18px 40px rgba(11,43,68,.10);
  --radius:18px;
}

/* .ast-button, .ast-custom-button, body, button, input[type=button], input[type=submit], textarea{
  line-height: normal;
} */

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.sr-one{padding: 0 0 80px}
.sr-wrap{max-width: 1180px; margin: 0 auto; padding: 0 18px}

/* HERO */
.sr-head--full{
  margin-top: 60px;
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 56px 0 44px;
  background:
    radial-gradient(900px 320px at 16% 30%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(760px 300px at 86% 0%, rgba(240,180,41,.18), transparent 62%),
    linear-gradient(180deg, var(--navy2), var(--navy));
  border-bottom: 1px solid rgba(240,180,41,.35);
  box-shadow: 0 12px 30px rgba(11,43,68,.10);
}
.sr-head-inner{max-width: 1180px; margin: 0 auto; padding: 0 18px}
.sr-head h1{margin:0; color:#fff; font-size: clamp(28px, 4vw, 44px)}
.sr-head p{margin:10px 0 0; color: rgba(255,255,255,.85); max-width: 70ch; line-height: 1.55}

/* BAR */
.sr-bar{
  margin-top: 18px;
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
}
.sr-tabs{display:flex; gap:10px; flex-wrap:wrap}
.sr-tab{
  border: 1px solid rgba(16,58,92,.18);
  background: rgba(255,255,255,.75);
  padding: 10px 14px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 650;
  color: var(--text);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
.sr-tab:hover{transform: translateY(-1px); box-shadow: 0 8px 18px rgba(11,43,68,.08)}
.sr-tab.is-active{
  background:#fff;
  border-color: rgba(240,180,41,.70);
  box-shadow: 0 10px 22px rgba(240,180,41,.16);
}
.sr-search{display:flex; align-items:center; gap:10px}
.sr-search input{
  width: min(420px, 82vw);
  border: 1px solid rgba(16,58,92,.14);
  border-radius: 999px;
  padding: 12px 16px;
  outline:none;
  background: rgba(255,255,255,.85);
}
.sr-search input:focus{
  border-color: rgba(240,180,41,.75);
  box-shadow: 0 0 0 4px rgba(240,180,41,.18);
}
.sr-count{font-size: 13px; color: var(--muted)}

/* GRID */
.sr-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* CARD */
.sr-card{
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 12px 26px rgba(11,43,68,.06);
  transition: transform .16s ease, box-shadow .16s ease;
  overflow:hidden;
}
.sr-card:hover{transform: translateY(-2px); box-shadow: var(--shadow)}

.sr-top{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom: 8px}
.sr-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding: 6px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 850; color:#fff;
}
.sr-chip--news{background:#2f6feb}
.sr-chip--press{background:#ff8a00}
.sr-chip--conf{background:#7b61ff}
.sr-chip--art{background:#14a37f}

.sr-date{color: var(--muted); font-weight: 750; font-size: 13px}

.sr-title{margin: 6px 0 6px; font-size: 18px; line-height: 1.25}
.sr-excerpt{margin:0; color: var(--muted); line-height: 1.55; padding-right: 54px}

/* “+” expands the card (not showing/hiding content) */
.sr-more{
  position:absolute;
  right: 14px;
  top: 54px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(16,58,92,.14);
  background:#fff;
  cursor:pointer;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  padding: 0!Important;
}
.sr-more:hover{
  transform: translateY(-1px);
  border-color: rgba(240,180,41,.65);
  box-shadow: 0 10px 20px rgba(240,180,41,.16);
}

/* BODY ALWAYS VISIBLE */
.sr-body{ margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(16,58,92,.10) }

/* Compact by default (clamp) */
.sr-bodytext{
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.6;

  display:-webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.sr-list{
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;

  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

.sr-media{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(16,58,92,.10);
  background:#fff;
}
.sr-media img{
  width:100%;
  height: 200px;
  object-fit: contain; /* NO CROP */
  display:block;
  background:#fff;
}
.sr-media--grid2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.sr-media--grid2 img{ height: 180px; border-right: 1px solid rgba(16,58,92,.08) }
.sr-media--grid2 img:last-child{ border-right:none }

.sr-links{ margin-top: 10px; display:flex; flex-wrap:wrap; gap:10px; align-items:center }
.sr-link{
  color: var(--navy2);
  font-weight: 850;
  text-decoration:none;
  border-bottom: 1px dashed rgba(16,58,92,.35);
}
.sr-link:hover{ border-bottom-color: rgba(240,180,41,.9) }
.sr-dot{color: rgba(16,58,92,.35) }
.sr-note{ margin: 10px 0 0; color: var(--muted); font-size: 12px }

/* Article cards */
.sr-card--link{ display:block; text-decoration:none; color:inherit }
.sr-card--link .sr-excerpt{ padding-right: 0 }
.sr-thumb{
  margin-top: 12px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(16,58,92,.10);
  background:#fff;
}
.sr-thumb img{
  width:100%;
  height: 220px;
  object-fit: contain; /* NO CROP */
  display:block;
  background:#fff;
}

/* Expanded state (show all text + taller images) */
.sr-card.is-open .sr-bodytext,
.sr-card.is-open .sr-list{
  -webkit-line-clamp: initial;
  overflow: visible;
}
.sr-card.is-open .sr-media img{ height: 320px; }
.sr-card.is-open .sr-media--grid2 img{ height: 260px; }
.sr-card.is-open .sr-thumb img{ height: 300px; }

/* Responsive */
@media (max-width: 900px){
  .sr-grid{grid-template-columns: 1fr}
  .sr-more{ top: 52px }
}
@media (max-width: 680px){
  .sr-media--grid2{ grid-template-columns: 1fr; }
  .sr-media--grid2 img{ border-right:none; border-bottom: 1px solid rgba(16,58,92,.08); height: 220px; }
  .sr-media--grid2 img:last-child{ border-bottom:none }
}
