/* =========================================================
   Amusnet corporate homepage — static 1:1 reconstruction
   Values transcribed from the live site's computed styles.
   ========================================================= */

/* ---------- reset (matches original) ---------- */
a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote,
body, button, canvas, caption, center, cite, code, dd, del, details, dfn, div,
dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4,
h5, h6, header, hgroup, html, i, iframe, img, input, ins, kbd, label, legend,
li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section,
small, span, strike, strong, sub, summary, sup, table, tbody, td, textarea,
tfoot, th, thead, time, tr, tt, u, ul, var, video {
  margin: 0; padding: 0; border: 0; font-size: 100%;
  vertical-align: baseline; box-sizing: border-box; background-color: transparent;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ul, ol { list-style: none; }
img, video { max-width: 100%; }
button { font-family: inherit; }

:root {
  --green:   #a6ce39;
  --navy:    #102743;
  --navy-dk: #07162b;
  --ink:     #1e1e1e;
  --grey-bg: #f5f5f5;
  --grey-tx: #86868a;
  --white:   #fafafa;
}

html { scroll-behavior: smooth; }

body {
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  font-size: 16px;
  background: #fff;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }

h2 {
  font-weight: 400; color: var(--ink);
  font-size: 36px; line-height: 41px; text-align: center;
  padding: 50px 0; transition: 1s; opacity: 1;
}
h2.noactive { transform: translateX(150px); opacity: 0; }

/* =========================================================
   AGE CONFIRMATION POPUP
   ========================================================= */
#age-confirmation-popup {
  position: fixed; inset: 0; z-index: 996;
  background: rgba(7, 22, 43, .4);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
#age-confirmation-popup.show { display: flex; }
.age-conf-container {
  background: var(--grey-bg);
  width: 100%; max-width: 704px;
  padding: 60px; border-radius: 20px; text-align: center;
}
.age-conf-container img { height: 34px; width: auto; }
.age-conf-container p {
  font-size: 20px; line-height: 30px; color: var(--ink);
  border-top: 2px solid var(--ink);
  padding-top: 15px; margin-top: 50px;
}
.age-conf-container .buttons {
  display: flex; gap: 20px; justify-content: center; margin-top: 30px;
  flex-wrap: wrap;
}
.age-conf-container button {
  border: 2px solid var(--ink); border-radius: 50px;
  padding: 10px 30px; font-size: 16px; font-weight: 400;
  cursor: pointer; transition: .2s; min-width: 262px;
}
.age-conf-container .age-yes { background: var(--ink); color: var(--white); }
.age-conf-container .age-no  { background: transparent; color: var(--ink); }
.age-conf-container .age-yes:hover { opacity: .85; }
.age-conf-container .age-no:hover  { background: var(--ink); color: #fff; }

@media screen and (max-width: 766px) {
  .age-conf-container { padding: 30px 20px; }
  .age-conf-container p { font-size: 16px; line-height: 24px; margin-top: 30px; }
  .age-conf-container button { min-width: 0; width: 100%; }
}

/* =========================================================
   HEADER
   ========================================================= */
#header {
  position: fixed; top: 18px; left: 20px;
  width: calc(100% - 40px);
  padding: 19px 22px;
  z-index: 999; transition: .5s; border-radius: 48px;
  background-color: var(--navy);
}
#header.blur {
  background: rgba(9, 28, 56, .5);
  box-shadow: 0 20px 13px 0 rgba(0,0,0,.04), 0 8.148px 6.519px 0 rgba(0,0,0,.03), 0 1.852px 3.148px 0 rgba(0,0,0,.02);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
}
#header.hide-header { top: -100%; transition: .5s; }
#header .header-top { width: 100%; display: flex; justify-content: space-between; }

#header.open {
  width: 100%; top: 0; left: 0; height: 100%;
  border-radius: 0; padding: 20px 25px 18px;
  overflow-y: auto; background-color: var(--navy);
}

#menu-icon { display: block; width: 17px; height: 14px; margin-top: 5px; cursor: pointer; }
#menu-icon .menu-icon-element { width: 100%; height: 2px; background-color: #eff0f5; margin-bottom: 4px; }
#menu-icon .menu-icon-element:nth-of-type(2) { width: 10px; }
#menu-icon .menu-icon-element:last-of-type { margin-bottom: 0; }
#header.open #menu-icon { display: none; }

#header .close-icon { display: none; color: #fff; font-size: 25px; transform: rotate(45deg); cursor: pointer; }
#header.open .close-icon { display: block; }

#header .header-logo { margin-top: 3px; text-decoration: none; }
#header .header-logo img { height: 18px; width: auto; display: block; }

#header .clients-area-btn { display: none; }

