
.blog-card .row{
    margin-top: -70px;
}

.live-section {
    position: relative;
    padding: 2rem 0; /* Espacio vertical para que no se pegue a otros elementos */
}

#live-section .container {
    /* height: 100%; */ /* Eliminado para permitir que la altura se ajuste al contenido */
    max-width: 1280px !important; /* Ancho máximo para el video */
    margin: 0 auto; /* Centrar el contenedor */
}

.video-wrapper {
    position: relative;
    width: 100%; /* Ocupará el 100% del contenedor padre */
    padding-top: 56.25%; /* Proporción 16:9 (9 / 16 = 0.5625) */
    height: 0; /* La altura se controla con el padding-top */
    background-color: #000; /* Fondo mientras carga el video */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 0;
}
/* Blog feature */
.diagonal-box {
  transform: skewX(-25deg);
  padding: 40px;
  margin-top: 120px !important;
  border-radius: 10px;
  box-shadow: 0 0 40px #00EBFF;
}
.diagonal-box > .inner {
  transform: skewX(25deg);
}
.diagonal-box-start {
  transform: skewX(-25deg);
  margin-left: -300px;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 40px #00EBFF;
  margin-top: 120px;
}

.diagonal-box-end {
  transform: skewX(-25deg);
  margin-right: -300px;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 40px #00EBFF;
  margin-top: 120px;
}

.author-stack {
  position: relative;
  width: 100%;
  height: 415px;
  display: flex; 
  /* min-height: 420px;  */
}

.author-card {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.author-img {
  position: relative;
  z-index: 2;
  /* width: 100%; */
}
.author-stack .inner{
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 120px;
  a{
    color: white;
  }
  a:hover{
    color: #00EBFF;
  }
}
.limit-5-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Team ADR */
.team-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 10px; 
  scroll-snap-type: x proximity;
  cursor: grab;
}

.team-row {
  display: flex;
  gap: 20px;
  width: max-content;
}

.team-card {
  position: relative;
  width: 240px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px #00eaff55;
}

.border-glow-red {  
  box-shadow: 0 0 40px #d72828b2 !important;
}

.card-rectangle{
  width: 200px !important;
  height: 200px !important;
}

.card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #00EBFF;
  background-image: url('../img/ADR-Icono.svg'); 
  background-repeat: repeat;
  opacity: 1;
}
.bg-red{
  background-color: #d72828 !important; 
}
.bg-black {
  background-color: #000000 !important; 
  background-image: none !important;
}
.bg-white {
  background-color: #ffffff !important; 
  background-image: none !important;
}

.card-photo {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-size: cover;
  background-position: center;
}
.card-logo {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-size: cover;
  background-position: center;
}

.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;

  background: linear-gradient(
    to top,
    rgba(0,0,0,.7),
    rgba(0,0,0,.1)
  );
}

.card-content {
  position: absolute;
  inset: 0;
  z-index: 4;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;

  padding-bottom: 20px;
  text-align: center;
}

.card-content h3,
.card-content p {
  margin: 0;
}
.card-number {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  font-family: 'ADRFontOB', sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: 1px;
  color: black;
  opacity: .85;
  pointer-events: none;
}

/* Scroll horizontal */
.team-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* 🔥 CLAVE */
.team-row {
  display: flex;
  gap: 24px;
  width: max-content;          /* solo mide lo que necesita */
  margin-inline: auto;         /* se centra */
  padding-inline: 16px;
}

.team-card {
  flex: 0 0 auto;
}

/* ===== DESKTOP: SIN SCROLL ===== */
@media (min-width: 992px) {
  .team-scroll-wrapper {
    /* overflow-x: hidden; */
  }
}


/* Our partners */
.our-partners {
  background: black;
  color: white;
}

.partners-carousel {
  position: relative;
  width: 70%;
  margin: 40px auto 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .partners-carousel {
    width: 90%;
  }
}

.partners-carousel::before,
.partners-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.partners-carousel::before {
  left: 0;
  background: linear-gradient(to right, black 0%, transparent 100%);
}

.partners-carousel::after {
  right: 0;
  background: linear-gradient(to left, black 0%, transparent 100%);
}

.partners-track {
  display: flex;
  gap: 150px;
  width: max-content;
  will-change: transform;
}

.partner {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner img {
  height: 60px; 
  width: auto;
  max-width: 150px;   
  object-fit: contain;
  display: block;
}

/* Social media */
.social-card {
  width: 300px;
  height: 500px;
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.social-card img, .inst-page blockquote, .social-card  div {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.social-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: .3s ease;
  span{
    text-decoration-line: underline;
  }
  img{
    height: 50px;
    width: auto;
    margin-bottom: 15px;
  }
}

.social-card:hover .overlay {
  opacity: 1;
}

.social-card > *:not(.overlay) {
  width: 100%;
  height: 100%;
}
