/**
 * Shared templates
 *
 * Pôvodne WPCode snippet #294 (STYLE).
 */

.cursor_eff{
  position: relative;
  overflow: hidden;
}

.asp-case-cursor-layer{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.asp-case-cursor-layer canvas.tubes-canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: .88;
}

.asp-case-single > *{
  position: relative;
  z-index: 1;
}

.asp-case-single{
  position: relative;
  overflow: clip;
  background:
    linear-gradient(
      180deg,
      #000000 0%,
      #000000 10%,
      #050505 22%,
      #050505 78%,
      #000000 90%,
      #000000 100%
    ),
    radial-gradient(circle at 16% 22%, rgba(255, 54, 0, 0.13), transparent 22%),
    radial-gradient(circle at 84% 16%, rgba(255, 132, 3, 0.11), transparent 18%),
    radial-gradient(circle at 18% 68%, rgba(19, 108, 64, 0.12), transparent 20%),
    radial-gradient(circle at 78% 74%, rgba(19, 73, 108, 0.16), transparent 24%);
  color: #fff;
  padding: 0 0 120px;
  min-height: 100vh;
}

.asp-case-bg-noise{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 58%),
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
  z-index: 0;
}

.asp-case-container{
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1440px);
  margin: 0 auto;
}

.asp-case-hero{
  padding-top: 8px;
}

.asp-case-hero__header{
  max-width: 1100px;
  margin: 0 auto 34px;
  text-align: center;
}

.asp-case-hero__kicker{
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1;
  color: rgba(255,255,255,0.5);
}

.asp-case-hero__title{
  margin: 0;
  font-size: clamp(72px, 11vw, 64px) !important;
  line-height: .88;
  font-weight: 300;
  color: #ff3600;
  text-wrap: balance;
}

.asp-case-client-line{
  margin: 24px auto 0;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    linear-gradient(135deg, rgba(19, 108, 64, 0.14), rgba(19, 73, 108, 0.08));
  box-shadow: 0 10px 34px rgba(0,0,0,0.2);
}

.asp-case-client-line__label{
  font-size: 11px;
  line-height: 1;
  color: rgba(255,255,255,0.48);
}

.asp-case-client-line__name{
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}

.asp-case-team-wrap{
  margin-top: 24px;
}

.asp-case-team-wrap__title{
  margin: 0 0 5px !important;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255,255,255,0.68);
}

.asp-case-team-row{
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
}

.asp-case-team-chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.asp-case-team-chip__avatar{
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
}

.asp-case-team-chip__avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.asp-case-team-chip__meta{
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.asp-case-team-chip__meta strong{
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.asp-case-team-chip__meta em{
  font-style: normal;
  color: rgba(255,255,255,0.58);
  font-size: 12px;
  line-height: 1.2;
}

.asp-case-tags-row{
  margin: 25px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 980px;
}

.asp-case-tag-pill{
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform .2s ease, filter .2s ease;
}

.asp-case-tag-pill:hover{
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.asp-case-tag-pill.tag-loop-1{
  background: #ff3600;
  border-color: rgba(255,54,0,.34);
}

.asp-case-tag-pill.tag-loop-2{
  background: #136c40;
  border-color: rgba(19,108,64,.34);
}

.asp-case-tag-pill.tag-loop-3{
  background: #ffbccb;
  border-color: rgba(255,188,203,.34);
  color: #111;
}

.asp-case-tag-pill.tag-loop-4{
  background: #ff8403;
  border-color: rgba(255,132,3,.34);
}

.asp-case-tag-pill.tag-loop-5{
  background: #13496c;
  border-color: rgba(19,73,108,.34);
}

.asp-case-hero__media{
  position: relative;
  margin-top: 38px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  box-shadow: 0 30px 90px rgba(0,0,0,0.34);
}

.asp-case-hero__media::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(0,0,0,0) 72%, rgba(0,0,0,0.14) 100%);
  z-index: 1;
}

.asp-case-hero__media img,
.asp-case-hero__media video,
.asp-case-hero__media iframe{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.asp-case-hero__video-wrap{
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b0b0b;
}

.asp-case-hero__video-wrap video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.asp-case-hero__video-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.28));
  transition: opacity .22s ease, background .22s ease;
  pointer-events: none;
  z-index: 2;
}

