/* ============================================================
   ARTICLE PAGE — Widok szczegolow artykulu
   ============================================================ */

.article-page {
    background: #fff;
}

.article-page__header {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.article-page__title {
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.15;
    
    margin: 0 0 0.5rem;
}

.article-page__date {
    display: block;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.75rem;
}

.article-page__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  
    padding: 0.45rem 0;
    margin: 0.35rem 0 0.9rem;
}

.article-page__meta-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
}

.article-page__meta-item {
    font-size: 0.82rem;
    color: #666;
}

.article-page__meta-item a {
    color: #0b4f99;
    text-decoration: none;
}

.article-page__meta-item a:hover {
    text-decoration: underline;
}

.article-page__share {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
}

.article-share-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.article-share-list li {
    margin: 0;
    padding: 0;
}

.article-share-list .facebook a,
.article-share-list .twitter a,
.article-share-list .wykop a,
.article-share-list .mail a,
.article-share-list .share-button {
    display: block;
    width: 35px;
    height: 35px;
    overflow: hidden;
    
    text-indent: -9999px;
    white-space: nowrap;
    background-image: url('/assets/icons/share/ikony@2x.png');
    background-repeat: no-repeat;
    background-size: auto;
    cursor: pointer;
     background-size: 100%;
}

.article-share-list .shereB .share-button {
    background-image: url('/assets/icons/share/ikony@2x.png');
    background-size: 100%;
    background-position: 0 28.1%;
}

.article-share-list .facebook a {
    background-position: 0 14%;
}

.article-share-list .twitter a {
    background-position: 0 21%;
}

.article-share-list .wykop a {
    background-position: 0 84%;
}

.article-share-list .mail a {
    background-position: 0 91%;
}

.article-page__share-link {
    width: 30px;
    height: 30px;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
    color: #003f8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-page__share-link:hover {
    background: #003f8a;
    color: #fff;
    border-color: #003f8a;
}

.article-page__lead {
    font-size: 1.15rem;
    line-height: 1.5;
    color: #222;
    font-weight: 500;
    margin: 0;
}

.article-page__figure {
    margin: 0 0 1rem;
}

.article-page__image {
    width: 100%;
    height: auto;
    display: block;
}
.embed-work-detail-title, .embed-work-detail-source,.embed-work-detail {
    color: #585757;
    font-size: 15px;
    font-weight: 400;
    
    clear: both;
    line-height: 20px;
    text-align: right;
    padding-top: 5px;
    display: block;
}
.article-page__content {
    color: #1f1f1f;
    font-size: 1.129rem;
    line-height: 1.7;
}

.article-page__content p {
    margin: 0 0 1rem;
}

.article-page__content > p:first-child {
    font-size: 1.12rem;
    line-height: 1.65;
}

.article-page__content h2,
.article-page__content h3,
.article-page__content h4 {
    color: #1a1a2e;
    font-weight: 400;
    line-height: 1.25;
    margin: 1.5rem 0 0.75rem;
    text-align: left;
}

.article-page__content ul,
.article-page__content ol {
    margin: 0 0 1rem 0;
    padding-left: 20px;
}
.article-page__content ul.embed-articlelist__items{
    padding-left: 0;
}
.article-page__content ul.bullet{
    padding-left: 0;
}

.article-page__content li {
    margin-bottom: 0.35rem;
}

.article-page__content ul.bullet li:before {
    left: 0;
    content: '\2022';
    line-height: 16px;
    position: absolute;
    top: 7px;
    font-size: 45px;
    color: #fc0;
}
.bullet.article-page__summary{
    padding-left: 20px;
}
.bullet.article-page__summary li{font-size: 18px;}
.bullet.article-page__summary li::marker {
    left: 0;
   
    font-size: 24px;
    color: #fc0;
}

.article-page__content ul.bullet li {
    margin-left: 0;
    padding-left: 20px;
    list-style-type: none !important;
    padding-bottom: 10px;
    position: relative;
}

.article-page__content blockquote {
    margin: 1.2rem 0;
    padding: 0.2rem 0 0.2rem 1rem;
    border-left: 4px solid #ffcc00;
    color: #2d2d2d;
    font-style: italic;
}

.article-page__content a {
    color: #003f8a;
    text-decoration: underline;
    text-decoration-color: rgba(0, 63, 138, 0.35);
    text-underline-offset: 2px;
}

.article-page__content a:hover {
    text-decoration-color: rgba(0, 63, 138, 0.9);
}

.article-page__content img,
.article-page__content iframe,
.article-page__content video,
.article-page__content table {
    max-width: 100%;
}

.article-page__content iframe {
    
    min-height: 300px;
}
.embed-facebook-inpl iframe,
.embed-twitter-x.is-loaded iframe{
    min-height: 580px;
}
/* ============================================================
   TIMELINE ARTICLE TEMPLATE (rmf24_timeline)
   ============================================================ */
.article-page--timeline .article-title {
    font-size: 36px;
    color: #484848;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 12px;
}

