/* EN IP detail pages — responsive replica of www.krakenice.com/en/ipStar/* */
.page-en-ip {
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

.page-en-ip .seo-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-en-ip .en-ip-hero {
  background: #ededed;
  padding: 24px 0 36px;
}

.page-en-ip .en-ip-hero-inner {
  width: 1366px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  gap: 18px;
  align-items: stretch;
}

.page-en-ip .en-ip-media {
  flex: 1 1 68%;
  min-width: 0;
  background: #000;
}

.page-en-ip .en-ip-swiper-main {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.page-en-ip .en-ip-swiper-main .swiper-slide {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-en-ip .en-ip-swiper-main img,
.page-en-ip .en-ip-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.page-en-ip .en-ip-swiper-thumbs {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 0;
  background: #000;
  overflow: hidden;
}

.page-en-ip .en-ip-swiper-thumbs .swiper-slide {
  width: 25%;
  opacity: 0.45;
  cursor: pointer;
  height: 96px;
}

.page-en-ip .en-ip-swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.page-en-ip .en-ip-swiper-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-en-ip .en-ip-info {
  flex: 0 0 32%;
  max-width: 420px;
  background: rgb(45, 71, 128);
  color: #fff;
  box-sizing: border-box;
  padding: 28px 26px;
  overflow: auto;
}

.page-en-ip .en-ip-logo {
  max-width: 180px;
  margin: 0 auto 18px;
}

.page-en-ip .en-ip-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.page-en-ip .en-ip-info-body {
  text-align: left;
  font-size: 13px;
  line-height: 2.1;
  color: #fff;
}

.page-en-ip .en-ip-info-body strong {
  color: #fff;
  font-weight: 700;
}

.page-en-ip .en-ip-section {
  padding: 48px 0 60px;
  background: #fff;
}

.page-en-ip .en-ip-films {
  background: #f7f7f7;
}

.page-en-ip .en-ip-wrap {
  width: 1366px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  position: relative;
}

.page-en-ip .en-ip-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  color: #000;
}

.page-en-ip .en-ip-carousel {
  position: relative;
  padding: 0 56px;
}

.page-en-ip .en-ip-swiper-tv,
.page-en-ip .en-ip-swiper-films {
  overflow: hidden;
}

.page-en-ip .en-ip-swiper-tv .swiper-slide,
.page-en-ip .en-ip-swiper-films .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* Unify poster card size on PC (source assets vary in aspect ratio) */
.page-en-ip .en-ip-swiper-tv img,
.page-en-ip .en-ip-swiper-films img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  background: #e8e8e8;
}

.page-en-ip .en-ip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 20;
  pointer-events: auto;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.page-en-ip .en-ip-prev {
  left: 0;
  background-image: url(/skin/home/images/arrow-left.png);
}

.page-en-ip .en-ip-next {
  right: 0;
  background-image: url(/skin/home/images/arrow-right.png);
}

@media (max-width: 1100px) {
  .page-en-ip .en-ip-swiper-main {
    height: 42vw;
    min-height: 260px;
    max-height: 420px;
  }

  .page-en-ip .en-ip-swiper-tv img,
  .page-en-ip .en-ip-swiper-films img {
    height: 46vw;
    min-height: 340px;
    max-height: 520px;
  }
}

@media (max-width: 767px) {
  .page-en-ip .en-ip-hero {
    padding: 0 0 4vw;
    background: #000;
  }

  .page-en-ip .en-ip-hero-inner {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .page-en-ip .en-ip-media {
    flex: none;
    width: 100%;
  }

  .page-en-ip .en-ip-swiper-main {
    height: 56vw;
    min-height: 200px;
    max-height: none;
  }

  .page-en-ip .en-ip-swiper-thumbs {
    padding: 2.5vw 0;
  }

  .page-en-ip .en-ip-swiper-thumbs .swiper-slide {
    height: 18vw;
  }

  .page-en-ip .en-ip-info {
    flex: none;
    max-width: none;
    width: 100%;
    padding: 5vw 5vw 7vw;
    background: #034d9a;
  }

  .page-en-ip .en-ip-logo {
    max-width: 36vw;
    margin: 0 auto 4vw;
  }

  .page-en-ip .en-ip-info-body {
    font-size: 3.4vw;
    line-height: 1.75;
  }

  .page-en-ip .en-ip-section {
    padding: 8vw 0 10vw;
  }

  .page-en-ip .en-ip-wrap {
    padding: 0 4vw;
  }

  .page-en-ip .en-ip-title {
    font-size: 6vw;
    margin-bottom: 5vw;
  }

  .page-en-ip .en-ip-carousel {
    padding: 0 12vw;
  }

  .page-en-ip .en-ip-swiper-tv,
  .page-en-ip .en-ip-swiper-films {
    width: 100%;
  }

  .page-en-ip .en-ip-swiper-tv .swiper-slide,
  .page-en-ip .en-ip-swiper-films .swiper-slide {
    width: 100% !important;
    box-sizing: border-box;
  }

  .page-en-ip .en-ip-swiper-tv img,
  .page-en-ip .en-ip-swiper-films img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    min-height: 0;
    max-height: 78vh;
    object-fit: cover;
    object-position: center top;
    border-radius: 3vw;
  }

  .page-en-ip .en-ip-arrow {
    width: 10vw;
    height: 10vw;
    max-width: 44px;
    max-height: 44px;
    z-index: 30;
  }

  .page-en-ip .en-ip-prev {
    left: 0;
    background-image: url(/skin/mobile_en/images/icon1.png);
  }

  .page-en-ip .en-ip-next {
    right: 0;
    background-image: url(/skin/mobile_en/images/icon2.png);
  }
}
