﻿/* CMS theme overrides — loaded early to avoid button colour flash on refresh */
@import url('/assets/site-theme.css');

/* IRANYekan (+ فونت‌های کمکی) — `@import` زیر از `npm run fonts:sync` → site/fonts/ */
@import url('./assets/css/base/typography.css');

/* === Lighthouse fixes — must come AFTER all @import rules === */

/* CLS: reserve carousel space so layout doesn't shift when images load */
.slider .carousel {
  aspect-ratio: 1920 / 600;
  overflow: hidden;
}

/* Accessibility: e-namad-title paragraph matches former h6 visual weight */
.e-namad-title {
  font-size: 14px;
  font-weight: 700;
  margin: 4px 0 0;
}

* {
  box-sizing: border-box;
  font-family: IRANYekan, iranYekan, 'IranYekan', Tahoma, Arial, sans-serif;
}

html {
  font-family: IRANYekan, iranYekan, 'IranYekan', Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: inherit;
}

h1 {
  font-size: 24px !important;
  font-weight: 700 !important;
}

h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
}

h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
}

h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
}

h5 {
  font-size: 15px !important;
  font-weight: 700 !important;
}

h6 {
  font-size: 14px !important;
  font-weight: 700 !important;
}

.no-href {
  pointer-events: none;
  cursor: default !important;
}

footer .footer ul .page-footer:hover,
footer .footer ul .page-footer:hover .no-href {
  color: white !important;
  list-style: unset !important;
}

footer .items-section {
  display: flex;
  justify-content: space-evenly;
  border-left: 1px solid white;
}

body {
  font-size: 14px;
  margin: 0;
  direction: rtl;
  /* overflow: scroll; */
  color: #424242;
  background: white !important;
}

/* scrollbar */

body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 4px;
}

body::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #b9b8b8;
}

/* main container */

.container_1 {
  width: 100%;
  min-height: 258px;
  font-size: 14px !important;
  padding-top: 10px;
  box-sizing: border-box;
}

/* tag a */
a {
  text-decoration: none !important;
  color: #424242 !important;
}

.header {
  display: flex;
  flex-direction: column;
}

.header .header-first-section {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
}

.header .header-first-section .header-logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 clamp(140px, 22vw, 200px);
  width: clamp(140px, 22vw, 200px);
  min-width: clamp(140px, 22vw, 200px);
  max-width: clamp(140px, 22vw, 200px);
  min-height: 72px;
  max-height: 72px;
  padding: 6px 10px;
  box-sizing: border-box;
  overflow: hidden;
}

.header .header-first-section .header-logo-section a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  max-height: 60px;
}

.header .header-first-section .header-logo-section img,
.header .header-first-section .header-logo-section img.logo {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.header .header-first-section .header-action-bar {
  flex: 8;
  height: 67px;
  background-color: #f59e0b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px !important;
  border-radius: 0 0 45px 0;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  border-bottom: 5px solid white;
  border-right: 5px solid white;
}

.header-action-bar-en {
  border-right: unset !important;
  border-left: 5px solid white;
  border-radius: 0 0 0 45px !important;
  padding-left: 30px;
  padding-right: 10px;
}

.header .header-first-section .header-action-bar .header-menu .icon {
  width: 35px;
  margin-right: 35px;
}

.header-menu img:hover {
  cursor: pointer !important;
}

.container_1 .container a {
  text-decoration: none !important;
  color: #dc3545 !important;
}

/* mega menu */

nav {
  position: fixed;
  z-index: 99;
  width: 100%;
}

nav .wrapper {
  position: relative;
  max-width: 1300px;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wrapper .logo a {
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}

.wrapper .nav-links {
  display: inline-flex;
  margin: 0;
  display: flex;
  z-index: 10;
}

.nav-links .close-btn {
  display: none;
}

.nav-links li {
  list-style: none;
  height: 46px;
  display: flex;
  align-items: center;
  /* margin: 0 0 4px 0; */
  cursor: pointer;
}

.nav-links li {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s ease;
  color: #424242;
  padding: 0 12px 0 12px;
}

.nav-links .mobile-item {
  display: none;
}

.nav-links .drop-menu {
  position: absolute;
  width: 180px;
  line-height: 45px;
  top: 85px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
  transition: all 0.3s ease;
  top: 100px;
  opacity: 1;
  visibility: visible;
  display: block !important;
}

.drop-menu li a {
  width: 100%;
  display: block;
  padding: 0 0 0 15px;
  border-radius: 0px;
}

.nav-links li:hover {
  color: #f59e0b;
}

.logo-menu-section .icon {
  display: none;
}

.mega-box {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 0 8px;
  opacity: 0;
  visibility: hidden;
  top: 100px;
}

.mega-box .content {
  display: flex;
  width: 100%;
  background: white;
  border-top: 1px solid whitesmoke;
  padding: 30px;
  /* box-shadow: -1px 0px 0px 4px #f01; */
  box-shadow: 0px 0px 11px rgb(0 0 0 / 10%);
  /* box-shadow: 0px 2px 20px rgb(180 188 188 / 20%); */
  border-radius: 4px;
}

.mega-box .content .z-row {
  margin: 0 10px;
  width: 23%;
}

.content .z-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content .z-row header {
  /* padding: 0 35px; */
  color: #f59e0b;
  font-weight: bold;
  font-size: 15px;
  opacity: 0.7;
}

.content .z-row .mega-links {
  /* margin-left: -101px; */
  border-left: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: 10px;
  padding: 0;
}

.z-row .mega-links a li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  cursor: pointer;
  width: 100%;
  flex-direction: column;
  height: 50px;
}

.z-row .mega-links a li section {
  display: grid;
  width: 100%;
  grid-template-columns: 0.5fr 1fr;
  align-items: center;
  justify-items: end;
}

.z-row .mega-links a li .sub-menu {
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  z-index: 999;
  width: 100%;
  margin-right: -10px;
  transition: visibility 0s, opacity 0.5s ease;
  background-color: #f9f9f9;
}

.z-row .mega-links a li:hover .sub-menu {
  visibility: visible;
  opacity: 1;
}

.z-row .mega-links a li .sub-menu {
  /* background-color: white; */
  margin: 5px 20px;
  padding: 5px;
  color: #424242 !important;
}

.z-row .mega-links a li img {
  width: auto;
  height: 20px;
  margin-left: 10px;
  filter: invert(67%) sepia(98%) saturate(1042%) hue-rotate(346deg) brightness(103%) contrast(97%);
}

.z-row .mega-links a li:hover img {
  filter: invert(55%) sepia(95%) saturate(800%) hue-rotate(355deg) brightness(102%) contrast(96%);
  transition: all 1s ease;
}

.z-row .mega-links a li .tag {
  background-color: rgba(167, 255, 171, 0.521);
  color: rgb(0, 71, 4);
  border-radius: 10px;
  font-size: 11px;
  margin-right: 5px;
  padding: 2px 5px;
}

.z-row .mega-links a li {
  color: gray;
  font-size: 14px;
}

.z-row .mega-links a li:hover {
  color: #f59e0b !important;
}

.z-row .mega-links a li:hover a {
  color: black;
}

.z-row .mega-links a li:hover {
  background-color: #f9f9f9;
  border-radius: 5px;
}

.wrapper .btn {
  font-size: 20px;
  cursor: pointer;
  display: none;
}

.wrapper .btn.close-btn {
  position: absolute;
  right: 30px;
  top: 10px;
}

.hamb-search-container {
  display: none;
}

.smallScale {
  display: none;
}

.largeScale {
  display: contents;
}

/* footer .footer {
  display: grid !important;
  grid-template-columns: 40px 1fr 1fr 1fr 1fr 1fr 40px;
  justify-content: space-evenly;
} */

.tooltip-container {
  position: relative;
  display: inline-block;
}

@media screen and (max-width: 970px) {
  footer .footer {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .container_1 .news-section .news .mySlides p {
    white-space: pre-wrap !important;
    overflow: inherit !important;
    text-overflow: initial !important;
    width: 100% !important;
  }

  .wrapper .nav-links {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 350px;
    top: 0;
    left: -100%;
    background: #242526;
    display: block;
    line-height: 40px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
    transition: all 1s ease;
    padding: 0;
  }

  .mega-box {
    top: 65px;
    opacity: 1;
    transition: all 0.3s ease;
    padding: 0;
  }

  .mega-box .content {
    box-shadow: none;
    flex-direction: column;
    background: none;
    border: none;
    margin: 0;
    margin-top: 20px;
    padding: 12px 20px 0 8px;
    border-top: 1px solid grey;
  }

  .mega-box .content .z-row {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mega-box .content .z-row:nth-child(1),
  .mega-box .content .z-row:nth-child(2) {
    border-top: 0px;
  }

  .content .z-row .mega-links {
    border-left: 0px;
  }

  .z-row .mega-links a li {
    margin: 0;
    padding: 0;
    width: max-content;
  }

  .content .z-row header {
    font-size: 15px;
    /* padding: 0 35px; */
    width: max-content;
    padding: 0;
    font-weight: bold;
    font-size: 15px;
    opacity: 0.7;
  }

  .z-row .mega-links a li .tag {
    padding: 0 20px;
    background-color: transparent;
    color: #0cef9b;
  }
}

@media screen and (min-width: 970px) {
  .nav-links li:hover .mega-box {
    /* top: -55px; */
  }
}

nav input {
  display: none;
}

.body-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 30px;
}

.body-text div {
  font-size: 45px;
  font-weight: 600;
}

nav {
  width: var(--menu-width);
  display: flex;
  transform-style: preserve-3d;
  justify-content: space-evenly;
  position: relative;
  z-index: 2;
  margin: 0px auto;
  perspective: 2000px;
  flex-wrap: wrap;
  top: 3em;
}

nav .menu-item {
  color: white;
  font-weight: 600;
  transform-style: preserve-3d;
  flex-grow: 1;
  display: flex;
  flex-basis: var(--item-width);
  box-sizing: border-box;
  padding: 1em 1.5em;
  justify-content: center;
  perspective: 200px;
  letter-spacing: 0.5px;
  min-height: 7.5em;
}

nav .menu-text,
nav .menu-text a {
  font-size: 1em;
  color: white;
  text-decoration: none;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  transition: color 0.1s ease-out;
  text-align: center;
}

nav .menu-text a:hover {
  color: rgba(255, 255, 255, 0.5);
}

#sub-menu-holder {
  pointer-events: none;
  color: rgba(0, 0, 0, 0.5);
  font-weight: normal;
  padding: 1em;
  position: absolute;
  transition: opacity 2 ease-out;
  transform: rotateX(-25deg) scale(1);
  transform-origin: 50% 7em 0em;
  opacity: 0;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.1), 0 2px 20px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  top: 3rem;
  border-radius: 10px;
  background: white;
  display: block;
  height: 300px;
  width: calc(var(--menu-width) * 1.5);
}

