/* ==========================================================================
   Founders Overview - Custom Components & Ads Banner
   (Restores original fonts & sizing from dashboard-revamp.css)
   ========================================================================== */

/* ==========================================================================
   Top Hero Promo & Ad Row (Ads Banner)
   ========================================================================== */
.row-promo {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  /* Same gutter as the overview grid, so the gap beside the ad banner and the gap
     under the hero row into the cards below read as one rhythm. */
  gap: var(--gf-overview-gap, 24px);
  width: 100%;
  align-self: stretch;
}

/* Left: Ad Video Banner Card */
.founders_dashboard_overview_body .card.card-promo-ad,
.card-promo-ad {
  flex: 2 1 0%;
  min-width: 280px;
  min-height: 240px;
  border-radius: 24px !important;
  position: relative;
  overflow: hidden;
  background-color: #0f172a !important;
  background-image: url("../../images/promo-ad-bg.png") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  border: 0 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

/* The creative fills the whole card, so it takes the card's radius instead of its
   own — otherwise the card's dark backdrop shows through the corner gaps. */
.card-promo-ad .campaign-player-media,
.card-promo-ad video {
  border-radius: inherit;
}

.card-promo-ad:hover {
  box-shadow: 0px 8px 20px rgba(16, 24, 40, 0.1);
  transform: translateY(-2px);
}

/* Ad Tag Pill */
.promo-ad-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  color: #ffffff;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
  user-select: none;
}

/* Play Button */
.promo-ad-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 6px 16px rgba(16, 24, 40, 0.18);
  transition: transform 240ms cubic-bezier(0.2, 0, 0, 1);
  z-index: 2;
}

.card-promo-ad:hover .promo-ad-play-btn {
  transform: scale(1.1);
}

