:root{
  /* Brand palette */
  --np-accent:        #A6192E;   /* deep newspaper red */
  --np-accent-dark:   #7E1122;
  --np-accent-light:  #E85D6B;
  --np-navy:          #14181F;   /* near-black navy, header/footer/sidebar */
  --np-navy-soft:     #1F2530;
  --np-ink:           #1C1E22;   /* body copy */
  --np-ink-soft:      #5B6270;   /* secondary text */
  --np-paper:         #FBFAF7;   /* off-white "paper" background */
  --np-paper-alt:     #F1EFE9;
  --np-line:          #E4E1D8;   /* hairline rules, table borders */
  --np-white:         #FFFFFF;
  --np-gold:          #B98A2B;   /* opinion / featured accent, used sparingly */
  --np-success:       #1E7E4C;
  --np-warning:       #B9791F;
  --np-danger:        #A6192E;

  /* Typography */
  --np-font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --np-font-body: 'Source Sans Pro', -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Spacing scale */
  --np-space-1: 4px;
  --np-space-2: 8px;
  --np-space-3: 16px;
  --np-space-4: 24px;
  --np-space-5: 40px;
  --np-space-6: 64px;

  --np-radius: 3px;
  --np-shadow: 0 2px 10px rgba(20,24,31,0.08);
  --np-shadow-lg: 0 10px 30px rgba(20,24,31,0.12);
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */
body{
  font-family: var(--np-font-body);
  color: var(--np-ink);
  background-color: var(--np-paper);
}
h1,h2,h3,h4,h5,h6,
.np-heading{
  font-family: var(--np-font-head);
  font-weight: 700;
  color: var(--np-navy);
  text-transform: none;
  letter-spacing: 0;
}
a{ color: var(--np-accent); }
a:hover, a:focus{ color: var(--np-accent-dark); }
::selection{ background: var(--np-accent); color:#fff; }

.np-eyebrow{
  display:inline-block;
  font-family: var(--np-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--np-accent);
  margin-bottom: var(--np-space-2);
}
.np-rule{
  border: 0;
  border-top: 3px solid var(--np-navy);
  margin: var(--np-space-3) 0;
}
.np-rule--accent{ border-top-color: var(--np-accent); border-top-width: 2px; }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.np-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family: var(--np-font-body);
  font-weight:700;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  min-height:44px;
  padding:12px 26px;
  border-radius: var(--np-radius);
  border:2px solid var(--np-accent);
  background: var(--np-accent);
  color:#fff;
  transition: all .18s ease;
  cursor:pointer;
}
.np-btn:focus-visible{
  outline:2px solid var(--np-navy);
  outline-offset:2px;
}
.np-btn:hover, .np-btn:focus{
  background: var(--np-accent-dark);
  border-color: var(--np-accent-dark);
  color:#fff;
  text-decoration:none;
}
.np-btn--outline{
  background:transparent;
  color: var(--np-accent);
}
.np-btn--outline:hover{ background: var(--np-accent); color:#fff; }
.np-btn--navy{
  background: var(--np-navy);
  border-color: var(--np-navy);
}
.np-btn--navy:hover{ background:#000; border-color:#000; }
.np-btn--sm{ padding:8px 16px; font-size:11px; min-height:44px; }

/* -------------------------------------------------------------------------
   Header / Masthead (landing) — glass nav + ticker
   ------------------------------------------------------------------------- */
.np-topbar{
  background: var(--np-navy);
  color: rgba(255,255,255,.82);
  font-size:12px;
  padding:8px 0;
}
.np-topbar a{
  color: rgba(255,255,255,.88);
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:600;
}
.np-topbar a:hover{ color:#fff; text-decoration:none; }
.np-topbar a i,
.np-topbar__item > i,
.np-topbar__user > i{
  color: var(--np-accent);
  font-size:12px;
  line-height:1;
}
.np-topbar__inner{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:16px;
  min-height:28px;
}
.np-topbar__meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px 22px;
}
.np-topbar__item{
  display:inline-flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}
.np-topbar .np-date{ letter-spacing:.3px; }
.np-topbar__auth{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}
.np-topbar__user{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:13px;
  font-weight:600;
  color:#fff;
}
.np-topbar__sep{
  width:1px;
  height:14px;
  background: rgba(255,255,255,.28);
  display:inline-block;
}
.np-topbar__logout{
  background:none;
  border:none;
  color: var(--np-accent-light);
  cursor:pointer;
  font-size:13px;
  padding:0;
  font-weight:700;
  font-family:inherit;
}
.np-topbar__logout:hover{ color:#fff; }

/* Shared scenic background behind logo + nav */
.np-masthead{
  position:relative;
  isolation:isolate;
  background-color: #a79090;
  background-size: contain;
  background-repeat: no-repeat;
}
.np-masthead::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.28) 38%,
    rgba(255,255,255,0.08) 62%,
    rgba(255,255,255,0.02) 100%
  );
}
.np-masthead > *{
  position:relative;
  z-index:1;
}

.np-header{
  background: transparent;
  border-bottom: none;
  padding: 22px 0 10px;
  z-index:900;
}
.np-header__inner{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  min-height:72px;
}
.np-header__brand{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  text-decoration:none;
  text-align:center;
  max-width:100%;
}
.np-header__brand:hover,
.np-header__brand:focus{
  text-decoration:none;
}
.np-header__wordmark{
  font-family: var(--np-font-head);
  font-size: clamp(1.7rem, 4.2vw, 2.55rem);
  font-weight:700;
  line-height:1.05;
  letter-spacing:-0.02em;
  color: var(--np-navy);
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}
.np-header__wordmark-accent{
  color: var(--np-accent);
}
.np-header__tagline{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  width:min(420px, 92vw);
}
.np-header__tagline-rule{
  flex:1 1 auto;
  height:1px;
  background: var(--np-accent);
  opacity:.85;
}
.np-header__tagline-text{
  flex:0 0 auto;
  font-family: var(--np-font-body);
  font-size:10px;
  font-weight:700;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color: var(--np-navy);
  white-space:nowrap;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

/* Home hero */
.np-home__hero{
  position:relative;
  margin:0;
  line-height:0;
}
.np-home__hero-link{
  display:block;
}
.np-home__hero-img{
  width:100%;
  height:auto;
  min-height:clamp(280px, 48vw, 520px);
  max-height:72vh;
  object-fit:cover;
  object-position:center 35%;
  display:block;
  border-radius:0;
}
.np-home .np-page-pad{
  padding-top:clamp(20px, 4vw, 32px);
}

/* Hamburger — hidden on desktop */
.np-nav-toggle{
  display:none;
  position:absolute;
  right:max(16px, env(safe-area-inset-right, 0px));
  top:50%;
  transform:translateY(-50%);
  width:30px;
  height:30px;
  /* margin:0 0 20px 0; */
  border:1px solid var(--np-line);
  border-radius: var(--np-radius);
  background:#fff;
  cursor:pointer;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  z-index:920;
}
.np-nav-toggle__bar{
  display:block;
  width:18px;
  height:2px;
  background: var(--np-navy);
  border-radius:1px;
  transition: transform .22s ease, opacity .18s ease;
}
.np-nav-toggle.is-open .np-nav-toggle__bar:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.np-nav-toggle.is-open .np-nav-toggle__bar:nth-child(2){
  opacity:0;
}
.np-nav-toggle.is-open .np-nav-toggle__bar:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}
.np-nav-toggle:focus-visible{
  outline:2px solid var(--np-accent);
  outline-offset:2px;
}

.np-nav-backdrop{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(31, 31, 20, 0.45);
  z-index:850;
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease;
}
.np-nav-backdrop.is-visible{
  opacity:1;
  pointer-events:auto;
}

.np-nav-shell{
  background: transparent;
  position:sticky;
  top:0;
  z-index:880;
  padding: 8px 0 14px;
}

/* Glass nav pill + ticker */
.np-nav{
  background: rgba(18, 20, 28, 0.42);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
  backdrop-filter: blur(28px) saturate(1.7);
  border:1px solid rgba(255,255,255,0.28);
  box-shadow:
    0 14px 44px rgba(10,12,18,0.32),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.np-ticker{
  background: rgba(18, 20, 28, 0.78);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
  backdrop-filter: blur(28px) saturate(1.7);
  border:1px solid rgba(255,255,255,0.28);
  box-shadow:
    0 14px 44px rgba(10,12,18,0.32),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.np-nav{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:56px;
  padding:6px 10px 6px 12px;
  border-radius:16px;
  position:relative;
}
.np-nav::before,
.np-ticker::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background: linear-gradient(
    125deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.04) 38%,
    rgba(255,255,255,0) 70%
  );
  pointer-events:none;
  z-index:0;
}
.np-nav > *,
.np-ticker > *{
  position:relative;
  z-index:1;
}
.np-nav__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:center;
  flex:1 1 auto;
  gap:1px;
  min-width:0;
}
.np-nav__icon{
  font-size:12px;
  line-height:1;
  opacity:.9;
}
.np-nav__chevron{
  font-size:10px;
  opacity:.7;
  margin-left:2px;
}
.np-nav__list li a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:9px 10px;
  color:#fff;
  font-weight:600;
  font-size:11.5px;
  letter-spacing:.3px;
  text-transform:uppercase;
  min-height:38px;
  border-radius:10px;
  white-space:nowrap;
  transition: background .15s ease, color .15s ease;
}
.np-nav__list li a:hover .np-nav__icon,
.np-nav__list li a.is-active .np-nav__icon,
.np-nav__list li a:hover .np-nav__chevron,
.np-nav__list li a.is-active .np-nav__chevron{
  opacity:1;
}
.np-nav__list li a:hover,
.np-nav__list li a.is-active{
  background: var(--np-accent);
  color:#fff;
  text-decoration:none;
}
.np-nav__list li a:focus-visible{
  outline:2px solid #fff;
  outline-offset:1px;
}
.np-nav__tools{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}
.np-nav__weather{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:7px 12px;
  border-radius:999px;
  background: rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
  color:#fff;
  white-space:nowrap;
  line-height:1;
}
.np-nav__weather .np-nav__meta-item{
  margin-left:4px;
  padding-left:12px;
  border-left:1px solid rgba(255,255,255,0.18);
}
.np-nav__meta-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color: rgba(255,255,255,0.72);
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
  line-height:1;
}
.np-nav__meta-icon{
  font-size:13px;
  line-height:1;
  color: #f5d76e;
}
.np-nav__weather-temp{
  font-size:13px;
  font-weight:700;
  letter-spacing:.2px;
  color:#fff;
}
.np-nav__weather-city{
  font-size:10px;
  font-weight:700;
  letter-spacing:.7px;
  text-transform:uppercase;
  opacity:.9;
  color:#fff;
}
.np-nav__search{
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background: rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.14);
  color:#fff;
  text-decoration:none;
  transition: background .15s ease, border-color .15s ease;
}
.np-nav__search:hover,
.np-nav__search:focus{
  background: var(--np-accent);
  border-color: var(--np-accent);
  color:#fff;
  text-decoration:none;
}
.np-nav__search i{ font-size:13px; line-height:1; }
.np-nav__admin{
  margin-left:auto;
}
.np-nav__admin a{
  color:#fff!important;
  background: var(--np-accent);
}
.np-nav__close{
  display:none;
}

