/*
Theme Name: BAP Modern
Theme URI: https://www.rtvbap.rs/
Author: Codex
Description: Modern WordPress news theme for RTV BAP with SCF fields and import helper.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: bap
*/

:root {
  --e-global-color-1007487: #170658;
  --bap-header-gradient: linear-gradient(63deg, var(--e-global-color-1007487) 0%, #450B5D 54%);
  --bap-title-gradient: linear-gradient(57deg, #160558 0%, #450B5D 53%);
  --bap-bg: #f4f7fc;
  --bap-surface: #ffffff;
  --bap-surface-soft: #f8fafe;
  --bap-text: #141a2b;
  --bap-muted: #6d7691;
  --bap-line: #dbe2f0;
  --bap-focus: #1f6fff;
  --bap-shadow-sm: 0 8px 22px rgba(12, 19, 41, 0.08);
  --bap-shadow-md: 0 18px 36px rgba(12, 19, 41, 0.14);
  --bap-radius: 14px;
  --bap-radius-sm: 10px;
  --bap-max: 1240px;
  --bap-sans: "Lato", "Segoe UI", sans-serif;
  --bap-display: "Plus Jakarta Sans", "Lato", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 0% -10%, #ffffff 0%, #f6f8fd 48%, #eff3fa 100%),
    linear-gradient(180deg, #f6f8fd 0%, #f0f3fa 100%);
  color: var(--bap-text);
  font-family: var(--bap-sans);
  font-size: 16px;
  line-height: 1.56;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-shell {
  min-height: 100vh;
}

.container,
.site-header__inner,
.site-footer__inner {
  width: min(var(--bap-max), calc(100% - 28px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-image: linear-gradient(63deg, var(--e-global-color-1007487) 0%, #450B5D 54%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.site-header__inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
}
body 
.bap-live-image {
    object-fit: contain;
}
.brand__logo {
  width: 196px;
  max-width: 100%;
  height: auto;
}
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: auto;
    margin-bottom: auto;
}
 article.section-alt__list-item {
    display: flex;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 41px;
  padding: 0 12px;
  border-radius: var(--bap-radius-sm);
  color: #ffffff;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 180ms ease, color 180ms ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-page-ancestor > a {
  background: rgba(255, 255, 255, 0.17);
  color: #f7f9ff;
}

.header-search-fab {
  position: absolute;
  right: 8px;
  top: 50%;
  z-index: 125;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.header-search-fab:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.58);
}

.header-search-fab svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-search-panel {
  position: absolute;
  right: 56px;
  top: 50%;
  z-index: 124;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 11px;
  background: rgba(21, 8, 76, 0.97);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  transform: translateY(-50%);
}

.header-search-panel[hidden] {
  display: none;
}

.header-search-panel__input {
  width: 210px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font: inherit;
  font-size: 0.82rem;
}

.header-search-panel__input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.header-search-panel__input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.72);
}

.header-search-panel__submit {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.17);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.header-search-panel__submit:hover {
  background: rgba(255, 255, 255, 0.26);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--bap-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.script-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.script-switcher__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #f2f5ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.script-switcher__item:hover {
  background: rgba(255, 255, 255, 0.18);
}

.script-switcher__item.is-active {
  background: #ffffff;
  color: #1c1954;
}

.bap-live-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bap-live-image {
  display: block;
  width: 70%;
  height: 100%;
  object-fit: cover;
}

.bap-live-link--header {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: transparent;
  border: 0;
}

.bap-live-link--header:hover {
  opacity: 0.92;
}

.home-block {
  padding: 24px 0 0;
}

.home-block--top {
  padding-top: 22px;
}

.home-block--weather {
  padding-top: 16px;
}

.weather-widget {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--bap-shadow-sm);
}

.section-header {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section-header h2 {
  margin: 0;
  display: inline-block;
  min-height: 0;
  padding: 10px 18px 11px;
  border-radius: var(--bap-radius-sm);
  background: var(--bap-title-gradient);
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-transform: none;
  white-space: nowrap;
  overflow: visible;
}

.section-header a {
  color: #3e4a69;
  font-size: 0.84rem;
  font-weight: 700;
}

.section-header a:hover {
  color: #2058c4;
}

.focus-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.72fr);
  align-items: start;
  gap: 20px;
}

.focus-list {
  display: grid;
  align-content: start;
}

.focus-list__item {
  padding: 0 0 12px;
  margin: 0 0 12px;
  border-bottom: 1px solid var(--bap-line);
}

.focus-list__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.focus-list__item h3 {
  margin: 0 0 6px;
  font-family: var(--bap-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--bap-text);
  transition: color 160ms ease;
}

.focus-list__item a:hover h3 {
  color: #1d3f90;
}

.focus-list__item time {
  color: var(--bap-muted);
  font-size: 0.78rem;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.news-card--focus h2 {
  font-size: 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.95fr);
  gap: 16px;
}

.hero-grid__stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.news-strip,
.section-grid {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}

.news-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-block--alt {
  padding-top: 28px;
}

.section-alt {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-areas:
    "lead stack"
    "lead list";
  align-items: start;
  gap: 16px;
}

.section-alt__lead {
  grid-area: lead;
}

.section-alt__stack {
  grid-area: stack;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.section-alt__list {
  grid-area: list;
  display: grid;
  gap: 10px;
}

.section-alt__list-item {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bap-line);
}

.section-alt__list-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.section-alt__list-link {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.section-alt__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--bap-radius-sm);
  overflow: hidden;
  background: #dbe3f7;
}

