/* =====================================================
   UK APN Hub — Master Stylesheet
   Clean rebuild — no duplicates, no garbage
   ===================================================== */

/* === VARIABLES === */
:root {
  --pink: #ff4d6d;
  --pink2: #c9184a;
  --pink-light: #fff0f3;
  --orange: #ff8800;
  --orange-light: #fff8f0;
  --green: #00c853;
  --green-light: #f0fff4;
  --blue: #0091ea;
  --blue-light: #e8f5ff;
  --purple: #651fff;
  --purple-light: #f5f0ff;
  --teal: #00bcd4;
  --teal-light: #e0f7fa;
  --yellow: #ffd600;
  --yellow-light: #fffde7;
  --red: #f50057;
  --text: #1a1a2e;
  --muted: #6b7280;
  --surface: #fff;
  --bg: #fff;
  --border: #ffe0e8;
  --shadow: 0 8px 32px rgba(255,77,109,.13);
  --shadow-sm: 0 2px 12px rgba(255,77,109,.08);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 0; list-style: none; }

/* === LAYOUT === */
.wrap { width: min(1360px, 95%); margin: 0 auto; }

/* === SKIP LINK === */
.skip { position: absolute; left: -999px; top: 0; background: var(--pink); color: #fff; padding: 8px 14px; z-index: 9999; border-radius: 0 0 8px 0; font-weight: 700; }
.skip:focus { left: 0; }

/* =====================================================
   HEADER / NAV
   ===================================================== */
header {
  background: var(--pink);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(255,77,109,.3);
}
.nav {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -.02em;
  color: #fff;
}
.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  color: #c9184a;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.brand small { display: block; font-size: 11px; font-weight: 500; color: rgba(255,255,255,.75); letter-spacing: 0; }
nav.menu { display: flex; gap: 4px; }
nav.menu a { font-size: 13.5px; font-weight: 700; color: #fff; padding: 7px 13px; border-radius: 999px; transition: all .15s; }
nav.menu a:hover { background: rgba(255,255,255,.2); }
.btn-nav { background: #fff; color: var(--pink); border: none; padding: 9px 20px; border-radius: 999px; font-weight: 800; font-size: 13.5px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.15); transition: all .15s; }
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.2); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 22px; border-radius: 999px; font-weight: 800; font-size: 14px; cursor: pointer; border: none; transition: all .18s; text-decoration: none; }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 6px 20px rgba(255,77,109,.4); }
.btn-primary:hover { background: var(--pink2); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,77,109,.5); }
.btn-outline { background: #fff; color: var(--pink); border: 2px solid var(--pink); box-shadow: var(--shadow-sm); }
.btn-outline:hover { background: var(--pink-light); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--pink); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.2); }

/* =====================================================
   HERO (homepage)
   ===================================================== */
