/* Success Stories page. Light by default, dark under html.uc-dark. */
.st-page { --st-card: #fff; --st-soft: #f6f7f9; --st-line: #d5d8de; --st-dash: #b9bec8; --st-ink: #111; --st-mute: #6b7280; padding-top: 120px; }
html.uc-dark .st-page { --st-card: rgba(255, 255, 255, 0.05); --st-soft: rgba(255, 255, 255, 0.05); --st-line: rgba(255, 255, 255, 0.12); --st-dash: rgba(255, 255, 255, 0.2); --st-ink: #fff; --st-mute: rgba(255, 255, 255, 0.62); }

.st-note { max-width: 1200px; margin: 0 auto 8px; padding: 12px 18px; border-radius: 12px; font-size: 0.92rem; text-align: center;
    color: #92400e; background: #fffbeb; border: 1px dashed #f59e0b; }
html.uc-dark .st-note { color: #fcd34d; background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.5); }
.st-sample { display: inline-block; margin-left: auto; padding: 3px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: #92400e; background: #fef3c7; white-space: nowrap; }
html.uc-dark .st-sample { color: #fcd34d; background: rgba(245, 158, 11, 0.16); }

.st-hero .wz-head h1 { margin: 16px 0 12px; }
.st-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.st-facts div { min-width: 200px; padding: 18px 26px; border-radius: 18px; text-align: center; background: var(--st-card); border: 1px solid var(--st-line); }
.st-facts b { display: block; font-size: 1.9rem; line-height: 1.1; color: #d83924; }
.st-facts span { font-size: 0.92rem; color: var(--st-mute); }

/* ---------- across Pakistan: a north to south route ---------- */
.st-route { position: relative; max-width: 760px; margin: 0 auto; padding: 8px 0; display: grid; gap: 14px; }
.st-route::before { content: ""; position: absolute; left: 50%; top: 34px; bottom: 34px; width: 2px; margin-left: -1px;
    background: repeating-linear-gradient(180deg, #d83924 0 8px, transparent 8px 16px); }
.st-route-end { justify-self: center; position: relative; z-index: 1; padding: 4px 14px; border-radius: 100px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--st-mute); background: var(--st-soft); border: 1px solid var(--st-line); }
html.uc-dark .st-route-end { background: #101114; }
.st-city { position: relative; display: flex; align-items: center; gap: 18px; width: 50%; padding-right: 34px; justify-content: flex-end; text-align: right; }
.st-city-r { margin-left: 50%; padding: 0 0 0 34px; justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
.st-city > div { padding: 14px 20px; border-radius: 16px; background: var(--st-card); border: 1px solid var(--st-line); min-width: 190px; }
.st-city h3 { margin: 0; font-size: 1.2rem; line-height: 1.2; color: var(--st-ink); }
.st-city p { margin: 2px 0 0; font-size: 0.85rem; color: var(--st-mute); }
.st-pin { position: absolute; right: -9px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #d83924; border: 4px solid #fff; box-shadow: 0 0 0 2px #d83924; z-index: 1; }
.st-city-r .st-pin { right: auto; left: -9px; }
html.uc-dark .st-pin { border-color: #07080a; }
.st-city-more > div { border-style: dashed; }
.st-city-more .st-pin { background: transparent; }

/* ---------- story cards ---------- */
.st-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px 0 28px; }
.st-filters button { padding: 9px 18px; border-radius: 100px; font-size: 0.92rem; font-weight: 600; cursor: pointer; color: var(--st-ink); background: var(--st-card); border: 1px solid var(--st-line); }
.st-filters button.is-on { color: #fff; background: #d83924; border-color: #d83924; }
.st-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.st-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 24px; background: var(--st-card); border: 1px solid var(--st-line); transition: border-color 0.2s ease; }
.st-card[hidden] { display: none; }
.st-card:hover { border-color: #d83924; }
.st-card-top { display: flex; align-items: center; gap: 14px; }
.st-card-top h3 { margin: 0; font-size: 1.1rem; line-height: 1.2; color: var(--st-ink); }
.st-card-top p { margin: 2px 0 0; font-size: 0.85rem; color: var(--st-mute); }
.st-logo { flex: none; width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: #1a1a1a; }
html.uc-dark .st-logo { background: #d83924; }
.st-logo-lg { width: 84px; height: 84px; font-size: 1.5rem; }
.st-hook { margin: 0; font-size: 1.12rem; line-height: 1.45; font-weight: 600; color: var(--st-ink); }
.st-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.st-stats div { padding: 12px 14px; border-radius: 14px; background: var(--st-soft); }
.st-stats b { display: block; font-size: 1.3rem; line-height: 1.15; color: #d83924; }
.st-stats span { font-size: 0.8rem; line-height: 1.3; color: var(--st-mute); }
/* the whole card opens the story */
.st-card .wz-card-link::before { content: ""; position: absolute; inset: 0; border-radius: 24px; }

/* ---------- a full story ---------- */
.st-story { padding: 40px; border-radius: 28px; background: var(--st-card); border: 1px solid var(--st-line); }
.st-story-head { display: flex; align-items: center; gap: 24px; }
.st-story-head h2 { margin: 6px 0 8px; }
.st-kicker { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #d83924; }
.st-kicker .st-sample { margin-left: 0; }
.st-by { margin: 0; color: var(--st-mute); }
.st-used { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 30px; padding: 16px 0; border-top: 1px solid var(--st-line); border-bottom: 1px solid var(--st-line); }
.st-used span { margin-right: 6px; font-size: 0.85rem; color: var(--st-mute); }
.st-used b { padding: 6px 14px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; color: var(--st-ink); background: var(--st-soft); border: 1px solid var(--st-line); }
.st-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.st-body h3 { display: flex; align-items: center; gap: 12px; margin: 30px 0 10px; font-size: 1.35rem; color: var(--st-ink); }
.st-body h3:first-child { margin-top: 0; }
.st-body h3 i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 0.9rem; color: #fff; background: #d83924; }
.st-body p, .st-body li { font-size: 1.05rem; line-height: 1.7; color: var(--st-mute); }
.st-body p { margin: 0 0 12px; }
.st-body ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.st-body li b { color: var(--st-ink); }
.st-side { position: sticky; top: 110px; display: grid; gap: 12px; }
.st-result { padding: 18px 20px; border-radius: 16px; background: var(--st-soft); border: 1px solid var(--st-line); }
.st-result b { display: block; font-size: 1.6rem; line-height: 1.15; color: #d83924; }
.st-result span { font-size: 0.9rem; color: var(--st-mute); }
.st-side blockquote { margin: 8px 0 0; padding: 20px; border-radius: 16px; border: 0; border-left: 4px solid #d83924; background: var(--st-soft); font-size: 1.05rem; line-height: 1.5; font-style: normal; color: var(--st-ink); }
.st-side cite { display: block; margin-top: 10px; font-size: 0.85rem; font-style: normal; color: var(--st-mute); }

@media (max-width: 991px) {
    .st-page { padding-top: 96px; }
    .st-grid { grid-template-columns: 1fr; }
    .st-cols { grid-template-columns: 1fr; gap: 26px; }
    .st-side { position: static; }
    .st-story { padding: 24px 20px; border-radius: 22px; }
    .st-story-head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .st-route::before { left: 9px; }
    .st-route-end { justify-self: start; margin-left: -6px; }
    .st-city, .st-city-r { width: auto; margin-left: 0; padding: 0 0 0 34px; justify-content: flex-start; text-align: left; flex-direction: row; }
    .st-pin, .st-city-r .st-pin { left: 0; right: auto; }
    .st-city > div { flex: 1; }
}

/* ---------- real stories and article pages ---------- */
.st-real { grid-template-columns: 1fr; margin-bottom: 20px; }
.st-card-real { border-width: 1.5px; border-color: var(--st-ink); }
html.uc-dark .st-card-real { border-color: rgba(255, 255, 255, 0.32); }
.st-card-real .st-hook { font-size: 1.25rem; max-width: 820px; }
.st-card-real .st-stats { max-width: 520px; margin-top: 0; }
img.st-logo { object-fit: cover; background: #111; }
.st-label { display: inline-block; margin-left: auto; padding: 5px 12px; border-radius: 100px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.st-label-learn { color: #92400e; background: #fef3c7; }
html.uc-dark .st-label-learn { color: #fcd34d; background: rgba(245, 158, 11, 0.16); }
.st-art-head .wz-wrap { max-width: 900px; }
.st-art-head .st-label { margin-left: 0; }
.st-art-head h1 { margin: 16px 0 16px; }
.st-crumb { margin: 0 0 18px; font-size: 0.88rem; color: var(--st-mute); }
.st-crumb a { color: var(--st-mute); text-decoration: underline; }
.st-lede { margin: 0; font-size: 1.2rem; line-height: 1.6; color: var(--st-mute); }
.st-meta { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--st-line); }
.st-meta img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #111; }
.st-meta b { display: block; color: var(--st-ink); }
.st-meta span { font-size: 0.9rem; color: var(--st-mute); }
.st-art-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; max-width: 1100px; padding-bottom: 40px; }
.st-prose h2 { margin: 40px 0 14px; font-size: 1.6rem; line-height: 1.2; color: var(--st-ink); }
.st-prose p { margin: 0 0 16px; font-size: 1.1rem; line-height: 1.75; color: var(--st-mute); }
.st-prose p b { color: var(--st-ink); }
.st-prose > p:first-child { font-size: 1.3rem; color: var(--st-ink); }
.st-quote { margin: 30px 0 22px; padding: 24px 26px; border-radius: 18px; border-left: 4px solid #d83924; background: var(--st-soft); }
.st-quote blockquote { margin: 0; padding: 0; border: 0; font-size: 1.12rem; line-height: 1.6; font-style: normal; color: var(--st-ink); }
.st-quote figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--st-mute); }
.st-result-plain b { font-size: 1.05rem; color: var(--st-ink); }
.st-result-plain span { display: block; margin-top: 6px; line-height: 1.5; }
@media (max-width: 991px) { .st-art-body { grid-template-columns: 1fr; gap: 28px; } .st-card-real .st-card-top { flex-wrap: wrap; } .st-card-real .st-label { margin-left: 0; } }
.st-real { grid-template-columns: repeat(2, 1fr); }
.st-card-real .st-hook { font-size: 1.15rem; }
.st-label-success { color: #166534; background: #dcfce7; }
html.uc-dark .st-label-success { color: #86efac; background: rgba(22, 163, 74, 0.18); }
.st-prose > h2:first-child { margin-top: 0; }
@media (max-width: 991px) { .st-real { grid-template-columns: 1fr; } }

/* ---------- photos and related links on a story page ---------- */
.st-gallery { display: grid; gap: 14px; max-width: 1100px; margin-bottom: 44px; }
.st-gallery-1 { grid-template-columns: 1fr; } .st-gallery-2 { grid-template-columns: 1fr 1fr; } .st-gallery-3 { grid-template-columns: 1.4fr 1fr 1fr; }
.st-gallery figure { margin: 0; }
.st-gallery img { display: block; width: 100%; height: 320px; object-fit: cover; border-radius: 18px; border: 1px solid var(--st-line); }
.st-gallery figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--st-mute); }
.st-related { max-width: 1100px; padding-top: 8px; padding-bottom: 24px; }
.st-related h2 { margin: 0 0 14px; font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--st-mute); }
.st-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.st-related a { display: inline-block; padding: 10px 18px; border-radius: 100px; font-weight: 600; text-decoration: none; color: var(--st-ink); background: var(--st-card); border: 1px solid var(--st-line); }
.st-related a:hover { border-color: #d83924; color: #d83924; }
html.uc-dark .st-related a:hover { color: #e04b36; }
@media (max-width: 767px) { .st-gallery-2, .st-gallery-3 { grid-template-columns: 1fr; } .st-gallery img { height: 240px; } }

/* ---------- across Pakistan: compact map-style picture ---------- */
.st-map-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px; align-items: center; }
.st-map-copy h2 { margin: 16px 0 12px; }
.st-map-copy p { margin: 0 0 20px; max-width: 520px; font-size: 1.08rem; line-height: 1.6; color: var(--st-mute); }
.st-map-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.st-map-list li { padding: 8px 16px; border-radius: 100px; font-weight: 600; font-size: 0.95rem; color: var(--st-ink); background: var(--st-card); border: 1px solid var(--st-line); }
.st-map-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #d83924; vertical-align: 1px; }
.st-map-list .st-map-more { border-style: dashed; color: var(--st-mute); }
.st-map-list .st-map-more::before { background: transparent; border: 1.5px solid #d83924; }
.st-map-panel { padding: 18px; border-radius: 26px; background: var(--st-card); border: 1px solid var(--st-line); }
.st-map-svg { display: block; width: 100%; height: auto; }
.st-map-dots { color: rgba(17, 17, 17, 0.14); }
.st-map-dots, #st-dots circle { fill: currentColor; }
#st-dots circle { fill: rgba(17, 17, 17, 0.16); }
html.uc-dark #st-dots circle { fill: rgba(255, 255, 255, 0.16); }
.st-map-line { fill: none; stroke: #d83924; stroke-width: 2; stroke-dasharray: 6 7; stroke-linecap: round; opacity: 0.75; }
.st-map-pin { fill: #d83924; }
.st-map-halo { fill: rgba(216, 57, 36, 0.18); }
.st-map-name { font: 700 17px "Mabry Pro", "Segoe UI", sans-serif; fill: #111; dominant-baseline: middle; }
.st-map-prov { font: 400 11px "Mabry Pro", "Segoe UI", sans-serif; fill: #6b7280; dominant-baseline: middle; }
html.uc-dark .st-map-name { fill: #fff; } html.uc-dark .st-map-prov { fill: rgba(255, 255, 255, 0.6); }
.st-map-n path { fill: #9ca3af; } .st-map-n text { font: 700 12px "Mabry Pro", sans-serif; fill: #9ca3af; }
@media (max-width: 991px) { .st-map-grid { grid-template-columns: 1fr; gap: 26px; } .st-map-panel { max-width: 520px; } }
/* the theme recolours every svg shape: pin these down */
.st-map-svg .st-map-dots { fill: url(#st-dots) !important; }
.st-map-svg #st-dots circle { fill: rgba(17, 17, 17, 0.16) !important; }
html.uc-dark .st-map-svg #st-dots circle { fill: rgba(255, 255, 255, 0.16) !important; }
.st-map-svg .st-map-line { fill: none !important; stroke: #d83924 !important; }
.st-map-svg .st-map-pin { fill: #d83924 !important; }
.st-map-svg .st-map-halo { fill: rgba(216, 57, 36, 0.2) !important; }
.st-map-svg .st-map-name { fill: #111 !important; } .st-map-svg .st-map-prov { fill: #6b7280 !important; }
html.uc-dark .st-map-svg .st-map-name { fill: #fff !important; } html.uc-dark .st-map-svg .st-map-prov { fill: rgba(255, 255, 255, 0.6) !important; }
.st-map-svg .st-map-n path, .st-map-svg .st-map-n text { fill: #9ca3af !important; }

/* ---------- across Pakistan: dot map and gyms per city ---------- */
.st-map-svg .st-map-land { fill: none !important; stroke: rgba(17, 17, 17, 0.2) !important; }
html.uc-dark .st-map-svg .st-map-land { stroke: rgba(255, 255, 255, 0.22) !important; }
.st-map-name { font: 700 19px "Mabry Pro", "Segoe UI", sans-serif; paint-order: stroke; stroke: var(--st-map-bg, #fff); stroke-width: 5px; stroke-linejoin: round; }
.st-map-panel { --st-map-bg: #fff; background: #fff; }
html.uc-dark .st-map-panel { --st-map-bg: #101114; background: #101114; }
.st-map-cities { margin: 0; display: grid; gap: 10px; }
.st-map-cities > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-top: 1px solid var(--st-line); }
.st-map-cities > div:first-child { border-top: 0; padding-top: 0; }
.st-map-cities dt { font-weight: 700; color: var(--st-ink); }
.st-map-cities dt::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #d83924; vertical-align: 1px; }
.st-map-cities dd { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--st-mute); }
@media (max-width: 575px) { .st-map-cities > div { grid-template-columns: 1fr; gap: 2px; } }
.st-map-copy .st-map-next { color: var(--st-ink); }
.st-map-copy .st-map-next b { color: #d83924; }
html.uc-dark .st-map-copy .st-map-next b { color: #e04b36; }
.st-map-btn { margin-top: 22px; }

/* ---------- story cards: button on one level, date and views ---------- */
.st-card-real { cursor: pointer; }
.st-card-real .st-hook { flex: 1; }
.st-card-real .st-stats { margin-top: 0; }
.st-card .wz-card-link { align-self: flex-start; margin-top: 4px; padding: 11px 22px; border-radius: 100px; font-weight: 700; color: #fff; background: #d83924; border: 1px solid #d83924; }
.st-card .wz-card-link:hover, .st-card:hover .wz-card-link { color: #fff; background: #c2301d; border-color: #c2301d; }
html.uc-dark .st-card .wz-card-link { color: #fff; }
.st-pub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: 0.86rem; color: var(--st-mute); }
.st-pub > * + *::before { content: "\00B7"; margin-right: 14px; }
.st-pub [hidden] { display: none; }
.st-art-head .st-pub { margin-top: 16px; }

/* ---------- third label, lists inside a story, three story cards ---------- */
.st-label-innov { color: #1e40af; background: #dbeafe; }
html.uc-dark .st-label-innov { color: #93c5fd; background: rgba(59, 130, 246, 0.18); }
.st-prose ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 10px; }
.st-prose li { font-size: 1.08rem; line-height: 1.65; color: var(--st-mute); }
.st-prose li b { color: var(--st-ink); }
.st-prose a { color: #d83924; text-decoration: underline; text-underline-offset: 3px; }
html.uc-dark .st-prose a { color: #e04b36; }
@media (min-width: 1100px) { .st-real { grid-template-columns: repeat(3, 1fr); } .st-card-real .st-card-top { flex-wrap: wrap; } .st-card-real .st-label { margin-left: 0; } }

/* story cards: label on its own row, then logo and name on one line */
.st-card-real .st-card-top { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "label label" "logo name"; column-gap: 14px; row-gap: 14px; align-items: center; }
.st-card-real .st-card-top .st-label { grid-area: label; justify-self: start; margin: 0; }
.st-card-real .st-card-top .st-logo { grid-area: logo; }
.st-card-real .st-card-top > div { grid-area: name; min-width: 0; }
.st-card-real .st-card-top h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-card-real .st-card-top h3 { font-size: 1.2rem; line-height: 1.2; }
.st-card-real .st-card-top h3 { font-size: 1.25rem !important; line-height: 1.2 !important; letter-spacing: 0 !important; margin: 0 !important; }

/* ---------- stories still to come ---------- */
.st-soon { margin-top: 34px; padding-top: 28px; border-top: 1px dashed var(--st-dash); }
.st-soon-title { margin: 0 0 16px; font-size: 0.82rem !important; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--st-mute); font-family: inherit; }
.st-soon-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.st-soon-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--st-card); border: 1px dashed var(--st-dash); }
.st-soon-list img, .st-soon-mark { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #111; }
.st-soon-mark { display: inline-flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 700; color: #fff; }
html.uc-dark .st-soon-mark { background: rgba(255, 255, 255, 0.12); }
.st-soon-name { flex: 1; min-width: 0; font-weight: 700; font-size: 0.95rem; line-height: 1.25; color: var(--st-ink); }
.st-soon-tag { flex: none; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--st-mute); }
@media (max-width: 1099px) { .st-soon-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .st-soon-list { grid-template-columns: 1fr; } }
