.ewtngo-module-shell {
    width: 100%;
    container-type: inline-size;
    container-name: ewtngo-shell;
}

.ewtngo-module {
    --ewtngo-red: #c42b3e;
    --ewtngo-red-strong: #ed3348;
    --ewtngo-bg: #08090b;
    --ewtngo-card: #101216;
    --ewtngo-card-2: #15181d;
    --ewtngo-text: #ffffff;
    --ewtngo-muted: rgba(255,255,255,.66);
    width: 100%;
}

.ewtngo-module.ewtngo-layout-side {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, .85fr);
    gap: 24px;
    align-items: start;
}

.ewtngo-module.ewtngo-layout-side .ewtngo-news-panel {
    margin-top: 0;
    height: var(--ewtngo-side-player-height, auto);
    min-height: var(--ewtngo-side-player-height, 0);
    max-height: var(--ewtngo-side-player-height, none);
    box-sizing: border-box;
    overflow-y: auto;
}

.ewtngo-player {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: var(--ewtngo-bg);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
    isolation: isolate;
    font-family: inherit;
}

.ewtngo-ratio-16-9 { aspect-ratio: 16 / 9; }
.ewtngo-ratio-4-3 { aspect-ratio: 4 / 3; }

.ewtngo-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

.ewtngo-adoration-frame {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000;
}

.ewtngo-player.ewtngo-adoration-active .ewtngo-shade,
.ewtngo-player.ewtngo-adoration-active .ewtngo-live-badge,
.ewtngo-player.ewtngo-adoration-active .ewtngo-loading,
.ewtngo-player.ewtngo-adoration-active .ewtngo-sound,
.ewtngo-player.ewtngo-adoration-active .ewtngo-error {
    display: none;
}

.ewtngo-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, transparent 22%, transparent 70%, rgba(0,0,0,.42) 100%);
}

.ewtngo-live-badge {
    position: absolute;
    z-index: 4;
    top: clamp(6px, 2.2cqw, 24px);
    left: clamp(6px, 2.2cqw, 24px);
    display: inline-flex;
    align-items: center;
    gap: clamp(4px, 1.2cqw, 8px);
    color: #fff;
    background: rgba(10,10,12,.72);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    padding: clamp(4px, 1.3cqw, 8px) clamp(7px, 2cqw, 12px);
    font-size: clamp(7px, 2.2cqw, 12px);
    font-weight: 800;
    letter-spacing: .08em;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.ewtngo-live-badge i {
    width: clamp(6px, 1.7cqw, 9px);
    height: clamp(6px, 1.7cqw, 9px);
    border-radius: 50%;
    background: var(--ewtngo-red-strong);
    box-shadow: 0 0 0 0 rgba(237,51,72,.6);
    animation: ewtngo-pulse 1.8s infinite;
}

@keyframes ewtngo-pulse {
    0% { box-shadow: 0 0 0 0 rgba(237,51,72,.55); }
    70% { box-shadow: 0 0 0 8px rgba(237,51,72,0); }
    100% { box-shadow: 0 0 0 0 rgba(237,51,72,0); }
}

.ewtngo-loading {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(7px, 2cqw, 12px);
    color: rgba(255,255,255,.9);
    font-size: clamp(9px, 2.5cqw, 14px);
    pointer-events: none;
    transition: opacity .2s ease;
}

.ewtngo-loading.ewtngo-loading-hidden {
    opacity: 0;
    visibility: hidden;
}

.ewtngo-spinner {
    width: clamp(20px, 6cqw, 36px);
    height: clamp(20px, 6cqw, 36px);
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.24);
    border-top-color: #fff;
    animation: ewtngo-spin .8s linear infinite;
}

@keyframes ewtngo-spin { to { transform: rotate(360deg); } }

