.mgh-home-podcasts-carousel{
    --mgh-gap: 1.2rem;
    --mgh-card-radius: 2rem;
    --mgh-cover-radius: 24px;
    --mgh-edge-fade: 56px;
    width: 100%;
}

.mgh-home-podcasts-carousel .mgh-home-podcasts-viewport{
    width: 100%;
    overflow: hidden;
    overflow: clip;
    padding-bottom: 0.2rem;
    direction: ltr;
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-y;
    cursor: grab;
    position: relative;
}

a.mgh-podcast-card-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.mgh-home-podcasts-carousel.is-dragging .mgh-home-podcasts-viewport{
    cursor: grabbing;
}

.mgh-home-podcasts-carousel.is-dragging{
    user-select: none;
    -webkit-user-select: none;
}

.mgh-home-podcasts-carousel .mgh-home-podcasts-viewport::-webkit-scrollbar{
    width: 0;
    height: 0;
}

.mgh-home-podcasts-track{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--mgh-gap);
    padding: 1.1rem 0.8rem 0.7rem 0.8rem;
    transform: translate3d(0,0,0);
    will-change: transform;
    direction: ltr;
}

.mgh-podcast-card{
    flex: 0 0 calc((100% - (3 * var(--mgh-gap))) / 4);
    min-width: 0;
    border-radius: var(--mgh-card-radius);
    padding: 1.25rem 1.05rem 1.05rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    direction: rtl;
    background: #F6F6F6;
}

@media (max-width: 1024px){
    .mgh-podcast-card{
        flex: 0 0 calc((100% - (1 * var(--mgh-gap))) / 2);
    }
}

@media (max-width: 767px){
    .mgh-home-podcasts-carousel{
        --mgh-edge-fade: 26px;
    }
    .mgh-podcast-card{
        flex: 0 0 100%;
    }
}