/* --- mobile menu (default) --- */
#header .header-main-menu { display: none; margin-top: 40px; }
#header.open .header-main-menu { display: block; }
#header .header-main-menu.desktop { display: none; }
#header .header-main-menu .header-main-menu-el { position: relative; margin-bottom: 26px; }
#header .header-main-menu .header-main-menu-el .open-submenu-icon {
  position: absolute; top: 4px; right: 0; width: 15px; height: 15px;
  color: #c2c2c2; transition: .3s;
}
#header .header-main-menu .header-main-menu-el.open .open-submenu-icon { transform: rotate(45deg); }
#header .header-main-menu .header-main-menu-el .header-main-menu-el-link {
  display: inline-block; font-size: 16px; line-height: 24px;
  color: #c2c2c2; text-decoration: none; font-weight: 500;
}
#header .header-main-menu .header-main-menu-el .header-sub-menu { display: none; padding-left: 30px; margin-top: 15px; }
#header .header-main-menu .header-main-menu-el.open .header-sub-menu { display: block; }
#header .header-main-menu .header-sub-menu li a {
  display: block; font-size: 14px; line-height: 1.6; color: #c2c2c2;
  text-decoration: none; margin-bottom: 14px;
}
.new-badge { height: 11px; width: auto; margin-right: 6px; vertical-align: 1px; }

/* PLAY DEMO 按钮外层链接：保持原有块级布局，不引入下划线/颜色变化 */
.play-demo-link { display: block; text-decoration: none; color: inherit; }

/* --- desktop menu --- */
@media screen and (min-width: 1360px) {
  #header { top: 25px; left: calc(50% - 650px); width: 1300px; padding: 5px 50px; }
  #menu-icon, #header .close-icon { display: none !important; }
  #header .header-logo { margin-top: 11px; }
  #header .header-logo img { height: 22px; }

  #header .clients-area-btn {
    display: inline-block; color: #eff0f5; font-size: 13px; font-weight: 400;
    line-height: 1; padding: 10px 33px; border-radius: 48px;
    border: 1px solid var(--green); text-decoration: none;
    max-height: 36px; margin-top: 4px;
  }
  #header .clients-area-btn:hover { background-color: var(--green); transition: .2s; }

  #header .header-main-menu.desktop { display: flex; margin-top: 0; }
  #header .header-main-menu .header-main-menu-el { position: static; margin-bottom: 0; transition: .5s; }
  #header .header-main-menu .header-main-menu-el .header-main-menu-el-link {
    color: var(--white); padding: 16px 18px; font-size: 14px; font-weight: 500; line-height: 1;
  }
  #header .header-main-menu .header-main-menu-el:first-of-type .header-main-menu-el-link { padding-left: 0; }
  #header .header-main-menu .header-main-menu-el:last-of-type .header-main-menu-el-link { padding-right: 0; }
  #header .header-main-menu .header-main-menu-el .open-submenu-icon { display: none; }

  #header .header-main-menu .header-main-menu-el .header-sub-menu {
    display: none; position: absolute; width: 100%; left: 0;
    padding-top: 15px; border-top: 1px solid #fff;
    justify-content: space-between; gap: 20px; margin: 0;
    /* 与 #header 的左右 padding 对齐，避免子菜单顶到胶囊两端 */
    padding-left: 50px; padding-right: 50px;
  }
  #header .header-main-menu .header-main-menu-el:hover { margin-bottom: 50px; transition: .3s; }
  #header .header-main-menu .header-main-menu-el:last-of-type:hover,
  #header .header-main-menu .header-main-menu-el:nth-of-type(6):hover { margin-bottom: 0; }
  #header .header-main-menu .header-main-menu-el:hover .header-main-menu-el-link { color: var(--green); transition: .2s; }
  #header .header-main-menu .header-main-menu-el:hover .header-sub-menu { display: flex; }
  #header .header-main-menu .header-sub-menu li a {
    display: block; font-size: 13px; font-weight: 600; color: var(--white);
    padding-bottom: 10px; margin-bottom: 0; white-space: nowrap;
  }
  #header .header-main-menu .header-sub-menu li a:hover { color: var(--green); transition: .2s; }
}
@media screen and (min-width: 1260px) and (max-width: 1359px) {
  #header { top: 25px; left: calc(50% - 600px); width: 1200px; padding: 5px 50px; }
}

/* =========================================================
   HERO SLIDER
   ========================================================= */
