* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111111;
  background: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #111111;
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration-thickness: 2px;
}

.site-header {
  border-bottom: 1px solid #111111;
  background: #ffffff;
}

.banner-link {
  display: block;
  text-decoration: none;
}

.site-banner {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-bottom: 1px solid #111111;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 0.35rem 0.75rem;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
  border-color: #111111;
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.intro-section,
.content-section,
.featured-video-section,
.recent-videos-section {
  margin-bottom: 2.5rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid #111111;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.video-card,
.contact-card,
.form-placeholder {
  border: 1px solid #111111;
  background: #ffffff;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
}

.video-thumbnail-link {
  display: block;
  text-decoration: none;
}

.thumbnail-placeholder {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid #111111;
  background: repeating-linear-gradient(
    45deg,
    #f4f4f4,
    #f4f4f4 12px,
    #ffffff 12px,
    #ffffff 24px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-weight: 700;
}

.featured-card .thumbnail-placeholder {
  border-bottom: 0;
  border-right: 1px solid #111111;
  min-height: 260px;
}


.video-embed {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-bottom: 1px solid #111111;
  background: #f4f4f4;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.featured-card .video-embed {
  border-bottom: 0;
  border-right: 1px solid #111111;
  min-height: 260px;
}

.video-card-content {
  padding: 1rem;
}

.video-card-content h3 {
  margin-bottom: 0.5rem;
}

.video-card-content p {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.contact-card,
.form-placeholder {
  padding: 1rem;
}

.link-list {
  padding-left: 1.2rem;
}

form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

label {
  font-weight: 700;
}

input,
textarea,
button {
  font: inherit;
  border: 1px solid #111111;
  padding: 0.75rem;
  background: #ffffff;
  color: #111111;
}

button {
  cursor: pointer;
  font-weight: 700;
}

button:hover,
button:focus {
  background: #111111;
  color: #ffffff;
}

.site-footer {
  border-top: 1px solid #111111;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  background: #ffffff;
}

.site-footer p {
  width: min(1120px, 100%);
  margin: 0 auto 1rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .main-nav {
    align-items: stretch;
    gap: 0.5rem;
  }

  .main-nav a {
    flex: 1 1 100%;
    text-align: center;
    border-color: #111111;
  }

  .featured-card,
  .video-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .featured-card .thumbnail-placeholder,
  .featured-card .video-embed {
    border-right: 0;
    border-bottom: 1px solid #111111;
    min-height: auto;
  }
}
