/* Contact page form: dropdowns, phone picker and country search,
   matched to the rounded white inputs in main.css */

.contact-page-area .request-form-wrap,
.ts-dropdown.cf-panel {
    --cf-placeholder-size: 14px;           /* hint text in every field; typed text stays 16px */
    --cf-text: #4d4d52;
    --cf-muted: #9f9fa4;
    --cf-line: #e8e8ef;
    --cf-hover: #f4f5fa;
    --cf-shadow: 0 16px 40px rgba(21, 23, 116, .12), 0 2px 6px rgba(21, 23, 116, .06);
}

.contact-page-area .request-form-wrap .form-item .form-control,
.contact-page-area .request-form-wrap .ts-wrapper .ts-control {
    color: var(--cf-text);
}
.contact-page-area .request-form-wrap .form-item .form-control::placeholder {
    font-size: var(--cf-placeholder-size);
}

/* ---- dropdown field (closed) ---- */
.contact-page-area .request-form-wrap .ts-wrapper {
    margin-bottom: 30px;
    /* tom-select.css sets the right padding with !important from these variables;
       46px leaves room for the arrow */
    --ts-pr-min: 46px;
    --ts-pr-caret: 0px;
    --ts-pr-clear-button: 0px;
}
.contact-page-area .request-form-wrap .ts-wrapper .ts-control,
.contact-page-area .request-form-wrap .ts-wrapper.single.input-active .ts-control {
    background: #fff;
    border: 1px solid transparent;
    border-radius: 24px;
    box-shadow: none;
    padding: 16px 46px 16px 20px;
    font-size: 16px;
    line-height: 1.5;
    min-height: 0;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.contact-page-area .request-form-wrap .ts-wrapper .ts-control:focus {
    outline: none;
}
.contact-page-area .request-form-wrap .ts-wrapper .items-placeholder {
    display: none !important;              /* search plugin's own placeholder; the one below is used instead */
}
.contact-page-area .request-form-wrap .ts-wrapper:not(.has-items) .ts-control::before {
    content: attr(data-placeholder);
    font-size: var(--cf-placeholder-size);
    line-height: 24px;                     /* same height as typed text, so fields stay level */
    display: block;
    flex: 1 1 0;                           /* basis 0 so a long placeholder shrinks and gets "…" */
    min-width: 0;
    max-width: 100%;
    color: var(--cf-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.contact-page-area .request-form-wrap .ts-wrapper.focus .ts-control,
.contact-page-area .request-form-wrap .ts-wrapper.dropdown-active .ts-control {
    border-color: var(--cf-line);
    box-shadow: 0 0 0 4px rgba(21, 23, 116, .06);
}
.contact-page-area .request-form-wrap .ts-wrapper .ts-control input {
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
}
.contact-page-area .request-form-wrap .ts-wrapper .ts-control input::placeholder {
    color: var(--cf-muted);
}
.contact-page-area .request-form-wrap .ts-wrapper .ts-control > .item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
/* chevron, flips when open */
.contact-page-area .request-form-wrap .ts-wrapper.single .ts-control:after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 7px;
    height: 7px;
    margin-top: -5px;
    border-style: solid;                   /* set every border property: tom-select.css restyles its own caret when open */
    border-width: 0 2px 2px 0;
    border-color: var(--cf-muted);
    transform: rotate(45deg);
    transition: transform .2s, margin-top .2s;
    pointer-events: none;
}
.contact-page-area .request-form-wrap .ts-wrapper.single.dropdown-active .ts-control:after {
    transform: rotate(-135deg);
    margin-top: -1px;
    border-width: 0 2px 2px 0;
    border-color: var(--cf-muted);
}

/* ---- dropdown panel (open) ---- */
.ts-dropdown.cf-panel {
    margin-top: 8px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--cf-line);
    border-radius: 20px;
    box-shadow: var(--cf-shadow);
    font-size: 14px;
    color: var(--cf-text);
    z-index: 60;
    min-width: 260px;                      /* a bit wider than narrow fields, so options stay on one line */
    animation: cf-pop .16s ease-out;
}
@keyframes cf-pop {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: none; }
}
.ts-dropdown.cf-panel .ts-dropdown-content {
    max-height: 320px;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: #c9cad6 transparent;
}
.ts-dropdown.cf-panel .ts-dropdown-content::-webkit-scrollbar {
    width: 6px;
}
.ts-dropdown.cf-panel .ts-dropdown-content::-webkit-scrollbar-thumb {
    background: #c9cad6;
    border-radius: 6px;
}