.section-alt__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-alt__text {
  display: grid;
  gap: 5px;
}

.section-alt__text h3 {
  margin: 0;
  font-family: var(--bap-display);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--bap-text);
}

.section-alt__list-link:hover h3 {
  color: #1d3f90;
}

.section-alt__text .cat-chip {
  transform: translateY(1px);
}

.section-alt__text .meta {
  font-size: 0.72rem;
}

.news-card--section-lead h2 {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
}

.news-card--section-lead .news-card__media {
  aspect-ratio: 16 / 10;
}

.news-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform 150ms ease;
}

.news-card:hover {
  transform: translateY(-2px);
}

.news-card__link {
  display: block;
 
}

.news-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #dbe3f7;
  border-radius: 12px;
  overflow: hidden;
}

.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__content {
  padding: 12px 2px 2px;
  display: grid;
  gap: 8px;
  color: var(--bap-text);
}

.news-card h2 {
  margin: 0;
  font-family: var(--bap-display);
  color: var(--bap-text);
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.002em;
}

.news-card:hover h2 {
  color: #1d3f90;
}

.news-card__excerpt {
  margin: 0;
  color: var(--bap-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.news-card .cat-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #d4c8f8;
  background: #ebe7ff;
  color: #3a236a;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--bap-muted);
  font-size: 0.76rem;
}

.meta span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 7px;
  border-radius: 50%;
  background: #aab5cc;
}

.news-card--feature .news-card__media {
  aspect-ratio: 16 / 9;
}

.news-card--feature .news-card__content {
  padding: 14px 2px 2px;
}

.news-card--feature h2 {
  font-size: clamp(1.35rem, 2.15vw, 2rem);
  line-height: 1.2;
}

.news-card--compact .news-card__media,
.news-card--strip .news-card__media {
  aspect-ratio: 4 / 3;
}

.news-card--compact h2,
.news-card--strip h2 {
  font-size: 0.98rem;
}

.news-card .news-card__content,
.news-card .news-card__content h2,
.news-card .news-card__content .meta,
.news-card .news-card__content .meta time,
.news-card .news-card__content .meta span {
  color: var(--bap-text) !important;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.story-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--bap-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.story-row img {
  width: 100%;
  height: 100%;
  min-height: 96px;
  object-fit: cover;
  border-radius: var(--bap-radius-sm);
}

.story-row h2 {
  margin: 4px 0 6px;
  font-family: var(--bap-display);
  font-size: 1.02rem;
  line-height: 1.25;
}

.story-row p {
  margin: 0;
  color: var(--bap-muted);
  font-size: 0.89rem;
  line-height: 1.42;
}

.story-row .meta {
  font-size: 0.73rem;
}

.page-title {
  padding: 24px 0 8px;
}

.page-title h1 {
  margin: 0;
  font-family: var(--bap-display);
  font-size: clamp(1.95rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
}

.page-title--label {
  padding: 20px 0 8px;
}

.page-title--label h1 {
  display: inline-block;
  padding: 10px 18px 11px;
  border-radius: var(--bap-radius-sm);
  background: var(--bap-title-gradient);
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.page-title--label p {
  margin: 10px 0 0;
  color: var(--bap-muted);
  font-size: 0.92rem;
  max-width: 72ch;
}

.section {
  padding: 20px 0 0;
}

.layout-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 312px;
  gap: 24px;
}

.story-list {
  display: grid;
  gap: 14px;
}

.category-top {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 0.78fr);
  align-items: start;
  gap: 16px;
  margin-bottom: 18px;
}

.category-top__stack {
  display: grid;
  gap: 16px;
}

.news-card--category-lead .news-card__media {
  aspect-ratio: 16 / 11;
}

.news-card--category-lead h2 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.news-card--category-compact .news-card__media {
  aspect-ratio: 16 / 7;
}

.news-card--category-compact h2 {
  font-size: 1rem;
}

.category-list {
  display: grid;
  gap: 14px;
}
 

aside.sidebar section {
    margin-bottom: 30px;
}

body .widget ul {
    margin: 0;
    padding-left: 0px;
}

.widget {
  padding: 14px;
  border: 1px solid var(--bap-line);
  border-radius: var(--bap-radius);
  background: var(--bap-surface);
}

.widget h2,
.widget h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.widget ul {
  margin: 0;
  padding-left: 18px;
}

.sidebar-news-widget {
  padding: 0;
  overflow: hidden;
}

.sidebar-tabs__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--bap-line);
}