.hero { background: linear-gradient(135deg, var(--pink), var(--pink2)); padding: 70px 0 52px; position: relative; overflow: hidden; }
.hero-blob1 { position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero-blob2 { position: absolute; bottom: -80px; left: -40px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hero-blob3 { position: absolute; top: 30px; left: 40%; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.05); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); color: #fff; padding: 6px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; color: #fff; line-height: 1.06; letter-spacing: -.04em; margin-bottom: 18px; }
.hero h1 span { background: rgba(255,255,255,.25); padding: 0 8px; border-radius: 8px; }
.hero .lead { font-size: 1.05rem; color: #fff; max-width: 520px; margin-bottom: 30px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-panel { background: #fff; border-radius: var(--radius-xl); padding: 28px; box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.hero-panel h3 { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.hero-panel p { font-size: .88rem; color: var(--muted); margin-bottom: 18px; line-height: 1.6; }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { background: var(--pink-light); color: var(--pink); border: 1.5px solid #ffc0cc; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.2); color: #fff; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .03em; margin-bottom: 14px; }

/* =====================================================
   SECTIONS
   ===================================================== */
.section { padding: 64px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.section h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -.04em; color: var(--text); line-height: 1.1; }
.section h2 span { color: var(--pink); }
.section-head p { color: var(--muted); font-size: .95rem; margin-top: 6px; max-width: 560px; }
.divider { height: 3px; background: linear-gradient(90deg, var(--pink), var(--orange), var(--green), var(--blue), var(--purple)); border-radius: 999px; margin-bottom: 36px; }
.ad-space { border: 2px dashed #ffc0cc; background: var(--pink-light); border-radius: var(--radius); min-height: 90px; display: grid; place-items: center; text-align: center; color: var(--pink); font-size: 13px; font-weight: 600; padding: 18px; margin: 24px 0; }

/* =====================================================
   NETWORK GRID
   ===================================================== */
.net-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.net-card { background: #fff; border-radius: var(--radius-lg); padding: 20px 16px; transition: all .2s; border: 2px solid transparent; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.net-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.net-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.nc-pink::before { background: var(--pink); } .nc-pink:hover { border-color: var(--pink); }
.nc-orange::before { background: var(--orange); } .nc-orange:hover { border-color: var(--orange); }
.nc-green::before { background: var(--green); } .nc-green:hover { border-color: var(--green); }
.nc-blue::before { background: var(--blue); } .nc-blue:hover { border-color: var(--blue); }
.nc-purple::before { background: var(--purple); } .nc-purple:hover { border-color: var(--purple); }
.nc-teal::before { background: var(--teal); } .nc-teal:hover { border-color: var(--teal); }
.nc-yellow::before { background: var(--yellow); } .nc-yellow:hover { border-color: var(--yellow); }
.nc-red::before { background: var(--red); } .nc-red:hover { border-color: var(--red); }
.net-logo { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-weight: 900; font-size: 13px; margin-bottom: 12px; color: #fff; }
.nl-pink { background: linear-gradient(135deg, #ff4d6d, #c9184a); }
.nl-orange { background: linear-gradient(135deg, #ff8800, #e65100); }
.nl-green { background: linear-gradient(135deg, #00c853, #00695c); }
.nl-blue { background: linear-gradient(135deg, #0091ea, #0d47a1); }
.nl-purple { background: linear-gradient(135deg, #651fff, #311b92); }
.nl-teal { background: linear-gradient(135deg, #00bcd4, #006064); }
.nl-yellow { background: linear-gradient(135deg, #ffd600, #f57f17); color: #333 !important; }
.nl-red { background: linear-gradient(135deg, #f50057, #880e4f); }
.nl-dark { background: linear-gradient(135deg, #424242, #212121); }
.net-card h3 { font-size: .95rem; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.net-card p { font-size: .8rem; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.net-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nl { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 8px; transition: all .15s; }
.nl-p { color: var(--pink); background: var(--pink-light); } .nl-p:hover { background: #ffd6df; }
.nl-o { color: var(--orange); background: var(--orange-light); } .nl-o:hover { background: #ffe0c0; }
.nl-g { color: #00a040; background: var(--green-light); } .nl-g:hover { background: #c8f7d8; }
.nl-b { color: var(--blue); background: var(--blue-light); } .nl-b:hover { background: #c8e8ff; }
.nl-pu { color: var(--purple); background: var(--purple-light); } .nl-pu:hover { background: #e0d4ff; }
.nl-t { color: #007c8a; background: var(--teal-light); } .nl-t:hover { background: #b2ebf2; }
/* color aliases used in blog cards */
.nl-pink { color: var(--pink); }
.nl-orange { color: var(--orange); }
.nl-green { color: var(--green); }
.nl-purple { color: var(--purple); }
.nl-teal { color: var(--teal); }

/* =====================================================
   PACKAGE CARDS
   ===================================================== */
.pkg-subhead { font-size: 1.15rem; font-weight: 800; color: var(--text); margin: 36px 0 16px; display: flex; align-items: center; gap: 10px; }
.pkg-subhead::after { content: ''; flex: 1; height: 2px; background: var(--border); border-radius: 999px; }
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 6px; }
.pkg-card { background: #fff; border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 22px; transition: all .2s; position: relative; overflow: hidden; }
.pkg-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; }
.pkg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pkg-pk::after { background: var(--pink); } .pkg-pk:hover { border-color: var(--pink); }
.pkg-or::after { background: var(--orange); } .pkg-or:hover { border-color: var(--orange); }
.pkg-gr::after { background: var(--green); } .pkg-gr:hover { border-color: var(--green); }
.pkg-bl::after { background: var(--blue); } .pkg-bl:hover { border-color: var(--blue); }
.pkg-pu::after { background: var(--purple); } .pkg-pu:hover { border-color: var(--purple); }
.pkg-tl::after { background: var(--teal); } .pkg-tl:hover { border-color: var(--teal); }
.pkg-tag { display: inline-block; border-radius: 999px; padding: 3px 11px; font-size: 11.5px; font-weight: 700; margin-bottom: 10px; }
.pt-pk { background: var(--pink-light); color: var(--pink); }
.pt-or { background: var(--orange-light); color: var(--orange); }
.pt-gr { background: var(--green-light); color: #007a30; }
.pt-bl { background: var(--blue-light); color: var(--blue); }
.pt-pu { background: var(--purple-light); color: var(--purple); }
.pt-tl { background: var(--teal-light); color: #007c8a; }
.pkg-price { font-size: 2.2rem; font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 4px; }
.pp-pk { color: var(--pink); } .pp-or { color: var(--orange); } .pp-gr { color: #00a040; } .pp-bl { color: var(--blue); } .pp-pu { color: var(--purple); } .pp-tl { color: #007c8a; }
.pkg-name { font-size: .92rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.pkg-desc { font-size: .81rem; color: var(--muted); margin-bottom: 12px; line-height: 1.55; }
.pkg-card ul { list-style: none; margin-bottom: 18px; }
.pkg-card ul li { font-size: .81rem; color: var(--muted); padding: 3px 0 3px 18px; position: relative; }
.pkg-card ul li::before { content: '✓'; position: absolute; left: 0; font-weight: 900; }
.li-pk li::before { color: var(--pink); } .li-or li::before { color: var(--orange); } .li-gr li::before { color: var(--green); } .li-bl li::before { color: var(--blue); } .li-pu li::before { color: var(--purple); } .li-tl li::before { color: var(--teal); }
.pkg-card .btn { width: 100%; justify-content: center; font-size: 13px; padding: 10px; }

/* =====================================================
   BLOG GRID (homepage section)
   ===================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: #fff; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); border: 2px solid transparent; transition: all .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pc-pink:hover { border-color: var(--pink); } .pc-orange:hover { border-color: var(--orange); } .pc-green:hover { border-color: var(--green); } .pc-blue:hover { border-color: var(--blue); } .pc-purple:hover { border-color: var(--purple); } .pc-teal:hover { border-color: var(--teal); }
.card-img-wrap { position: relative; }
.card-img-wrap img { width: 100%; height: 200px; object-fit: cover; background: #f5f5f5; display: block; }
.card-stripe { height: 4px; }
.cs-pink { background: var(--pink); } .cs-orange { background: var(--orange); } .cs-green { background: var(--green); } .cs-blue { background: var(--blue); } .cs-purple { background: var(--purple); } .cs-teal { background: var(--teal); }
.card-body { padding: 20px; }
.card-body h3 { font-size: .98rem; font-weight: 800; color: var(--text); margin-bottom: 7px; line-height: 1.3; }
.card-body p { font-size: .82rem; color: var(--muted); margin-bottom: 13px; line-height: 1.6; }
.read-link { font-size: .83rem; font-weight: 800; display: inline-flex; align-items: center; gap: 5px; }
.rl-pink { color: var(--pink); } .rl-orange { color: var(--orange); } .rl-green { color: #00a040; } .rl-blue { color: var(--blue); } .rl-purple { color: var(--purple); } .rl-teal { color: #007c8a; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--text);
  color: #e0e0e0;
  padding: 56px 0 32px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 44px;
}
footer h3 { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
footer p { font-size: .84rem; color: #a0a0b0; line-height: 1.75; }
footer nav a { display: block; font-size: .85rem; color: #a0a0b0; padding: 3px 0; transition: color .15s; }
footer nav a:hover { color: var(--pink); }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.footer-badge { background: rgba(255,77,109,.15); color: #ff8fa3; border: 1px solid rgba(255,77,109,.2); border-radius: 999px; padding: 4px 11px; font-size: 11.5px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: .79rem; color: #606070; }
.footer-heart { color: var(--pink); }
/* Extra footer classes used in some pages */
.footer-brand { font-weight: 900; font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.footer-desc { font-size: .85rem; line-height: 1.6; margin-bottom: 16px; }
.footer-col h4 { color: #fff; font-size: .85rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.footer-col a { display: block; color: #94a3b8; font-size: .85rem; margin-bottom: 6px; transition: color .15s; }
.footer-col a:hover { color: #fff; }

/* =====================================================
   ARTICLE LAYOUT (carrier subpages)
   ===================================================== */
.article-hero { background: linear-gradient(135deg, var(--pink), var(--pink2)); padding: 44px 0 32px; position: relative; overflow: hidden; }
.article-hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: var(--bg); border-radius: 50% 50% 0 0 / 40px 40px 0 0; }
.article-hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 900; color: #fff; line-height: 1.08; letter-spacing: -.04em; margin-bottom: 10px; }
.article-hero .lead { font-size: .97rem; color: #fff; max-width: 680px; line-height: 1.75; }
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  padding: 36px 0 64px;
}
.article {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border);
}
.article img.post-image { width: 100%; border-radius: var(--radius); margin-bottom: 22px; background: #f5f5f5; height: 240px; object-fit: cover; }
.article h2 { font-size: 1.45rem; font-weight: 900; letter-spacing: -.03em; margin: 28px 0 10px; color: var(--text); }
.article h3 { font-size: 1.1rem; font-weight: 800; margin: 20px 0 8px; color: var(--text); }
.article p, .article li { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 10px; }
.article a { color: var(--pink); font-weight: 700; }
.article a:hover { text-decoration: underline; }
.article ul, .article ol { padding-left: 20px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.notice { border-left: 4px solid var(--pink); background: var(--pink-light); padding: 14px 16px; border-radius: 0 var(--radius) var(--radius) 0; margin: 14px 0; color: var(--text); font-size: .9rem; }
.table-wrap { overflow: auto; border: 2px solid var(--border); border-radius: var(--radius); margin: 14px 0; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 480px; }
.table-wrap th, .table-wrap td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; font-size: .88rem; }
.table-wrap th { background: var(--pink-light); color: var(--text); font-weight: 800; }
.mini-actions { display: flex; gap: 7px; flex-wrap: wrap; margin: 14px 0; }
.mini-actions a { font-size: 12px; font-weight: 700; color: var(--pink); background: var(--pink-light); border: 1.5px solid #ffc0cc; padding: 6px 11px; border-radius: 8px; transition: all .15s; }
.mini-actions a:hover { background: #ffd6df; }

/* =====================================================
   SIDEBAR
   ===================================================== */
aside { position: sticky; top: 82px; }
.sidebar-box {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.sidebar-box h3 { font-size: .97rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.sidebar-box a { display: block; font-size: .85rem; color: var(--muted); padding: 5px 0 5px 10px; border-left: 3px solid var(--border); margin-bottom: 4px; transition: all .15s; font-weight: 600; }
.sidebar-box a:hover { color: var(--pink); border-color: var(--pink); }
.sidebox { background: #fff; border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb { padding: 10px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; align-items: center; }
.breadcrumb li { font-size: 12.5px; color: rgba(255,255,255,.7); }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; color: rgba(255,255,255,.45); }
.breadcrumb a { color: #fff; font-weight: 600; }
.breadcrumb li[aria-current] { color: rgba(255,255,255,.55); }

/* =====================================================
   PAGE SHELL (about, glossary, etc)
   ===================================================== */
.page-shell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; padding: 36px 0 64px; }
.page-content { background: #fff; border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow-sm); border: 2px solid var(--border); }
.page-content h2 { font-size: 1.4rem; font-weight: 900; letter-spacing: -.03em; margin: 26px 0 10px; color: var(--text); }
.page-content h3 { font-size: 1.1rem; font-weight: 800; margin: 18px 0 8px; color: var(--text); }
.page-content p { color: var(--muted); margin-bottom: 12px; font-size: .94rem; line-height: 1.8; }
.page-content li { color: var(--muted); font-size: .94rem; line-height: 1.8; margin-bottom: 3px; }
.page-content a { color: var(--pink); font-weight: 700; }
.page-content a:hover { text-decoration: underline; }

/* =====================================================
   WARN / TIP / CALLOUT BOXES
   ===================================================== */
.callout { background: #f0f6ff; border-left: 4px solid #0d47a1; padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 16px 0; font-size: .92em; color: var(--text); }
.callout.warn { background: #fff8e6; border-left-color: #f59e0b; }
.callout.success { background: #f0fdf4; border-left-color: #22c55e; }
.warn-box { display: flex; gap: 14px; align-items: flex-start; background: #fff2f2; border-left: 5px solid #e00; border-radius: 0 12px 12px 0; padding: 16px 18px; margin: 20px 0; }
.warn-box .wb-icon { flex-shrink: 0; width: 30px; height: 30px; background: #e00; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 900; }
.warn-box .wb-body .wb-title { font-size: .92rem; font-weight: 900; color: #b30000; margin-bottom: 5px; }
.warn-box .wb-body .wb-text { font-size: .88rem; color: #800000; line-height: 1.75; margin: 0; }
.warn-box .wb-body .wb-text strong { color: #600; }
.tip-box { display: flex; gap: 14px; align-items: flex-start; background: #fffbea; border-left: 5px solid #d97706; border-radius: 0 12px 12px 0; padding: 16px 18px; margin: 20px 0; }
.tip-box .tb-icon { flex-shrink: 0; width: 30px; height: 30px; background: #d97706; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 900; }
.tip-box .tb-body .tb-title { font-size: .92rem; font-weight: 900; color: #92400e; margin-bottom: 5px; }
.tip-box .tb-body .tb-text { font-size: .88rem; color: #78350f; line-height: 1.75; margin: 0; }
.verdict-box { background: #f0fff4; border: 2px solid #22c55e; border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; }

/* =====================================================
   APN TABLE
   ===================================================== */
.apn-table-wrap { overflow-x: auto; margin: 20px 0; }
.apn-table { width: 100%; border-collapse: collapse; font-size: .9em; }
.apn-table th { background: #f0f4ff; padding: 10px 14px; text-align: left; border-bottom: 2px solid #dde3f0; font-weight: 700; color: #1a2340; }
.apn-table td { padding: 10px 14px; border-bottom: 1px solid #eef0f6; vertical-align: top; color: var(--text); }
.apn-table td:first-child { font-weight: 600; color: #1a2340; white-space: nowrap; }
.apn-table td.val, .apn-table td:last-child { font-family: monospace; color: #b00000; background: #fff5f5; }
.apn-table tbody tr:hover { background: #f8fafc; }
.copy-btn { background: #0d47a1; color: #fff; border: none; padding: 3px 10px; border-radius: 4px; cursor: pointer; font-size: .8em; margin-left: 6px; white-space: nowrap; }
.copy-btn:hover { background: #083380; }
.copy-btn.copied { background: #22c55e; }

/* =====================================================
   STEPS / DEVICE TABS / FAQ
   ===================================================== */
.steps-list { counter-reset: steps; list-style: none; padding: 0; }
.steps-list li { counter-increment: steps; display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.steps-list li::before { content: counter(steps); background: #0d47a1; color: #fff; border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85em; flex-shrink: 0; margin-top: 2px; }
.device-tabs { display: flex; gap: 0; border-bottom: 2px solid #dde3f0; margin-bottom: 0; }
.device-tab { padding: 10px 22px; cursor: pointer; border: none; background: none; font-size: .95em; color: #64748b; font-weight: 500; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all .15s; }
.device-tab.active { color: #0d47a1; border-bottom-color: #0d47a1; font-weight: 700; }
.device-panel { display: none; padding: 20px 0; }
.device-panel.active { display: block; }

/* =====================================================
   TOC / LAST UPDATED / BADGES
   ===================================================== */
.toc { background: #f8faff; border: 1px solid #dde3f0; border-radius: 8px; padding: 16px 20px; margin-bottom: 28px; }
.toc h3 { margin: 0 0 10px; font-size: .95em; color: #1a2340; font-weight: 700; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }
.toc a { color: #0d47a1; font-size: .9em; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.last-updated { font-size: .82em; color: #64748b; margin-bottom: 20px; }
.network-badge { display: inline-block; background: #0d47a1; color: #fff; padding: 3px 10px; border-radius: 12px; font-size: .75em; font-weight: 700; margin-left: 8px; vertical-align: middle; }
.related-links { background: #fff0f3; border: 2px solid #ffc0cc; border-radius: 16px; padding: 20px; margin: 24px 0; }
.related-links h3 { font-size: 1rem; font-weight: 800; color: #c9184a; margin-bottom: 12px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 16px 0; }
.related-card { border: 1px solid #dde3f0; border-radius: 8px; padding: 14px; text-decoration: none; color: #1a2340; transition: all .15s; display: block; }
.related-card:hover { background: #f0f6ff; border-color: #0d47a1; }
.related-card strong { display: block; margin-bottom: 4px; font-size: .9em; }
.related-card span { font-size: .8em; color: #64748b; }
.related-guides { margin: 20px 0; }

/* =====================================================
   GUIDE DIAGRAMS
   ===================================================== */
.guide-diagram { width: 100%; border-radius: 14px; margin: 22px 0; box-shadow: 0 6px 24px rgba(0,0,0,.09); display: block; background: #f9f9fb; }
.guide-diagram-caption { text-align: center; font-size: .78rem; color: #9ca3af; margin: -14px 0 18px; font-style: italic; }

/* =====================================================
   MVNO TABLE
   ===================================================== */
.mvno-table { width: 100%; border-collapse: collapse; font-size: .9em; margin: 12px 0; }
.mvno-table th { background: #f0f4ff; padding: 9px 12px; text-align: left; border-bottom: 2px solid #dde3f0; font-weight: 600; }
.mvno-table td { padding: 9px 12px; border-bottom: 1px solid #eef0f6; }

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-section { max-width: 800px; margin: 0 auto 48px; }
.about-section h2 { font-size: 1.4rem; margin-bottom: 16px; color: var(--pink); }
.about-section p { color: #374151; line-height: 1.8; margin-bottom: 14px; }
.team-card { background: #fff; border: 1px solid #ffe0e8; border-radius: 12px; padding: 20px 24px; margin-bottom: 16px; }
.team-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.team-card .role { color: var(--pink); font-size: .85em; font-weight: 700; margin-bottom: 8px; display: block; }
.team-card p { color: #6b7280; font-size: .9em; margin: 0; }
.criteria-list { padding-left: 20px; color: #374151; line-height: 2; list-style: disc; }
.intro { color: var(--muted); margin-bottom: 36px; }

/* =====================================================
   SITEMAP
   ===================================================== */
.sitemap-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 6px 20px; }
.sitemap-list li a { color: #0066cc; text-decoration: none; font-size: .9rem; display: block; padding: 3px 0; border-bottom: 1px solid #f0f4f8; }
.sitemap-list li a:hover { color: var(--pink); text-decoration: underline; }

/* =====================================================
   BLOG INDEX (blog.html / blog/index.html)
   ===================================================== */
.blog-hero { background: linear-gradient(135deg, var(--pink), var(--pink2)); padding: 52px 0 40px; text-align: center; color: #fff; }
.blog-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.04em; margin-bottom: 12px; }
.blog-hero p { font-size: 1.05rem; opacity: .88; max-width: 560px; margin: 0 auto; }
.blog-count { display: inline-block; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 16px; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.blog-grid-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 52px 0; }
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 52px 0; }
.blog-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img-link { display: block; overflow: hidden; aspect-ratio: 1200 / 630; }
.card-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.blog-card:hover .card-thumb { transform: scale(1.04); }
.card-bar { height: 4px; flex-shrink: 0; }
.card-bar-pink { background: var(--pink); } .card-bar-orange { background: var(--orange); } .card-bar-green { background: var(--green); } .card-bar-blue { background: var(--blue); } .card-bar-purple { background: var(--purple); } .card-bar-teal { background: var(--teal); }
.card-title { font-size: 1rem; font-weight: 800; margin-bottom: 8px; line-height: 1.35; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--pink); }
.card-intro { font-size: .875rem; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.card-link { font-size: .85rem; font-weight: 700; color: var(--pink); }
.card-read-more { display: inline-flex; align-items: center; gap: 5px; font-size: .875rem; font-weight: 800; padding: 8px 18px; border-radius: 999px; transition: all .18s; align-self: flex-start; text-decoration: none; }
.btn-read-pink { background: var(--pink-light); color: var(--pink); } .btn-read-pink:hover { background: var(--pink); color: #fff; }
.btn-read-orange { background: var(--orange-light); color: var(--orange); } .btn-read-orange:hover { background: var(--orange); color: #fff; }
.btn-read-green { background: var(--green-light); color: var(--green); } .btn-read-green:hover { background: var(--green); color: #fff; }
.btn-read-blue { background: var(--blue-light); color: var(--blue); } .btn-read-blue:hover { background: var(--blue); color: #fff; }
.btn-read-purple { background: var(--purple-light); color: var(--purple); } .btn-read-purple:hover { background: var(--purple); color: #fff; }
.btn-read-teal { background: var(--teal-light); color: var(--teal); } .btn-read-teal:hover { background: var(--teal); color: #fff; }

/* =====================================================
   404 PAGE
   ===================================================== */
.error-code { font-size: 7rem; font-weight: 900; color: var(--pink); line-height: 1; margin-bottom: 8px; letter-spacing: -4px; }
.error-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.error-desc { color: var(--muted); font-size: 1rem; max-width: 480px; margin: 0 auto 36px; }
.home-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--pink); color: #fff; padding: 13px 32px; border-radius: 999px; font-weight: 800; font-size: 1rem; box-shadow: 0 6px 20px rgba(255,77,109,.4); margin-bottom: 48px; transition: transform .15s; }
.home-btn:hover { transform: translateY(-2px); }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; max-width: 820px; margin: 0 auto; text-align: left; }
.link-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 18px; transition: all .15s; display: block; }
.link-card:hover { background: #fff; border-color: var(--pink); box-shadow: 0 4px 16px rgba(255,77,109,.12); transform: translateY(-1px); }
.link-card-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.link-card-title { font-size: .95rem; font-weight: 700; color: var(--text); }

/* =====================================================
   BYLINE / ARTICLE META
   ===================================================== */
.byline { font-size: .82em; color: #64748b; margin-bottom: 16px; }
.article-img { width: 100%; border-radius: var(--radius); margin-bottom: 20px; }
.lead { font-size: 1.05rem; color: #374151; max-width: 720px; margin-bottom: 20px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .net-grid { grid-template-columns: repeat(4, 1fr); }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .blog-grid-wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .blog-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .net-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.menu { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .article-shell { grid-template-columns: 1fr; }
  .page-shell { grid-template-columns: 1fr; }
  aside { position: static; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .blog-grid-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .blog-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .net-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .article { padding: 22px; }
  .error-code { font-size: 5rem; }
  .links-grid { grid-template-columns: 1fr 1fr; }
}

/* === INTRO PARAGRAPH === */
.intro-para {
  font-size: 1.05rem;
  color: #374151;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* === CLEAN ADDITIONS (no !important wars) === */

/* FAQ visible by default - clean implementation */

/* Card body flex column for proper "Read more" pinning */
.card-body { display: flex; flex-direction: column; }
.card-read-more, .card-link { margin-top: auto; }

/* Blog card image minimum height */
.card-thumb { min-height: 150px; }

/* Intro paragraph */
.intro-para { font-size: 1.05rem; color: #374151; margin-bottom: 20px; line-height: 1.8; }

/* Ad slot wrapper */
.ad-slot { margin: 24px 0; }
.ad-slot-sidebar { margin: 0 0 16px; }

/* Legal pages use .card container */
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 28px; box-shadow: 0 18px 50px rgba(15,23,42,.08); }

/* Blog page tools row */
.blog-tools { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.blog-tools a { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.34); padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: .86rem; }

/* Blog ad break row */
.blog-ad-break { grid-column: 1 / -1; }

/* =====================================================
   MOBILE HAMBURGER NAVIGATION
   ===================================================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: all .2s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--pink2);
  padding: 12px 0;
}
.mobile-nav a {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  padding: 10px 20px;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav a:hover { background: rgba(255,255,255,.1); }
.mobile-nav.open { display: flex; }
@media (max-width: 820px) {
  .hamburger { display: flex; }
  .btn-nav { display: none; }
}

/* =====================================================
   FAQ ACCORDION — Plus/Minus toggle
   ===================================================== */
.faq-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0;
}
.faq-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 30px);
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}
.faq-section h2 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 18px;
}
.faq-item {
  border-bottom: 1px solid #eef0f6;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-q {
  padding: 16px 18px 16px 0;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: .95rem;
  line-height: 1.4;
  user-select: none;
  -webkit-user-select: none;
  list-style: none;
}
.faq-q::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--pink-light);
  color: var(--pink);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 900;
  transition: all .2s;
  line-height: 1;
}
.faq-q:hover {
  color: var(--pink);
}
.faq-q:hover::after {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}
.faq-a {
  display: none;
  padding: 0 18px 16px 0;
  color: #374151;
  font-size: .93em;
  line-height: 1.75;
}
.faq-item.open .faq-a {
  display: block;
}
.faq-item.open .faq-q::after {
  content: "-";
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  transform: none;
}
.faq-item.open .faq-q {
  color: var(--pink);
}
