.emapta-loc {
    --emapta-loc-title: #ffffff;
    --emapta-loc-text: #ffffff;
    --emapta-loc-link: rgba(255, 255, 255, 0.9);
    --emapta-loc-accent: #ffffff;
    --emapta-loc-divider: rgba(255, 255, 255, 0.14);
    --emapta-loc-divider-w: 1px;
    --emapta-loc-row-divider: rgba(250, 250, 250, 0.3);
    --emapta-loc-row-divider-w: 1px;
    --emapta-loc-head-from: rgba(255, 255, 255, 0.13);
    --emapta-loc-head-to: rgba(255, 255, 255, 0.03);
    --emapta-loc-radius: 10px;
    width: 100%;
    color: var(--emapta-loc-text);
    font-family: 'Lexend Deca', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    border-bottom: var(--emapta-loc-divider-w) solid var(--emapta-loc-divider);
}

.emapta-loc,
.emapta-loc * {
    box-sizing: border-box;
}

.emapta-loc__item {
    border-top: var(--emapta-loc-divider-w) solid var(--emapta-loc-divider);
}

.emapta-loc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 6px;
    cursor: pointer;
    list-style: none;
}

.emapta-loc__head::-webkit-details-marker {
    display: none;
}

.emapta-loc__head:focus-visible {
    outline: 2px solid var(--emapta-loc-accent);
    outline-offset: 2px;
}

.emapta-loc__title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--emapta-loc-title);
}

.emapta-loc__chev {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    opacity: 0.75;
}

.emapta-loc__item[open] .emapta-loc__chev {
    transform: rotate(-135deg);
}

.emapta-loc__panel {
    padding: 0 0 30px;
    overflow-x: auto;
}

.emapta-loc__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

/* Kill the theme's global table/th/td borders, then add only the design row rule */
.emapta-loc__table,
.emapta-loc__table thead,
.emapta-loc__table tbody,
.emapta-loc__table tr,
.emapta-loc__table th,
.emapta-loc__table td {
    border: 0 !important;
}

.emapta-loc__table tbody td {
    border-bottom: var(--emapta-loc-row-divider-w) solid var(--emapta-loc-row-divider) !important;
}

.emapta-loc__table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.emapta-loc__table thead th {
    text-align: left;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 17px 22px;
    background-image: linear-gradient(180deg, var(--emapta-loc-head-from) 0%, var(--emapta-loc-head-to) 100%);
}

.emapta-loc__table thead th:first-child {
    border-top-left-radius: var(--emapta-loc-radius);
}

.emapta-loc__table thead th:last-child {
    border-top-right-radius: var(--emapta-loc-radius);
}

.emapta-loc__table tbody td {
    padding: 18px 22px;
    vertical-align: top;
    line-height: 1.5;
    font-size: 16px;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.emapta-loc__col-site {
    width: 18%;
}

.emapta-loc__col-addr {
    width: 60%;
}

.emapta-loc__col-contact {
    width: 22%;
}

.emapta-loc__site {
    font-weight: 600;
    color: #fff;
    white-space: normal;
    overflow-wrap: anywhere;
}

.emapta-loc__addr a,
.emapta-loc__contact a {
    color: var(--emapta-loc-link);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.emapta-loc__addr a:hover,
.emapta-loc__contact a:hover {
    color: #fff;
}

.emapta-loc__contact a {
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 781px) {
    .emapta-loc__head {
        padding: 18px 4px;
    }

    .emapta-loc__title {
        font-size: 18px;
    }

    .emapta-loc__panel {
        padding: 0 0 22px;
        overflow-x: visible;
    }

    .emapta-loc__table,
    .emapta-loc__table tbody,
    .emapta-loc__table tr,
    .emapta-loc__table td {
        display: block;
        width: 100%;
    }

    .emapta-loc__table thead {
        display: none;
    }

    .emapta-loc__table tr {
        padding: 14px 4px;
        border-bottom: var(--emapta-loc-row-divider-w) solid var(--emapta-loc-row-divider);
    }

    .emapta-loc__table tbody tr:last-child {
        border-bottom: 0;
    }

    .emapta-loc__table td {
        padding: 3px 4px;
        border: 0 !important;
        white-space: normal;
    }

    .emapta-loc__site {
        white-space: normal;
        font-size: 17px;
        margin-bottom: 2px;
    }

    .emapta-loc__table td::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        opacity: 0.55;
        margin-bottom: 2px;
    }

    .emapta-loc__site::before {
        display: none;
    }

    .emapta-loc__table td:empty {
        display: none;
    }
}