#sub-menu-container {
  position: absolute;
  z-index: -1;
  min-width: 100%;
  top: 2.5em;
  width: 100%;
}

nav .menu-item:hover ~ #sub-menu-container #sub-menu-holder {
  animation: clipPath 0.25s ease-out 1 forwards;
  transition: clip-path 0.25s ease-out, left 0.15s ease-out,
    height 0.15s ease-out;
  opacity: 1;
  right: auto;
}

nav .menu-item:nth-of-type(1):hover ~ #sub-menu-container #sub-menu-holder,
nav .menu-item:nth-of-type(4):hover ~ #sub-menu-container #sub-menu-holder {
  clip-path: inset(0 28.75em 0 0 round 10px);
  height: 14em;
}

nav .menu-item:nth-of-type(2):hover ~ #sub-menu-container #sub-menu-holder,
nav .menu-item:nth-of-type(3):hover ~ #sub-menu-container #sub-menu-holder {
  clip-path: inset(0 15em 0 0 round 10px);
}

nav .menu-item:nth-of-type(1):hover ~ #sub-menu-container #sub-menu-holder {
  left: calc(-9em + -1px);
}

nav .menu-item:nth-of-type(2):hover ~ #sub-menu-container #sub-menu-holder {
  left: calc(-6.5em + -1px);
  height: 18.75em;
}

nav .menu-item:nth-of-type(3):hover ~ #sub-menu-container #sub-menu-holder {
  left: calc(2.75em + 1px);
  height: 24.5em;
}

nav .menu-item:nth-of-type(4):hover ~ #sub-menu-container #sub-menu-holder {
  left: calc(19em + 1px);
}

.menu-item .sub-menu {
  position: absolute;
  top: 7em;
  color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  min-width: 27.5em;
  pointer-events: none;
  box-sizing: border-box;
  z-index: 999;
  margin-left: -5em;
  clip-path: inset(0 10em 10em 15em);
  opacity: 0;
  font-weight: initial;
  padding: 1.5em;
  transition: all 0.25s ease-out, opacity 0.25s ease-in,
    margin-left 0.25s ease-out, clip-path 0.15s ease-out;
}

.menu-item .sub-menu.double {
  min-width: 41.25em;
  height: 18.75em;
  display: grid;
  grid-template-columns: 54% 50%;
}

.menu-item .sub-menu.triple {
  min-width: 41.25em;
  height: 25em;
  display: grid;
  padding: 1.5em 2.5em;
  grid-template-columns: 55% 45%;
}

.menu-item:hover .sub-menu {
  pointer-events: all;
  clip-path: inset(0 0 0 0);
}

.menu-text:after {
  transition: bottom 0.25s ease-out, opacity 0.01s ease-out 0.01s;
  opacity: 0;
  content: "";
  position: absolute;
  pointer-events: none;
  bottom: -5em;
  left: calc(50% - 10px);
  border-color: transparent transparent white transparent;
  border-width: 10px;
  border-style: solid;
}

.menu-item:hover .menu-text:after {
  bottom: 0.5em;
  opacity: 1;
  transition: bottom 0.25s ease-out, opacity 0.01s ease-out 0.15s;
}

.menu-item:hover .sub-menu {
  opacity: 1;
  margin-left: 0;
}

.menu-item:hover ~ #sub-menu-container #sub-menu-holder {
  transition: transform 0.25s ease-out, opacity 0.25s ease-out,
    clip-path 0.25s ease-out;
}

@keyframes clipPath {
  0% {
    opacity: 0;
  }

  100% {
    transform: rotateX(0deg) scale(1);
    top: 4.5em;
    opacity: 1;
  }
}

/* Menu specific */
.menu-item .title {
  font-weight: 500;
  color: rgb(44 70 86);
  margin: 0 0 0.25em 0;
}

.menu-item .icon-box * {
  transition: all 0.1s ease-out;
  position: relative;
}

.menu-item .icon-box.space {
  margin-bottom: 1.25em;
}

.menu-item .icon-box.flat {
  height: 1.5em;
  margin-bottom: 0.5em;
}

.menu-item .icon,
.menu-item .text {
  float: left;
  color: #9ea9af;
}

.menu-item .icon {
  color: rgb(44 70 86);
  font-size: 1.25em;
  margin: 0 1em 0 0;
}

.menu-item .icon-box {
  cursor: pointer;
}

.menu-item .icon-box {
  float: left;
  width: 100%;
  margin: 0;
  height: 4em;
  row-gap: 0;
}

.menu-item .icon-box .text i {
  clip-path: inset(0 100% 0 0);
  font-size: 0.75em;
  position: relative;
  top: -1px;
}

