/* Ndangira News — homepage, archive, cards, author box.
   Authored on the theme's dark palette; the light-mode block in main.css flips it to a white site. */
.tn-wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.tn-home{padding-top:calc(var(--toa-nav-h,88px) + 8px);color:var(--toa-ink,#0a0a08);font-family:var(--font-body)}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* ticker */
.tn-ticker{display:flex;align-items:center;gap:14px;background:#b3001b;color:#fff;padding:10px 24px;font-size:14px;overflow:hidden}
.tn-ticker__lbl{flex:none;font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:11px;background:#fff;color:#b3001b;border-radius:4px;padding:3px 8px}
.tn-ticker__list{display:flex;gap:28px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
.tn-ticker__list::-webkit-scrollbar{display:none}
.tn-ticker a{color:#000000;text-decoration:none;font-weight:600}
.tn-ticker a:hover{text-decoration:underline}

/* masthead */
.tn-masthead{padding:40px 0 22px;border-bottom:1px solid var(--gray-2,rgba(10,10,8,.12))}
.tn-masthead__kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gray-4,rgba(10,10,8,.45));margin-bottom:10px}
.tn-masthead__kicker a{color:inherit;text-decoration:none}
.tn-masthead__title{font-family:var(--font-display);font-size:clamp(38px,6vw,72px);line-height:1.04;font-weight:900;letter-spacing:-.02em;margin:0}
.tn-masthead__sub{margin-top:10px;font-size:17px;color:var(--gray-5,rgba(10,10,8,.7));max-width:720px}
.tn-masthead--archive{padding-bottom:18px}
.tn-toolbar{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin-top:22px}
.tn-chips{display:flex;flex-wrap:wrap;gap:8px}
.tn-chips--cats{margin-top:14px}
.tn-chip{display:inline-block;padding:8px 16px;border-radius:100px;border:1px solid var(--gray-3,rgba(10,10,8,.25));color:var(--gray-5,rgba(10,10,8,.7));font-size:13px;font-weight:700;text-decoration:none;transition:.2s}
.tn-chip:hover{border-color:#000000;color:#000000}
.tn-chip.is-on{background:var(--accent,#c8ff00);border-color:var(--accent,#c8ff00);color:#08080a}
.tn-search{display:flex;align-items:center;border:1px solid var(--gray-3,rgba(10,10,8,.25));border-radius:100px;overflow:hidden;background:var(--gray-1,rgba(245,245,243,.06))}
.tn-search input{background:transparent;border:0;outline:0;color:inherit;padding:10px 16px;font-size:14px;width:210px;font-family:inherit}
.tn-search button{background:transparent;border:0;color:inherit;padding:0 14px;cursor:pointer;font-size:14px}

/* cards */
.tn-card{display:flex;flex-direction:column;gap:14px;min-width:0}
.tn-card__img{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:var(--gray-1,rgba(245,245,243,.06))}
.tn-card__img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--ease-out,ease)}
.tn-card:hover .tn-card__img img{transform:scale(1.04)}
.tn-card__ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:64px;font-weight:900;color:var(--gray-3,rgba(10,10,8,.25))}
.tn-card__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:800}
.tn-tag{color:var(--accent,#053c00);text-decoration:none}
.tn-tag--breaking{background:#b3001b;color:#fff;border-radius:4px;padding:2px 7px}
.tn-loc{color:var(--gray-4,rgba(10,10,8,.45));font-weight:700}
.tn-card__title{font-family:var(--font-display);font-size:22px;line-height:1.22;font-weight:800;margin:0}
.tn-card__title a{color:inherit;text-decoration:none}
.tn-card__title a:hover{text-decoration:underline;text-underline-offset:3px}
.tn-card__ex{margin-top:8px;color:var(--gray-5,rgba(10,10,8,.7));font-size:15px;line-height:1.55}
.tn-card__by{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px;font-size:12px;color:var(--gray-4,rgba(10,10,8,.45))}
.tn-card--lead .tn-card__title{font-size:clamp(28px,3.4vw,42px);line-height:1.12}
.tn-card--lead .tn-card__ex{font-size:17px}
.tn-card--side{flex-direction:row;gap:16px;align-items:flex-start;padding-bottom:20px;border-bottom:1px solid var(--gray-2,rgba(10,10,8,.12))}
.tn-card--side .tn-card__img{flex:0 0 42%;aspect-ratio:4/3}
.tn-card--side .tn-card__title{font-size:19px}

/* layout */
.tn-top{padding:34px 0 10px}
.tn-top__grid{display:grid;grid-template-columns:1.7fr 1fr;gap:36px}
.tn-top__side{display:flex;flex-direction:column;gap:20px}
.tn-latest{padding:34px 0 70px}
.tn-sec-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:22px;border-top:3px solid var(--toa-ink,#0a0a08);padding-top:14px}
.tn-sec-head__t{font-family:var(--font-display);font-size:28px;font-weight:900;margin:0}
.tn-sec-head__more{color:var(--accent,#053c00);font-weight:700;font-size:14px;text-decoration:none}
.tn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:34px 28px}
.tn-more{text-align:center;margin-top:44px}
.tn-btn{display:inline-block;background:var(--accent,#c8ff00);color:#08080a;font-weight:800;padding:14px 30px;border-radius:100px;text-decoration:none;font-size:14px}
.tn-btn:hover{opacity:.88}
.tn-pager{margin-top:44px;display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.tn-pager .page-numbers{padding:9px 15px;border:1px solid var(--gray-3,rgba(10,10,8,.25));border-radius:100px;color:inherit;text-decoration:none;font-size:14px;font-weight:700}
.tn-pager .page-numbers.current{background:var(--accent,#c8ff00);border-color:var(--accent,#c8ff00);color:#08080a}
.tn-empty{padding:70px 0;text-align:center}
.tn-empty h2{font-family:var(--font-display);font-size:30px;margin-bottom:8px}

/* article extras (single.php) */
.toa-dateline{font-weight:800;letter-spacing:.04em}
.toa-sl-meta__loc{display:inline-block;margin-right:6px}
.tn-author{display:flex;gap:18px;align-items:flex-start;margin:34px 0 10px;padding:22px;border:1px solid var(--gray-2,rgba(10,10,8,.12));border-radius:14px;background:var(--gray-1,rgba(245,245,243,.06))}
.tn-author__av img{width:72px;height:72px;border-radius:50%;display:block}
.tn-author__lbl{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--gray-4,rgba(10,10,8,.45));margin-bottom:2px}
.tn-author__name{font-family:var(--font-display);font-size:20px;font-weight:800;color:inherit;text-decoration:none}
.tn-author__bio{margin-top:6px;font-size:14px;line-height:1.6;color:var(--gray-5,rgba(10,10,8,.7))}

@media (max-width:980px){
  .tn-top__grid{grid-template-columns:1fr}
  .tn-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
  .tn-wrap{padding:0 16px}
  .tn-grid{grid-template-columns:1fr;gap:28px}
  .tn-card--side .tn-card__img{flex-basis:38%}
  .tn-search{width:100%}.tn-search input{width:100%}
  .tn-toolbar{flex-direction:column;align-items:stretch}
  .tn-card__title{font-size:21px}
}

/* ── Clean editable homepage (front-page.php) ── */
.toa-home-clean{padding-top:calc(var(--toa-nav-h,88px) + 8px);min-height:60vh;color:var(--toa-ink,#0a0a08);font-family:var(--font-body)}
.toa-home-clean__content{max-width:none;margin:0;padding:0}
.toa-home-clean__content>*:not(.alignfull):not(.alignwide):not(.elementor){max-width:1180px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}
.toa-home-clean__content>.alignwide{max-width:1380px;margin-left:auto;margin-right:auto}
.toa-home-clean__content>.alignfull{max-width:none;width:100%}
.toa-home-clean__hint{margin:40px auto;max-width:640px;padding:20px 24px;border:1px dashed rgba(10,10,12,.35);border-radius:10px;background:rgba(10,10,12,.04);font-size:15px;line-height:1.6}