.article-page--timeline .article-info {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.article-page--timeline .article-header {
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-page--timeline .article-date {
    font-size: 15px;
    color: #666;
}

.article-page--timeline .article-lead {
    font-weight: 600;
    margin-bottom: 20px;
}

.article-page--timeline .articleContent {
    margin-top: 20px;
    width: 100%;
    float: right;
}

.article-page--timeline .articleContent p {
    border-left: 5px solid #4bb5de;
    padding-left: 20px;
    padding-bottom: 20px;
    margin-bottom: 0 !important;
}

.article-page--timeline .articleContent ul li {
    margin-left: 20px;
    list-style-type: disc !important;
    padding-bottom: 10px;
}

.article-page--timeline .articleContent ul.bullet li {
    margin-left: 0;
    padding-left: 20px;
    list-style-type: none !important;
    padding-bottom: 10px;
    position: relative;
}

.article-page--timeline .embedCenter,
.article-page--timeline .embedEmbed-center {
    margin: 30px auto;
}

.article-page--timeline .embed-video {
    margin: 0 auto;
    padding: 30px 0;
}

.article-page--timeline .embed-center,
.article-page--timeline .embed-instagram,
.article-page--timeline .articleEmbedQuote {
    margin: 20px 0 !important;
    float: none;
    padding: 0 !important;
    border: none !important;
    clear: both;
    overflow: hidden;
}

.article-page--timeline .embed-center,
.article-page--timeline .embed-facebook {
    border-left: 5px solid #4bb5de;
    margin-bottom: 0 !important;
    padding-bottom: 20px;
}

.article-page--timeline .embed-subheader {
    border-top: 1px solid #efefef;
    margin: 30px 0;
    clear: both;
    overflow: hidden;
}

.article-page--timeline .embed-subheader-text,
.article-page--timeline h2.embed-subheader-text,
.article-page--timeline h3.embed-subheader-text {
    color: #20586f;
    background: url(/s/classic/img/clock-ok.png) 0 13px no-repeat;
    margin: 0;
    font-size: 23px;
    padding: 10px 0 0 25px;
    float: left !important;
    overflow: hidden;
}

.article-page--timeline .articleEmbedArticle {
    border-left: 5px solid #4bb5de !important;
    padding: 0 0 20px 20px;
    background: transparent;
    margin: 0 !important;
}

.article-page--timeline .articleEmbedArticle .boxHeader {
    background: #f5f5f5;
    padding: 15px 15px 0 15px;
}

.article-page--timeline .articleEmbedArticle .boxBody {
    background: #f5f5f5;
    padding: 0 15px 15px 15px;
}

.article-page--timeline .article-author {
    padding-top: 20px;
}

.article-page--timeline .article-author-name {
    color: #1b3380;
    font-weight: 700;
    text-decoration: none;
}

.article-page--timeline .article-author-name:hover {
    text-decoration: underline;
}

@media (max-width: 1289px) {
    .article-page--timeline .article-title {
        font-size: 25px;
    }

    .article-page--timeline .article-info {
        flex-direction: column;
        align-items: flex-start;
        min-height: 35px;
        gap: 6px;
    }
}

.article-page--timeline .autoRefresh {
    border: 1px solid #4babce;
    background-color: #4babce;
    padding: 10px;
    margin: 5px 0;
    color: #121212;
    font-size: 18px;
    line-height: 21px;
    overflow: hidden;
}

.article-page--timeline .autoRefresh .check,
.article-page--timeline .autoRefresh .autoRefreshtext {
    float: none;
    display: inline;
}

.article-page--timeline .autoRefresh .autoRefreshtext a {
    color: #fff;
}

.article-page--timeline .autoRefresh .check input {
    margin: 0 0 0 10px;
    width: 17px;
    height: 17px;
    vertical-align: middle;
}

/* Podpisy pod mediami 1:1 jak w RMF24 (embed-photo / embed-video) */
.article-page__content .embed-center,
.article-page__content aside.embedCenter,
.article-page__content .embedEmbed-center {
    overflow: hidden;
    margin: 20px 0 30px !important;
    clear: both;
    float: none;
    padding: 0 !important;
    border: none !important;
    width: 100%;
    max-width: 625px;
}

/* Wideo – pełna szerokość kolumny artykułu */
.article-page__content aside.embed.embed-video.embed-center,
.article-page__content aside.embed.embed-video {
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 0 !important;
}

/* Zdjęcie – pełna szerokość kolumny artykułu */
.article-page__content aside.embed.embed-photo.embed-center,
.article-page__content aside.embed.embed-photo {
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 0 !important;
}

/* Wrapper playera */
.article-page__content .embed-video-player {
    width: 100%;
    line-height: 0;
}

.article-page__content .embed-wideo {
    position: relative;
    width: 100%;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    line-height: 0;
}

/* VideoJS – fluid mode dodaje własny padding-top, nadpisujemy tylko co konieczne */
.article-page__content .embed-wideo .video-js {
    width: 100%;
    display: block;
}

.article-page__content .embed-wideo .vjs-16-9 {
    padding-top: 56.25%;
}

.article-page__content .embed-thumbnail img,
.article-page__content .embed-wideo video,
.article-page__content .embed-wideo iframe {
    display: block;
    width: 100%;
    overflow: hidden;
}

.article-page__content .embed-work-detail {
    color: #585757;
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    text-align: right;
    padding-top: 5px;
    margin-bottom: 10px;
    overflow: auto;
    width: 100% !important;
    max-width: 100% !important;
    clear: both;
    float: none;
}

/* Podpis wideo: tytuł + źródło w jednej linii, wyrównane do prawej */
.article-page__content .embed.embed-video .embed-work-detail {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    padding-top: 6px;
    margin-bottom: 18px;
}

.article-page__content .embed-work-detail-title,
.article-page__content .embed-work-detail-file-title,
.article-page__content .embed-work-detail-author,
.article-page__content .embed-work-detail-source,
.article-page__content .embed-photo .embed-work-detail-source {
    color: #585757;
    font-size: 13px;
    line-height: 18px;
    text-align: right;
    float: right;
    clear: both;
}

/* Wideo: tytuł i źródło nie floatują – obsługuje flex parent */
.article-page__content .embed.embed-video .embed-work-detail-file-title,
.article-page__content .embed.embed-video .embed-work-detail-source {
    float: none;
    clear: none;
}

.article-page__content .embed-work-detail-title,
.article-page__content .embed-work-detail-file-title,
.article-page__content .embed-work-detail-author,
.article-page__content .embed-work-detail-source {
    font-weight: 400;
}

.article-page__content .embed-work-detail-file-title {
    color: #585757;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.article-page__content .embed-work-detail-author {
    color: #585757;
    font-size: 13px;
    line-height: 18px;
    font-style: normal;
}

.article-page__content .embed-work-detail-source {
    color: #839caf;
    font-style: normal;
}

.article-page__content .embed-work-detail-title {
    max-width: 100%;
    margin-top: 5px;
}

.article-page__content .embed-work-detail-title a,
.article-page__content .embed-work-detail-source a,
.article-page__content .embed-photo .embed-work-detail-source a {
    color: #585757;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    text-decoration: none;
}

.article-page__content .embed-work-detail-title a:hover,
.article-page__content .embed-work-detail-source a:hover {
    text-decoration: underline;
}

.article-page__content .embed-photo .embed-work-detail-source span {
    margin-right: 2px;
}

.article-page__footer-meta {
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9e9e9;
    color: #666;
    font-size: 0.82rem;
    font-weight: 600;
}

.article-related {
    margin-top: 1.4rem;
  
}

.article-related__title {
    font-size: 1rem;
    font-weight: 900;
    color: #1a1a2e;
    margin: 0 0 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.article-related__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-related__list li {
    position: relative;
    padding-left: 0rem;
    margin-bottom: 0.4rem;
}



.article-related__list a {
    color: #1f1f1f;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.45;
}

.article-related__list a:hover {
    color: #003f8a;
    text-decoration: underline;
}

.containerSponsored {
    width: 100%;
    border-top: 1px solid #000;
    text-align: center;
    position: relative;
    margin: 40px auto;
    float: left;
}

.containerSponsored.topSpon {
    margin-top: 35px;
}

.containerSponsored .article-sponsored {
    margin: 0 auto;
}

.article-page .article-sponsored--article-top,
.article-page .article-sponsored--article-bottom {
    margin: 0 auto;
}

.article-page .article-sponsored--article-bottom {
    margin: 0 auto;
}

.article-related--key-facts {
    margin-top: 1.6rem;
}

.article-related--dont-miss {
    margin-top: 1.6rem;
}

.elementTagsList {
    margin-top: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    align-items: center;
    width: 100%;
}

.elementTagsListTitle {
    color: #666;
    font-size: 0.82rem;
    font-weight: 700;
}

.elementTagsList a {
    color: #003f8a;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.elementTagsList a:hover {
    text-decoration: underline;
}

.article-related__list--cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.article-related__card {
    margin-bottom: 0;
    padding-left: 0;
}

.article-related__card::before {
    content: none;
}

.article-related__card-link {
    display: block;
    text-decoration: none;
    color: #1f1f1f;
}

.article-related__thumb-wrap {
    display: block;
    margin-bottom: 0.55rem;
    border-radius: 2px;
    overflow: hidden;
}

.article-related__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-related__card-title {
    display: block;
    color: #1f1f1f;
    font-weight: 700;
    line-height: 1.35;
}

.article-related__card-link:hover .article-related__card-title {
    color: #003f8a;
    text-decoration: underline;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .article-related--key-facts .article-related__list--cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .article-related__list--cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .article-related__card-link {
        display: grid;
        grid-template-columns: minmax(120px, 48%) 1fr;
        gap: 0.7rem;
        align-items: start;
    }

    .article-related__thumb-wrap {
        margin-bottom: 0;
    }

    .article-related__thumb {
        aspect-ratio: 4 / 3;
    }
}

.embed-articlelist {
    margin-top: 1.4rem;
    border-top: 2px solid #efefef;
    padding-top: 0.9rem;
}

.embed-articlelist__title {
    font-size: 1rem;
    font-weight: 900;
    color: #1a1a2e;
    margin: 0 0 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.embed-articlelist__items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.embed-articlelist__item {
    position: relative;
    padding-left: 0.9rem;
    margin-bottom: 0.4rem;
}

.embed-articlelist__item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #003f8a;
}

.embed-articlelist__link {
    color: #1f1f1f;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.45;
}

.embed-articlelist__link:hover {
    color: #003f8a;
    text-decoration: underline;
}

.article-page__content {
    --embed-social-max-width: 550px;
    --embed-social-wide-min-height: clamp(320px, 48vw, 540px);
    --embed-social-vertical-max-width: 420px;
    --embed-social-vertical-min-height: clamp(540px, 92vw, 760px);
}

.article-page__content .embed-twitter-x {
    position: relative;
    width: 100%;
    max-width: var(--embed-social-max-width);
    min-height: var(--embed-social-wide-min-height);
    height: auto;
    margin: 1.2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-page__content .embed-twitter-x .twitter-tweet {
    width: 100%;
    max-width: var(--embed-social-max-width);
    margin: 0 auto;
    padding: 0;
    border-left: 0;
    font-style: normal;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.article-page__content .embed-twitter-x.is-loaded {
    height: auto;
    min-height: var(--embed-social-wide-min-height);
    overflow: visible;
}

.article-page__content .embed-twitter-x.is-loaded .twitter-tweet {
    visibility: visible;
    opacity: 1;
}

.article-page__content .x-embed-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fefefe;
    border: 1px solid #e6e9f0;
    border-radius: 12px;
    color: #1f1f1f;
    text-align: center;
    transition: opacity 0.2s ease;
}

.article-page__content .x-embed-placeholder__link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
}

.article-page__content .x-embed-placeholder__link:hover {
    text-decoration: underline;
}

.article-page__content .x-embed-placeholder__loader {
    display: block;
    width: 52px;
    height: 52px;
}

.article-page__content .x-embed-placeholder__text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
}

.article-page__content .embed-twitter-x.is-loaded .x-embed-placeholder {
    opacity: 0;
    pointer-events: none;
}

.article-page__content .embed-twitter-x.is-fallback {
    min-height: var(--embed-social-wide-min-height);
}

.article-page__content .embed-twitter-x.is-fallback .x-embed-placeholder__loader {
    display: none;
}

.article-page__content .embed-facebook-inpl {
    position: relative;
    width: 100%;
    max-width: var(--embed-social-max-width);
    min-height: var(--embed-social-wide-min-height);
    height: auto;
    margin: 1.2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-page__content .embed-facebook-inpl .fb-embed-iframe {
    width: 100%;
    max-width: var(--embed-social-max-width);
    min-height: var(--embed-social-wide-min-height);
    margin: 0 auto;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.article-page__content .embed-facebook-inpl.is-loaded {
    height: auto;
    min-height: var(--embed-social-wide-min-height);
    overflow: visible;
}

.article-page__content .embed-facebook-inpl.is-loaded .fb-embed-iframe {
    visibility: visible;
    opacity: 1;
}

.article-page__content .fb-embed-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fefefe;
    border: 1px solid #e6e9f0;
    border-radius: 12px;
    color: #1f1f1f;
    text-align: center;
    transition: opacity 0.2s ease;
}

.article-page__content .fb-embed-placeholder__link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
}

.article-page__content .fb-embed-placeholder__link:hover {
    text-decoration: underline;
}

.article-page__content .fb-embed-placeholder__loader {
    display: block;
    width: 52px;
    height: 52px;
}

.article-page__content .fb-embed-placeholder__text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
}

.article-page__content .embed-facebook-inpl.is-loaded .fb-embed-placeholder {
    opacity: 0;
    pointer-events: none;
}

.article-page__content .embed-facebook-inpl.is-fallback {
    min-height: var(--embed-social-wide-min-height);
}

.article-page__content .embed-facebook-inpl.is-fallback .fb-embed-placeholder__loader {
    display: none;
}

.article-page__content .embed-instagram-inpl {
    position: relative;
    width: 100%;
    max-width: var(--embed-social-vertical-max-width);
    min-height: var(--embed-social-vertical-min-height);
    height: auto;
    margin: 1.2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-page__content .embed-instagram-inpl .ig-embed-iframe {
    width: 100%;
    max-width: var(--embed-social-vertical-max-width);
    min-height: var(--embed-social-vertical-min-height);
    margin: 0 auto;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.article-page__content .embed-instagram-inpl.is-loaded {
    height: auto;
    min-height: var(--embed-social-vertical-min-height);
    overflow: visible;
}

.article-page__content .embed-instagram-inpl.is-loaded .ig-embed-iframe {
    visibility: visible;
    opacity: 1;
}

.article-page__content .ig-embed-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fefefe;
    border: 1px solid #e6e9f0;
    border-radius: 12px;
    color: #1f1f1f;
    text-align: center;
    transition: opacity 0.2s ease;
}

.article-page__content .ig-embed-placeholder__link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
}

.article-page__content .ig-embed-placeholder__link:hover {
    text-decoration: underline;
}

.article-page__content .ig-embed-placeholder__loader {
    display: block;
    width: 52px;
    height: 52px;
}

.article-page__content .ig-embed-placeholder__text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
}

