/* Elevate locations hub — scoped under #elevate-locations so the WordPress
   theme keeps its header/footer and this widget keeps its own look. */
#elevate-locations {
    --el-brand: #C81A20;
    --el-brand-hi: #EF3B36;
    --el-grad: linear-gradient(135deg, var(--el-brand), var(--el-brand-hi));
    --el-on-brand: #fff;
    --el-ink: #1A1A1A;
    --el-heading: #111;
    --el-muted: #5F6A72;
    --el-line: #e5e7eb;
    --el-bg: #f6f7f9;
    --el-card: #fff;
    --el-soft: #f0f1f3;
    --el-ladies: #c45aa0;
    --el-ladies-bg: rgba(196, 90, 160, .12);
    --el-display: "Anton", "Teko", "Impact", "Haettenschweiler", "Arial Narrow", sans-serif;
    --el-radius: 16px;
    --el-shadow: 0 10px 30px rgba(26, 26, 26, .1);
    container-name: el;
    container-type: inline-size;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    color: var(--el-ink);
    color-scheme: light;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.55;
    text-align: start;
    overflow-x: clip;
}
#elevate-locations :where(:not(svg, svg *)),
#elevate-locations :where(:not(svg, svg *))::before,
#elevate-locations :where(:not(svg, svg *))::after { all: revert; }
#elevate-locations *,
#elevate-locations *::before,
#elevate-locations *::after { box-sizing: border-box; }
#elevate-locations [hidden] { display: none !important; }

#elevate-locations[data-theme]:empty {
    padding: 0;
    background: none;
}

#elevate-locations.el-framed {
    background: var(--el-bg);
    padding: 20px;
    border-radius: 18px;
}
#elevate-locations.el-flush { overflow-x: visible; }

#elevate-locations .el-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#elevate-locations .el-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}
#elevate-locations .el-eyebrow {
    display: inline-block;
    color: var(--el-brand-hi);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
#elevate-locations .el-intro h2 {
    font-family: var(--el-display);
    font-weight: 400;
    font-size: clamp(28px, 5vw, 40px);
    letter-spacing: .5px;
    text-transform: uppercase;
    line-height: 1.08;
    color: var(--el-heading);
    margin: 0;
}
#elevate-locations .el-intro p {
    color: var(--el-muted);
    margin: 12px 0 0;
    font-size: 15px;
}
#elevate-locations .el-rule {
    width: 54px;
    height: 4px;
    background: var(--el-brand-hi);
    border-radius: 2px;
    margin: 14px auto 0;
}

#elevate-locations .el-jumps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 0 0 36px;
}
#elevate-locations .el-jump {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--el-line);
    background: transparent;
    color: var(--el-brand-hi);
    text-decoration: none;
    cursor: pointer;
    transition: border-color .15s, color .15s, transform .15s;
}
#elevate-locations .el-jump:hover {
    border-color: var(--el-brand-hi);
    color: var(--el-brand-hi);
    transform: translateY(-1px);
}
#elevate-locations .el-jump.el-jump-ladies {
    color: var(--el-brand-hi);
}
#elevate-locations .el-jump.el-jump-ladies:hover {
    border-color: var(--el-ladies);
    color: #e07cc6;
}

#elevate-locations .el-sec {
    margin: 0 0 44px;
    scroll-margin-top: 96px;
}
#elevate-locations .el-sec-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 24px;
}
#elevate-locations .el-sec-head h3 {
    font-family: var(--el-display);
    font-weight: 400;
    font-size: clamp(22px, 3.5vw, 30px);
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--el-heading);
    margin: 0;
}
#elevate-locations .el-sec-head p,
#elevate-locations .el-sec-head span {
    display: block;
    color: var(--el-muted);
    margin: 8px 0 0;
    font-size: 14px;
}
/* Same left accent bar as /nearby-gym/ .ghead */
#elevate-locations .el-sec-head-bar {
    text-align: start;
    max-width: none;
    margin: 0 0 22px;
    padding-inline-start: 14px;
    border-inline-start: 3px solid var(--el-brand-hi);
}
#elevate-locations .el-sec-head-ladies {
    border-inline-start-color: var(--el-ladies);
}

#elevate-locations .el-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
#elevate-locations .el-grid.el-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
#elevate-locations .el-grid.el-grid-1 {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
}

#elevate-locations .el-card {
    display: flex;
    flex-direction: column;
    background: var(--el-card);
    border: 1px solid var(--el-line);
    border-radius: var(--el-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    min-width: 0;
}
#elevate-locations .el-card:hover {
    border-color: var(--el-brand-hi);
    transform: translateY(-3px);
    box-shadow: var(--el-shadow);
}
#elevate-locations .el-card.el-ladies:hover {
    border-color: var(--el-ladies);
}
#elevate-locations .el-card-hit {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