.promo-ad-play-icon {
  width: 18px;
  height: 18px;
  margin-left: 2px;
  fill: var(--main, #2966f4);
}

/* Right: Promoted Profile Card */
.founders_dashboard_overview_body .card.card-promo-profile,
.card-promo-profile {
  flex: 1 1 0%;
  min-width: 260px;
  min-height: 240px;
  background: rgba(23, 92, 211, 0.06) !important;
  border: 1px solid rgba(41, 102, 244, 0.15) !important;
  border-radius: 24px !important;
  padding: 20px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.promo-profile-avatars {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  position: relative;
  height: 38px;
}

.promo-avatar-user {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: 2;
  background: #ffffff;
  flex-shrink: 0;
}

.promo-avatar-user img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-avatar-badge {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #2054cc;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  z-index: 1;
  flex-shrink: 0;
}

.promo-avatar-badge svg {
  width: 18px;
  height: 18px;
}

.promo-profile-title {
  font-family: inherit;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
  color: var(--dark, #101828);
  margin: 0 0 6px 0;
}

/* Three lines, then an ellipsis — the same rule as the sidebar card, so a campaign reads identically
   wherever it is placed. */
.promo-profile-desc {
  font-family: inherit;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: var(--gray-500, #475467);
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Apply / View Profile Button */
.promo-profile-btn {
  font-family: inherit;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  font-weight: var(--gf-weight-semibold);
  color: var(--promo-btn-color, #2966f4);
  height: 42px;
  width: 100%;
  padding: 0 20px;
  border: 1px solid var(--promo-btn-border, #2966f4);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
  outline: none;
  box-sizing: border-box;
}

.promo-profile-btn:hover {
  background: var(--promo-btn-hover-bg, #2966f4) !important;
  color: #ffffff !important;
  border-color: var(--promo-btn-hover-bg, #2966f4) !important;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.15);
}

/* ==========================================================================
   Campaign & Ad Details Modal (Figma Spec)
   ========================================================================== */
.campaign-modal-backdrop,
.promo-video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  /* 56px of top padding is the close button's clearance: it floats above the card by
     -24px and can never be clipped by the backdrop, whatever the viewport height. */
  padding: 76px 2vw 28px;
  overflow-y: auto;
  overflow-x: hidden;
}

.campaign-modal-card {
  width: min(96vw, 100%);
  flex: 0 1 auto;
  /* Leaves room for the top padding above so the backdrop never scrolls vertically. */
  height: min(82vh, 1080px);
  max-width: 100%;
  /* A hard 620px floor pushed the card (and its close button) out of the viewport on
     short-but-wide windows; it may only apply when the backdrop can actually hold it. */
  min-height: min(620px, 100%);
  background: #ffffff;
  box-shadow: 0px 20px 64px -4px rgba(16, 24, 40, 0.08);
  border-radius: 28px;
  padding: 24px;
  position: relative;
  box-sizing: border-box;
  animation: campaignModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes campaignModalPop {
  0% {
    opacity: 0;
    transform: scale(0.97) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.campaign-modal-close {
  position: absolute;
  /* Clears the card by 20px: the 48px button sits fully above it, flush right. */
  top: -68px;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid #eaecf0;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.08);
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign-modal-close:hover {
  background: #f2f4f7;
  color: #000000;
  transform: scale(1.05);
}

.campaign-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(360px, 0.82fr);
  gap: 20px;
  align-items: stretch;
  height: 100%;
  min-height: 0;
}

/* Video / Player Column */
.campaign-video-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.campaign-player-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: none;
}

.campaign-player-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 16px;
  transition: opacity 240ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign-player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.2) 0%,
    rgba(10, 10, 10, 0) 25%,
    rgba(10, 10, 10, 0) 65%,
    rgba(10, 10, 10, 0.4) 100%
  );
  z-index: 2;
  pointer-events: auto;
}

.promo-ad-menu--overview {
  top: 12px;
  left: 12px;
}

.promo-ad-menu--mini {
  top: 4px;
  left: 6px;
}

.campaign-ad-menu {
  top: 18px;
  left: 18px;
}

.campaign-ad-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 6;
  background: transparent;
  backdrop-filter: none;
  color: #ffffff;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body);
  padding: 0;
  border-radius: 0;
  text-shadow:
    0px 4px 8px rgba(16, 24, 40, 0.1),
    0px 2px 4px rgba(16, 24, 40, 0.06);
  user-select: none;
}

.campaign-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 56px;
  height: 56px;
  border-radius: 32px;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0a0a0a;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.12);
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign-nav-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.18);
}

.campaign-nav-prev {
  left: 20px;
  opacity: 0.75;
}

.campaign-nav-prev:hover {
  opacity: 1;
}

.campaign-nav-next {
  right: 20px;
}

.campaign-center-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0a0a0a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign-center-play-btn:hover {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.campaign-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #ffffff;
  user-select: none;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0) 0%,
    rgba(10, 10, 10, 0.45) 100%
  );
}

.campaign-controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.campaign-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.campaign-control-icon-btn {
  width: 44px;
  height: 44px;
  background: rgba(10, 10, 10, 0.4);
  border-radius: 32px;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign-control-icon-btn:hover {
  background: rgba(10, 10, 10, 0.7);
  transform: scale(1.05);
}

.campaign-time-pill {
  padding: 6px 12px;
  background: rgba(10, 10, 10, 0.4);
  border-radius: 32px;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.campaign-scrubber-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 32px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: height 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign-scrubber-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #ffffff;
  border-radius: 32px;
  transition: width 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign-duration-text {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: #ffffff;
  white-space: nowrap;
}

/* Sidebar Details Column */
.campaign-details-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
}

.campaign-pitch-card {
  background: #f2f4f7;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.campaign-company-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.campaign-company-badge {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #0a0a0a;
  border: 4px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.campaign-company-name {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
  color: #000000;
}

.campaign-pitch-title {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
  color: #000000;
  margin: 0;
}

.campaign-pitch-desc {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: #344054;
  margin: 0;
}

.campaign-cta-btn {
  background: #3438cd;
  border-radius: 32px;
  height: 51px;
  padding: 12px 24px;
  color: #ffffff;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  letter-spacing: -0.2px;
  border: none;
  cursor: pointer;
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign-cta-btn:hover {
  background: #282bb5;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(52, 56, 205, 0.25);
}

.campaign-founder-card {
  background: #f2f4f7;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.campaign-founder-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.campaign-founder-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.campaign-founder-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.campaign-founder-avatar-wrap img {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  object-fit: cover;
  background: #fcfcfc;
  position: relative;
  z-index: 2;
}

.campaign-founder-avatar-wrap .avatar-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 7%));
  width: 135%;
  height: 135%;
  z-index: 1;
  pointer-events: none;
}

.campaign-founder-avatar-wrap,
.campaign-founder-name {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.campaign-founder-avatar-wrap { color: inherit; }
.campaign-founder-name {
  display: block;
  padding: 0;
  background: transparent;
  text-align: left;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
  color: #000000;
}

.campaign-founder-avatar-wrap:focus-visible,
.campaign-founder-name:focus-visible {
  outline: 2px solid #2966f4;
  outline-offset: 3px;
}

.campaign-founder-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.campaign-founder-name {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
  color: #000000;
}

.campaign-founder-role {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: #667085;
}

.campaign-founder-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.campaign-action-icon-btn {
  width: 52px;
  height: 52px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid #eaecf0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0a0a0a;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign-action-icon-btn:hover {
  background: #f2f4f7;
  transform: scale(1.05);
}

.campaign-founder-bio {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: #667085;
  margin: 0;
}

.campaign-gallery-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.campaign-gallery-heading {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
  color: #000000;
}

.campaign-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  overflow: visible;
}

.campaign-gallery-thumb {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 165.67 / 108;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 0;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 160ms cubic-bezier(0.2, 0, 0, 1), box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign-gallery-thumb img,
.campaign-gallery-thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.campaign-gallery-thumb:hover {
  box-shadow: inset 0 0 0 2px #3438cd;
}

.campaign-gallery-thumb.active {
  box-shadow: inset 0 0 0 2px #3438cd;
}

.campaign-thumb-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: transparent;
  backdrop-filter: none;
  color: #ffffff;
  font-family: var(--gf-font);
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  padding: 0;
  border-radius: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  user-select: none;
  z-index: 2;
}

@media (max-width: 1200px) {
  .campaign-modal-close {
    top: 8px;
    right: 8px;
  }
  .campaign-modal-card {
    height: auto;
    min-height: min(620px, calc(100vh - 48px));
  }
  .campaign-modal-grid {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }
  .campaign-details-column {
    width: 100%;
  }
  .campaign-player-stage {
    min-height: 380px;
    height: 380px;
  }
  .campaign-details-column {
    max-height: 42vh;
  }
}

@media (max-width: 768px) {
  .campaign-modal-backdrop {
    padding: 24px 12px 12px;
    align-items: flex-start;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .campaign-modal-card {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-width: 0;
    flex: 0 0 calc(100vw - 24px);
    min-height: 0;
    padding: 12px;
    border-radius: 18px;
  }
  .campaign-modal-grid,
  .campaign-video-column,
  .campaign-details-column,
  .campaign-pitch-card,
  .campaign-founder-card {
    min-width: 0;
  }
  .campaign-modal-close {
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
  }
  .campaign-player-stage {
    min-height: 240px;
    height: 240px;
  }
  .campaign-details-column {
    max-height: none;
  }
  .campaign-controls-bar {
    padding: 16px;
  }
  .campaign-nav-arrow {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .row-promo {
    flex-direction: column;
  }
  .card-promo-ad,
  .card-promo-profile {
    flex: 1 1 auto;
    height: auto;
    min-height: 216px;
  }
}

/* ==========================================================================
   Promo Banner Carousel
   ========================================================================== */

/* Profile card: flex column so footer (btn + dots) is pinned to bottom */
.promo-profile-carousel {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.promo-carousel-footer {
  width: 100%;
}

/* Fade transition on slide change */
.promo-profile-carousel {
  transition: opacity 240ms cubic-bezier(0.2, 0, 0, 1);
}

.promo-profile-carousel.promo-slide-fade {
  opacity: 0;
}

/* Prev/Next arrow buttons on the video card */
.promo-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition:
    opacity 160ms cubic-bezier(0.2, 0, 0, 1),
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.promo-carousel-arrow-prev {
  left: 12px;
}

.promo-carousel-arrow-next {
  right: 12px;
}

.card-promo-ad:hover .promo-carousel-arrow {
  opacity: 1;
}

.promo-carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.08);
}

/* Swapped left/right layout (Type 3) */
.promo-carousel-row.promo-row-swapped {
  flex-direction: row-reverse;
}

/* Split Column (Types 4 & 5) */
.promo-split-column {
  flex: 1 1 0%;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: opacity 240ms cubic-bezier(0.2, 0, 0, 1);
}

.promo-split-column.promo-split-reversed {
  flex-direction: column-reverse;
}

.promo-split-column.promo-slide-fade {
  opacity: 0;
}

/* Compact Promoted Profile Card in Split Column */
.card-promo-profile-compact {
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 14px !important;
  padding: 14px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  border: 1px solid rgba(41, 102, 244, 0.15);
  background: rgba(23, 92, 211, 0.06);
}

.promo-compact-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-compact-avatars {
  display: flex;
  align-items: center;
  position: relative;
  height: 32px;
  flex-shrink: 0;
}

.promo-compact-avatar-user {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: 2;
  background: #ffffff;
}

.promo-compact-avatar-user img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-compact-avatar-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #2054cc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  z-index: 3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.promo-compact-text {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.promo-compact-title {
  font-family: inherit;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: var(--gf-leading-card);
}

.promo-compact-desc {
  font-family: inherit;
  font-size: var(--gf-text-body);
  color: #475467;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  line-height: var(--gf-leading-body);
}

.promo-compact-btn {
  font-family: inherit;
  width: 100%;
  height: 42px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--promo-btn-border, #2966f4);
  color: var(--promo-btn-color, #2966f4);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
  padding: 0 20px;
  outline: none;
  box-sizing: border-box;
}

.promo-compact-btn:hover {
  background: var(--promo-btn-hover-bg, #2966f4) !important;
  color: #ffffff !important;
  border-color: var(--promo-btn-hover-bg, #2966f4) !important;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.15);
}

/* 3 Mini Ads Row */
.promo-mini-ads-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 80px;
  width: 100%;
  flex-shrink: 0;
  min-width: 0;
}

.promo-mini-ad-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 0;
  background: #0f172a;
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

.promo-mini-ad-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(16, 24, 40, 0.1);
}

.promo-mini-ad-card img,
.promo-mini-ad-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-mini-ad-tag {
  position: absolute;
  top: 4px;
  left: 6px;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  z-index: 2;
  user-select: none;
}

@media (max-width: 900px) {
  .promo-split-column {
    min-width: 0;
    height: auto;
  }

  .card-promo-profile-compact {
    min-height: 120px;
  }

  .promo-mini-ads-row {
    height: clamp(72px, 22vw, 112px);
  }
}

/* Overview Heading Standards */
.founders_dashboard_overview_body h2,
.overview-tab-container h2,
.overview-section-head h2 {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
}

/* Deck Verification Requests: the card is height-capped to the left column
   (see .overview-bottom-row), so the list fills the card and scrolls inside it. */
.card-decks .deck-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
}
