@charset "utf-8";

/*
 * Mobile projection for the frozen Qwtsfm desktop source.
 * The desktop cascade remains byte-compatible above 1100px; this layer only
 * replaces fixed-width and full-viewport assumptions on touch-sized screens.
 */
@media (max-width: 1100px) {
  html,
  body,
  #__nuxt {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body.qwtsfm-legacy {
    min-width: 0 !important;
    color: #4e5d67;
    background: #f3f6f8;
    font-size: 14px;
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
  }

  .qwtsfm-legacy-fragment {
    display: block !important;
    width: 100%;
    overflow: hidden;
  }

  .qwtsfm-legacy-fragment *,
  .qwtsfm-legacy-fragment *::before,
  .qwtsfm-legacy-fragment *::after {
    box-sizing: border-box;
  }

  .qwtsfm-legacy-fragment img,
  .qwtsfm-legacy-fragment video,
  .qwtsfm-legacy-fragment iframe {
    max-width: 100%;
  }

  .qwtsfm-legacy-fragment .header,
  .qwtsfm-legacy-fragment .header-con,
  .qwtsfm-legacy-fragment .fixed-view-ico,
  .qwtsfm-legacy-fragment .view-next,
  .qwtsfm-legacy-fragment #loading {
    display: none !important;
  }

  /* Home hero */
  .qwtsfm-legacy--home .banner {
    height: clamp(270px, 76vw, 430px) !important;
    background-color: #dfe7eb;
  }

  .qwtsfm-legacy--home .banner ul,
  .qwtsfm-legacy--home .banner li,
  .qwtsfm-legacy--home .banner li a {
    height: 100% !important;
  }

  .qwtsfm-legacy--home .banner li img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }

  .qwtsfm-legacy--home .banner .btn {
    right: 50% !important;
    bottom: 18px !important;
    transform: translateX(50%);
  }

  .qwtsfm-legacy--home .index_main,
  .qwtsfm-legacy--home .index_main > div {
    height: auto !important;
  }

  .qwtsfm-legacy--home .index_main > div {
    padding: 20px 16px;
    background: linear-gradient(145deg, #00457e 0%, #0079b8 100%) !important;
  }

  .qwtsfm-legacy--home .w980,
  .qwtsfm-legacy--home .index_conacts {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
  }

  .qwtsfm-legacy--home .index_conacts {
    display: grid;
    gap: 14px;
  }

  .qwtsfm-legacy--home .index_conacts > div {
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    margin: 0 !important;
    float: none !important;
    overflow: hidden;
    background-size: cover !important;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgb(0 34 58 / 26%);
  }

  .qwtsfm-legacy--home .index_conacts > div:first-child img,
  .qwtsfm-legacy--home .index_conacts > #a1 img {
    display: block;
    width: 100%;
    height: auto;
  }

  .qwtsfm-legacy--home .index_conacts ul {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100% !important;
    min-height: 220px;
    padding: 18px 18px 20px;
    float: none !important;
    background: linear-gradient(135deg, rgb(0 24 58 / 88%), rgb(0 74 133 / 78%));
  }

  .qwtsfm-legacy--home .index_conacts ul p {
    width: auto !important;
    padding: 0 0 12px !important;
    float: none !important;
    color: #fff;
    font-size: 20px;
  }

  .qwtsfm-legacy--home .index_conacts ul span {
    width: auto !important;
    height: 32px;
    margin: 0 !important;
    padding: 0 14px;
    float: none !important;
    line-height: 30px;
    border-radius: 3px;
  }

  .qwtsfm-legacy--home .index_conacts ul li {
    grid-column: 1 / -1;
    width: 100% !important;
    padding: 6px 0 !important;
    float: none !important;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Shared footer, reduced to useful contact and legal information. */
  .qwtsfm-legacy-fragment .footer {
    width: 100% !important;
    height: auto !important;
    padding: 0 18px 22px;
    background: #fff;
    border-top: 5px solid #087fbd;
  }

  .qwtsfm-legacy-fragment .footer-main,
  .qwtsfm-legacy-fragment .footer-main table,
  .qwtsfm-legacy-fragment .footer-main tbody,
  .qwtsfm-legacy-fragment .footer-main tr,
  .qwtsfm-legacy-fragment .footer-main td {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  .qwtsfm-legacy-fragment .footer-main td {
    border: 0 !important;
  }

  .qwtsfm-legacy-fragment .footer-main td:not(:first-child),
  .qwtsfm-legacy-fragment .footer .fot-line {
    display: none !important;
  }

  .qwtsfm-legacy-fragment .footer-main .fot-contact {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .qwtsfm-legacy-fragment .footer-main .fot-contact .tit {
    padding-top: 24px;
  }

  .qwtsfm-legacy-fragment .footer-main .fot-contact .tit img {
    width: 138px;
    height: auto;
    margin-bottom: 14px;
  }

  .qwtsfm-legacy-fragment .footer-main .fot-contact .tit .name {
    font-size: 17px;
  }

  .qwtsfm-legacy-fragment .footer-main .fot-contact .tit .add,
  .qwtsfm-legacy-fragment .footer-main .fot-contact .txt,
  .qwtsfm-legacy-fragment .footer-main .fot-contact > div:last-child {
    font-size: 13px !important;
    line-height: 24px;
  }

  .qwtsfm-legacy-fragment .footer-main .fot-contact .txt p {
    width: 50%;
    margin: 0 !important;
    padding-right: 8px;
  }

  /* Long-form news and detail pages. */
  .qwtsfm-legacy-fragment .news-wrap {
    min-height: 0;
    padding: 32px 14px 42px !important;
    background-attachment: scroll !important;
    background-size: cover !important;
  }

  .qwtsfm-legacy-fragment .w956 {
    width: 100% !important;
  }

  .qwtsfm-legacy-fragment .news-title {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    height: auto !important;
    padding-bottom: 24px;
  }

  .qwtsfm-legacy-fragment .news-title h2 {
    grid-column: 1 / -1;
    font-size: 32px !important;
    line-height: 48px !important;
  }

  .qwtsfm-legacy-fragment .news-title img {
    grid-column: 1 / -1;
    width: auto;
    max-height: 22px;
    margin: 0 auto 10px;
  }

  .qwtsfm-legacy-fragment .news-title a,
  .qwtsfm-legacy-fragment .news-title a.first {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box;
    background: rgb(255 255 255 / 10%) none !important;
    border: 2px solid #fff;
    border-radius: 999px;
    line-height: 34px;
    text-align: center;
  }

  .qwtsfm-legacy-fragment .news-title a:hover,
  .qwtsfm-legacy-fragment .news-title a.on {
    color: #1f6aad;
    background: #fff !important;
  }

  .qwtsfm-legacy-fragment .news-listin li {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    width: 100% !important;
    height: auto !important;
    min-height: 136px;
    padding: 12px !important;
    margin-bottom: 12px !important;
    border-radius: 6px;
  }

  .qwtsfm-legacy-fragment .news-listin li > a.fl {
    float: none !important;
  }

  .qwtsfm-legacy-fragment .news-listin li > a.fl img {
    width: 112px !important;
    height: 112px !important;
    float: none !important;
    object-fit: cover;
    border-radius: 4px;
  }

  .qwtsfm-legacy-fragment .news-listin .intro {
    width: auto !important;
    height: auto !important;
    min-width: 0;
    float: none !important;
  }

  .qwtsfm-legacy-fragment .news-listin .intro a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .qwtsfm-legacy-fragment .news-listin .intro a.tit {
    padding-top: 0 !important;
    font-size: 16px !important;
    line-height: 23px !important;
  }

  .qwtsfm-legacy-fragment .news-listin .intro p {
    padding: 3px 0 5px !important;
    margin-bottom: 4px !important;
  }

  .qwtsfm-legacy-fragment .news-listin .intro a.more {
    display: none !important;
  }

  .qwtsfm-legacy-fragment .newsinfo-bg {
    width: 100% !important;
    padding: 24px 18px !important;
    border-radius: 7px;
  }

  .qwtsfm-legacy-fragment .newsinfo-main h2 {
    font-size: 23px !important;
    line-height: 1.45 !important;
  }

  .qwtsfm-legacy-fragment .newsinfo-main .time {
    margin-bottom: 18px !important;
    line-height: 32px !important;
  }

  .qwtsfm-legacy-fragment .newsinfo-main .detail {
    overflow-wrap: anywhere;
    font-size: 15px !important;
    line-height: 1.8 !important;
  }

  .qwtsfm-legacy-fragment .newsinfo-main .detail img,
  .qwtsfm-legacy-fragment .newsinfo-main .detail table {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .qwtsfm-legacy-fragment .newsinfo-main .turn a.back {
    position: static !important;
    margin-top: 14px;
  }

  /* Product category page: turn the fixed full-screen presentation into cards. */
  .qwtsfm-legacy--products .vehicle,
  .qwtsfm-legacy--products .i-con,
  .qwtsfm-legacy--products .i-pro {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .qwtsfm-legacy--products .i-pro-box {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    overflow: hidden !important;
    background: #00498b;
  }

  .qwtsfm-legacy--products .i-pro-img {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: clamp(210px, 62vw, 380px) !important;
    opacity: 1 !important;
    background: #dfe9ef;
  }

  .qwtsfm-legacy--products .i-pro-img img {
    position: absolute !important;
    inset: 0 !important;
    display: none !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    object-fit: cover;
  }

  .qwtsfm-legacy--products .i-pro-img img:first-child {
    display: block !important;
  }

  .qwtsfm-legacy--products .i-pro-bg {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    padding: 22px 14px 28px;
    opacity: 1 !important;
    background: linear-gradient(145deg, #003b72, #0063a5) !important;
  }

  .qwtsfm-legacy--products .i-pro-bg::before {
    content: attr(data-mobile-title);
    display: block;
    margin: 0 0 18px;
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
  }

  .qwtsfm-legacy--products .i-pro-text,
  .qwtsfm-legacy--products .i-pro-main,
  .qwtsfm-legacy--products .i-pro-wrap {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
  }

  .qwtsfm-legacy--products .PrdocustList {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
  }

  .qwtsfm-legacy--products .PrdocustList dl {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    overflow: hidden;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 7px 18px rgb(0 29 58 / 24%);
  }

  .qwtsfm-legacy--products .PrdocustList dt,
  .qwtsfm-legacy--products .PrdocustList dt img {
    width: 100% !important;
    height: auto !important;
  }

  .qwtsfm-legacy--products .PrdocustList dt img {
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .qwtsfm-legacy--products .PrdocustList dd {
    width: 100% !important;
    height: auto !important;
    min-height: 70px;
    padding: 10px !important;
    float: none !important;
    background: #0786c6 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .qwtsfm-legacy--products .pro-nav,
  .qwtsfm-legacy--products .i-pro-img-hd,
  .qwtsfm-legacy--products .web-btn {
    display: none !important;
  }

  /* Full-screen legacy company, quality, application and contact slides. */
  .qwtsfm-legacy-fragment #aboutProya,
  .qwtsfm-legacy-fragment #joinProya,
  .qwtsfm-legacy-fragment #dutyProya,
  .qwtsfm-legacy-fragment .vehicle {
    width: 100% !important;
    height: auto !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .qwtsfm-legacy-fragment .viewport {
    width: 100% !important;
    height: auto !important;
    min-height: 520px;
    overflow: hidden;
  }

  .qwtsfm-legacy-fragment .view-bg img {
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin-left: 0 !important;
    object-fit: cover;
  }

  .qwtsfm-legacy-fragment .viewport::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgb(0 31 55 / 28%), rgb(0 35 68 / 62%));
    pointer-events: none;
  }

  .qwtsfm-legacy-fragment .viewport-cont {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    z-index: 1;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 58px 18px !important;
    color: #fff !important;
  }

  .qwtsfm-legacy-fragment .viewport-cont .g-tl h2 {
    color: inherit !important;
    font-size: 32px !important;
    line-height: 1.35 !important;
  }

  .qwtsfm-legacy-fragment .viewport-cont .cont,
  .qwtsfm-legacy-fragment .about-scroll,
  .qwtsfm-legacy-fragment .scroll-obj,
  .qwtsfm-legacy-fragment .main05,
  .qwtsfm-legacy-fragment .main05_02,
  .qwtsfm-legacy-fragment .campus-cont .cont,
  .qwtsfm-legacy-fragment .social-view .cont-list,
  .qwtsfm-legacy-fragment .strength-cont,
  .qwtsfm-legacy-fragment .strength-show,
  .qwtsfm-legacy-fragment .strength-thumb,
  .qwtsfm-legacy-fragment .history-cont,
  .qwtsfm-legacy-fragment .history-mask,
  .qwtsfm-legacy-fragment .history-mask-cont,
  .qwtsfm-legacy-fragment .history-mask-cont .list,
  .qwtsfm-legacy-fragment .contact-view .cont,
  .qwtsfm-legacy-fragment .edge-cont,
  .qwtsfm-legacy-fragment .edge-mask-cont,
  .qwtsfm-legacy-fragment .edge-mask-cont .list {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 18px 0 0 !important;
    overflow: visible !important;
  }

  .qwtsfm-legacy-fragment .scroll-bar,
  .qwtsfm-legacy-fragment .campus-cont .btn,
  .qwtsfm-legacy-fragment .strength-cont > .btn,
  .qwtsfm-legacy-fragment .history-mask-cont > .btn,
  .qwtsfm-legacy-fragment .edge-mask-cont > .btn {
    display: none !important;
  }

  .qwtsfm-legacy-fragment .cul-view .list,
  .qwtsfm-legacy-fragment .chain-list,
  .qwtsfm-legacy-fragment .contact-view .list,
  .qwtsfm-legacy-fragment .social-view .cont-list ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100% !important;
    margin: 22px 0 0 !important;
  }

  .qwtsfm-legacy-fragment .cul-view .list li,
  .qwtsfm-legacy-fragment .chain-list ul li,
  .qwtsfm-legacy-fragment .contact-view .list li,
  .qwtsfm-legacy-fragment .social-view .cont-list ul li {
    width: auto !important;
    height: auto !important;
    min-height: 150px;
    margin: 0 !important;
    padding: 18px 12px !important;
    float: none !important;
    border: 0 !important;
    border-radius: 6px;
  }

  .qwtsfm-legacy-fragment .cul-view .list li img {
    width: 100%;
    height: auto;
    margin-bottom: 16px;
  }

  .qwtsfm-legacy-fragment .contact-view .cont .map,
  .qwtsfm-legacy-fragment .contact-view .cont .text,
  .qwtsfm-legacy-fragment .duty-view .cont {
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
  }

  .qwtsfm-legacy-fragment .contact-view .cont .map img,
  .qwtsfm-legacy-fragment .duty-view .cont img {
    width: 100% !important;
    height: auto !important;
  }

  /* Recruitment and download carousels become touch-friendly card grids. */
  .qwtsfm-legacy-fragment .campus-cont {
    position: relative !important;
    width: 100% !important;
    margin: 34px 0 0 !important;
  }

  .qwtsfm-legacy-fragment .campus-cont .cont {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .qwtsfm-legacy-fragment .campus-cont .cont ul {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100% !important;
  }

  .qwtsfm-legacy-fragment .campus-cont .cont li {
    position: relative !important;
    width: auto !important;
    height: auto !important;
    min-width: 0;
    min-height: 250px;
    margin: 0 !important;
    float: none !important;
    overflow: hidden;
    border-radius: 6px;
  }

  .qwtsfm-legacy-fragment .campus-cont .cont li a {
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    height: 100% !important;
  }

  .qwtsfm-legacy-fragment .campus-cont .cont li img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3 / 2;
    margin: 0 0 8px !important;
    object-fit: cover;
  }

  .qwtsfm-legacy-fragment .campus-cont .cont li strong {
    display: block;
    height: auto !important;
    padding: 4px 12px !important;
    line-height: 1.45 !important;
  }

  .qwtsfm-legacy-fragment .campus-cont .cont li span.arrow {
    position: static !important;
    display: flex !important;
    align-items: center;
    margin-top: auto;
    padding: 10px 12px 14px;
  }
}

@media (max-width: 430px) {
  .qwtsfm-legacy-fragment .news-listin li {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .qwtsfm-legacy-fragment .news-listin li > a.fl img {
    width: 96px !important;
    height: 110px !important;
  }

  .qwtsfm-legacy--products .PrdocustList {
    gap: 9px;
  }

  .qwtsfm-legacy--products .PrdocustList dd {
    min-height: 78px;
    font-size: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qwtsfm-legacy-fragment *,
  .qwtsfm-legacy-fragment *::before,
  .qwtsfm-legacy-fragment *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
