/* Photo gallery (/gallery): photos and video clips as glass tiles, two a row on phones, four on tablets, six on computers. */
.photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.photos a { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: var(--g-r-tile); background: var(--g-tile); border: 1px solid var(--g-tile-line); color: var(--g-text); }
.photos a:hover { background: var(--g-tile-hover); box-shadow: 0 8px 20px rgba(60, 40, 160, .12); }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--g-icon-bg); }
.photos span { display: block; padding: 0 4px 4px; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
@media (min-width: 768px) { .photos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) { .photos { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; } .photos span { font-size: 15px; } }
