
/* ===========================
   GLOBAL STYLES
   =========================== */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #e4eef7;
  color: #033a69;
}

a {
  text-decoration: none;
}


/* ===========================
   HEADER (UNIFIED ISCT STYLE)
   =========================== */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #032a4d;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.header-logo {
  height: 72px;
  width: auto;
  display: block;
}

.logo-text {
  color: #ffffff;
  line-height: 1.15;
  max-width: 520px;
  font-size: 1.15em;
  font-weight: 600;
}

.logo-text .subline {
  display: block;
  font-size: 0.80em;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 2px;
}

.mission-text {
  max-width: 900px;
  margin-top: 0;
  margin-bottom: 30px;   /* slightly bigger gap below */
  text-align: center;
  font-size: 1.05rem;
}


/* Navigation */

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li a {
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
}

nav ul li a:hover {
  color: #00aaff;
}


/* ===========================
   PAGE CONTENT (About + others)
   =========================== */

.container.content-page {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 40px;
  position: relative;
}

/* Home page container layout + centered text */
.container.no-watermark {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 40px;
  text-align: center !important;
}

.container.no-watermark p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Typography */

h1 {
  margin-top: 0;
  margin-bottom: 30px;
  line-height: 1.3;
}

h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  line-height: 1.4;
}

p {
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 1100px;
}

ul {
  margin-top: 15px;
  margin-bottom: 25px;
}

li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.highlights {
  list-style-position: inside;
  padding: 0;
  text-align: center;
}

.highlights .mission-item {
  list-style-type: none !important;
  padding-left: 0;
  margin-left: 0;
}

.highlights li {
  text-align: center;
}

/* ===========================
   WATERMARK (content pages only)
   =========================== */

.container.content-page {
  position: relative;   /* <-- REQUIRED for watermark to display */
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 600px;
  padding-top: 80px;
}

.container.content-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/IMPACT%20logo%202026.png");
  background-repeat: no-repeat;
  background-position: center 120px;
  background-size: 600px;
  opacity: 0.06;
  pointer-events: none;
}


/* ===========================
   FOOTER
   =========================== */

footer {
  background-color: #fd8624;
  color: #ffffff;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}


/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 900px) {

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
  }

  .logo-text {
    max-width: 100%;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
  }

  .container.content-page {
    padding: 0 20px;
  }
}
 /* Remove watermark on pages that request it */
.no-watermark::before {
  display: none !important;
}
/* ===========================
   HOMEPAGE HERO
   =========================== */

.hero {
  text-align: center;
  padding: 20px 20px;
  background-color: #e4eef7;
}

.hero-content {
  text-align: center;
}

.hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 2.5em;
  margin-top: 0;
}

.hero-content h2 {
  font-size: 1.6em;
  margin-top: 5px;
  margin-bottom: 0;
}

/* Fix H1 centering on watermark pages */
.container.content-page h1 {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.mission-item {
  list-style-type: none;
}

/* ===========================
   CENTERS PAGE
   =========================== */

.centers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

/* Each card aligns elements consistently using flexbox */
.center-card {
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.center-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px; /* base spacing for all logos */
}

/* Force MSK logo to sit lower for alignment */
img.center-logo.msk-logo {
  margin-bottom: 40px !important;
}


img.center-logo.opbg-logo {
  margin-bottom: 50px !important;
}

.logo-wrapper {
  height: 140px; /* we can tune this */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* ===========================
   PROJECTS PAGE
   =========================== */

.project-section {
  margin-bottom: 50px;
}

.project-section h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-weight: 700;
}

.focus-block, .project-block {
  margin-bottom: 25px;
  padding-left: 10px;
}

.focus-block h3,
.project-block h4 {
  font-weight: 700;
  margin-bottom: 5px;
}

.focus-block p,
.project-block p {
  margin: 0 0 5px 0;
  max-width: 750px;
  line-height: 1.45;
}

.project-section + .project-section {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 40px;
}

/* —— Enhancements for better hierarchy —— */

.project-block h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-block {
  margin-bottom: 22px;
}

.project-block p {
  max-width: 750px;
  line-height: 1.45;
}

.project-section + .project-section {
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 35px;
  margin-top: 35px;
}

/* ===========================
   NEWS PAGE PLACEHOLDER
   =========================== */
.news-section {
  margin: 0 auto;
  max-width: 1100px;
  padding: 40px 0 80px 0;
  text-align: center;
}
.news-placeholder {
  border-radius: 18px;
  padding: 36px 18px 30px 18px;
  max-width: 100%;
   margin: 0 auto;
}
.news-placeholder h2 {
  margin-top: 0;
  font-size: 1.5em;
  font-weight: 700;
  color: #033a69;
}
.news-placeholder p {
  margin: 14px 0;
  font-size: 1.08em;
  color: #033a69;
}

/* ===========================
   PUBLICATIONS / OUTPUT PAGE
   =========================== */
.publications-list {
  margin: 40px auto 80px auto;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Justify text for publications section */
.pub-card p {
  text-align: justify;
  hyphens: auto;
}

.pub-card {
  border-radius: 18px;
  padding: 28px 22px 18px 22px;
}

.pub-card h2 {
  font-size: 1.15em;
  margin: 0 0 14px 0;
  color: #033a69;
}

.pub-card h2 a {
  color: #033a69;
  text-decoration: none;
  border-bottom: 1.5px dotted #fd8624;
  transition: border-bottom 0.2s;
}

.pub-card h2 a:hover {
  border-bottom: 2.5px solid #fd8624;
  color: #fd8624;
}

.pub-summary {
  margin-bottom: 16px;
  font-size: 1em;
  color: #0e3559;
}

.pub-meta a {
  font-size: 0.96em;
  color: #045296;
  text-decoration: underline dotted #fd8624;
}

@media (max-width: 600px) {
  .publications-list {
    padding: 0 8px;
    gap: 18px;
  }
  .pub-card {
    padding: 16px 8px 12px 8px;
  }
  .pub-card h2 {
    font-size: 1em;
  }
}
