.canada-radio {
    --radio-red: #d20d12;
    --radio-blue: #075394;
    direction: rtl;
    width: 100%;
    color: #fff;
    font-family: inherit;
}

.canada-radio--bar {
    padding: 10px 16px 2px;
}

.canada-radio__inner {
    position: relative;
    display: flex;
    align-items: stretch;
    width: min(100%, 820px);
    min-height: 50px;
    margin-inline: auto 0;
    overflow: hidden;
    background: linear-gradient(90deg, #181818, #101010);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}

.canada-radio__page-link {
    display: inline-flex;
    flex: 0 0 66px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #0a68b6, var(--radio-blue));
    transition: filter .16s ease;
}

.canada-radio__page-link:hover,
.canada-radio__page-link:focus-visible {
    color: #fff;
    filter: brightness(1.15);
}

.canada-radio__page-link svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.canada-radio__message {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 9px 18px;
    overflow: hidden;
    color: #fff;
    font-size: clamp(.85rem, 1.15vw, 1.06rem);
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
}

.canada-radio__toggle {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    margin: 0;
    padding: 8px 20px;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: linear-gradient(135deg, #eb151b, var(--radio-red));
    font: inherit;
    font-size: .94rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .16s ease, filter .16s ease;
}

.canada-radio__toggle:hover,
.canada-radio__toggle:focus-visible {
    color: #fff;
    filter: brightness(1.12);
}

.canada-radio__live-icon,
.canada-radio__live-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.canada-radio__live-icon svg {
    fill: currentColor;
}

.canada-radio__pulse {
    display: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.canada-radio[data-radio-state="loading"] .canada-radio__toggle {
    background: #9b1519;
}

.canada-radio[data-radio-state="loading"] .canada-radio__pulse {
    display: block;
    animation: canada-radio-pulse .85s ease-in-out infinite alternate;
}

.canada-radio[data-radio-state="playing"] .canada-radio__toggle {
    background: #12723b;
}

.canada-radio[data-radio-state="playing"] .canada-radio__pulse {
    display: block;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .16);
}

.canada-radio[data-radio-state="error"] .canada-radio__toggle {
    background: #8d2024;
}

.canada-radio__status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.canada-radio audio {
    display: none;
}

.canada-radio-page {
    width: 100%;
    min-height: 58vh;
    padding: 28px 18px 72px;
    background: #f7f7f7;
}

.canada-radio-page__container {
    width: min(100%, 1080px);
    margin: 0 auto;
}

.canada-radio-page .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.canada-radio-page__header {
    margin-bottom: 24px;
}

.canada-radio-page__title {
    margin: 0 0 10px;
    color: #171717;
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    font-weight: 800;
}

.canada-radio-page__intro {
    margin: 0;
    color: #565656;
}

.canada-radio--page .canada-radio__inner {
    width: 100%;
    min-height: 76px;
}

.canada-radio-hero {
    overflow: hidden;
    border-radius: 22px;
    background: #171717;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.canada-radio-hero__topbar {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    min-height: 64px;
    font-size: clamp(.95rem, 2vw, 1.25rem);
}

.canada-radio-hero__topbar span,
.canada-radio-hero__topbar strong {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
}

.canada-radio-hero__topbar span {
    background: linear-gradient(135deg, #e20e14, #b60005);
    font-weight: 800;
}

.canada-radio-hero__topbar strong {
    background: #111;
}

.canada-radio-hero__body {
    padding: clamp(28px, 5vw, 52px) clamp(20px, 5vw, 54px) 30px;
    background:
        radial-gradient(circle at 20% 0, rgba(255, 255, 255, .055), transparent 32%),
        linear-gradient(135deg, #252525, #141414);
}

.canada-radio-hero__heading {
    display: flex;
    gap: clamp(16px, 4vw, 46px);
    align-items: center;
    justify-content: center;
    text-align: center;
}

.canada-radio-hero__heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.45rem);
    font-weight: 800;
    line-height: 1.25;
}

.canada-radio-hero__heading p {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    margin: 12px 0 0;
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
}

.canada-radio-hero__heading p span,
.canada-radio-hero__live i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e20e14;
    box-shadow: 0 0 0 5px rgba(226, 14, 20, .13);
}

.canada-radio-hero__wave {
    position: relative;
    display: flex;
    gap: 5px;
    align-items: center;
    width: clamp(72px, 13vw, 145px);
    height: 62px;
}

.canada-radio-hero__wave::after {
    width: 100%;
    height: 4px;
    content: '';
    background: #cf0e14;
}

.canada-radio-hero__wave i {
    flex: 0 0 4px;
    border-radius: 4px;
    background: #cf0e14;
}

.canada-radio-hero__wave i:nth-child(1),
.canada-radio-hero__wave i:nth-child(5) { height: 22px; }
.canada-radio-hero__wave i:nth-child(2),
.canada-radio-hero__wave i:nth-child(4) { height: 42px; }
.canada-radio-hero__wave i:nth-child(3) { height: 60px; }

.canada-radio-hero__wave:last-child {
    flex-direction: row-reverse;
}

.canada-radio-hero__controls {
    display: flex;
    gap: 22px;
    align-items: center;
    margin-top: 30px;
    direction: ltr;
}

.canada-radio-hero__play {
    display: inline-grid;
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    padding: 0;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.canada-radio-hero__play span,
.canada-radio-hero__play svg {
    display: block;
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.canada-radio-hero__play [data-radio-pause-icon] {
    display: none;
}

.canada-radio[data-radio-state="playing"] .canada-radio-hero__play [data-radio-play-icon] {
    display: none;
}

.canada-radio[data-radio-state="playing"] .canada-radio-hero__play [data-radio-pause-icon] {
    display: block;
}

.canada-radio-hero__volume,
.canada-radio-hero__volume svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.canada-radio-hero__live {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
    direction: rtl;
}

.canada-radio-hero__continue {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin-inline-start: auto;
    padding: 12px 22px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(135deg, #e20e14, #b80005);
    box-shadow: 0 5px 14px rgba(196, 0, 7, .26);
    font: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    direction: rtl;
}

.canada-radio-hero__continue-icon,
.canada-radio-hero__continue-icon svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.canada-radio-hero__play:hover,
.canada-radio-hero__play:focus-visible,
.canada-radio-hero__continue:hover,
.canada-radio-hero__continue:focus-visible {
    color: #fff;
    filter: brightness(1.12);
}

.canada-radio-news {
    margin-top: clamp(34px, 6vw, 58px);
}

.canada-radio-news__title {
    margin: 0 0 24px;
    padding-inline-start: 15px;
    border-inline-start: 5px solid #d20d12;
    color: #181818;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.35;
}

.canada-radio-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.canada-radio-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}

.canada-radio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .11);
}

.canada-radio-card__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.canada-radio-card__link:hover,
.canada-radio-card__link:focus-visible {
    color: inherit;
}

.canada-radio-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #242424;
}

.canada-radio-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.canada-radio-card:hover .canada-radio-card__image {
    transform: scale(1.035);
}

.canada-radio-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(255, 255, 255, .72);
    background: radial-gradient(circle at 30% 20%, #444, #191919);
}

.canada-radio-card__placeholder svg {
    width: 54px;
    height: 54px;
    fill: currentColor;
}

.canada-radio-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 14px 16px 16px;
}

