/* Job board paywall (jobs, auditions, residencies view pages). Markup: Whjobs/views/scripts/_paywall.tpl */

/* layout: overlay and teaser description share one grid cell, so the card's own height sets the block height */
.right-block .content-overlay-anchor.paywall.left-block-browse {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    float: left;
    width: 100%;
    margin-bottom: 24px;
    padding-right: 2%;
    padding-bottom: 0 !important;
    border-bottom: none;
}
.content-overlay-anchor.paywall > .content-overlay-block,
.content-overlay-anchor.paywall > .job-description {
    grid-area: 1 / 1;
}
.content-overlay-anchor.paywall > .content-overlay-block {
    position: relative;
    top: auto;
    width: 100%;
    margin-top: 25px;
}

.unlock-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 0;
    padding: 36px 44px 32px;
    border: 1px solid #eef5ff;
    border-radius: 16px;
    background: #eef5ff;
    color: var(--black-dark, #101921);
    font-family: 'sailec-regular', sans-serif;
    text-align: left;
    container-type: inline-size;
}
.unlock-card .uc-ico {
    font-family: 'icon-circus' !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
}
.unlock-card .uc-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 8px 18px 8px 12px;
    border-radius: 100px;
    background: rgba(0, 166, 193, .15);
    color: var(--green, #006976);
    font-family: 'sailec-bold', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.unlock-card .uc-pill svg { width: 16px; height: 18px; flex: none; color: var(--green, #006976); }
.unlock-card .uc-headline {
    margin: 0 0 10px;
    font-family: 'gtwalsheim-pro-bold', sans-serif;
    font-size: 34px;
    line-height: 1.12;
    color: var(--black-dark, #101921);
    text-transform: none;
}
.unlock-card .uc-lead {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--black-dark, #101921);
}
.unlock-card .uc-lead strong {
    display: inline-block;
    padding: 0 12px;
    border-radius: 100px;
    background: var(--blue-third, #7cedfe);
    font-family: 'sailec-bold', sans-serif;
    font-weight: 400;
}
.unlock-card .uc-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}
.unlock-card .uc-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding-right: 28px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--black-dark, #101921);
}
.unlock-card .uc-feature:nth-child(even) {
    padding: 0 0 0 28px;
    border-left: 1px solid var(--blue-light, #A3D1D8);
}
.unlock-card .uc-feature .uc-ico {
    flex: none;
    width: 32px;
    font-size: 28px;
    text-align: center;
    color: var(--blue, #00A6C1);
}
.unlock-card .uc-feature strong {
    display: block;
    font-family: 'sailec-bold', sans-serif;
    font-weight: 400;
    font-size: 16px;
}
.unlock-card .uc-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px 28px;
}
.unlock-card .uc-cta-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}
.unlock-card .uc-cta-label {
    font-family: 'sailec-regular', sans-serif;
    font-size: 16px;
    color: #000;
    text-align: left;
    padding-left: 14px;
}
.unlock-card .uc-sep {
    flex: none;
    width: 1px;
    height: 57px;
    background: var(--black-dark, #101921);
}
.unlock-card .uc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 10px 18px;
    border: none;
    width: 100%;
    border-radius: 100px;
    font-family: 'sailec-bold', sans-serif;
    font-size: 17px;
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .2s;
}
.unlock-card .uc-btn .uc-ico { font-size: 13px; }
.unlock-card .uc-btn-primary { background: #000; }
.unlock-card .uc-btn-outline { background: linear-gradient(90deg, rgb(1, 164, 192) 0%, rgb(132, 50, 165) 100%); }
.unlock-card .uc-btn:hover,
.unlock-card .uc-btn:focus { color: #fff; opacity: .88; text-decoration: none; }
.unlock-card .uc-note {
    flex: 0 1 200px;
    margin: 0;
    padding-bottom: 6px;
    font-size: 14px;
    font-style: italic;
    line-height: 1.45;
    color: var(--gray-cfive, #5C5C5C);
}
@container (max-width: 820px) {
    .unlock-card .uc-sep.uc-sep-note { display: none; }
    .unlock-card .uc-note { flex-basis: 100%; padding: 0 0 0 14px; }
}
@container (max-width: 600px) {
    .unlock-card .uc-features { grid-template-columns: 1fr; gap: 16px; }
    .unlock-card .uc-feature,
    .unlock-card .uc-feature:nth-child(even) { padding: 0; border-left: 0; }
    .unlock-card .uc-headline { font-size: 26px; }
    .unlock-card .uc-lead strong { display: inline; padding: 0 6px; }
}
@container (max-width: 640px) {
    .unlock-card .uc-cta-row { flex-direction: column; align-items: stretch; }
    .unlock-card .uc-cta-col { flex: none; }
    .unlock-card .uc-sep { display: none; }
}
@container (max-width: 520px) {
    .unlock-card .uc-headline { font-size: 22px; }
    .unlock-card .uc-pill { font-size: 12px; }
    .unlock-card .uc-btn { height: auto; min-height: 44px; padding: 12px 20px; font-size: 15px; white-space: normal; text-align: center; }
}
@media (max-width: 768px) {
    .unlock-card { padding: 28px 20px 24px; }
}
