*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  background: #fff;
  color: #000;
}

a {
  color: inherit;
}

#layout {
  padding: 40px 20px 40px;
}

header {
  font-size: 10px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 4px;
}

.spacer {
  height: 100px;
}

.text {
  font-size: 10px;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Wrapper — 758px = two images per row (250 + 8gap + 500) */
.project-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 758px;
  max-width: 100%;
}

/* Video fills the full width of .project-block */
.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Logo + caption side by side */
.project-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.logo {
  width: 155px;
  height: auto;
  flex-shrink: 0;
}

.project-caption {
  font-size: 10px;
  line-height: 1.6;
}

/* Images — 2 per row, wraps to second row */
.images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.images img {
  height: 333px;
  width: auto;
  display: block;
}

footer {
  font-size: 10px;
  margin-top: 20px;
}

@media (max-width: 800px) {
  .images img {
    height: auto;
    width: calc(50% - 4px);
  }

  .video-wrap {
    width: 100%;
  }

  .project-block {
    display: flex;
    width: 100%;
  }
}