#hero-slider { width: 98vw; height: 97vh; margin: 1.5vh auto; }
#hero-slider .swiper { border-radius: 17px; height: 100%; position: relative; overflow: visible; }
#hero-slider .swiper-wrapper { position: relative; width: 100%; height: 100%; border-radius: 17px; overflow: hidden; }
#hero-slider .swiper-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  pointer-events: none;
}
#hero-slider .swiper-slide.is-active { opacity: 1; pointer-events: auto; z-index: 2; }
#hero-slider .slider-inner { display: block; width: 100%; height: 100%; }
#hero-slider .swiper-slide img,
#hero-slider .swiper-slide video { width: 100%; height: 100%; object-fit: cover; border-radius: 17px; display: block; }
#hero-slider .responsive-slide-img { width: 100%; height: 100%; object-fit: cover; display: block; }
#hero-slider .swiper-slide .age-restriction {
  position: absolute !important; bottom: 20px !important; left: auto !important;
  right: 160px !important; z-index: 99 !important; width: 300px !important;
  height: auto !important; border-radius: 0 !important; object-fit: contain !important;
}

#hero-slider .swiper-pagination {
  position: absolute; width: -moz-fit-content; width: fit-content;
  left: 2%; bottom: 3%; z-index: 10; display: flex; gap: 8px;
}
#hero-slider .swiper-pagination span {
  display: block; width: 10px; height: 10px; border-radius: 50%;
  background-color: transparent; border: 1px solid var(--white);
  opacity: 1; cursor: pointer; transition: .2s;
}
#hero-slider .swiper-pagination .is-active { background-color: var(--white); }

#hero-slider .arrow-holder {
  position: absolute; bottom: -6px; right: -2.5px; z-index: 99; width: 175px;
}
#hero-slider .arrow-holder .white-box { width: 100%; height: auto; display: block; border-radius: 0 !important; }
#hero-slider .arrow-holder .navigation {
  font-size: 45px; display: flex; gap: 15px; justify-content: flex-end;
  position: absolute; bottom: 12px; right: 16px;
}
#hero-slider .arrow-holder .navigation svg { width: 22px; height: 22px; box-sizing: content-box; }
#hero-slider .arrow-holder .navigation .next-arrow {
  border: 2px solid var(--ink); border-radius: 50%;
  padding: 5px 4px 5px 6px; background-color: var(--ink); color: #fff;
  cursor: pointer; transition: .2s;
}
#hero-slider .arrow-holder .navigation .prev-arrow {
  border: 2px solid; border-radius: 50%;
  padding: 5px 6px 5px 4px; color: var(--ink); cursor: pointer; transition: .2s;
}
#hero-slider .arrow-holder .navigation .next-arrow:hover,
#hero-slider .arrow-holder .navigation .prev-arrow:hover { opacity: .8; }

@media screen and (min-width: 1260px) and (max-width: 1600px) {
  #hero-slider .arrow-holder .navigation { bottom: 18px; right: 19px; }
}
@media screen and (min-width: 766px) and (max-width: 1260px) {
  #hero-slider .swiper-pagination { left: 4%; bottom: 3%; }
}
@media screen and (max-width: 766px) {
  #hero-slider { width: 94vw; }
  #hero-slider .swiper-pagination { left: 4%; bottom: 2%; }
  #hero-slider .arrow-holder { bottom: -7px; right: -2.5px; width: 165px; }
  #hero-slider .arrow-holder .navigation { bottom: 18px; }
  #hero-slider .swiper-slide .age-restriction {
    bottom: 50px !important; right: auto !important; left: 4% !important; width: 200px !important;
  }
}

/* =========================================================
   SHARED: text-and-button
   ========================================================= */
.text-and-button { text-align: center; margin: 0 auto; opacity: 1; transition: 1s; padding: 0 20px; }
.text-and-button .bottom-text { line-height: 1.5; font-weight: 400; color: var(--ink); transition: 1s; opacity: 1; font-size: 15px; }
.text-and-button .link { text-align: center; margin-top: 25px; }
.text-and-button .link .bttn {
  display: inline-block; color: var(--ink); border: 2px solid var(--ink);
  font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer;
  font-size: 14px; padding: 10px 32px; border-radius: 30px;
}
.text-and-button .link .bttn:hover { background-color: var(--ink); color: #fff; transition: .2s; }
.text-and-button .bottom-text.noactive,
.text-and-button .bttn.noactive,
.text-and-button.noactive { transform: translateY(150px); opacity: 0; }

@media screen and (min-width: 1360px) {
  .text-and-button { width: 700px; margin-top: 40px; padding: 0; }
  .text-and-button .link { margin-top: 30px; }
  .text-and-button .bttn { font-size: 14px; padding: 10px 32px; border-radius: 30px; }
  .text-and-button .bottom-text { font-size: 16px; }
}
@media screen and (min-width: 1600px) {
  .text-and-button .bttn { font-size: 16px; padding: 14px 50px; border-radius: 50px; }
}

/* =========================================================
   COUNTING NUMBERS
   ========================================================= */
#counting-numbers { text-align: center; margin: 0 auto; padding-top: 60px; }
#counting-numbers .home-h1 {
  width: 100%;
  flex-basis: 100%;
  margin: 0 0 36px;
  padding: 0 16px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 600;
  color: #1a1a1a;
}
#counting-numbers .group { margin-bottom: 35px; }
#counting-numbers .group .number {
  display: block; font-size: 60px; line-height: 70px; font-weight: 400;
  color: var(--green); transition: 1.5s;
}
#counting-numbers .group .text { font-size: 24px; line-height: 1; color: grey; transition: 1.8s; font-weight: 300; }
#counting-numbers .noactive .number,
#counting-numbers .noactive .text { transform: translateY(150px); opacity: 0; }
#counting-numbers .text-and-button { margin-top: 40px; }

