/**
 * Socials
 *
 * Pôvodne WPCode snippet #200 (STYLE).
 */

.asp-case-single--socials .asp-case-dock{
  max-width: 1080px;
}

.asp-case-section--socials-graphics .asp-socials-graphics-grid,
.asp-case-section--socials-reels .asp-socials-reels-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.asp-case-section--socials-graphics .asp-socials-graphics-card__media{
  aspect-ratio: 4 / 5 !important;
}

.asp-case-section--socials-graphics .asp-socials-graphics-card__media img{
  object-position: center center;
}

.asp-case-section--socials-reels .asp-socials-reels-card__media{
  aspect-ratio: 9 / 16 !important;
}

.asp-case-section--socials-reels .asp-socials-reels-card__media video,
.asp-case-section--socials-reels .asp-socials-reels-card__video-wrap video{
  object-position: center center;
}

.asp-case-section--socials-video .asp-case-section__intro{
  margin-bottom: 28px;
}

.asp-case-section--socials-video .asp-socials-video-box{
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 34px;
  display: grid;
  gap: 30px;
  background:
    linear-gradient(135deg, rgba(19, 73, 108, 0.18), rgba(255, 54, 0, 0.08) 48%, rgba(255, 132, 3, 0.16)),
    rgba(255,255,255,0.035);
}

.asp-case-section--socials-video .asp-socials-video-box__glow{
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(70px);
  opacity: .9;
}

.asp-case-section--socials-video .asp-socials-video-box__glow--one{
  width: 300px;
  height: 300px;
  left: -60px;
  top: -60px;
  background: rgba(255, 188, 203, 0.16);
}

.asp-case-section--socials-video .asp-socials-video-box__glow--two{
  width: 260px;
  height: 260px;
  right: -40px;
  bottom: -40px;
  background: rgba(19, 108, 64, 0.18);
}

.asp-case-section--socials-video .asp-socials-video-box__top,
.asp-case-section--socials-video .asp-socials-video-box__player-wrap{
  position: relative;
  z-index: 1;
}

.asp-case-section--socials-video .asp-socials-video-box__top{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.asp-case-section--socials-video .asp-socials-video-box__badge{
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 9px 13px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  line-height: 1;
}

.asp-case-section--socials-video .asp-socials-video-box__title{
  margin: 0;
  font-size: clamp(34px, 5vw, 76px);
  line-height: .94;
  font-weight: 300;
  color: #fff;
  text-wrap: balance;
  letter-spacing: -0.05em;
  max-width: 980px;
}

.asp-case-section--socials-video .asp-socials-video-box__description{
  margin: 16px 0 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.76);
}

.asp-case-section--socials-video .asp-socials-video-box__player-shell{
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 24px 60px rgba(0,0,0,0.22);
  aspect-ratio: 16 / 9;
}

.asp-case-section--socials-video .asp-socials-video-box__poster,
.asp-case-section--socials-video .asp-socials-video-box__video-holder{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.asp-case-section--socials-video .asp-socials-video-box__poster{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: #0b0b0b;
  cursor: pointer;
  z-index: 2;
}

.asp-case-section--socials-video .asp-socials-video-box__video-holder{
  display: none;
  z-index: 1;
  background: #0b0b0b;
}

.asp-case-section--socials-video .asp-socials-video-box__player-shell.is-playing .asp-socials-video-box__poster{
  display: none;
}

.asp-case-section--socials-video .asp-socials-video-box__player-shell.is-playing .asp-socials-video-box__video-holder{
  display: block;
}

.asp-case-section--socials-video .asp-socials-video-box__poster img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: #0b0b0b;
}

.asp-case-section--socials-video .asp-socials-video-box__poster-fallback{
  width: 100%;
  height: 100%;
  display: block;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,54,0,0.18), transparent 28%),
    radial-gradient(circle at 78% 74%, rgba(19,108,64,0.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    #0b0b0b;
}

.asp-case-section--socials-video .asp-socials-video-box__poster-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.16), rgba(0,0,0,0.34));
  transition: opacity .22s ease;
}

.asp-case-section--socials-video .asp-socials-video-box__poster-play{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.asp-case-section--socials-video .asp-socials-video-box__poster-play::before{
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.asp-case-section--socials-video .asp-socials-video-box__poster-play svg{
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: block;
  color: #fff;
  transform: translateX(2px);
}

.asp-case-section--socials-video .asp-socials-video-box__poster:hover .asp-socials-video-box__poster-overlay{
  opacity: .78;
}

.asp-case-section--socials-video .asp-socials-video-box__video-el{
  display: block;
  width: 100%;
  height: 100%;
  background: #0b0b0b;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 1200px){
  .asp-case-section--socials-graphics .asp-socials-graphics-grid,
  .asp-case-section--socials-reels .asp-socials-reels-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px){
  .asp-case-section--socials-graphics .asp-socials-graphics-grid,
  .asp-case-section--socials-reels .asp-socials-reels-grid{
    grid-template-columns: 1fr;
  }

  .asp-case-section--socials-graphics .asp-socials-graphics-card,
  .asp-case-section--socials-reels .asp-socials-reels-card,
  .asp-case-section--socials-video .asp-socials-video-box{
    border-radius: 24px;
  }

  .asp-case-section--socials-video .asp-socials-video-box{
    padding: 22px;
    gap: 20px;
  }

  .asp-case-section--socials-video .asp-socials-video-box__title{
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1;
  }

  .asp-case-section--socials-video .asp-socials-video-box__description{
    font-size: 15px;
    line-height: 1.65;
  }

  .asp-case-section--socials-video .asp-socials-video-box__player-shell{
    border-radius: 22px;
  }

  .asp-case-section--socials-video .asp-socials-video-box__poster-play::before{
    width: 76px;
    height: 76px;
  }

  .asp-case-section--socials-video .asp-socials-video-box__poster-play svg{
    width: 28px;
    height: 28px;
  }
}