.article-page__content .embed-instagram-inpl.is-loaded .ig-embed-placeholder {
    opacity: 0;
    pointer-events: none;
}

.article-page__content .embed-instagram-inpl.is-fallback {
    min-height: var(--embed-social-vertical-min-height);
}

.article-page__content .embed-instagram-inpl.is-fallback .ig-embed-placeholder__loader {
    display: none;
}

.article-page__content .embed-tiktok-inpl,
.article-page__content .embed-tiktok {
    position: relative;
    width: 100%;
    max-width: var(--embed-social-vertical-max-width);
    min-height: var(--embed-social-vertical-min-height);
    height: auto;
    margin: 1.2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #fefefe;
}

.article-page__content .embed-tiktok-inpl .tiktok-embed-iframe,
.article-page__content .embed-tiktok .tiktok-embed,
.article-page__content .embed-tiktok blockquote.tiktok-embed {
    width: 100% !important;
    max-width: var(--embed-social-vertical-max-width) !important;
    min-height: var(--embed-social-vertical-min-height);
    margin: 0 auto !important;
}

.mobile-page {
    background: #fff;
    color: #111;
}

.mobile-header {
    border-bottom: 1px solid #e6e6e6;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.mobile-header__brand {
    color: #1b3380;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 0.03em;
    font-size: 1.05rem;
}