/* Base Icon Style */
.icon-box.gb .icon i:before {
  background: linear-gradient(45deg, #0c86ef, #0cef9b);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  padding-left: 1px;
}

/* Define Icon Colors */
.icon-box.gb.a .icon i:before {
  background-image: linear-gradient(45deg, #2ca7ff 35%, #31d078 75%);
}

.icon-box.gb.b .icon i:before {
  background-image: linear-gradient(45deg, #f32b2b 35%, #efbe0c 75%);
}

.icon-box.gb.c .icon i:before {
  background-image: linear-gradient(45deg, #7176ff 35%, #b26cea 75%);
}

.icon-box.gb.d .icon i:before {
  background-image: linear-gradient(45deg, #79c76f 35%, #bed09b 75%);
}

.icon-box.gb.e .icon i:before {
  background-image: linear-gradient(45deg, #6082ff 35%, #ff5dbe 75%);
}

.icon-box.gb.f .icon i:before {
  background-image: linear-gradient(45deg, #808080 35%, #bbbbbb 75%);
}

.menu-item .icon-box:hover .text i {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.1s ease-out;
}

.menu-item .icon-box:hover .icon,
.menu-item .icon-box:hover .title,
.menu-item .icon-box:hover .sub-text {
  color: rgb(89 110 123);
}

#sub-menu-bottom {
  background: #d4e3ea70;
  position: absolute;
  bottom: 0;
  opacity: 0;
  transition: all 0.25s ease-out, height 0.1s ease-out;
  left: 0;
  width: 100%;
  height: 5em;
}

nav
  .menu-item:nth-of-type(3).highlight:hover
  ~ #sub-menu-container
  #sub-menu-holder
  #sub-menu-bottom {
  height: 7.5em;
}

.bottom-container {
  grid-area: 4 / -3 / 4 / 3;
  padding-top: 1.5em;
  color: #3a5260;
  font-weight: 500;
}

.top-container {
  grid-area: 1 / -3 / 1 / 3;
  margin: 0 0 2em 0;
}

.bottom-container a {
  float: right;
  background: linear-gradient(90deg, #8ea4b166, #a3b5bf6b);
  padding: 0.5em 1em;
  border-radius: 100px;
  position: absolute;
  color: #2c4655bf;
  font-weight: bold;
  text-decoration: none;
  right: 1.5em;
  bottom: 1.5em;
}

.bottom-container a:hover {
  background: linear-gradient(90deg, #8ea4b136, #a3b5bf33);
}

.sub-menu h3 {
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgb(44 70 86 / 68%);
  margin: 0.75em 0;
}

.sub-menu .box a {
  width: 100%;
  float: left;
  font-size: 1em;
  line-height: 1.75em;
  color: #7a8a94;
  text-decoration: none;
}

.sub-menu .box a:hover {
  color: rgb(44 70 86);
}

.box {
  margin: 0 0 3em 0;
}

.icon.big i {
  font-size: 1.25em;
  top: 0.2em;
}

nav
  .menu-item.highlight:hover
  ~ #sub-menu-container
  #sub-menu-holder
  #sub-menu-bottom {
  opacity: 1;
}

#info-box {
  position: absolute;
  bottom: 2em;
  right: 2em;
}

#info-box ul {
  list-style: none;
}

#info-box a {
  color: white;
  text-decoration: none;
  text-align: right;
  padding: 0.5em 0;
  transition: all 0.1s ease-out;
  display: block;
  text-transform: uppercase;
  font-size: 1.25em;
  font-weight: 900;
  letter-spacing: 1px;
}

#info-box a:hover {
  color: rgba(255, 255, 255, 0.5);
}

.header .header-first-section .users-type-section a {
  color: white;
  border-radius: 5px;
  padding: 2px 6px;
}

.header .header-first-section .users-type-section .active {
  /* background: white; */
  color: black;
  border-radius: 5px;
  padding: 2px 10px;
}

.header button {
  border: none;
  background: none;
  color: white;
  cursor: pointer;
}

.header .lang-serach-section {
  display: flex;
  align-items: center;
  /* width: 25%; */
  justify-content: space-between;
  margin: 0 10px;
}

.header .header-action-bar .action-buttons {
  display: flex;
  align-items: center;
}

.organizational-subscribes,
.real-subscribes {
  margin-left: 10px;
  color: white;
  font-size: 13px;
  padding-bottom: 3px !important;
}

.real-subscribes {
  background-color: transparent;
}

.real-subscribes:hover {
  background-color: #2aabe2 !important;
  color:white !important;
}

.subscribe-container {
  background: #0000001C;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-radius: 5px;
  margin: 5px 0px 1px 6px;
  padding: 1.5px 1.5px 1.5px 0px;
}

.subscribe-button {
  background: transparent;
  border: none;
  color: inherit;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0px 0px 3px!important;
}
.subscribe-button-wrapper {
  border-radius: 5px;
  padding: 4px 3px 4px 7px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.subscribe-button-wrapper.active.organizational-subscribe {
  background-color: #fec409;
  color: #fff;
  padding: 2px 5px 2px 7px !important;
  margin: 5px !important;
}


.subscribe-button-wrapper.active.real-subscribe {
  background-color: #0000006b;
  color: #fff;
  padding: 2px 5px 2px 7px !important;
  margin: 5px !important;
}


.subscribe-button .icon-lock {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  background-size: contain;
  background-repeat: no-repeat;
}

.real-subscribe .subscribe-button .icon-lock {
  background-image: url("assets/icons/user.svg");
}

.organizational-subscribe .subscribe-button .icon-lock {
  background-image: url("assets/icons/org.svg");
}

.real-subscribes.active {
  background-color: #000000 !important;
}


.organizational-subscribes {
  /* background-color: #0000006b; */
  background-color: transparent;
}

.organizational-subscribes:hover {
  background-color: #fec409 !important;
  color:white !important;
} 

.users-type-section a {
  /* color: #fec409 !important; */
  color: #fff !important;
  font-size: 11px;
}

.info-phone {
  color: #fff !important;
  font-size: 13px;
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
  line-height: 1.1;
}

.info-phone .text-small {
  font-size: 9px;
  font-weight: normal !important;
}

.tooltip-phone {
  position: absolute;
  background: white;
  top: 41px !important;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 6px;
  padding: 24px 8px;
  width: max-content;
  height: 96px;
  color: #0f3400;
  box-shadow: 0 1px 6px 0 rgb(0 0 0 /42%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  width: 80%;
  min-width: 164px;
  display: none;
}

.tooltip-continue {
  background: #34b100;
  padding: 6px;
  border-radius: 5px;
  text-align: center;
  color: #fff !important;
  width: 100%;
}

.arrow-up {
  width: 14px;
  height: 14px;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid white;
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
}

.trin-trin {
  animation-name: trin;
  animation-duration: 2.6s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  z-index: 3;
}

.icon-phone::before {
  content: none !important;
}

.icon-phone {
  /* background-image: url("https://web-dev.asiatech.ir/media/2022/08/21/phone-call.png"); */
  background-image: url("assets/icons/phone.svg");
  background-repeat: no-repeat;
  background-size: 20px;
  height: 30px;
  width: 30px;
  margin: 8px 8px 0 12px;
}

.info-phone-call {
  width: 100%;
  text-align: center;
}

.phone-detail {
  margin: 0 0 8px 0;
}

.free-title {
  font-size: 11px;
  margin: 12px;
}

@keyframes trin {
  from {
    transform: rotate3d(0, 0, 1, 0deg);
  }
  20%,
  32%,
  44%,
  56%,
  68% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
  23%,
  35%,
  47%,
  59%,
  71% {
    transform: rotate3d(0, 0, 1, 15deg);
  }
  26%,
  38%,
  50%,
  62%,
  74% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
  29%,
  41%,
  53%,
  65%,
  77% {
    transform: rotate3d(0, 0, 1, -15deg);
  }
  80% {
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

.header .lang-serach-section .lang {
  font-size: 13px;
  background-color: white;
  padding: 2px 10px;
  margin-right: 5px;
  color: #2aabe2;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.header .lang-serach-section .search-form {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  /* margin-left: 10px; */
  margin: 0 16px 0 8px;
  margin-bottom: 0;
}

.header .lang-serach-section .search-form .search {
  position: relative;
  padding: 3px 10px;
  width: 30px;
  color: white;
  font-size: 13px;
  border: none;
  border-radius: 5px;
  transition: width 0.4s ease;
  outline: none;
  background: none;
  visibility: hidden;
}

.search-container {
  border-right: 1px solid white;
  border-left: 1px solid white;
  padding: 0 10px 0 10px;
}

.header .lang-serach-section .search-form .search::placeholder {
  color: white;
}

.header .lang-serach-section .search-form .search:focus,
.header .lang-serach-section .search-form .search:hover {
  width: 200px;
  border: 1px solid white;
  visibility: visible;
}

.expand-input {
  width: 200px !important;
  border: 1px solid !important;
  visibility: visible !important;
}

.header .lang-serach-section .search-form .search-icon {
  position: relative;
  margin-right: -15px;
  width: 20px;
}

.header .top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.header .top-nav .logo-menu-section {
  display: flex;
  align-items: center;
  width: 60%;
}

@media only screen and (max-width: 478px) {
  .info-phone-icon {
    display: flex;
    width: 21px;
    opacity: 67%;
    padding: 0;
    margin-left: 0;
  }
  .info-phone span{
    display: none;
  }
  .subscribe-container {    
    flex-wrap: nowrap;
    font-size: 9px;
    padding: 1.5px 1.5px 1.5px 0px !important;
  }
  .largeScale {
    display: none;
  }

  .smallScale {
    display: contents;
  }
  .subscribe-button-wrapper{
    padding: 4px 0px 0px 4px !important;
  }
  .subscribe-button {
    gap:5px;
    padding: 0px 1px 0px 5px !important;
  }
  .subscribe-button-wrapper.active.real-subscribe{
    padding: 4px 0px 0px 4px !important;
  }

  .subscribe-button .icon-lock{
    width: 0;
  }

  .action-buttons{
    margin-left: 2px;
  }

  .header .header-first-section .header-action-bar .header-menu .icon {
    margin-right: 15px;
  }
  .e-namad-wrapper{
    grid-template-columns:1fr !important;
  }

}

@media only screen and (min-width: 480px) {
  .info-phone-icon {
    display: none !important;
  }
}

@media only screen and (min-width: 888px) {
  #phone-title-desktop {
    display: flex;
  }

  #phone-title-mobile {
    display: none;
  }
}

@media only screen and (max-width: 888px) {
  /* #phone-title-mobile {
      display: flex;
      z-index: 10;
    } */
}

@media only screen and (max-width: 1440px) {
  .container_1 .Ellipse {
    padding: 100px 0 0 0;
    margin-top: -64px !important;
  }
}

@media only screen and (max-width: 1380px) {
  .container_1 .Ellipse {
    padding: 100px 0 0 0;
    margin-top: -64px !important;
  }

  .header .top-nav .logo-menu-section {
    display: flex;
    align-items: center;
    width: 100%;
  }
}

/* .header .top-nav .logo-menu-section .menu {
  margin-right: 20px;
  width: 72%;
} */

.header .top-nav .logo-menu-section .menu button,
.header .top-nav .subscribes-panel button {
  color: black;
  font-size: 15px;
  margin: 0 50px;
}

/* .nav-links a li {
  font-size: 15px;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s ease;
  padding: 0 20px 0 20px;
} */

.header .top-nav .subscribes-panel button {
  display: flex;
  align-items: center;
  width: 60%;
  justify-content: space-between;
}

.page-header {
  width: 100%;
  padding: 0 7%;
  display: table;
  margin: 0;
  max-width: none;
  height: 100vh;
}

.container_1 .services {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -6px;
  overflow-x: scroll;
  width: 100%;
  position: relative;
  z-index: 999;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.container_1 .services::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.container_1 .services {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.container_1 .services section {
  box-sizing: border-box;
  min-width: 100px;
  border-top: 6px solid transparent;
}

.container_1 .services section:hover,
.container_1 .services section.is-active {
  border-top: 6px solid #f59e0b;
}

.container_1 .services a {
  border: none;
  background: none;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  margin: 10px;
  font-size: 10px;
}

.container_1 .services section span {
  color: #d97706;
  cursor: pointer !important;
}

.container_1 .services section img {
  margin-bottom: 10px;
  transition: 0.3s;
  filter: invert(67%) sepia(98%) saturate(1042%) hue-rotate(346deg) brightness(103%) contrast(97%);
}

.container_1 .services section:hover img {
  /* filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(180deg)
      brightness(104%) contrast(97%); */
  /* opacity: 0.5; */

  transform: scale(1.1);
  transition: 0.3s;
}

.Ellipse {
  background: url("assets/bg/wave.svg") no-repeat;
  background-size: 101%;
  padding: 100px 0 0 0;
  margin-top: -70px;
}

.container_1 .slider {
  background-size: 100%;
  margin-top: -30px;
  z-index: -1;
}

.container_1 .carousel .carousel-inner {
  margin-top: 0px;
}

.container_1 .carousel .carousel-inner img {
  width: 100%;
}

/* CMS theme wrongly capped all data-cms-icon imgs at 60px — hero banners must stay full width */
html body .container_1 .slider .carousel .carousel-inner img {
  max-height: none !important;
  max-width: none !important;
  width: 100% !important;
  height: auto !important;
  object-fit: initial !important;
}

.container_1 .carousel .carousel-btn {
  display: flex;
  justify-content: center;
}

.container_1 .carousel .carousel-btn button {
  width: 42px;
  height: 7px;
  left: 773px;
  top: 964px;
  background: #e5e5e5;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  margin: 5px 10px 5px 0;
}

.container_1 .asiatech-services {
  margin: 50px 0;
  padding: 0 clamp(20px, 4vw, 48px);
  font-size: 16px !important;
  box-sizing: border-box;
}

.container_1 .asiatech-services .title {
  margin-inline: 0;
}

.container_1 .asiatech-services .service-container {
  min-height: 400px;
  display: grid;
  grid-template-columns: auto auto auto;
  justify-items: center;
  grid-gap: 30px;
  margin-top: 50px;
  padding-inline: 8px;
  box-sizing: border-box;
}

.container_1 .asiatech-services .service-container section {
  /* width: 90%;
    padding: 0 20px;
    cursor: pointer;
    border-radius: 5px;
    padding: 16px; */
  padding: 12px 24px !important;
  cursor: pointer;
  border-radius: 5px;
  margin: 8px 16px 18px 16px;
  width: 98%;
}

.container_1 .asiatech-services .service-container section .header {
  width: 100%;
  padding: 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  margin: 20px 0;
}

.container_1 .asiatech-services .service-container .service-box {
  box-shadow: 0 0 7px rgb(151 151 151 / 16%);
}

.container_1 .asiatech-services .service-container .service-box:hover {
  background-color: #edf6fb;
  transition: 0.5s ease-in-out;
  padding: 16px;
  box-shadow: none !important;
}

.container_1 .news-section {
  background: aliceblue;
  padding: 50px 20px 40px 20px;
  font-size: 16px !important;
}

.container_1 .news-section .title {
  margin: 0 8%;
}

/* === News Cards === */
.news-scroll-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 16px 8px;
  position: relative;
}

.news-cards {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 12px 4px 16px;
  scrollbar-width: none;
  flex: 1;
  direction: rtl;
}

.news-cards::-webkit-scrollbar {
  display: none;
}

.news-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(42,171,226,0.10);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  direction: rtl;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(42,171,226,0.18);
  color: inherit;
}

.news-card__img {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #e8f6fd 0%, #c9eaf7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card__img img.is-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.85;
}

.news-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.news-card__date {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  line-height: 1.5;
}

.news-card__time {
  font-size: 10px;
  color: #64748b;
  white-space: nowrap;
}

.news-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 39, 68, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.news-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.news-card__body h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: #1a1a2e;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__body p {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}


.news-nav {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #2aabe2;
  background: #fff;
  color: #2aabe2;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  padding: 0;
}

.news-nav:hover {
  background: #2aabe2;
  color: #fff;
}

@media (max-width: 768px) {
  .news-card {
    flex: 0 0 240px;
  }
  .news-card__img {
    height: 130px;
  }
  .news-nav {
    display: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* footer styles */
footer {
  width: 100%;
}

footer .bg-dark {
  padding: 10px;
  background-color: #212529;
  text-align: center;
  color: #ababab;
  font-size: 12px;
}

.gap-1 {
  gap: 8px !important;
}

.newMenu {
  position: absolute;
  display: none;
  top: 54px;
  right: 38px;
  max-width: max-content;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 100px;
  min-height: 20vh;
  z-index: 1000;
  padding: 50px 20px;
  width: 80vw;
}

.newMenu a,
.newMenu .menuParent,
.newMenu .menuParent_1,
.newMenu .parent_name,
.newMenu .child-name,
.newMenu .menu-child,
.newMenu .header,
.newMenu .arrow-key {
  color: #f59e0b !important;
}

.newMenu .menu-child img,
.newMenu .arrow-key img {
  filter: invert(67%) sepia(98%) saturate(1042%) hue-rotate(346deg)
    brightness(103%) contrast(97%) !important;
}

@media screen and (max-width: 1550px) {
  footer .footer {
    grid-template-columns: 1fr 1fr 1fr !important;
    align-content: center;
  }

  footer .footer-address-container {
    border-left: none;
  }
}

@media screen and (max-width: 1390px) {
  footer .footer {
    grid-template-columns: 1fr 1fr !important;
    align-content: center;
  }

  footer .info-section {
    border-left: none;
  }

  footer .footer-address-container {
    border-left: 1px solid white;
  }
}

@media screen and (max-width: 1050px) {
  footer .footer {
    grid-template-columns: 1fr !important;
    align-content: center;
    justify-items: center;
  }

  footer .footer-address-container, footer .info-section, footer .items-section {
    border: none;
  }

  .newMenu {
    /*width: 100vw;*/
    flex-direction: column;
  }

  .container_1 .services section {
    min-width: 80px;
  }

  .container_1 .services a {
    margin: 12px;
  }
}

@media screen and (max-width: 600px) {
  .newMenu {
    right: 0;
    width: 100vw;
    border-bottom-right-radius: 30px !important;
  }

  .header .header-first-section .header-action-bar .header-menu img {
    margin-right: 10px;
  }

  .sections-wrapper {
    padding: 0 !important;
  }

  /* .extra-item-wrapper:nth-child(3) {
      display: none !important;
    } */
  .header-first-section {
    flex-direction: column;
  }

  .header .header-first-section .header-action-bar {
    flex: none;
    border-radius: 0;
    border-right: none;
  }

  footer .footer {
    grid-template-columns: 1fr 1fr !important;
    align-content: center;
    justify-items: center;
  }

  .footer-address-container {
    grid-column: 1/3;
  }

  .info-section {
    grid-template-columns: 1fr !important;
    grid-column: 1/3;
    justify-self: center;
  }



  .e-namad-wrapper, .items-section {
    grid-column: 1/3;
  }

  .container_1 .services {
    justify-content: normal;
  }

  .container_1 .services section {
    min-width: 95px;
  }

  .menuParent_1,
  .child-name {
    display: none !important;
  }
  .first-child {
    border: none !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    flex-direction: column;
  }
  .first-child .menu-child {
    color: gray !important;
    margin: 0 !important;
  }
  .first-child .z-row {
    margin: 0 !important;
  }
  .newMenu {
    padding: 20px;
  }
  .submenu-container .z-row {
    flex: auto;
  }
  .submenu-container a {
    flex-grow: 1;
    min-width: 50px;
    max-width: 65px;
    margin-left: 15px;
  }
  .first-child .submenu-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    /*flex-direction: row !important;*/
    /*flex-wrap: wrap;*/
    /* justify-content: space-between; */
  }
  .menu-child img {
    margin: 0 !important;
  }
  .menuItemContainer {
    margin-bottom: 0 !important;
  }
}

@media screen and (max-width: 420px) {
  footer .footer {
    grid-template-columns: 1fr !important;
    align-content: center;
    justify-items: center;
    padding: 20px 10px !important;
    gap:0px !important;
  }

  .footer-address-container {
    grid-column: 1/2;
  }

  .items-section {
    flex-direction: column;
  }

  .items-section ul {
    text-align: center;
  }

  .info-section {
    grid-template-columns: 1fr !important;
    grid-column: 1/2;
    justify-self: center;
  }

  .e-namad-wrapper {
    grid-column: 1/1;
  }

  .newMenu {
    right: 0;
  }

  .container_1 .services a {
    margin: 10px;
  }
}

.footer-en {
    background-color: #6d6b6b;
    color: white !important;
    padding: 40px 40px 20px 40px;
    width: 100%;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.footer-en .info-section, .footer-en .footer-address-container {
    border: none;
}

.footer-en .info-section {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-en .footer-address-container .footer-address {
    font-size: 20px
}

footer .footer {
  background-color: #6d6b6b;
  color: white !important;
  padding: 40px 40px 20px 40px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1.5fr 1.75fr 1.2fr 0.75fr;
  width: 100%;
}

footer .footer ul {
  list-style: none;
  line-height: 40px;
}

footer .footer ul li:hover {
  list-style: circle;
  color: #2aabe2;
}

footer .footer ul li a {
  font-weight: normal !important;
  font-size: small;
}

footer .footer ul li:hover a {
  cursor: pointer;
  color: #2aabe2 !important;
}

footer .footer a {
  color: white !important;
}

.e-namad-wrapper {
  margin: 0 8px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-template-columns: unset !important;
  gap: 0 !important;
  padding: 15px !important;
}

.e-namad-item {
  padding: 10px 0;
  border-radius: 6px;
  height: fit-content;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.e-namad-item a {
  display: block;
  line-height: 0;
}

.e-namad-item img,
.e-namad-item .e-namad-logo {
  width: 140px;
  height: auto;
  max-width: none;
  display: block;
}

.e-namad-title {
  font-weight: 400 !important;
  margin-top: 10px;
  margin-bottom: 0;
  text-align: center;
  color: #fff;
  font-size: 12px !important;
  line-height: 1.4;
  white-space: nowrap;
}

.footer-address {
  font-size: 16px;
  line-height: 1.8;
  padding: 10px 30px;
  text-align: justify;
  margin: 0;
}

.footer-address-container {
  display: flex;
  align-self: center;
  align-items: center;
  border-left: 1px solid white;
  height: 100%;
}

/* responsive */

@media only screen and (max-width: 1440px) {
  .mega-box .content .z-row {
    width: 23%;
  }
}

@media only screen and (max-width: 1364px) {
  .header .lang-serach-section .search-form .search:focus {
    width: 215px;
  }

  .mega-box .content .z-row {
    width: 25%;
  }
}

@media only screen and (max-width: 1200px) {
  footer .footer {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .users-type-section a {
    font-size: 10px;
  }
  .subscribe-container{
    flex-wrap: nowrap;
  }
  .smallScale {
    display: none;
  }

  .largeScale {
    display: contents;
  }
}

@media only screen and (max-width: 1024px) {
  .container_1 {
    min-height: 325px;
  }

  footer .footer {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .mega-box .content .z-row {
    width: 25%;
  }

  .container_1 .Ellipse {
    margin-top: -0px !important;
  }

  .container_1 .asiatech-services .service-container {
    grid-template-columns: auto auto;
  }

  .container_1 .news-section {
    padding: 90px 0px !important;
    /* background-size: 100% 100%; */
  }

  .container_1 .news-section .title {
    margin: 0 5% !important;
  }

  .container_1 .news-section .news .mySlides {
    width: 80% !important;
  }

  .item-title-main {
    text-align: center;
  }
}

@media screen and (max-width: 970px) {
  .z-row .mega-links a li:hover {
    background: none;
  }

  .z-row .mega-links a li:hover {
    color: white;
  }

  .nav-links .desktop-item:hover,
  .nav-links .desktop-item {
    color: gray !important;
    font-size: 16px;
  }

  .nav-links .close-btn {
    display: inline;
    width: auto;
    height: 20px;
    float: left;
    margin: 0 0 0 8px;
  }

  .users-type-section {
    margin-right: 10px;
    display: flex;
  }

  .header .lang-serach-section {
    /* width: 35%; */
  }

  .header .top-nav .subscribes-panel {
    /* display: none; */
  }

  .top-nav .logo-menu-section {
    width: 100%;
    justify-content: space-between;
  }

  .top-nav .icon {
    display: inline;
    width: auto;
    height: 30px;
    cursor: pointer;
  }

  .responsive .wrapper .nav-links {
    left: 0;
    color: white;
    padding: 20px 16px;
  }

  footer .footer section {
    /* width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; */
  }
}

@media only screen and (max-width: 1092px) {
  .nav-links li {
    /* padding: 0 6px 0 6px; */
    font-size: 14px;
  }

  .header .top-nav .logo-menu-section .menu {
    border-right: 1px solid gray;
    margin-right: 10px;
    width: max-content;
  }
}

@media only screen and (max-width: 770px) {
  .e-namad-item {
    width: 100%;
  }

  /* footer .footer {
      grid-template-columns: 1fr 1fr;
    } */
}

@media only screen and (max-width: 700px) {
  footer .footer {
    grid-template-columns: 1fr 1fr;
  }

  footer .footer section {
    margin-right: 0 !important;
    width: 100%;
  }

  .header .header-first-section .header-action-bar .header-menu .icon {
    margin-right: 15px;
  }
}

@media screen and (max-width: 700px) {
  .Ellipse {
    padding: 36px 0 0 0;
  }
}

/*
@media screen and (max-width: 600px) {
  .container_1 .asiatech-services .service-container section {
    margin: 0;
  }
}

@media screen and (min-width: 600px) {
  .container_1 .asiatech-services .service-container section {
    margin: 8px 16px 18px 16px;
  }
} */

@media screen and (max-width: 640px) {
  .container_1 .asiatech-services {
    margin: 50px 0 !important;
    padding-inline: 16px !important;
  }

  .container_1 .asiatech-services .service-container {
    grid-gap: 0;
    padding-inline: 4px;
  }
}

@media screen and (max-width: 840px) {
  .container_1 .Ellipse {
    padding: 58px 0 0 0 !important;
  }
}

@media only screen and (max-width: 593px) {
  .header .header-first-section .users-type-section {
    width: 100%;
  }

  #phone-title-mobile {
    display: none;
  }
}

@media only screen and (max-width: 364px) {
  .info-phone {
    /* justify-content: center !important; */
  }

  #phone-title-mobile {
    /* position: absolute;
        top: 28px; */
    background: #2aabe2;
    border-radius: 5px;
    height: 32px;
  }

  .header .top-nav {
    /* padding: 46px 0 20px 16px; */
    padding: 16px;
  }

  .arrow-up {
    top: -12px;
  }

  .tooltip-phone {
    top: 35px;
  }

  .container_1 .Ellipse {
    padding: 46px 0 0 0 !important;
  }
}

@media only screen and (max-width: 500px) {
  .container_1 .asiatech-services {
    margin: 32px 0 !important;
    padding-inline: 16px !important;
  }

  .e-namad-wrapper {
    /* width: 100%; */
  }

  .info-phone {
    text-align: end;
    display: flex;
    justify-content: end;
  }

  .icon-phone {
    background-size: 18px;
    margin: 11px 8px 0 8px;
  }

  .trin-trin {
    animation-duration: 2.8s;
  }

  #phone-title-mobile {
    display: flex;
    z-index: 10;
  }

  /* .header .lang-serach-section {
      position: absolute;
      left: 0;
    } */
  .hamb-search-container {
    display: flex;
    height: 42px;
    margin: 8px 0 12px 0;
    width: 100%;
  }

  .hamb-search-container .hamb-menu-search {
    width: 100%;
    border-radius: 5px;
    border: none;
    outline: none;
    padding: 10px;
    margin-top: 5px;
  }

  .hamb-search-container .search-icon {
    left: 26px;
    top: 30px;
    width: 30px;
    position: absolute;
    filter: invert(81%) sepia(26%) saturate(94%) hue-rotate(509deg)
      brightness(144%) contrast(40%);
  }

  .header .lang-serach-section .search-form {
    display: none;
  }

  .header .lang-serach-section {
    justify-content: end;
  }

  .header .lang-serach-section .lang {
    border-radius: 5px;
  }

  .container_1 .asiatech-services .service-container {
    grid-template-columns: auto;
  }

  footer .footer {
    grid-template-columns: 1fr 1fr;
  }

  .container_1 .news-section {
    /* background-size: cover; */
    height: 580px;
  }

  .card-img-overlay {
    display: none !important;
  }

  .header .header-first-section .users-type-section .active {
    padding: 2px 6px;
  }
}

@media only screen and (max-width: 375px) {
  .icon-phone {
    background-size: 18px;
    margin: 11px 2px 0 3px;
  }

  /* footer .footer {
    grid-template-columns: 1fr;
  } */

  .extra-item-wrapper a {
    padding: 0 !important;
    margin: 0 1px !important;
  }

  .container_1 .news-section {
    padding: 60px 0 !important;
  }
}


@media only screen and (width: 375px) {
  .info-phone {
    /* justify-content: center !important; */
  }

  #phone-title-mobile {
    /* position: absolute;
        top: 28px; */
    background: #2aabe2;
    border-radius: 5px;
    height: 32px;
  }

  .header .top-nav {
    /* padding: 46px 0 20px 16px; */
    padding: 16px 16px 20px 16px;
  }

  .arrow-up {
    top: -12px;
  }

  .tooltip-phone {
    top: 35px;
  }
}



@media only screen and (max-width: 350px) {
  .container_1 .news-section .title {
    margin-bottom: 20px !important;
  }

  .header .lang-serach-section .search-container .search:focus {
    margin: 0;
    background: white;
    color: #424242;
    width: 200px;
  }

  .header .lang-serach-section .lang {
    background-color: transparent;
    color: white;
    text-decoration: underline;
  }
}

/* icons */
.arrow-down {
  background: url("assets/icons/chevron-down.svg") center;
  height: 20px;
  width: 20px;
  float: left;
}

.info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 25px;
  padding: 20px;
  border-left: 1px solid white;
}

.logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #fff;
  border-radius: 8px;
  position: relative;
  width: 250px;
  align-self: center;
  height: 55px;
  padding: 0 5px;
}

.logo-section a {
  transition: 0.8s;
}

.logo-section a:hover {
  transform: scale(1.2);
  transition: 0.8s;
}

.logo-section .info-content {
  font-size: 20px;
}

.logo-section .info-title-up {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translate(50%, -62%);
  background: #6d6b6b;
  margin: 0 5px;
  width: max-content;
}

.logo-section .info-title-down {
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translate(50%, 35%);
  background: #6d6b6b;
  padding: 0 5px;
  width: max-content;
}

.logo-section .info-title-down span {
  font-size: 12px;
}

.card-img-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
}

.PageBanner {
  margin-bottom: 2rem;
}

.gallery {
  margin: 25px;
  display: flex;
  flex-wrap: wrap;
}

.gallery-header {
  margin: 42px 30px -20px 0px;
}

.gallery .card-item {
  width: 16rem;
  margin: 10px;
}

.gallery-pagination nav {
  top: 0;
}

@media screen and (max-width: 970px) {
  .desktop-item .active {
    color: #2aabe2;
    font-weight: bold;
    font-size: 16px;
  }

  .subMenu {
    margin-top: 95px;
  }

  .nav-links li.active .drop-menu,
  .nav-links li.active .mega-box {
    transition: all 0.3s ease;
    top: 100px;
    opacity: 1;
    visibility: visible;
    display: block !important;
  }
}

@media screen and (max-width: 956px) {
  .container_1 {
    min-height: 292px;
  }
}

@media screen and (max-width: 901px) {
  .container_1 {
    min-height: 251px;
  }
}

@media screen and (max-width: 888px) {
  .container_1 {
    min-height: 233px;
  }
}

@media screen and (max-width: 828px) {
  .container_1 {
    min-height: 192px;
  }
}

@media screen and (max-width: 820px) {
  .container_1 {
    min-height: 151px;
  }
}

@media screen and (max-width: 713px) {
  .container_1 {
    min-height: 110px;
  }
}

@media screen and (max-width: 700px) {
  .container_1 {
    min-height: 147px;
  }
}

@media screen and (max-width: 603px) {
  .container_1 {
    min-height: 145px;
  }
}

@media screen and (max-width: 482px) {
  .container_1 {
    min-height: 107px;
  }
}

@media screen and (max-width: 463px) {
  .container_1 {
    min-height: 89px;
  }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}


@media only screen and (max-width: 802px) {
  .users-type-section a {
    font-size: 10px;
  }
  .subscribe-container{
    flex-wrap: nowrap;
  }
  .smallScale {
    display: contents;
  }

  .largeScale {
    display: none;
  }

  /* footer .footer {
      grid-template-columns: 1fr 1fr;
    } */
}

/* Inline styles extracted from source */
.sections-wrapper {
            display: flex;
            padding: 0;
        }

        .alert-success .modal-size {
            color: #208425;
            background-color: #daf8d7;
            margin: auto;
            padding: 16px;
            border-color: #d2f5c2;
            border-radius: 6px;
            height: 70px;
            display: flex;
            flex-direction: row-reverse;
            justify-content: space-between;
            position: relative;
            top: 50%;
            align-items: center;
        }

        .alert-danger .modal-size {
            color: #842029;
            background-color: #f8d7da;
            margin: auto;
            padding: 16px;
            border-color: #f5c2c7;
            border-radius: 6px;
            height: 70px;
            display: flex;
            flex-direction: row-reverse;
            justify-content: space-between;
            position: relative;
            top: 50%;
            align-items: center;
        }

        .modal-size {
            width: 34%;
        }

        .lds-ring {
            display: inline-block;
            position: relative;
            height: 45px;
        }

        .lds-ring div {
            box-sizing: border-box;
            display: block;
            position: absolute;
            width: 32px;
            height: 32px;
            margin: 8px;
            border: 3px solid #fff;
            border-radius: 50%;
            animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
            border-color: #fff transparent transparent transparent;
        }

        .lds-ring div:nth-child(1) {
            animation-delay: -0.45s;
        }

        .lds-ring div:nth-child(2) {
            animation-delay: -0.3s;
        }

        .lds-ring div:nth-child(3) {
            animation-delay: -0.15s;
        }

        @keyframes lds-ring {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        @media screen and (max-width: 972px) {
            .sections-wrapper {
                display: flex;
                padding: 0 0 0 24px;
            }

            .modal-size {
                width: 100%
            }
        }

.menuItemContainer {
        font-size: 14px;
    }

    .flex-1 {
        flex: 1;
    }

    .arrow-key {
        color: #f59e0b;
        font-size: 13px;
        margin-left: 5px;
    }

    .menuParent, .menuParent_1 {
        color: rgb(165, 165, 165);
        z-index: 1;
    }

    .parent_name {
        background: white;
    }

    .z-row {
        margin-left: 10px;
        font-size: 12px;
        flex: 1;
        align-items: center;
    }

    .menu-child {
        color: #f59e0b;
    }

    .menu-child img {
        filter: none;
    }

    .header {
        color: #b45309;
    }

    .submenu-container {
        margin: 0 15px;
        display: flex;
    }

    .first-child {
        border-top: 1px solid #979797;
        padding: 24px;
        margin-top: -20px;
    }

.extra-item-wrapper {
    display: flex;
    width: max-content;
    font-size: 14px;
    padding: 4px 0;
    border-radius: 6px;
    align-items: center;
  }

  .extra-item-wrapper a {
    color: #fff !important;
    margin: 0 6px;
  }

  /* .extra-item-title {
    margin: 0 8px;
  } */

  .extra-item-child {
    position: relative;
    display: inline-block;
  }

  .extra-item-child .tooltiptext {
    visibility: hidden;
    width: 110px;
    background-color: white;
    color: #2aabe2;
    text-align: center;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    padding: 5px 0;
    font-size: 12px;
    /* Position the extra-item-child */
    position: absolute;
    z-index: 1;
    top: 30px;
    left: 15px;
  }

  .extra-item-child:hover .tooltiptext {
    visibility: visible;
  }

  @media screen and (max-width: 991px) {
    .extra-item-title {
      display: none;
    }

    .extra-item-wrapper {
      flex-direction: column;
      width: 14%;
      justify-content: end;
      display: contents;
    }

    .extra-item-wrapper a {
      padding: 4px;
      border-radius: 34%;
    }
  }

.CardSize {
		height: 20rem;
		width: 20rem;
	}

	.service-box {
		width: 30%;
		min-width: 95%;
		max-width: 98%;
		padding: 20px;

		text-align: right;
		display: inline-block;
	}

	@media (min-width:501px) and (max-width:767px) {
		.CardSize {
			height: 28rem !important;

		}
	}

.container .asiatech-services .service-container .service-box:hover {
		background-color: #edf6fb;
	}

	.container .asiatech-services .service-container .service-box:hover .header {
		color: #1f93d1;
	}

	.container .asiatech-services .service-container .service-box:hover .header img {
    filter: none;
	}

/* === Public news pages (/news, /news/:slug) === */
.news-public-page {
  background: aliceblue;
  font-size: 14px;
  line-height: 1.8;
  color: #334155;
  margin: 0;
  padding: 0;
}

/* Homepage container_1 keeps min-height for hero; news pages only use header + services */
.container_1:has(+ .news-public-page) {
  min-height: 0;
}

.news-public-container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.news-public-container--section {
  padding: 32px 0 64px;
}

/* Top bar + breadcrumb — full width, flush to content start (right in RTL) */
.news-public-topbar {
  background: #fff;
  border-bottom: 1px solid rgba(42, 171, 226, 0.12);
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px 12px 0;
}

.news-crumb {
  direction: rtl;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  position: static;
  top: auto;
  z-index: auto;
}

.news-crumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.news-crumb__item {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.65;
  color: #334155;
}

.news-crumb__item:not(:last-child)::after {
  content: "›";
  margin: 0 12px;
  color: #cbd5e1;
  font-size: 18px;
  font-weight: 300;
}

.news-crumb__item a {
  color: #2aabe2 !important;
  font-weight: 700;
  transition: color 0.15s;
}

.news-crumb__item a:hover {
  color: #1e5ea8 !important;
}

.news-crumb__item--current {
  color: #0f2744;
  font-weight: 800;
  font-size: 16px;
  max-width: 100%;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
}

/* Buttons */
.news-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #2aabe2;
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  border: none;
  transition: background 0.2s;
}

.news-btn:hover {
  background: #1e5ea8;
  color: #fff !important;
}

.news-btn--ghost {
  background: #fff;
  color: #2aabe2 !important;
  border: 1px solid rgba(42, 171, 226, 0.35);
}

.news-btn--ghost:hover {
  background: #eef8fd;
  color: #1e5ea8 !important;
}

.news-btn--block {
  display: flex;
  width: 100%;
}

/* Article page */
.news-article {
  margin: 0;
  padding: 0;
}

.news-article__cover {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f6fd 0%, #c9eaf7 100%);
  line-height: 0;
}

.news-article__cover img {
  width: 100%;
  height: auto;
  max-height: min(560px, 52vw);
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: top;
  image-rendering: auto;
}

.news-article__head {
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(42, 171, 226, 0.12);
}

.news-article__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(42, 171, 226, 0.12);
  color: #1e5ea8;
  font-size: 12px;
  font-weight: 800;
}

.news-article__title {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.55;
  font-weight: 800;
  color: #0f2744;
}

.news-article__deck {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.95;
  color: #475569;
  max-width: 820px;
}

.news-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.news-article__meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.news-article__meta-item {
  font-size: 13px;
  color: #64748b;
}

.news-article__meta-item em {
  font-style: normal;
  color: #94a3b8;
  margin-left: 6px;
}

.news-article__share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.news-article__share-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

.news-article__share-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.news-article__share-links a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(42, 171, 226, 0.25);
  color: #1e5ea8 !important;
  font-size: 12px;
  font-weight: 700;
}

.news-article__share-links a:hover {
  background: #2aabe2;
  border-color: #2aabe2;
  color: #fff !important;
}

.news-article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  padding: 32px 0;
  align-items: start;
}

