:root {
  --n24-red: #df1c23;
  --n24-world: #3b77b6;
  --n24-local: #4d8768;
  --n24-ink: #131922;
  --n24-muted: #69727e;
  --n24-line: #e3e6e9;
}

.n24-labels {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 0;
  font: 800 10px/1.25 Arial, Helvetica, sans-serif;
  letter-spacing: .65px;
}

.n24-labels__separator { color: #9aa3ad; }
.n24-label-link { color: inherit; text-decoration: none; }
.n24-label-link:hover .n24-label { text-decoration: underline; text-underline-offset: 2px; }

.n24-label {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  padding: 3px 6px;
  border-radius: 3px;
  color: var(--n24-label, var(--n24-muted));
  background: var(--n24-label-bg, rgba(105, 114, 126, .12));
  white-space: nowrap;
}

.n24-label--editorial {
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

.n24-source {
  margin: 22px 0;
  padding-top: 12px;
  border-top: 1px solid var(--n24-line);
  color: var(--n24-muted);
  font: 400 12px/1.5 Arial, Helvetica, sans-serif;
}

.n24-source a { color: var(--n24-ink); }

.n24-post-list {
  width: 100%;
  border-top: 4px solid var(--n24-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.n24-post-list--live { border-color: var(--n24-red); background: #171C24; color: #FFFFFF; padding: 20px; }
.n24-post-list--local { border-color: var(--n24-local); }

.n24-post-list__heading {
  margin: 0;
  padding: 15px 0;
  color: inherit;
  font: 800 22px/1.15 Arial, Helvetica, sans-serif;
}

.n24-post-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid var(--n24-line);
}

.n24-post-list--live .n24-post-list__item { border-color: #353B44; }
.n24-post-list__image { width: 82px; height: 66px; overflow: hidden; }
.n24-post-list__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.n24-post-list__body { min-width: 0; }

.n24-post-list__number {
  color: var(--n24-red);
  font: 700 25px/1 Georgia, serif;
}

.n24-post-list__time {
  display: block;
  margin-bottom: 4px;
  color: var(--n24-red);
  font-size: 11px;
  font-weight: 800;
}

.n24-post-list--local .n24-post-list__time { color: var(--n24-local); }
.n24-post-list__title { margin: 5px 0 0; font: 800 15px/1.25 Arial, Helvetica, sans-serif; }
.n24-post-list__title a { color: inherit; text-decoration: none; }
.n24-post-list__title a:hover { color: var(--n24-red); }
.n24-post-list__empty { color: var(--n24-muted); font-size: 13px; }

.n24-regions ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.n24-regions li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.n24-regions a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  color: #cbd8d1;
  font: 700 13px/1.3 Arial, Helvetica, sans-serif;
  text-decoration: none;
}
.n24-regions a:hover { color: #fff; }

.n24-region-switcher {
  width: 100%;
  color: var(--n24-ink);
  font-family: Arial, Helvetica, sans-serif;
}
.n24-region-switcher label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.n24-region-switcher > div { display: flex; gap: 8px; }
.n24-region-switcher select {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #d8dce0;
  background: #fff;
}
.n24-region-switcher button {
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  background: var(--n24-local);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .n24-regions ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .n24-labels { gap: 4px; font-size: 9px; }
  .n24-label { padding: 3px 5px; }
  .n24-regions ul { grid-template-columns: minmax(0, 1fr); }
  .n24-post-list__image { width: 72px; height: 60px; }
}

/* NASZE24 LIVE ticker — gotowy pasek do headera, v1.2.6 */
.n24-live-ticker {
  width: 100%;
  min-width: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.n24-live-ticker--bar {
  background: transparent;
  border: 0;
  color: #FFFFFF;
}

.n24-live-ticker__inner {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  padding: 0;
}

.n24-live-ticker__label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--n24-red, #DF1C23);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .72px;
  line-height: 1;
  text-transform: uppercase;
}

.n24-live-ticker__label i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--n24-red, #DF1C23);
  box-shadow: 0 0 0 4px rgba(223, 28, 35, .10);
  animation: n24-live-pulse 1.8s ease-in-out infinite;
}

.n24-live-ticker__divider {
  width: 1px;
  height: 18px;
  flex: 0 0 1px;
  background: rgba(255, 255, 255, .28);
}

.n24-live-ticker__items {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  overflow: hidden;
}

.n24-live-ticker__item {
  display: none;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
}

.n24-live-ticker__item:first-child,
.n24-live-ticker__item.is-active {
  display: flex;
}

.n24-live-ticker[data-n24-ready="1"] .n24-live-ticker__item:first-child:not(.is-active) {
  display: none;
}

.n24-live-ticker__item time {
  flex: 0 0 auto;
  color: var(--n24-red, #DF1C23);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2px;
}

.n24-live-ticker__scope {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 3px;
  color: rgba(255, 255, 255, .72);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .55px;
  line-height: 1;
}

.n24-live-ticker__headline {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
}

.n24-live-ticker__item:hover .n24-live-ticker__headline {
  color: var(--n24-red, #DF1C23);
}

.n24-live-ticker__preview-text {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 700;
}

@keyframes n24-live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(223, 28, 35, .10); }
  50% { opacity: .65; box-shadow: 0 0 0 7px rgba(223, 28, 35, .03); }
}

@media (prefers-reduced-motion: reduce) {
  .n24-live-ticker__label i { animation: none; }
}

@media (max-width: 767px) {
  .n24-live-ticker__inner {
    min-height: 42px;
    gap: 9px;
    padding: 0;
  }

  .n24-live-ticker__label {
    gap: 6px;
    font-size: 10px;
    letter-spacing: .45px;
  }

  .n24-live-ticker__divider {
    height: 16px;
  }

  .n24-live-ticker__item {
    gap: 7px;
  }

  .n24-live-ticker__item time {
    font-size: 10px;
  }

  .n24-live-ticker__scope {
    display: none;
  }

  .n24-live-ticker__headline {
    font-size: 11px;
  }
}

/* Pełna lista LIVE — nagłówek spójny z tickerem */
.n24-live-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid #E3E6E9;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}

.n24-live-heading__dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--n24-red, #DF1C23);
  box-shadow: 0 0 0 4px rgba(223, 28, 35, .10);
}

.n24-live-heading__live {
  color: var(--n24-red, #DF1C23);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .65px;
  text-transform: uppercase;
}

.n24-live-heading__sep {
  color: #A3AAB2;
  font-size: 12px;
  font-weight: 700;
}

.n24-live-heading__scope {
  color: #131922;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.n24-post-list--live .n24-post-list__items {
  margin-top: 0;
}

@media (max-width: 767px) {
  .n24-live-heading {
    gap: 7px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .n24-live-heading__live,
  .n24-live-heading__scope {
    font-size: 11px;
  }
}
/* Motywy pełnego boxu LIVE */
.n24-live-theme--light .n24-post-list--live {
  background: #F3F5F6;
  color: var(--n24-ink, #131922);
  padding: 20px;
}

.n24-live-theme--light .n24-post-list--live .n24-post-list__item {
  border-color: var(--n24-line, #E3E6E9);
}

.n24-live-theme--light .n24-post-list--live .n24-post-list__title,
.n24-live-theme--light .n24-post-list--live a {
  color: var(--n24-ink, #131922);
}

.n24-live-theme--dark .n24-post-list--live {
  background: #061B49;
  color: #FFFFFF;
  padding: 20px;
}

.n24-live-theme--dark .n24-post-list--live .n24-post-list__item {
  border-color: #353B44;
}

.n24-live-theme--dark .n24-post-list--live .n24-post-list__title,
.n24-live-theme--dark .n24-post-list--live a {
  color: #FFFFFF;
}

.n24-live-theme--dark .n24-live-heading {
  border-bottom-color: #353B44;
}

.n24-live-theme--dark .n24-live-heading__scope {
  color: #FFFFFF;
}

.n24-live-theme--dark .n24-live-heading__sep {
  color: #7D8792;
}
/* v1.2.5 — właściwy kontrast nagłówka LIVE */
.n24-live-theme--dark .n24-live-heading__live {
  color: var(--n24-red, #DF1C23) !important;
}

.n24-live-theme--dark .n24-live-heading__scope {
  color: #FFFFFF !important;
}

.n24-live-theme--dark .n24-live-heading__sep {
  color: #8E98A3 !important;
}


/* v1.2.7 — ticker zgodny z makietą: część ciemnego headera */
.n24-live-ticker--bar,
.elementor-widget-n24-live-ticker .n24-live-ticker--bar {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.n24-live-ticker__headline,
.n24-live-ticker__item {
  color: #FFFFFF;
}

.n24-live-ticker__label,
.n24-live-ticker__item time {
  color: var(--n24-red, #DF1C23);
}


/* v1.3.2 — LIVE Radar events have no article link yet */
.n24-live-ticker__item--radar{
  cursor:default;
}


/* v1.3.4 — LIVE Radar również w bocznym widgetcie */
.n24-post-list__item--radar .n24-post-list__title span{
  color:inherit;
}
.n24-post-list__item--radar{
  cursor:default;
}


/* v1.3.5 — kolory LIVE zgodne z layoutem NASZE24 */
.n24-live-theme--dark .n24-post-list--live{
  background:#061B49 !important;
}
.n24-live-theme--dark .n24-post-list--live .n24-post-list__item,
.n24-live-theme--dark .n24-live-heading{
  border-color:rgba(255,255,255,.18) !important;
}

.n24-live-theme--light .n24-post-list--live{
  background:#F3F5F6 !important;
  color:#131922 !important;
  padding:20px !important;
}
.n24-live-theme--light .n24-post-list--live .n24-post-list__item,
.n24-live-theme--light .n24-live-heading{
  border-color:#E1E4E7 !important;
}
.n24-live-theme--light .n24-post-list--live .n24-post-list__title,
.n24-live-theme--light .n24-post-list--live a,
.n24-live-theme--light .n24-live-heading__scope{
  color:#131922 !important;
}


/* ==========================================================
   v1.3.6 — boczny LIVE: typografia jak górny ticker
   ========================================================== */
.n24-post-list--live .n24-post-list__title,
.n24-post-list--live .n24-post-list__title span,
.n24-post-list--live .n24-post-list__title a{
  font-family:"Source Sans 3",Arial,sans-serif !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
}
.n24-post-list--live .n24-post-list__time{
  font-family:"Source Sans 3",Arial,sans-serif !important;
  font-size:11px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
  margin-bottom:4px !important;
}

/* v1.3.10 — Elementor LIVE ticker: ciągły crawl jak wcześniejszy shortcode */
.n24-live-ticker--crawl .n24-live-ticker__inner{
	display:flex;
	align-items:center;
	width:100%;
	min-width:0;
	overflow:hidden;
}
.n24-live-ticker--crawl .n24-live-ticker__label,
.n24-live-ticker--crawl .n24-live-ticker__divider{
	flex:0 0 auto;
	position:relative;
	z-index:2;
}
.n24-live-ticker--crawl .n24-live-ticker__viewport{
	flex:1 1 auto;
	min-width:0;
	overflow:hidden;
	white-space:nowrap;
	-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);
	mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);
}
.n24-live-ticker--crawl .n24-live-ticker__track{
	display:flex;
	width:max-content;
	will-change:transform;
	animation:n24EditorialTickerCrawl 18s linear infinite;
}
.n24-live-ticker--crawl .n24-live-ticker__group{
	display:flex;
	align-items:center;
	flex:0 0 auto;
	min-width:max-content;
}
.n24-live-ticker--crawl .n24-live-ticker__item,
.n24-live-ticker--crawl .n24-live-ticker__item:first-child,
.n24-live-ticker--crawl .n24-live-ticker__item.is-active{
	display:inline-flex !important;
	position:static;
	opacity:1;
	visibility:visible;
	align-items:center;
	flex:0 0 auto;
	width:auto;
	padding-right:24px;
	white-space:nowrap;
}
.n24-live-ticker--crawl .n24-live-ticker__headline{
	overflow:visible;
	text-overflow:clip;
	white-space:nowrap;
}
.n24-live-ticker--crawl .n24-live-ticker__viewport:hover .n24-live-ticker__track{
	animation-play-state:paused;
}
@keyframes n24EditorialTickerCrawl{
	from{transform:translateX(0)}
	to{transform:translateX(calc(-1 * var(--n24-ticker-group-width,100%)))}
}
@media(prefers-reduced-motion:reduce){
	.n24-live-ticker--crawl .n24-live-ticker__track{animation:none;transform:none}
	.n24-live-ticker--crawl .n24-live-ticker__viewport{
		overflow-x:auto;
		-webkit-mask-image:none;
		mask-image:none;
	}
}