@media screen and (min-width: 1360px) {
  #counting-numbers {
    padding-top: 100px; width: 1300px;
    display: flex; justify-content: space-between; flex-wrap: wrap;
  }
  #counting-numbers .home-h1 { font-size: 36px; margin-bottom: 48px; }
  #counting-numbers .group .number { font-size: 72px; line-height: 88px; font-weight: 300; }
  #counting-numbers .group .text { font-size: 30px; }
  #counting-numbers .text-and-button { width: 800px; margin: 40px 250px 0; }
}
@media screen and (min-width: 1600px) {
  #counting-numbers { width: 1500px; }
  #counting-numbers .text-and-button { width: 900px; margin: 40px auto 0; }
}

/* =========================================================
   ONLINE CASINO + LAND-BASED (3-up centered video carousel)
   ========================================================= */
#online-casino, #land-based-container { overflow: hidden; position: relative; }
#online-casino .hero-video-slider,
#land-based-container .land-based-video-slider { overflow: initial; margin: 0 auto; }
#online-casino .swiper-wrapper,
#land-based-container .swiper-wrapper {
  display: flex; transition: transform .4s ease;
}
#online-casino .swiper-slide,
#land-based-container .swiper-slide {
  flex: 0 0 auto; opacity: 1; transition: .4s; cursor: pointer;
}
#online-casino .swiper-slide video,
#land-based-container .swiper-slide video {
  width: 100%; height: auto; border-radius: 20px; display: block; object-fit: contain;
}

@media screen and (min-width: 1360px) {
  #online-casino .hero-video-slider,
  #land-based-container .land-based-video-slider { min-height: 360px; width: 1300px; }
  #online-casino .swiper-slide,
  #land-based-container .swiper-slide { width: 637.5px; margin-right: 25px; }
  #online-casino .swiper-slide video,
  #land-based-container .swiper-slide video { height: 80%; width: 75.5%; margin: 0 auto; }
  #online-casino .swiper-slide.is-active video,
  #land-based-container .swiper-slide.is-active video { height: 100%; width: 100%; }
  #online-casino .swiper-slide.is-prev,
  #land-based-container .swiper-slide.is-prev { text-align: right; padding: 4% 0 0 12%; }
  #online-casino .swiper-slide.is-next,
  #land-based-container .swiper-slide.is-next { text-align: left; padding: 4% 12% 0 0; }
}
@media screen and (min-width: 1200px) and (max-width: 1359px) {
  #online-casino .hero-video-slider,
  #land-based-container .land-based-video-slider { min-height: 315px; width: 1140px; }
  #online-casino .swiper-slide,
  #land-based-container .swiper-slide { width: 557.5px; margin-right: 25px; }
  #online-casino .swiper-slide video,
  #land-based-container .swiper-slide video { height: 80%; width: 75.5%; margin: 0 auto; }
  #online-casino .swiper-slide.is-active video,
  #land-based-container .swiper-slide.is-active video { height: 100%; width: 100%; }
}
@media screen and (max-width: 1199px) {
  #online-casino .swiper-slide,
  #land-based-container .swiper-slide { width: 88vw; margin-right: 15px; }
}

/* =========================================================
   LIVE CASINO — scroll-driven MacBook animation
   ========================================================= */
.live-casino-container {
  margin-top: 200px; width: 100%; height: 2100px; position: relative; overflow: hidden;
}
.live-casino-container .video-container { min-height: 390px; }
.live-casino-container .text-and-button { margin-top: 80px; }
.live-casino-container h2 { padding: 120px 0 30px; }

