/* -------------------------------------------------------
   Shared
------------------------------------------------------- */
.pm-plugin {
    font-family: inherit;
}

/* -------------------------------------------------------
   Hero
------------------------------------------------------- */
.pm-subtitle {
    text-align: center;
    margin: 0 auto 24px;
    max-width: 700px;
    line-height: 1.6;
}

.pm-hero {
    position: relative;
    width: 100%;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

.pm-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.pm-hero-left {
    flex: 1;
    padding: 40px 32px 40px 48px;
    display: flex;
    align-items: center;
}

.pm-hero-right {
    width: 44%;
    flex-shrink: 0;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.72) 25%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 48px 40px 32px;
}

.pm-hero-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.pm-hero-description {
    color: rgba(255,255,255,0.9);
    margin: 0 0 24px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pm-hero-cta {
    display: inline-block;
    background: #7B5C2E;
    color: #fff;
    padding: 10px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s;
    align-self: flex-start;
}

.pm-hero-cta:hover {
    background: #5e4522;
    color: #fff;
    text-decoration: none;
}

/* -------------------------------------------------------
   Episode cards (shared by [podcast_episodes] and [podcast_upcoming])
------------------------------------------------------- */
.pm-episodes-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 4px;
}

.pm-episode-card {
    flex: 0 0 140px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pm-episode-card--latest {
    border-color: #7B5C2E;
}

.pm-episode-latest-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #7B5C2E;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 7px;
    border-radius: 3px;
    z-index: 1;
}

.pm-episode-thumb {
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    background-color: #f0ebe3;
}

.pm-episode-body {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pm-episode-title {
    font-size: 0.78rem;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.4;
    flex: 1;
}

.pm-episode-date {
    font-size: 0.75rem;
    color: #888;
    display: block;
    margin-bottom: 4px;
}

.pm-episode-duration {
    font-size: 0.75rem;
    color: #888;
    display: block;
    margin-bottom: 10px;
}

.pm-episode-cta {
    display: inline-block;
    background: #7B5C2E;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
}

.pm-episode-cta:hover {
    background: #5e4522;
    color: #fff;
    text-decoration: none;
}

.pm-no-upcoming {
    font-size: 0.95rem;
    color: #888;
    margin: 0 0 32px;
}

/* -------------------------------------------------------
   Social media cards
------------------------------------------------------- */
.pm-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.pm-social-card {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pm-social-card:hover {
    border-color: #7B5C2E;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pm-social-icon-img {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px;
    max-height: 56px;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
}

/* -------------------------------------------------------
   Host / Bio
------------------------------------------------------- */
.pm-host-wrap {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 32px;
    max-width: 100%;
}

.pm-host-photo img {
    border-radius: 50%;
    width: 90px;
    height: 90px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.pm-host-body {
    flex: 1;
    min-width: 0;
}

.pm-host-bio {
    margin: 0 0 12px;
    font-size: 0.82rem;
    line-height: 1.6;
}

.pm-host-linkedin {
    display: inline-block;
    background: #7B5C2E;
    color: #fff;
    padding: 6px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.2s;
}

.pm-host-linkedin:hover {
    background: #5e4522;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 600px) {
    .pm-hero-overlay {
        flex-direction: column;
        justify-content: flex-end;
        background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 60%);
    }
    .pm-hero-left {
        flex: 0;
        padding: 0 24px 8px;
    }
    .pm-hero-right {
        width: 100%;
        height: auto;
        background: none;
        padding: 0 24px 24px;
    }
    .pm-hero-title {
        font-size: 1.4rem;
    }
    .pm-host-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
