/* Sosyal Medya hub + embed pages */

.bbd-social-hub {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  background: #0a0a0a;
  color: #f7f6f3;
}

.bbd-social-hub__grid {
  display: grid;
  gap: 1.25rem;
}

.bbd-social-hub__card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.35));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.bbd-social-hub__card:hover,
.bbd-social-hub__card:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  outline: none;
}

.bbd-social-hub__icon {
  font-size: 1.25rem;
  opacity: 0.7;
}

.bbd-social-hub__title {
  margin: 0;
  font-family: var(--bbd-font-display, Georgia, serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bbd-social-hub__text {
  margin: 0;
  color: rgba(247, 246, 243, 0.72);
  font-size: 0.95rem;
  line-height: 1.55;
}

.bbd-social-hub__cta {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

/* —— YouTube / Instagram content pages —— */
.bbd-social-page {
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
  background:
    linear-gradient(180deg, #0a0a0a 0%, #111 42%, #0d0d0d 100%);
  color: #f7f6f3;
}

.bbd-social-page--youtube .bbd-container {
  width: min(100% - (var(--bbd-gutter, 1.5rem) * 2), 880px);
}

.bbd-social-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bbd-social-page__eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 246, 243, 0.55);
}

.bbd-social-page__profile-btn.bbd-btn--ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: transparent !important;
}

.bbd-social-page__profile-btn.bbd-btn--ghost:hover,
.bbd-social-page__profile-btn.bbd-btn--ghost:focus-visible {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

.bbd-social-page__status {
  margin-bottom: 1.15rem;
  color: rgba(247, 246, 243, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bbd-social-page__status[hidden] {
  display: none;
}

.bbd-social-profile-embed {
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  overflow: hidden;
  min-height: 24rem;
}

.bbd-social-profile-embed[hidden] {
  display: none;
}

.bbd-social-profile-embed__frame {
  display: block;
  width: 100%;
  min-height: 28rem;
  height: 55vh;
  max-height: 40rem;
  border: 0;
  background: #fff;
}

.bbd-social-grid {
  display: grid;
  gap: 1.15rem;
}

.bbd-social-grid--youtube {
  grid-template-columns: 1fr;
  gap: 1.25rem;
  justify-items: center;
  max-width: 40rem; /* ~640px — orta boyut */
  margin-inline: auto;
}

.bbd-social-grid--instagram {
  grid-template-columns: 1fr;
}

.bbd-social-embed--yt {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
}

.bbd-social-embed--yt.is-featured .bbd-social-embed__frame {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.35);
}

.bbd-social-embed--yt .bbd-social-embed__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.bbd-social-embed--yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bbd-social-embed__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-inline: 0.05rem;
}

.bbd-social-embed__label {
  margin: 0;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 246, 243, 0.45);
}

.bbd-social-embed__caption {
  margin: 0;
  font-family: var(--bbd-font-display, Georgia, serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: #f7f6f3;
}

.bbd-social-embed--yt:not(.is-featured) .bbd-social-embed__caption {
  font-size: 0.92rem;
}

.bbd-social-embed--ig {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 28rem;
  overflow: hidden;
}

.bbd-social-embed--ig iframe {
  display: block;
  width: 100%;
  min-height: 32rem;
  height: 36rem;
  border: 0;
  background: #fff;
}

@media (min-width: 768px) {
  .bbd-social-hub__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .bbd-social-grid--youtube {
    grid-template-columns: 1fr;
    max-width: 40rem;
  }

  .bbd-social-embed--yt.is-featured {
    grid-column: 1;
  }

  /* 2+ videoda: 2 sütun, daha kompakt kartlar */
  .bbd-social-grid--youtube:has(.bbd-social-embed--yt:nth-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 44rem;
    justify-items: stretch;
  }

  .bbd-social-grid--youtube:has(.bbd-social-embed--yt:nth-child(2)) .bbd-social-embed--yt.is-featured {
    grid-column: 1 / -1;
    max-width: 40rem;
    margin-inline: auto;
  }

  .bbd-social-grid--instagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .bbd-social-page--youtube .bbd-container {
    width: min(100% - (var(--bbd-gutter, 1.5rem) * 2), 900px);
  }
}