/* search box at the top of the panel (country) */
.ts-dropdown.cf-panel .dropdown-input-wrap {
    margin-bottom: 6px;
}
.ts-dropdown.cf-panel .dropdown-input {
    width: 100%;
    border: none;
    border-radius: 14px;
    background: var(--cf-hover) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%234d4d52' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='6'/%3E%3Cpath d='m14 14 4 4'/%3E%3C/svg%3E") no-repeat 14px center;
    padding: 10px 14px 10px 42px;
    font-size: 14px;
    color: var(--cf-text);
    outline: none;
    box-shadow: none;
}
.ts-dropdown.cf-panel .dropdown-input::placeholder {
    color: var(--cf-muted);
}

/* rows */
.ts-dropdown.cf-panel .option {
    padding: 0;
    margin: 2px 0;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
}
.ts-dropdown.cf-panel .option[data-value=""] {
    display: none;                         /* the "Select …" placeholder isn't a choice */
}
.ts-dropdown.cf-panel .option.active {
    background: var(--cf-hover);
    border-color: var(--cf-line);
    color: var(--cf-text);
}
:is(.contact-page-area .request-form-wrap, .cf-panel) .cf-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    line-height: 1.35;
}
:is(.contact-page-area .request-form-wrap, .cf-panel) .cf-name {
    flex: 1;
    min-width: 0;
}
:is(.contact-page-area .request-form-wrap, .cf-panel) .cf-code {
    color: var(--cf-muted);
    font-size: 12px;
    letter-spacing: .04em;
}
/* tick on the chosen row (lists without a code column) */
.ts-dropdown.cf-panel .option.selected .cf-option:not(:has(.cf-code))::after {
    content: "";
    width: 6px;
    height: 11px;
    margin-right: 4px;
    border-right: 2px solid var(--tl-color-heading-primary);
    border-bottom: 2px solid var(--tl-color-heading-primary);
    transform: rotate(45deg) translateY(-2px);
}
.ts-dropdown.cf-panel .option.selected .cf-name {
    color: var(--tl-color-heading-primary);
    font-weight: 500;
}

/* round flags */
:is(.contact-page-area .request-form-wrap, .cf-panel) .cf-flag {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    background-size: cover;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 0 0 1px rgba(0, 0, 0, .04);
}
.contact-page-area .request-form-wrap .cf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.contact-page-area .request-form-wrap .cf-item .cf-flag {
    width: 22px;
    height: 22px;
}

/* group headings: GCC / All countries */
.ts-dropdown.cf-panel .optgroup-header {
    padding: 10px 14px 4px;
    background: transparent;
    color: var(--cf-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ts-dropdown.cf-panel .optgroup + .optgroup {
    margin-top: 6px;
    padding-top: 4px;
    border-top: 1px solid var(--cf-line);
}
.ts-dropdown.cf-panel .no-results {
    padding: 14px;
    color: var(--cf-muted);
}

/* ---- phone: flag + dial-code picker, list styled like the panels above ---- */
.contact-page-area .request-form-wrap .iti {
    display: block;
    width: 100%;
    margin-bottom: 30px;
}
.contact-page-area .request-form-wrap .iti .form-control {
    margin-bottom: 0;
}
.contact-page-area .request-form-wrap .iti--separate-dial-code .iti__selected-flag {
    background: transparent;
    border-radius: 24px 0 0 24px;
    padding-left: 18px;
}
.contact-page-area .request-form-wrap .iti__selected-dial-code {
    color: var(--cf-text);
}
.contact-page-area .request-form-wrap .iti__country-list {
    margin-top: 8px;
    padding: 8px;
    width: 320px;
    max-height: 320px;
    white-space: normal;
    border: 1px solid var(--cf-line);
    border-radius: 20px;
    box-shadow: var(--cf-shadow);
    scrollbar-width: thin;
    scrollbar-color: #c9cad6 transparent;
}
.contact-page-area .request-form-wrap .iti__country {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--cf-text);
}
.contact-page-area .request-form-wrap .iti__country.iti__highlight {
    background: var(--cf-hover);
}
.contact-page-area .request-form-wrap .iti__dial-code {
    margin-left: auto;
    padding-left: 10px;
    color: var(--cf-muted);
    font-size: 14px;
}
.contact-page-area .request-form-wrap .iti__divider {
    margin: 6px 0;
    border-bottom-color: var(--cf-line);
}

/* ---- message ---- */
.contact-page-area .request-form-wrap textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* "Please specify" box under Organisation type */
.contact-page-area .request-form-wrap #organization_type_other {
    margin-top: -18px;
}
.contact-page-area .request-form-wrap #organization_type_other[hidden] {
    display: none;
}

