@charset "utf-8";

.qualityMain {
  width: min(1400px, calc(100% - 28px));
  margin: 0 auto;
  padding: 124px 0 54px;
}

.qualityBreadcrumb {
  color: #64748b;
  font-size: 14px;
  line-height: 44px;
  border-bottom: 1px solid #e3eaf5;
}

.qualityBreadcrumb a {
  color: #123f8c;
}

.qualityHero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: stretch;
  margin-top: 26px;
  padding: 34px;
  background: #fff;
  border: 1px solid #e5edf7;
  box-shadow: 0 16px 36px rgba(15, 42, 82, .06);
}

.qualityEyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  background: #fff1f1;
  color: #d90012;
  font-size: 14px;
  font-weight: 900;
}

.qualityHero h1 {
  margin: 16px 0 14px;
  color: #07172f;
  font-size: 38px;
  line-height: 1.22;
  font-weight: 900;
}

.qualityHero p {
  max-width: 900px;
  color: #344054;
  font-size: 17px;
  line-height: 1.9;
}

.qualityHeroSide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: #123a78;
  color: #fff;
}

.qualityHeroSide strong {
  display: block;
  font-size: 18px;
  line-height: 1.45;
}

.qualityHeroSide span {
  display: block;
  margin-top: 12px;
  color: #d9e7ff;
  font-size: 14px;
  line-height: 1.7;
}

.qualityHeroSide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 16px;
  background: #d90012;
  color: #fff;
  font-weight: 900;
}

.qualityTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5edf7;
}

.qualityTabs strong {
  margin-right: 6px;
  color: #07172f;
  font-weight: 900;
}

.qualityTabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  background: #f7fafc;
  border: 1px solid #dbe5f1;
  color: #21324d;
  font-size: 15px;
}

.qualityTabs a:hover {
  border-color: #123f8c;
  color: #123f8c;
}

.qualitySection {
  margin-top: 26px;
  padding: 30px;
  background: #fff;
  border: 1px solid #e5edf7;
}

.qualitySectionHead {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}

.qualitySectionHead h2 {
  color: #07172f;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 900;
}

.qualitySectionHead p {
  max-width: 760px;
  color: #52637a;
  font-size: 15px;
  line-height: 1.8;
}

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

.videoCategoryIndex {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.videoCategoryIndex a {
  display: block;
  min-height: 88px;
  padding: 18px;
  background: #f7fafc;
  border: 1px solid #dbe5f1;
  color: #21324d;
}

.videoCategoryIndex a:hover {
  border-color: #123f8c;
  box-shadow: 0 10px 24px rgba(15, 42, 82, .08);
}

.videoCategoryIndex strong {
  display: block;
  color: #0b2f69;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.videoCategoryIndex span {
  display: block;
  margin-top: 8px;
  color: #52637a;
  font-size: 14px;
  line-height: 1.65;
}

.videoCategoryBlock {
  scroll-margin-top: 104px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid #e5edf7;
}

.videoCategoryHead {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.videoCategoryHead h2 {
  color: #07172f;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 900;
}

.videoCategoryHead p {
  max-width: 760px;
  color: #52637a;
  font-size: 15px;
  line-height: 1.75;
}

.qualityCard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e5edf7;
  color: #172033;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.qualityCard:hover {
  border-color: #123f8c;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 42, 82, .09);
}

.qualityMedia {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: #f4f7fb;
  overflow: hidden;
}

.qualityMedia img,
.qualityMedia video,
.qualityMedia iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.qualityCardBody {
  padding: 18px;
}

.qualityCardBody strong,
.qualityCardBody h3 {
  display: block;
  margin: 0 0 10px;
  color: #0b2f69;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
}

.qualityCardBody p,
.qualityCardBody span {
  display: block;
  color: #52637a;
  font-size: 15px;
  line-height: 1.75;
}

.qualityTwoCol {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 22px;
}

.qualityList {
  display: grid;
  gap: 12px;
}

.qualityList a,
.qualityList li {
  padding: 16px 18px;
  background: #f8fbff;
  border: 1px solid #e5edf7;
  color: #21324d;
  font-size: 15px;
  line-height: 1.65;
}

.qualityList strong {
  color: #0b2f69;
  font-weight: 900;
}

.qualityCta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  padding: 22px 24px;
  background: #0d3673;
  color: #fff;
}

.qualityCta strong {
  font-size: 24px;
  color: #fff;
}

.qualityCta span {
  color: #dceaff;
}

.qualityCta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  background: #d90012;
  color: #fff;
  font-weight: 900;
}

.qualityFooterText {
  margin-top: 18px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .qualityMain {
    padding-top: 18px;
  }

  .qualityHero,
  .qualityTwoCol {
    grid-template-columns: 1fr;
  }

  .qualityGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .videoCategoryIndex {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .videoCategoryHead {
    display: block;
  }
}

@media (max-width: 680px) {
  .qualityMain {
    width: min(100% - 24px, 560px);
    padding-bottom: 34px;
  }

  .qualityHero,
  .qualitySection {
    padding: 20px 16px;
  }

  .qualityHero h1 {
    font-size: 28px;
  }

  .qualityGrid,
  .videoCategoryIndex,
  .qualitySectionHead {
    grid-template-columns: 1fr;
    display: grid;
  }

  .qualityTabs {
    gap: 8px;
  }

  .qualityTabs strong,
  .qualityTabs a {
    width: 100%;
  }

  .qualityCta a,
  .qualityCta strong,
  .qualityCta span {
    width: 100%;
  }
}
