/* Akriti News - public theme (mobile first). Brand colours taken from the logo. */
:root {
  --brand: #d71920;
  --brand-dark: #a50f15;
  --saffron: #ffb000;
  --green: #138808;
  --ink: #141414;
  --muted: #5f6368;
  --line: #e7e7e7;
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --radius: 8px;
  --font: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
html { scroll-padding-top: 64px; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; left: 8px; top: 8px; z-index: 2000; background: #000; color: #fff; padding: 8px 12px; border-radius: 4px; }
.container { padding-left: 16px; padding-right: 16px; }

/* top bar + header */
.topbar { background: var(--ink); color: #ddd; font-size: 14px; padding: 4px 0; }
.topbar a { color: #ddd; }
.topbar a:hover { color: #fff; }
.site-header { padding: 10px 0; background: #fff; }
.brand-logo { width: 64px; height: 64px; object-fit: contain; }
.brand-name { display: block; font-weight: 800; font-size: 24px; line-height: 1.1; color: var(--brand); }
.brand-tagline { font-size: 13px; color: var(--muted); max-width: 260px; line-height: 1.3; }
.header-ad { flex: 1; display: none; justify-content: center; min-width: 0; }
.lang-switch { display: flex; gap: 4px; flex-shrink: 0; }
.lang-switch a { font-size: 14px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 20px; white-space: nowrap; }
.lang-switch a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 575.98px) {
  .brand-logo { width: 48px; height: 48px; }
  .brand-name { font-size: 19px; }
  .lang-switch { flex-direction: column; gap: 2px; }
  .lang-switch a { font-size: 12px; padding: 1px 7px; text-align: center; }
}
@media (min-width: 992px) {
  .brand-logo { width: 88px; height: 88px; }
  .header-ad { display: flex; }
}

/* navigation */
.main-nav { background: var(--brand); color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); z-index: 1020; }
.main-nav .container { min-height: 46px; gap: 4px; }
.nav-toggle, .nav-home { background: transparent; border: 0; color: #fff; padding: 8px; display: inline-flex; align-items: center; }
.nav-home:hover { color: var(--saffron); }
.nav-list { list-style: none; margin: 0; padding: 0; gap: 2px; flex-wrap: nowrap; overflow: visible; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: block; padding: 11px 10px; color: #fff; font-weight: 600; white-space: nowrap; }
.nav-list > li > a:hover, .nav-list > li > a.active { background: var(--brand-dark); color: #fff; }
.nav-list .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; list-style: none; margin: 0; padding: 6px 0; box-shadow: 0 6px 18px rgba(0,0,0,.15); border-radius: 0 0 var(--radius) var(--radius); }
.nav-list .sub a { display: block; padding: 7px 14px; color: var(--ink); }
.nav-list li.has-children:hover .sub, .nav-list li.has-children:focus-within .sub { display: block; }
.nav-search { display: flex; align-items: center; background: rgba(255,255,255,.15); border-radius: 20px; padding: 2px 4px 2px 12px; max-width: 220px; }
.nav-search input { background: transparent; border: 0; color: #fff; width: 100%; min-width: 0; font-size: 15px; }
.nav-search input::placeholder { color: rgba(255,255,255,.8); }
.nav-search input:focus { outline: none; }
.nav-search button { background: transparent; border: 0; color: #fff; padding: 6px; }
.mobile-menu { list-style: none; padding: 0; margin: 0 0 16px; }
.mobile-menu a { display: block; padding: 10px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
.mobile-menu ul { list-style: none; padding-left: 14px; }

/* ticker */
.ticker { background: #fff; border-bottom: 1px solid var(--line); font-size: 16px; }
.ticker .container { height: 40px; }
.ticker-label { background: var(--ink); color: #fff; font-weight: 800; padding: 0 14px; display: flex; align-items: center; white-space: nowrap; position: relative; }
.ticker-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 8px; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.ticker-viewport { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker-track { display: flex; list-style: none; margin: 0; padding: 0; white-space: nowrap; will-change: transform; }
.ticker-track li { padding: 0 28px 0 0; position: relative; }
.ticker-track li::after { content: "◆"; color: var(--brand); font-size: 10px; position: absolute; right: 9px; top: 50%; transform: translateY(-50%); }
.ticker-track.is-running { animation: ticker var(--ticker-duration, 40s) linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.paused .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(var(--ticker-shift, -50%)); } }
.ticker-toggle { border: 0; background: var(--bg-soft); padding: 0 10px; color: var(--ink); }
.ticker-toggle .i-play { display: none; }
.ticker.paused .ticker-toggle .i-play { display: inline; }
.ticker.paused .ticker-toggle .i-pause { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ticker-track.is-running { animation: none; }
  .ticker-viewport { overflow-x: auto; }
}

/* sections & cards */
.site-main { padding: 14px 0 32px; min-height: 60vh; }
.section-title { font-size: 20px; font-weight: 800; border-bottom: 2px solid var(--line); margin: 0 0 12px; display: flex; justify-content: space-between; align-items: flex-end; }
.section-title > span, .section-title > a > span { display: inline-block; border-bottom: 3px solid var(--cat, var(--brand)); margin-bottom: -2px; padding-bottom: 4px; }
.section-title .view-all { font-size: 14px; font-weight: 600; color: var(--brand); padding-bottom: 6px; }
.widget { margin-bottom: 20px; }
.card-news { position: relative; }
.card-thumb { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); aspect-ratio: 16 / 9; }
.img-cover, .card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card-news:hover .card-thumb img { transform: scale(1.03); }
.img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #f1f1f1, #e2e2e2); }
.card-title { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 6px 0 4px; }
.card-lg .card-title { font-size: 22px; }
.card-excerpt { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.card-cat { display: inline-block; color: var(--brand); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .02em; }
.card-time { color: var(--muted); font-size: 13px; }
.card-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.card-row:last-child { border-bottom: 0; }
.card-row .card-thumb { flex: 0 0 120px; width: 120px; }
.card-row .card-title { font-size: 16px; margin-top: 0; }
.badge-breaking { position: absolute; left: 8px; top: 8px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 3px; }
.badge-breaking.static { position: static; display: inline-block; margin-bottom: 6px; }
.cat-block { margin-bottom: 28px; }
.empty-state { padding: 40px 0; color: var(--muted); text-align: center; }
@media (min-width: 768px) { .card-row .card-thumb { flex-basis: 150px; width: 150px; } }

/* slider */
.news-slider { border-radius: var(--radius); overflow: hidden; background: #000; }
.news-slider .carousel-item { aspect-ratio: 16 / 9; }
.news-slider .slide-link { display: block; height: 100%; position: relative; color: #fff; }
.news-slider .slide-link picture, .news-slider .slide-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide-caption { position: absolute; inset: auto 0 0 0; padding: 48px 16px 34px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.slide-caption .card-cat { background: var(--brand); color: #fff; padding: 1px 8px; border-radius: 3px; margin-bottom: 6px; }
.slide-title { display: block; font-size: 20px; font-weight: 800; line-height: 1.3; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
@media (min-width: 992px) { .slide-title { font-size: 28px; } }
.news-slider-compact .carousel-item { aspect-ratio: 21 / 9; }
.news-slider .carousel-indicators { margin-bottom: 8px; }

/* ads */
.ad-slot { text-align: center; position: relative; margin: 10px auto; max-width: 100%; overflow: hidden; }
.ad-label { display: block; font-size: 11px; color: #999; letter-spacing: .08em; text-transform: uppercase; line-height: 1.6; }
.ad-slot img { display: inline-block; max-width: 100%; height: auto; }
.ad-carousel { position: relative; }
.ad-carousel .ad-item { display: none; }
.ad-carousel .ad-item.active { display: block; animation: adfade .5s; }
@keyframes adfade { from { opacity: 0; } to { opacity: 1; } }
.ad-frame { display: block; margin: 0 auto; }
.ad-sticky { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; margin: 0; background: #fff; box-shadow: 0 -2px 8px rgba(0,0,0,.15); padding: 2px 0; }
.ad-sticky .ad-label { display: none; }
.ad-close { position: absolute; right: 4px; top: -2px; border: 0; background: #fff; font-size: 22px; line-height: 1; padding: 2px 8px; border-radius: 0 0 0 6px; }
.header-ad .ad-slot { margin: 0; }
.ad-in-content { margin: 20px auto; clear: both; }

/* sidebar */
.most-read { counter-reset: mr; list-style: none; padding: 0; margin: 0; }
.most-read li { counter-increment: mr; display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; line-height: 1.35; }
.most-read li::before { content: counter(mr); font-size: 26px; font-weight: 800; color: var(--brand); line-height: 1; min-width: 24px; }
@media (min-width: 992px) { .sticky-ad { position: sticky; top: 64px; } }

/* article */
.article-title { font-size: 26px; font-weight: 800; line-height: 1.3; margin: 0 0 10px; }
@media (min-width: 992px) { .article-title { font-size: 34px; } }
.article-standfirst { font-size: 19px; color: #333; font-weight: 600; border-left: 4px solid var(--saffron); padding-left: 12px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0; margin-bottom: 12px; }
.article-meta a { color: var(--brand); font-weight: 600; }
.share { display: flex; flex-wrap: wrap; gap: 6px; }
.share a, .share button { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 20px; border: 0; color: #fff; }
.share-wa { background: #1fa855; }
.share-fb { background: #1877f2; }
.share-x { background: #000; }
.share-copy { background: var(--bg-soft); color: var(--ink) !important; border: 1px solid var(--line) !important; }
.share a:hover { color: #fff; opacity: .9; }
.share-bottom { margin: 20px 0; }
.share-bottom .share-wa { font-size: 16px; padding: 10px 22px; }
.article-figure { margin: 0 0 16px; }
.article-figure img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }
.article-figure figcaption { font-size: 14px; color: var(--muted); padding-top: 6px; }
.article-body { font-size: 19px; line-height: 1.75; overflow-wrap: anywhere; }
.article-body p { margin-bottom: 1.1em; }
.article-body h2, .article-body h3 { font-weight: 800; margin: 1.3em 0 .5em; }
.article-body blockquote { border-left: 4px solid var(--brand); background: var(--bg-soft); padding: 12px 16px; font-style: italic; }
.article-body img, .article-body iframe { max-width: 100%; border-radius: var(--radius); }
.article-body iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.article-body a { color: var(--brand); text-decoration: underline; }
.article-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 6px 8px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.article-tags a { background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 12px; border-radius: 20px; font-size: 14px; }
.available-in { background: #fff8e6; border: 1px solid #ffe2a3; padding: 8px 12px; border-radius: var(--radius); font-size: 15px; }
.available-in a { color: var(--brand); font-weight: 700; margin-left: 8px; }
.related { margin-top: 24px; }

/* listing */
.listing-title { font-size: 28px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.rss-link { color: #f26522; }
.listing-intro { color: var(--muted); }
.listing .card-lg { margin-bottom: 12px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; gap: 8px; }
.pager-info { color: var(--muted); font-size: 14px; }
.search-form { display: flex; gap: 8px; margin: 12px 0; max-width: 560px; }
.btn-brand { background: var(--brand); color: #fff; border: 0; }
.btn-brand:hover { background: var(--brand-dark); color: #fff; }
.author-photo img { width: 96px; height: 96px; object-fit: cover; }
.error-page { padding: 48px 0; }
.error-code { font-size: 72px; font-weight: 800; color: var(--brand); margin: 0; }

/* footer */
.site-footer { background: #111; color: #cfcfcf; padding: 32px 0 80px; font-size: 15px; }
@media (min-width: 992px) { .site-footer { padding-bottom: 20px; } }
.site-footer a { color: #e7e7e7; }
.site-footer a:hover { color: var(--saffron); }
.footer-brand span { font-weight: 800; font-size: 22px; color: #fff; }
.footer-title { font-size: 16px; color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 3px 0; }
.footer-links.two-col { columns: 2; }
.footer-bottom { border-top: 1px solid #2b2b2b; margin-top: 24px; padding-top: 12px; font-size: 14px; text-align: center; color: #999; }
.social { display: flex; gap: 8px; }
.social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.offcanvas .social a { background: var(--bg-soft); color: var(--ink); }

/* "see all" button on category sliders */
.news-slider { position: relative; }
.news-slider .slider-more {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  background: #d71920; color: #fff; font-weight: 700; font-size: .9rem;
  padding: 6px 14px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.news-slider .slider-more:hover, .news-slider .slider-more:focus { background: #a80f15; color: #fff; }
@media (max-width: 575.98px) { .news-slider .slider-more { font-size: .8rem; padding: 4px 10px; } }

/* Trending news scroller (home): fills the space under the main slider, scrolls upward */
.trending-box { flex: 1 1 auto; display: flex; flex-direction: column; margin-top: .75rem; min-height: 280px;
  background: #fff; border: 1px solid #eee; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.06); overflow: hidden; }
.trending-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .6rem; border-bottom: 2px solid #d71920; }
.trending-label { display: inline-flex; align-items: center; gap: .45rem; background: #d71920; color: #fff; font-weight: 700;
  padding: .35rem .8rem; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.trending-label:hover { color: #fff; background: #a80f15; }
.trending-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: trend-pulse 1.2s infinite; }
@keyframes trend-pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.trending-more { font-weight: 700; color: #d71920; text-decoration: none; white-space: nowrap; font-size: .9rem; }
.trending-viewport { position: relative; flex: 1 1 auto; overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent); }
.trending-track { position: absolute; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem;
  padding: .75rem; animation: trend-up var(--trend-duration, 50s) linear infinite; }
.trending-box:hover .trending-track, .trending-box:focus-within .trending-track { animation-play-state: paused; }
@keyframes trend-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.trending-item { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #222; min-width: 0; }
.trending-item:hover .trending-title { color: #d71920; }
.trending-item picture, .trending-item img, .trending-thumb { flex: 0 0 110px; width: 110px; height: 72px; border-radius: 8px; object-fit: cover; background: #eee; }
.trending-title { font-weight: 600; font-size: .92rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767.98px) {
  .trending-track { grid-template-columns: 1fr; }
  .trending-box { min-height: 320px; max-height: 360px; }
  .trending-item picture, .trending-item img, .trending-thumb { flex-basis: 90px; width: 90px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) { .trending-track { animation: none; position: static; } .trending-viewport { overflow-y: auto; } }

/* News without a photo: site logo centred on a soft background */
img.img-fallback { display: block; width: 100%; height: 100%; object-fit: contain !important; object-position: center;
  background: linear-gradient(135deg, #fff7ef, #fde3e3) !important; padding: 10%; box-sizing: border-box; }
.trending-item img.img-fallback { padding: 6px; }

/* Article toolbar: share buttons + listen (TTS) */
.share-listen { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; margin: .75rem 0 1rem; padding: .6rem 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.sl-share, .sl-listen { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.sl-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .85rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, filter .15s; }
.sl-btn:hover, .sl-btn:focus-visible { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.sl-fb { background: #1877f2; font-size: 1.1rem; } .sl-x { background: #111; font-size: 1rem; } .sl-wa { background: #25d366; }
.sl-tg { background: #229ed9; } .sl-in { background: #0a66c2; }
.sl-copy { background: #eef0f3; color: #333; font-size: 1rem; } .sl-copy:hover { color: #333; } .sl-copy.done { background: #d1f2dc; }
.sl-pill { height: 40px; padding: 0 .9rem; border-radius: 999px; border: 1px solid #ddd; background: #f5f6f8; font-weight: 700; cursor: pointer; }
.sl-tip { position: absolute; bottom: 115%; left: 50%; transform: translateX(-50%); background: #222; color: #fff; font-size: .75rem;
  font-weight: 600; padding: .25rem .5rem; border-radius: 6px; white-space: nowrap; pointer-events: none; }
.sl-play { height: 42px; padding: 0 1.1rem; border: 0; border-radius: 8px; background: #e0461f; color: #fff; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.sl-play:hover:not(:disabled) { background: #c23a17; }
.sl-listen.is-playing .sl-play { opacity: .6; }
.sl-ctl { height: 42px; padding: 0 .8rem; border: 1px solid #ddd; border-radius: 8px; background: #fff; font-weight: 600; cursor: pointer; }
.sl-ctl:disabled, .sl-play:disabled { opacity: .45; cursor: not-allowed; }
.sl-speed { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; margin: 0; }
.sl-rate { height: 38px; border: 1px solid #ddd; border-radius: 8px; padding: 0 .4rem; background: #fff; }
@media (max-width: 575.98px) { .sl-btn { width: 36px; height: 36px; } .sl-play, .sl-ctl { height: 38px; font-size: .9rem; padding: 0 .6rem; } }

/* Copy protection: no text selection on public pages (form fields still work) */
html.no-copy body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html.no-copy input, html.no-copy textarea, html.no-copy select, html.no-copy [contenteditable="true"] { -webkit-user-select: text; user-select: text; }
html.no-copy img { -webkit-user-drag: none; user-drag: none; }
@media print { html.no-copy body { display: none !important; } }

/* footer-glow (world colours): ocean blue -> teal -> green, slow moving sheen + glowing top edge */
.site-footer { position: relative; overflow: hidden; color: #e3f6ef;
  background: linear-gradient(120deg, #0b2e59 0%, #0e5a8a 25%, #0f8b8d 50%, #1e9e5a 75%, #0b2e59 100%);
  background-size: 250% 250%; animation: footer-glow 16s ease-in-out infinite; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, #00c6ff, #7cff9e, #ffffff, #7cff9e, #00c6ff); background-size: 200% 100%;
  box-shadow: 0 0 16px 3px rgba(0, 230, 200, .6); animation: footer-edge 6s linear infinite; }
.site-footer::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 80% at 12% 0%, rgba(120, 255, 200, .18), transparent 60%),
              radial-gradient(50% 70% at 92% 100%, rgba(0, 190, 255, .20), transparent 60%); }
.site-footer > * { position: relative; z-index: 1; }
@keyframes footer-glow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes footer-edge { from { background-position: 0% 0; } to { background-position: 200% 0; } }
.site-footer a { color: #fff; }
.site-footer a:hover, .site-footer a:focus-visible { color: #9dffc0; text-shadow: 0 0 8px rgba(124, 255, 158, .7); }
.footer-title { color: #9dffc0; text-shadow: 0 0 10px rgba(124, 255, 158, .4); }
.footer-brand span { color: #fff; text-shadow: 0 0 12px rgba(255, 255, 255, .35); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .25); color: #d4efe6; }
@media (prefers-reduced-motion: reduce) { .site-footer, .site-footer::before { animation: none; } }

/* header-world: top bar + menu bar in the footer's world colours */
.topbar { background: linear-gradient(90deg, #0b2e59, #0e5a8a 60%, #0f8b8d); color: #d9f3ff; }
.topbar a { color: #d9f3ff; }
.topbar a:hover { color: #9dffc0; }
.main-nav { position: relative; color: #fff;
  background: linear-gradient(120deg, #0b2e59 0%, #0e5a8a 25%, #0f8b8d 50%, #1e9e5a 75%, #0b2e59 100%);
  background-size: 250% 250%; animation: footer-glow 16s ease-in-out infinite;
  box-shadow: 0 2px 10px rgba(11, 46, 89, .35); }
.main-nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, #00c6ff, #7cff9e, #ffffff, #7cff9e, #00c6ff); background-size: 200% 100%;
  box-shadow: 0 0 12px 2px rgba(0, 230, 200, .55); animation: footer-edge 6s linear infinite; }
.nav-list > li > a:hover, .nav-list > li > a.active { background: rgba(255, 255, 255, .16); color: #fff;
  box-shadow: inset 0 -3px 0 #7cff9e; text-shadow: 0 0 8px rgba(124, 255, 158, .6); }
.ticker-label { background: linear-gradient(90deg, #0b2e59, #0f8b8d); }
.ticker-label::before { background: #7cff9e; }
.ticker-track li::after { color: #0f8b8d; }
@media (prefers-reduced-motion: reduce) { .main-nav, .main-nav::after { animation: none; } }
/* end header-world */

/* brand-name-world: site name in the header uses the theme gradient instead of red */
.brand-name { color: #0e5a8a;
  background: linear-gradient(90deg, #0b2e59, #0e5a8a 30%, #0f8b8d 60%, #1e9e5a 85%, #0b2e59);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: brand-shine 8s linear infinite; }
@keyframes brand-shine { from { background-position: 0% 0; } to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { .brand-name { animation: none; } }
@media (forced-colors: active) { .brand-name { -webkit-text-fill-color: currentColor; background: none; } }