.mobile-header__radio {
    color: #1b3380;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.mobile-header__brand:hover,
.mobile-header__radio:hover {
    text-decoration: underline;
}

.article-mobile-wrap {
    max-width: 760px;
    padding-left: 12px;
    padding-right: 12px;
}

.article-mobile-wrap--plain {
    margin-top: 0;
    padding-top: 4px;
}

.article-page--mobile .cat-breadcrumb {
    margin-bottom: 0.35rem;
}

.article-page--mobile .cat-breadcrumb__item {
    font-size: 0.77rem;
}

.article-page--mobile .cat-breadcrumb__link {
    color: #5f6368;
}

@media (max-width: 767.98px) {
    nav[aria-label="breadcrumb"] .cat-breadcrumb {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 10px;
    }

    nav[aria-label="breadcrumb"] .cat-breadcrumb__item {
        flex: 0 0 auto;
    }
}

.article-page--mobile .article-page__header {
    margin-top: 0.15rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}

.article-page--mobile .article-page__title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.13;
    color: #151515;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.article-page--mobile .article-page__meta {
    display: block;
    margin: 0.15rem 0 0.75rem;
    padding: 0;
}

.article-page--mobile .article-page__meta-main {
    display: block;
}

.article-page--mobile .article-page__meta-item {
    display: inline;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.79rem;
    color: #666;
    line-height: 1.5;
    font-weight: 400;
}

.article-page--mobile .article-page__meta-item a {
    color: #0b4f99;
    text-decoration: none;
}