.news-article__content {
  font-size: 16px;
  line-height: 2.05;
  color: #1a3f6c;
  max-width: 720px;
  text-align: justify;
  text-justify: inter-word;
}

.news-article__content h2 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: #0f2744;
  font-weight: 800;
  text-align: right;
}

.news-article__content h3 {
  font-size: 18px;
  margin: 22px 0 10px;
  color: #0f2744;
  font-weight: 700;
  text-align: right;
}

.news-article__content p {
  margin: 0 0 16px;
}

.news-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 16px 0;
}

.news-article__content a {
  color: #2aabe2 !important;
  font-weight: 600;
}

.news-article__content ul,
.news-article__content ol {
  margin: 0 0 16px 1.4em;
}

.news-article__content blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-right: 4px solid #2aabe2;
  background: #f8fbff;
  border-radius: 0 10px 10px 0;
  color: #475569;
}

.news-article__aside {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-aside-box {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(42, 171, 226, 0.12);
  box-shadow: 0 6px 24px rgba(15, 45, 82, 0.06);
  padding: 18px;
}

.news-aside-box__title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: #0f2744;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef3f9;
}

.news-aside-card {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit !important;
}

.news-aside-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-aside-card:hover .news-aside-card__body h3 {
  color: #2aabe2;
}

