* {
  margin: 0;
  padding: 0;
}

:root {
  --font-serif: "Noto Serif", serif;
  --font-sans: "Inter", sans-serif;
}

html {
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  box-sizing: border-box;
  font-size: 17px;
  line-height: 1.65;
  position: relative;
  font-weight: normal;
  font-family: "Noto Serif", serif;
}
body h1, body h2, body h3, body h4, body h5, body h6, body p, body label, body ul, body li, body .card, body a {
  text-decoration: none !important;
  outline: none !important;
}

main {
  margin: 0;
}

div#mingid_comments_content {
  display: none !important;
}

.emag-center {
  text-align: center;
}

img {
  max-width: 100%;
}

.adm-emag {
  padding: 0 0 40px 0;
  background: #fff;
  text-align: justify;
  position: relative;
}
.adm-emag img {
  max-width: 100% !important;
}

.cover-emag {
  position: relative;
  overflow: hidden;
}
.cover-emag video {
  width: 100%;
  height: auto;
}
.cover-emag .logo {
  position: absolute;
  top: 20px;
  left: 40px;
  pointer-events: none;
}
.cover-emag .logo img {
  max-height: 200px;
}

.video-cover-emag {
  display: flex;
  align-items: center;
  margin-bottom: 35px;
}
.video-cover-emag video {
  width: 100%;
  height: auto;
}

.title-cover-abs {
  text-align: center;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  padding: 36px 0 0 0;
  pointer-events: none;
}
@media (max-width: 1023px) {
  .title-cover-abs {
    padding: 14px 0 0 0;
  }
}
.title-cover-abs .title-cover-1 {
  margin: 0 auto 30px auto;
  max-width: 50%;
}
.title-cover-abs .title-cover-2 {
  margin: 0 auto;
  max-width: 30%;
}

.title-emag {
  margin-bottom: 30px;
}
@media (max-width: 1600px) {
  .title-emag img {
    max-height: 300px;
  }
}
@media (max-width: 1440px) {
  .title-emag img {
    max-height: 240px;
  }
}
@media (max-width: 1200px) {
  .title-emag img {
    max-height: 200px;
  }
}
@media (max-width: 1023px) {
  .title-emag img {
    max-height: 160px;
  }
}

.text-emag {
  max-width: 660px;
  margin: 0 auto 30px auto;
  padding-bottom: 10px;
}
.text-emag p {
  font-family: "Noto Serif";
  margin-bottom: 20px;
}
.text-emag p:last-child {
  margin-bottom: 0;
}

.caption-detail {
  background: url(../images/bn-abs-txt.png) no-repeat center;
  background-size: cover;
  color: #fff;
  box-sizing: border-box;
  font-family: "Barlow";
  padding: 35px 55px;
  font-size: 40px;
  font-weight: 500;
}
@media (max-width: 1600px) {
  .caption-detail {
    font-size: 32px;
  }
}
@media (max-width: 1440px) {
  .caption-detail {
    font-size: 24px;
  }
}
@media (max-width: 1023px) {
  .caption-detail {
    font-size: 18px;
    padding: 25px 35px;
  }
}

.detail-emag {
  margin: 0 auto 45px auto;
  position: relative;
  line-height: 1.3;
}
.detail-emag img {
  width: 100%;
}
.detail-emag a {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  overflow: hidden;
}
.detail-emag.detail-1 img {
  width: 100%;
  transition: 0.6s all !important;
}
.detail-emag.detail-1 img:hover {
  transform: scale(1.04);
}
.detail-emag.detail-1 ul {
  list-style: none;
  display: flex;
  justify-content: center;
}
.detail-emag.detail-1 ul li {
  padding: 2px;
}
.detail-emag .cloud {
  position: absolute;
  bottom: 1%;
  left: 50%;
  opacity: 0.8;
  animation: mymove 90s infinite;
}

.detail-emag-2 {
  display: flex;
  align-items: center;
  margin: 0 -10px;
}
.detail-emag-2 img {
  border-radius: 20px;
}
.detail-emag-2 .left, .detail-emag-2 .right {
  padding: 0 10px;
}
.detail-emag-2 .top {
  margin-bottom: 10px;
}
.detail-emag-2 .bot {
  border: 5px solid #fff;
  border-radius: 30px;
  overflow: hidden;
  width: 110%;
  position: relative;
  right: 23%;
}
.detail-emag-2 .bot img {
  border-radius: 0;
}

.detail-eamg-3 {
  margin-top: 80px;
}
.detail-eamg-3 .top {
  position: relative;
}
.detail-eamg-3 .top:after {
  content: "";
  width: 100%;
  height: 80px;
  background: linear-gradient(180deg, #fff, #030604, #030604);
  position: absolute;
  top: -40px;
  left: 0;
}
.detail-eamg-3 .top:before {
  content: "";
  width: 100%;
  height: 80px;
  background: linear-gradient(180deg, rgba(3, 6, 4, 0), rgba(3, 6, 4, 0.9882352941), #fff);
  position: absolute;
  bottom: -40px;
  left: 0;
}
.detail-eamg-3 .bot {
  padding: 0 60px;
  margin-top: -6%;
  position: relative;
  z-index: 3;
}
.detail-eamg-3 .bot ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0 -5px;
}
.detail-eamg-3 .bot ul li {
  margin: 0 1.5px;
  border-radius: 20px;
  overflow: hidden;
  border: 5px solid #fff;
}

.credit-emg {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.credit-emg ul {
  list-style: none;
  line-height: 1;
  border-left: 5px solid #ff6a03;
  padding-left: 20px;
  font-weight: 600;
}
.credit-emg ul li {
  margin-bottom: 10px;
}
.credit-emg ul li:last-child {
  margin-bottom: 0;
}
.credit-emg .right {
  text-align: right;
}

@keyframes mymove {
  0% {
    left: 16%;
  }
  50% {
    left: 65%;
  }
  100% {
    left: 16%;
  }
}

/* Responsive enhancements */
@media (max-width: 767px) {
  body {
    font-size: 15px;
    line-height: 1.6;
  }
  .text-emag {
    padding: 0 16px 10px 16px;
    margin-bottom: 20px;
  }
  .video-cover-emag {
    margin-bottom: 20px;
  }
  .detail-emag-2 {
    flex-direction: column;
    margin: 0;
    padding: 0 10px;
  }
  .detail-emag-2 .left,
  .detail-emag-2 .right {
    padding: 0;
    width: 100%;
  }
  .detail-emag-2 .left {
    margin-bottom: 10px;
  }
  .detail-emag-2 .bot {
    width: 100%;
    right: 0;
    border-radius: 20px;
    border-width: 3px;
  }
  .detail-eamg-3 {
    margin-top: 40px;
  }
  .detail-eamg-3 .bot {
    padding: 0 15px;
    margin-top: -3%;
  }
  .detail-eamg-3 .bot ul li {
    border-radius: 12px;
    border-width: 3px;
  }
  .credit-emg {
    padding: 0 16px;
  }
}