/* ---- status message under the button ---- */
.contact-page-area .request-form-wrap .cf-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 15px;
    line-height: 1.5;
}
.contact-page-area .request-form-wrap .cf-alert::before {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}
.contact-page-area .request-form-wrap .cf-alert--ok {
    background: #e9f7ef;
    color: #1c7c3c;
}
.contact-page-area .request-form-wrap .cf-alert--ok::before {
    content: "\2713";
    background: #1c7c3c;
}
.contact-page-area .request-form-wrap .cf-alert--error {
    background: #fdecec;
    color: #a12626;
}
.contact-page-area .request-form-wrap .cf-alert--error::before {
    content: "!";
    background: #a12626;
}
.contact-page-area .request-form-wrap .cf-alert--busy {
    background: #f1f2f6;
    color: var(--cf-text);
}

/* =====================================================================
   Layout & sizing (contact page only)
   ===================================================================== */

/* hero title: 80px on desktop is the theme default; keep it from
   dominating small screens */
@media (max-width: 767px) {
    .contact-hero .page-header-content .title { font-size: 44px; line-height: 1.1; }
}
@media (max-width: 575px) {
    .contact-hero .page-header-content .title { font-size: 38px; }
    .contact-hero .page-header-content .sub-title { font-size: 12px; line-height: 1.6; }
    .contact-hero .page-header-content .sub-title br { display: none; }
}

/* section already has pt-80; the theme adds another 70px on top */
.contact-section .contact-page-area.request-wrap { padding-top: 0; }

/* form heading: a section sub-heading, not a page title */
.contact-page-area .request-form-wrap .cf-heading {
    font-size: clamp(28px, 1.1rem + 1.5vw, 40px);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--tl-color-heading-primary);
    margin: 0 0 10px;
}
.contact-page-area .request-form-wrap .cf-intro {
    color: var(--tl-color-theme-primary);
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 32px;
}
.contact-page-area .request-form-wrap .form-group.row { margin-bottom: 0; }

/* contact details + photo column */
.contact-page-area .request-content .request-item-wrap .request-item span { margin-bottom: 8px; }
@media (max-width: 991px) {
    .contact-page-area .request-content { margin-bottom: 48px; }
    .contact-page-area .request-content .contact-img { display: none; }   /* decorative; pushes the form a screen down on phones */
    .contact-page-area .request-content .request-item-wrap { margin-bottom: 0; row-gap: 20px; }
}
@media (max-width: 575px) {
    .contact-page-area .request-content .request-item-wrap .request-item p,
    .contact-page-area .request-content .request-item-wrap .request-item a { font-size: 17px; word-break: break-word; }
    .contact-page-area .request-form-wrap .cf-intro { font-size: 15px; margin-bottom: 24px; }
}

