:root {
  --site-content-width: 1440px;
  --site-gutter: clamp(18px, 3vw, 48px);
  --site-line: #dbe6ef;
  --site-surface: #f3f8fc;
}

body > section > :is(.container-fluid, .container-max),
.header > .container-fluid,
.footer .container-fluid {
  width: 100%;
  max-width: var(--site-content-width);
  margin-inline: auto;
  padding-inline: var(--site-gutter);
}

.header {
  position: sticky;
  background: #f8fcfe;
  border-bottom-color: var(--site-line);
}

.header .logo a {
  display: inline-flex;
  vertical-align: middle;
  padding-block: 8px;
}

.header .logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: clamp(52px, 5vw, 62px);
  object-fit: contain;
}

.header-search {
  display: flex;
  flex: 0 1 clamp(155px, 18vw, 245px);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #aec6d8;
  border-radius: 8px;
  background: #fff;
}

.header-search:focus-within {
  outline: 2px solid #0060ae;
  outline-offset: 2px;
}

.header-search input {
  flex: 1;
  width: 0;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #163c59;
  font-size: 16px;
}

.header-search button {
  display: grid;
  flex: 0 0 44px;
  min-height: 44px;
  place-items: center;
  border: 0;
  background: #0060ae;
  color: #fff;
  cursor: pointer;
}

.header-search button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.local-search-results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.local-search-results a {
  display: block;
  padding: 12px 16px;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: #fff;
  color: #07548a;
  overflow-wrap: anywhere;
}

.local-search-results a:is(:hover, :focus-visible) {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .header > .container-fluid > .row {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .header > .container-fluid > .row > .col-lg-2 {
    width: auto;
  }

  .header-search {
    flex: 1;
    max-width: 280px;
    margin-right: 48px;
  }
}

@media (min-width: 993px) {
  .header .top_menu_right {
    justify-content: flex-start;
    gap: clamp(16px, 2.6vw, 40px);
    padding-inline-start: clamp(16px, 2.2vw, 36px);
  }

  .header ul.menu {
    flex: 0 1 auto;
    justify-content: flex-start;
    gap: clamp(32px, 4vw, 64px);
  }

  .header ul.menu > li > a {
    white-space: nowrap;
  }

  .header > .container-fluid > .row > .col-lg-2 {
    width: auto;
  }

  .header > .container-fluid > .row > .col-lg-10 {
    flex: 1;
    min-width: 0;
    width: auto;
  }

}

.bannerindex {
  width: 100%;
  background: #103751;
}

.bannerindex .home-banner-slide {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: max(480px, calc(100vh - 82px));
  min-height: max(480px, calc(100svh - 82px));
}

.home-banner-image,
.home-banner-slide::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-banner-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.home-banner-facility .home-banner-image {
  object-position: 65% center;
}

.home-banner-slide::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgb(7 33 51 / 94%), rgb(7 33 51 / 66%) 42%, rgb(7 33 51 / 12%) 82%);
}

.home-banner-copy {
  width: 100%;
  max-width: var(--site-content-width);
  margin-inline: auto;
  padding: 54px var(--site-gutter) 90px;
  color: #fff;
}

.home-banner-copy :is(h1, h2) {
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 4.8vw, 4.75rem);
  line-height: 1.18;
}

.home-banner-copy p {
  max-width: 28em;
  margin: 18px 0 26px;
  color: #edf6fb;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.65;
}

.home-banner-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #d0ebff;
  border-radius: 6px;
  background: #f0f8ff;
  color: #123650;
  font-weight: 700;
}

.home-banner-copy a:is(:hover, :focus-visible) {
  background: #fff;
  color: #09314c;
  text-decoration: underline;
}

.bannerindex .swiper-pagination {
  bottom: 22px;
}

.bannerindex .swiper-pagination span {
  height: 22px;
  background: transparent;
  opacity: 1;
}

.bannerindex .swiper-pagination span::before {
  display: block;
  height: 4px;
  margin-top: 9px;
  border-radius: 3px;
  background: rgb(255 255 255 / 58%);
  content: "";
}

.bannerindex .swiper-pagination .swiper-pagination-bullet-active::before {
  background: #fff;
}

