
.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;
  position: relative; 
  overflow: hidden;
}

.diagonal-box-start .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transform: skewX(25deg) scale(1.3); 
  z-index: 0; 
}

.diagonal-box-end {
  transform: skewX(-25deg);
  margin-right: -300px;
  /* padding: 40px; */
  border-radius: 10px;
  box-shadow: 0 0 40px #00EBFF;
  margin-top: 120px;
  position: relative; 
  overflow: hidden;
}
/* ESTILOS PARA LA ETIQUETA IMG */
.diagonal-box-end .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transform: skewX(25deg) scale(1.3); 
  z-index: 0; 
}
.diagonal-box-end::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); 
  z-index: 1;
  pointer-events: none; 
}

.diagonal-box-end .inner {
  transform: skewX(25deg);
  position: relative; 
  z-index: 1; 
}

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

.author-card {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.h-left-blog{
  width: 450px;
  min-width: 450px;
  max-width: 451px;
}
.author-img {
  position: relative;
  z-index: 2;
  /* width: 100%; */
}
.author-stack .inner{
  position: relative;
  z-index: 2;
  width: 80%;
  /* margin-left: -50px; */
  margin-top: 120px;
  a{
    color: white;
  }
  a:hover{
    color: #00EBFF;
  }
}
.limit-3-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.limit-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -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-img-bkg{
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: 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%;
}
/* --- ADR PREMIUM SHOP --- */

/* Contenedor principal de la tarjeta */
.adr-product-card-premium {
    position: relative;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* El enlace debe cubrir toda la tarjeta */
.adr-shop-link {
    text-decoration: none !important;
    color: inherit !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Contenedor de la imagen: aquí ocurre la magia del "cover" */
.image-premium-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Puedes cambiar a 3/4 si prefieres fotos más altas */
    overflow: hidden;
    background-color: #f7f7f7;
}

.image-premium-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto hace que la imagen cubra todo el div sin deformarse */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Overlay del botón (centrado) */
.overlay-premium-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.adr-button-white-premium {
    background: #fff;
    color: #000;
    padding: 12px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Información del producto (Debajo de la imagen) */
.info-premium-section {
    padding: 15px 5px;
}

.premium-product-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.premium-product-price {
    font-size: 0.85rem;
    text-decoration: underline;
    color: #444;
}

/* --- EFECTOS HOVER --- */

.adr-product-card-premium:hover .image-premium-container img {
    transform: scale(1.1); /* Efecto zoom que ya teníamos */
}

.adr-product-card-premium:hover .overlay-premium-wrapper {
    opacity: 1; /* Aparece el botón */
}

.adr-product-card-premium:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}