.article-page--mobile .article-page__meta-item a:hover {
    text-decoration: underline;
}

.article-page--mobile .article-page__meta-item + .article-page__meta-item::before {
    content: '  |  ';
    color: #b0b4ba;
}

.article-page--mobile .article-page__lead {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.18rem;
    line-height: 1.45;
    font-weight: 500;
    color: #1a1a1a;
    margin-top: 0.25rem;
}

.article-page--mobile .article-page__figure {
    margin: 0.55rem -12px 0.8rem;
}

.article-page--mobile .article-page__image {
    width: 100%;
    height: auto;
    display: block;
}

.article-page--mobile .article-page__content {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.07rem;
    line-height: 1.62;
    color: #1b1b1b;
}

.article-page--mobile .article-page__content > p {
    margin-bottom: 1rem;
}

.article-page--mobile .article-page__content h2,
.article-page--mobile .article-page__content h3,
.article-page--mobile .article-page__content h4 {
    font-family: Arial, Helvetica, sans-serif;
    margin: 1.3rem 0 0.65rem;
    font-weight: 700;
    line-height: 1.28;
    color: #111;
}

.article-page--mobile .article-page__content a {
    color: #0b4f99;
    text-decoration-color: rgba(11, 79, 153, 0.35);
}

.article-page--mobile .article-page__content a:hover {
    color: #083f7b;
    text-decoration-color: rgba(8, 63, 123, 0.7);
}

.article-page--mobile .article-page__content ul,
.article-page--mobile .article-page__content ol {
    margin: 0 0 1.1rem;
}

.article-page--mobile .article-page__content iframe {
    min-height: 240px;
}

.article-page--mobile .article-page__content .embed-twitter-x,
.article-page--mobile .article-page__content .embed-facebook-inpl,
.article-page--mobile .article-page__content .embed-instagram-inpl,
.article-page--mobile .article-page__content .embed-tiktok-inpl,
.article-page--mobile .article-page__content .embed-tiktok {
    margin: 1rem auto;
    max-width: 100%;
}

.article-page--mobile .article-page__content .embed-twitter-x,
.article-page--mobile .article-page__content .embed-facebook-inpl {
    min-height: clamp(280px, 82vw, 460px);
}

.article-page--mobile .article-page__content .embed-instagram-inpl,
.article-page--mobile .article-page__content .embed-tiktok-inpl,
.article-page--mobile .article-page__content .embed-tiktok {
    min-height: clamp(440px, 120vw, 680px);
}

.article-page--mobile .article-page__content .embed-facebook-inpl .fb-embed-iframe,
.article-page--mobile .article-page__content .embed-instagram-inpl .ig-embed-iframe,
.article-page--mobile .article-page__content .embed-tiktok-inpl .tiktok-embed-iframe {
    min-height: inherit;
    max-width: 100%;
}

.article-page--mobile .article-page__content .x-embed-placeholder,
.article-page--mobile .article-page__content .fb-embed-placeholder,
.article-page--mobile .article-page__content .ig-embed-placeholder {
    border-radius: 8px;
}

.article-page--mobile .article-page__content .embed-audio-detils {
    padding: 12px 12px 0 12px;
}

.article-page--mobile .article-page__content .embed-audio-detils-title {
    font-size: 0.94rem;
    line-height: 1.35;
    padding-bottom: 12px;
}

.article-related--mobile {
    margin-top: 1.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid #eceff3;
}

.article-related--mobile .article-related__title,
.article-mobile-latest .article-related__title {
    margin: 0 0 0.55rem;
    font-size: 0.9rem;
    font-weight: 900;
    color: #1f3f86;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.article-related--mobile .article-related__list li {
    margin-bottom: 0.65rem;
}

.article-related--mobile .article-related__list li.is-sponsored .article-sponsored--inline {
    display: inline-block;
    margin: 0 0 6px;
}

.article-related--mobile .article-related__list a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.38;
    font-weight: 700;
    color: #1a1a1a;
}

.article-mobile-latest {
    margin-top: 1.55rem;
}

.article-mobile-latest .bg-dark.text-white.p-4.mb-4 {
    margin-bottom: 0 !important;
    border-radius: 0;
}

.article-mobile-latest .najnowsze-naglowek {
    font-size: 22px;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.article-mobile-latest .latest-news-item {
    padding-left: 28px;
    padding-bottom: 18px;
}

.article-mobile-latest .latest-news-item::before {
    width: 10px;
    height: 10px;
}

.article-mobile-latest .latest-news-item .time-stamp {
    font-size: 0.82rem;
    margin-bottom: 2px;
}

.article-mobile-latest .latest-news-item .news-title {
    font-size: 0.92rem;
    line-height: 1.4;
}

.article-mobile-latest .latest-news-item.is-sponsored .article-sponsored--inline {
    display: inline-block;
    margin: 0 0 5px;
}

.containerSponsored--mobile {
    margin: 18px auto;
}

.containerSponsored--mobile .article-sponsored--article-top,
.containerSponsored--mobile .article-sponsored--article-bottom {
    top: -9px;
    width: 190px;
    font-size: 12px;
}

.article-page--mobile .article-footer {
    margin-top: 1rem;
    padding-top: 0.7rem;
    border-top: 1px solid #eceff3;
}

/* Mobile timeline (av,1 + template=rmf24_timeline) */
.article-mobile-timeline {
    background: #fff;
}

.article-page--mobile-timeline .title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 700;
    color: #4a4a4a;
    margin: 0 0 8px;
}

.article-page--mobile-timeline .date {
    display: block;
    font-size: 15px;
    color: #6a6a6a;
    margin: 0 0 12px;
}

.article-page--mobile-timeline .lead {
    font-size: 21px;
    line-height: 1.32;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0 0 16px;
}

.article-page--mobile-timeline .article-page__meta {
    margin: 0 0 12px;
}