.live-casino-container.top-positioned .live-casino-animation {
  position: absolute; top: 0; bottom: auto; left: 0; width: 100%; z-index: 10;
}
.live-casino-container.top-positioned .live-casino-animation video {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
}
.live-casino-container.bottom-positioned .live-casino-animation {
  position: absolute; bottom: 0; top: auto; left: 0; width: 100%; z-index: 10;
}
.live-casino-container.bottom-positioned .live-casino-animation video {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 11;
}
.live-casino-container.make-it-sticky .live-casino-animation {
  position: absolute; bottom: 0; top: auto; left: 0; width: 100%; z-index: 10;
}
.live-casino-container.make-it-sticky .live-casino-animation video {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 11;
}
.live-casino-container.make-it-sticky .live-casino-animation .text-and-button,
.live-casino-container.make-it-sticky .live-casino-animation h2 { opacity: 0; transition: .3s; }

@media screen and (min-width: 1360px) and (max-width: 2000px) {
  #home-page .live-casino-container video.step-1  { width: 100%; border-radius: 0; }
  #home-page .live-casino-container video.step-2  { width: 96%; transition: .4s; }
  #home-page .live-casino-container video.step-3  { width: 92%; transition: .4s; }
  #home-page .live-casino-container video.step-4  { width: 85%; transition: .4s; }
  #home-page .live-casino-container video.step-5  { width: 78%; transition: .4s; }
  #home-page .live-casino-container video.step-6  { width: 71%; transition: .4s; }
  #home-page .live-casino-container video.step-7  { width: 64%; transition: .4s; }
  #home-page .live-casino-container video.step-8  { width: 57%; transition: .4s; }
  #home-page .live-casino-container video.step-9  { width: 50%; transition: .4s; }
  #home-page .live-casino-container video.step-10 { width: 43%; transition: .4s; }
}
@media screen and (max-width: 1359px) {
  .live-casino-container { height: 1500px; }
  #home-page .live-casino-container video.step-1  { width: 100%; }
  #home-page .live-casino-container video.step-2  { width: 96%; transition: .4s; }
  #home-page .live-casino-container video.step-3  { width: 92%; transition: .4s; }
  #home-page .live-casino-container video.step-4  { width: 88%; transition: .4s; }
  #home-page .live-casino-container video.step-5  { width: 84%; transition: .4s; }
  #home-page .live-casino-container video.step-6  { width: 80%; transition: .4s; }
  #home-page .live-casino-container video.step-7  { width: 76%; transition: .4s; }
  #home-page .live-casino-container video.step-8  { width: 72%; transition: .4s; }
  #home-page .live-casino-container video.step-9  { width: 68%; transition: .4s; }
  #home-page .live-casino-container video.step-10 { width: 64%; transition: .4s; }
}

/* =========================================================
   AWARDS
   ========================================================= */
#awards { overflow: hidden; position: relative; }
#awards h2 { padding-top: 150px; padding-bottom: 58px; transition: 1s; opacity: 1; }
#awards h2.noactive { transform: translateX(-150px); opacity: 0; }
#awards .inner { position: relative; }
#awards .swiper { margin: 0 auto; overflow: hidden; transition: 1s; opacity: 1; }
#awards .swiper.noactive { transform: translateX(150px); opacity: 0; }
#awards .swiper-wrapper { display: flex; transition: transform .4s ease; align-items: flex-start; }
#awards .swiper-slide { flex: 0 0 auto; width: 224px; margin-right: 15px; }
#awards .swiper-slide a { text-decoration: none; transition: .2s; display: block; }
#awards .swiper-slide .img-container {
  display: block; position: relative; background-color: var(--grey-bg);
  text-align: center; padding: 0; border-radius: 10px;
  min-height: 224px; margin-bottom: 10px; overflow: hidden;
}
#awards .swiper-slide .img-container img { width: 100%; height: auto; transition: .2s; display: block; }
#awards .swiper-slide h3, #awards .swiper-slide p { font-size: 16px; line-height: 150%; font-weight: 600; text-align: center; }
#awards .swiper-slide h3 { color: var(--ink); }
#awards .swiper-slide p  { color: var(--grey-tx); }
#awards .swiper-slide a:hover { opacity: .8; transition: .2s; }
#awards .swiper-slide a:hover img { transform: scale(.92); transition: .2s; }

#awards .prev-arrow, #awards .next-arrow {
  display: block; position: absolute; width: 47px; height: 47px;
  top: 345px; cursor: pointer; color: var(--ink); z-index: 5;
}
#awards .prev-arrow { left: 30px; }
#awards .next-arrow { right: 30px; }

#awards .swiper-pagination {
  position: static; margin-top: 40px; text-align: center;
  display: flex; gap: 8px; justify-content: center; align-items: center;
}
#awards .swiper-pagination span {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid var(--ink); background: transparent;
  cursor: pointer; display: block; transition: .2s;
}
#awards .swiper-pagination .is-active { width: 16px; height: 16px; background-color: var(--ink); }

