.wrap-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.wrap-gallery figure { margin: 0; background: #151719; border: 1px solid #303438; }
.wrap-gallery .gallery-lead { grid-column: 1 / -1; }
.wrap-gallery a { display: block; background: #101214; }
.wrap-gallery img { display: block; width: 100%; height: auto; }
.wrap-gallery a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.wrap-gallery figcaption { display: flex; flex-direction: column; padding: 20px 24px; }
.wrap-gallery figcaption span { color: #aeb3b7; font-size: .875rem; }
.wrap-gallery figcaption strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; text-transform: uppercase; }
@media (max-width: 640px) { .wrap-gallery { grid-template-columns: 1fr; gap: 20px; } }
.gallery-category { margin-top: 48px; border-top: 1px solid #454b50; padding-top: 24px; }
.gallery-category summary { cursor: pointer; font-family: "Barlow Condensed", sans-serif; font-size: 2rem; line-height: 1.2; color: #fff; }
.gallery-category summary span { display: block; font-family: Inter, Arial, sans-serif; color: #aeb3b7; font-size: 1rem; margin-top: 12px; }
.gallery-category summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 6px; }
.gallery-category .wrap-gallery { margin-top: 28px; }
.detail-gallery figure:nth-child(even) figcaption span { color: var(--yellow); }
.featured-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-gallery img { height: 260px; object-fit: cover; }
@media (max-width: 900px) { .featured-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .featured-gallery { grid-template-columns: 1fr; } }
.request-fallback[hidden] { display: none; }
