body {
  margin: 0;
  font-family: 'Roboto', sans-serif; /* default text font */
}

/* Header */
header {
  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: center;
  background: #006699; /* blue bar */
  padding: 0.5rem 1rem;
  font-family: 'Roboto Slab', serif; /* header font */
}

header img {
  height: 100px; /* adjust to fit your logo size */
  width: auto; 
}

/* Headings */
h1, h2 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;   /* makes them bold but clean */
  margin: 1em 0 0.5em;
  line-height: 1.2;
}

h1 {
  font-size: 2em;     /* bigger for main page titles */
}

h2 {
  font-size: 1.5em;   /* smaller for section titles */
  color: #333;        /* optional: darker gray instead of pure black */
}

/* Nav uses regular Roboto */
.navbar {
  background: #0099cc;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: 'Roboto', sans-serif;
}

.menu-toggle 	{
	background: #999;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #444;
  }

  .nav-links.active {
    display: flex; /* show menu when active */
  }
}

.container {
  width: 80%;           /* take up 80% of screen */
  max-width: 1200px;    /* optional: prevents it from being too wide on large monitors */
  margin: 0 auto;       /* center horizontally */
  padding: 1rem;        /* breathing room */
  justify-content: center;   /* center horizontally */
}

figure {
  text-align: center;      /* center the image and caption */
  margin: 1.5rem 0;
}

figure img {
  max-width: 100%;         /* responsive image */
  height: auto;
  border-radius: 8px;       /* optional rounded corners */
}

figcaption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
  font-style: italic;
}

footer {
  color: #333;                /* dark text */
  text-align: center;         /* center text */
  justify-content: center;   /* center horizontally */
  padding: 5px 0;            /* space above and below */
  margin-top: 20px;           /* space before footer */
  font-size: 0.9rem;          /* slightly smaller text */
  border-top: 1px solid #ccc; /* subtle line above footer */
}

/* Remove default bullets */
ul {
  list-style: none;
  padding-left: 0;
}

/* Plans list uses a pdf image */
.pdf-list li {
  background: url("images/icon-pdf.png") no-repeat left center;
  background-size: auto 1.1em;   /* 1em = roughly the height of the text */
  padding-left: 1.5em;        /* leave space proportional to text */
  margin-bottom: 0.7rem;
}

/* Article list uses a folder icon image */
.articles-list li {
  background: url("images/icon-page.png") no-repeat left center;
  background-size: auto 1.1em;   /* 1em = roughly the height of the text */
  padding-left: 2em;        /* leave space proportional to text */
  margin-bottom: 0.7rem;
}

/* Remove default bullets for this list */
ul.video-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Style each video item */
ul.video-list li {
  padding-left: 2em;        /* leave space proportional to text */
  margin-bottom: 0.7rem;

}

/* Flex container: image + text side by side, vertically centered */
ul.video-list li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* Thumbnail image */
ul.video-list li img.thumb {
  margin-right: 15px;
  width: 120px;      /* fixed width */
  height: auto;      /* scale proportionally */
  border-radius: 5px;
}

/* Text container */
ul.video-list li .video-text {
  display: flex;
  flex-direction: column;
}

/* Title */
ul.video-list li .video-text strong {
  font-size: 1.2em;
  margin-bottom: 5px;
}

/* Description */
ul.video-list li .video-text p {
  margin: 0;
  font-size: 0.9em;
  color: #555;
}

/* Published date */
ul.video-list li .video-text small {
  font-size: 0.8em;
  color: #888;
}

/* Keep embedded video consistent with your image style */
figure.video-figure {
  margin: 20px auto;
  max-width: 800px;      /* keep it from being too wide */
  text-align: center;    /* center caption text */
}

/* Responsive embedded video */
figure.video-figure iframe {
  width: 100%;
  aspect-ratio: 16 / 9;  /* keeps correct proportions */
  border-radius: 5px;    /* matches image style */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Caption */
figure.video-figure figcaption {
  margin-top: 8px;
  font-size: 0.9em;
  color: #555;
}

.spacer {
  margin-top: 1em;
  margin-bottom: 1em;
}

.spacer-lg {
  margin-top: 2em;
  margin-bottom: 2em;
}

.spacer-xlg {
  margin-top: 3em;
  margin-bottom: 3em;
}
