/* Detail page polish */
.detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: #0f172a;
  min-height: 320px;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 480px;
  object-fit: cover;
  opacity: 0.88;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.78) 100%);
}

.detail-hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem;
  color: #fff;
}

.video-card {
  overflow: hidden;
  border-radius: 1.25rem;
  background: #0f172a;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12);
  max-width: 100%;
}

/* Classic 16:9 box — YouTube iframe'leri aspect-ratio ile şişmesin */
.video-frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #020617;
}

.video-frame iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
  display: block;
}

.feature-tile {
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.35);
}

/* gallery rules live in style.css (higher reliability) */

.sticky-cta {
  position: sticky;
  top: 96px;
}

.prose-content h2 {
  margin-top: 1.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.prose-content p {
  color: #475569;
  line-height: 1.7;
}

.prose-content p + p {
  margin-top: 0.85rem;
}
