/*
Theme Name: Zhaoda Wanlican Clean Base
Theme URI: https://www.zhaodasolar.com/
Author: Zhaoda
Description: A clean WordPress theme rebuilt from the public structural pattern of wanlican.com, using Zhaoda company content and authorized assets.
Version: 1.0.0
Text Domain: zhaoda-wanlican-clean-base
*/

:root {
  --wlc-ink: #111822;
  --wlc-text: #536171;
  --wlc-muted: #7b8795;
  --wlc-line: #e5eaf0;
  --wlc-soft: #f4f7fb;
  --wlc-blue: #4164aa;
  --wlc-blue-dark: #17356f;
  --wlc-blue-deep: #061a2c;
  --wlc-gold: #e8b04f;
  --wlc-green: #099779;
  --wlc-white: #fff;
  --wlc-shadow: 0 18px 45px rgba(9, 33, 61, 0.12);
  --wlc-radius: 6px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--wlc-ink);
  font-family: Arial, "Microsoft YaHei", "Noto Sans", sans-serif;
}

body {
  min-width: 320px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.wlc-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.wlc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 3px 22px rgba(9, 33, 61, 0.07);
}

.wlc-topbar {
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, var(--wlc-blue-dark), var(--wlc-blue));
  font-size: 13px;
}