@media (max-width: 767px) {
  .bannerindex .home-banner-slide {
    align-items: end;
    min-height: clamp(420px, 78svh, 620px);
  }

  .home-banner-slide::before {
    background: linear-gradient(0deg, rgb(7 33 51 / 98%) 7%, rgb(7 33 51 / 74%) 43%, transparent 88%);
  }

  .home-banner-copy {
    padding-block: 120px 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bannerindex .swiper-wrapper {
    transition-duration: 0ms !important;
  }
}

:is(.bannerin, .bannerins):has(> .imgOh > img) {
  max-height: 500px;
  overflow: hidden;
}

:is(.bannerin, .bannerins) > .imgOh:has(> img) {
  width: 100%;
  height: clamp(180px, 46vw, 500px);
  overflow: hidden;
}

:is(.bannerin, .bannerins) > .imgOh > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.footer .footer_ols {
  padding-block: 24px;
}

.footer .footer_menu {
  color: #dae7f1;
}

.footer .footer_menu > .container-fluid > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 2fr);
  gap: clamp(24px, 4vw, 64px);
  margin-inline: 0;
}

.footer .footer_menu > .container-fluid > .row > div {
  width: auto;
  min-width: 0;
  padding-inline: 0;
}

.footer .footer_menu :is(.tit, ul.footnav > li > a) {
  color: #fff;
  font-weight: 600;
}

.footer .footer_menu ul.footnav > li > ul {
  display: block;
}

.footer .footer_menu ul.footnav > li > ul > li {
  width: auto;
}

.footer .footer_menu .foot_contact .cont_ul {
  height: auto;
  overflow-wrap: anywhere;
}

.bannercateBar {
  border-bottom: 1px solid var(--site-line);
}

.bannercateBar .container {
  flex-wrap: wrap;
}

.proindex .pro_cate,
.pro_item_top .image_div,
.feed_top .feed_li {
  border-radius: 10px;
}

.productlist {
  row-gap: 14px;
}

.productlist .bk_pro {
  min-width: 0;
}

@media (min-width: 768px) {
  :is(.proindex, .pro_item_other) .productlist .bk_pro {
    width: calc(100% / 3);
  }
}

.pro_nav {
  justify-content: flex-start;
  height: auto;
  min-height: 56px;
  padding-block: 10px;
}

.pro_nav ul {
  flex-wrap: wrap;
}

.pro_item_top .share,
.pro_item_top .share + .index_more,
.pro_item_top hr:has(+ .share) {
  display: none;
}

.pro_item_other > .container-fluid:has(> .bk_pro) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

#related-products-title {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  color: #163c59;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.pro_item_other > .container-fluid > .bk_pro {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--site-line);
  border-radius: 10px;
  background: #fff;
}

.pro_item_other > .container-fluid > .bk_pro .imageDiv img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--site-surface);
}

.pro_item_other > .container-fluid > .bk_pro .name {
  padding: 12px 14px;
  text-align: center;
}

.home-category-grid,
.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.category-card {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(155px, 22vw, 290px);
  border-radius: 12px;
  background: #124264;
  color: #fff;
}

.category-card img,
.category-card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-card img {
  object-fit: cover;
  z-index: -2;
}

.category-card::after {
  content: "";
  z-index: -1;
  background: linear-gradient(transparent 26%, rgb(7 34 56 / 90%));
}

.category-card span {
  padding: clamp(14px, 2vw, 26px);
  font-size: clamp(1rem, 2vw, 1.6rem);
  font-weight: 700;
}

.category-card:hover,
.category-card:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.footer-contact-card {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgb(255 255 255 / 8%);
}

.footer-contact-card h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 0.9rem;
}

.footer-contact-card a {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.6;
}

.footer-contact-address {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 8px;
  background: rgb(255 255 255 / 5%);
  color: #dae7f1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-address::before {
  flex: 0 0 16px;
  height: 16px;
  background: url(//hanhcn.asbestcdn.com/imglibs/files/42609.png) center / contain no-repeat;
  content: "";
}

.aboutpage .p_video {
  margin-top: 18px;
}

.aboutpage .p_video video {
  display: block;
  width: 100%;
  border-radius: 12px;
  background: #102d44;
}

.aboutpage .index_p {
  padding-block: 24px;
  line-height: 1.85;
}

.aboutplant {
  background: var(--site-surface);
}

.aboutplant img {
  display: block;
  margin-inline: auto;
  border-radius: 12px;
}

.abouthonor img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 12px;
  border: 1px solid var(--site-line);
  border-radius: 10px;
  object-fit: contain;
}

