/* ===== YouTube tarzı video grid ===== */
.ta-yt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem 1rem;
}
.ta-yt-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ta-yt-grid--hub {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ta-yt-grid--hub .ta-yt-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(2,48,71,.06), rgba(2,48,71,.02));
  border-radius: 14px;
  padding: 0.75rem;
}
.ta-yt-grid--hub .ta-yt-card--featured .ta-yt-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}
.ta-yt-grid--hub .ta-yt-card--featured .ta-yt-title {
  font-size: 1.35rem;
  line-height: 1.3;
}
.ta-yt-card {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.ta-yt-card:hover .ta-yt-thumb img {
  transform: scale(1.03);
}
.ta-yt-card:hover .ta-yt-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(2, 48, 71, 0.92);
}
.ta-yt-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #0b1c26;
}
.ta-yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ta-yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(2, 48, 71, 0.82);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, background .2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.ta-yt-play::before {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #fff;
}
.ta-yt-info { padding: 0.65rem 0.15rem 0; }
.ta-yt-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ta-deep, #023047);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ta-yt-channel {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--ta-muted, #5a6b75);
}
.ta-yt-empty {
  padding: 1.25rem;
  background: rgba(2,48,71,.05);
  border-radius: 10px;
}
.ta-home-yt-band { margin: 2.25rem 0 1.5rem; }
.ta-video-hub .ta-hub-head { margin-bottom: 1.5rem; }

@media (max-width: 980px) {
  .ta-yt-grid,
  .ta-yt-grid--home { grid-template-columns: repeat(2, 1fr); }
  .ta-yt-grid--hub { grid-template-columns: repeat(2, 1fr); }
  .ta-yt-grid--hub .ta-yt-card--featured {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .ta-yt-grid,
  .ta-yt-grid--home,
  .ta-yt-grid--hub { grid-template-columns: 1fr; }
}

/* ===== Deniz canlıları kategori hub ===== */
.ta-marine-hub {
  margin: 0 0 2.5rem;
}
.ta-marine-hub-intro {
  margin: 0 0 1rem;
  color: var(--ta-muted, #5a6b75);
  font-size: 0.98rem;
}
.ta-marine-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.ta-marine-cat-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(2, 48, 71, 0.1);
  box-shadow: 0 10px 28px rgba(2, 48, 71, 0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ta-marine-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(2, 48, 71, 0.12);
}
.ta-marine-cat-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #023047, #0a5c75);
  overflow: hidden;
}
.ta-marine-cat-media img,
.ta-marine-cat-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ta-marine-cat-fresh .ta-marine-cat-fallback {
  background: linear-gradient(145deg, #0b5f6b 0%, #1a8a78 55%, #7ec8b4 100%);
}
.ta-marine-cat-salt .ta-marine-cat-fallback {
  background: linear-gradient(145deg, #023047 0%, #0a4d6b 50%, #2a7a9b 100%);
}
.ta-marine-cat-badge {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #023047;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ta-marine-cat-body {
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.ta-marine-cat-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 750;
  color: #023047;
}
.ta-marine-cat-desc {
  margin: 0;
  color: #5a6b75;
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 1;
}
.ta-marine-cat-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.55rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(2,48,71,.08);
}
.ta-marine-cat-count {
  font-size: 0.85rem;
  font-weight: 650;
  color: #023047;
}
.ta-marine-cat-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0a6b86;
}
.ta-marine-latest {
  margin-top: 0.5rem;
}
.ta-marine-latest-head {
  margin-bottom: 1rem;
}
.ta-marine-latest-title {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  color: #023047;
}
.ta-marine-latest-sub {
  margin: 0;
  color: #5a6b75;
  font-size: 0.9rem;
}
@media (max-width: 720px) {
  .ta-marine-hub-grid { grid-template-columns: 1fr; }
}
