:root {
    --local-ink: #102b46;
    --local-red: #cf4e57;
    --local-red-dark: #b83d48;
    --local-cream: #fffaf2;
    --local-line: #e8ddce;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.local-page-body {
    margin: 0;
    padding-top: 82px;
    background: var(--local-cream);
    color: var(--local-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.local-page-layout a {
    color: inherit;
    text-decoration: none;
}

.local-page-layout {
    overflow: hidden;
}

.local-page-layout .shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.local-page-layout > .topbar {
    position: fixed;
    z-index: 20;
    inset: 0 0 auto;
    height: 82px;
    border-bottom: 1px solid rgba(230, 217, 197, .7);
    background: rgba(255, 253, 247, .97);
    backdrop-filter: blur(10px);
}

.local-page-layout > .topbar .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.local-page-layout > .topbar .logo {
    display: block;
    line-height: 0;
}

.local-page-layout .brand-logo {
    display: block;
    width: 176px;
    height: auto;
}

.local-page-layout .member,
.local-directory-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: var(--local-red);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(184, 61, 72, .2);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.local-page-layout .member {
    min-height: 48px;
    padding: 0 23px;
    font-size: 14px;
}

.local-page-layout .member:hover,
.local-directory-page .btn:hover {
    background: var(--local-red-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(184, 61, 72, .27);
}

.local-directory-page .hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 385px;
    padding-top: 331px;
    margin-top: -292px;
    background: #efe4d2;
}

.local-directory-page .hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background: url("/mirror/142ff4d2a1aa-hero-prague.jpg") center / cover no-repeat;
}

.local-directory-page .hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(ellipse at 84% 43%, rgba(235, 174, 101, .08) 0%, rgba(235, 174, 101, .03) 38%, transparent 66%),
        linear-gradient(90deg, rgba(255, 250, 242, .96) 0%, rgba(255, 250, 242, .82) 36%, rgba(255, 250, 242, .08) 73%, rgba(255, 250, 242, 0) 100%),
        linear-gradient(180deg, transparent 70%, var(--local-cream) 100%);
}

.local-directory-page .hero .shell {
    padding: 69px 38px 84px;
    transform: translateX(-38px);
}

.local-directory-page .hero-copy {
    max-width: 475px;
}

.local-directory-page h1,
.local-directory-page h2,
.local-directory-page h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: 0;
}

.local-directory-page h1 {
    max-width: 600px;
    margin: -15px 0 -2px;
    padding: 0 0 10px;
    color: var(--local-red);
    font-size: clamp(42px, 5vw, 65px);
    line-height: .99;
}

.local-directory-page .hero p {
    max-width: 430px;
    margin: 18px 0 24px;
    color: #3e4c5b;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
}

.local-directory-page .btn {
    min-height: 44px;
    padding: 0 20px;
    font-size: 14px;
}

.local-directory-page .hero .btn {
    min-width: 156px;
    min-height: 51px;
    font-size: 17px;
}

.local-directory-page .crumb {
    display: flex;
    align-items: center;
    width: max-content;
    margin-top: 28px;
    padding: 0;
    border: 0;
    background: none;
    color: #168292;
    font-size: 12px;
}

.local-directory-page .crumb a {
    color: #168292;
    font-weight: 400;
}

.local-directory-page .crumb a:hover {
    color: var(--local-red);
}

.local-directory-page .crumb span {
    color: var(--local-red);
    font-weight: 700;
}

.local-directory-page .crumb span::before {
    content: "›";
    padding: 0 9px;
    color: #a19a91;
    font-weight: 400;
}

.local-directory-page .directory {
    position: relative;
    z-index: 2;
    padding-bottom: 48px;
    margin-top: -53px;
}

.local-directory-page .country-list {
    display: grid;
    gap: 12px;
}

.local-directory-page .country-card {
    display: grid;
    grid-template-columns: 1.16fr .78fr .96fr;
    align-items: stretch;
    min-height: 222px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .86);
    border-radius: 13px;
    background: rgba(255, 253, 249, .94);
    box-shadow: 0 13px 28px rgba(37, 42, 50, .13);
}

.local-directory-page .country-us {
    margin-top: 13px;
}

.local-directory-page .country-card.reverse {
    grid-template-columns: .96fr .78fr 1.16fr;
}

.local-directory-page .country-photo {
    position: relative;
    min-height: 220px;
    background: var(--photo, linear-gradient(135deg, #e8ddc9, #cbd5d8)) center / cover no-repeat;
}

.local-directory-page .country-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, rgba(255, 253, 249, .92));
}

.local-directory-page .country-card.reverse .country-photo {
    order: 3;
}

.local-directory-page .country-card.reverse .country-photo::after {
    background: linear-gradient(270deg, transparent 55%, rgba(255, 253, 249, .92));
}

.local-directory-page .country-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 22px;
}