.asp-case-hero__play{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.asp-case-hero__play svg{
  width: 28px;
  height: 28px;
  display: block;
  transform: translateX(1px);
}

.asp-case-hero__video-wrap:hover .asp-case-hero__video-overlay{
  opacity: 0;
}

.asp-case-section{
  padding: 120px 0 0;
}

.asp-case-section__intro{
  margin-bottom: 28px;
}

.asp-case-section__eyebrow,
.asp-case-cta-box__eyebrow{
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1;
  color: rgba(255,255,255,0.52);
}

.asp-case-section__title,
.asp-case-cta-box__title{
  margin: 0;
  font-size: clamp(38px, 6vw, 82px);
  line-height: .94;
  font-weight: 300;
  color: #fff;
  text-wrap: balance;
}

.asp-case-card,
.asp-case-glass-card,
.asp-case-cta-box,
.asp-case-wysiwyg{
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}

.asp-case-card{
  border-radius: 30px;
  overflow: hidden;
  align-self: start;
}

.asp-case-card__media{
  position: relative;
  background: #0b0b0b;
  overflow: hidden;
}

.asp-case-card__media img,
.asp-case-card__media video{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.asp-case-card__video-wrap{
  position: relative;
  width: 100%;
  height: 100%;
}

.asp-case-card__video-wrap video{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.asp-case-card__video-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.28));
  transition: opacity .22s ease, background .22s ease;
  pointer-events: none;
}

.asp-case-card__play{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.asp-case-card__play svg{
  width: 26px;
  height: 26px;
  display: block;
  transform: translateX(1px);
}

.asp-case-card:hover .asp-case-card__video-overlay{
  opacity: 0;
}

.asp-case-card__content{
  padding: 22px 22px 24px;
}

.asp-case-card__content h3{
  margin: 0 0 10px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.asp-case-card__content p{
  margin: 0;
  color: rgba(255,255,255,0.68);
  font-size: 15px;
  line-height: 1.7;
}

.asp-case-media-object-top{
  object-position: top center !important;
}

.asp-case-media-object-center{
  object-position: center center !important;
}

.asp-case-embed-wrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b0b0b;
}

.asp-case-embed-wrap iframe,
.asp-case-embed-wrap .wp-video,
.asp-case-embed-wrap video{
  width: 100%;
  height: 100%;
  border: 0;
}

.asp-case-external-link{
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.asp-case-external-link a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ff3600 0%, #ff8403 100%) !important;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 38px rgba(255, 54, 0, 0.28);
}

.asp-case-wysiwyg{
  max-width: 100%;
  border-radius: 30px;
  padding: 34px;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
}

.asp-case-wysiwyg h2,
.asp-case-wysiwyg h3,
.asp-case-wysiwyg h4{
  margin-top: 38px;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 500;
  line-height: 1.02;
}

.asp-case-wysiwyg p{
  margin: 0 0 18px;
}

.asp-case-wysiwyg ul,
.asp-case-wysiwyg ol{
  margin: 0 0 20px 20px;
}

.asp-case-wysiwyg a{
  color: #ffbccb;
}

.asp-case-section--cta{
  padding-top: 110px;
  padding-bottom: 130px;
}

.asp-case-section--cta .asp-case-cta-box{
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 38px 28px;
  text-align: center;
  background: linear-gradient(135deg, #ff3600 0%, #ff8403 42%, #136c40 100%) !important;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 30px 90px rgba(255, 54, 0, 0.26),
    0 10px 40px rgba(255, 132, 3, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.asp-case-section--cta .asp-case-cta-box::before{
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(255, 188, 203, 0.22);
  filter: blur(70px);
  pointer-events: none;
}

.asp-case-section--cta .asp-case-cta-box::after{
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: rgba(19, 73, 108, 0.28);
  filter: blur(70px);
  pointer-events: none;
}

.asp-case-section--cta .asp-case-cta-box__eyebrow,
.asp-case-section--cta .asp-case-cta-box__title,
.asp-case-section--cta .asp-case-cta-box__button{
  position: relative;
  z-index: 1;
}

.asp-case-section--cta .asp-case-cta-box__eyebrow{
  color: rgba(255,255,255,0.8) !important;
}

.asp-case-section--cta .asp-case-cta-box__title{
  color: #fff !important;
  text-shadow: 0 6px 24px rgba(0,0,0,0.16);
}

.asp-case-section--cta .asp-case-cta-box__button{
  margin-top: 26px;
  min-height: 58px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: #ffffff !important;
  color: #ff3600 !important;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .22s ease;
  box-shadow:
    0 14px 34px rgba(0,0,0,0.16),
    0 0 0 1px rgba(255,255,255,0.18) inset;
}

.asp-case-section--cta .asp-case-cta-box__button:hover{
  background: #ffbccb !important;
  color: #111 !important;
  transform: translateY(-2px) scale(1.015);
  filter: none !important;
}

.asp-case-dock{
  position: fixed !important;
  left: 50%;
  bottom: 22px !important;
  top: auto !important;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 24px);
  max-width: 1180px;
  pointer-events: none;
}

.asp-case-dock__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(19, 19, 19, 0.58);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  box-shadow: 0 18px 55px rgba(0,0,0,0.38);
  pointer-events: auto;
}

.asp-case-dock__brand{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}

.asp-case-dock__brand img{
  width: 19px;
  height: auto;
  display: block;
}

.asp-case-dock__links{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}

.asp-case-dock__link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: rgba(255,255,255,0.74);
  text-decoration: none !important;
  background: transparent;
  border: 1px solid transparent;
  transition: all .22s ease;
  font-size: 14px;
  line-height: 1;
}

.asp-case-dock__link:hover{
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}

.asp-case-dock__link.is-active{
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 54, 0, 0.22), rgba(255, 132, 3, 0.22));
  border-color: rgba(255, 132, 3, 0.28);
  box-shadow: 0 8px 25px rgba(255, 54, 0, 0.14);
}

