/* Gallery, BiSoylesi (Perde Kapanir) and Q&A tab panels. Visibility is driven by v4-tabs.js. */
.v4-extras {
  width: 100%;
  max-width: 1280px;
  box-sizing: border-box;
  margin: 54px auto 72px;
  padding: 0 16px;
  color: #17170d;
  font-family: Inter, Arial, sans-serif;
}
.v4-extras__title {
  margin: 0 0 28px;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
}

/* Gallery (fancybox markup) */
.v4-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.v4-gallery figure {
  margin: 0;
}
.v4-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 15px;
  background: #efeee8;
}
.v4-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.v4-gallery a:hover img {
  transform: scale(1.03);
}
.v4-gallery a:focus-visible {
  outline: 2px solid #665c00;
  outline-offset: 2px;
}

/* BiSoylesi / Perde Kapanir */
.v4-extras .perde_kapanir-video {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 20px;
  border: 1px solid #e7e4dc;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(32, 29, 10, 0.04);
}
.v4-extras .perde-kapanir-video__youtube {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #17170d;
  cursor: pointer;
}
.v4-extras .perde-kapanir-video__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v4-extras .perde-kapanir-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
}
.v4-extras .perde-kapanir-video__youtube:focus-visible {
  outline: 2px solid #665c00;
  outline-offset: 3px;
}
.v4-extras .perde-kapanir-video__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}
.v4-extras .perde-kapanir-video__description {
  margin: 0;
  color: #54545a;
  font-size: 14px;
  line-height: 1.7;
}
.v4-extras__more {
  margin-top: 10px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: #17170d;
  font: 700 13px Inter, Arial, sans-serif;
  cursor: pointer;
}
.v4-extras__more[hidden] {
  display: none;
}

/* Q&A: _QuestionsPartial keeps its own markup; only neutralize its outer spacing */
.v4-questions #soru_cevap_section {
  margin: 0;
}

@media (max-width: 900px) {
  .v4-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .v4-extras {
    margin: 36px auto 52px;
    padding: 0 14px;
  }
  .v4-extras__title {
    margin-bottom: 20px;
  }
  .v4-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .v4-extras .perde_kapanir-video {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
  }
}