.article-page--mobile-timeline .article-page__meta-item + .article-page__meta-item::before {
    content: '';
}

.article-page--mobile-timeline .articleContent {
    margin-top: 10px;
}

.article-page--mobile-timeline .articleContent > p {
    border-left: 5px solid #4bb5de;
    padding-left: 14px;
    padding-bottom: 16px;
    margin-bottom: 0 !important;
}

.article-page--mobile-timeline .articleContent .subTitle {
    color: #20586f;
    border-bottom: 1px solid #efefef;
    background: url(/s/classic/clock.png) 0 12px no-repeat;
    clear: both;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.1;
    margin: 20px 0 10px;
    padding: 8px 0 8px 30px;
}

.article-page--mobile-timeline .articleContent .embed.is-photo,
.article-page--mobile-timeline .articleContent .embed.embed-photo {
    margin: 0 0 16px;
}

.article-page--mobile-timeline .articleContent .embed-body-details,
.article-page--mobile-timeline .articleContent .embed-work-detail {
    text-align: right;
}

@media (max-width: 479.98px) {
    .article-page--mobile-timeline .title {
        font-size: 30px;
    }

    .article-page--mobile-timeline .lead {
        font-size: 19px;
    }

    .article-page--mobile-timeline .articleContent .subTitle {
        font-size: 29px;
        padding-left: 28px;
    }
}

.article-page--mobile .article-source span {
    color: #666;
    font-size: 0.8rem;
}

.mobile-footer {
    border-top: 2px solid #f0f0f0;
    background: #fff;
    margin-top: 1.9rem;
}

.mobile-footer__top {
    border-bottom: 1px solid #ececec;
    padding-bottom: 0.55rem;
}

.mobile-footer__brand {
    color: #1b3380;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 0.03em;
    font-size: 1rem;
}

.mobile-footer__radio {
    color: #1b3380;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.mobile-footer__radio:hover,
.mobile-footer__brand:hover {
    text-decoration: underline;
}

.mobile-footer__legal,
.mobile-footer__copy {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.5;
}

.mobile-footer__legal a {
    color: #003f8a;
    text-decoration: none;
    margin-right: 0.3rem;
}

.mobile-footer__legal a:hover {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .article-mobile-wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .article-page--mobile .article-page__title {
        font-size: 1.52rem;
    }

    .article-page--mobile .article-page__lead {
        font-size: 1rem;
    }

    .article-page--mobile .article-page__content {
        font-size: 1.03rem;
        line-height: 1.67;
    }

    .article-page--mobile .article-page__figure {
        margin-left: -10px;
        margin-right: -10px;
    }

    .article-page--mobile .article-page__content iframe {
        min-height: 210px;
    }

    .mobile-header__brand,
    .mobile-footer__brand {
        font-size: 0.96rem;
    }
}

/* ============================================================
   EMBED AUDIO — odtwarzacz audio VideoJS (1:1 z rmf24.pl)
   ============================================================ */

/* ---- Wrapper ------------------------------------------------ */
.article-page__content .embed-audio-rmf {
    width: 100%;
    margin: 20px 0;
    overflow: hidden;
    background: #f0f0f0;
}

/* ---- Nagłówek "Posłuchaj:" ---------------------------------- */
.article-page__content .embed-audio-detils {
    background: #f0f0f0;
    padding: 15px 15px 0;
}

.article-page__content .embed-audio-detils-title {
    border-bottom: 1px solid #fff;
    padding-bottom: 15px;
    font-weight: 300;
    font-size: 19px;
    line-height: 1.3;
    color: #333;
}

.article-page__content .embed-audio-detils-title .pos {
    font-weight: 700;
    color: #1d5a74;
}

/* ---- Player (video-js-ad.vjs-audio) ----------------------- */
.article-page__content .embed-audio-rmf .video-js-ad.vjs-audio,
.article-page__content .embed-audio-rmf .video-js.vjs-audio {
    width: 100%;
    background: #f0f0f0;
    min-height: 3em;
    height: 45px;
    font-size: 15px;
    color: #00aced;
}

/* Big play button: audio-only — zawsze ukryty */
.article-page__content .embed-audio-rmf .vjs-big-play-button {
    display: none !important;
}

/* Poster: ukryty */
.article-page__content .embed-audio-rmf .vjs-poster {
    display: none !important;
}

/* video element (tech): ukryty */
.article-page__content .embed-audio-rmf .vjs-tech {
    display: none !important;
    height: 0 !important;
}

/* Loading spinner: ukryty (audio nie potrzebuje) */
.article-page__content .embed-audio-rmf .vjs-loading-spinner {
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    z-index: -999 !important;
}

/* ---- Control bar -------------------------------------------- */
.article-page__content .embed-audio-rmf .vjs-control-bar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    height: 45px;
    background-color: #f0f0f0 !important;
    color: #4a5764;
    font-size: 14px;
    padding: 0 15px;
    box-shadow: none;
}

/* Przyciski — kolor ikon */
.article-page__content .embed-audio-rmf .vjs-button > .vjs-icon-placeholder:before,
.article-page__content .embed-audio-rmf .vjs-control:before {
    color: #4a5764;
    font-size: 1.8em;
    line-height: 1.67;
}

/* Przycisk play */
.article-page__content .embed-audio-rmf .vjs-play-control {
    cursor: pointer;
    flex: none;
}

/* Pasek postępu odtworzonego + IMA */
.article-page__content .embed-audio-rmf .vjs-play-progress,
.article-page__content .embed-audio-rmf .ima-progress-div {
    background-color: #00aced;
}

.article-page__content .embed-audio-rmf .vjs-play-progress:before {
    color: #00aced;
    font-size: 0.9em;
    position: absolute;
    top: -0.333em;
    right: -0.5em;
}

