/* Shared, self-hosted editorial typography. The fonts are downloaded only when used. */
@font-face {
  font-family: "NBPL Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "NBPL Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "NBPL Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "NBPL Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* All layouts fill the available theme/Elementor container. Text measures remain readable. */
.nbpl-featured,
.nbpl-post-slider,
.nbpl-featured-posts,
.nbpl-ticker,
.nbpl-single,
.nbpl-category {
  --nbpl-editorial-ink: #182b3d;
  --nbpl-editorial-muted: #63768a;
  --nbpl-editorial-accent: #c52038;
  --nbpl-editorial-line: #e2e8ed;
  width: 100%;
  max-width: none;
  font-family: "NBPL Manrope", "Segoe UI", sans-serif;
}
.nbpl-single .nbpl-single__shell,
.nbpl-category .nbpl-category__shell,
.nbpl-single-comments {
  width: 100%;
  max-width: none;
}

/* A clear editorial hierarchy unifies the homepage and the article archives. */
.nbpl-featured .nbpl-card__title,
.nbpl-post-slider .nbpl-story-card__title,
.nbpl-featured-posts h2.nbpl-featured-posts__sidebar-title,
.nbpl-single h1.nbpl-single__title,
.nbpl-single .nbpl-single__related h2,
.nbpl-single .nbpl-single__related-card h3,
.nbpl-category .nbpl-category__header h1,
.nbpl-category .nbpl-category__card h2,
.nbpl-category .nbpl-category__aside h2 {
  font-family: "NBPL Newsreader", Georgia, serif !important;
  font-weight: 700;
  letter-spacing: -.027em;
  text-wrap: balance;
}
.nbpl-single .nbpl-single__body {
  font-family: "NBPL Newsreader", Georgia, serif;
  font-size: clamp(1.16rem, 1.4vw, 1.36rem);
  line-height: 1.72;
  color: #293c4e;
}
.nbpl-single .nbpl-single__body h2,
.nbpl-single .nbpl-single__body h3,
.nbpl-single .nbpl-single__body h4 {
  font-family: "NBPL Manrope", "Segoe UI", sans-serif !important;
  letter-spacing: -.035em;
}
.nbpl-single .nbpl-single__header,
.nbpl-single .nbpl-single__sidebar,
.nbpl-single .nbpl-single__related,
.nbpl-single .nbpl-single__byline,
.nbpl-single .nbpl-single__share {
  font-family: "NBPL Manrope", "Segoe UI", sans-serif;
}
.nbpl-featured .nbpl-card__title { font-size: clamp(1.8rem, 2.5vw, 2.95rem); line-height: 1.07; }
.nbpl-featured .nbpl-card--side-lead .nbpl-card__title { font-size: clamp(1.4rem, 1.9vw, 2.15rem); }
.nbpl-featured .nbpl-card--side-small .nbpl-card__title { font-size: clamp(1.13rem, 1.4vw, 1.57rem); line-height: 1.16; }
.nbpl-post-slider .nbpl-story-card__title { font-size: clamp(1.28rem, 1.55vw, 1.72rem); line-height: 1.19; }
.nbpl-category .nbpl-category__card h2 { font-size: clamp(1.43rem, 1.8vw, 1.86rem); line-height: 1.18; }

/* Refined surfaces and controls; no fixed-width section wrappers. */
.nbpl-featured .nbpl-featured__slider,
.nbpl-featured .nbpl-featured__slides,
.nbpl-featured .nbpl-card--side-lead,
.nbpl-featured .nbpl-card--side-small,
.nbpl-post-slider .nbpl-story-card,
.nbpl-featured-posts .nbpl-featured-posts__card,
.nbpl-category .nbpl-category__card {
  border-radius: 8px;
}
.nbpl-post-slider .nbpl-story-card,
.nbpl-featured-posts .nbpl-featured-posts__card,
.nbpl-category .nbpl-category__card {
  border-color: var(--nbpl-editorial-line);
  box-shadow: 0 9px 28px rgba(20, 42, 60, .055);
}
.nbpl-post-slider .nbpl-story-card:hover,
.nbpl-featured-posts .nbpl-featured-posts__card:hover,
.nbpl-category .nbpl-category__card:hover {
  box-shadow: 0 18px 40px rgba(20, 42, 60, .11);
}
.nbpl-featured .nbpl-card__category,
.nbpl-post-slider .nbpl-story-card__category,
.nbpl-category .nbpl-category__badges a {
  font-family: "NBPL Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: .085em;
}
.nbpl-featured .nbpl-card__shade {
  background: linear-gradient(180deg, rgba(8, 24, 38, .01) 18%, rgba(8, 24, 38, .17) 47%, rgba(8, 24, 38, .84) 100%);
}
.nbpl-featured .nbpl-card--no-image .nbpl-card__shade {
  background: linear-gradient(180deg, transparent 35%, rgba(245, 248, 250, .72) 100%);
}
.nbpl-post-slider .nbpl-story-card__fallback,
.nbpl-post-slider .nbpl-story-card:nth-child(n) .nbpl-story-card__fallback {
  background: linear-gradient(135deg, #dde9ed, #b9d3dc 66%, #a1bfcd);
}
.nbpl-post-slider .nbpl-story-card__media { background: #d9e7ec; }
.nbpl-post-slider .nbpl-story-card__fallback::before { border-color: rgba(255,255,255,.55); box-shadow: 0 0 0 45px rgba(255,255,255,.12), 0 0 0 90px rgba(255,255,255,.08); }
.nbpl-post-slider .nbpl-story-card__fallback::after { border-color: rgba(255,255,255,.75); }
.nbpl-featured-posts .nbpl-featured-posts__sidebar-panel,
.nbpl-category .nbpl-category__aside-inner,
.nbpl-single .nbpl-single__sidebar-inner {
  border-color: var(--nbpl-editorial-line);
  background: #f8fafb;
}
.nbpl-single .nbpl-single__lead {
  border-color: var(--nbpl-editorial-line);
  background: #f6f8fa;
}
.nbpl-ticker .nbpl-ticker__bar { background: #203346; border-bottom-color: var(--nbpl-editorial-accent); }
.nbpl-ticker .nbpl-ticker__label { background: var(--nbpl-editorial-accent); }
.nbpl-ticker .nbpl-ticker__title { font-family: "NBPL Manrope", "Segoe UI", sans-serif; font-weight: 750; }
.nbpl-category .nbpl-category__load,
.nbpl-featured-posts button.nbpl-featured-posts__load-button {
  font-family: "NBPL Manrope", "Segoe UI", sans-serif !important;
  font-weight: 800;
}

@media (max-width: 680px) {
  .nbpl-featured .nbpl-card__title { font-size: clamp(1.48rem, 6.5vw, 2.15rem); }
  .nbpl-featured .nbpl-card--side-small .nbpl-card__title { font-size: 1.4rem; }
  .nbpl-post-slider .nbpl-story-card__title { font-size: 1.35rem; }
  .nbpl-single .nbpl-single__body { font-size: 1.15rem; line-height: 1.68; }
}