.news-aside-card__img {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e8f6fd, #c9eaf7);
}

.news-aside-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-aside-card__body h3 {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.65;
  color: #0f2744;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.news-aside-card__body time {
  font-size: 11px;
  color: #94a3b8;
}

.news-article__foot {
  padding: 24px 0 40px;
  border-top: 1px solid rgba(42, 171, 226, 0.12);
}

.news-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.news-article__tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(42, 171, 226, 0.1);
  color: #1e5ea8;
  font-size: 12px;
  font-weight: 700;
}

.news-article__foot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Archive list */
.news-archive-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.news-archive-head__title {
  margin: 8px 0 6px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #0f2744;
}

.news-archive-head__desc {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

.news-archive-summary {
  margin: 10px 0 0;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.news-archive-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 22px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid rgba(42, 171, 226, 0.12);
  border-radius: 12px;
}

.news-archive-toolbar__label {
  font-size: 14px;
  font-weight: 700;
  color: #0f2744;
}

.news-archive-toolbar__select {
  min-width: min(100%, 280px);
  flex: 1;
  max-width: 420px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: #0f2744;
}

.news-archive-card__topic {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(42, 171, 226, 0.12);
  color: #1e5ea8;
  font-size: 11px;
  font-weight: 700;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 32px;
  padding-top: 8px;
}

.news-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.news-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f2744 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s;
}