@media screen and (min-width: 1360px) {
  #awards { padding-bottom: 100px; }
  #awards .swiper { width: 1180px; margin: 0 auto; overflow: hidden; }
}
@media screen and (max-width: 1359px) {
  #awards .swiper { width: calc(100% - 120px); }
  #awards h2 { padding-top: 80px; }
  #awards .prev-arrow, #awards .next-arrow { top: 40%; }
}

/* =========================================================
   FEATURED NEWS
   ========================================================= */
#latest-news { background-color: var(--grey-bg); padding: 20px 20px 30px; overflow: hidden; position: relative; }
#latest-news h2 { padding-top: 50px; }
#latest-news .swiper { overflow: initial; transition: 1s; opacity: 1; }
#latest-news .swiper.noactive { transform: translateX(150px); opacity: 0; }
#latest-news .swiper-wrapper { display: flex; transition: transform .4s ease; }
#latest-news .swiper-slide {
  flex: 0 0 auto; width: 280px; margin-right: 15px; position: relative;
  border-radius: 20px; background-color: #fff; padding: 20px 20px 60px; min-height: 430px;
}
#latest-news .swiper-slide .main-img { border-radius: 10px; width: 100%; height: auto; display: block; }
#latest-news .swiper-slide .date {
  font-style: italic; font-size: 12px; line-height: 17px; color: #858689; padding: 5px 0 0;
}
#latest-news .swiper-slide .date p { display: inline; vertical-align: top; margin-left: 5px; }
#latest-news .swiper-slide .date img { display: inline; border-radius: 0; height: 16px; width: auto; vertical-align: top; }
#latest-news .swiper-slide h3 { font-size: 16px; line-height: 18px; color: #333; font-weight: 600; padding: 22px 0 10px; }
#latest-news .swiper-slide .text { font-size: 14px; line-height: 17px; color: #333; }
#latest-news .swiper-slide > a { position: absolute; bottom: 20px; left: 20px; text-decoration: none; }
#latest-news .swiper-slide > a p {
  display: inline-block; vertical-align: top; font-size: 12px; line-height: 17px;
  color: var(--ink); font-weight: 700; margin-top: 4px; transition: .3s;
}
#latest-news .swiper-slide > a img {
  display: inline; vertical-align: top; width: 25px; height: auto; margin: 0 0 0 10px; transition: .3s;
}
#latest-news .swiper-slide > a:hover p { color: darkgreen; transition: .4s; }
#latest-news .swiper-slide > a:hover img { transform: rotate(45deg); transition: .4s; }

#latest-news .swiper-pagination {
  position: static; margin-top: 28px; display: flex; gap: 8px; justify-content: center; align-items: center;
}
#latest-news .swiper-pagination span {
  width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--ink);
  background: transparent; cursor: pointer; display: block; transition: .2s;
}
#latest-news .swiper-pagination .is-active { background-color: var(--ink); }

#latest-news .view-more-container { text-align: center; margin-top: 35px; }
#latest-news .view-more-btn {
  display: inline-block; color: var(--ink); border: 2px solid var(--ink);
  font-weight: 600; line-height: 1; text-decoration: none; transition: 1s; opacity: 1;
  font-size: 14px; padding: 10px 32px; border-radius: 30px;
}
#latest-news .view-more-btn:hover { background-color: var(--ink); color: #fff; transition: .2s; }

@media screen and (min-width: 1360px) {
  #latest-news { padding: 0 0 95px; }
  #latest-news h2 { padding: 100px 0 83px; }
  #latest-news .swiper { width: 1165px; margin: 0 auto; overflow: hidden; }
  #latest-news .swiper .swiper-wrapper { justify-content: center; }
  #latest-news .swiper-pagination { margin-top: 40px; display: none; }
  #latest-news .view-more-container { margin-top: 60px; }
}

/* =========================================================
   PARTNERS
   ========================================================= */
#partners { position: relative; width: 100%; overflow: hidden; padding: 50px 0; }
#partners .text-and-button { margin-bottom: 20px; }
#partners .jobs-container {
  overflow: hidden; padding: 15px 0; white-space: nowrap; position: relative;
  display: flex; flex-wrap: nowrap; gap: 40px;
}
#partners .jobs-container .jobs-slide {
  display: flex; gap: 40px; cursor: grab; flex-shrink: 0;
  animation: slide 120s linear 0s infinite normal none running;
  align-items: center;
}
#partners .jobs-container.reverse .jobs-slide {
  animation: slide-reverse 160s linear 0s infinite normal none running;
}
#partners .jobs-container.paused .jobs-slide { animation-play-state: paused !important; }
#partners .jobs-container .jobs-slide a { text-decoration: none; align-items: center; display: flex; }
#partners .jobs-container .jobs-slide img {
  filter: grayscale(100%); transition: .2s; width: 110px; height: auto;
}
#partners .jobs-container .jobs-slide a:hover img { filter: none; transform: scale(1.1); transition: .2s; }

