/* WEKDEN Quality Control Page - optimized layout only */
body.page-id-15 .wd-page-content {
  background: #f4f7fb !important;
  padding: 44px 0 58px !important;
}

body.page-id-15 .wd-page-content__box {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Hide overlapping text on banner only for Quality Control page.
   The banner image itself is not changed. */
body.page-id-15 .wd-page-hero .wd-container {
  display: none !important;
}

.wek-qc-page {
  color: #1f2937;
}

.wek-qc-page * {
  box-sizing: border-box;
}

.wek-qc-kicker,
.wek-qc-overview__left span,
.wek-qc-title span,
.wek-qc-check-box span,
.wek-qc-cta span {
  display: inline-block;
  color: #0b4f8a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Top intro */
.wek-qc-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  gap: 26px;
  align-items: stretch;
  margin-bottom: 34px;
}

.wek-qc-intro__text,
.wek-qc-intro__panel,
.wek-qc-overview,
.wek-qc-card,
.wek-qc-check-box {
  background: #ffffff;
  border: 1px solid #e3eaf2;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .055);
}

.wek-qc-intro__text {
  padding: 42px 48px;
}

.wek-qc-intro__text h2 {
  max-width: 820px;
  margin: 0 0 18px;
  color: #0b2342;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.wek-qc-intro__text p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 16px;
  line-height: 1.72;
}

.wek-qc-intro__panel {
  padding: 40px 34px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.wek-qc-intro__panel strong {
  display: block;
  color: #0b2342;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 22px;
  font-weight: 900;
}

.wek-qc-intro__panel ul,
.wek-qc-check-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wek-qc-intro__panel li,
.wek-qc-check-box li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid #edf2f7;
  color: #334155;
  font-weight: 700;
  line-height: 1.45;
}

.wek-qc-intro__panel li:last-child,
.wek-qc-check-box li:last-child {
  border-bottom: 0;
}

.wek-qc-intro__panel li::before,
.wek-qc-check-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 11px;
  color: #0b4f8a;
  font-weight: 900;
}

/* Overview */
.wek-qc-overview {
  display: grid;
  grid-template-columns: .9fr 1.35fr;
  gap: 36px;
  padding: 38px 46px;
  margin-bottom: 48px;
}

.wek-qc-overview__left h2,
.wek-qc-title h2,
.wek-qc-check-box h2,
.wek-qc-cta h2 {
  margin: 0;
  color: #0b2342;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.wek-qc-overview__left h2 {
  font-size: 30px;
}

.wek-qc-overview__right p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

/* Section title */
.wek-qc-section {
  margin-bottom: 50px;
}

.wek-qc-title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 26px;
}

.wek-qc-title h2 {
  font-size: 31px;
  margin-bottom: 10px;
}

.wek-qc-title p {
  margin: 0;
  color: #64748b;
  font-size: 15.5px;
  line-height: 1.65;
}

/* Four cards */
.wek-qc-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.wek-qc-card {
  min-height: 235px;
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.wek-qc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, .09);
}

.wek-qc-card b {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #0b4f8a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 18px;
  font-size: 16px;
}

.wek-qc-card h3 {
  margin: 0 0 10px;
  color: #0b2342;
  font-size: 18.5px;
  line-height: 1.28;
  font-weight: 900;
}

.wek-qc-card p {
  margin: 0;
  color: #475569;
  font-size: 14.8px;
  line-height: 1.62;
}

/* Process section */
.wek-qc-process {
  margin-bottom: 52px;
  padding: 42px 42px 46px;
  background: #eaf3fb;
  border: 1px solid #d8e6f2;
  border-radius: 14px;
}

.wek-qc-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.wek-qc-step {
  position: relative;
  padding: 26px 24px;
  background: #ffffff;
  border: 1px solid #dce7f2;
  border-radius: 12px;
  min-height: 190px;
}

.wek-qc-step em {
  display: inline-block;
  font-style: normal;
  color: #0b4f8a;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
}

.wek-qc-step h3 {
  margin: 0 0 10px;
  color: #0b2342;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
}

.wek-qc-step p {
  margin: 0;
  color: #475569;
  font-size: 14.8px;
  line-height: 1.6;
}

/* Product category */
.wek-qc-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.wek-qc-category-grid article {
  padding: 24px 24px;
  background: #ffffff;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
  min-height: 142px;
}

.wek-qc-category-grid h3 {
  margin: 0 0 9px;
  color: #0b2342;
  font-size: 18.5px;
  font-weight: 900;
}

.wek-qc-category-grid p {
  margin: 0;
  color: #475569;
  line-height: 1.58;
  font-size: 14.8px;
}

/* Check list */
.wek-qc-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 52px;
}

.wek-qc-check-box {
  padding: 34px 36px;
}

.wek-qc-check-box h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

/* CTA */
.wek-qc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 40px 48px;
  border-radius: 14px;
  background: #0b2342;
  color: #ffffff;
  margin-bottom: 8px;
}

.wek-qc-cta span,
.wek-qc-cta h2,
.wek-qc-cta p {
  color: #ffffff;
}

.wek-qc-cta h2 {
  font-size: 28px;
  margin: 0 0 10px;
}

.wek-qc-cta p {
  margin: 0;
  max-width: 760px;
  color: #dbeafe;
  line-height: 1.65;
  font-size: 15.5px;
}

.wek-qc-cta a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 48px;
  padding: 0 25px;
  border-radius: 6px;
  background: #0b5fa5;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(11,95,165,.24);
}

/* Responsive */
@media (max-width: 1100px) {
  .wek-qc-intro,
  .wek-qc-overview,
  .wek-qc-card-grid,
  .wek-qc-process-grid,
  .wek-qc-category-grid,
  .wek-qc-checks {
    grid-template-columns: 1fr 1fr;
  }

  .wek-qc-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .wek-qc-intro,
  .wek-qc-overview,
  .wek-qc-card-grid,
  .wek-qc-process-grid,
  .wek-qc-category-grid,
  .wek-qc-checks {
    grid-template-columns: 1fr;
  }

  .wek-qc-intro__text,
  .wek-qc-intro__panel,
  .wek-qc-overview,
  .wek-qc-process,
  .wek-qc-check-box,
  .wek-qc-cta {
    padding: 28px 22px;
  }

  .wek-qc-intro__text h2,
  .wek-qc-title h2,
  .wek-qc-overview__left h2 {
    font-size: 27px;
  }

  .wek-qc-card,
  .wek-qc-step {
    min-height: auto;
  }
}
