/* Import elegant serif + sans-serif fonts */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base styles */
body {
  font-family: 'Libre Baskerville', serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.8;
  font-size: 16px;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', serif;
  margin-top: 0;
}

p {
  margin-bottom: 1.25rem;
}

/* Layout Containers */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header */
header {
  background-color: #002f6c;
  color: white;
  padding: 2rem 1rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
  max-height: 70px; /* balanced size */
  width: auto;
  margin-bottom: 0.75rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Site title */
header h1 {
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-family: 'Libre Baskerville', serif;
  font-weight: 600;
  font-size: 1rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

nav a:hover {
  color: #e2e8f0;
  border-bottom: 2px solid #1a4dab;
}

nav a.active {
  border-bottom: 2px solid #1a4dab;
  font-weight: 700;
}

/* Main content */
main {
  padding: 3rem 2rem;
  max-width: 800px;
  margin: auto;
}

/* Intro Box / Hero Section */
.intro {
  background-color: #f0f4f8;
  padding: 2.5rem 2rem;
  border-left: 6px solid #002f6c;
  margin-bottom: 3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

/* Section Headers */
.section-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}

/* Buttons */
button, input[type="submit"] {
  background-color: #002f6c;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover, input[type="submit"]:hover {
  background-color: #0148a4;
  transform: translateY(-2px);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: #f8f9fa;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  color: #555;
  border-top: 1px solid #ddd;
  margin-top: 4rem;
}

footer .socials {
  margin-top: 1rem;
}

footer .socials a {
  margin: 0 0.5rem;
  color: #555;
  text-decoration: none;
  font-size: 1.2rem;
}

footer .socials a:hover {
  color: #002f6c;
}

/* Section Divider */
hr.section-divider {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 3rem 0;
  width: 100%;
}

/* Block Quotes */
blockquote {
  font-style: italic;
  border-left: 4px solid #002f6c;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background-color: #f8f9fa;
  color: #333;
}

/* Byline */
.byline {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #555;
  margin-top: -1rem;
  margin-bottom: 2rem;
}

/* Article */
article h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

article p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 1.8rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.95rem;
  }

  .intro {
    padding: 2rem 1rem;
  }

  .container {
    padding: 1.5rem;
  }

  .logo {
    max-height: 60px;
  }
}
p {
  margin-bottom: 1.5rem; /* a bit more breathing room */
}


ul, ol {
  margin-left: 2rem; 
  margin-bottom: 1.5rem; 
  padding-left: 1rem; 
}

li {
  margin-bottom: 0.5rem; 
}

/* Intro box shared styling */
.intro {
  background-color: #f0f4f8;
  padding: 2.5rem 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  font-family: 'Libre Baskerville', serif;
}

/* Headings inside intro blocks (fix spacing!) */
.intro h2 {
  font-size: 1.8rem;
  margin: 0 0 1rem 0;  /* consistent top + bottom margin */
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
}

/* Left border for the first intro box */
.intro {
  border-left: 6px solid #002f6c;
}

/* Right border for the partner box */
.intro.partner {
  border-left: none;
  border-right: 6px solid #002f6c;
}

/* --- Buttons --- */
.btn-donate {
  display: inline-block;
  background-color: #002f6c;
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-donate:hover {
  background-color: #0148a4;
  transform: translateY(-2px);
}

.updates {
  max-width: 700px;
  margin: 2rem auto;
}

.update {
  border: 1px solid #ddd;
  border-left: 5px solid #002f6c;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  background: #fafafa;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.update .date {
  font-size: 0.85rem;
  color: #666;
  display: block;
  margin-bottom: 0.3rem;
  font-style: italic;
}