.wlc-topbar-row {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.wlc-topbar-left,
.wlc-topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.wlc-topbar-left span,
.wlc-topbar-left a,
.wlc-topbar-right span {
  white-space: nowrap;
}

.wlc-mainbar-row {
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(260px, auto) minmax(0, 1fr) max-content;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
}

.wlc-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.wlc-brand img {
  width: 62px;
  height: 62px;
  border-radius: 10px;
  object-fit: cover;
  background: #111;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.wlc-brand span {
  display: block;
  min-width: 0;
}

.wlc-brand strong {
  display: block;
  max-width: 390px;
  color: var(--wlc-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.28;
}

.wlc-brand em {
  display: block;
  margin-top: 5px;
  color: var(--wlc-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.wlc-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: clamp(14px, 2vw, 34px);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 800;
}

.wlc-nav-item {
  position: relative;
  min-height: 96px;
  display: flex;
  align-items: center;
}

.wlc-nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.wlc-nav-item > a::after {
  position: absolute;
  left: 0;
  bottom: -34px;
  width: 0;
  height: 3px;
  content: "";
  background: var(--wlc-blue);
  transition: width 0.18s ease;
}

.wlc-nav-item:hover > a,
.wlc-nav-item.has-menu > a {
  color: var(--wlc-blue);
}

.wlc-nav-item:hover > a::after {
  width: 100%;
}

.wlc-nav-item.has-menu > a::before {
  order: 2;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid #a5aec2;
  border-bottom: 2px solid #a5aec2;
  content: "";
  transform: rotate(45deg);
}

.wlc-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 190px;
  padding: 12px 0;
  border-top: 3px solid var(--wlc-blue);
  border-radius: 0 0 var(--wlc-radius) var(--wlc-radius);
  background: #fff;
  box-shadow: 0 22px 48px rgba(9, 33, 61, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.wlc-nav-item:hover .wlc-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.wlc-submenu a {
  display: block;
  padding: 11px 22px;
  color: var(--wlc-text);
  font-size: 14px;
  font-weight: 700;
}

.wlc-submenu a:hover {
  color: var(--wlc-blue);
  background: #f2f5fb;
}

.wlc-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 12px;
}

.wlc-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  color: #fff;
  background: var(--wlc-blue);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(65, 100, 170, 0.24);
}

.wlc-lang {
  position: relative;
  z-index: 30;
}

.wlc-lang summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  min-width: 94px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--wlc-line);
  border-radius: 8px;
  color: #4f5963;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 33, 61, 0.08);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.zhaoda-lang-en .wlc-mainbar-row,
.zhaoda-lang-ur .wlc-mainbar-row,
.zhaoda-lang-ar .wlc-mainbar-row,
.zhaoda-lang-fa .wlc-mainbar-row,
.zhaoda-lang-fr .wlc-mainbar-row {
  grid-template-columns: minmax(235px, auto) minmax(0, 1fr) max-content;
  gap: clamp(10px, 1.2vw, 18px);
}

.zhaoda-lang-en .wlc-brand strong,
.zhaoda-lang-ur .wlc-brand strong,
.zhaoda-lang-ar .wlc-brand strong,
.zhaoda-lang-fa .wlc-brand strong,
.zhaoda-lang-fr .wlc-brand strong {
  max-width: 280px;
}

.zhaoda-lang-en .wlc-brand em,
.zhaoda-lang-ur .wlc-brand em,
.zhaoda-lang-ar .wlc-brand em,
.zhaoda-lang-fa .wlc-brand em,
.zhaoda-lang-fr .wlc-brand em {
  max-width: 310px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zhaoda-lang-en .wlc-nav,
.zhaoda-lang-ur .wlc-nav,
.zhaoda-lang-ar .wlc-nav,
.zhaoda-lang-fa .wlc-nav,
.zhaoda-lang-fr .wlc-nav {
  justify-content: flex-end;
  gap: clamp(10px, 1.25vw, 24px);
  font-size: clamp(14px, 1.02vw, 16px);
}

.zhaoda-lang-en .wlc-call,
.zhaoda-lang-ur .wlc-call,
.zhaoda-lang-ar .wlc-call,
.zhaoda-lang-fa .wlc-call,
.zhaoda-lang-fr .wlc-call {
  display: none;
}

.wlc-lang summary::-webkit-details-marker {
  display: none;
}

.wlc-globe {
  position: relative;
  width: 23px;
  height: 23px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.wlc-globe::before,
.wlc-globe::after {
  position: absolute;
  content: "";
  border-color: currentColor;
}

.wlc-globe::before {
  left: 50%;
  top: 2px;
  bottom: 2px;
  width: 7px;
  border-right: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}

.wlc-globe::after {
  left: 2px;
  right: 2px;
  top: 50%;
  border-top: 2px solid currentColor;
  transform: translateY(-50%);
}

.wlc-lang-list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 210px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: 12px 0;
  border: 1px solid rgba(17, 32, 42, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 60px rgba(9, 33, 61, 0.18);
}

.wlc-lang-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 24px;
  color: #2d3338;
  font-size: 17px;
  line-height: 1.25;
  white-space: nowrap;
}

.wlc-lang-list a:hover,
.wlc-lang-list a.active {
  color: var(--wlc-blue-dark);
  background: #eef3ff;
}

.wlc-mobile-menu {
  display: none;
  position: relative;
  z-index: 40;
}

.wlc-mobile-menu summary {
  width: 44px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--wlc-line);
  border-radius: 8px;
  background: #fff;
  list-style: none;
  cursor: pointer;
}

.wlc-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.wlc-mobile-menu summary span {
  width: 20px;
  height: 2px;
  background: var(--wlc-ink);
}

.wlc-mobile-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(260px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid var(--wlc-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(9, 33, 61, 0.16);
}

.wlc-mobile-panel a {
  display: block;
  padding: 13px 14px;
  color: var(--wlc-ink);
  font-weight: 800;
}

.wlc-page {
  overflow: hidden;
}

.wlc-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 23, 40, 0.86), rgba(12, 46, 82, 0.64), rgba(18, 92, 142, 0.16)),
    var(--hero-image) center / cover no-repeat;
}

.wlc-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.wlc-hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  padding: 92px 0;
}

.wlc-kicker,
.wlc-section-title p {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 16px;
  color: var(--wlc-gold);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.wlc-kicker::before {
  width: 56px;
  height: 3px;
  content: "";
  background: var(--wlc-gold);
}

.wlc-hero h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(42px, 4.7vw, 78px);
  font-weight: 800;
  line-height: 1.08;
  white-space: nowrap;
}

