.wp-gallery {
  display: grid;
  gap: 16px;
  margin: 1.5rem 0;
}
.wp-gallery-cols-1 { grid-template-columns: 1fr; }
.wp-gallery-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wp-gallery-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wp-gallery p { margin: 0; }
.wp-gallery img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
.wp-gallery img:hover {
  box-shadow: 0 0 12px rgba(254, 190, 2, 0.6);
}
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}
.gallery-lightbox.active {
  display: flex;
}
.gallery-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: pointer;
}
.gallery-lightbox .lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  padding: 0;
}
.article-card {
  background: #333;
  display: flex;
  max-width: 1280px;
  margin: 0 auto 20px;
  box-shadow: 0 20px 20px rgba(0,0,0,0.1), 0 3px 3px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
}
.card-thumbnail {
  flex: 0 0 50%;
  overflow: hidden;
  aspect-ratio: 1;
}
.card-thumbnail a {
  display: block;
  height: 100%;
}
.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-body {
  flex: 1;
  min-width: 0;
  padding: 60px;
  box-sizing: border-box;
}
.card-body h2 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.3em;
  margin-bottom: 14px;
  word-wrap: anywhere;
}
.card-body h2 a {
  color: #fff;
  text-decoration: none;
}
.card-body h2 a:hover {
  box-shadow: 0 3px 0 #febe02;
}
.card-body .entry-meta {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}
.card-body .card-excerpt {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 30px;
}
.card-body .card-more-link {
  background: #febe02;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}
.card-body .card-more-link span {
  background: #333;
  display: block;
  padding: 8px 14px;
  margin: 3px;
  transition: all 0.3s ease;
}
.card-body .card-more-link:hover span {
  padding-left: 24px;
}
@media (max-width: 600px) {
  .article-card {
    flex-direction: column;
  }
  .card-thumbnail {
    flex: none;
    width: 100%;
  }
  .card-thumbnail img {
    min-height: 200px;
  }
  .card-body {
    padding: 30px;
  }
  .card-body h2 {
    font-size: 28px;
  }
}
.iframe-wrapper {
  text-align: center;
  margin: 1.5rem 0;
}
.iframe-wrapper iframe {
  max-width: 100%;
  border: none;
}