@keyframes slide { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
@keyframes slide-reverse { 0% { transform: translateX(-100%); } 100% { transform: translateX(0); } }

@media screen and (min-width: 1200px) and (max-width: 1359px) {
  #partners .jobs-container { padding: 10px 0; }
  #partners .jobs-container .jobs-slide img { width: 100px; }
}
@media screen and (max-width: 1199px) {
  #partners .jobs-container .jobs-slide img { width: 90px; }
}

/* =========================================================
   CATALOGUE
   ========================================================= */
.catalogue { margin-bottom: 100px; }
.catalogue h2 { padding: 120px 0 30px; }
.catalogue .grey-text-box {
  background-color: var(--grey-bg); border-radius: 20px;
  width: calc(100% - 40px); max-width: 620px; margin: 0 auto;
  padding: 50px 30px; font-size: 16px; line-height: 1.5; text-align: center;
}
.catalogue .grey-text-box > p { color: var(--ink); font-size: 16px; line-height: 24px; }
.catalogue label { font-size: 14px; display: block; color: var(--grey-tx); margin: 25px 0 5px; text-align: left; }
.catalogue input {
  width: 100%; border: 1px solid #858689; padding: 15px 10px; color: #333;
  border-radius: 10px; box-sizing: border-box; background-color: var(--grey-bg);
  font-size: 16px; font-family: inherit;
}
.catalogue input.err-field { border-color: red; }
.catalogue button {
  display: inline-block; border: 2px solid var(--ink); color: var(--ink);
  font-size: 14px; font-weight: 600; line-height: 1; padding: 10px 32px;
  border-radius: 50px; text-decoration: none; margin-top: 50px;
  transition: 1s; opacity: 1; cursor: pointer; background: transparent;
}
.catalogue button:hover { color: #fff; background-color: var(--ink); transition: .2s; }
.catalogue form .form-msg { font-size: 16px; font-weight: 500; padding-top: 30px; text-align: center; transition: .4s; min-height: 0; }
.catalogue form .form-msg.success-msg { color: #1a6b1a; }
.catalogue form .form-msg.error-msg { color: #c00; }

@media screen and (min-width: 1360px) { .catalogue { margin: 0 0 100px; } }

/* =========================================================
   FOOTER
   ========================================================= */
#footer {
  width: 100%; background-color: var(--navy-dk); padding: 0 25px;
  position: relative; z-index: 9;
}
#footer #to-contact-form { padding: 50px 0; text-align: center; }
#footer #to-contact-form h2 { line-height: 1.2; color: #e8e8e8; font-weight: 400; font-size: 32px; padding: 0; }
#footer #to-contact-form a {
  display: inline-block; text-decoration: none; border: 1px solid var(--green);
  color: #e8e8e8; padding: 12px 23px; box-sizing: border-box;
  border-radius: 48px; margin-top: 25px; font-size: 14px; line-height: 17px;
}
#footer #to-contact-form a:hover { background-color: var(--green); color: var(--ink); transition: .2s; }

#footer #contact-details {
  padding: 50px 0; text-align: center; color: var(--white);
  border-top: 1px solid #858585; border-bottom: 1px solid #858585;
}
#footer #contact-details .logo { height: 20px; width: auto; margin-bottom: 36px; }
#footer .contact-details-title { font-size: 16px; line-height: 20px; font-weight: 600; margin-bottom: 5px; color: #e8e8e8; }
#footer .contact-details-address { font-size: 12px; line-height: 1.5; font-weight: 400; margin-bottom: 45px; }
#footer .footer-contacts { color: #fff; }
#footer .footer-contacts .contact-details-address span { display: block; font-weight: 600; font-size: 12px; line-height: 1.5; }
#footer .footer-contacts .contact-details-address a {
  font-size: 12px; font-weight: 400; line-height: 1.5;
  text-decoration: underline; color: #fff; display: block;
}
#footer .footer-contacts .contact-details-address a:hover { color: var(--green); }

#footer .social-icons { width: 240px; margin: 45px auto 0; display: flex; justify-content: space-between; }
#footer .social-icons a {
  text-decoration: none; color: #c2c2c2; border: 1px solid #c2c2c2;
  border-radius: 50%; width: 32px; height: 32px; padding-top: 6px; text-align: center;
  box-sizing: border-box; display: block;
}
#footer .social-icons svg { font-size: 18px; }
#footer .social-icons a:hover { color: #fff; border-color: transparent; transform: scale(1.3); transition: .2s; }