.zhaoda-lang-en .wlc-hero h1,
.zhaoda-lang-ur .wlc-hero h1,
.zhaoda-lang-ar .wlc-hero h1,
.zhaoda-lang-fa .wlc-hero h1,
.zhaoda-lang-fr .wlc-hero h1 {
  font-size: clamp(24px, 3.2vw, 44px);
}

.wlc-hero-content > p:not(.wlc-kicker) {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.85;
}

.wlc-hero-slider {
  display: block;
  overflow: hidden;
  background: var(--wlc-blue-deep);
}

.wlc-hero-slider .wlc-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(5, 23, 40, 0.86), rgba(12, 46, 82, 0.64), rgba(18, 92, 142, 0.16)),
    var(--slide-image) center / cover no-repeat;
  animation: wlcHeroSlide 12s infinite;
}

.wlc-hero-slider .wlc-slide:nth-child(2) {
  animation-delay: 6s;
}

.wlc-hero-slider .wlc-slide .wlc-container {
  position: relative;
  z-index: 2;
}

@keyframes wlcHeroSlide {
  0%,
  45% {
    opacity: 1;
  }

  50%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.wlc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.wlc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
}

.wlc-btn.primary {
  color: #fff;
  background: var(--wlc-blue);
}

.wlc-btn.outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.wlc-feature-head {
  padding: 76px 0 28px;
  background: var(--wlc-soft);
}

.wlc-section-title {
  margin-bottom: 34px;
}

.wlc-section-title.center {
  text-align: center;
}

.wlc-section-title.center p {
  justify-content: center;
}

.wlc-section-title h2 {
  margin: 0;
  color: var(--wlc-ink);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.16;
}

.wlc-advantage {
  padding: 0 0 86px;
  background: var(--wlc-soft);
}

.wlc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.wlc-card,
.wlc-news-card {
  min-height: 220px;
  padding: 34px 30px;
  border-radius: var(--wlc-radius);
  background: #fff;
  box-shadow: var(--wlc-shadow);
}

.wlc-card mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--wlc-blue);
  font-weight: 800;
}

.wlc-card h3,
.wlc-news-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
}

.wlc-card p,
.wlc-news-card p,
.wlc-product-card p,
.wlc-solution-card p,
.wlc-two-col p {
  color: var(--wlc-text);
  font-size: 16px;
  line-height: 1.8;
}

.wlc-section {
  padding: 86px 0;
}

.wlc-two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.wlc-two-col figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--wlc-radius);
  background: #e9eef2;
  box-shadow: var(--wlc-shadow);
}

.wlc-two-col img {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.wlc-lead {
  margin-top: 0;
  color: var(--wlc-text);
  font-size: 17px;
  line-height: 1.85;
}

.wlc-check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.wlc-check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--wlc-text);
  line-height: 1.6;
}

.wlc-check-list li::before {
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  content: "";
  background: var(--wlc-green);
}

.wlc-counters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.wlc-counter {
  padding: 24px;
  border-radius: var(--wlc-radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(9, 33, 61, 0.09);
}

.wlc-counter strong {
  display: block;
  color: var(--wlc-blue);
  font-size: 34px;
  line-height: 1;
}

.wlc-counter span {
  display: block;
  margin-top: 8px;
  color: var(--wlc-text);
  font-weight: 700;
}

.wlc-products {
  background: #fff;
}

.wlc-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.wlc-product-card {
  overflow: hidden;
  border-radius: var(--wlc-radius);
  background: #fff;
  box-shadow: var(--wlc-shadow);
}

.wlc-product-card img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.wlc-product-card div {
  padding: 24px;
}

.wlc-product-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
}

.wlc-product-card a,
.wlc-news-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--wlc-blue);
  font-weight: 800;
}

.wlc-solutions {
  background: var(--wlc-soft);
}