/* Pasek załadowanego + tło slidera */
.article-page__content .embed-audio-rmf .vjs-load-progress,
.article-page__content .embed-audio-rmf .vjs-load-progress div {
    background-color: #d1d6dc;
}

.article-page__content .embed-audio-rmf .vjs-slider {
    background-color: #d1d6dc;
    margin: 0 0.45em;
}

/* Progress holder — wysokość */
.article-page__content .embed-audio-rmf .vjs-progress-holder {
    height: 0.3em;
    flex: auto;
    transition: all 0.2s;
}

.article-page__content .embed-audio-rmf .vjs-progress-control:hover .vjs-progress-holder {
    font-size: 1.667em;
}

/* Głośność */
.article-page__content .embed-audio-rmf .vjs-volume-level {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #00aced;
}

.article-page__content .embed-audio-rmf .vjs-volume-vertical {
    display: none;
}

/* Czas: current / divider / duration widoczne; remaining ukryte */
.article-page__content .embed-audio-rmf .vjs-current-time,
.article-page__content .embed-audio-rmf .vjs-duration {
    display: block;
}

.article-page__content .embed-audio-rmf .vjs-time-divider {
    display: block;
}

.article-page__content .embed-audio-rmf .vjs-remaining-time {
    display: none;
}

.article-page__content .embed-audio-rmf .vjs-time-control {
    color: #4a5764;
    font-size: 1em;
    line-height: 3em;
    padding: 0 0.01em;
    min-width: 2em;
    width: auto;
    flex: none;
}

/* Ukryj fullscreen, PiP i inne niepotrzebne */
.article-page__content .embed-audio-rmf .vjs-fullscreen-control,
.article-page__content .embed-audio-rmf .vjs-picture-in-picture-control,
.article-page__content .embed-audio-rmf .vjs-playback-rate,
.article-page__content .embed-audio-rmf .vjs-chapters-button,
.article-page__content .embed-audio-rmf .vjs-descriptions-button,
.article-page__content .embed-audio-rmf .vjs-subs-caps-button,
.article-page__content .embed-audio-rmf .vjs-audio-button,
.article-page__content .embed-audio-rmf .vjs-seek-to-live-control {
    display: none !important;
}

/* ---- IMA ad overlay ---------------------------------------- */
.article-page__content .embed-audio-rmf .ima-controls-div {
    background: #f0f0f0;
    height: 45px;
    padding: 0 15px;
}

.article-page__content .embed-audio-rmf .ima-controls-div-showing {
    height: 45px !important;
    padding: 0 15px;
}

.article-page__content .embed-audio-rmf .ima-countdown-div {
    height: 1em;
    color: #00b3ff;
    text-shadow: none;
    cursor: default;
    padding-top: 3px;
    font-size: 15px;
    display: none;
}

.article-page__content .embed-audio-rmf .ima-seek-bar-div {
    top: 1.4em;
    max-width: 95%;
}

.article-page__content .embed-audio-rmf .ima-play-pause-div,
.article-page__content .embed-audio-rmf .ima-mute-div,
.article-page__content .embed-audio-rmf .ima-slider-div,
.article-page__content .embed-audio-rmf .ima-fullscreen-div {
    color: #4a5764;
    top: 0.53em;
}

.article-page__content .embed-audio-rmf .ima-play-pause-div {
    left: -0.2em;
}

.article-page__content .embed-audio-rmf .ima-fullscreen-div {
    display: none !important;
}

.article-page__content .embed-audio-rmf .ima-slider-div {
    left: auto;
    right: 1em;
    width: 3.33em;
    height: 0.3em;
    top: 1.4em;
    background-color: #d1d6dc;
}

.article-page__content .embed-audio-rmf .ima-mute-div {
    left: auto;
    right: 3.867em;
}

.article-page__content .embed-audio-rmf .ima-slider-level-div {
    background-color: #00aced;
    height: 0.3em;
}

.article-page__content .embed-audio-rmf .ima-ad-container video {
    background: #f0f0f0;
}

.article-page__content .embed-audio-rmf .ima-controls-div > div:first-of-type {
    padding: 3px 0 0 0;
}

/* ---- Responsive (mobile) ----------------------------------- */
@media (max-width: 767.98px) {
    .article-page__content .embed-audio-rmf .vjs-control-bar {
        height: 45px;
        padding: 0 10px;
        font-size: 12px;
    }

    .article-page__content .embed-audio-rmf .vjs-time-control {
        font-size: 0.9em;
        line-height: 3.75em;
        min-width: 2em;
    }

    .article-page__content .embed-audio-rmf .vjs-volume-panel {
        display: none;
    }

    .article-page__content .embed-audio-rmf .ima-play-pause-div {
        left: 0em;
    }

    .article-page__content .embed-audio-rmf .ima-seek-bar-div {
        top: 1.4em;
        max-width: 90%;
    }

    .article-page__content .embed-audio-rmf .ima-slider-div {
        top: 1.4em;
    }

    .article-page__content .embed-audio-rmf .ima-controls-div {
        font-size: 12px;
    }

    .article-page__content .embed-audio-detils-title {
        font-size: 16px;
        padding-bottom: 12px;
    }
}