.news-page-link:hover:not(.is-disabled):not(.is-current) {
  border-color: #2aabe2;
  background: #f0f9ff;
}

.news-page-link.is-current {
  background: #2aabe2;
  border-color: #2aabe2;
  color: #fff !important;
}

.news-page-link.is-disabled {
  opacity: 0.45;
  cursor: default;
}

.news-page-ellipsis {
  padding: 0 6px;
  color: #94a3b8;
  font-weight: 700;
}

.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.news-archive-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 45, 82, 0.07);
  text-decoration: none;
  color: inherit !important;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(15, 45, 82, 0.12);
}

.news-archive-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f6fd, #c9eaf7);
}

.news-archive-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-archive-card:hover .news-archive-card__img img {
  transform: scale(1.03);
}

.news-archive-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-archive-card__body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #0f2744;
  font-weight: 800;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-archive-card__body p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.85;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-archive-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

.news-empty {
  text-align: center;
  padding: 72px 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(15, 45, 82, 0.06);
}

.news-empty__title {
  margin: 0 0 10px;
  font-size: 22px;
  color: #0f2744;
}

.news-empty p {
  margin: 0 0 20px;
  color: #64748b;
}

.news-empty code {
  background: #eef8fd;
  color: #1e5ea8;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
}

/* === Site error pages (404 / 410) === */
.site-error-page__card {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(15, 45, 82, 0.08);
  padding: 40px 36px;
  margin-bottom: 28px;
}

