/* Block 04: source card language within the shared 1280px site container. */
.sw-approach {
  padding: 56px 0 56px;
  background: var(--sds-paper);
}

.sw-approach__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  align-items: start;
  column-gap: 30px;
  margin: 0 0 28px;
}

.sw-approach__intro h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.sw-approach__lead.sds-slogan {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  width: 245px;
  max-width: none;
  margin: 0;
  color: #173c74;
  text-align: center;
  transform: rotate(-7deg);
}

.sw-approach__lead::after {
  content: "";
  display: block;
  width: 72%;
  height: 8px;
  margin: 3px auto 0;
  border-bottom: 2px solid var(--sds-teal-functional);
  border-radius: 50%;
  transform: rotate(-6deg);
}

.sw-approach__sublead {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: none;
  margin: 12px 0 0;
  color: var(--sds-muted);
  font-size: 20px;
  line-height: 1.4;
}

.sw-approach__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sw-approach__card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: visible;
  flex-direction: column;
  padding: 20px 20px 19px;
  border: 1px solid #e4eaf1;
  border-radius: 17px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 11px 26px rgba(19, 55, 95, .065), 0 2px 4px rgba(19, 55, 95, .015);
}

.sw-approach__card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 37.5%;
  right: -30px;
  z-index: 2;
  color: #587b9f;
  font-family: var(--sds-font);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 0 5px rgba(255, 255, 255, .9);
  pointer-events: none;
}

.sw-approach__card-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  margin: 0 0 14px;
  padding: 0;
}

.sw-approach__number {
  display: block;
  width: 48px;
  height: auto;
  flex: none;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 31px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.04em;
  text-align: center;
}