.sidebar-tabs__button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #3f4a68;
  font-family: var(--bap-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.sidebar-tabs__button.is-active {
  color: #ffffff;
  background: var(--bap-title-gradient);
}

.sidebar-tabs__panel {
  padding: 12px 14px;
}

.sidebar-post-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.sidebar-post-list__item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--bap-line);
}

.sidebar-post-list__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sidebar-post-list__thumb {
  display: block;
  width: 96px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #dbe3f7;
}

.sidebar-post-list__thumb--popular > a {
  display: block;
  width: 100%;
  height: 100%;
}

.sidebar-post-list__thumb img,
.sidebar-post-list__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-post-list__title {
  color: var(--bap-text);
  font-size: 0.92rem;
  line-height: 1.34;
  font-weight: 600;
}

.sidebar-post-list__title:hover {
  color: #1d3f90;
}

.sidebar-note {
  margin: 0;
  color: var(--bap-muted);
  font-size: 0.87rem;
}

.sidebar-focus-widget h2 {
  margin-bottom: 12px;
}

.sidebar-weather-widget {
  padding: 0;
  overflow: hidden;
}

.weatherwidget-io--mini {
  min-height: 86px;
}

.article-header {
  padding: 50px 0 34px;
  background-image: linear-gradient(63deg, var(--e-global-color-1007487) 0%, #450B5D 54%);
  color: #ffffff;
}

.article-header__inner {
  width: min(1090px, calc(100% - 28px));
  margin-inline: auto;
}

.article-header h1 {
  margin: 12px 0;
  font-family: var(--bap-display);
  font-size: clamp(1.88rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
}

.article-header .cat-chip {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.33);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-header .meta {
  color: rgba(255, 255, 255, 0.9);
}

.article-header .meta span::before {
  background: rgba(255, 255, 255, 0.55);
}

.article-share__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 14px;
}

.article-share__label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-share {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-share li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-share__link {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.article-share__link span {
  display: block;
  line-height: 1;
}

.article-share__link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.55);
}

.article-share__link--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.article-share__link--x:hover {
  background: #101828;
  border-color: #ffffff;
}

.article-share__link--telegram:hover {
  background: #229ed9;
  border-color: #229ed9;
}

.article-share__link--whatsapp:hover {
  background: #22c55e;
  border-color: #22c55e;
}

.article-featured {
  width: min(1090px, calc(100% - 28px));
  margin: 18px auto 0;
}

.article-featured img {
  width: 100%;
  max-height: 610px;
  object-fit: cover;
  border-radius: var(--bap-radius);
}

.single .has-featured-media .article-header {
  padding-bottom: clamp(96px, 11vw, 142px);
}

.single .has-featured-media .article-featured {
  margin-top: clamp(-92px, -7vw, -64px);
  position: relative;
  z-index: 2;
}

.single-body {
  padding-top: 18px;
}

.single-body .layout-main {
  width: min(1090px, calc(100% - 28px));
  margin-inline: auto;
  align-items: start;
}

.single-body .entry-content {
  width: auto;
  margin: 0;
  max-width: none;
}

.single-related {
  padding-top: 28px;
}

.single-related .section-grid {
  margin-top: 0;
}

.single-related .news-card__media,
.single-related .news-card__image {
  border-radius: 14px;
}

.entry-content {
  width: min(800px, calc(100% - 28px));
  margin: 30px auto;
  font-size: 1.06rem;
}

.entry-content a {
  color: #1a56c2;
  text-decoration: underline;
}

.entry-content > * {
  margin-block: 0 1.12em;
}

figure.wp-block-video * {
  max-width: 100%;
  height: auto;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--bap-line);
}