#elevate-locations .el-card-top {
    height: 120px;
    background: linear-gradient(135deg, #2a2421, #15120f);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#elevate-locations .el-ladies .el-card-top {
    background: linear-gradient(135deg, #2a2130, #1a1420);
}
#elevate-locations .el-soon .el-card-top {
    background: linear-gradient(135deg, #23344a, #16202e);
}
/* Photo tops — match /nearby-gym/ .lcard .top.photo */
#elevate-locations .el-card-photo {
    height: 172px;
    padding: 0;
    overflow: hidden;
}
#elevate-locations .el-card-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(.92);
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), filter .35s;
}
#elevate-locations .el-card:hover .el-card-photo img {
    transform: scale(1.04);
    filter: brightness(1);
}
#elevate-locations .el-card-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 45%);
    pointer-events: none;
}
#elevate-locations .el-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(239, 59, 54, .9);
    color: #fff;
    pointer-events: none;
}
#elevate-locations[dir="rtl"] .el-card-tag {
    left: auto;
    right: 12px;
}
#elevate-locations .el-ladies .el-card-tag {
    background: rgba(214, 93, 177, .9);
}
#elevate-locations .el-soon .el-card-tag {
    background: rgba(54, 120, 180, .95);
}
#elevate-locations .el-card-mark {
    font-size: 34px;
    line-height: 1;
    color: #4a4540;
}
#elevate-locations .el-maps-pin {
    font-size: 14px;
    line-height: 1;
}
#elevate-locations .el-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
#elevate-locations .el-card-body h4 {
    font-family: var(--el-display);
    font-weight: 400;
    font-size: 19px;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--el-heading);
    margin: 0;
    line-height: 1.15;
}
#elevate-locations .el-card-body p {
    color: var(--el-muted);
    font-size: 13px;
    margin: 6px 0 0;
    line-height: 1.45;
}
#elevate-locations .el-maps-note {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--el-muted);
    font-weight: 600;
}
#elevate-locations .el-go {
    margin-top: auto;
    padding-top: 14px;
    color: var(--el-brand-hi);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
#elevate-locations .el-ladies .el-go { color: #e07cc6; }
#elevate-locations .el-soon .el-go { color: #6eb4e8; }
#elevate-locations .el-maps {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 18px 16px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(239, 59, 54, .1);
    border: 1px solid rgba(239, 59, 54, .28);
    color: var(--el-brand-hi);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-decoration: none;
    align-self: flex-start;
}
#elevate-locations .el-maps:hover {
    background: rgba(239, 59, 54, .16);
}
#elevate-locations .el-ladies .el-maps {
    color: #e07cc6;
    background: rgba(214, 93, 177, .12);
    border-color: rgba(214, 93, 177, .28);
}

#elevate-locations .el-coaches {
    text-align: center;
    background: var(--el-soft);
    border: 1px solid var(--el-line);
    border-radius: 18px;
    padding: 36px 24px;
    margin: 8px 0 20px;
}
#elevate-locations .el-coaches h3 {
    font-family: var(--el-display);
    font-weight: 400;
    font-size: clamp(22px, 3.5vw, 30px);
    letter-spacing: .4px;
    text-transform: uppercase;
    color: var(--el-heading);
    margin: 0;
}
#elevate-locations .el-coaches p {
    color: var(--el-muted);
    margin: 10px auto 20px;
    max-width: 480px;
    font-size: 15px;
}
#elevate-locations .el-btn-dark {
    background: var(--el-heading);
    color: #fff;
}
#elevate-locations .el-btn-dark:hover {
    filter: brightness(1.08);
}

#elevate-locations .el-final {
    text-align: center;
    background: var(--el-grad);
    border-radius: 18px;
    padding: 40px 24px;
    margin-top: 8px;
}
#elevate-locations .el-final h3 {
    font-family: var(--el-display);
    font-weight: 400;
    font-size: clamp(24px, 4vw, 34px);
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}
#elevate-locations .el-final p {
    color: #ffe7dc;
    margin: 12px auto 22px;
    max-width: 480px;
    font-size: 15px;
}
#elevate-locations .el-btn {
    display: inline-block;
    background: #181513;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .4px;
    padding: 14px 28px;
    border-radius: 40px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform .15s;
}
#elevate-locations .el-btn:hover { transform: translateY(-2px); }
#elevate-locations .el-more {
    text-align: center;
    margin: 20px 0 0;
}
#elevate-locations .el-more a {
    color: var(--el-brand-hi, #EF3B36);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}
#elevate-locations .el-more a:hover { text-decoration: underline; }
#elevate-locations.el-home .el-sec { margin-bottom: 0; }

#elevate-locations .el-noscript {
    margin: 0;
    padding-left: 1.2em;
}
#elevate-locations .el-noscript li { margin: 4px 0; }

