.dp-react-box {
  margin: 20px 0 16px;
  padding: 16px 18px 18px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(49,123,175,.15);
  box-shadow: 0 2px 12px rgba(49,123,175,.07);
}

.dp-react-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 6px;
}

.dp-react-box__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #317baf;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.dp-react-box__summary {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dp-react-box__emojis {
  display: flex;
  gap: 1px;
  font-size: 16px;
}

.dp-react-box__total {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.dp-react-box__hint {
  font-size: 12px;
  color: #9ca3af;
  font-style: italic;
}

/* PRZYCISKI - zawsze jedna linia */
.dp-react-box__buttons {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
}

.dp-react-btn {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 9px 8px;
  border: 2px solid rgba(15,30,45,.08);
  border-radius: 16px;
  background: #f8f9fb;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), background .18s ease, border-color .18s ease, box-shadow .18s ease;
  position: relative;
}

/* hover przeniesiony do @media(hover:hover) na dole — zero kosztu na touch */

.dp-react-btn--active {
  border-color: var(--rc, #317baf) !important;
  background: color-mix(in srgb, var(--rc, #317baf) 10%, white) !important;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--rc, #317baf) 30%, transparent) !important;
}

.dp-react-btn__emoji {
  font-size: 24px;
  line-height: 1;
  transition: font-size .15s ease, filter .15s ease;
  display: block;
}

/* hover emoji — przeniesiony do @media(hover:hover) na dole */

.dp-react-btn__label {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: color .15s ease;
}

.dp-react-btn--active .dp-react-btn__label {
  color: var(--rc, #317baf);
}

.dp-react-btn__count {
  font-size: 13px;
  font-weight: 800;
  color: #374151;
  min-height: 16px;
  line-height: 1;
}

.dp-react-btn--active .dp-react-btn__count {
  color: var(--rc, #317baf);
}

/* Animacja skoku */
@keyframes dp-react-pop {
  0%   { transform: translateY(-4px) scale(1.06); }
  30%  { transform: translateY(-10px) scale(1.35); }
  60%  { transform: translateY(-6px) scale(1.15); }
  100% { transform: translateY(0) scale(1); }
}

.dp-react-btn--pop .dp-react-btn__emoji {
  animation: dp-react-pop .4s cubic-bezier(.34,1.56,.64,1) forwards;
}

/* Cząsteczki */
.dp-react-particle {
  position: absolute;
  font-size: 18px;
  pointer-events: none;
  animation: dp-particle-fly .6s ease-out forwards;
  top: 0;
  left: 50%;
}

@keyframes dp-particle-fly {
  0%   { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), var(--dy)) scale(0.5); }
}

/* Link do rankingu */
.dp-react-box__ranking-link {
  text-align: right;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(49,123,175,.08);
}
.dp-react-box__ranking-link a {
  font-size: 12px;
  color: #c4c9d4;
  text-decoration: none;
  transition: color .15s ease;
}
.dp-react-box__ranking-link a:hover {
  color: #317baf;
  text-decoration: none;
}

@media (max-width: 480px) {
  .dp-react-btn { padding: 8px 4px; }
  .dp-react-btn__emoji { font-size: 20px; }
  .dp-react-btn__label { font-size: 10px; }
  .dp-react-box__buttons { gap: 4px; }
}

/* linki w treści */
.tresc a{color:#317baf!important;}

.tresc > p:first-of-type{
  margin-top: 1.2rem !important;
  margin-bottom: 1.8rem !important;
}


/* tytuł artykułu */
h1.article-title {
  margin-bottom: 6px;
}

/* lead pod foto */
.dp-article-lead{
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.45;
  color: #0b2a3a;
  margin: 14px 0 10px;
  text-align: left;
}

/* share trigger in follow section */
.dp-share-trigger{
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

/* badge new */
.dp-badge-new{
  margin-left: auto;
  font-size: 10px;
  color: #b01212;
  background: linear-gradient(180deg, rgba(208,17,17,.12), rgba(208,17,17,.07));
  border: 1px solid rgba(176,18,18,.18);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  line-height: 1;
}

/* zobacz też - pod dużym zdjęciem */
.dp-see-also{
  margin:0;
  padding:8px 0;
  line-height:1.5;
}
.dp-see-also__label{
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.4px;
  color:rgba(49,123,175,.50);
  white-space:nowrap;
  margin-right:5px;
}
.dp-see-also__label .fa{
  font-size:9px;
  margin-left:1px;
}
.dp-see-also__link{
  font-size:13px;
  font-weight:400;
  color:#4a6a7a;
  text-decoration:none;
  line-height:1.5;
}
.dp-see-also__link:hover{
  color:#317baf;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}

/* autor link */
.dp-author-link{
  color: inherit;
  text-decoration: none;
  transition: color .15s;
}
.dp-author-link:hover{
  color: #317baf;
}
.dp-date-link{
  color: #317baf;
  font-weight: 500;
}

/* meta artykułu */
.dp-article-meta {
  border-left: 2px solid rgba(49,123,175,.4);
  padding: 0 0 0 8px;
  margin: 6px 0 14px;
  line-height: 1.5;
}
.dp-article-meta__date {
  font-size: 12px;
  color: #555;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 5px;
}
.dp-article-meta__fresh {
  color: #317baf;
  font-weight: 600;
}
.dp-article-meta__sep {
  opacity: .3;
}
.dp-article-meta__sub {
  font-size: 11px;
  color: #999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 5px;
  margin-top: 1px;
}
/* meta artykułu */
.dp-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 11px;
  color: #888;
  margin: 8px 0 12px;
  line-height: 1.7;
}
.dp-article-meta__item {
  display: flex;
  align-items: center;
  gap: 2px;
}
.dp-article-meta__ico {
  width: 11px;
  height: 11px;
  opacity: .4;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dp-article-meta__sep {
  padding: 0 5px;
  opacity: .2;
}
@media (max-width: 576px) {
  .dp-article-meta { font-size: 10px; margin: 8px 0 10px; line-height: 1.6; }
  .dp-article-meta__sep { padding: 0 3px; }
  .dp-article-meta__ico { width: 10px; height: 10px; }
}
/* divider */
.dp-video-divider{
  display:flex;
  align-items:center;
  gap:.8rem;
  margin: 22px 0 12px;
}
.dp-video-divider__line{
  flex:1;
  height:3px;
  border-radius:2px;
}
.dp-video-divider__line:first-child{
  background: linear-gradient(90deg, rgba(49,123,175,0) 0%, #317baf 100%);
}
.dp-video-divider__line:last-child{
  background: linear-gradient(90deg, #317baf 0%, rgba(49,123,175,0) 100%);
}
.dp-video-divider__label{
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .6px;
  color:#317baf;
  white-space: nowrap;
  text-transform: uppercase;
}
@media (max-width: 576px){
  .dp-video-divider{ margin: 16px 0 8px; gap:.6rem; }
  .dp-video-divider__label{ font-size: .75rem; }
}

/* reklama przed embedami */
.ad-social{ margin: 14px 0; }
.ad-social__label{
  font-size: 12px;
  color: #6f6f6f;
  margin-bottom: 6px;
  text-align: center;
  display: block;
  width: 100%;
}

/* =========================
   FACEBOOK VIDEO (placeholder + iframe)
========================= */
.dp-fb-video{
  width: 100%;
  margin: 18px auto;
  max-width: 520px;
}

.dp-fb-video__inner{
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.dp-fb-video__inner iframe{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

.dp-fb-video__play{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.dp-fb-video__playIcon{
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}

.dp-fb-video__playIcon:before{
  content: "";
  position: absolute;
  left: 30px;
  top: 22px;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff;
}

.dp-fb-video__playText{
  margin-top: 10px;
  font-size: 14px;
  opacity: .9;
}
/* FB video - FINAL */
.dp-fb-video{
  width: 100%;
  margin: 18px auto;
  max-width: 400px; /* mobile */
}

.dp-fb-video__inner{
  overflow: hidden !important;
  background: transparent !important;
}

/* tablet */
@media (min-width: 576px){
  .dp-fb-video{ max-width: 380px; }
}

/* desktop - wymuszenie mniejsze */
@media (min-width: 992px){
  .dp-fb-video{ max-width: 400px !important; }
}

.dp-fb-video{
  margin-left: auto !important;
  margin-right: auto !important;
}


/* TikTok iframe zawsze na środku */
.dp-article-body iframe[src*="tiktok.com/embed"]{
  display: block;
  margin: 18px auto;
  max-width: 520px; /* możesz zmienić */
  width: 100%;
}

/* POWIĄZANE - delikatne mini kafle (Onet/premium vibe) */
.dp-related-grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin:12px 0 6px;
}

/* mobile */
@media (max-width: 576px){
  .dp-related-grid2{ grid-template-columns: 1fr; }
}

/* desktop: jeśli chcesz 4 w jednym rzędzie, odkomentuj */
/*
@media (min-width: 992px){
  .dp-related-grid2{
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
*/

.dp-related2{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  border-radius:14px;
  text-decoration:none;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,249,252,.92));
  border:1px solid rgba(15, 30, 45, .07);
  box-shadow: 0 10px 22px rgba(15, 30, 45, .04);
  min-height: 76px;
  color: inherit;
}

.dp-related2:hover{
  border-color: rgba(49,123,175,.18);
  text-decoration:none;
}

.dp-related2:focus{
  outline: none;
}

.dp-related2:focus-visible{
  outline: 2px solid rgba(49,123,175,.35);
  outline-offset: 2px;
}

.dp-related2__thumb{
  position: relative;
  flex: 0 0 88px;
  width: 88px;
  height: 58px;
  border-radius: 12px;
  overflow:hidden;
  background: rgba(49,123,175,.08);
}

.dp-related2__thumb img{
  width:100% !important;
  height:100% !important;
  object-fit:cover;
  display:block;
}

/* placeholder, gdy nie podajesz miniatury */
.dp-related2__ph{
  display:block;
  width:100%;
  height:100%;
  background:
    radial-gradient(220px 120px at 20% 30%, rgba(49,123,175,.14), transparent 60%),
    radial-gradient(220px 120px at 80% 70%, rgba(176,18,18,.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.00));
}

.dp-related2__body{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width: 0;
  flex: 1 1 auto;
}

.dp-related2__title{
  color:#0b2a3a;
  font-weight: 750;
  font-size: 13.5px;
  line-height: 1.25;

  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

.dp-related2__new{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  font-weight:700;
  color: rgba(176,18,18,.85);
  letter-spacing:.2px;
  text-transform: uppercase;
}

.dp-related2__dot{
  width:7px;
  height:7px;
  border-radius:999px;
  background: rgba(176,18,18,.75);
  box-shadow: 0 6px 12px rgba(176,18,18,.12);
}

.dp-related2__thumb picture{
  width:100%;
  height:100%;
  display:block;
}

.dp-related2__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.dp-entity-box__content strong{
  display:block;
  font-size:1.05rem;
  margin-bottom:4px;
}

.dp-entity-box__content p{
  margin:0 0 6px;
  font-size:.9rem;
  color:#444;
}

.dp-entity-box__content a{
  font-weight:600;
  color:#317baf;
  text-decoration:none;
}

.dp-entity-box__content a:hover{
  text-decoration:underline;
}

/* =========================
   ENTITY BOX – PREMIUM, SUBTELNY
========================= */

.dp-entity-box{
  display:flex;
  align-items:center;
  gap:14px;
  margin:18px 0;
  padding:12px 0 12px 10px; /* odsunięcie od lewej */
  border-top:1px solid #e6e9ee;
  border-bottom:1px solid #e6e9ee;
}

.dp-entity-box__img img{
  width:52px;
  height:52px;
  object-fit:cover;
  border-radius:8px; /* zaokrąglony kwadrat */
  flex-shrink:0;
}

.dp-entity-box__content{
  font-size:.92rem;
  line-height:1.35;
}

.dp-entity-box__content strong{
  display:block;
  font-weight:600;
  font-size:.96rem;
  margin-bottom:2px;
}

.dp-entity-box__content p{
  margin:0;
  color:#555;
}

.dp-entity-box__content a{
  display:inline-block;
  margin-top:3px;
  font-size:.9rem;
  color:#317baf;
  text-decoration:none;
}

.dp-entity-box__content a:hover{
  text-decoration:underline;
}

/* desktop – delikatnie więcej powietrza */
@media (min-width: 992px){
  .dp-entity-box{
    margin:22px 0;
    padding:14px 0 14px 14px;
  }

  .dp-entity-box__img img{
    width:60px;
    height:60px;
  }
}

.dp-entity-box{
  text-decoration:none;
  color:inherit;
}

.dp-entity-box:hover{
  background:rgba(49,123,175,.03);
}

.dp-entity-box:hover .dp-entity-box__content strong{
  text-decoration:underline;
}
.dp-entity-more{
  display:inline-block;
  margin-top:4px;
  font-size:.88rem;
  color:#317baf;
}

/* =========================
   RANDOM NEWS – WARIANT D
========================= */
a.dp-context-read,
a.dp-context-read--secondary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-top: 2px solid #317baf;
  border-bottom: 1px solid #e8edf2;
  padding: 10px 12px;
  margin: 14px 0;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: background .15s;
  cursor: pointer;
}
a.dp-context-read::before {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  font-weight: 900;
  color: #317baf;
  opacity: .05;
  letter-spacing: -1px;
  pointer-events: none;
  line-height: 1;
}
a.dp-context-read--secondary {
  border-top-color: #e61919;
}
a.dp-context-read--secondary::before {
  content: '';
  color: #e61919;
}
a.dp-context-read:hover { background: #f8fbfd; }
a.dp-context-read--secondary:hover { background: #fff8f8; }
a.dp-context-read:active { background: #eef5fa; transform: scale(.98); transition: transform .1s, background .1s; }
a.dp-context-read--secondary:active { background: #fef0f0; transform: scale(.98); transition: transform .1s, background .1s; }

/* miniaturka - większa */
.dp-context-read__pic {
  flex-shrink: 0;
  display: block;
  width: 160px;
  height: 100px;
  border-radius: 4px;
  overflow: hidden;
}
.dp-context-read__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* tekst */
.dp-context-read__body {
  flex: 1;
  min-width: 0;
}
.dp-context-read__label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #317baf;
  margin-bottom: 3px;
}
.dp-context-read--secondary .dp-context-read__label {
  color: #e61919;
}
.dp-context-read__title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #317baf;
  line-height: 1.35;
}
a.dp-context-read:hover .dp-context-read__title { color: #1a5f8f; }
a.dp-context-read--secondary .dp-context-read__title { color: #e61919; }
a.dp-context-read--secondary:hover .dp-context-read__title { color: #e61919; }
.tresc a.dp-context-read--secondary .dp-context-read__title { color: #e61919; }

@media (max-width: 480px){
  .dp-context-read__pic{width:120px;height:75px;}
}

.dp-related2__thumb{
  background-size: cover;
  background-position: center;
}
.dp-reco{
  margin: 28px auto;
  padding: 22px 20px 26px;
  max-width: 760px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow:
    0 10px 24px rgba(0,0,0,.08),
    0 2px 6px rgba(0,0,0,.04);
  text-align: center;
}

.dp-reco-title{
  font-size: 1.25rem;
  font-weight: 800;
  color: #1f6fb2;
  margin-bottom: 20px;
  letter-spacing: .2px;
}

.dp-reco-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.dp-reco-item{
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #f2f2f2;
  box-shadow:
    0 6px 16px rgba(0,0,0,.12),
    0 1px 3px rgba(0,0,0,.08);
}

.dp-reco-item img{
  width: 100%;
  height: auto;
  display: block;
}

/* premium hover */
.dp-reco-item::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.18),
    rgba(0,0,0,0) 45%
  );
  opacity: 0;
  transition: opacity .25s ease;
}

.dp-reco-item:hover{}

.dp-reco-item:hover::after{
  opacity: 1;
}
@media (max-width: 576px){

  .dp-reco{
    max-width: 100%;
    padding: 20px 12px 24px;
    border-radius: 14px;
  }
}

  .dp-reco-title{
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .dp-reco-grid{
    grid-template-columns: repeat(2, 1fr); /* dalej 2 */
    gap: 14px;
  }

  .dp-reco-item{
    border-radius: 14px;
  }

  .dp-reco-item img{
    width: 100%;
    height: auto;
  }

  /* lekko powiększamy wizualnie */
  .dp-reco-item:hover{
    transform: none;
  }
/* =========================
   META BAR (autor / data + social)
========================= */
.meta-bar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: 13px;
  color: #444;
  flex-wrap: wrap;
}
.meta-bar__left {
  flex: 1;
  min-width: 200px;
}
.meta-bar__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.meta-bar__right img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
/* hover img → @media(hover:hover) na dole */
.meta-bar__follow {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-right: 4px;
}
.meta-bar__row {
  line-height: 1.4;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.meta-bar__label {
  color: #666;
  flex-shrink: 0;
}
.meta-bar__row time {
  font-weight: 500;
  color: #317baf;
}
.meta-bar__author {
  font-weight: 500;
  color: #317baf;
  text-decoration: none;
}
.meta-bar__author:hover {
  text-decoration: underline;
}
.meta-bar__about {
  margin-top: 2px;
  font-size: 12px;
  color: #6f6f6f;
  line-height: 1.35;
}
@media (max-width: 576px) {
  .meta-bar { flex-direction: column; gap: 12px; }
  .meta-bar__right { justify-content: flex-start; }
}

/* =========================
   FOLLOW PREMIUM (Google News + Instagram)
========================= */
.follow-premium {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
}
.follow-premium__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(49,123,175,.12);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}
.follow-premium__item:hover {
  text-decoration: none;
  color: inherit;
}
.follow-premium__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.follow-premium__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.follow-premium__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #317baf;
}
.follow-premium__title {
  font-size: 13px;
  font-weight: 600;
  color: #0b2a3a;
  line-height: 1.3;
}
.follow-premium__hint {
  font-size: 11px;
  color: #6b7280;
}
.follow-premium__cta {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #317baf;
  padding: 6px 14px;
  border: 1.5px solid #317baf;
  border-radius: 999px;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.follow-premium__item:hover .follow-premium__cta {
  background: #317baf;
  color: #fff;
}
@media (max-width: 576px) {
  .follow-premium__item { padding: 10px 12px; gap: 10px; }
  .follow-premium__icon { width: 32px; height: 32px; }
  .follow-premium__title { font-size: 12px; }
  .follow-premium__hint { display: none; }
  .follow-premium__cta { padding: 5px 10px; font-size: 11px; }
}


/* =========================================================
   POWIĄZANE (PREMIUM SOFT) - dp-relatedMix
   - lekkie, portalowe, premium
   - artykuły + teledyski w gridzie
   - TOP jako lista pod spodem
========================================================= */

.dp-relatedMix{
  margin-top: 10px;
}

/* GRID */
.dp-relatedMix__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin: 10px 0 14px;
}

/* mobile */
@media (max-width: 576px){
  .dp-relatedMix__grid{
    grid-template-columns: 1fr;
  }
}

/* ITEM */
.dp-relatedMix__item{
  position:relative;
  display:flex;
  gap:10px;
  align-items:center;

  padding:10px 0;
  border-bottom:1px solid rgba(15,30,45,.08);

  text-decoration:none;
  color:inherit;

  cursor:pointer;
  transition: background .15s ease;
}

/* portalowy hover: lekki niebieski glow w tle */
.dp-relatedMix__item:hover{
  background: linear-gradient(90deg, rgba(49,123,175,.06), rgba(49,123,175,0));
}

.dp-relatedMix__item:focus{
  outline:none;
}

.dp-relatedMix__item:focus-visible{
  outline:2px solid rgba(49,123,175,.35);
  outline-offset:3px;
  border-radius:10px;
}

/* THUMB */
.dp-relatedMix__thumb{
  position:relative;
  flex:0 0 92px;
  width:92px;
  height:60px;
  border-radius:10px;
  overflow:hidden;
  background: rgba(49,123,175,.08);
}

/* portalowy gradient na miniaturze */
.dp-relatedMix__thumb:after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,.12) 100%
  );
  opacity:.9;
  pointer-events:none;
  transition: opacity .18s ease;
}

.dp-relatedMix__thumb picture{
  display:block;
  width:100%;
  height:100%;
}

.dp-relatedMix__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;

}

/* hover thumb → @media(hover:hover) na dole */

/* placeholder gdy brak miniatury */
.dp-relatedMix__ph{
  display:block;
  width:100%;
  height:100%;
  background:
    radial-gradient(220px 120px at 20% 30%, rgba(49,123,175,.14), transparent 60%),
    radial-gradient(220px 120px at 80% 70%, rgba(176,18,18,.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.00));
}

/* BODY */
.dp-relatedMix__body{
  min-width:0;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:4px;
}

/* typ: Artykuł / Teledysk */
.dp-relatedMix__type{
  font-size:10px;
  font-weight:600;
  color:#8b97a6;
  text-transform:none;        /* zamiast capslock */
  letter-spacing:0;
}

/* tytuł */
.dp-relatedMix__title{
  font-size:14px;
  font-weight:500;
  line-height:1.25;
  color:#1b3342;

  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;

  transition: color .15s ease;
}

/* hover tytułu: na niebiesko jak portal */
.dp-relatedMix__item:hover .dp-relatedMix__title{
  color:#317baf;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* BADGE NEW - premium portalowe */
.dp-relatedMix__badge{
  position:absolute;
  top:8px;
  right:0;

  display:inline-flex;
  align-items:center;

  font-size:10px;
  font-weight:900;
  letter-spacing:.35px;
  text-transform:uppercase;

  color:#b01212;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(176,18,18,.22);
  padding:2px 7px;
  border-radius:999px;
  line-height:1;

  box-shadow: 0 8px 16px rgba(0,0,0,.07);
  backdrop-filter: blur(4px);
}

/* TOP LISTA pod spodem */
.dp-relatedMix__top{
  margin-top: 14px;
  padding-top: 10px;
  border-top:1px solid rgba(15,30,45,.10);
}

.dp-relatedMix__topHead{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
  margin-bottom: 8px;
}

.dp-relatedMix__topLabel{
  font-weight:800;
  color:#0b2a3a;
  font-size: 14px;
}

.dp-relatedMix__topHint{
  font-size:12px;
  color:#6c7a86;
}

/* MINI LISTA - heading */
.dp-mini-list__heading{
  margin:0 0 2px;
  padding:0;
  font-size:11px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.5px;
  color:rgba(49,123,175,.55);
}
.dp-mini-list__heading .fa{
  font-size:9px;
  margin-left:2px;
  vertical-align:middle;
}

/* MINI LISTA - soft */
.dp-mini-list--soft{
  margin:0;
  padding:0;
  list-style:none;
}

.dp-mini-list--soft .dp-mini-list__item{
  display:flex;
  align-items:center;
  gap:6px;
  padding:5px 0;
  border-bottom:1px dashed rgba(15,30,45,.07);
}

.dp-mini-list--soft .dp-mini-list__item:last-child{
  border-bottom:0;
}

/* link w liście */
.dp-mini-list--soft .dp-mini-list__item a{
  color:#4a6a7a;
  font-weight:400;
  font-size:13px;
  text-decoration:none;
  line-height:1.25;
  transition: color .15s ease;
}

.dp-mini-list--soft .dp-mini-list__item a:hover{
  color:#317baf;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}
/* YouTube Player */
.dp-yt-wrapper{
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 24px auto;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.1) inset;
}

.dp-yt-wrapper:not(:has(.dp-yt-placeholder)){
  padding-top: 56.25%;
}

.dp-yt-placeholder{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  cursor: pointer;
  background: #000;
  overflow: hidden;
}

/* Ciemny overlay na hover */
.dp-yt-placeholder::after{
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.6) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.dp-yt-placeholder:hover::after{
  opacity: 1;
}

.dp-yt-placeholder picture,
.dp-yt-placeholder img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* hover img scale → @media(hover:hover) na dole */

/* PRZYCISK PLAY - MNIEJSZY */
.dp-yt-play{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 70px;
  height: 70px;
  
  border: 0;
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  border-radius: 50%;
  
  cursor: pointer;
  z-index: 2;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  box-shadow: 
    0 0 0 0 rgba(255, 0, 0, 0.7),
    0 15px 40px rgba(0,0,0,0.4);
  
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
}

/* Pulsujący efekt pierścienia */
@keyframes pulse-ring {
  0% {
    box-shadow: 
      0 0 0 0 rgba(255, 0, 0, 0.7),
      0 15px 40px rgba(0,0,0,0.4);
  }
  50% {
    box-shadow: 
      0 0 0 20px rgba(255, 0, 0, 0),
      0 15px 40px rgba(0,0,0,0.4);
  }
  100% {
    box-shadow: 
      0 0 0 0 rgba(255, 0, 0, 0),
      0 15px 40px rgba(0,0,0,0.4);
  }
}

.dp-yt-play{
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

/* hover play → @media(hover:hover) na dole */

/* Trójkąt PLAY - proporcjonalnie mniejszy */
.dp-yt-play::before{
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-50%, -50%);
  
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #ffffff;

  transition: border-width 0.3s ease;
}

/* hover play::before → @media(hover:hover) na dole */

/* Ukryj SVG jeśli nie chcesz go używać */
.dp-yt-play svg{
  display: none;
}

/* Badge "Kliknij aby odtworzyć" */
.dp-yt-placeholder::before{
  content: "Kliknij aby odtworzyć";
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  color: #fff;
  
  padding: 10px 20px;
  border-radius: 30px;
  
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  
  opacity: 0;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.dp-yt-placeholder:hover::before{
  opacity: 1;
  bottom: 24px;
}

/* Iframe */
.dp-yt-wrapper iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Link pod playerem - BLIŻEJ */
.dp-yt-link{
  text-align: center;
  margin: 6px 0 0;
  font-size: 12px;
}

.dp-yt-link a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  
  color: #6b7280;
  text-decoration: none;
  
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  background: linear-gradient(to right, transparent, transparent);
}

.dp-yt-link a:hover{
  color: #317baf;
  border-color: rgba(49,123,175,0.2);
}

.dp-yt-link svg{
  width: 13px;
  height: 13px;
  opacity: 0.7;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dp-yt-link a:hover svg{
  opacity: 1;
  transform: translateX(2px);
}

/* Mobile */
@media (max-width: 576px){
  .dp-yt-wrapper{
    border-radius: 16px;
    margin: 20px auto;
  }
  
  .dp-yt-play{
    width: 60px;
    height: 60px;
  }
  
  .dp-yt-play::before{
    border-width: 11px 0 11px 19px;
  }
  
  .dp-yt-placeholder::before{
    font-size: 12px;
    padding: 8px 16px;
  }
}

/* Subtitle w sekcji powiązanych */
.dp-strip-subtitle {
  display: block;
  font-size: 12px;
  color: #6b7280;
  font-weight: 400;
  margin-top: 2px;
}

/* h2 w dp-strip-title - reset dla SEO */
.dp-strip-title {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0b2a3a;
}

/* sr-only dla accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* Data przy powiązanych artykułach */
.dp-relatedMix__date {
  display: block;
  font-size: 11px;
  color: #8b97a6;
  margin-top: 2px;
  font-weight: 400;
}

/* Badge NEW dla popularnych newsów */
.dp-news-badge {
  margin-left: auto;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.dp-news-badge--new {
  color: #b01212;
  background: linear-gradient(180deg, rgba(208,17,17,.12), rgba(208,17,17,.07));
  border: 1px solid rgba(176,18,18,.18);
  box-shadow: 0 6px 14px rgba(176,18,18,.07);
}


/* TAGI */
.dp-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eef2f5;
}
.dp-tags::before {
  content: '\f02c';
  font-family: FontAwesome;
  font-size: 11px;
  color: #b0bec5;
  margin-right: 2px;
}
.dp-tags__item {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  color: #8a9bab;
  background: transparent;
  border: 1px solid #e4eaf0;
  border-radius: 14px;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.dp-tags__item:hover {
  color: #317baf;
  border-color: #317baf;
  background: #f6fafd;
  text-decoration: none;
}

/* Instagram wrapper */
.dp-ig-wrapper{
  margin:20px 0;
}
.dp-ig-wrapper iframe{
  display:block!important;
  margin:0 auto!important;
  max-width:540px;
}

/* === CLS: stałe wymiary na elementach które powodują shift === */

/* Hero image — nie zmienia rozmiaru po załadowaniu */
.hero-news-image .foto img{display:block;width:100%;height:auto}

/* Reakcje — stała wysokość */
.dp-react-box{min-height:140px}

/* Ankieta — stała wysokość */
#dp-ankieta{min-height:180px}

/* Powiązane — stała wysokość */
.dp-relatedMix{min-height:100px}

/* Context read — stała wysokość */
a.dp-context-read,a.dp-context-read--secondary{min-height:60px}

/* Article body — obrazki bez CLS */
.dp-article-body img{display:block;max-width:100%;height:auto}

/* YouTube — fallback gdy :has() nie działa */
.dp-yt-wrapper{padding-top:56.25%}
.dp-yt-wrapper:has(.dp-yt-placeholder){padding-top:0}


/* Hover effects tylko na urządzeniach z myszką — na touch zerowy koszt */
@media(hover:hover){
  .dp-react-btn:hover{transform:translateY(-4px) scale(1.06);background:#f0f4f8;border-color:rgba(49,123,175,.2);box-shadow:0 8px 20px rgba(0,0,0,.1)}
  .dp-react-btn:hover .dp-react-btn__emoji{font-size:28px;filter:drop-shadow(0 4px 8px rgba(0,0,0,.25))}
  .dp-related2:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(15,30,45,.06)}
  .dp-reco-item:hover{transform:translateY(-6px);box-shadow:0 14px 30px rgba(0,0,0,.18),0 4px 10px rgba(0,0,0,.12)}
  .meta-bar__right img:hover{transform:scale(1.1)}
  .follow-premium__item:hover{box-shadow:0 6px 18px rgba(49,123,175,.1);transform:translateY(-1px)}
  .dp-relatedMix__item:hover .dp-relatedMix__thumb img{transform:scale(1.06)}
  .dp-relatedMix__item:hover .dp-relatedMix__thumb{box-shadow:0 10px 18px rgba(49,123,175,.12)}
  .dp-yt-placeholder:hover img{transform:scale(1.08)}
  .dp-yt-play:hover{transform:translate(-50%,-50%) scale(1.15);background:linear-gradient(135deg,#ff1a1a,#e60000);box-shadow:0 0 0 0 rgba(255,0,0,0),0 20px 50px rgba(255,0,0,.5);animation:none}
  .dp-yt-play:hover::before{border-width:15px 0 15px 26px;left:53%}
  .dp-yt-link a:hover{background:linear-gradient(135deg,rgba(49,123,175,.08),rgba(49,123,175,.12));transform:translateY(-1px)}
}