.sw-approach__card--blue .sw-approach__number { color: var(--sds-neutral); }
.sw-approach__card--mint .sw-approach__number { color: #00a996; }
.sw-approach__card--orange .sw-approach__number { color: var(--sds-orange-small); }

.sw-approach__card-title {
  min-width: 0;
  flex: 1;
}

.sw-approach__card-title h3 {
  margin: 0 0 4px;
  font-size: clamp(25px, 2.07vw, 31px);
  font-weight: 790;
  line-height: 1.11;
  letter-spacing: -.035em;
}

.sw-approach__card-title p {
  margin: 0;
  color: #304f70;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.22;
}

.sw-approach__symbol {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  flex: none;
  border-radius: 50%;
}

.sw-approach__symbol svg {
  width: 39px;
  height: 39px;
  stroke-width: 2;
}

.sw-approach__card--blue .sw-approach__symbol { background: #e5f0ff; color: #0e55c8; }
.sw-approach__card--mint .sw-approach__symbol { background: #e1f8f5; color: #00a996; }
.sw-approach__card--orange .sw-approach__symbol { background: #fff0e9; color: #fa7940; }

.sw-approach__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.89;
  margin: 0 0 15px;
  border-radius: 11px;
  background: #f0f4f8;
  object-fit: cover;
}

.sw-approach__details {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0 0 0 4px;
  color: #284a70;
  list-style: none;
}

.sw-approach__details li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: clamp(14px, 1.11vw, 16.5px);
  line-height: 1.34;
}

.sw-approach__tick {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 0;
  border-radius: 50%;
  color: #fff;
}

.sw-approach__tick svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.35;
}

.sw-approach__card--blue .sw-approach__tick { background: #5b9af7; }
.sw-approach__card--mint .sw-approach__tick { background: #09b7a6; }
.sw-approach__card--orange .sw-approach__tick { background: #ff8e54; }

.sw-approach__outcome {
  display: flex;
  min-height: 89px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto 0 0;
  padding: 18px 10px;
  border-radius: 11px;
  font-size: clamp(15px, 1.14vw, 17px);
  font-weight: 740;
  line-height: 1.26;
  letter-spacing: -.01em;
  text-align: center;
}

.sw-approach__card--blue .sw-approach__outcome { background: #e7f0ff; color: #0d2858; }
.sw-approach__card--mint .sw-approach__outcome { background: #e1f6f4; color: #0d2858; }
.sw-approach__card--orange .sw-approach__outcome { background: #fff0e9; color: #a62e0a; }

.sw-approach__closing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  margin: 16px 0 0;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid #e0e6e9;
  border-radius: 0;
  background: transparent;
  color: #527195;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.sw-approach__closing::before,
.sw-approach__closing::after {
  content: "";
  width: clamp(28px, 6vw, 100px);
  height: 1px;
  flex: none;
  background: #7298ba;
}

.sw-approach__closing strong { color: #0f356c; }

@media (min-width: 900px) {
  .method-frieze p {
    top: calc(var(--sds-label-top) - 5px);
    left: -10px;
    padding: 5px 10px;
    border-radius: 5px;
    background: var(--sds-paper);
    box-shadow: 0 2px 8px rgba(7, 29, 66, .05);
  }
  .sw-approach__sublead { white-space: nowrap; }
}

@media (max-width: 1279px) {
  .sw-approach__cards { gap: 17px; }
  .sw-approach__card { padding: 17px 15px; }
  .sw-approach__card-heading { gap: 10px; min-height: 68px; }
  .sw-approach__number { width: 42px; font-size: 28px; }
  .sw-approach__symbol { width: 58px; height: 58px; }
  .sw-approach__symbol svg { width: 30px; height: 30px; }
  .sw-approach__card:not(:last-child)::after { top: 34%; right: -22px; font-size: 38px; }
  .sw-approach__details { gap: 8px; padding: 0; }
  .sw-approach__details li { font-size: 14px; }
  .sw-approach__tick { width: 21px; height: 21px; }
  .sw-approach__outcome { min-height: 80px; padding: 13px 8px; font-size: 14px; }
}

@media (max-width: 1010px) {
  .sw-approach__intro { grid-template-columns: minmax(0, 1fr) 220px; column-gap: 20px; }
  .sw-approach__lead.sds-slogan { width: 220px; }
  .sw-approach__sublead { font-size: 18px; }
  .sw-approach__cards { grid-template-columns: 1fr; max-width: 640px; gap: 24px; margin-inline: auto; }
  .sw-approach__card { padding: 19px 19px 20px; }
  .sw-approach__card:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -31px; left: 50%; font-size: 34px; transform: translateX(-50%); }
  .sw-approach__card-title h3 { font-size: 26px; }
  .sw-approach__card-title p { font-size: 17px; }
  .sw-approach__photo { max-height: 300px; object-position: center; }
  .sw-approach__details { gap: 10px; }
  .sw-approach__details li { font-size: 16px; }
  .sw-approach__outcome { min-height: 76px; font-size: 16px; }
}

@media (min-width: 768px) and (max-width: 899px) {
  .sw-approach__sublead { white-space: nowrap; }
}

@media (max-width: 700px) {
  .sw-approach__intro { grid-template-columns: 1fr; margin-bottom: 24px; }
  .sw-approach__intro h2,
  .sw-approach__lead.sds-slogan,
  .sw-approach__sublead { grid-column: 1; grid-row: auto; }
  .sw-approach__lead.sds-slogan { justify-self: end; margin-top: 14px; }
  .sw-approach__sublead { margin-top: 14px; white-space: normal; }
}

@media (max-width: 540px) {
  .sw-approach { padding-top: 12px; padding-bottom: 34px; }
  .sw-approach__card { padding: 15px 14px; border-radius: 15px; }
  .sw-approach__card-heading { margin-bottom: 12px; }
  .sw-approach__number { width: 36px; font-size: 25px; }
  .sw-approach__symbol { width: 49px; height: 49px; }
  .sw-approach__symbol svg { width: 27px; height: 27px; }
  .sw-approach__card-title h3 { font-size: 24px; }
  .sw-approach__card-title p { font-size: 14.5px; }
  .sw-approach__photo { max-height: none; margin-bottom: 12px; }
  .sw-approach__details { gap: 9px; margin-bottom: 13px; }
  .sw-approach__details li { gap: 9px; font-size: 14.3px; }
  .sw-approach__tick { width: 20px; height: 20px; }
  .sw-approach__tick svg { width: 14px; height: 14px; }
  .sw-approach__outcome { min-height: 67px; padding: 11px 9px; font-size: 14.8px; }
  .sw-approach__closing { gap: 10px; margin-top: 19px; padding-top: 22px; font-size: 13px; }
  .sw-approach__closing::before,
  .sw-approach__closing::after { width: 16px; }
}
