/* Compact symmetric foto/video cards */
.tl-foto--compact .tl-foto__intro-text { margin: 0 0 0.3rem; font-size: 0.9rem; }
.tl-foto--compact .tl-foto__social { margin: 0 0 0.55rem; font-size: 0.85rem; }
.tl-foto__nav { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin: 0 0 0.65rem; }
.tl-foto__nav-label { font-weight: 800; margin-right: 2px; font-size: 0.85rem; }
.tl-foto__chip {
  display: inline-flex; padding: 3px 9px; border-radius: 999px;
  background: #f3f5f8; border: 1px solid #e2e8f0;
  font-size: 0.78rem; font-weight: 700; text-decoration: none; color: inherit;
}

/* Symmetric 2-col grid of blocks */
.tl-foto__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  margin: 0 0 12px;
}
.tl-foto__section {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.tl-foto__section-title {
  margin: 0 0 0.15rem;
  font-size: 1.02rem;
  line-height: 1.25;
}
.tl-foto__section-lead {
  margin: 0 0 0.45rem;
  opacity: 0.8;
  font-size: 0.82rem;
  line-height: 1.35;
}
.tl-foto__section--video {
  margin-top: 4px;
}
.tl-foto__section--video .tl-foto-card {
  max-width: none;
}

.tl-foto-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07);
  padding: 8px;
  flex: 1;
  max-width: none;
}
.tl-foto-card--video { max-width: none; }

.tl-foto .tl-housing__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: stretch;
}
.tl-foto .tl-foto-slide-link {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.tl-foto .tl-foto-slide-link--cover .tl-housing__cover,
.tl-foto .tl-housing__cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.tl-foto .tl-housing__carousel { position: relative; min-width: 0; }
.tl-foto .tl-housing__viewport {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  background: #eef2ea;
}
.tl-foto .tl-housing__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}
.tl-foto .tl-housing__track > .tl-foto-slide-link,
.tl-foto .tl-housing__track > .tl-foto-video-slide {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  background: #111;
}
.tl-foto .tl-housing__track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  aspect-ratio: auto;
  display: block;
}
.tl-foto .tl-foto-video-slide video {
  width: 100%;
  height: auto;
  max-height: min(80vh, 720px);
  object-fit: contain;
  display: block;
  background: #111;
  border: 0;
}
.tl-foto .tl-housing__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(25, 188, 32, 0.25);
  background: #fff;
  color: #19bc20;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}
.tl-foto .tl-housing__nav--prev { left: 4px; }
.tl-foto .tl-housing__nav--next { right: 4px; }
.tl-foto .tl-housing__dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.tl-foto .tl-housing__dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #c9d0c6;
  cursor: pointer;
}
.tl-foto .tl-housing__dots button.is-active {
  background: #19bc20;
}
.tl-foto .tl-foto-card__cap {
  margin: 6px 0 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1a1a1a;
  min-height: 1.2em;
}
.tl-foto .tl-foto-card__carousel-full .tl-housing__viewport {
  aspect-ratio: auto;
  max-height: none;
  height: auto;
  background: #000;
}
.tl-foto .tl-foto-video-slide video {
  width: 100%;
  height: auto;
  max-height: min(80vh, 720px);
  object-fit: contain;
}
#foto-leto-2023 {
  grid-column: 1 / -1;
}
.tl-foto #foto-leto-2023 .tl-housing__photos {
  display: block;
  grid-template-columns: none;
}
.tl-foto #foto-leto-2023 .tl-foto-slide-link--cover {
  display: none;
}

@media (max-width: 800px) {
  .tl-foto__grid { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 560px) {
  .tl-foto .tl-housing__photos { grid-template-columns: 1fr; }
  .tl-foto-card { padding: 7px; }
  .tl-foto__section-lead { display: none; }
}