.local-directory-page .country-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--local-red);
    font-size: 14px;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.local-directory-page .country-flag {
    width: 27px;
    height: 18px;
    flex: 0 0 27px;
    border: 1px solid rgba(16, 43, 70, .12);
    border-radius: 2px;
    object-fit: cover;
}

.local-directory-page .country-intro h2 {
    font-size: 28px;
    line-height: 1.12;
}

.local-directory-page .country-intro .btn {
    width: 108px;
    min-height: 44px;
    padding: 0;
    margin-top: 11px;
    font-size: 13px;
}

.local-directory-page .city-buttons {
    align-self: center;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 28px 18px;
}

.local-directory-page .country-card.reverse .city-buttons {
    width: 100%;
    padding: 28px 0;
    transform: translateX(-18px);
}

.local-directory-page .country-ca .city-buttons {
    padding: 33px 0;
}

.local-directory-page .city-button {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 144px;
    min-height: 59px;
    padding: 11px 14px;
    border: 1px solid #dfd7cc;
    border-radius: 8px;
    background: rgba(255, 253, 249, .7);
    color: #172f4b;
    font-size: 13px;
    font-weight: 750;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.local-directory-page .city-button:hover,
.local-directory-page .city-button:focus-visible {
    border-color: #e1ad32;
    outline: 0;
    background: #fff1c8;
    color: #9b2f39;
    transform: translateY(-2px);
    box-shadow: 0 9px 18px rgba(177, 128, 22, .17);
}

.local-directory-page .city-icon {
    width: 33px;
    height: 33px;
    flex: 0 0 33px;
    object-fit: contain;
}

.local-directory-page .country-uk .city-icon {
    width: 36.3px;
    height: 36.3px;
    flex-basis: 36.3px;
}

.local-directory-page .country-ca .city-button:nth-child(1) .city-icon {
    width: 39.93px;
    height: 39.93px;
    /*flex-basis: 39.93px;*/
}

.local-directory-page .country-ca .city-button:nth-child(4) .city-icon,
.local-directory-page .country-us .city-button:nth-child(1) .city-icon,
.local-directory-page .country-us .city-button:nth-child(3) .city-icon {
    width: 38.12px;
    height: 38.12px;
    /*flex-basis: 38.12px;*/
}

.local-directory-page .country-au .city-button:nth-child(2) .city-icon,
.local-directory-page .country-au .city-button:nth-child(3) .city-icon,
.local-directory-page .country-au .city-button:nth-child(4) .city-icon {
    width: 34.65px;
    height: 34.65px;
    flex-basis: 34.65px;
}

.local-directory-page .trust {
    padding: 6px 0 20px;
}

.local-directory-page .trust-card {
    padding: 16px 26px 21px;
    border: 1px solid var(--local-line);
    border-radius: 12px;
    background: #ffeed1;
}

.local-directory-page .trust h2 {
    padding: 12px 0;
    margin: -2px 0 10px;
    text-align: center;
    font-size: 25px;
}

.local-directory-page .trust-grid {
    display: grid;
    grid-template-columns: 1.08fr .99fr 1.13fr;
    gap: 0;
    padding: 4px 20px 0;
    margin: 15px 0 -14px;
}

.local-directory-page .trust-item {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 10px;
    align-items: start;
    min-width: 0;
}

.local-directory-page .trust-item:nth-child(2) {
    padding: 0 0 4px 22px;
    margin-bottom: 8px;
}

.local-directory-page .trust-item:nth-child(3) {
    padding: 0 0 7px 98px;
    margin-bottom: 7px;
}

.local-directory-page .trust-icon {
    display: block;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    object-fit: contain;
}

.local-directory-page .trust-item h3 {
    font-family: inherit;
    font-size: 15px;
    font-weight: 850;
}

.local-directory-page .trust-item p {
    margin: 3px 0 0;
    color: #57616a;
    font-size: 14px;
    line-height: 1.45;
}

.local-directory-page .trust-item:nth-child(1) p {
    max-width: 285px;
}

.local-directory-page .trust-item:nth-child(2) p {
    max-width: 238px;
}

.local-directory-page .trust-item:nth-child(3) p {
    max-width: 218px;
}

.local-directory-page .cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 20px 22px;
    margin: 16px 0 36px;
    border-radius: 9px;
    background: #062b49;
    color: #fff;
}

.local-directory-page .cta h2 {
    font-size: 25px;
}

.local-directory-page .cta .btn {
    min-width: 122px;
    min-height: 40px;
}

.local-page-layout > .slp-footer {
    padding: 33px 0 42px;
    border-top: 1px solid var(--local-line);
    background: #f8eedb;
    color: #6b5b4e;
}

.local-page-layout .slp-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1020px;
    margin: 0 auto;
}

.local-page-layout .slp-footer-logo .brand-logo {
    width: 158px !important;
}

.local-page-layout .slp-footer-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 26px;
}

