/* Custom styles for the podcast shortcodes */
.prt-podcast-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
}

.prt-podcast-hero .prt-podcast-hero__background {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.prt-podcast-hero .prt-podcast-hero__artwork {
    max-width: 20rem;
    width: clamp(3rem, 25%, 20rem);
    aspect-ratio: 1 / 1;
    object-fit: cover;

    position: absolute;
    /* bottom: clamp(1rem, 2%, 2rem); */
    bottom: 0;
    right: clamp(1rem, 2%, 2rem);
}

.prt-podcast-hero__guest-info {
    /* max-width: 22.25rem;
    width: clamp(2rem, 23%, 20rem); */

    position: absolute;
    top: clamp(1rem, 5%, 6rem);
    left: clamp(1rem, 2%, 2rem);

    display: flex;
    gap: 1.5rem;
}

.prt-podcast-hero .prt-podcast-hero__guest {
    border-radius: 100vw;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: clamp(3rem, 20vw, 28rem);
}

.prt-podcast-hero__guest__details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.prt-podcast-hero__guest-name {
    color: #fff;
    font-size: clamp(2rem, 1rem + 3.3vw, 6rem);
    font-weight: 700;
    line-height: 1em;
}

@media (max-width: 30em) {
    .prt-podcast-hero__guest-info {
        gap: 1rem;
    }
    .prt-podcast-hero__guest__details {
        gap: 0;
    }
    .prt-podcast-hero__guest-name {
        font-size: clamp(1.1rem, 1rem + 0.1vw, 1.125rem);
    }
}

.prt-podcast-featured-image {
    position: relative;
    width: 100%;
    max-width: 15.25rem;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.prt-podcast-featured-image .prt-podcast-featured-image__background,
.prt-podcast-featured-image .prt-podcast-featured-image__guest,
.prt-podcast-featured-image__fallback {
    width: 100%;
    height: 100%;
}

.prt-podcast-featured-image .prt-podcast-featured-image__background {
    object-fit: cover;
    object-position: center left;
}

.prt-podcast-featured-image .prt-podcast-featured-image__guest {
    position: absolute;
    top: 0.5rem;
    left: 20%;
    width: min(35%, 6.5rem);
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
}

.prt-podcast-featured-image__fallback {
    display: block;
    max-width: 15.25rem;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center left;
}
