/* Shared alignment for service-page destination expertise sections. */
.chale-expertise-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(40px, 5vw, 80px);
}
.chale-expertise-layout > * { min-width: 0; }
.chale-expertise-layout .chale-expertise-collage {
  min-width: 0;
  height: clamp(420px, 40vw, 600px);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  grid-template-rows: minmax(0, 1.07fr) minmax(0, .93fr);
  order: 0;
}
.chale-expertise-layout .chale-expertise-collage img {
  min-width: 0;
  min-height: 0;
  width: 100% !important;
}
.chale-expertise-layout .chale-expertise-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(32px, 3.5vw, 54px);
  line-height: 1.08;
  overflow-wrap: break-word;
}
.chale-expertise-layout .chale-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 32px;
}
.chale-expertise-layout .chale-capability {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-column: auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 64px;
  max-width: none;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}
.chale-expertise-layout .chale-capability > span:first-child {
  width: 42px;
  height: 42px;
}
.chale-expertise-layout .chale-capability > :last-child {
  min-width: 0;
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .6px;
  overflow-wrap: break-word;
}
@media (max-width: 1024px) {
  .chale-expertise-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .chale-expertise-layout .chale-expertise-collage { height: clamp(300px, 58vw, 520px); }
  .chale-expertise-layout .chale-expertise-copy h2 { font-size: clamp(32px, 5.5vw, 48px); }
}
@media (max-width: 639px) {
  .chale-expertise-layout { gap: 32px; }
  .chale-expertise-layout .chale-expertise-copy h2 { font-size: clamp(30px, 8vw, 40px); }
  .chale-expertise-layout .chale-capability-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 24px; }
}

/* Keep the home-page icons and descriptions on matching baselines. */
#why-chale.why-choose { height: auto; min-height: 402px; }
#why-chale .why-grid { height: auto; }
#why-chale .why-item { height: auto; min-height: 189px; justify-content: flex-start; }
#why-chale .why-item h3 { display: flex; align-items: center; justify-content: center; min-height: 52px; }

/* Align destination-page service titles with their expanded descriptions. */
.geo-service-copy p { padding-left: 0; }
/* Stretch both network columns to the same bottom edge. Keep native accordion
   heights for smooth transitions and distribute the remaining space between rows. */
@media (min-width: 768px) {
  :is(.kn-connections-split, .sl-connections-split) > div {
    display: flex;
    flex-direction: column;
  }
  :is(.kn-network-collage, .sl-network-collage) { flex: 1 0 auto; }
  :is(.kn-services, .sl-services) {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
  }
}
:is(.kn-service-trigger, .sl-service-trigger) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
}
:is(.kn-service-trigger, .sl-service-trigger) > span { min-width: 0; }
:is(.kn-service-trigger, .sl-service-trigger) svg { width: 18px; height: 18px; }
@media (max-width: 639px) {
  :is(.kn-service-trigger, .sl-service-trigger) { gap: 10px; }
  :is(.kn-service-body, .sl-service-body) p { margin-left: 0; }
}
