/* Keep the branded artwork on this route without the theme's empty banner markup. */
body:has(.aftel-network-status-page) .aftel-inner-banner-wrapper,
body:has(.aftel-network-status-page) .inner_banner_wrapper { display:none!important; }
main.aftel-network-status-page { position:relative; background:#f4f7fa; display:flow-root; }
main.aftel-network-status-page::before {
    content:''; position:absolute; inset:0 0 auto; height:420px; pointer-events:none;
    background:linear-gradient(90deg,rgba(8,25,41,.72) 0%,rgba(8,25,41,.42) 47%,rgba(8,25,41,.12) 100%),url('images/techs_working_hard_repairing.png') center 54% / cover no-repeat;
}
main.aftel-network-status-page > .aftel-network-status { position:relative; }
main.aftel-network-status-page .aftel-network-status__intro { max-width:680px; margin-bottom:72px; background:rgba(18,50,82,.94); }
.aftel-network-status { max-width:1120px; margin:0 auto; padding:44px 24px 64px; color:#18334b; font-size:16px; line-height:1.6; }
.aftel-network-status * { box-sizing:border-box; }
.aftel-network-status__intro { background:#123252; color:#fff; border-radius:16px; padding:30px 36px; }
.aftel-network-status__intro h1 { color:#fff; font-size:clamp(32px,5vw,46px); line-height:1.15; margin:4px 0 14px; }
.aftel-network-status__intro p { margin:8px 0; }
.aftel-network-status__eyebrow { font-size:12px; font-weight:700; letter-spacing:.12em; color:#acdbe9; }
.aftel-network-status__timezone { font-size:14px; color:#dce9f4; }
.aftel-network-status__nav { position:relative; display:flex; align-items:stretch; gap:6px; padding:8px 8px 0; border:1px solid #c4d2de; border-bottom:0; border-radius:14px 14px 0 0; background:#e3ebf2; }
.aftel-network-status a { color:#075d78; text-decoration:underline; text-underline-offset:3px; }
.aftel-network-status a:hover { color:#00364a; }
.aftel-network-status__nav a { flex:1 1 0; display:flex; align-items:center; justify-content:center; gap:10px; min-width:0; padding:16px 18px; border:1px solid transparent; border-bottom:0; border-radius:10px 10px 0 0; color:#405970; text-decoration:none; font-weight:600; line-height:1.4; text-align:center; }
.aftel-network-status__nav a:hover { background:#f2f6fa; color:#123252; text-decoration:none; }
.aftel-network-status__nav a[aria-selected="true"] { position:relative; z-index:1; margin-bottom:-1px; background:#fff; border-color:#c4d2de; color:#123252; box-shadow:inset 0 3px #167c98; }
.aftel-network-status__nav a:focus-visible { outline-offset:-5px; }
.aftel-network-status__count { display:inline-flex; align-items:center; justify-content:center; min-width:24px; padding:2px 7px; border-radius:999px; background:#cddde9; color:#18334b; font-size:12px; }
.aftel-network-status__nav a[aria-selected="true"] .aftel-network-status__count { background:#d9eef3; color:#075d78; }
.aftel-network-status__section[role="tabpanel"] { margin:0 0 24px; padding:28px; background:#fff; border:1px solid #c4d2de; border-radius:0 0 14px 14px; }
/* The selected tab labels its panel; retain section headings in the no-JS fallback. */
.aftel-network-status__section[role="tabpanel"] > h2 { display:none; }
.aftel-network-status__section[hidden] { display:none!important; }
.aftel-network-status__section[role="tabpanel"]:focus-visible { outline:3px solid #007f96; outline-offset:3px; }
.aftel-network-status :is(a,summary):focus-visible { outline:3px solid #007f96; outline-offset:5px; }
.aftel-network-status__section { scroll-margin-top:30px; margin:16px 0 32px; }
.aftel-network-status h2 { font-size:25px; line-height:1.3; color:#123252; margin:0 0 18px; }
.aftel-incident { padding:24px; margin:0 0 16px; border:1px solid #d4dfe7; border-radius:10px; background:#fff; overflow-wrap:anywhere; }
.aftel-incident--active { border-left:5px solid #ba6100; }
.aftel-incident--scheduled { border-left:5px solid #22738f; }
.aftel-incident__badge { display:inline-block; font-size:12px; font-weight:700; line-height:1.5; padding:5px 10px; border-radius:5px; background:#e8eff5; color:#213e55; }
.aftel-incident--active .aftel-incident__badge { background:#fff0dc; color:#854000; }
.aftel-incident h3 { font-size:23px; line-height:1.3; color:#123252; margin:12px 0 4px; }
.aftel-incident__title { font-size:14px; color:#506274; margin:0 0 16px; }
.aftel-incident__summary { font-size:16px; line-height:1.7; margin:12px 0 20px; color:#2e4355; }
.aftel-incident__times { display:flex; flex-wrap:wrap; gap:14px 32px; margin:0; font-size:14px; }
.aftel-incident__times dt { font-weight:700; color:#3d5366; }
.aftel-incident__times dd { margin:2px 0 0; color:#3d5366; }
.aftel-network-status__ok { border:1px solid #a8d2b8; background:#edf8f1; border-radius:10px; padding:22px; }
.aftel-network-status__ok p { margin:6px 0 0; }
.aftel-network-status__help { display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; border:1px solid #c7dce4; background:#eaf4f7; padding:24px; border-radius:10px; margin:32px 0; }
.aftel-network-status__help div { flex:1 1 300px; }
.aftel-network-status__help p { margin:4px 0 0; }
.aftel-incident--history { padding:16px 20px; margin-bottom:10px; }
.aftel-incident__history-heading { cursor:pointer; font-size:15px; }
.aftel-incident__history-heading::after { content:'View details +'; display:inline-block; margin-left:12px; font-size:12px; color:#075d78; text-decoration:underline; }
.aftel-incident details[open]>.aftel-incident__history-heading::after { content:'Hide details −'; }
.aftel-network-status__archive>summary::after { content:' +'; float:right; }
.aftel-network-status__archive[open]>summary::after { content:' −'; }
.aftel-incident__place { font-weight:650; margin:0 12px; }
.aftel-incident__date { color:#506274; font-size:13px; }
.aftel-incident--history details[open] .aftel-incident__history-heading { margin-bottom:18px; }
.aftel-network-status__archive { border:1px solid #c4d2de; border-radius:10px; background:#eaf0f5; padding:20px; }
.aftel-network-status__archive>summary { cursor:pointer; font-size:22px; font-weight:650; color:#123252; }
.aftel-network-status__archive>summary span { font-size:16px; font-weight:400; }
.aftel-network-status__archive h3 { font-size:18px; margin:24px 0 12px; }
.aftel-network-status__pagination { display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin:20px 0 0; font-size:14px; }
@media(max-width:650px) {
    .aftel-network-status { padding:24px 16px 44px; }
    .aftel-network-status__intro { padding:24px; border-radius:12px; }
    main.aftel-network-status-page::before { height:440px; background-position:center,60% 54%; }
    main.aftel-network-status-page .aftel-network-status__intro { margin-bottom:48px; }
    .aftel-network-status__nav { gap:3px; padding:5px 5px 0; font-size:12px; }
    .aftel-network-status__nav a { flex-direction:column; gap:6px; padding:12px 5px; }
    .aftel-network-status__section[role="tabpanel"] { padding:20px 12px; }
    .aftel-incident { padding:20px; }
    .aftel-incident h3 { font-size:21px; }
    .aftel-incident__place,.aftel-incident__date { display:block; margin:8px 0 0; }
    .aftel-network-status__archive { padding:16px; }
}