.wlc-solution-grid,
.wlc-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wlc-solution-card {
  position: relative;
  overflow: hidden;
  min-height: 315px;
  border-radius: var(--wlc-radius);
  color: #fff;
  background: #0d2438;
  box-shadow: var(--wlc-shadow);
}

.wlc-solution-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.wlc-solution-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.76));
}

.wlc-solution-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.wlc-solution-card p {
  color: rgba(255, 255, 255, 0.88);
}

.wlc-cta {
  padding: 78px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 26, 44, 0.94), rgba(31, 55, 111, 0.86)),
    var(--hero-image) center / cover no-repeat;
}

.wlc-cta .wlc-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.wlc-cta h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
}

.wlc-cta p {
  width: min(760px, 100%);
  margin: -8px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.wlc-news {
  background: #fff;
}

.wlc-news-card {
  box-shadow: 0 10px 32px rgba(9, 33, 61, 0.1);
  overflow: hidden;
  padding: 0;
}

.wlc-news-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.wlc-news-card div {
  padding: 26px;
}

.wlc-news-meta {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--wlc-gold);
  font-size: 13px;
  font-weight: 800;
}

.wlc-sub-hero {
  padding: 96px 0 76px;
  color: #fff;
  background: linear-gradient(110deg, var(--wlc-blue-dark), var(--wlc-blue));
}

.wlc-sub-hero p {
  margin: 0 0 12px;
  color: var(--wlc-gold);
  font-weight: 800;
  text-transform: uppercase;
}

.wlc-sub-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
}

.wlc-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: 36px;
}

.wlc-contact-layout h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 46px);
}

.wlc-contact-list {
  margin: 0;
  padding: 28px;
  border-radius: var(--wlc-radius);
  background: #fff;
  box-shadow: var(--wlc-shadow);
  list-style: none;
}

.wlc-contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--wlc-line);
  color: var(--wlc-text);
  line-height: 1.6;
}

.wlc-contact-list li:last-child {
  border-bottom: 0;
}

.wlc-contact-list strong {
  display: block;
  color: var(--wlc-ink);
}

.wlc-language-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.wlc-language-grid a {
  padding: 20px;
  border-radius: var(--wlc-radius);
  background: var(--wlc-soft);
  font-weight: 800;
}

.wlc-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--wlc-blue-deep);
}

.wlc-footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 42px;
  padding: 70px 0 54px;
}

.wlc-footer-brand img {
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  border-radius: 10px;
  object-fit: cover;
  background: #111;
}

.wlc-footer h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 22px;
}

.wlc-footer p {
  margin: 0 0 12px;
  line-height: 1.8;
}

.wlc-footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.wlc-footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.wlc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.66);
}

.wlc-footer-bottom p {
  margin: 0;
}

[dir="rtl"] .wlc-kicker::before {
  order: 2;
}

[dir="rtl"] .wlc-check-list li {
  padding-right: 28px;
  padding-left: 0;
}

[dir="rtl"] .wlc-check-list li::before {
  right: 0;
  left: auto;
}

@media (max-width: 1320px) {
  .zhaoda-lang-en .wlc-mainbar-row,
  .zhaoda-lang-ur .wlc-mainbar-row,
  .zhaoda-lang-ar .wlc-mainbar-row,
  .zhaoda-lang-fa .wlc-mainbar-row,
  .zhaoda-lang-fr .wlc-mainbar-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 86px;
  }

  .zhaoda-lang-en .wlc-nav,
  .zhaoda-lang-ur .wlc-nav,
  .zhaoda-lang-ar .wlc-nav,
  .zhaoda-lang-fa .wlc-nav,
  .zhaoda-lang-fr .wlc-nav {
    display: none;
  }

  .zhaoda-lang-en .wlc-header-actions,
  .zhaoda-lang-ur .wlc-header-actions,
  .zhaoda-lang-ar .wlc-header-actions,
  .zhaoda-lang-fa .wlc-header-actions,
  .zhaoda-lang-fr .wlc-header-actions {
    grid-column: 2;
  }

  .zhaoda-lang-en .wlc-mobile-menu,
  .zhaoda-lang-ur .wlc-mobile-menu,
  .zhaoda-lang-ar .wlc-mobile-menu,
  .zhaoda-lang-fa .wlc-mobile-menu,
  .zhaoda-lang-fr .wlc-mobile-menu {
    display: block;
    grid-column: 3;
  }
}

