.castingCallSection {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(66px, 8vw, 112px) 0 78px;
    border-block: 1px solid #c6a15b2e;
    background:
        radial-gradient(ellipse at 86% 12%, #c6a15b12, transparent 32%),
        linear-gradient(112deg, #0a0908 0%, #11100e 48%, #090908 100%);
}

.castingCallSection::before,
.castingCallSection::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.castingCallSection::before {
    top: 0;
    right: 8%;
    width: 1px;
    height: 100%;
    background: linear-gradient(transparent, #c6a15b18 30%, #c6a15b08 76%, transparent);
}

.castingCallSection::after {
    right: -170px;
    bottom: -300px;
    width: 520px;
    height: 520px;
    border: 1px solid #c6a15b12;
    border-radius: 50%;
    box-shadow: 0 0 0 38px #c6a15b06, 0 0 0 78px #c6a15b04;
}

.castingCallWrap {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

.castingCallHeader,
.castingCallTools,
.castingCallFooter,
.castingCallActions,
.castingCallMeta {
    display: flex;
    align-items: center;
}

.castingCallHeader {
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.castingCallEyebrow {
    margin: 0 0 13px;
    color: #c6a15b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .24em;
    line-height: 1.6;
    text-transform: uppercase;
}

.castingCallHeading h2 {
    margin: 0;
    color: #f5f0e6;
    font: 500 clamp(39px, 5.4vw, 68px)/.98 "Bodoni Moda", "Times New Roman", serif;
    letter-spacing: -.035em;
}

.castingCallHeading h2 em {
    color: #c6a15b;
    font-style: normal;
}

.castingCallIntro {
    max-width: 500px;
    margin: 14px 0 0;
    color: #aaa49b;
    font-size: 14px;
    line-height: 1.65;
}

.castingCallTools {
    flex-shrink: 0;
    gap: 22px;
}

.castingCallBrowse {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #c6a15b66;
    color: #e6d6b3;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    transition: color .2s ease, border-color .2s ease;
}

.castingCallBrowse span {
    color: #c6a15b;
    font-size: 17px;
    transition: transform .2s ease;
}

.castingCallBrowse:hover {
    border-color: #e7d5ad;
    color: #fff8e8;
}

.castingCallBrowse:hover span {
    transform: translate(2px, -2px);
}

.castingCallArrows {
    display: flex;
    gap: 8px;
}

.castingCallArrows button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #c6a15b55;
    border-radius: 50%;
    background: #11100e;
    color: #e7d5ad;
    cursor: pointer;
    font-size: 18px;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.castingCallArrows button:hover,
.castingCallArrows button:focus-visible {
    transform: translateY(-2px);
    border-color: #e7d5ad;
    background: #c6a15b;
    color: #100e09;
}

.castingCallArrows button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.castingCallArrows button:focus-visible,
.castingCallBrowse:focus-visible,
.castingCallDetails:focus-visible,
.castingCallApply:focus-visible,
.castingCallPagination button:focus-visible {
    outline: 2px solid #e7d5ad;
    outline-offset: 3px;
}

.castingCallViewport {
    overflow: hidden;
    padding: 3px 2px 15px;
}

.castingCallRail {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.castingCallRail::-webkit-scrollbar {
    display: none;
}

.castingCallCard {
    position: relative;
    display: flex;
    min-width: 0;
    flex: 0 0 calc((100% - 36px) / 3);
    flex-direction: column;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid #c6a15b36;
    background: linear-gradient(155deg, #171512, #0e0d0b 74%);
    box-shadow: 0 15px 35px #0004;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.castingCallCard:hover,
.castingCallCard:focus-within {
    transform: translateY(-5px);
    border-color: #c6a15b9e;
    box-shadow: 0 22px 48px #0008, 0 0 26px #c6a15b12;
}

.castingCallPoster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #17140e;
}

.castingCallPoster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: saturate(.78) brightness(.82);
    transition: filter .45s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

.castingCallCard:hover .castingCallPoster img,
.castingCallCard:focus-within .castingCallPoster img {
    transform: scale(1.045);
    filter: saturate(.95) brightness(.96);
}

.castingCallPosterShade {
    position: absolute;
    inset: 25% 0 0;
    background: linear-gradient(transparent, #080706b8);
    pointer-events: none;
}

.castingCallType,
.castingCallPosterIndex {
    position: absolute;
    z-index: 1;
    top: 15px;
    border: 1px solid #e7d5ad55;
    background: #090908d9;
    color: #e7d5ad;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.castingCallType {
    left: 15px;
    padding: 8px 10px;
}

.castingCallPosterIndex {
    right: 15px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    color: #f4e6c8;
}

.castingCallCardBody {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 20px 18px;
}

.castingCallCompany {
    overflow: hidden;
    color: #c6a15b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.5;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.castingCallCard h3 {
    display: -webkit-box;
    min-height: 52px;
    margin: 8px 0 12px;
    overflow: hidden;
    color: #f4efe6;
    font: 600 20px/1.3 "Manrope", sans-serif;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.castingCallMeta {
    flex-wrap: wrap;
    gap: 7px 15px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ffffff13;
}

.castingCallMeta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #b9b2a7;
    font-size: 10px;
    line-height: 1.5;
}

.castingCallMeta i {
    color: #c6a15b;
    font-size: 14px;
    font-style: normal;
}

.castingCallRequirements {
    display: -webkit-box;
    min-height: 58px;
    margin: 13px 0 18px;
    overflow: hidden;
    color: #c1baae;
    font-size: 11px;
    line-height: 1.55;
    white-space: pre-line;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.castingCallRequirements b {
    display: block;
    margin-bottom: 4px;
    color: #e9dfca;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.castingCallActions {
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #c6a15b28;
}

.castingCallDetails,
.castingCallApply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 39px;
    padding: 9px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .035em;
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.castingCallDetails {
    border: 1px solid #c6a15b55;
    color: #e5d4b0;
}

.castingCallDetails:hover {
    border-color: #e7d5ad;
    background: #c6a15b12;
    color: #fff5df;
}

.castingCallDetails span {
    color: #c6a15b;
    font-size: 14px;
}

.castingCallApply {
    border: 1px solid #c6a15b;
    background: #c6a15b;
    color: #100e09;
}

.castingCallApply:hover {
    border-color: #e7d5ad;
    background: #e7d5ad;
    box-shadow: 0 5px 18px #c6a15b2e;
}

.castingCallApply span {
    font-size: 14px;
}

.castingCallFooter {
    justify-content: space-between;
    gap: 20px;
    min-height: 35px;
    margin-top: 9px;
}

.castingCallFooter > p,
.castingCallHint {
    margin: 0;
    color: #898278;
    font-size: 10px;
    letter-spacing: .04em;
}

.castingCallLiveDot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: #b89450;
    box-shadow: 0 0 10px #c6a15b66;
}

.castingCallPagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.castingCallPagination button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: #746b5c;
    cursor: pointer;
    transition: width .25s ease, background .25s ease, box-shadow .25s ease;
}

.castingCallPagination button[aria-current="true"] {
    width: 23px;
    background: #c6a15b;
    box-shadow: 0 0 11px #c6a15b55;
}

@media (max-width: 1050px) {
    .castingCallCard {
        flex-basis: calc((100% - 18px) / 2);
    }
}

@media (max-width: 700px) {
    .castingCallSection {
        padding-block: 66px 58px;
    }

    .castingCallWrap {
        width: min(100% - 28px, 560px);
    }

    .castingCallHeader {
        align-items: flex-end;
        margin-bottom: 24px;
    }

    .castingCallIntro {
        max-width: 340px;
        font-size: 12px;
    }

    .castingCallTools {
        gap: 0;
    }

    .castingCallBrowse {
        display: none;
    }

    .castingCallArrows button {
        width: 37px;
        height: 37px;
    }

    .castingCallCard {
        flex-basis: 82%;
    }

    .castingCallPoster {
        aspect-ratio: 5 / 3;
    }

    .castingCallFooter {
        gap: 12px;
    }

    .castingCallHint {
        display: none;
    }
}

@media (max-width: 420px) {
    .castingCallHeader {
        align-items: flex-start;
    }

    .castingCallHeading h2 {
        font-size: 42px;
    }

    .castingCallArrows {
        padding-top: 26px;
    }

    .castingCallCard {
        flex-basis: 88%;
    }

    .castingCallCardBody {
        padding: 17px 16px 15px;
    }

    .castingCallActions {
        gap: 7px;
    }

    .castingCallDetails,
    .castingCallApply {
        padding-inline: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .castingCallRail {
        scroll-behavior: auto;
    }

    .castingCallCard,
    .castingCallPoster img,
    .castingCallPagination button {
        transition-duration: .01ms;
    }
}
