.telecom-page {
  max-width: 64rem;
  margin-inline: auto;
  padding-block: clamp(2rem, 6vw, 5rem);
}
.telecom-page-head {
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--dash);
}
.telecom-page h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(2.3rem, 5.5vw, 4.5rem);
  letter-spacing: -.043em;
}
.telecom-page h2 { margin: 0 0 .75rem; font-size: clamp(1.5rem, 3vw, 2.25rem); }
.telecom-page p { max-width: 68ch; line-height: 1.6; }
.telecom-page-head p { margin: .9rem 0 0; max-width: 56ch; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.telecom-rows { margin: 1.6rem 0; }
.telecom-rows > div {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) 2.1fr;
  gap: 1.2rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.telecom-rows dt, .telecom-partner-name { font-weight: 700; }
.telecom-rows dd { margin: 0; max-width: 63ch; line-height: 1.6; }
.telecom-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; margin: 1.5rem 0; }
.telecom-actions > a { min-height: 44px; display: inline-flex; align-items: center; }
.telecom-averages, .telecom-partners { display: grid; gap: 1rem; }
.telecom-averages { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 40rem; margin: 1.5rem 0; }
.telecom-averages > div {
  border-top: 3px solid var(--olive);
  padding: clamp(.85rem, 3vw, 1.75rem);
  background: var(--field-soft);
}
.telecom-averages dt { font-weight: 600; }
.telecom-averages dd {
  margin: .5rem 0 0;
  color: var(--plum-ink);
  font: 700 clamp(1.85rem, 5vw, 3.5rem) / 1 var(--font-display);
  letter-spacing: -.045em;
}
.telecom-partners { grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.telecom-partner {
  height: 100%;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: .8rem;
  text-decoration: none;
}
.telecom-partner:hover { border-color: var(--olive); color: var(--olive); }
.telecom-partner-art {
  grid-column: 1 / -1;
  min-height: 5.25rem;
  display: grid;
  place-items: center;
  border-radius: .4rem;
}
.telecom-partner-art img { display: block; width: 7rem; height: 3.25rem; object-fit: contain; }
.telecom-partner-art[data-logo="o2.svg"] { background: #001950; }
.telecom-partner-art[data-logo="radost.svg"] { background: #211b52; }
.telecom-partner-name small { margin-left: .45rem; color: var(--muted); font-size: .8rem; font-weight: 400; }
.telecom-map-picker {
  max-width: 56rem;
  min-width: 0;
  padding: 0;
  margin: 1.4rem 0;
  border: 0;
}
.telecom-map-picker legend { font-weight: 650; margin-bottom: .55rem; }
.telecom-map-options { position: relative; display: flex; flex-wrap: wrap; gap: .4rem; }
.telecom-map-options > input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.telecom-map-options > label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--input-border);
  border-radius: .45rem;
  padding: .4rem .85rem;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.telecom-map-options > input:focus-visible + label { outline: 3px solid var(--plum); outline-offset: 2px; }
.telecom-map-options > input:checked + label { background: var(--olive); color: var(--paper); font-weight: 650; }
.telecom-map-options figure {
  display: none;
  order: 1;
  width: 100%;
  margin: .35rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--paper);
}
.telecom-map-options > input:checked + label + figure { display: block; }
.telecom-map { position: relative; background: #edf1eb; }
.telecom-map > img { display: block; width: 100%; height: auto; }
.telecom-city {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .2rem;
  transform: translate(-2px, -50%);
  font-size: clamp(.58rem, 1.5vw, .8rem);
  font-weight: 700;
  color: #222;
  text-shadow: 0 1px 2px white, 1px 0 white, -1px 0 white, 0 -1px white;
}
.telecom-city::before { content: ""; height: 4px; width: 4px; border-radius: 100%; background: #222; box-shadow: 0 0 0 1px white; }
.city-ba { left: 6.5%; top: 76.3%; }
.city-za { left: 33.9%; top: 24.3%; }
.city-ke { left: 76.3%; top: 48.5%; }
.telecom-map-options figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem 1rem; }
.telecom-map-options figcaption img { display: block; max-width: 100%; }
.telecom-source { color: var(--muted); font-size: .875rem; }
@media (max-width: 700px) {
  .telecom-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .telecom-rows > div { grid-template-columns: 1fr; gap: .4rem; }
}
@media (max-width: 420px) {
  .telecom-partner { padding: .65rem; gap: .5rem; }
  .telecom-partner-name small { display: block; margin-left: 0; }
  .telecom-map-options > label { padding-inline: .55rem; }
  .telecom-page .telecom-actions { align-items: flex-start; flex-direction: column; }
}