@media (max-width: 1180px) {
  .wlc-call {
    display: none;
  }

  .wlc-mainbar-row {
    grid-template-columns: minmax(240px, auto) minmax(0, 1fr) auto;
  }

  .wlc-nav {
    gap: 20px;
    font-size: 15px;
  }
}

@media (max-width: 980px) {
  .wlc-topbar {
    display: none;
  }

  .wlc-mainbar-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    min-height: auto;
    padding: 14px 0 12px;
  }

  .wlc-brand {
    grid-column: 1;
  }

  .wlc-nav {
    display: none;
  }

  .wlc-header-actions {
    grid-column: 2;
  }

  .wlc-mobile-menu {
    display: block;
    grid-column: 3;
  }

  .wlc-brand img {
    width: 54px;
    height: 54px;
  }

  .wlc-brand strong {
    max-width: min(58vw, 360px);
    font-size: 17px;
  }

  .wlc-brand em {
    max-width: min(58vw, 360px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wlc-hero {
    min-height: 560px;
  }

  .wlc-two-col,
  .wlc-contact-layout {
    grid-template-columns: 1fr;
  }

  .wlc-product-grid,
  .wlc-card-grid,
  .wlc-solution-grid,
  .wlc-news-grid,
  .wlc-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .wlc-cta .wlc-container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .wlc-container {
    width: min(100% - 28px, 1180px);
  }

  .wlc-mainbar-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .wlc-brand {
    gap: 10px;
  }

  .wlc-brand img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
  }

  .wlc-brand strong {
    max-width: 54vw;
    font-size: 15px;
  }

  .wlc-brand em {
    max-width: 54vw;
    font-size: 12px;
  }

  .wlc-header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .wlc-mobile-menu {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
  }

  .wlc-lang summary {
    min-width: 82px;
    height: 38px;
    gap: 6px;
    padding: 0 9px;
  }

  .wlc-globe {
    width: 20px;
    height: 20px;
  }

  .wlc-lang-list {
    width: min(210px, calc(100vw - 28px));
    max-height: min(56vh, 340px);
  }

  .wlc-hero {
    min-height: 520px;
  }

  .wlc-hero-content {
    padding: 66px 0;
  }

  .wlc-hero h1 {
    font-size: clamp(24px, 7.6vw, 38px);
  }

  .zhaoda-lang-en .wlc-hero h1,
  .zhaoda-lang-ur .wlc-hero h1,
  .zhaoda-lang-ar .wlc-hero h1,
  .zhaoda-lang-fa .wlc-hero h1,
  .zhaoda-lang-fr .wlc-hero h1 {
    font-size: clamp(12px, 3.55vw, 22px);
  }

  .wlc-hero-content > p:not(.wlc-kicker) {
    font-size: 16px;
  }

  .wlc-section,
  .wlc-feature-head,
  .wlc-advantage {
    padding: 58px 0;
  }

  .wlc-product-grid,
  .wlc-card-grid,
  .wlc-solution-grid,
  .wlc-news-grid,
  .wlc-footer-main,
  .wlc-language-grid,
  .wlc-counters {
    grid-template-columns: 1fr;
  }

  .wlc-two-col img {
    min-height: 300px;
  }

  .wlc-product-card img {
    height: 210px;
  }

  .wlc-footer-main {
    gap: 28px;
    padding: 48px 0 38px;
  }
}