.asp-case-dock__button{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ff3600 0%, #ff8403 100%) !important;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 38px rgba(255, 54, 0, 0.28);
  transition: all .22s ease;
}

.asp-case-dock__button:hover{
  color: #ff3600 !important;
  background: linear-gradient(135deg, #ffffff 0%, #ffbccb 100%) !important;
  transform: translateY(-1px);
}

.asp-case-dock__button-text{
  font-size: 14px;
  font-weight: 700;
  color: inherit !important;
}

.asp-case-dock__button-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(0,0,0,0.14);
  color: inherit !important;
}

.asp-case-dock__button-icon svg{
  width: 14px;
  height: 14px;
  display: block;
}

@media (max-width: 820px){
  .asp-case-single{
    padding-top: 0px;
    padding-bottom: 96px;
  }

  .asp-case-container{
     width: calc(100% - 40px);
  }

  .asp-case-hero__title{
    font-size: clamp(52px, 15vw, 92px);
  }

  .asp-case-client-line{
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .asp-case-dock{
    width: auto;
    max-width: none;
    left: auto;
    right: 20px;
    bottom: 20px !important;
    transform: none;
  }

  .asp-case-dock__inner{
    display: block;
    padding: 8px;
    border-radius: 18px;
    background: rgba(19, 19, 19, 0.72);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    box-shadow: 0 18px 55px rgba(0,0,0,0.38);
  }

  .asp-case-dock__brand,
  .asp-case-dock__links{
    display: none !important;
  }

  .asp-case-dock__cta{
    width: auto;
  }

  .asp-case-dock__button{
    width: auto;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px 10px 16px;
    border-radius: 14px;
    gap: 8px;
    white-space: nowrap;
  }

  .asp-case-dock__button-text{
    font-size: 14px;
  }

  .asp-case-dock__button-icon{
    width: 24px;
    height: 24px;
  }

  .asp-case-hero__media,
  .asp-case-card,
  .asp-case-glass-card,
  .asp-case-wysiwyg,
  .asp-case-section--cta .asp-case-cta-box{
    border-radius: 24px;
  }

  .asp-case-card__content h3{
    font-size: 24px;
  }

  .asp-case-section{
    padding-top: 86px;
  }

  .asp-case-section--cta{
    padding-bottom: 150px;
  }
}

@media (hover: none), (pointer: coarse){
  .asp-case-card.is-mobile-playing .asp-case-card__video-overlay,
  .asp-case-hero__video-wrap.is-mobile-playing .asp-case-hero__video-overlay{
    opacity: 0;
  }
}
