/* =====================================================
   Global variables
   Central place for colors and dimensions
   ===================================================== */
:root {
  --green: #006b3f;
  --dark-green: #004d2d;
  --light-green: #eef5f1;
  --text: #333333;
  --red: #e03127;
  --muted: #666;
  --border: #ddd;
  --background: #f6f6f6;
  --max-width: 1500px;
}

/* Include padding and border in width calculations */
* {
  box-sizing: border-box;
}

/* Basic page styling */
body {
  margin: 0;
  font-family: futura-pt, sans-serif;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

/* Reusable centered content container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Narrow content column for better readability */
.narrow {
  max-width: 760px;
}

/* =====================================================
   Top institutional links bar
   ===================================================== */
.top-header {
  background: white;
  font-size: 0.9rem;
}

.top-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  padding: 8px 0;
}


/* =====================================================
   Main header
   ===================================================== */
.main-header {
  background:white;
  color: var(--red);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0;
}

/* Logo area */
.logo-block {
  display: flex;
  align-items: left ;
  gap: 14px;
}

/* Secondary text under logo */
.logo-block span {
  display: block;
  font-size: 0.9rem;
}

/* =====================================================
   Hero section
   ===================================================== */
.hero {
  padding: 20px 0;
  background-color: var(--background);
}

/* Main page title */
h1 {
  font-family: adobe-garamond-pro, serif;
  font-style: italic;
  font-size: clamp(2.2rem, 2vw, 4rem);
  color: var(---text);
  }

/* Intro paragraph */
.lead {
  max-width: 760px;
  font-size: 1.25rem;
}

ul {
  font-size: 1.2rem;
}

/* =====================================================
   Content sections
   ===================================================== */
.content-section,
.cards-section {
  padding: 20px 0;
}

h2 {
  font-family: adobe-garamond-pro, serif;
  color: var(--text);
  font-style: italic;
}

/* Limit text line length for readability */
p {
  max-width: 70ch;
}

.hyperlink {
  color:var(---text);
  text-decoration-color: var(--red);
}

/* =====================================================
   Card layout
   ===================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  border-top: 2px solid #dedede;
  padding: 5px 14px;
  background: var(--background);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

h3 {
 line-height: 1.4rem; 
}

.card a {
  font-weight: bold;
}

.services a:not(:first-child) {
  border-left: 2px solid var(--text);
  padding-left: 12px;
  margin-left: 12px;
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background: #111111;
  color: white;
  padding: 36px 0;
  font-size: 0.85rem;
}

/* =====================================================
   Responsive layout
   Applied when screen width is below 800px
   ===================================================== */
@media (max-width: 800px) {

  .header-content,
  .top-links,
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}