#footer .footer-main-menu { padding: 55px 20px 26px; }
#footer .footer-main-menu .footer-main-menu-el { position: relative; margin-bottom: 26px; }
#footer .footer-main-menu .footer-main-menu-el .open-submenu-icon {
  position: absolute; top: 4px; right: 0; width: 15px; height: 15px; color: #c2c2c2; transition: .3s;
}
#footer .footer-main-menu .footer-main-menu-el.open .open-submenu-icon { transform: rotate(45deg); }
#footer .footer-main-menu .footer-main-menu-el .footer-main-menu-el-link {
  display: inline-block; font-size: 16px; line-height: 24px; color: #c2c2c2;
  text-decoration: none; font-weight: 500;
}
#footer .footer-main-menu .footer-main-menu-el .footer-main-menu-el-link:hover { color: #fff; transition: .2s; }
#footer .footer-main-menu .footer-main-menu-el .footer-sub-menu { display: none; padding-left: 30px; margin-top: 15px; }
#footer .footer-main-menu .footer-main-menu-el.open .footer-sub-menu { display: block; }
#footer .footer-main-menu .footer-sub-menu li a {
  display: block; font-size: 14px; line-height: 1.6; font-weight: 400;
  color: #c2c2c2; text-decoration: none; margin-bottom: 14px;
}
#footer .footer-main-menu .footer-sub-menu li a:hover { color: #fff; transition: .2s; }
#footer .footer-main-menu .main-in-column a {
  margin-bottom: 26px; display: block; font-size: 16px; line-height: 24px;
  font-weight: 500; color: #c2c2c2; text-decoration: none;
}
#footer .footer-main-menu .main-in-column a:hover { color: #fff; transition: .2s; }

#footer #certificates {
  position: static; width: auto; color: #fff; text-align: left;
  line-height: 1.4; font-size: 14px; display: block; margin: 30px 0;
}
#footer .out-awards { width: 100%; height: auto; margin-bottom: 52px; display: block; }
#footer .in-awards { display: none; }

#footer #bottom-text-and-menu { padding: 48px 0 46px; text-align: center; border-top: 1px solid #858585; }
#footer #bottom-text-and-menu img { width: auto; height: 35px; }
#footer #bottom-text-and-menu .footer-bottom-menu { margin: 18px 0 8px; display: flex; justify-content: center; flex-wrap: wrap; }
#footer #bottom-text-and-menu .footer-bottom-menu li { display: block; padding: 0 8px; margin-bottom: 5px; }
#footer #bottom-text-and-menu .footer-bottom-menu li a { font-size: 12px; line-height: 15px; color: #e8e8e8; text-decoration: underline; }
#footer #bottom-text-and-menu .footer-bottom-menu li a:hover { color: var(--green); }
#footer #bottom-text-and-menu .bottom-text { font-size: 12px; line-height: 15px; color: #e8e8e8; font-weight: 400; opacity: .5; }

@media screen and (min-width: 1260px) {
  #footer { padding: 0 calc(50% - 600px); }
  #footer #to-contact-form h2 { font-size: 42px; padding: 0; }
  #footer #to-contact-form a { padding: 12px 33px; margin-top: 35px; }
  #footer .container {
    padding: 50px 0 200px; display: block;
    border-top: 1px solid #858585; position: relative; height: 100%;
  }
  #footer #contact-details { padding: 0; text-align: left; border-top: none; border-bottom: none; }
  #footer #contact-details .contact-details-address { margin-bottom: 50px; }
  #footer .social-icons { position: absolute; bottom: 15px; left: 0; margin: 0; }
  #footer .footer-main-menu {
    display: flex; justify-content: space-between; align-items: flex-start;
    width: 100%; padding: 0; gap: 24px; text-align: left; box-sizing: border-box;
  }
  #footer .footer-main-menu > li {
    flex: 1 1 0; min-width: 0; margin-bottom: 0;
  }
  #footer .footer-main-menu .footer-main-menu-el { margin-bottom: 0; }
  #footer .footer-main-menu .footer-main-menu-el .open-submenu-icon { display: none; }
  #footer .footer-main-menu .footer-main-menu-el .footer-sub-menu { display: block; text-align: left; padding-left: 0; }
  #footer .in-awards { display: block; position: absolute; right: 0; bottom: 15px; height: 40px; width: auto; }
  #footer .out-awards { display: none; }
  #footer #certificates {
    position: absolute; width: 330px; left: auto; bottom: 220px; height: auto; margin: 0;
  }
  #footer #bottom-text-and-menu { padding: 15px 0 50px; display: flex; justify-content: space-between; }
  #footer #bottom-text-and-menu .footer-bottom-menu { margin: 7px 0 0 150px; gap: 10px; }
  #footer #bottom-text-and-menu .bottom-text { display: flex; justify-content: space-between; gap: 6px; margin-top: 10px; }
}
