/* Group B: Internet & Networking hub, Network as a Service, Cellular mobility, IT / Cloud / Security hub.
   Variants the shared section styles do not cover. Most rules are scoped to the section anchors these pages set. */

/* ---------- Hero: numbers card ---------- */
/* four numbers in a 2 x 2 grid (hub pages) */
.s-hero__stats:has(> div:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.s-hero__stats:has(> div:nth-child(4)) > div { border-bottom: 0; padding-bottom: 0; }
.s-hero__stats:has(> div:nth-child(4)) dt { font-size: 15px; color: #2E4656; }
/* one big number plus two small tiles (cellular page) */
.s-hero__card:has(> .s-hero__stats > div:nth-child(3):last-child) { background: transparent; box-shadow: none; padding: 0; }
.s-hero__stats:has(> div:nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.s-hero__stats:has(> div:nth-child(3):last-child) > div { border: 0; padding: 22px; border-radius: 16px; background: rgba(255,255,255,.1); gap: 4px; }
.s-hero__stats:has(> div:nth-child(3):last-child) > div:last-child { padding: 22px; }
.s-hero__stats:has(> div:nth-child(3):last-child) dt { color: #DCE6EE; font-size: 17px; }
.s-hero__stats:has(> div:nth-child(3):last-child) dd { color: #fff; font-size: 26px; }
.s-hero__stats:has(> div:nth-child(3):last-child) > div:first-child { grid-column: 1 / -1; padding: 24px; background: #fff; gap: 8px; }
.s-hero__stats:has(> div:nth-child(3):last-child) > div:first-child dt { color: #2E4656; }
.s-hero__stats:has(> div:nth-child(3):last-child) > div:first-child dd { color: var(--mrp-blue); font-size: 52px; }

/* ---------- Plain blue icons on white cards ---------- */
#outcomes .s-icon, #services-b .s-icon { align-self: flex-start; background: none; width: auto; height: auto; border-radius: 0; color: var(--mrp-link); box-shadow: none; }
#outcomes .s-icon svg, #services-b .s-icon svg { width: 36px; height: 36px; }

/* ---------- Comparison tables: stripes, bold blue first column ---------- */
#applications .s-table tbody tr:nth-child(even), #compare .s-table tbody tr:nth-child(even) { background: #F7FAFC; }
#applications .s-table tbody th, #compare .s-table tbody th { color: var(--mrp-blue); font-weight: 800; }
#applications .s-table, #compare .s-table { min-width: 760px; }

/* ---------- Five-up dark cards ---------- */
#performance .s-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
#performance .s-card { padding: 24px; border-radius: 14px; }
#performance .s-card h3 { font-size: 20px; }
#performance .s-card p { font-size: 16px; }
@media (max-width: 1100px) { #performance .s-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { #performance .s-cards { grid-template-columns: minmax(0, 1fr); } }
#performance .s-foot p { color: #DCE6EE; }

/* ---------- Internet options: first card dark ---------- */
#connectivity .s-cards--light .s-card { padding: 30px; gap: 10px; border-radius: 18px; }
#connectivity .s-cards--light .s-card h3 { font-size: 22px; }
#connectivity .s-cards--light .s-card p { font-size: 18px; }
#connectivity .s-card:first-child { background: radial-gradient(120% 140% at 15% -10%, var(--mrp-blue-2) 0%, var(--mrp-blue) 55%); color: #fff; }
#connectivity .s-card:first-child h3 { color: #fff; }
#connectivity .s-card:first-child p { color: #DCE6EE; }
#connectivity .s-card:first-child .s-card__label { color: var(--mrp-green); }

/* ---------- Network as a Service link band (inside the grey managed-services section) ---------- */
#managed { padding-bottom: 28px; }
#naas-callout { padding-top: 0; }
#naas-callout .s-split { background: radial-gradient(120% 140% at 15% -10%, var(--mrp-blue-2) 0%, var(--mrp-blue) 55%); color: #fff; border-radius: 18px; padding: 32px 40px; display: block; }
#naas-callout .s-split__text { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: center; max-width: none; }
#naas-callout .s-split__text > * { grid-column: 1; }
#naas-callout .s-split__text > .s-btns { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
#naas-callout .s-eyebrow { color: var(--mrp-green); }
#naas-callout h2 { color: #fff; font-size: 28px; line-height: 1.2; margin: 10px 0 0; }
#naas-callout .s-split__body, #naas-callout .s-split__body p { color: #DCE6EE; margin: 10px 0 0; }
#naas-callout .mrp-btn { border-radius: 6px; }
@media (max-width: 760px) { #naas-callout .s-split { padding: 26px 22px; } #naas-callout .s-split__text { grid-template-columns: minmax(0, 1fr); } #naas-callout .s-split__text > .s-btns { grid-column: 1; grid-row: auto; margin-top: 20px; } }

/* ---------- Cellular: savings box and card row ---------- */
#cellular { padding-bottom: 24px; }
.b-savings { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin: 28px 0 0; padding: 22px 24px; border-radius: 16px; background: radial-gradient(120% 140% at 15% -10%, var(--mrp-blue-2) 0%, var(--mrp-blue) 55%); color: #DCE6EE; max-width: 460px; }
.b-savings strong { font-family: var(--mrp-font-head); font-weight: 800; font-size: 40px; line-height: 1; color: #fff; white-space: nowrap; }
#cellular-cards { padding-top: 0; }
#cellular-cards .s-cards--light .s-card { padding: 26px; gap: 8px; border-radius: 16px; }
#cellular-cards .s-cards--light .s-card h3 { font-size: 20px; }
#cellular-cards .s-cards--light .s-card p { font-size: 18px; }
#network .s-foot .mrp-btn { background: none; border: 0; box-shadow: none; padding: 0; min-height: 44px; border-radius: 0; color: var(--mrp-link); text-decoration: underline; text-underline-offset: 4px; }
#network .s-foot .mrp-btn::after { content: " \2192"; }

/* ---------- Who we help: white card on the grey section ---------- */
#who-b .s-split__card { border: 0; background: #fff; border-radius: 18px; padding: 32px; align-self: flex-start; box-shadow: none; }
#who-b .s-split__card h3 { font-size: 20px; margin: 0; }
#who-b .s-split__card p { margin: 12px 0 0; }
#who-b .s-split__card p:last-child { margin-top: 18px; font-size: 16px; }

/* ---------- Service columns on the IT hub: bulleted lists instead of pills ---------- */
#services-b .s-card__list { display: block; list-style: disc; padding: 0 0 0 20px; margin: 4px 0 0; }
#services-b .s-card__list li { display: list-item; background: none; border: 0; border-radius: 0; padding: 2px 0; font-weight: 400; font-size: 17px; color: var(--mrp-muted); }

/* ---------- FAQ: boxed ---------- */
.s:has(.s-faq--boxed) > .mrp-wrap { max-width: 900px; }
.s-faq--boxed { display: flex; flex-direction: column; gap: 12px; max-width: none; }
.s-faq--boxed details { background: #fff; border: 0; border-radius: 12px; padding: 0 24px; }
.s:not(.s--light):not(.s--dark) .s-faq--boxed details { background: var(--mrp-light); }
.s-faq--boxed summary { min-height: 64px; align-items: center; padding: 0; }
.s-faq--boxed summary::after { content: none !important; }
.s-faq--boxed .s-faq__icon { flex: 0 0 20px; color: var(--mrp-link); transition: transform .15s ease; }
.s-faq--boxed details[open] .s-faq__icon { transform: rotate(180deg); }
.s-faq--boxed summary:focus-visible { outline: 3px solid var(--mrp-blue-2); outline-offset: 2px; border-radius: 8px; }
.s-faq--boxed .s-faq__a { padding: 0 0 22px; margin: 0; }

/* ---------- Related solutions: dark band with pill links ---------- */
.s--related-band .s-relband { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.s--related-band .s-relband__h { margin: 0; font-size: 22px; color: #fff; }
.s--related-band .s-relband__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.s--related-band .s-relband__list a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); color: #fff; text-decoration: none; font-weight: 600; }
.s--related-band .s-relband__list a:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.s--related-band .s-relband__list a:focus-visible { outline: 3px solid var(--mrp-green); outline-offset: 2px; }

/* ---------- Hero heading at the preview size (58px) ---------- */
.s-hero#hero-b h1 { font-size: clamp(38px, 5.2vw, 58px); line-height: 1.06; }

/* ---------- Five columns with a line on top (cellular: where spend leaks) ---------- */
#leaks .s-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1100px) { #leaks .s-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { #leaks .s-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- NaaS comparison: last column tinted ---------- */
#compare .s-table tbody td:last-child { background: #EEF6E0; color: var(--mrp-blue); font-weight: 600; }

/* ---------- Small labels on see-through cards (dark sections) ---------- */
.s--dark .s-cards--glass .s-card__label { color: var(--mrp-green); }
