/*
 * /youtube-ads-podcast-promotion/ only (page-youtube-ads-podcast-promotion.php, rebuilt 2026-11-20; ops repo
 * docs/design/2026-11-20-podcast-page-rebuild). Loaded after css/real_estate_promotion.css and css/landing_pages.css.
 * Three blocks the shared renderers do not have: what a podcast ad looks like (.pc-anatomy), named podcast results
 * (.pc-results, thumbnails styled by css/results.css .rs-media) and the big-screen band (.pc-screen).
 * Theme tokens only: #0042FF, #000 / #1A1919, #3B3B3B, #5A5A5A, #E6E6E6, #F4F7FF, #DCE5FF, #FFD600 (the ad badge).
 */

/* ---------------------------------------------------------------- anatomy */

.template-landing-podcast .pc-anatomy__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1120px;
    margin: 40px auto 0 auto;
    padding: 0 16px;
    text-align: left;
}

.template-landing-podcast .pc-part {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.template-landing-podcast .pc-part__visual {
    height: 236px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #F4F7FF;
    border: 1px solid #DCE5FF;
    overflow: hidden;
}

.template-landing-podcast .pc-part__step {
    margin: 0 0 4px 0;
    color: #0042FF;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
}

.template-landing-podcast .pc-part h3 {
    margin: 0 0 8px 0;
    color: #000000;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.template-landing-podcast .pc-part p {
    margin: 0;
    color: #3B3B3B;
    font-size: 18px;
    line-height: 1.45;
}

/* 1. the ad frame: a generated still inside an in-stream ad drawn in HTML (no text in the image) */
.template-landing-podcast .pc-admock {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
}

.template-landing-podcast .pc-admock__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    background: #0B0B0B;
}

.template-landing-podcast .pc-admock__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-landing-podcast .pc-admock__ad {
    position: absolute;
    left: 10px;
    bottom: 12px;
    padding: 4px 6px;
    border-radius: 3px;
    background: #FFD600;
    color: #000000;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.template-landing-podcast .pc-admock__skip {
    position: absolute;
    right: 0;
    bottom: 10px;
    padding: 7px 10px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-right: 0;
    color: #FFFFFF;
    font-size: 12px;
    line-height: 1;
}

.template-landing-podcast .pc-admock__progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38%;
    height: 3px;
    background: #FFD600;
}

.template-landing-podcast .pc-admock__bar {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 0 0 10px 10px;
    background: #FFFFFF;
    box-shadow: 0 8px 20px rgba(0, 66, 255, 0.08);
}

.template-landing-podcast .pc-admock__dot {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0042FF;
}

.template-landing-podcast .pc-admock__name {
    flex: 1 1 auto;
    min-width: 0;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
}

.template-landing-podcast .pc-admock__name small {
    display: block;
    color: #5A5A5A;
    font-size: 12px;
    font-weight: 400;
}

.template-landing-podcast .pc-admock__btn {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 16px;
    background: #0042FF;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

/* 2. who sees it: example audience chips */
.template-landing-podcast .pc-chips {
    padding: 18px 18px 0 18px;
}

.template-landing-podcast .pc-chips__head {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 12px 0 !important;
    color: #000000 !important;
    font-size: 15px !important;
    font-weight: 600;
}

.template-landing-podcast .pc-chips__tag {
    padding: 3px 7px;
    border-radius: 4px;
    background: #FFFFFF;
    border: 1px solid #DCE5FF;
    color: #5A5A5A;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.template-landing-podcast .pc-chips ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.template-landing-podcast .pc-chips li {
    padding: 8px 11px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #E6E6E6;
    color: #3B3B3B;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.template-landing-podcast .pc-chips li.is-on {
    background: #0042FF;
    border-color: #0042FF;
    color: #FFFFFF;
}

/* 3. where the tap goes: one ad, three destinations */
.template-landing-podcast .pc-routes {
    padding: 18px;
}

.template-landing-podcast .pc-routes__head {
    margin: 0 0 12px 0 !important;
    color: #000000 !important;
    font-size: 15px !important;
    font-weight: 600;
}

.template-landing-podcast .pc-routes ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.template-landing-podcast .pc-routes li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #E6E6E6;
    color: #5A5A5A;
    font-size: 14px;
    line-height: 17px;
}

.template-landing-podcast .pc-routes li:first-child {
    border-color: #0042FF;
    box-shadow: 0 0 0 1px #0042FF;
}

.template-landing-podcast .pc-routes li strong {
    display: block;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
}

.template-landing-podcast .pc-routes__icon {
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #F4F7FF;
    color: #0042FF;
}

.template-landing-podcast .pc-routes__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------------------------------------------------------------- results */

.template-landing-podcast .pc-results__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1120px;
    margin: 40px auto 0 auto;
    padding: 0 16px;
    list-style: none;
    text-align: left;
}

.template-landing-podcast .pc-result {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 14px;
    border: 1px solid #E6E6E6;
    background: #FFFFFF;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.template-landing-podcast .pc-result .rs-media {
    border-radius: 0;
    background: #E6E6E6;
}

/* css/results.css colours its play mark with the /results/ page's own custom properties, which this page does not set. */
.template-landing-podcast .pc-result .rs-play {
    color: #FFFFFF;
}

.template-landing-podcast .pc-result .rs-media:focus-visible {
    outline: 3px solid #0042FF;
    outline-offset: -3px;
}