.ewtngo-sound {
    position: absolute;
    z-index: 7;
    left: auto;
    right: clamp(6px, 2.2cqw, 24px);
    bottom: clamp(38px, 7cqw, 78px);
    display: inline-flex;
    align-items: center;
    gap: clamp(5px, 1.5cqw, 9px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: clamp(5px, 1.8cqw, 10px) clamp(8px, 2.5cqw, 15px);
    background: rgba(8,9,11,.78);
    color: #fff;
    font: inherit;
    font-size: clamp(7px, 2.5cqw, 13px);
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.ewtngo-sound:hover,
.ewtngo-sound:focus-visible {
    background: rgba(196,43,62,.94);
    border-color: rgba(255,255,255,.3);
    transform: translateY(-1px);
    outline: none;
}

.ewtngo-sound.ewtngo-sound-active { background: rgba(196,43,62,.92); }
.ewtngo-sound-icon { line-height: 1; }

.ewtngo-error {
    position: absolute;
    z-index: 8;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 28px;
    color: #fff;
    background: radial-gradient(circle at 50% 30%, rgba(196,43,62,.18), transparent 50%), #08090b;
}

.ewtngo-error[hidden] { display: none; }
.ewtngo-error strong { font-size: clamp(13px, 4cqw, 26px); }
.ewtngo-error span { color: rgba(255,255,255,.7); }

.ewtngo-retry {
    margin-top: 12px;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    background: var(--ewtngo-red);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* Aktualności - jasny styl zgodny z EWTN Branding Guide */
.ewtngo-news-panel {
    --ewtngo-brand-red: #ea002a;
    --ewtngo-news-text: #222222;
    --ewtngo-news-lead: #555555;
    --ewtngo-news-date: #b7b7b7;
    --ewtngo-news-hover: #e9e9e9;
    --ewtngo-news-hover-bg: #fff4f6;
    width: 100%;
    margin-top: 24px;
    padding: 12px 14px 14px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 2px;
    box-shadow: 0 10px 28px rgba(0,0,0,.05);
    color: var(--ewtngo-news-text);
    font-family: "Open Sans", Arial, sans-serif;
    box-sizing: border-box;
    container-type: inline-size;
    container-name: ewtngo-news;
}

.ewtngo-news-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    min-width: 0;
    gap: 4px;
    margin: 0 10px 8px;
    color: var(--ewtngo-news-lead);
    font-size: clamp(9px, 2.5cqw, 11px);
    line-height: 1.35;
}

.ewtngo-news-category-label {
    flex: 0 0 auto;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 10px !important;
    font-weight: 400;
    line-height: 24px;
    white-space: nowrap;
}

.ewtngo-news-category {
    flex: 0 1 clamp(160px, 32cqw, 260px);
    width: clamp(160px, 32cqw, 260px) !important;
    height: 24px !important;
    min-width: 0;
    min-height: 0;
    max-width: calc(100% - 74px);
    padding: 0 28px 0 7px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fafafa;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' aria-hidden='true'%3E%3Cpath fill='%23555555' d='M1 1l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 9px center;
    background-size: 10px 7px;
    color: var(--ewtngo-news-text);
    font: inherit;
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 700;
    line-height: inherit;
    cursor: pointer;
}

.ewtngo-news-category:hover {
    border-color: #cfcfcf;
    background-color: #ffffff;
}

.ewtngo-news-category:focus-visible {
    border-color: var(--ewtngo-brand-red);
    outline: 2px solid rgba(234,0,42,.14);
    outline-offset: 1px;
}

.ewtngo-news-category:disabled {
    cursor: wait;
    opacity: .7;
}

.ewtngo-news-content {
    transition: opacity .15s ease;
}

.ewtngo-news-panel.ewtngo-news-loading .ewtngo-news-content {
    opacity: .55;
}

.ewtngo-news-list {
    display: grid;
    gap: 2px;
}

.ewtngo-news-item {
    margin: 0;
    padding: 9px 10px 10px;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
    box-sizing: border-box;
    transition: border-color .15s ease, background-color .15s ease;
}

.ewtngo-news-copy {
    min-width: 0;
}

.ewtngo-news-thumbnail {
    display: none;
}

.ewtngo-news-item:hover,
.ewtngo-news-item:focus-within {
    border-color: var(--ewtngo-news-hover);
    background: var(--ewtngo-news-hover-bg);
}

.ewtngo-news-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 5px;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(8px, 2.5cqw, 11px);
    line-height: 1.35;
}

.ewtngo-news-subcategory {
    color: var(--ewtngo-brand-red);
    font-weight: 700;
}

.ewtngo-news-date {
    margin-left: auto;
    color: var(--ewtngo-news-date);
    font-weight: 400;
    white-space: nowrap;
}

/* Typografia dopasowana do proporcji widocznych w /lumen/: tytuł 17 px, lead 13 px. */
.ewtngo-news-title {
    margin: 0 0 5px !important;
    padding: 0 !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-size: clamp(10px, 3.1cqw, 13px) !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

/* Najnowsza wiadomość: +2 punkty względem pozostałych. */
.ewtngo-news-item.is-latest .ewtngo-news-title {
    font-size: clamp(11px, 3.6cqw, 15px) !important;
}

.ewtngo-news-title a {
    color: var(--ewtngo-news-text) !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.ewtngo-news-title a:hover,
.ewtngo-news-title a:focus-visible {
    color: var(--ewtngo-brand-red) !important;
    text-decoration: none !important;
    outline: none;
}

.ewtngo-news-lead {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--ewtngo-news-lead) !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-size: clamp(9px, 2.7cqw, 11px) !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
}

.ewtngo-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 14px 14px 0;
    padding: 9px 16px;
    background: var(--ewtngo-brand-red);
    border: 1px solid var(--ewtngo-brand-red);
    border-radius: 8px;
    color: #ffffff !important;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(7px, 2.3cqw, 9px);
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: opacity .15s ease;
}

.ewtngo-more:hover,
.ewtngo-more:focus-visible {
    color: #ffffff !important;
    opacity: .88;
    text-decoration: none !important;
    outline: 2px solid rgba(234,0,42,.16);
    outline-offset: 2px;
}

.ewtngo-news-unavailable {
    margin: 0;
    padding: 14px;
    color: var(--ewtngo-news-lead);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .ewtngo-module.ewtngo-layout-side {
        display: block;
    }

    .ewtngo-module.ewtngo-layout-side .ewtngo-news-panel {
        margin-top: 24px;
        height: auto;
        min-height: 0;
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 760px) {
    .ewtngo-player { border-radius: 12px; }

    .ewtngo-sound {
        left: auto;
        right: 10px;
        bottom: 48px;
    }

    .ewtngo-news-panel {
        margin-top: 18px;
        padding: 6px 6px 8px;
    }

    .ewtngo-news-controls {
        margin: 0 6px 7px;
    }

    .ewtngo-news-item {
        padding: 7px 6px 8px;
    }

    .ewtngo-news-meta {
        gap: 10px;
    }


    .ewtngo-more {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 430px) {
    .ewtngo-news-meta {
        align-items: flex-start;
    }

    .ewtngo-news-date {
        text-align: right;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ewtngo-live-badge i,
    .ewtngo-spinner { animation: none; }
    .ewtngo-sound,
    .ewtngo-news-item,
    .ewtngo-news-content,
    .ewtngo-more { transition: none; }
}

@container ewtngo-news (min-width: 521px) {
    .ewtngo-module.ewtngo-layout-below .ewtngo-news-item-has-thumbnail {
        display: grid;
        grid-template-columns: clamp(52px, 10cqw, 84px) minmax(0, 1fr);
        align-items: start;
        gap: 10px;
    }

    .ewtngo-module.ewtngo-layout-below .ewtngo-news-thumbnail {
        display: block;
        width: 100%;
        aspect-ratio: 1;
        overflow: hidden;
        border-radius: 6px;
        background: #f1f1f1;
    }

    .ewtngo-module.ewtngo-layout-below .ewtngo-news-thumbnail img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.ewtngo-player-column {
    min-width: 0;
    container-type: inline-size;
    container-name: ewtngo-player-column;
}

.ewtngo-news-column {
    min-width: 0;
    container-type: inline-size;
    container-name: ewtngo-news-column;
}

/* Formularz MailerLite pod blokiem aktualności. */
.ewtngo-newsletter {
    --ewtngo-newsletter-red: #ea002a;
    --ewtngo-newsletter-text: #222222;
    --ewtngo-newsletter-lead: #555555;
    --ewtngo-newsletter-border: #eeeeee;
    width: 100%;
    box-sizing: border-box;
    margin-top: 18px;
    font-family: "Open Sans", Arial, sans-serif;
}

.ewtngo-newsletter .ml-form-embedContainer,
.ewtngo-newsletter .ml-form-embedWrapper,
.ewtngo-newsletter .ml-block-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ewtngo-newsletter .ml-form-embedWrapper {
    display: block;
    overflow: hidden;
    border: 1px solid var(--ewtngo-newsletter-border);
    border-radius: 2px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .05);
}

.ewtngo-newsletter .ml-form-embedBody,
.ewtngo-newsletter .ml-form-successBody {
    padding: 12px 14px 14px;
    box-sizing: border-box;
}

.ewtngo-newsletter .ml-form-embedContent {
    margin: 0 0 12px;
}

.ewtngo-newsletter .ml-form-embedContent h4,
.ewtngo-newsletter .ml-form-successContent h4 {
    margin: 0;
    color: var(--ewtngo-newsletter-text);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(11px, 3.6cqw, 15px);
    font-weight: 700;
    line-height: 1.28;
}

.ewtngo-newsletter .ml-form-successContent p {
    margin: 6px 0 0;
    color: var(--ewtngo-newsletter-lead);
    font-size: clamp(9px, 2.7cqw, 11px);
    line-height: 1.55;
}

.ewtngo-newsletter .ml-form-fieldRow {
    width: 100%;
    margin: 0 0 8px;
}

.ewtngo-newsletter .ml-form-fieldRow.ml-last-item {
    margin-bottom: 0;
}

.ewtngo-newsletter .ml-form-fieldRow input {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 37px;
    padding: 8px 9px !important;
    border: 1px solid #dddddd !important;
    border-radius: 2px !important;
    background: #ffffff !important;
    color: var(--ewtngo-newsletter-text) !important;
    box-sizing: border-box !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-size: clamp(9px, 2.7cqw, 11px) !important;
    line-height: 1.35 !important;
}

.ewtngo-newsletter .ml-form-embedPermissions {
    width: 100%;
    margin: 12px 0;
}

.ewtngo-newsletter .ml-form-embedPermissions p,
.ewtngo-newsletter .ml-form-checkboxRow .label-description {
    margin: 0;
    color: var(--ewtngo-newsletter-lead);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(8px, 2.5cqw, 10px);
    line-height: 1.45;
}

.ewtngo-newsletter .ml-form-embedPermissions a {
    color: var(--ewtngo-newsletter-text);
    text-decoration: underline;
}

.ewtngo-newsletter .ml-form-checkboxRow {
    width: 100%;
    margin: 0 0 12px;
}

.ewtngo-newsletter .ml-form-checkboxRow .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    cursor: pointer;
}

.ewtngo-newsletter .ml-form-checkboxRow input[type="checkbox"] {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin: 1px 0 0;
    accent-color: var(--ewtngo-newsletter-red);
}

.ewtngo-newsletter .ml-form-embedSubmit button.primary {
    width: 100%;
    padding: 9px 14px;
    border: 1px solid var(--ewtngo-newsletter-red);
    border-radius: 8px;
    background: var(--ewtngo-newsletter-red);
    color: #ffffff !important;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(10px, 2.7cqw, 13px);
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: none;
    transition: opacity .15s ease;
}

.ewtngo-newsletter .ml-form-embedSubmit button.primary:hover,
.ewtngo-newsletter .ml-form-embedSubmit button.primary:focus-visible {
    background: var(--ewtngo-newsletter-red);
    color: #ffffff !important;
    opacity: .88;
    outline: 2px solid rgba(234, 0, 42, .16);
    outline-offset: 2px;
}

.ewtngo-newsletter .ml-form-embedSubmitLoad {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.ewtngo-newsletter .ml-form-embedSubmitLoad::after {
    display: block;
    width: 11px;
    height: 11px;
    margin: 1px;
    border: 4px solid #ffffff;
    border-right-color: transparent;
    border-radius: 50%;
    content: "";
    animation: ewtngo-mailerlite-spin 1.2s linear infinite;
}

.ewtngo-newsletter .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes ewtngo-mailerlite-spin {
    to { transform: rotate(360deg); }
}

.ewtngo-stream-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin-top: 0;
    padding: 3px;
    border: 1px solid rgba(255,255,255,.12);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: #101216;
    box-sizing: border-box;
}

.ewtngo-player:has(+ .ewtngo-stream-switcher) {
    border-radius: 18px 18px 0 0;
}

.ewtngo-stream-button {
    min-width: 0;
    padding: 7px 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: rgba(255,255,255,.48);
    font: inherit;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(9px, 2.7cqw, 13px);
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.ewtngo-stream-button + .ewtngo-stream-button {
    border-left: 1px solid rgba(255,255,255,.1);
}

.ewtngo-stream-button:not(:disabled):hover,
.ewtngo-stream-button:not(:disabled):focus-visible {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.72);
    outline: none;
}

.ewtngo-stream-button:disabled {
    background: #2a2e34;
    color: #ea002a;
    cursor: default;
    opacity: 1;
}

/* Responsywność komponentowa: reaguje na realną szerokość playera/bloku, nie tylko viewport. */
@container ewtngo-shell (max-width: 980px) {
    .ewtngo-module.ewtngo-layout-side {
        display: block;
    }

    .ewtngo-module.ewtngo-layout-side .ewtngo-news-panel {
        margin-top: 24px;
        height: auto;
        min-height: 0;
        max-height: none;
        overflow-y: visible;
    }
}

@container ewtngo-player-column (max-width: 520px) {
    .ewtngo-player {
        border-radius: clamp(8px, 3cqw, 12px);
    }

    .ewtngo-live-badge {
        top: clamp(6px, 2.2cqw, 10px);
        left: clamp(6px, 2.2cqw, 10px);
        gap: clamp(4px, 1.2cqw, 6px);
        padding: clamp(4px, 1.3cqw, 6px) clamp(7px, 2cqw, 9px);
        font-size: clamp(7px, 2.2cqw, 10px);
        letter-spacing: .06em;
    }

    .ewtngo-sound {
        bottom: clamp(32px, 12cqw, 48px);
    }

    .ewtngo-stream-switcher {
        margin-top: 0;
        padding: 2px;
        border-radius: 0 0 clamp(8px, 3cqw, 12px) clamp(8px, 3cqw, 12px);
    }

    .ewtngo-stream-button {
        padding: clamp(6px, 2cqw, 8px) clamp(5px, 1.7cqw, 9px);
    }

    .ewtngo-player:has(+ .ewtngo-stream-switcher) {
        border-radius: clamp(8px, 3cqw, 12px) clamp(8px, 3cqw, 12px) 0 0;
    }
}

@container ewtngo-player-column (max-width: 520px) {
    .ewtngo-newsletter {
        margin-top: clamp(12px, 3cqw, 18px);
    }

    .ewtngo-newsletter .ml-form-embedBody,
    .ewtngo-newsletter .ml-form-successBody {
        padding: 8px;
    }

    .ewtngo-newsletter .ml-form-embedContent {
        margin-bottom: 8px;
    }

    .ewtngo-newsletter .ml-form-embedPermissions {
        margin: 10px 0;
    }

    .ewtngo-newsletter .ml-form-checkboxRow {
        margin-bottom: 10px;
    }
}

@container ewtngo-player-column (max-width: 340px) {
    .ewtngo-live-badge {
        border-width: 1px;
    }

    .ewtngo-sound {
        bottom: clamp(28px, 13cqw, 42px);
    }
}

@container ewtngo-news (max-width: 520px) {
    .ewtngo-news-item {
        padding: clamp(5px, 2cqw, 8px) clamp(5px, 2cqw, 7px);
    }

    .ewtngo-news-lead {
        display: none !important;
    }

    .ewtngo-news-meta {
        margin-bottom: 4px;
    }
}


/* Centralne bannery EWTN GO — pobierane z EWTN GO Statistics */
.ewtngo-banners {
    position: relative;
    width: 100%;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 12px;
    box-sizing: border-box;
    container-type: inline-size;
    container-name: ewtngo-banners;
}

.ewtngo-banner-track {
    position: relative;
    width: 100%;
}

.ewtngo-banner-slide {
    display: none;
    width: 100%;
}

.ewtngo-banner-slide.ewtngo-banner-slide-active {
    display: block;
    position: relative;
    z-index: 2;
}

.ewtngo-banner-slide.ewtngo-banner-slide-active.ewtngo-banner-slide-entering {
    animation: ewtngo-banner-enter-from-right 1s ease both;
}

.ewtngo-banner-slide.ewtngo-banner-slide-leaving {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: block;
    animation: ewtngo-banner-leave-to-left 1s ease both;
}

@keyframes ewtngo-banner-enter-from-right {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes ewtngo-banner-leave-to-left {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.ewtngo-banner-link {
    display: block;
    width: 100%;
    text-decoration: none !important;
    box-shadow: none !important;
    border-radius: inherit;
    overflow: hidden;
}

.ewtngo-banner-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 0;
    border-radius: inherit;
}

.ewtngo-banner-nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    display: grid !important;
    place-items: center !important;
    width: clamp(24px, 7cqw, 38px);
    height: clamp(24px, 7cqw, 38px);
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: rgba(0,0,0,.5);
    color: #fff;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(4px);
    box-sizing: border-box;
}

.ewtngo-banner-nav-icon {
    display: block;
    width: 56%;
    height: 56%;
    margin: 0;
    padding: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.ewtngo-banner-prev { left: clamp(5px, 1.8cqw, 12px); }
.ewtngo-banner-next { right: clamp(5px, 1.8cqw, 12px); }

.ewtngo-banner-nav:hover,
.ewtngo-banner-nav:focus-visible {
    background: rgba(234,0,42,.9);
    outline: none;
}

.ewtngo-banner-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: clamp(5px, 1.6cqw, 10px);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: clamp(4px, 1.2cqw, 7px);
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(0,0,0,.38);
}

.ewtngo-banner-dot {
    width: clamp(5px, 1.5cqw, 8px);
    height: clamp(5px, 1.5cqw, 8px);
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.6);
    cursor: pointer;
}

.ewtngo-banner-dot.ewtngo-banner-dot-active {
    background: #ea002a;
}

/* Centralne ogłoszenia EWTN GO — jedno aktywne o najwyższym priorytecie. */
.ewtngo-announcement {
    --ewtngo-announcement-red: #ea002a;
    position: relative;
    width: 100%;
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    border-left: 4px solid #c6c9ce;
    border-radius: 2px;
    background: #ffffff;
    color: #222222;
    box-sizing: border-box;
    font-family: "Open Sans", Arial, sans-serif;
}

.ewtngo-announcement-type-important { border-left-color: var(--ewtngo-announcement-red); }
.ewtngo-announcement-type-broadcast { border-left-color: #9c242f; }
.ewtngo-announcement-type-event { border-left-color: #315b8a; }

.ewtngo-announcement-type {
    display: inline-block;
    margin: 13px 14px 0;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f2f3f5;
    color: #4a4d52;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.ewtngo-announcement-type-important .ewtngo-announcement-type {
    background: #fff0f2;
    color: var(--ewtngo-announcement-red);
}

.ewtngo-announcement-image,
.ewtngo-announcement-video {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 12px;
    border: 0;
}

.ewtngo-announcement-video-wrap {
    position: relative;
    width: 100%;
    margin-top: 12px;
    aspect-ratio: 16 / 9;
    background: #08090b;
}

.ewtngo-announcement-video-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ewtngo-announcement-copy { padding: 12px 14px 14px; }

.ewtngo-announcement-title {
    margin: 0 0 7px !important;
    color: #222222;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-size: clamp(15px, 3.8cqw, 20px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}

.ewtngo-announcement-content {
    color: #555555;
    font-size: clamp(12px, 2.8cqw, 14px);
    line-height: 1.55;
}

.ewtngo-announcement-content > :first-child { margin-top: 0; }
.ewtngo-announcement-content > :last-child { margin-bottom: 0; }
.ewtngo-announcement-content h2,
.ewtngo-announcement-content h3,
.ewtngo-announcement-content h4 { color: #222222; line-height: 1.3; }
.ewtngo-announcement-content a { color: #b70022; text-decoration: underline; }

.ewtngo-announcement-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 9px 14px;
    border: 1px solid var(--ewtngo-announcement-red);
    border-radius: 6px;
    background: var(--ewtngo-announcement-red);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
}

.ewtngo-announcement-cta:hover,
.ewtngo-announcement-cta:focus-visible {
    color: #ffffff !important;
    opacity: .88;
    outline: 2px solid rgba(234,0,42,.16);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .ewtngo-banner-slide.ewtngo-banner-slide-active.ewtngo-banner-slide-entering,
    .ewtngo-banner-slide.ewtngo-banner-slide-leaving { animation: none !important; }
}


/* Adaptacyjne wiadomości wyłącznie w rzeczywistym układzie „Obok playera”. */
.ewtngo-module.ewtngo-layout-side[data-ewtngo-side-adaptive="1"] .ewtngo-news-panel {
    --ewtngo-side-title-size: 13px;
    --ewtngo-side-latest-title-size: 15px;
    --ewtngo-side-lead-size: 11px;
    --ewtngo-side-meta-size: 11px;
    --ewtngo-side-lead-lines: 2;
}

.ewtngo-module.ewtngo-layout-side[data-ewtngo-side-adaptive="1"] .ewtngo-news-title {
    font-size: var(--ewtngo-side-title-size) !important;
}

.ewtngo-module.ewtngo-layout-side[data-ewtngo-side-adaptive="1"] .ewtngo-news-item.is-latest .ewtngo-news-title {
    font-size: var(--ewtngo-side-latest-title-size) !important;
}

.ewtngo-module.ewtngo-layout-side[data-ewtngo-side-adaptive="1"] .ewtngo-news-meta {
    font-size: var(--ewtngo-side-meta-size) !important;
}

.ewtngo-module.ewtngo-layout-side[data-ewtngo-side-adaptive="1"] .ewtngo-news-lead {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--ewtngo-side-lead-lines);
    line-clamp: var(--ewtngo-side-lead-lines);
    font-size: var(--ewtngo-side-lead-size) !important;
}

.ewtngo-module.ewtngo-layout-side[data-ewtngo-side-adaptive="1"] .ewtngo-news-item.ewtngo-news-item-hidden {
    display: none !important;
}