.feedback_form .contact-inquiry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr);
  max-width: 1080px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 36px rgb(14 62 99 / 9%);
}

.contact-inquiry-heading {
  padding: clamp(24px, 3vw, 42px);
  background: linear-gradient(150deg, #0b395e, #00649a);
  color: #fff;
}

.contact-inquiry-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.contact-inquiry-heading p {
  color: #edf6fc;
  line-height: 1.75;
}

.contact-inquiry-fields {
  min-width: 0;
  padding: clamp(22px, 3vw, 42px);
}

.contact-inquiry-fields > .row {
  row-gap: 18px;
}

.contact-inquiry-fields > .row > div {
  margin-top: 0;
}

.contact-inquiry-fields label {
  display: block;
  margin-bottom: 7px;
  color: #163c59;
  font-size: 0.94rem;
  font-weight: 600;
}

.contact-inquiry-fields label span {
  color: #a33b1a;
}

.contact-inquiry-fields :is(input, textarea) {
  border-color: var(--site-line);
  border-radius: 8px;
  background: #f7fafc;
  color: #18384e;
}

.contact-inquiry-fields textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-inquiry-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.contact-inquiry-actions button {
  min-height: 46px;
  padding: 10px 26px;
  border: 0;
  border-radius: 8px;
  background: #0060ae;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.contact-inquiry-actions button:is(:hover, :focus-visible) {
  background: #0b395e;
}

@media (max-width: 767px) {
  .feedback_form .contact-inquiry {
    grid-template-columns: 1fr;
  }

  .contact-inquiry-fields :is(input, textarea) {
    font-size: 16px;
  }

  .contact-inquiry-actions button {
    width: 100%;
  }
}

.feed_top .feed_box_li .txt {
  height: auto;
  overflow-wrap: anywhere;
}

.productlist .bk_pro .imageDiv {
  aspect-ratio: 4 / 3;
  background: var(--site-surface);
  border: 1px solid var(--site-line);
}

.productlist .bk_pro .imageDiv img {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  padding: clamp(10px, 1.4vw, 22px) clamp(8px, 1vw, 16px);
  object-fit: contain;
}

.productlist .bk_pro .name {
  margin-top: 12px;
  overflow-wrap: anywhere;
  text-align: center;
}

:is(.newsList, .hot_news_list) .news-box {
  flex-direction: column;
  border: 1px solid var(--site-line);
  border-radius: 10px;
}

:is(.newsList, .hot_news_list) .news-box .t-sub2 .dali {
  margin: 0 0 12px;
  font-variant-numeric: tabular-nums;
}

:is(.newsList, .hot_news_list) .news-box .news-box-img:not(:has(img)) {
  display: none;
}

:is(.newsList, .hot_news_list) .news-box .news-box-img img {
  object-fit: cover;
}

:is(.newsList, .hot_news_list) .news-box .t-sub2 h2.t-h a {
  white-space: normal;
  overflow-wrap: anywhere;
}

.news_view > .container-fluid {
  max-width: 1040px;
}

.news_view img,
.aboutpage img {
  max-width: 100%;
  height: auto;
}

.feed_top .feed_li {
  padding: 14px 16px;
  background: var(--site-surface);
}

.feedback_form :is(input, textarea):focus-visible {
  outline: 2px solid #0060ae;
  outline-offset: 2px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .productlist .bk_pro .imageDiv {
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  .productlist .bk_pro:hover .imageDiv {
    transform: translateY(-3px);
    border-color: #86b6dc;
    box-shadow: 0 9px 24px rgb(14 62 99 / 12%);
  }
}

@media (max-width: 767px) {
  .pro_item_other > .container-fluid:has(> .bk_pro) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer .footer_menu > .container-fluid > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer .footer_menu > .container-fluid > .row > div:last-child {
    grid-column: 1 / -1;
  }

  :is(.newsList, .hot_news_list) .news-box {
    width: calc(50% - 10px);
  }
}

@media (max-width: 420px) {
  .footer-contact-grid {
    grid-template-columns: 1fr;
  }

  :is(.newsList, .hot_news_list) .news-box {
    width: calc(100% - 10px);
  }
}