.template-landing-podcast .pc-result__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 20px 20px 20px;
}

.template-landing-podcast .pc-result__num {
    margin: 0;
    color: #3B3B3B;
    font-size: 17px;
    line-height: 1.3;
}

.template-landing-podcast .pc-result__num strong {
    display: block;
    color: #000000;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.5px;
}

.template-landing-podcast .pc-result__win {
    margin: 0;
    color: #0042FF;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.template-landing-podcast .pc-result__show {
    margin: 10px 0 0 0;
    color: #000000;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.template-landing-podcast .pc-result__show a {
    color: #000000;
    text-decoration: none;
}

.template-landing-podcast .pc-result__show a:hover,
.template-landing-podcast .pc-result__show a:focus-visible {
    text-decoration: underline;
}

.template-landing-podcast .pc-result__ep {
    margin: 0;
    color: #5A5A5A;
    font-size: 15px;
    line-height: 1.35;
}

.template-landing-podcast .pc-results__foot {
    max-width: 760px;
    margin: 22px auto 0 auto;
    padding: 0 16px;
    text-align: center;
}

.template-landing-podcast .pc-results__foot p {
    margin: 0 0 6px 0;
    color: #1A1919;
    font-size: 17px;
    line-height: 1.5;
}

.template-landing-podcast .pc-results__foot .results-vary {
    color: #6B6B6B;
    font-size: 14px;
}

.template-landing-podcast .pc-results__foot a {
    color: #0042FF;
    font-weight: 600;
    text-decoration: underline;
}

/* ---------------------------------------------------------------- big screen */

.template-landing-podcast .pc-screen__inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 44px;
    align-items: center;
    max-width: 1120px;
    margin: 96px auto 0 auto;
    padding: 0 16px;
}

.template-landing-podcast .pc-screen__copy h2 {
    margin: 0 0 16px 0;
    color: #000000;
    font-size: 44px;
    font-weight: bold;
    line-height: 1.05;
    letter-spacing: -0.8px;
}

.template-landing-podcast .pc-screen__copy h2 span {
    color: #0042FF;
}

.template-landing-podcast .pc-screen__copy p {
    margin: 0 0 12px 0;
    color: #3B3B3B;
    font-size: 20px;
    line-height: 1.45;
}

.template-landing-podcast .pc-screen__fig {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #E6E6E6;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.template-landing-podcast .pc-screen__fig img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------------------------------------------------------------- narrow screens */

@media (max-width: 980px) {
    .template-landing-podcast .pc-anatomy__grid,
    .template-landing-podcast .pc-results__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .template-landing-podcast .pc-anatomy__grid {
        gap: 34px;
    }

    .template-landing-podcast .pc-screen__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 640px;
        margin-top: 64px;
    }
}

@media (max-width: 767px) {
    /* .content is 95% wide on phones (about 9 px a side); these blocks add the rest of a 16 px gutter. */
    .template-landing-podcast .pc-anatomy .text_wrapper,
    .template-landing-podcast .pc-results .text_wrapper,
    .template-landing-podcast .pc-anatomy__grid,
    .template-landing-podcast .pc-results__grid,
    .template-landing-podcast .pc-results__foot,
    .template-landing-podcast .pc-screen__inner {
        padding-left: 7px;
        padding-right: 7px;
    }

    .template-landing-podcast .pc-anatomy__grid,
    .template-landing-podcast .pc-results__grid {
        margin-top: 24px;
    }

    .template-landing-podcast .pc-results__grid {
        gap: 12px;
    }

    /* Results as compact rows on a phone: the episode thumbnail beside the number, not three tall cards. */
    .template-landing-podcast .pc-result {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        padding: 12px;
    }

    /* 16:9 keeps YouTube's letterboxed hqdefault bars cropped away, as on the wide cards. */
    .template-landing-podcast .pc-result .rs-media {
        flex: 0 0 40%;
        aspect-ratio: 16 / 9;
        border-radius: 8px;
    }

    .template-landing-podcast .pc-result .rs-play {
        width: 38px;
        height: 38px;
        margin: -19px 0 0 -19px;
    }

    .template-landing-podcast .pc-result .rs-play svg {
        width: 18px;
        height: 18px;
    }

    .template-landing-podcast .pc-result__body {
        gap: 2px;
        padding: 0;
        min-width: 0;
    }

    .template-landing-podcast .pc-result__num {
        font-size: 15px;
    }

    .template-landing-podcast .pc-result__num strong {
        font-size: 28px;
    }

    .template-landing-podcast .pc-result__win {
        font-size: 15px;
    }

    .template-landing-podcast .pc-result__show {
        margin-top: 6px;
        font-size: 17px;
    }

    .template-landing-podcast .pc-result__ep {
        display: none;
    }

    .template-landing-podcast .pc-part__visual {
        height: auto;
        min-height: 0;
    }

    .template-landing-podcast .pc-chips {
        padding-bottom: 18px;
    }

    .template-landing-podcast .pc-part h3 {
        font-size: 22px;
    }

    .template-landing-podcast .pc-part p,
    .template-landing-podcast .pc-screen__copy p {
        font-size: 18px;
    }

    .template-landing-podcast .pc-screen__copy h2 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .template-landing-podcast .pc-screen__inner {
        margin-top: 48px;
    }
}
