/* Jak se připojit — bílé Rye písmo, velké postavy po stranách. */

body.ol-join-body {
    color: #fff;
    overflow-x: hidden;
}

body.ol-join-body > footer {
    position: relative !important;
    z-index: 4 !important;
    margin-top: auto !important;
    padding: 72px 24px 36px !important;
    color: #c3b39e !important;
    background: #020202 !important;
    border: 0 !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    text-align: center !important;
}

body.ol-join-body > footer::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: -14px !important;
    right: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: 16px !important;
    margin: 0 !important;
    background: radial-gradient(18px 10px at 9px 0, transparent 9px, #020202 10px) repeat-x !important;
    background-size: 32px 16px !important;
    filter: none !important;
}

body.ol-join-body > footer::after {
    content: '' !important;
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 15px !important;
    background: url('/logo.png?v=logo-1886') center / contain no-repeat !important;
    opacity: .82 !important;
    filter: grayscale(1) brightness(2.4) contrast(.8) !important;
}

body.ol-join-body > footer a {
    color: #fff !important;
}

.ol-join-figure {
    position: fixed;
    z-index: 2;
    bottom: 0;
    margin: 0;
    pointer-events: none;
    user-select: none;
}

.ol-join-figure img {
    display: block;
    height: min(82vh, 720px);
    width: auto;
    max-width: min(42vw, 460px);
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .85));
}

.ol-join-man {
    left: max(-50px, calc(50% - 780px));
}

.ol-join-woman {
    right: max(-30px, calc(50% - 740px));
}

.ol-join-page {
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    width: min(920px, calc(100% - 36px));
    margin: 28px auto 80px;
}

.ol-join-page *,
.ol-join-page *::before,
.ol-join-page *::after {
    box-sizing: border-box;
}

.ol-join-hero {
    margin: 0 0 18px;
    padding: 32px 34px 28px;
    color: #fff;
    background: rgba(6, 4, 3, .78);
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .55);
}

.ol-join-kicker {
    margin: 0 0 10px;
    color: #fff;
    font: 700 11px/1.5 'Cinzel', 'Rye', Georgia, serif;
    letter-spacing: .32em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px #000;
}

.ol-join-hero h1,
.ol-join-step h2,
.ol-join-panel h2 {
    margin: 0 0 14px;
    color: #fff !important;
    font-family: 'Rye', Georgia, serif !important;
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-shadow: 0 3px 0 #000, 0 8px 18px rgba(0, 0, 0, .7);
}

.ol-join-hero h1 {
    font-size: clamp(38px, 6vw, 58px);
    line-height: .95;
}

.ol-join-hero h1 em {
    color: #fff;
    font-style: normal;
}

.ol-join-hero p,
.ol-join-step p,
.ol-join-panel p {
    margin: 0;
    color: #fff !important;
    font-family: 'Rye', Georgia, serif !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: .03em;
    text-shadow: 0 2px 10px #000;
}

.ol-join-hero p {
    font-size: 17px;
}

.ol-join-hero strong {
    color: #fff;
    font-weight: 400;
}

.ol-join-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.ol-join-step {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    margin: 0;
    padding: 20px 16px 16px;
    color: #fff;
    background: rgba(6, 4, 3, .82);
    border: 1px solid rgba(255, 255, 255, .22);
}

.ol-join-num {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font: 400 13px/1 'Rye', Georgia, serif;
    letter-spacing: .28em;
    text-shadow: 0 2px 8px #000;
}

.ol-join-step h2 {
    font-size: 18px;
}

.ol-join-step p {
    flex: 1 1 auto;
    margin-bottom: 16px;
    font-size: 14px;
}

.ol-join-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    color: #111 !important;
    background: #fff;
    border: 1px solid #fff;
    font: 400 11px/1 'Rye', Georgia, serif;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.ol-join-cta:hover,
.ol-join-cta:focus-visible {
    color: #111 !important;
    background: #f3f3f3;
}

.ol-join-cta-ghost {
    color: #fff !important;
    background: transparent;
    border-color: #fff;
}

.ol-join-cta-ghost:hover,
.ol-join-cta-ghost:focus-visible {
    color: #111 !important;
    background: #fff;
}

.ol-join-panel {
    margin: 0 0 14px;
    padding: 22px 24px;
    color: #fff;
    background: rgba(6, 4, 3, .82);
    border: 1px solid rgba(255, 255, 255, .22);
}

.ol-join-panel h2 {
    font-size: 24px;
}

.ol-join-panel a {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ol-join-warn {
    border-color: #fff;
}

@media (max-width: 1180px) {
    .ol-join-figure img {
        height: min(70vh, 560px);
        max-width: min(34vw, 320px);
        opacity: .92;
    }
    .ol-join-man {
        left: -36px;
    }
    .ol-join-woman {
        right: -20px;
    }
}

@media (max-width: 860px) {
    .ol-join-figure {
        position: relative;
        z-index: 1;
        display: flex;
        justify-content: center;
    }
    .ol-join-man {
        left: auto;
        margin-top: 8px;
    }
    .ol-join-woman {
        display: none;
    }
    .ol-join-figure img {
        height: 280px;
        max-width: 240px;
        opacity: 1;
    }
    .ol-join-page {
        width: min(720px, calc(100% - 24px));
        margin-top: 8px;
    }
    .ol-join-steps {
        grid-template-columns: 1fr;
    }
    .ol-join-step h2 {
        font-size: 22px;
    }
}
