/* Basic page styling */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background: #f5f7fb;
  color: #1f2937;
}

/* Fake nav required by assignment */
.fake-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 12px;
  background: #111827;
}

.fake-nav a {
  color: white;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.fake-nav a:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Main container */
.container {
  width: min(1100px, 92%);
  margin: 24px auto 40px;
}

/* Reusable card layout */
.card {
  background: white;
  border-radius: 14px;
  padding: 18px 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  margin-bottom: 18px;
}

.card h2 {
  margin-top: 0;
}

/* Two-column grid that becomes one column on small screens */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Image placeholder (so you still have an "image area" even before adding a file) */
.image-placeholder {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  background: #f8fafc;
  text-align: center;
  padding: 12px;
}

/* Responsive YouTube iframe wrapper */
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  border-radius: 12px;
  overflow: hidden;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Optional local video sizing */
.responsive-video {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 18px;
  background: #111827;
  color: #e5e7eb;
}

/* Responsive rules */
@media (max-width: 800px) {
  .grid {
    grid-template-columns: 1fr;
  }
}