.article-tags__label {
  color: var(--bap-muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-tags__item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid #d6dceb;
  border-radius: 999px;
  background: #f7f9fd;
  color: #170658;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.entry-content .article-tags__item {
  color: #170658;
  text-decoration: none;
}

.article-tags__item:hover {
  border-color: #450b5d;
  background: #ffffff;
}

.pagination {
  margin-top: 20px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--bap-line);
  border-radius: 9px;
  background: var(--bap-surface);
}

.pagination .current {
  color: #ffffff;
  background: #121633;
}

.empty-state {
  padding: 20px;
  border: 1px dashed #cad3e7;
  border-radius: var(--bap-radius);
  background: #fafcff;
}

.site-footer {
  margin-top: 36px;
  background-image: linear-gradient(63deg, var(--e-global-color-1007487) 0%, #450B5D 54%);
  color: #f2f5ff;
}

.site-footer__inner {
  padding: 30px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  align-items: start;
  gap: 34px;
}

.footer-brand .brand {
  display: inline-flex;
}

.footer-social-icons {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.footer-social-icon:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.56);
}

.footer-social-icon--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.footer-social-icon--x:hover {
  background: #0f1729;
  border-color: #ffffff;
}

.footer-social-icon--instagram:hover {
  background: #d62976;
  border-color: #d62976;
}

.footer-social-icon--youtube:hover {
  background: #ff0033;
  border-color: #ff0033;
}

.footer-tagline {
  margin: 12px 0 0;
  max-width: 52ch;
  font-size: 0.92rem;
  opacity: 0.95;
}

.footer-legal {
  margin: 10px 0 0;
  font-size: 0.8rem;
  opacity: 0.82;
}

.footer-impressum {
  display: inline-flex;
  margin-top: 8px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  opacity: 0.94;
}

.footer-impressum:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-links__menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links .footer-social-icons {
  margin-top: 14px;
  justify-content: flex-end;
}

.footer-social-icon--live {
  padding: 0;
  overflow: hidden;
}

.footer-links a {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.92;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-menu a {
  color: #ffffff;
  opacity: 0.92;
}

@media (max-width: 1160px) {
  .site-header__inner {
    grid-template-columns: 182px minmax(0, 1fr) auto auto;
  }

  .brand__logo {
    width: 182px;
  }

  .focus-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid__stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-strip,
  .section-grid,
  .section-alt__stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-top {
    grid-template-columns: 1fr;
  }

  .category-top__stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-alt {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lead"
      "stack"
      "list";
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    inset: 74px 14px auto;
    display: none;
    padding: 10px;
    border-radius: 12px;
    background: rgba(22, 9, 69, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.27);
  }

  .site-nav.is-open {
    display: block;
  }

  .header-search-fab {
    right: 56px;
  }

  .header-search-panel {
    right: 102px;
  }

  .header-search-panel__input {
    width: min(46vw, 190px);
  }

  .primary-menu {
    display: grid;
    justify-content: stretch;
  }

  .primary-menu a {
    min-height: 40px;
  }

  .script-switcher {
    display: none;
  }

  .bap-live-link--header {
    display: none;
  }

  .layout-main,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .footer-links {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 12px;
    align-items: flex-start;
  }

  .footer-links__menu,
  .footer-links .footer-social-icons {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .section-header {
    flex-wrap: wrap;
  }

  .focus-grid,
  .focus-list,
  .hero-grid__stack,
  .news-strip,
  .section-grid,
  .section-alt__stack,
  .category-top__stack,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section-alt__list-link {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .news-card__media,
  .news-card--feature .news-card__media,
  .news-card--compact .news-card__media,
  .news-card--strip .news-card__media {
    aspect-ratio: 16 / 10;
  }

  .single .has-featured-media .article-header {
    padding-bottom: 84px;
  }

  .single .has-featured-media .article-featured {
    margin-top: -58px;
  }

  .article-share__link {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 66px;
    grid-template-columns: 132px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .brand__logo {
    width: 132px;
  }

  .site-nav {
    inset: 66px 8px auto;
  }

  .story-row {
    grid-template-columns: 1fr;
  }

  .story-row img {
    min-height: 170px;
  }

  .header-search-fab {
    right: 82px;
    width: 38px;
    height: 38px;
  }

  .header-search-panel {
    right: 126px;
  }

  .header-search-panel__input {
    width: min(44vw, 164px);
  }
}