.site-error-page__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
}

.site-error-page__code {
  position: relative;
  z-index: 1;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #1f93d1 0%, #0f5ea8 55%, #0f2744 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-error-page--410 .site-error-page__code {
  background: linear-gradient(135deg, #64748b 0%, #475569 55%, #334155 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.site-error-page__ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px dashed rgba(31, 147, 209, 0.22);
  animation: site-error-spin 28s linear infinite;
}

.site-error-page--410 .site-error-page__ring {
  border-color: rgba(100, 116, 139, 0.28);
}

@keyframes site-error-spin {
  to { transform: rotate(360deg); }
}

.site-error-page__badge {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef8fd;
  color: #1e5ea8;
  font-size: 12px;
  font-weight: 700;
}

.site-error-page--410 .site-error-page__badge {
  background: #f1f5f9;
  color: #475569;
}

.site-error-page__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: #0f2744;
  line-height: 1.45;
}

.site-error-page__lead {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 15px;
  max-width: 52ch;
}

.site-error-page__path-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

.site-error-page__path {
  display: inline-block;
  direction: ltr;
  text-align: left;
  max-width: 100%;
  overflow-wrap: anywhere;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 14px;
}

.site-error-page__hint {
  margin: 0 0 22px;
  color: #94a3b8;
  font-size: 13px;
}