.local-page-layout .slp-footer-nav a {
    display: inline;
    margin: 0;
    color: #3b4856;
    font-size: 14px;
}

.local-page-layout .slp-footer-nav a:hover,
.local-page-layout .slp-footer-copyright a {
    color: #1b5eff;
}

.local-page-layout .slp-footer-copyright {
    margin-top: 29px;
    color: #7b7065;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

.local-page-layout .slp-footer-copyright p {
    margin: 0;
}

.local-page-layout .slp-footer-copyright a {
    text-decoration: underline;
}

@media (max-width: 850px) {
    .local-directory-page .country-card,
    .local-directory-page .country-card.reverse {
        grid-template-columns: 1fr 1fr;
    }

    .local-directory-page .country-photo {
        display: none;
    }

    .local-directory-page .country-card.reverse .country-photo {
        order: initial;
    }

    .local-directory-page .country-intro {
        padding-left: 28px;
    }
}

@media (max-width: 620px) {
    body.local-page-body {
        padding-top: 58px;
    }

    .local-page-layout .shell {
        width: min(calc(100% - 28px), 1120px);
    }

    .local-page-layout > .topbar {
        height: 58px;
    }

    .local-page-layout .brand-logo {
        width: 142px;
    }

    .local-page-layout .member {
        min-height: 36px;
        padding: 0 13px;
        font-size: 12px;
    }

    .local-directory-page .hero {
        min-height: 420px;
        padding-top: 0;
        margin-top: 0;
    }

    .local-directory-page .hero::before {
        background-position: 69% 0;
    }

    .local-directory-page .hero::after {
        background:
            linear-gradient(90deg, rgba(255, 250, 242, .95) 0%, rgba(255, 250, 242, .65) 66%, rgba(255, 250, 242, .12) 100%),
            linear-gradient(180deg, transparent 59%, var(--local-cream) 100%);
    }

    .local-directory-page .hero .shell {
        padding: 36px 4px 98px;
        transform: none;
    }

    .local-directory-page h1 {
        max-width: 360px;
        margin: 0;
        font-size: 44px;
    }

    .local-directory-page .hero p {
        max-width: 330px;
        font-size: 16px;
    }

    .local-directory-page .hero .btn {
        min-width: 144px;
        min-height: 48px;
        font-size: 16px;
    }

    .local-directory-page .directory {
        margin-top: -50px;
    }

    .local-directory-page .country-card,
    .local-directory-page .country-card.reverse {
        position: relative;
        isolation: isolate;
        grid-template-columns: 1fr;
        background: var(--photo, #fffdf9) center / cover no-repeat;
    }

    .local-directory-page .country-card::before {
        content: "";
        position: absolute;
        z-index: 0;
        inset: 0;
        background: linear-gradient(105deg, rgba(255, 253, 249, .87) 0%, rgba(255, 253, 249, .76) 55%, rgba(255, 253, 249, .58) 100%);
    }

    .local-directory-page .country-card > .country-intro,
    .local-directory-page .country-card > .city-buttons {
        position: relative;
        z-index: 1;
    }

    .local-directory-page .country-photo {
        display: none;
    }

    .local-directory-page .country-intro {
        position: relative;
        padding: 25px 22px 16px;
    }

    .local-directory-page .country-intro h2 {
        font-size: 27px;
    }

    .local-directory-page .country-intro .btn {
        position: absolute;
        top: 12px;
        right: 20px;
        margin-top: 0;
    }

    .local-directory-page .city-buttons,
    .local-directory-page .country-card.reverse .city-buttons,
    .local-directory-page .country-ca .city-buttons {
        gap: 9px;
        width: auto;
        padding: 10px 16px 20px;
        transform: none;
    }

    .local-directory-page .city-button {
        min-width: 0;
        min-height: 56px;
        padding: 10px;
        font-size: 12px;
    }

    .local-directory-page .trust-card {
        padding: 20px 16px;
    }

    .local-directory-page .trust h2 {
        font-size: 24px;
    }

    .local-directory-page .trust-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0;
        margin: 17px 0 0;
    }

    .local-directory-page .trust-item,
    .local-directory-page .trust-item:nth-child(2),
    .local-directory-page .trust-item:nth-child(3) {
        grid-template-columns: 32px 1fr;
        align-items: start;
        padding: 0;
        margin: 0;
    }

    .local-directory-page .trust-icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .local-directory-page .trust-item p {
        max-width: none !important;
        font-size: 14px;
    }

    .local-directory-page .cta {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 20px;
        text-align: center;
    }

    .local-directory-page .cta h2 {
        font-size: 24px;
    }

    .local-page-layout .slp-footer-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .local-page-layout .slp-footer-nav {
        justify-content: flex-start;
        gap: 13px 20px;
    }

    .local-page-layout .slp-footer-nav a {
        font-size: 13px;
    }

    .local-page-layout .slp-footer-copyright {
        margin-top: 24px;
        text-align: left;
    }
}