.canada-radio-card__category {
    align-self: flex-start;
    padding-inline-start: 8px;
    border-inline-start: 3px solid #d20d12;
    color: #202020;
    font-size: .84rem;
    font-weight: 800;
}

.canada-radio-card__title {
    display: -webkit-box;
    min-height: 3.45em;
    margin: 10px 0 16px;
    overflow: hidden;
    color: #171717;
    font-size: clamp(.96rem, 1.65vw, 1.08rem);
    font-weight: 700;
    line-height: 1.72;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.canada-radio-card__time {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: auto;
    color: #747474;
    font-size: .82rem;
}

.canada-radio-card__time svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.canada-radio-news__more-wrap {
    margin-top: 28px;
    text-align: center;
}

.canada-radio-news__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(100%, 300px);
    min-height: 48px;
    padding: 9px 24px;
    border: 2px solid #d20d12;
    border-radius: 6px;
    color: #c40d12;
    background: transparent;
    font-weight: 800;
    text-decoration: none;
    transition: color .16s ease, background .16s ease;
}

.canada-radio-news__more:hover,
.canada-radio-news__more:focus-visible {
    color: #fff;
    background: #d20d12;
}

.canada-radio-page__content {
    margin-top: 24px;
    padding: 22px;
    background: #fff;
    border-right: 3px solid #ae2448;
}