.site-error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-error-page__help {
  background: linear-gradient(135deg, rgba(31, 147, 209, 0.08), rgba(15, 94, 168, 0.04));
  border: 1px solid rgba(31, 147, 209, 0.14);
  border-radius: 16px;
  padding: 22px 24px;
}

.site-error-page__help h2 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #0f2744;
}

.site-error-page__help p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 14px;
}

.site-error-page__help-link {
  display: inline-flex;
  color: #1e5ea8;
  font-weight: 700;
  text-decoration: none;
}

.site-error-page__help-link:hover {
  color: #1f93d1;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .site-error-page__card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
  }

  .site-error-page__lead,
  .site-error-page__hint {
    margin-inline: auto;
  }

  .site-error-page__actions {
    justify-content: center;
  }
}

@media (max-width: 960px) {
  .news-article__layout {
    grid-template-columns: 1fr;
  }

  .news-article__aside {
    position: static;
  }

  .news-article__meta {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .news-public-container {
    width: calc(100% - 24px);
  }

  .news-crumb__item,
  .news-crumb__item--current {
    font-size: 14px;
  }

  .news-article__head {
    padding-top: 22px;
  }

  .news-article__layout {
    padding: 22px 0;
  }

  .news-article__foot-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .news-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* === News comments (public article page) === */
.news-comments {
  width: 100%;
  background: #fff;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(42, 171, 226, 0.1);
}

.news-comments__inner {
  padding: 28px 0 36px;
}

.news-comments__head {
  margin: 0 0 18px;
  padding: 0;
}

.news-comments__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f2744;
}

.news-comments__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 22px;
  padding: 0;
}

.news-comments__empty {
  margin: 0;
  padding: 8px 0;
  color: #94a3b8;
  font-size: 14px;
}

.news-comment {
  padding: 14px 0;
  border-bottom: 1px solid rgba(42, 171, 226, 0.08);
}

.news-comment:last-child {
  border-bottom: none;
}

.news-comment__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.news-comment__author {
  font-size: 14px;
  font-weight: 800;
  color: #1e5ea8;
}

.news-comment__time {
  font-size: 12px;
  color: #94a3b8;
}

.news-comment__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #334155;
  white-space: pre-wrap;
}

.news-comments__compose {
  padding: 0;
}

.news-comments__compose-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.news-comments__textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  border: 1px solid rgba(42, 171, 226, 0.2);
  border-radius: 12px;
  background: #fafcff;
  font-size: 15px;
  line-height: 1.7;
  color: #0f2744;
  resize: vertical;
  box-sizing: border-box;
}

.news-comments__textarea:focus {
  outline: none;
  border-color: #2aabe2;
  box-shadow: 0 0 0 3px rgba(42, 171, 226, 0.12);
  background: #fff;
}

.news-comments__compose-foot {
  display: flex;
  justify-content: flex-start;
  margin-top: 12px;
}

.news-comments__status {
  min-height: 1.2em;
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
}

.news-comments__status--error { color: #dc2626; }
.news-comments__status--success { color: #059669; }
.news-comments__status--info { color: #1e5ea8; }

/* Guest verification modal */
body.news-comment-modal-open {
  overflow: hidden;
}

.news-comment-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.news-comment-modal[hidden] {
  display: none !important;
}

.news-comment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 39, 68, 0.45);
  backdrop-filter: blur(2px);
}

.news-comment-modal__dialog {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 45, 82, 0.2);
}

.news-comment-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.news-comment-modal__head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f2744;
}

.news-comment-modal__close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.news-comment-modal__close:hover {
  background: #e2e8f0;
  color: #0f2744;
}

.news-comment-modal__lead {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #64748b;
}

.news-comment-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.news-comment-modal__field span {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.news-comment-modal__field input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dbe7f4;
  border-radius: 10px;
  font-size: 15px;
  color: #0f2744;
}

.news-comment-modal__field input:focus {
  outline: none;
  border-color: #2aabe2;
  box-shadow: 0 0 0 3px rgba(42, 171, 226, 0.12);
}

.news-comment-modal__captcha {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 4px;
}

.news-comment-modal__captcha-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.news-comment-modal__captcha-visual img {
  border-radius: 10px;
  border: 1px solid #dbe7f4;
  background: #eef4ff;
}

.news-comment-modal__otp {
  margin-top: 4px;
}

.news-comment-modal__status {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
}

.news-comment-modal__status--error { color: #dc2626; }
.news-comment-modal__status--success { color: #059669; }
.news-comment-modal__status--info { color: #1e5ea8; }

.news-comment-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 640px) {
  .news-comment-modal__captcha {
    grid-template-columns: 1fr;
  }
}

/* Accessibility: carousel dots meet 24×24px minimum touch target */
.carousel-indicators button {
  min-height: 24px;
  min-width: 24px;
}
