/*
Theme Name: Naija USSD Codes
Theme URI: https://naijaussdcodes.com/
Author: Naija USSD Codes
Author URI: https://naijaussdcodes.com/about/
Description: The Naija USSD Codes site (verified bank and wallet USSD codes for Nigeria) as a WordPress theme. It imports the site's pages with their own head tags, schema, CSS and tools, serves /llms.txt, /sitemap.xml and the social cards from the theme, and styles any page or post made in WordPress in the same dark glow design.
Version: 1.0.2
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: naija-ussd-codes
Tags: one-column, custom-menu, dark, accessibility-ready, blog
*/
@font-face{font-family:"Inter Fallback";src:local("Arial");size-adjust:107.4%;ascent-override:90.2%;descent-override:22.48%;line-gap-override:0%}
:root{--bg:#fafaf9;--ink:#111;--muted:#57534e;--card:#fff;--line:#e7e5e4;--brand:#c2410c;--signal:#ff6a00;--warn:#b42318;--lcd:#0b0b0c}
@media (prefers-color-scheme:dark){:root{--bg:#0b0b0c;--ink:#f5f5f4;--muted:#a8a29e;--card:#171717;--line:#2e2e2e;--brand:#ff8a3d;--warn:#ff9a8e;--lcd:#000}}
*{box-sizing:border-box}
body{margin:0;font:400 1.0625rem/1.65 "Inter","Inter Fallback",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--bg)}
a{color:var(--brand);font-weight:600}
a:focus-visible,button:focus-visible,.scroll:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.wrap{max-width:68rem;margin:0 auto;padding:0 1rem}
body>header{background:var(--card);border-bottom:1px solid var(--line)}
body>header .wrap{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;align-items:center;padding:.8rem 1rem}
body>header strong{margin-right:auto;font-size:1.1rem}
nav ul{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;list-style:none;margin:0;padding:0}
.crumbs{font-size:.9rem;color:var(--muted);padding-top:1rem}
.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:1.5rem;align-items:start;padding:1rem 0 .5rem}
@media(max-width:52rem){.hero{grid-template-columns:1fr}}
h1{font-size:clamp(2rem,5.5vw,3.1rem);line-height:1.1;letter-spacing:-.02em;font-weight:700;margin:.5rem 0 1rem}
h2{font-size:1.6rem;line-height:1.25;letter-spacing:-.01em;font-weight:700;margin:3rem 0 .75rem}
h3{font-size:1.1rem;margin:1.5rem 0 .3rem}
article>section{max-width:52rem}
.meta{color:var(--muted);font-size:.9rem}
code{font:600 .95em "Inter","Inter Fallback",system-ui,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.02em;background:color-mix(in srgb,var(--brand) 12%,transparent);padding:.1em .45em;border-radius:6px;white-space:nowrap}
.dial{background:var(--lcd);color:#fff;border-radius:24px;padding:1.5rem;border:1px solid var(--line)}
.dial p{margin:0}
.dial-label{color:#a8a29e;font-size:.9rem}
.dial-code code{background:none;color:var(--signal);font-size:clamp(2.8rem,9vw,3.8rem);padding:0;letter-spacing:.04em}
.dial-hint{color:#d6d3d1;margin:.25rem 0 1rem!important}
.dial-actions{display:flex;flex-wrap:wrap;gap:.6rem}
.dial-sub{margin-top:1.1rem!important;padding-top:.9rem;border-top:1px dashed #3f3f46;color:#d6d3d1;font-size:.95rem}
.dial-sub code{background:#262626;color:#fff}
.sos{grid-column:1/-1;background:var(--card);border:2px solid var(--warn);border-radius:14px;padding:.7rem 1rem}
.sos code{color:var(--warn)}
.cta{display:inline-block;background:var(--signal);color:#111;border:2px solid var(--signal);padding:.65rem 1.2rem;border-radius:999px;font:600 1rem "Inter","Inter Fallback",system-ui,sans-serif;text-decoration:none;cursor:pointer;margin:.25rem .5rem .25rem 0}
.cta.alt{background:transparent;color:var(--brand);border-color:currentColor}
.dial .cta.alt{color:#fff}
.jump{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;padding:0;margin:1rem 0 0}
.jump a{display:block;padding:.35rem .9rem;border:1px solid var(--line);background:var(--card);border-radius:999px;text-decoration:none}
.steps{list-style:none;counter-reset:s;padding:0}
.steps li{counter-increment:s;position:relative;padding:.2rem 0 1rem 3.1rem}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:2.1rem;height:2.1rem;border-radius:50%;background:var(--brand);color:var(--card);display:grid;place-items:center;font-weight:700}
.scroll{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--card)}
table{border-collapse:collapse;width:100%;min-width:32rem}
caption{text-align:left;padding:.75rem 1rem;color:var(--muted);font-size:.9rem}
th,td{text-align:left;padding:.6rem 1rem;border-top:1px solid var(--line);vertical-align:middle}
thead th{background:var(--lcd);color:#fff;border-top:0}
.danger th,.danger td{color:var(--warn);background:color-mix(in srgb,var(--warn) 10%,var(--card))}
.cp.sm{margin-left:.5rem;font:600 .8rem "Inter","Inter Fallback",system-ui,sans-serif;border:1px solid var(--line);background:var(--card);color:var(--brand);border-radius:999px;padding:.15rem .7rem;cursor:pointer}
.note{background:var(--card);border:1px solid var(--line);border-left:5px solid var(--brand);border-radius:10px;padding:.9rem 1.1rem;margin:1.25rem 0}
footer{border-top:1px solid var(--line);margin-top:3rem;padding:1.5rem 0;color:var(--muted);font-size:.9rem}
.tool{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.25rem}
.tool label{display:block;font-weight:600;margin:.75rem 0 .25rem}
.tool select,.tool input{width:100%;max-width:26rem;font:inherit;padding:.6rem .75rem;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink)}
.tool output{display:block;margin-top:1rem;font-size:1.5rem;font-weight:700;color:var(--brand)}
.msg{color:var(--warn);min-height:1.5em;margin:.5rem 0 0}
code{font:600 .92em "Inter","Inter Fallback",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.01em;line-height:1.2;padding:.12em .4em}
.dial-code code{font-weight:700}
dl{display:grid;grid-template-columns:10rem 1fr;border-top:1px solid var(--line);margin:0}
dt,dd{margin:0;padding:.8rem 0;border-bottom:1px solid var(--line)}
dt{font-weight:600}
@media(max-width:40rem){dl{grid-template-columns:1fr}dt{padding-bottom:0;border-bottom:0}dd{padding-top:.2rem}}
.wrap{max-width:60rem}
a{font-weight:inherit;text-decoration-thickness:1px;text-underline-offset:3px}
body>header a,.crumbs a,.jump a{text-decoration:none}
body>header nav a{font-weight:500;color:var(--ink)}
body>header strong a{font-weight:700;color:var(--ink)}
.crumbs a{color:var(--muted)}
.jump a{font-weight:500;color:var(--ink)}
h1{font-size:clamp(1.9rem,4.4vw,2.6rem);line-height:1.15;letter-spacing:-.015em}
h2{font-size:1.5rem;line-height:1.3;margin:0 0 1rem}
h3{font-size:1.05rem;line-height:1.4;margin:1.5rem 0 .35rem}
article>section{max-width:none;border-top:1px solid var(--line);margin-top:2.75rem;padding-top:1.75rem}
article>section>p,article>section>ul,article>section>ol,article>section>dl{max-width:46rem}
.cta{font-weight:600}
.faqs{border:1px solid var(--line);border-radius:16px;background:var(--card);overflow:hidden}
.faq+.faq{border-top:1px solid var(--line)}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover{background:var(--bg)}
.faq summary h3{margin:0;font-size:1.05rem;font-weight:600;line-height:1.4}
.faq summary::after{content:"+";flex:none;width:1.9rem;height:1.9rem;border-radius:50%;display:grid;place-items:center;background:var(--bg);color:var(--brand);font-weight:700;font-size:1.25rem;line-height:1}
.faq[open] summary::after{content:"\2212";background:var(--signal);color:#111}
.faq .a{padding:0 1.25rem 1.15rem;max-width:46rem}
.faq .a p{margin:0}
.faq code{white-space:normal;overflow-wrap:anywhere}
:root{--bg:#0a0a0b;--ink:#f4f4f5;--muted:#a1a1aa;--card:#131315;--line:#26262b;--brand:#ff8a3d;--signal:#ff6a00;--warn:#ff9a8e;--lcd:#000}
body{background:radial-gradient(60rem 26rem at 50% -4rem,rgba(255,106,0,.30),transparent 70%) no-repeat,#0a0a0b}
body>header{background:transparent;border-bottom-color:#26262b}
.hero{grid-template-columns:1fr;text-align:center;justify-items:center;padding-top:2.25rem}
.hero header{max-width:44rem}
.dial{width:100%;max-width:26rem;text-align:left;border:1px solid #ff6a00;box-shadow:0 0 60px rgba(255,106,0,.25)}
.sos{width:100%;max-width:44rem;text-align:left}
.jump{justify-content:center}
h1{font-weight:800}
h2::before{content:"";display:inline-block;width:.4rem;height:1.05em;background:#ff6a00;border-radius:3px;margin-right:.6rem;vertical-align:-.15em}
thead th{background:#ff6a00;color:#111}
section[aria-labelledby=codes] .scroll{border:0;background:transparent;overflow:visible}
section[aria-labelledby=codes] table{min-width:0;display:block}
section[aria-labelledby=codes] thead{position:absolute;left:-9999px}
section[aria-labelledby=codes] caption{display:block;padding:0 0 .75rem}
section[aria-labelledby=codes] tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(15.5rem,1fr));gap:.75rem}
section[aria-labelledby=codes] tr{display:flex;flex-direction:column;gap:.45rem;border:1px solid var(--line);border-radius:16px;padding:1rem;background:var(--card)}
section[aria-labelledby=codes] th,section[aria-labelledby=codes] td{display:block;padding:0;border:0;background:none}
section[aria-labelledby=codes] th{font-size:.98rem}
section[aria-labelledby=codes] tr.danger{border-color:var(--warn);background:color-mix(in srgb,var(--warn) 9%,var(--card))}
.logo{font-size:1.2rem;font-weight:800;letter-spacing:-.01em;text-decoration:none;display:inline-flex;align-items:center;gap:.3em}
.logo .n,.logo .c,.brand .n{color:#ff6a00}
.logo .u{color:var(--ink)}
.logo .mark{display:inline-grid;place-items:center;width:1.9rem;height:1.9rem;border-radius:8px;background:#ff6a00;color:#111;font:700 .95rem "Inter","Inter Fallback",system-ui,sans-serif;letter-spacing:0;margin-right:.35rem}
.brand{font-weight:700}
h4{font-size:1rem;line-height:1.4;margin:1rem 0 .15rem;color:var(--brand);font-weight:600}
h4+p{margin-top:0}
.wrapcode{white-space:normal;overflow-wrap:anywhere}
body>header nav a,.crumbs a,footer a{display:inline-block;padding:.45rem .2rem}
.scroll th a{display:inline-block;padding:.4rem 0}
.jump a,.cta,.faq summary{min-height:44px}
/* Rules found on generated pages but not in the shell */
body>header a,.crumbs a{text-decoration:none}
.brand .n{color:#ff6a00}
.faq summary{min-height:44px}
.facts{margin:1rem 0 0;max-width:46rem}
.crumbs ol{list-style:none}
article>section>p,article>section>ul,article>section>ol,article>section>dl,.faq .a,.facts{max-width:none}
body>header strong{display:flex}
.logo img{display:block;height:30px;width:auto}
.bico{width:2.4rem;height:2.4rem;border-radius:.65rem;object-fit:contain;vertical-align:middle;margin-right:.6rem;flex:none;background:#131315}
h1 .bico{width:2.9rem;height:2.9rem;margin-top:-.25rem}
.bc .bico{display:block;margin:0 0 .35rem}
#fr .bico,th .bico{width:1.9rem;height:1.9rem;margin-right:.55rem}
#fr a>span{display:flex;align-items:center}
article>section>p,article>section>ul,article>section>ol,article>section>dl,.faq .a{max-width:none}
article>section>p,article>section>ul,article>section>ol{max-width:46rem}
.mail{font-size:1.25rem;font-weight:700}
article>section>p,article>section>ul,article>section>ol,.faq .a{max-width:none}
article>section>p,article>section>ul,article>section>dl{max-width:46rem}
article>section>p,article>section>ul,article>section>dl,.faq .a{max-width:none}
article>section>p{max-width:46rem}
.jump a,.faq summary{min-height:44px}
article>section>p,.faq .a{max-width:none}
a:focus-visible,button:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
article>section>p,article>section>ul{max-width:46rem}
article>section>p,article>section>ul,.faq .a{max-width:none}
body>header a{text-decoration:none}
body>header nav a,footer a{display:inline-block;padding:.45rem .2rem}
.hero.home{padding-bottom:0}
.hero.home header{max-width:46rem}
.finder{width:100%;max-width:38rem;text-align:left;margin:1.5rem auto 0}
.finder label{display:block;font-weight:600;margin-bottom:.4rem}
.finder input{width:100%;font:inherit;font-size:1.1rem;padding:.85rem 1.1rem;border-radius:999px;border:1px solid #ff6a00;background:#000;color:var(--ink);box-shadow:0 0 50px rgba(255,106,0,.22)}
.finder input::placeholder{color:#71717a}
#fr{list-style:none;margin:.75rem 0 0;padding:0;display:grid;gap:.5rem}
#fr a{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 1rem;border:1px solid var(--line);border-radius:14px;background:var(--card);text-decoration:none;color:var(--ink);font-weight:600}
#fr a:hover,#fr a:focus-visible{border-color:#ff6a00}
#fr code{background:none;color:var(--signal);font-size:1.2rem;padding:0}
#fm{color:var(--muted);min-height:1.4em;margin:.5rem 0 0;font-size:.95rem}
.trio{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;list-style:none;padding:0;margin:1.25rem 0 0;color:var(--muted);font-size:.92rem}
.trio li{border:1px solid var(--line);border-radius:999px;padding:.25rem .85rem;background:var(--card)}
.bgrid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.75rem}
.bc{display:flex;flex-direction:column;gap:.35rem;height:100%;padding:1.1rem;border:1px solid var(--line);border-radius:18px;background:var(--card);text-decoration:none;color:var(--ink)}
.bc:hover,.bc:focus-visible{border-color:#ff6a00;box-shadow:0 0 30px rgba(255,106,0,.18)}
.bc .bn{font-weight:600}
.bc code{background:none;color:var(--signal);padding:0;font-size:2rem;font-weight:700;letter-spacing:.03em}
.bc .go{color:var(--brand);font-size:.9rem}
.two{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;max-width:none}
@media(max-width:46rem){.two{grid-template-columns:1fr}}
.two table{min-width:0}
.gl{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(16rem,1fr));gap:.75rem}
.gl a{display:block;height:100%;padding:1rem 1.1rem;border:1px solid var(--line);border-radius:16px;background:var(--card);text-decoration:none;color:var(--ink)}
.gl a:hover{border-color:#ff6a00}
.gl strong{display:block;color:var(--brand);margin-bottom:.2rem}
.msg,output,.faq .a p{overflow-wrap:anywhere}
.tool label.chk{display:flex;gap:.5rem;align-items:flex-start;font-weight:400}
.tool input[type=checkbox]{width:auto;max-width:none;margin-top:.4rem}
.tool input:disabled{opacity:.55}
article>section>p,article>section>dl{max-width:46rem}
article>section>p,article>section>dl,.faq .a{max-width:none}
article>section>p,article>section>ol{max-width:46rem}
article>section>p,article>section>ol,.faq .a{max-width:none}
/* WordPress content (pages and posts made in the editor, archives, search) */
.skip{position:absolute;left:-9999px;top:0}
.skip:focus{left:1rem;top:1rem;z-index:100;background:var(--signal);color:#111;padding:.5rem 1rem;border-radius:8px}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.crumbs-list{list-style:none;display:flex;gap:.5rem;padding:0;margin:0;flex-wrap:wrap}
.entry,.entry-head{max-width:none}
.entry-head{padding:1.5rem 0 .5rem}
.entry-content{max-width:none}
.entry-content>*+*{margin-top:1rem}
.entry-content h2{margin-top:2.5rem}
.entry-content img,.entry-thumb img,.post-card img{max-width:100%;height:auto;border-radius:12px}
.entry-content figure,.entry-thumb{margin:1.5rem 0}
.entry-content figcaption,.wp-caption-text,.wp-element-caption{color:var(--muted);font-size:.9rem;margin-top:.4rem}
.entry-content blockquote{margin:1.5rem 0;padding:.25rem 0 .25rem 1.1rem;border-left:4px solid var(--brand);color:var(--ink)}
.entry-content pre{overflow-x:auto;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:1rem}
.entry-content pre code{white-space:pre;background:none;padding:0}
.entry-content table{min-width:0}
.entry-content .wp-block-table{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.entry-content .wp-block-table :where(th,td){border:0;border-top:1px solid var(--line)}
.entry-content .wp-block-table thead{border-bottom:0}
.entry-content .wp-block-table thead :where(th){border-top:0}
.entry-content hr{border:0;border-top:1px solid var(--line);margin:2rem 0}
.entry-content iframe,.entry-content video{max-width:100%}
.alignleft{float:left;margin:.3rem 1.25rem 1rem 0}
.alignright{float:right;margin:.3rem 0 1rem 1.25rem}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.alignwide,.alignfull{max-width:none}
.wp-block-button__link{display:inline-block;background:var(--signal);color:#111;border-radius:999px;padding:.65rem 1.2rem;text-decoration:none;font-weight:600}
.post-list{display:grid;gap:1rem}
.post-card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:1.1rem 1.25rem}
.post-card h2{margin:0 0 .25rem;font-size:1.25rem}
.post-card h2::before{display:none}
.post-card h2 a{color:var(--ink);text-decoration:none}
.post-card p{margin:.4rem 0 0}
.navigation{margin:2rem 0}
.nav-links{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between}
.pagination .nav-links{justify-content:flex-start}
.page-numbers{display:inline-block;padding:.35rem .9rem;border:1px solid var(--line);border-radius:999px;background:var(--card);text-decoration:none;color:var(--ink)}
.page-numbers.current{background:var(--signal);border-color:var(--signal);color:#111}
.search-form{max-width:32rem;margin:1rem 0}
.search-form button{margin-top:.75rem}
.sticky,.bypostauthor,.gallery-caption{outline:0}