.mgh-podcast-card-cover{
    width: 150px;
    height: 150px;
    border-radius: var(--mgh-cover-radius);
    overflow: hidden;
    display: block;
    background: linear-gradient(135deg, #B589A2 0%, #DABECA 100%);
    box-shadow: 0px 12px 18px -2px rgba(0, 0, 0, 0.15);
    -webkit-user-drag: none;
    user-select: none;
}

.mgh-podcast-card-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mgh-podcast-card-title{
    margin-top: 1.1rem;
    color: #291919;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-wrap: balance;
}

.mgh-podcast-card-title:focus-visible{
    outline: 2px solid #925376;
    outline-offset: 4px;
    border-radius: 0.6rem;
}

.mgh-podcast-card-excerpt{
    margin-top: 0.75rem;
    color: rgba(41, 25, 25, 0.78);
    font-size: 0.9rem;
    font-weight: 400;
    text-wrap: balance;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(2 * 1.55em);
}

.mgh-podcast-wave{
    margin-top: 1rem;
    display: block;
    width: 210px;
    height: 35px;
}

.mgh-podcast-wave line{
    transform-box: fill-box;
    transform-origin: center;
    transform: scaleY(0.92);
    animation: mghPodcastWave 1.12s ease-in-out infinite;
    animation-play-state: paused;
}

.mgh-podcast-card.is-playing .mgh-podcast-wave line{
    animation-play-state: running;
}

.mgh-podcast-wave line:nth-child(2n){
    animation-duration: 0.98s;
    animation-delay: -0.18s;
}

.mgh-podcast-wave line:nth-child(3n){
    animation-duration: 1.18s;
    animation-delay: -0.42s;
}

.mgh-podcast-wave line:nth-child(5n){
    animation-duration: 0.86s;
    animation-delay: -0.33s;
}

@keyframes mghPodcastWave{
    0%{ transform: scaleY(0.55); }
    45%{ transform: scaleY(1.15); }
    100%{ transform: scaleY(0.6); }
}

.mgh-podcast-card-play{
    margin-top: 0.85rem;
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 9999px;
    padding: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #F6F6F6;
    box-shadow: 0px 6px 16px -4px rgba(0, 0, 0, 0.12);
    box-shadow:
        0px 6px 16px -4px rgba(0, 0, 0, 0.12),
        inset 0px 1px 0px rgba(255,255,255,0.85),
        inset 0px -1px 0px rgba(0,0,0,0.03);
    color: #925376;
}

.mgh-podcast-card-play::after{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: conic-gradient(
        from 390deg,
        rgba(0,0,0,0.00) 0deg,
        rgba(0,0,0,0.10) 35deg,
        rgba(0,0,0,0.20) 70deg,
        rgba(0,0,0,0.30) 95deg,
        rgba(0,0,0,0.20) 125deg,
        rgba(0,0,0,0.00) 165deg,
        rgba(0,0,0,0.00) 360deg
    );
    -webkit-mask: radial-gradient(circle, transparent 62%, #000 74%);
    mask: radial-gradient(circle, transparent 62%, #000 74%);
    filter: blur(0.2px);
    opacity: 1.12;
}

.mgh-podcast-card-play[disabled]{
    opacity: 0.45;
    cursor: not-allowed;
}

.mgh-podcast-card-play:focus-visible{
    outline: 2px solid #925376;
    outline-offset: 4px;
}

button.mgh-podcast-card-play:focus{
    color: #fff;
    background: var(--mgh-color-3, #925376);
    box-shadow:
        0px 6px 16px -4px rgba(0, 0, 0, 0.22),
        inset 0px 1px 0px rgba(255,255,255,0.18),
        inset 0px -1px 0px rgba(0,0,0,0.22);
}

.mgh-podcast-ic{
    display: block;
}

.mgh-podcast-ic-pause{
    display: none;
}

.mgh-podcast-card-play[aria-pressed="true"] .mgh-podcast-ic-play{
    display: none;
}

.mgh-podcast-card-play[aria-pressed="true"] .mgh-podcast-ic-pause{
    display: block;
}

.mgh-home-podcasts-carousel .mgh-home-services-dots{
    margin-top: 1.1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.mgh-home-podcasts-carousel .mgh-home-services-dot{
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999rem;
    background: transparent;
    border: 1px solid #925376;
    padding: 0;
    cursor: pointer;
    transition: width 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mgh-home-podcasts-carousel .mgh-home-services-dot.is-active{
    width: 2rem;
    height: 0.5rem;
    border-radius: 999rem;
    background: #925376;
    border-color: transparent;
}

.mgh-home-podcasts-carousel .mgh-home-services-dot:focus-visible{
    outline: 2px solid #925376;
    outline-offset: 4px;
}

.mgh-home-podcasts-carousel{
    --mgh-play-bg-hover: #925376;
    --mgh-play-bg-active: #925376;
}

.mgh-home-podcasts-carousel{
    --mgh-play-bg-hover: var(--mgh-color-3, #925376);
    --mgh-play-bg-active: var(--mgh-play-bg-hover);
}

.mgh-home-podcasts-carousel{
    --mgh-play-ic-default: #925376;
    --mgh-play-ic-on: #FFFFFF;
}

.mgh-home-podcasts-carousel .mgh-podcast-card-play{
    color: var(--mgh-play-ic-default);
}

.mgh-home-podcasts-carousel .mgh-podcast-card-play:hover,
.mgh-home-podcasts-carousel .mgh-podcast-card-play:active,
.mgh-home-podcasts-carousel .mgh-podcast-card-play[aria-pressed="true"]{
    color: var(--mgh-play-ic-on);
}

.mgh-home-podcasts-carousel .mgh-podcast-card-play:active{
    transform: translateY(1px);
    box-shadow: 0px 6px 14px -10px rgba(0,0,0,0.40);
}

.mgh-home-podcasts-carousel .mgh-podcast-card-play:hover,
.mgh-home-podcasts-carousel .mgh-podcast-card-play[aria-pressed="true"]{
    background-color: var(--mgh-play-bg-hover) !important;
    background: var(--mgh-play-bg-hover) !important;

    box-shadow:
        0px 6px 16px -4px rgba(0, 0, 0, 0.22),
        inset 0px 1px 0px rgba(255,255,255,0.18),
        inset 0px -1px 0px rgba(0,0,0,0.22);
}

.mgh-home-podcasts-carousel .mgh-podcast-card-play:active{
    background-color: var(--mgh-play-bg-hover) !important;
    background: var(--mgh-play-bg-hover) !important;

    transform: translateY(1px);
    box-shadow:
        inset 0px 8px 14px rgba(0,0,0,0.22),
        inset 0px -1px 0px rgba(255,255,255,0.14);
}

.mgh-home-podcasts-carousel .mgh-podcast-card-play[aria-pressed="true"]{
    background-color: var(--mgh-play-bg-active) !important;
    background: var(--mgh-play-bg-active) !important;
}


.mgh-home-podcasts-carousel .mgh-podcast-card-play[aria-pressed="true"]{
    background-color: var(--mgh-play-bg-active) !important;
    background: var(--mgh-play-bg-active) !important;
    background-image: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.0) 60%) !important;
    box-shadow:
        0px 10px 20px -10px rgba(0,0,0,0.35),
        inset 0px 1px 0px rgba(255,255,255,0.18),
        inset 0px -2px 0px rgba(0,0,0,0.18);
}

.mgh-home-podcasts-carousel .mgh-podcast-card-play:hover::after,
.mgh-home-podcasts-carousel .mgh-podcast-card-play:active::after,
.mgh-home-podcasts-carousel .mgh-podcast-card-play[aria-pressed="true"]::after,
button.mgh-podcast-card-play:focus::after{
    opacity: 0.55;
}

@media (max-width: 1024px){
    .mgh-home-podcasts-carousel .mgh-home-services-dots{
        display: none;
    }
}

@media (prefers-reduced-motion: reduce){
    .mgh-home-podcasts-track{
        will-change: auto;
    }
    .mgh-podcast-wave line{
        stroke: var(--mgh-color-3, #925376) !important;
        animation: none;
        transform: none;
        opacity: 1;
    }
}