/* Dark theme (new website design / dark Elementor band) */
#elevate-locations[data-theme="dark"] {
    --el-ink: #e7e9ec;
    --el-heading: #fff;
    --el-muted: #9aa0aa;
    --el-line: #39322f;
    --el-bg: #181513;
    --el-card: #272220;
    --el-soft: #201c1a;
    --el-shadow: 0 12px 36px rgba(0, 0, 0, .35);
    color-scheme: dark;
}
#elevate-locations[data-theme="dark"].el-flush {
    background: transparent;
}
#elevate-locations[data-theme="dark"] .el-card-top {
    background: linear-gradient(135deg, #2a2421, #15120f);
}
#elevate-locations[data-theme="dark"] .el-ladies .el-card-top {
    background: linear-gradient(135deg, #2a2130, #1a1420);
}
#elevate-locations[data-theme="dark"] .el-jump {
    background: #0e0c0b;
}

@container el (max-width: 900px) {
    #elevate-locations .el-grid,
    #elevate-locations .el-grid.el-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@container el (max-width: 520px) {
    #elevate-locations .el-grid,
    #elevate-locations .el-grid.el-grid-3 {
        grid-template-columns: 1fr;
    }
    #elevate-locations .el-intro {
        margin: 0 auto 14px;
    }
    #elevate-locations .el-intro-lead p {
        margin: 0;
        font-size: 14px;
        color: var(--el-muted);
    }
    #elevate-locations .el-intro p {
        font-size: 14px;
        margin-top: 8px;
    }
    #elevate-locations .el-jumps {
        position: sticky;
        top: 0;
        z-index: 6;
        gap: 8px;
        margin: 0 0 18px;
        padding: 8px 0;
        background: color-mix(in srgb, var(--el-bg, #f6f7f9) 92%, transparent);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    #elevate-locations .el-jump {
        flex: 1 1 calc(50% - 4px);
        min-height: 44px;
        justify-content: center;
        padding: 10px 12px;
        font-size: 11px;
        letter-spacing: .3px;
    }
    #elevate-locations .el-sec {
        margin: 0 0 28px;
        scroll-margin-top: 64px;
    }
    #elevate-locations .el-sec-head {
        margin-bottom: 14px;
    }
    #elevate-locations .el-card-top {
        height: 52px;
    }
    #elevate-locations .el-card-mark {
        font-size: 22px;
        opacity: .45;
    }
    #elevate-locations .el-card-body {
        padding: 14px;
    }
    #elevate-locations .el-maps {
        width: calc(100% - 36px);
        min-height: 44px;
        justify-content: center;
        padding: 12px 14px;
        box-sizing: border-box;
    }
    #elevate-locations .el-maps-note {
        font-size: 11px;
    }
    #elevate-locations .el-coaches,
    #elevate-locations .el-final {
        padding: 28px 18px;
    }
    #elevate-locations .el-btn {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 24px;
    }
}

/* Locations hub page — same dark band as /nearby-gym/ */
body.elevate-locations-page.elevate-design-shell {
    background: #181513 !important;
    color: #e7e9ec;
}
body.elevate-locations-page.elevate-design-shell .elevate-locations-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 24px 64px;
}
body.elevate-locations-page #primary {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.elevate-locations-page #content > .ast-container {
    max-width: 1180px;
    padding-left: 24px !important;
    padding-right: 24px !important;
}
body.elevate-locations-page .ast-above-header-wrap {
    display: none !important;
}
body.elevate-locations-page #ht-ctc-chat,
body.elevate-locations-page .ht-ctc,
body.elevate-locations-page .cmplz-manage-consent,
body.elevate-locations-page .cmplz-manage-consent-floating {
    display: none !important;
}
body.elevate-locations-page .site-content .ast-article-single,
body.elevate-locations-page .ast-separate-container .ast-article-single {
    padding-top: 8px !important;
    padding-bottom: 24px !important;
    background: transparent !important;
}
@media (max-width: 480px) {
    body.elevate-locations-page.elevate-design-shell .elevate-locations-main {
        padding: 18px 14px 48px;
    }
    body.elevate-locations-page #content > .ast-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}