@keyframes canada-radio-pulse {
    to { opacity: .25; transform: scale(.72); }
}

@media (min-width: 992px) {
    .canada-radio--hide-desktop {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .canada-radio--hide-mobile {
        display: none !important;
    }

    .canada-radio--bar {
        padding: 8px 8px 0;
    }

    .canada-radio__inner {
        width: 100%;
        min-height: 48px;
    }

    .canada-radio__page-link {
        flex-basis: 52px;
    }

    .canada-radio__page-link svg {
        width: 23px;
        height: 23px;
    }

    .canada-radio__message {
        padding: 7px 9px;
        font-size: clamp(.69rem, 3.1vw, .88rem);
    }

    .canada-radio__toggle {
        min-width: 92px;
        gap: 5px;
        padding: 7px 11px;
        font-size: .8rem;
    }

    .canada-radio__live-icon,
    .canada-radio__live-icon svg {
        width: 17px;
        height: 17px;
    }

    .canada-radio-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .canada-radio-page {
        padding: 14px 10px 52px;
    }

    .canada-radio-hero {
        border-radius: 14px;
    }

    .canada-radio-hero__topbar {
        min-height: 52px;
        font-size: .8rem;
    }

    .canada-radio-hero__topbar span,
    .canada-radio-hero__topbar strong {
        padding: 9px 10px;
    }

    .canada-radio-hero__body {
        padding: 28px 15px 22px;
    }

    .canada-radio-hero__heading {
        gap: 10px;
    }

    .canada-radio-hero__heading h2 {
        font-size: clamp(1.45rem, 7.8vw, 2.1rem);
    }

    .canada-radio-hero__wave {
        width: 46px;
        height: 42px;
        gap: 3px;
    }

    .canada-radio-hero__wave i {
        flex-basis: 3px;
    }

    .canada-radio-hero__wave i:nth-child(1),
    .canada-radio-hero__wave i:nth-child(5) { height: 14px; }
    .canada-radio-hero__wave i:nth-child(2),
    .canada-radio-hero__wave i:nth-child(4) { height: 27px; }
    .canada-radio-hero__wave i:nth-child(3) { height: 40px; }

    .canada-radio-hero__controls {
        display: grid;
        grid-template-columns: auto auto 1fr;
        gap: 14px;
        margin-top: 24px;
    }

    .canada-radio-hero__play {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
    }

    .canada-radio-hero__play span,
    .canada-radio-hero__play svg {
        width: 27px;
        height: 27px;
    }

    .canada-radio-hero__volume,
    .canada-radio-hero__volume svg {
        width: 23px;
        height: 23px;
    }

    .canada-radio-hero__continue {
        grid-column: 1 / -1;
        width: 100%;
        margin: 2px 0 0;
    }

    .canada-radio-news__grid {
        grid-template-columns: 1fr;
    }

    .canada-radio-card__title {
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .canada-radio__page-link {
        flex-basis: 44px;
    }

    .canada-radio__message {
        padding-inline: 6px;
        font-size: .64rem;
    }

    .canada-radio__toggle {
        min-width: 78px;
        padding-inline: 7px;
        font-size: .72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .canada-radio__pulse {
        animation: none !important;
    }
}
