/* General page layout */
body {
  font-family: "Times New Roman", Times, serif;
  max-width: 900px;          /* Matches your content width */
  margin: auto;
  padding: 2rem;
  line-height: 1.6;
  background: #fdfdfd;
  color: #333;
}

header, footer {
  text-align: left;
  margin-bottom: 2rem;
}

h1, h2, h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

a {
  color: #1d72b8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  padding-left: 0;
}

li {
  margin-bottom: 1.5rem;
}

/* Sections */
section {
  margin-bottom: 2rem;
}

/* Header image styling */
.header-image {
  max-width: 900px;       /* Limit container width */
  margin: 0 auto 1.5rem;  /* Center container */
  padding: 0;             /* Optional */
}

.header-image img {
  width: 100%;            /* Fill the container, not full page */
  height: auto;
  display: block;         
  border-radius: 8px;     /* optional */
}

.header-image figure {
  margin: 0;
}

.header-image figcaption {
  font-size: 0.8rem;
  color: #777;
  text-align: left;
  margin-top: 0.1rem;
}

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .button {
    padding: 0.5rem 1rem;
  }

  .youtube-video {
    position: relative;
    width: 100%;
    max-width: 1500px;   /* desktop: limit width */
    margin: 0 auto;     /* center horizontally */
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
  }

  .youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px; /* optional */
  }

  /* On mobile: let it span full width */
  @media (max-width: 600px) {
    .youtube-video {
      max-width: 100%;
      margin: 0;
    }
  }

  
}
