/* Programs & Pricing page, "Stand Out and Get Noticed" (template-parts/pricing/noticed.php,
   docs/sections/programs/programs-our-programs-stand-out-get-noticed.png): the photo on the right with its note, the
   narrower heading and card beside it. The group, the card and the features strip: pricing-programs.css. */

.prc-noticed {
    position: relative;
    overflow: hidden;
}

/* The serving player, on the right from the top of the section to under the features strip. */
.prc-noticed-media {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    width: min(42%, 860px);
    aspect-ratio: 734 / 738;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, transparent 0, #000 6%, #000 82%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(180deg, transparent 0, #000 6%, #000 82%, transparent 100%);
    mask-composite: intersect;
}

.prc-noticed-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
}

/* "More / Exposure. / More Opportunities." in the sky right of the raised arm, as in the design. */
.prc-noticed-handwritten {
    position: absolute;
    top: 29%;
    right: 2%;
    margin: 0;
    color: #0c1d45;
    font-family: 'Segoe Print', 'Bradley Hand', cursive;
    font-size: clamp(16px, 1.35vw, 26px);
    font-style: italic;
    line-height: 1.22;
    transform: rotate(-12deg);
}

.prc-noticed-handwritten::after {
    display: block;
    width: 72%;
    height: 3px;
    margin: 10px 0 0 auto;
    border-radius: 3px;
    background: var(--amh-pink);
    content: '';
    transform: rotate(-12deg);
}

.prc-noticed .prc-section-inner {
    position: relative;
    z-index: 1;
}

.prc-noticed .prc-group-head {
    width: min(100%, 58%);
}

.prc-noticed .prc-cards {
    width: min(100%, 64%);
}

.prc-noticed .prc-features {
    margin-top: clamp(16px, 1.4vw, 26px);
}

/* Small laptops: a narrower photo, the card keeps off the face; the note out (it would reach the arm). */
@media (min-width: 1081px) and (max-width: 1180px) {
    .prc-noticed-media {
        width: 40%;
    }

    .prc-noticed .prc-group-head,
    .prc-noticed .prc-cards {
        width: min(100%, 62%);
    }

    .prc-noticed-handwritten {
        display: none;
    }
}

/* Tablets and phones: the photo as a band above the heading, the note on it again (right of the arm, smaller);
   everything full width. */
@media (max-width: 1080px) {
    /* The photo band opens the section: the heading is under it, not at the edge. */
    .prc-section + .prc-noticed {
        padding-top: 0;
    }

    .prc-noticed-media {
        position: relative;
        width: 100%;
        max-height: 420px;
        margin-bottom: 8px;
        aspect-ratio: 16 / 10;
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 74%, transparent 100%);
        mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 74%, transparent 100%);
    }

    /* The left 12 % of the cut-out is the part the design's card covered (rebuilt, blurred): out of the frame here. */
    .prc-noticed-media {
        overflow: hidden;
    }

    .prc-noticed-photo {
        width: 114%;
        max-width: none;
        margin-left: -14%;
        object-position: 50% 55%;
    }

    .prc-noticed-handwritten {
        top: 22%;
        right: 3%;
        font-size: clamp(14px, 2.5vw, 22px);
    }

    .prc-noticed .prc-group-head,
    .prc-noticed .prc-cards {
        width: 100%;
    }
}

/* Phones: no room for the note right of the arm. */
@media (max-width: 560px) {
    .prc-noticed-handwritten {
        display: none;
    }
}