@media (max-width: 991.98px) {
    .article-page__title {
        font-size: 1.6rem;
    }

    .article-page__lead {
        font-size: 1.05rem;
    }

    .article-page__meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
iframe {
    margin: 0 auto !important;
    text-align: center;
    clear: both;
    display: block;
    margin-top: 25px;
    margin-bottom: 25px;
}
/*onenetwork*/
.embedRozmowy {
    background: #f0f0f0;
    padding: 15px;
    margin: 15px 0;
}
.embed-wideo {
    position: relative;
    width: 100%;
}
/* �� Author profile block ����������������������������������������������� */
.author-profile__name{
    color: #1b3380;
        padding-top: 0;
    font-weight: 700;
    font-size: 26px;
    line-height: 28px;
    padding-bottom: 10px;
}
.author-profile {
    
    padding-bottom: 24px;
    margin-bottom: 28px;
}

.author-profile__role {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #1b3380;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.author-profile__body {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.author-profile__photo-wrap {
    flex: 0 0 140px;
    width: 140px;
}

.author-profile__photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.author-profile__info {
    flex: 1;
    min-width: 0;
}

.author-profile__name {
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;
    color: #1b3380;
    text-transform: uppercase;
    margin: 0 0 12px;
    padding: 0;
    letter-spacing: -1px;
}

.author-profile__description {
    font-size: 15px;
    line-height: 23px;
    color: #313030;
    margin: 0;
}

@media (max-width: 575px) {
    .author-profile__body {
        flex-direction: column;
    }
    .author-profile__photo-wrap {
        flex: none;
        width: 100%;
    }
    .author-profile__photo {
        width: 100px;
        height: 100px;
    }
}

/* ============================================================
   GALLERY EMBED — siatka miniaturek 3×N
   ============================================================ */
.embed-gallery {
    margin: 1.5rem 0;
}

.embed-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.embed-gallery__item {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.embed-gallery__btn {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #111;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.embed-gallery__btn:focus-visible {
    outline: 3px solid #fc0;
    outline-offset: -3px;
    z-index: 1;
}

.embed-gallery__btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease, transform 0.25s ease;
}

.embed-gallery__btn:hover img {
    opacity: 0.82;
    transform: scale(1.05);
}

.embed-gallery__count-badge {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.54);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    pointer-events: none;
    letter-spacing: -0.5px;
}

/* ============================================================
   LIGHTBOX — pełnoekranowy podgląd zdjęć
   ============================================================ */
.rmf-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9100;
    align-items: center;
    justify-content: center;
}

.rmf-lightbox.is-open {
    display: flex;
}

body.rmf-lightbox-open {
    overflow: hidden;
}

.rmf-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
}

.rmf-lightbox__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 52px 60px 16px;
    box-sizing: border-box;
}

.rmf-lightbox__stage {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
}

.rmf-lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 130px);
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.rmf-lightbox__close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 44px;
    height: 44px;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
    z-index: 2;
}

.rmf-lightbox__close:hover,
.rmf-lightbox__close:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    outline: none;
}

.rmf-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 70px;
    border: 0;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
    z-index: 2;
    line-height: 1;
}

.rmf-lightbox__nav:hover,
.rmf-lightbox__nav:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    outline: none;
}

.rmf-lightbox__nav--prev { left: 8px; }
.rmf-lightbox__nav--next { right: 8px; }

.rmf-lightbox__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 10px 0 0;
    color: #fff;
    min-height: 32px;
}

.rmf-lightbox__caption {
    flex: 1;
    text-align: center;
    font-size: 0.88rem;
    opacity: 0.80;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rmf-lightbox__counter {
    white-space: nowrap;
    font-size: 0.78rem;
    opacity: 0.55;
    flex: 0 0 auto;
}

@media (max-width: 767.98px) {
    .embed-gallery__count-badge {
        font-size: 1.3rem;
    }

    .rmf-lightbox__inner {
        padding: 52px 42px 12px;
    }

    .rmf-lightbox__nav {
        width: 38px;
        height: 54px;
        font-size: 1.8rem;
    }

    .rmf-lightbox__nav--prev { left: 2px; }
    .rmf-lightbox__nav--next { right: 2px; }

    .rmf-lightbox__img {
        max-height: calc(100vh - 120px);
    }
}

@media (max-width: 374.98px) {
    .embed-gallery__grid {
        gap: 2px;
    }
}
.top-stories-heading {
    color: #1b3380;
    font-size: 26px;
    text-transform: uppercase;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 0;
    line-height: 1.15;
    margin-top: 30px;
}

/* --- EMBED: artykuł RMF24 wewnątrz treści ----------------------------- */
.embed-rmf24-article {
    margin: 20px 0;
    border: 0;
    padding: 0;
}

/* Styl dla bloku .article-embed generowanego przez API */
.article-embed {
    display: flex;
    gap: 12px;
    align-items: stretch;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    background: #fff;
    text-decoration: none;
    overflow: hidden;
}

.article-embed-image {
    flex: 0 0 120px;
    width: 120px;
    overflow: hidden;
    border-radius: 4px;
    background: #f3f4f6;
}

.article-embed-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-embed-image a {
    display: block;
    height: 100%;
}

.article-embed-title {
    margin-bottom: 6px;
}

.article-embed-title a {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #1b3380;
    text-decoration: none;
    display: block;
    word-break: break-word;
}

.article-embed-title a:hover {
    color: #003f8a;
    text-decoration: underline;
}

.article-embed-lead {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
}

.embed-rmf24-article--fallback .embed-rmf24-article__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #1b3380;
    text-decoration: none;
    padding: 8px 0;
}

.embed-rmf24-article--fallback .embed-rmf24-article__link:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .article-embed {
        flex-direction: column;
    }

    .article-embed-image {
        width: 100%;
        flex: none;
        max-height: 180px;
    }
}

/* --- EMBED: odcinek RMF ON -------------------------------------------- */
.embed-rmfon-episode {
    margin: 20px 0;
}

/* Styl dla .rmfon-episode-embed generowanego przez API */
.rmfon-episode-embed {
    border-radius: 8px !important;
    overflow: hidden;
}

.embed-rmfon-episode--fallback .embed-rmfon-episode__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1b3380;
    text-decoration: none;
    padding: 10px 0;
}

.embed-rmfon-episode--fallback .embed-rmfon-episode__link:hover {
    text-decoration: underline;
}

.embed-rmfon-episode--fallback .embed-rmfon-episode__icon {
    font-size: 18px;
    color: #e30613;
}