/* Breaking news strip — glass ticker */
.np-ticker-shell{
  background: var(--np-white);
  padding: 0 0 18px;
}
.np-ticker{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:48px;
  padding: 8px 10px 8px 8px;
  border-radius: 14px;
  position:relative;
}
.np-ticker__live{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 12px;
  border-radius:999px;
  background: var(--np-accent);
  color:#fff;
  font-weight:800;
  font-size:11px;
  letter-spacing:1.3px;
  text-transform:uppercase;
  line-height:1;
}
.np-ticker__dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.45);
  animation: np-ticker-pulse 1.6s ease-out infinite;
}
.np-ticker__label{
  flex:0 0 auto;
  color: var(--np-accent-light);
  font-size:12px;
  font-weight:800;
  letter-spacing:.4px;
  text-transform:uppercase;
  white-space:nowrap;
}
.np-ticker__track{
  flex:1 1 auto;
  overflow:hidden;
  min-width:0;
  /* Kill iOS momentum / rubber-band on the headlines strip */
  touch-action:manipulation;
  -webkit-overflow-scrolling:auto;
}
.np-ticker__list{
  display:flex;
  align-items:center;
  gap:0;
  list-style:none;
  margin:0;
  padding:0;
  width:max-content;
  white-space:nowrap;
  will-change:transform;
  backface-visibility:hidden;
  transform:translate3d(0,0,0);
}
.np-ticker__list li{
  display:inline-flex;
  align-items:center;
}
.np-ticker__list li + li::before{
  content:"";
  width:5px;
  height:5px;
  margin:0 14px;
  border-radius:50%;
  background: var(--np-accent);
  flex:0 0 auto;
}
.np-ticker__list li a{
  color:#fff;
  font-size:13.5px;
  font-weight:600;
  line-height:1.3;
  text-decoration:none;
  transition: color .15s ease;
}
.np-ticker__list li a:hover,
.np-ticker__list li a:focus-visible{
  color: var(--np-accent-light);
  text-decoration:none;
}
.np-ticker__controls{
  flex:0 0 auto;
  display:inline-flex;
  gap:6px;
}
.np-ticker__btn{
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1.5px solid rgba(255,255,255,0.28);
  border-radius:50%;
  background: rgba(255,255,255,0.08);
  color:#fff;
  cursor:pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.np-ticker__btn i{ font-size:11px; line-height:1; }
.np-ticker__btn:hover{
  background: var(--np-accent);
  border-color: var(--np-accent);
  color:#fff;
}
.np-ticker__btn:active{ transform: scale(0.96); }
.np-ticker__btn:focus-visible{
  outline:2px solid var(--np-accent);
  outline-offset:2px;
}
@keyframes np-ticker-pulse{
  0%{ box-shadow: 0 0 0 0 rgba(255,255,255,0.45); }
  70%{ box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100%{ box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* -------------------------------------------------------------------------
   Category badges
   ------------------------------------------------------------------------- */
.np-badge{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:4px 10px;
  border-radius: 2px;
  background: var(--np-accent);
  color:#fff;
}
.np-badge--navy{ background: var(--np-navy); }
.np-badge--gold{ background: var(--np-gold); }
.np-badge--outline{ background:transparent; border:1px solid currentColor; color:var(--np-navy); }

/* -------------------------------------------------------------------------
   Article / news cards
   ------------------------------------------------------------------------- */
.np-card{
  background:#fff;
  border:1px solid var(--np-line);
  border-radius: var(--np-radius);
  overflow:hidden;
  height:100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.np-card:hover{ box-shadow: var(--np-shadow-lg); transform: translateY(-2px); }
.np-card__img{
  display:block;
  width:100%;
  aspect-ratio: 16/10;
  object-fit:cover;
  background: var(--np-paper-alt);
}
.np-card__body{ padding: 18px 20px 20px; }
.np-card__cat{ margin-bottom:10px; }
.np-card__title{
  font-size:clamp(1rem, 2.2vw, 1.2rem);
  margin-bottom:8px;
  line-height:1.35;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.np-card__title a{ color: var(--np-navy); }
.np-card__title a:hover{ color: var(--np-accent); text-decoration:none; }
.np-card__excerpt{ color: var(--np-ink-soft); font-size:14.5px; margin-bottom:12px; }
.np-card__meta{
  font-size:12px;
  color: var(--np-ink-soft);
  display:flex;
  gap:14px;
  border-top:1px solid var(--np-line);
  padding-top:10px;
}

/* Hero / featured story */
.np-hero{
  position:relative;
  border-radius: var(--np-radius);
  overflow:hidden;
  color:#fff;
  min-height:clamp(280px, 55vw, 460px);
  display:flex;
  align-items:flex-end;
  background-size:cover;
  background-position:center;
}
.np-hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(20,24,31,0) 0%, rgba(20,24,31,.92) 100%);
}
.np-hero__content{
  position:relative;
  z-index:1;
  padding: clamp(16px, 3vw, 24px);
  max-width:100%;
}
.np-hero__content h1,
.np-hero__content h2{
  color:#fff;
  font-size:clamp(1.35rem, 4.5vw, 2rem);
  line-height:1.25;
  overflow-wrap:anywhere;
  word-break:break-word;
  margin-top:14px;
}
.np-hero__content p{
  font-size:clamp(0.95rem, 2vw, 1.05rem);
  line-height:1.5;
  overflow-wrap:anywhere;
}
.np-hero-sm{ min-height:clamp(200px, 40vw, 280px); }

/* Sidebar widgets */
.np-contact-meta{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:0 0 12px;
  line-height:1.55;
}
.np-contact-meta [class^="ti-"]{
  flex:0 0 auto;
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--np-line);
  border-radius:50%;
  font-size:13px;
  color: var(--np-accent);
  margin-top:1px;
}
.np-widget{
  background:#fff;
  border:1px solid var(--np-line);
  border-radius: var(--np-radius);
  padding:20px;
  margin-bottom: var(--np-space-4);
}
.np-widget__title{
  font-size:15px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  border-bottom:2px solid var(--np-navy);
  padding-bottom:10px;
  margin-bottom:16px;
  color: var(--np-navy);
}
.np-widget__list{ list-style:none; margin:0; padding:0; }
.np-widget__list li{
  display:flex; gap:12px;
  padding:12px 0;
  border-bottom:1px solid var(--np-line);
}
.np-widget__list li:last-child{ border-bottom:0; padding-bottom:0; }
.np-widget__num{
  flex:0 0 30px;
  font-family: var(--np-font-head);
  font-size:22px;
  color: var(--np-accent);
  font-weight:700;
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.np-footer{
  background: var(--np-navy);
  color: rgba(255,255,255,.82);
  padding: var(--np-space-6) 0 var(--np-space-3);
}
.np-footer h5{
  color:#fff;
  font-size:14px;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:18px;
  display:flex;
  align-items:center;
  gap:8px;
}
.np-footer h5 [class^="ti-"]{
  font-size:15px;
  color: var(--np-accent);
}
.np-footer p,
.np-footer__desc{
  color: rgba(255,255,255,.82) !important;
}
.np-footer a{ color: rgba(255,255,255,.82); }
.np-footer a:hover{ color:#fff; text-decoration:none; }
.np-footer ul{ list-style:none; padding:0; margin:0; }
.np-footer ul li{ padding:6px 0; color: rgba(255,255,255,.82); }
.np-footer__bottom{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top: var(--np-space-5);
  padding-top: var(--np-space-3);
  font-size:12.5px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.np-footer__col{ margin-bottom:30px; }
.np-footer__logo{
  display:inline-block;
  margin-bottom:12px;
  line-height:0;
}
.np-footer__logo img{ height:34px; width:auto; margin:0; }
.np-footer__meta li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:8px 0;
  line-height:1.55;
  color: rgba(255,255,255,.82) !important;
}
.np-footer__meta li span{
  color: rgba(255,255,255,.82) !important;
}
.np-footer__meta li [class^="ti-"]{
  flex:0 0 auto;
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  font-size:13px;
  color:#fff;
  margin-top:1px;
}
.np-footer__meta li a{
  color: rgba(255,255,255,.78);
  word-break:break-word;
}
.np-footer__meta li a:hover{ color:#fff; }
.np-footer__copy,
.np-footer__credit,
.np-footer__legal{
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
}
.np-footer__copy [class^="ti-"],
.np-footer__credit [class^="ti-"],
.np-footer__legal [class^="ti-"]{
  font-size:13px;
  color: rgba(255,255,255,.8);
}
.np-footer__credit .ti-heart{ color: var(--np-accent); }
.np-footer__credit a{
  color:#fff;
  display:inline-flex;
  align-items:center;
  gap:5px;
  text-decoration:underline;
  text-underline-offset:2px;
}
.np-footer__credit a:hover{ color: rgba(255,255,255,.85); }
.np-footer__credit a .ti-new-window{ font-size:11px; text-decoration:none; }
.np-footer__legal a{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.np-footer__sep{ opacity:.45; margin:0 4px; }
.np-footer__newsletter input{
  width:100%;
  padding:12px 10px;
  border:0;
  border-radius:3px;
  margin-bottom:10px;
  min-height:44px;
  font-size:14px;
}
.np-footer__newsletter .np-btn{ width:100%; }
.np-social{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.np-social a{
  display:inline-flex;
  align-items:center; justify-content:center;
  width:44px; height:44px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:50%;
  margin-right:0;
}
.np-social a:hover{ background: var(--np-accent); border-color: var(--np-accent); }

/* =========================================================================
   DASHBOARD (admin) — shares tokens above, adds layout for sidebar/topbar
   ========================================================================= */
.np-dash-body{ background: var(--np-paper-alt); }

.np-dash-sidebar{
  background: var(--np-navy);
  min-height:100vh;
  width:250px;
  position:fixed;
  top:0; left:0; bottom:0;
  z-index:1000;
  overflow-y:auto;
}
.np-dash-sidebar__brand{
  padding:20px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.np-dash-sidebar__brand img{ height:32px; }
.np-dash-nav{ list-style:none; margin:0; padding:12px 0; }
.np-dash-nav li a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 22px;
  color: rgba(255,255,255,.72);
  font-size:14px;
  font-weight:600;
  border-left:3px solid transparent;
}
.np-dash-nav li a i{ width:18px; text-align:center; color: rgba(255,255,255,.5); }
.np-dash-nav li a:hover{ background: rgba(255,255,255,.05); color:#fff; text-decoration:none; }
.np-dash-nav li a.is-active{
  background: rgba(166,25,46,.18);
  border-left-color: var(--np-accent);
  color:#fff;
}
.np-dash-nav li a.is-active i{ color: var(--np-accent-light); }
.np-dash-nav__section{
  padding:16px 22px 6px;
  font-size:11px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color: rgba(255,255,255,.35);
}

.np-dash-main{ margin-left:250px; }
.np-dash-topbar{
  background:#fff;
  border-bottom:1px solid var(--np-line);
  padding:14px 28px;
  display:flex;
  align-items:center;
  gap:16px;
}
.np-dash-topbar .np-dash-search{
  flex:1 1 auto;
  max-width:360px;
}
.np-dash-topbar .np-dash-search input{
  width:100%;
  border:1px solid var(--np-line);
  border-radius:20px;
  padding:8px 16px;
  font-size:13px;
}
.np-dash-topbar__actions{ margin-left:auto; display:flex; align-items:center; gap:18px; }
.np-dash-topbar__back{
  font-size:13px; font-weight:700;
  color: var(--np-accent);
}
.np-dash-content{ padding: 28px; }
.np-dash-page-title{
  font-family: var(--np-font-head);
  font-size:26px;
  color: var(--np-navy);
  margin-bottom:4px;
}
.np-dash-breadcrumb{ font-size:12.5px; color: var(--np-ink-soft); margin-bottom:24px; }
.np-dash-breadcrumb a{ color: var(--np-ink-soft); }

.np-stat-card{
  background:#fff;
  border:1px solid var(--np-line);
  border-left:4px solid var(--np-accent);
  border-radius: var(--np-radius);
  padding:20px;
  margin-bottom:24px;
}
.np-stat-card__label{ font-size:12px; text-transform:uppercase; letter-spacing:1px; color:var(--np-ink-soft); }
.np-stat-card__value{ font-family: var(--np-font-head); font-size:30px; color:var(--np-navy); font-weight:700; }
.np-stat-card__delta{ font-size:12.5px; }
.np-stat-card__delta.up{ color: var(--np-success); }
.np-stat-card__delta.down{ color: var(--np-danger); }

.np-panel{
  background:#fff;
  border:1px solid var(--np-line);
  border-radius: var(--np-radius);
  padding:22px;
  margin-bottom:24px;
}
.np-panel__title{
  font-size:16px;
  font-weight:700;
  color: var(--np-navy);
  margin-bottom:18px;
  padding-bottom:12px;
  border-bottom:1px solid var(--np-line);
}

.np-table{ width:100%; border-collapse:collapse; }
.np-table th{
  text-align:left;
  font-size:11.5px;
  text-transform:uppercase;
  letter-spacing:.6px;
  color: var(--np-ink-soft);
  border-bottom:2px solid var(--np-navy);
  padding:10px 12px;
}
.np-table td{
  padding:12px;
  border-bottom:1px solid var(--np-line);
  font-size:14px;
  vertical-align:middle;
}
.np-table tr:hover td{ background: var(--np-paper); }

.np-status{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.5px;
  padding:3px 9px;
  border-radius:20px;
}
.np-status--published{ background:#E4F3EA; color: var(--np-success); }
.np-status--draft{ background:#F1EFE9; color: var(--np-ink-soft); }
.np-status--pending{ background:#FBF0DD; color: var(--np-warning); }
.np-status--flagged{ background:#F8E3E6; color: var(--np-danger); }

/* -------------------------------------------------------------------------
   CRUD: toolbar, forms, modal, icon buttons, empty state, pagination
   ------------------------------------------------------------------------- */
.np-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}
.np-toolbar__filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  flex:1;
}
.np-toolbar__filters .np-input,
.np-toolbar__filters select.np-input{
  min-width:180px;
}

.np-label{
  display:block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.3px;
  color: var(--np-ink-soft);
  margin-bottom:6px;
}
.np-input,
textarea.np-input,
select.np-input{
  width:100%;
  padding:10px 12px;
  font-family: var(--np-font-body);
  font-size:14px;
  color: var(--np-ink);
  background:#fff;
  border:1px solid var(--np-line);
  border-radius: var(--np-radius);
  transition: border-color .15s ease;
}
.np-input:focus,
textarea.np-input:focus,
select.np-input:focus{
  outline:none;
  border-color: var(--np-accent);
}
textarea.np-input{ resize:vertical; min-height:90px; }
.np-field{ margin-bottom:16px; }
.np-field--error .np-input{ border-color: var(--np-danger); }
.np-field__error{ font-size:12px; color: var(--np-danger); margin-top:5px; }
.np-form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
@media (max-width:640px){ .np-form-row{ grid-template-columns:1fr; } }
.np-checkbox-row{ display:flex; align-items:center; gap:8px; font-size:14px; }

.np-pdf-attachment{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid var(--np-line);
  border-radius: var(--np-radius);
  background:#fff;
  font-size:14px;
}
.np-pdf-attachment i{ flex-shrink:0; color: var(--np-accent); font-size:16px; }
.np-pdf-attachment__name{
  flex:1;
  min-width:0;
  padding:0;
  border:none;
  background:none;
  color: var(--np-ink);
  text-decoration:underline;
  text-align:left;
  cursor:pointer;
  font-family: var(--np-font-body);
  font-size:14px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.np-pdf-attachment__name:hover{ color: var(--np-accent); }
.np-pdf-attachment .np-btn{ flex-shrink:0; }

.np-icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius: var(--np-radius);
  border:1px solid var(--np-line);
  background:#fff;
  color: var(--np-ink-soft);
  margin-left:6px;
  transition: all .15s ease;
}
.np-icon-btn:hover{ background: var(--np-navy); border-color: var(--np-navy); color:#fff; text-decoration:none; }
.np-icon-btn--edit:hover{ background: var(--np-navy); border-color: var(--np-navy); color:#fff; }
.np-icon-btn--delete:hover{ background: var(--np-danger); border-color: var(--np-danger); color:#fff; }
.np-icon-btn--perm:hover{ background: var(--np-gold) !important; border-color: var(--np-gold) !important; color:#fff !important; }

.np-empty-state{
  text-align:center;
  padding:48px 20px;
  color: var(--np-ink-soft);
}
.np-empty-state strong{ display:block; color: var(--np-navy); font-size:16px; margin-bottom:6px; }

.np-modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(20,24,31,.55);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:5vh 16px;
  z-index:1000;
  overflow-y:auto;
}
.np-modal{
  background:#fff;
  border-radius: var(--np-radius);
  box-shadow: var(--np-shadow-lg);
  width:100%;
  max-width:640px;
  animation: npModalIn .15s ease;
}
@keyframes npModalIn{ from{ opacity:0; transform:translateY(-8px);} to{ opacity:1; transform:translateY(0);} }
.np-modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 22px;
  border-bottom:1px solid var(--np-line);
}
.np-modal__header h3{
  font-size:18px;
  margin:0;
  color: var(--np-navy);
}
.np-modal__close{
  background:none;
  border:0;
  font-size:22px;
  line-height:1;
  color: var(--np-ink-soft);
  cursor:pointer;
}
.np-modal__close:hover{ color: var(--np-accent); }
.np-modal__body{ padding:22px; }
.np-modal__footer{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:16px 22px;
  border-top:1px solid var(--np-line);
}

.np-badge-count{
  display:inline-block;
  background: var(--np-paper-alt);
  color: var(--np-ink-soft);
  font-size:12px;
  font-weight:700;
  padding:3px 10px;
  border-radius:20px;
  margin-left:8px;
}

/* -------------------------------------------------------------------------
   Author / contributor cards
   ------------------------------------------------------------------------- */
.np-author-card{ text-align:center; }
.np-author-card__avatar{
  width:84px;
  height:84px;
  border-radius:50%;
  object-fit:cover;
  margin:0 auto 12px;
  display:block;
}
.np-author-card__avatar--initials{
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--np-navy);
  color:#fff;
  font-family: var(--np-font-head);
  font-size:28px;
  font-weight:700;
}
.np-author-card__name{ margin-bottom:2px; }
.np-author-card__role{ color: var(--np-accent); font-size:12.5px; margin-bottom:10px; }
.np-author-card__meta{ font-size:12.5px; color: var(--np-ink-soft); margin-bottom:16px; }
.np-author-card__actions{ display:flex; justify-content:center; gap:8px; }
.np-author-card__actions .np-icon-btn{ margin-left:0; }

@media (max-width: 991px){
  .np-dash-sidebar{ left:-250px; transition: left .2s ease; }
  .np-dash-sidebar.is-open{ left:0; }
  .np-dash-main{ margin-left:0; }
  #npSidebarToggle{ display:inline-block!important; }
}

/* =========================================================================
   RESPONSIVE — landing (mobile-first enhancements; desktop unchanged ≥1024)
   ========================================================================= */
html{ overflow-x:hidden; }
body{ overflow-x:hidden; }
img{ max-width:100%; height:auto; }
.sr-only{
  position:absolute!important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* Page typography helpers */
.np-page-title{
  font-size:clamp(1.75rem, 5vw, 2.125rem);
  line-height:1.2;
  overflow-wrap:anywhere;
}
.np-page-lead{
  font-size:clamp(1rem, 2vw, 1.15rem);
  line-height:1.55;
  color: var(--np-ink-soft);
  max-width:700px;
}
.np-section-title{
  font-size:clamp(1.25rem, 3vw, 1.5rem);
  line-height:1.25;
}
.np-page-pad{
  padding-top:clamp(24px, 5vw, 40px);
  padding-bottom:clamp(40px, 8vw, 60px);
}

/* Horizontal news cards (Breaking News) */
.np-card--horizontal{
  display:flex;
  flex-direction:row;
  margin-bottom:18px;
  overflow:hidden;
}
.np-card--horizontal > img,
.np-card--horizontal .np-card__media{
  width:220px;
  height:140px;
  object-fit:cover;
  flex:0 0 auto;
  display:block;
}
.np-search-form{
  display:flex;
  gap:10px;
  max-width:640px;
  margin-bottom:36px;
  flex-wrap:wrap;
}
.np-search-form input{
  flex:1 1 200px;
  min-width:0;
  min-height:44px;
  padding:12px 16px;
  border:1px solid var(--np-line);
  border-radius: var(--np-radius);
  font-size:16px; /* prevent iOS zoom */
}
.np-search-form .np-btn{ flex:0 0 auto; }

/* Lightbox / zoomable mobile tweaks */
.zoomable-image-container{ max-width:100%; }
.np-modal{ max-width:min(640px, 100%); }

/* Desktop-only utility — Dashboard / Editor Login visible from 1024px up */
.np-desktop-only{ display:initial; }
@media (max-width: 1023.98px){
  .np-desktop-only{ display:none !important; }

  .np-topbar__auth{ display:none !important; }
  .np-topbar{ display:none !important; }

  .np-masthead{
    position:sticky;
    top:0;
    z-index:900;
    background-position: center right;
  }
  .np-header{
    padding:14px 0 12px;
    position:relative;
    z-index:900;
    background: transparent;
    border-bottom: none;
  }
  .np-header__inner{ min-height:56px; }
  .np-header__wordmark{
    font-size:clamp(1.35rem, 6vw, 1.85rem);
  }
  .np-header__tagline{ width:min(340px, 78vw); gap:8px; }
  .np-header__tagline-text{ font-size:9px; letter-spacing:1.2px; }

  .np-nav-toggle{ display:flex; }
  .np-nav-backdrop{ display:block; }

  .np-nav-shell{
    padding:0;
    background:transparent;
    position:static;
  }

  /* Off-canvas drawer */
  .np-nav{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:auto;
    width:clamp(260px, 78vw, 340px);
    max-width:100vw;
    min-width:0;
    min-height:0;
    box-sizing:border-box;
    z-index:900;
    transform:translateX(105%);
    transition: transform .28s cubic-bezier(.22,.61,.36,1);
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    box-shadow: none;
    border-radius:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:88px 0 24px;
    background: rgba(20,24,31,0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border:0;
    border-left:1px solid rgba(255,255,255,0.1);
  }
  .np-nav::before{ display:none; }
  .np-nav.is-open{
    transform:translateX(0);
    box-shadow: -8px 0 28px rgba(20,24,31,.28);
  }
  .np-nav__close{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    position:absolute;
    top:max(16px, env(safe-area-inset-top, 0px));
    right:max(16px, env(safe-area-inset-right, 0px));
    width:40px;
    height:40px;
    padding:0;
    border:1px solid rgba(255,255,255,0.18);
    border-radius:10px;
    background: rgba(255,255,255,0.08);
    color:#fff;
    cursor:pointer;
    z-index:2;
  }
  .np-nav__close:hover,
  .np-nav__close:focus-visible{
    background: var(--np-accent);
    border-color: var(--np-accent);
    outline:none;
  }
  .np-nav__close i{
    font-size:16px;
    line-height:1;
  }
  .np-nav__list{
    flex-direction:column;
    flex-wrap:nowrap;
    justify-content:flex-start;
    align-items:stretch;
    gap:0;
    min-width:0;
    width:100%;
  }
  .np-nav__tools{
    display:inline-flex;
    margin:8px 16px 14px;
    justify-content:flex-start;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:8px 12px;
    order:-1;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
  }
  .np-nav__weather{
    margin:0;
    max-width:100%;
    min-width:0;
    flex-wrap:wrap;
  }
  .np-nav__meta-item{
    font-size:12px;
    color: rgba(255,255,255,0.78);
    max-width:100%;
    min-width:0;
    white-space:normal;
  }
  .np-nav__list li a{
    padding:16px 22px;
    border-radius:0;
    border-bottom:1px solid rgba(255,255,255,.08);
    font-size:15px;
    min-height:48px;
    width:100%;
    box-sizing:border-box;
  }
  .np-nav__icon{ font-size:15px; }

  body.np-menu-open{ overflow:hidden; touch-action:none; }

  .np-ticker-shell{ padding: 10px 0 14px; }
  .np-ticker{
    position:relative;
    z-index:1;
    gap:8px;
    min-height:44px;
    padding:7px 8px;
    border-radius:12px;
  }
  .np-ticker__live{
    padding:6px 10px;
    font-size:10px;
    letter-spacing:1.1px;
  }
  .np-ticker__label{ font-size:11px; }
  .np-ticker__list li a{ font-size:12.5px; }
  .np-ticker__list li + li::before{ margin:0 10px; }
  .np-ticker__btn{ width:30px; height:30px; }
}

@media (max-width: 575.98px){
  .np-ticker__label{ display:none; }
}

/* Tablet & below */
@media (max-width: 1023.98px){
  .container{
    width:100%;
    max-width:100%;
    padding-left:max(16px, env(safe-area-inset-left));
    padding-right:max(16px, env(safe-area-inset-right));
  }

  .np-card__body{ padding:14px 16px 16px; }
  .np-widget{ padding:16px; }

  .epaper-masthead__title{ font-size:clamp(1.5rem, 5vw, 2rem) !important; }
  .epaper-filter-grid{ grid-template-columns:1fr 1fr !important; }
  .epaper-today-showcase__header{ padding:12px 16px !important; }

  .np-btn{ width:auto; }
  .np-btn--block-sm{ width:100%; }
}

@media (max-width: 820px){
  .np-card--horizontal{
    flex-direction:column;
  }
  .np-card--horizontal > img,
  .np-card--horizontal .np-card__media{
    width:100%;
    height:auto;
    aspect-ratio:16/10;
  }

  .np-footer__bottom{
    flex-direction:column;
    text-align:center;
    align-items:center;
  }
}

@media (max-width: 767.98px){
  .np-search-form{ flex-direction:column; }
  .np-search-form .np-btn{ width:100%; }

  .epaper-filter-grid{ grid-template-columns:1fr !important; }

  .np-hero{ min-height:clamp(240px, 70vw, 360px); }

  /* Prefer full-width CTAs in tight stacks when marked */
  .np-actions-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
  }
  .np-actions-row .np-btn{ flex:1 1 auto; min-width:140px; }
}

/* Phones — specific widths */
@media (max-width: 414px){
  .np-topbar{ padding:5px 0; }
  .np-header{ padding:10px 0; }
  .np-card__title{ font-size:clamp(0.95rem, 4.5vw, 1.1rem); }
}

@media (max-width: 480px){
  .np-nav{ width:min(100vw, 100%); }
}

@media (max-width: 390px){
  .np-badge{ font-size:10px; padding:3px 8px; }
}

@media (max-width: 375px){
  .container{
    padding-left:max(12px, env(safe-area-inset-left));
    padding-right:max(12px, env(safe-area-inset-right));
  }
  .np-hero__content{ padding:14px; }
}

@media (max-width: 320px){
  .np-header__wordmark{ font-size:1rem; }
  .np-btn{ padding:10px 14px; letter-spacing:.5px; }
}

/* Large desktops — keep layout centered / unchanged */
@media (min-width: 1024px){
  .np-nav-toggle,
  .np-nav-backdrop{ display:none !important; }
  .np-nav{
    position:relative;
    transform:none !important;
    width:auto;
    overflow:visible;
  }
  .np-header{ position:relative; z-index:5; }
  .np-topbar{ display:block !important; }
  .np-topbar__auth.np-desktop-only{ display:flex !important; }
  .np-desktop-only{ display:initial !important; }
}

@media (min-width: 1280px){
  .np-hero{ min-height:460px; }
  .np-nav__weather-city{ display:inline; }
}

@media (min-width: 1440px){
  .np-nav__list li a{ padding:9px 12px; font-size:12px; }
}

/* -------------------------------------------------------------------------
   Homepage banner news slider
   ------------------------------------------------------------------------- */
.np-banner-slider{
  position:relative;
  width:100%;
  min-height:clamp(320px, 52vw, 520px);
  overflow:hidden;
  background: var(--np-navy);
  color:#fff;
}
.np-banner-slider__slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  transition: opacity .55s ease, visibility .55s ease;
}
.np-banner-slider__slide.is-active{
  opacity:1;
  visibility:visible;
  z-index:1;
}
.np-banner-slider__img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 40%;
  display:block;
}
.np-banner-slider__shade{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(20,24,31,.88) 0%, rgba(20,24,31,.55) 48%, rgba(20,24,31,.22) 100%),
    linear-gradient(180deg, rgba(20,24,31,.15) 0%, rgba(20,24,31,.78) 100%);
}
.np-banner-slider__content{
  position:relative;
  z-index:3;
  max-width:720px;
  padding: clamp(28px, 5vw, 56px) clamp(48px, 8vw, 80px) clamp(48px, 6vw, 64px);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  min-height:clamp(320px, 52vw, 520px);
}
.np-banner-slider__cat{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.np-banner-slider__title{
  margin:0 0 12px;
  font-family: var(--np-font-head);
  font-size:clamp(1.45rem, 4.2vw, 2.35rem);
  line-height:1.22;
  color:#fff;
  overflow-wrap:anywhere;
}
.np-banner-slider__title a{
  color:#fff;
  text-decoration:none;
}
.np-banner-slider__title a:hover,
.np-banner-slider__title a:focus{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:4px;
}
.np-banner-slider__excerpt{
  margin:0 0 16px;
  max-width:54ch;
  font-size:clamp(0.95rem, 2vw, 1.05rem);
  line-height:1.55;
  color:rgba(255,255,255,.88);
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
}
.np-banner-slider__meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  margin-bottom:18px;
  font-size:13px;
  color:rgba(255,255,255,.72);
}
.np-banner-slider__meta strong{
  color:rgba(255,255,255,.92);
  font-weight:600;
}
.np-banner-slider__cta{
  align-self:flex-start;
  border-color:rgba(255,255,255,.85);
  color:#fff;
  background:transparent;
}
.np-banner-slider__cta:hover,
.np-banner-slider__cta:focus{
  background: var(--np-accent);
  border-color: var(--np-accent);
  color:#fff;
}
.np-banner-slider__nav{
  position:absolute;
  top:50%;
  z-index:4;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.35);
  border-radius:2px;
  background:rgba(20,24,31,.45);
  color:#fff;
  cursor:pointer;
  transition: background .2s ease, border-color .2s ease;
}
.np-banner-slider__nav:hover,
.np-banner-slider__nav:focus-visible{
  background: var(--np-accent);
  border-color: var(--np-accent);
  outline:none;
}
.np-banner-slider__nav--prev{ left:14px; }
.np-banner-slider__nav--next{ right:14px; }
.np-banner-slider__dots{
  position:absolute;
  left:50%;
  bottom:18px;
  z-index:4;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  align-items:center;
}
.np-banner-slider__dot{
  width:9px;
  height:9px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.4);
  cursor:pointer;
  transition: background .2s ease, transform .2s ease;
}
.np-banner-slider__dot.is-active,
.np-banner-slider__dot:hover{
  background:#fff;
  transform:scale(1.15);
}
.np-weather-icon--on-dark{
  background:rgba(255,255,255,.16);
  color:#fff;
}

@media (max-width: 767.98px){
  .np-banner-slider{
    min-height:clamp(380px, 88vw, 460px);
  }
  .np-banner-slider__content{
    min-height:clamp(380px, 88vw, 460px);
    padding: 24px 20px 52px;
    max-width:100%;
  }
  .np-banner-slider__excerpt{
    -webkit-line-clamp:4;
    line-clamp:4;
  }
  .np-banner-slider__nav{
    width:36px;
    height:36px;
    top:auto;
    bottom:14px;
    transform:none;
  }
  .np-banner-slider__nav--prev{ left:14px; }
  .np-banner-slider__nav--next{ right:14px; }
  .np-banner-slider__dots{ bottom:22px; }
}

/* -------------------------------------------------------------------------
   Curated homepage news cards (source-linked regional desk)
   ------------------------------------------------------------------------- */
.np-news-card{
  width:100%;
  display:flex;
  flex-direction:column;
}
.np-news-card__media{
  display:block;
  flex:0 0 auto;
  overflow:hidden;
}
.np-news-card__img,
.np-news-card__media img{
  width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
  display:block;
  background: var(--np-paper-alt);
  transition: transform .35s ease;
}
.np-news-card:hover .np-news-card__media img{
  transform: scale(1.02);
}
.np-news-card.np-card--horizontal{
  flex-direction:column;
}
.np-news-card.np-card--horizontal .np-news-card__media{
  width:100%;
  max-width:none;
}
.np-news-card.np-card--horizontal .np-news-card__media img{
  width:100% !important;
  height:auto !important;
  object-fit:contain !important;
}
.np-news-card__body{
  flex:1;
  display:flex;
  flex-direction:column;
}
.np-news-card__excerpt{
  display:-webkit-box;
  line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
  flex:1;
}
.np-news-card__meta{
  margin-top:auto;
  flex-wrap:wrap;
  gap:10px;
}
.np-news-card__source{
  font-size:12px;
  color:var(--np-ink-soft);
  margin:10px 0 12px;
}
.np-news-card__cta{
  align-self:flex-start;
}
.np-weather-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:rgba(14, 116, 144, .12);
  color:#0e7490;
  font-size:14px;
}
.np-news-hero__credit{
  margin-top:12px;
  font-size:11px;
  color:rgba(255,255,255,.55);
}
.np-news-desk-note p{
  overflow-wrap:anywhere;
}

@media (max-width: 575px){
  .np-news-card.np-card--horizontal{
    flex-direction:column;
  }
  .np-news-card.np-card--horizontal .np-news-card__media img{
    width:100% !important;
    height:auto !important;
  }
}

/* -------------------------------------------------------------------------
   Mobile bottom nav (icon footer)
   ------------------------------------------------------------------------- */
.np-bottom-nav{
  display:none;
}

@media (max-width: 1023.98px){
  .np-bottom-nav{
    display:flex;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:950;
    align-items:stretch;
    justify-content:space-around;
    gap:0;
    min-height:56px;
    padding:6px 4px max(6px, env(safe-area-inset-bottom, 0px));
    background: var(--np-white);
    border-top:1px solid var(--np-line);
    box-shadow: 0 -4px 18px rgba(20,24,31,0.06);
  }

  .np-bottom-nav__item{
    flex:1 1 0;
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    min-width:0;
    min-height:44px;
    padding:4px 2px;
    margin:0;
    border:0;
    background:transparent;
    color: var(--np-ink-soft);
    text-decoration:none;
    font-family: var(--np-font-body);
    font-size:10px;
    font-weight:600;
    letter-spacing:0.02em;
    line-height:1.15;
    cursor:pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .np-bottom-nav__item:hover,
  .np-bottom-nav__item:focus-visible{
    color: var(--np-accent);
    text-decoration:none;
    outline:none;
  }

  .np-bottom-nav__item.is-active{
    color: var(--np-accent);
  }

  .np-bottom-nav__icon{
    font-size:20px;
    line-height:1;
  }

  .np-bottom-nav__label{
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  /* Clear fixed bar; Menu lives in bottom nav */
  body.np-has-bottom-nav{
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }
  body.np-has-bottom-nav .np-nav-toggle{ display:none !important; }
  body.np-has-bottom-nav .np-footer{
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
  body.np-has-bottom-nav .np-nav{
    padding-bottom: calc(24px + 56px + env(safe-area-inset-bottom, 0px));
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .np-nav,
  .np-nav-backdrop,
  .np-nav-toggle__bar,
  .np-ticker__dot,
  .np-ticker__btn,
  .np-ticker__list,
  .np-card,
  .np-news-card__media img,
  .np-banner-slider__slide,
  .np-banner-slider__nav,
  .np-banner-slider__dot{
    transition:none !important;
    animation:none !important;
  }
  .np-ticker__list{
    transform:none !important;
    will-change:auto;
  }
}