/* ---- message box: grows with the text up to a cap, then scrolls ---- */
.contact-page-area .request-form-wrap .form-item textarea.form-control {
    display: block;
    resize: none;                          /* contact.js sizes it */
    min-height: 150px;
    max-height: 320px;
    overflow-y: auto;
    line-height: 1.6;
    padding: 16px 20px;
    border-radius: 20px;
    margin-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #c9cad6 transparent;
}
@media (max-width: 767px) {
    .contact-page-area .request-form-wrap .form-item textarea.form-control { max-height: 260px; }
}
.contact-page-area .request-form-wrap .cf-counter {
    text-align: right;
    font-size: 13px;
    color: var(--cf-muted);
    margin-bottom: 24px;
    font-variant-numeric: tabular-nums;
}
.contact-page-area .request-form-wrap .cf-counter.is-near { color: #c27c00; }
.contact-page-area .request-form-wrap .cf-counter.is-full { color: #a12626; }



/* full-width send button on phones */
@media (max-width: 575px) {
    .contact-page-area .request-form-wrap .submit-btn .tl-primary-btn { width: 100%; justify-content: center; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .contact-page-area .request-content .request-item-wrap { column-gap: 32px; }
}

/* ---- equal space above and below the divider between the form and the FAQ ---- */
.contact-section,
.contact-section ~ .faq-section { --cf-section-gap: 80px; }
@media (max-width: 991px) { .contact-section, .contact-section ~ .faq-section { --cf-section-gap: 64px; } }
@media (max-width: 575px) { .contact-section, .contact-section ~ .faq-section { --cf-section-gap: 48px; } }
.contact-section.pb-80 { padding-bottom: var(--cf-section-gap); }
.contact-section ~ .faq-section.pt-130 { padding-top: var(--cf-section-gap); }
/* the status line under the button takes no room until it has something to say */
#form-messages:empty { display: none; }
.contact-section ~ .faq-section.pb-130 { padding-bottom: var(--cf-section-gap); }
.contact-section ~ .faq-section .faq-content-2 { margin-bottom: 0; }   /* theme adds 40px below 992px, on top of the section padding */

/* =====================================================================
   PHONES (≤767px): form as one card, tighter rhythm, the phone's own
   pickers, a country sheet. Tablet and desktop are untouched.
   ===================================================================== */
.cf-info-icon { display: none; }
select.cf-native { display: block; width: 100%; }

@media (max-width: 767px) {
    .contact-page-area .request-form-wrap {
        --cf-field-bg: #f4f5fa;
        --cf-field-h: 52px;
        --cf-radius: 16px;
        --cf-gap: 18px;
        --cf-placeholder: #6b6b72;          /* 4.9:1 on the field tint */
    }

    /* -- office / email: one compact card, both rows tappable -- */
    .contact-page-area .request-content { margin-bottom: 40px; }
    .contact-page-area .request-content .request-item-wrap {
        flex-direction: column;
        row-gap: 0;
        background: #fff;
        border-radius: 20px;
        padding: 4px 18px;
        box-shadow: 0 1px 2px rgba(21, 23, 116, .04), 0 8px 24px rgba(21, 23, 116, .05);
    }
    .contact-page-area .request-content .request-item-wrap .request-item {
        position: relative;
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 14px;
        align-items: center;
        padding: 14px 0;
    }
    .contact-page-area .request-content .request-item-wrap .request-item + .request-item { border-top: 1px solid #ececf2; }
    .contact-page-area .request-content .cf-info-icon {
        display: grid;
        place-items: center;
        grid-row: 1 / span 2;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: #fff4e0;
        color: var(--tl-color-theme-primary);
        font-size: 17px;
    }
    .contact-page-area .request-content .request-item-wrap .request-item span {
        margin: 0;
        font-size: 13px;
        line-height: 1.3;
        color: #6b6b72;
    }
    .contact-page-area .request-content .request-item-wrap .request-item p,
    .contact-page-area .request-content .request-item-wrap .request-item a {
        margin: 2px 0 0;
        font-size: 16px;
        line-height: 1.35;
    }
    /* the whole email row is the tap target */
    .contact-page-area .request-content .request-item-wrap .request-item a::after {
        content: "";
        position: absolute;
        inset: 0;
    }

    /* -- heading + intro sit above the card -- */
    .contact-page-area .request-form-wrap .cf-heading { margin-bottom: 8px; }
    .contact-page-area .request-form-wrap .cf-intro { font-size: 15px; margin-bottom: 20px; }

    /* -- the form card -- */
    .contact-page-area .request-form-wrap #ajax_contact {
        background: #fff;
        border-radius: 24px;
        padding: 22px 18px 20px;
        box-shadow: 0 1px 2px rgba(21, 23, 116, .04), 0 12px 32px rgba(21, 23, 116, .06);
    }
    .contact-page-area .request-form-wrap .form-group.row { --bs-gutter-x: 0; margin: 0; }
    .contact-page-area .request-form-wrap .form-group.row > [class*="col-"] { padding: 0; }

    .contact-page-area .request-form-wrap .form-item .form-title {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    /* every field: same height, tint, radius and spacing */
    .contact-page-area .request-form-wrap .form-item .form-control,
    .contact-page-area .request-form-wrap select.cf-native,
    .contact-page-area .request-form-wrap .ts-wrapper .ts-control {
        background: var(--cf-field-bg);
        border: 1px solid transparent;
        border-radius: var(--cf-radius);
        min-height: var(--cf-field-h);
        padding: 13px 16px;
        font-size: 16px;                    /* 16px stops iOS zooming on focus */
        line-height: 1.5;
        color: var(--cf-text);
        box-shadow: none;
        transition: border-color .2s, background-color .2s, box-shadow .2s;
    }
    .contact-page-area .request-form-wrap .form-item .form-control,
    .contact-page-area .request-form-wrap select.cf-native { margin-bottom: var(--cf-gap); }
    .contact-page-area .request-form-wrap .ts-wrapper,
    .contact-page-area .request-form-wrap .iti { margin-bottom: var(--cf-gap); }
    .contact-page-area .request-form-wrap .iti .form-control { margin-bottom: 0; }
    .contact-page-area .request-form-wrap .iti--separate-dial-code .iti__selected-flag {
        border-radius: var(--cf-radius) 0 0 var(--cf-radius);
        padding-left: 14px;
    }

    .contact-page-area .request-form-wrap .form-item .form-control::placeholder { color: var(--cf-placeholder); font-size: 15px; }
    .contact-page-area .request-form-wrap .ts-wrapper:not(.has-items) .ts-control::before { color: var(--cf-placeholder); font-size: 15px; }

    /* focus: field lifts to white with a navy edge */
    .contact-page-area .request-form-wrap .form-item .form-control:focus,
    .contact-page-area .request-form-wrap select.cf-native:focus,
    .contact-page-area .request-form-wrap .ts-wrapper.focus .ts-control,
    .contact-page-area .request-form-wrap .ts-wrapper.dropdown-active .ts-control {
        background: #fff;
        border-color: var(--tl-color-heading-primary);
        box-shadow: 0 0 0 3px rgba(21, 23, 116, .1);
        outline: none;
    }

    /* the phone's own picker for the three short lists */
    .contact-page-area .request-form-wrap select.cf-native {
        appearance: none;
        -webkit-appearance: none;
        padding-right: 44px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236b6b72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 18px center;
        text-overflow: ellipsis;
        cursor: pointer;
    }
    .contact-page-area .request-form-wrap select.cf-native:has(option[value=""]:checked) { color: var(--cf-placeholder); font-size: 15px; }
    .contact-page-area .request-form-wrap select.cf-native option { color: var(--cf-text); }

    .contact-page-area .request-form-wrap .ts-wrapper.single .ts-control:after { right: 20px; }
    .contact-page-area .request-form-wrap #organization_type_other { margin-top: calc(var(--cf-gap) * -0.5); }

    /* message */
    .contact-page-area .request-form-wrap .form-item textarea.form-control {
        min-height: 132px;
        padding: 13px 16px;
        border-radius: var(--cf-radius);
        margin-bottom: 6px;
    }
    .contact-page-area .request-form-wrap .cf-counter { font-size: 12px; margin-bottom: 18px; }

    /* robot check + button */
    .contact-page-area .request-form-wrap .cf-recaptcha { margin: 0 0 18px !important; }
    .contact-page-area .request-form-wrap .submit-btn .tl-primary-btn {
        width: 100%;
        justify-content: center;
        min-height: 56px;
        background: var(--tl-color-heading-primary);
        border-color: var(--tl-color-heading-primary);
        color: #fff;
    }
    .contact-page-area .request-form-wrap .cf-alert { margin-top: 16px; }
}

/* ---- country sheet (phones): the panel leaves the page and slides up from the bottom ---- */
.cf-scrim { display: none; }
@media (max-width: 767px) {
    .ts-dropdown.cf-panel.cf-sheet {
        position: fixed !important;
        inset: auto 0 0 0 !important;
        top: auto !important;
        left: 0 !important;
        width: 100% !important;
        min-width: 0;
        height: min(82dvh, 640px);
        margin: 0;
        padding: 0 12px max(12px, env(safe-area-inset-bottom));
        border: 0;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -12px 40px rgba(21, 23, 116, .18);
        display: flex;
        flex-direction: column;
        z-index: 10001;
        animation: cf-sheet-up .28s cubic-bezier(.16, 1, .3, 1);
    }
    @keyframes cf-sheet-up { from { transform: translateY(100%); } to { transform: none; } }

    .ts-dropdown.cf-panel.cf-sheet .cf-sheet-head {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 18px 44px 12px;
        flex: 0 0 auto;
    }
    .ts-dropdown.cf-panel.cf-sheet .cf-sheet-head::before {   /* grab handle */
        content: "";
        position: absolute;
        top: 7px;
        left: 50%;
        width: 36px;
        height: 4px;
        margin-left: -18px;
        border-radius: 4px;
        background: #dcdce4;
    }
    .ts-dropdown.cf-panel.cf-sheet .cf-sheet-title {
        font-family: var(--tl-ff-heading);
        font-size: 16px;
        font-weight: 500;
        color: var(--tl-color-heading-primary);
    }
    .ts-dropdown.cf-panel.cf-sheet .cf-sheet-close {
        position: absolute;
        right: 0;
        top: 50%;
        margin-top: -19px;
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: var(--cf-text);
        font-size: 20px;
    }
    .ts-dropdown.cf-panel.cf-sheet .cf-sheet-close:active { background: var(--cf-hover); }
    .ts-dropdown.cf-panel.cf-sheet .dropdown-input-wrap { flex: 0 0 auto; margin-bottom: 8px; }
    .ts-dropdown.cf-panel.cf-sheet .dropdown-input { font-size: 16px; padding: 12px 14px 12px 42px; }
    .ts-dropdown.cf-panel.cf-sheet .ts-dropdown-content {
        flex: 1 1 auto;
        max-height: none;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .ts-dropdown.cf-panel.cf-sheet .cf-option { min-height: 48px; padding: 10px 12px; font-size: 16px; }

    .cf-scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: rgba(12, 14, 60, .42);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, visibility 0s .25s;
    }
    .cf-sheet-open .cf-scrim { opacity: 1; visibility: visible; transition: opacity .25s; }
    .cf-sheet-open body { overflow: hidden; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .ts-dropdown.cf-panel.cf-sheet { animation: none; }
}

/* all touch screens: 16px in the country search so iOS doesn't zoom the page */
@media (pointer: coarse) {
    .ts-dropdown.cf-panel .dropdown-input { font-size: 16px; }
}
@media (max-width: 767px) {
    .contact-page-area .request-content .request-item-wrap { align-items: stretch; }
    .contact-page-area .request-form-wrap .ts-wrapper.single .ts-control:after,
    .contact-page-area .request-form-wrap .ts-wrapper.single.dropdown-active .ts-control:after {
        width: 8px; height: 8px; border-color: var(--cf-placeholder); border-width: 0 2px 2px 0; right: 22px;
    }
}

/* reCAPTCHA is a fixed 304×78 iframe: give it room inside the card on small phones */
@media (max-width: 389px) {
    .contact-page-area .request-form-wrap #ajax_contact { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 359px) {
    .contact-page-area .request-form-wrap .cf-recaptcha { transform: scale(.85); transform-origin: 0 0; height: 66px; }
}

/* main.css makes all selected text white with no highlight colour, which hides
   selected text in these white fields; use dark text on a light orange highlight */
.contact-page-area .request-form-wrap ::selection {
    color: var(--cf-text);
    background: rgba(255, 166, 21, .35);
}
.contact-page-area .request-form-wrap ::-moz-selection {
    color: var(--cf-text);
    background: rgba(255, 166, 21, .35);
}
