/* #151 location styles – Figma "04 Location" (6117:682).
 * Everything is scoped to body.ss-location-151, which tpl-location.php adds only when the page's
 * "Use 2026 redesign (#151)" switch is on, so other location pages keep their current look. */

/* Why Choose: check-mark bullets in two columns with a divider (Figma 6117:805) */
.ss-location-151 .ss-list-grid ul {
    margin-bottom: 0;
}

.ss-location-151 .ss-imgContent__item .ss-list-grid {
    margin-bottom: 28px;
}

.ss-location-151 .ss-list-grid ul li {
    position: relative;
    margin-bottom: 0;
    padding-left: 48px;
    line-height: 1.357;
}

.ss-location-151 .ss-list-grid ul li:before {
    content: '';
    display: block;
    position: absolute;
    top: 1px;
    left: 16px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M15 4.5 6.75 12.75 3 9' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 18px 18px;
}

.ss-location-151 .ss-list-grid ul li:nth-child(odd):after {
    height: 100%;
}

@media (min-width: 1310px) {
    /* Figma: 295px first column, divider, 24px gap, check 18px + 14px gap before the text */
    .ss-location-151 .ss-imgContent__item .ss-list-grid {
        padding-left: 0;
        padding-right: 0;
    }

    .ss-location-151 .ss-list-grid ul {
        margin-left: 0;
        margin-right: 0;
    }

    .ss-location-151 .ss-list-grid ul li:nth-child(odd) {
        width: 295px;
        padding-left: 32px;
        padding-right: 16px;
    }

    .ss-location-151 .ss-list-grid ul li:nth-child(odd):before {
        left: 0;
    }

    .ss-location-151 .ss-list-grid ul li:nth-child(even) {
        width: calc(100% - 295px);
        padding-left: 56px;
        padding-right: 0;
    }

    .ss-location-151 .ss-list-grid ul li:nth-child(even):before {
        left: 24px;
    }
}

/* Service Areas: centred rows of 311px cards, 3 per row on desktop (Figma 6117:928) */
.ss-location-151 .ss-serviceArea__list {
    justify-content: center;
}

@media (min-width: 1200px) {
    .ss-location-151 .ss-serviceArea__list {
        max-width: 969px; /* 3 x (311px card + 12px gutter) */
        margin-left: auto;
        margin-right: auto;
    }

    .ss-location-151 .ss-serviceArea__list li {
        width: 33.333%;
    }
}

/* FAQ: accessible accordion (button + aria-expanded), "–" / "+" marker (Figma 6117:1008) */
.ss-location-151 .ss-faq151 {
    max-width: 1022px;
    margin: 0 auto;
}

.ss-location-151 .ss-faqSection .ssAccordionBody[hidden] {
    display: none;
}

.ss-location-151 .ss-faqSection .ssAccordion-item {
    border-color: rgba(13, 57, 66, 0.3);
}

.ss-location-151 .ss-faqSection .ssAccordion-item:not(:last-child) {
    margin-bottom: 16px;
}

.ss-location-151 .ssAccordion-heading {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    text-transform: none;
}

.ss-location-151 .ssAccordion-heading .ssAccordionBtn {
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #000000;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    text-align: left;
    text-transform: none;
    white-space: normal;
    padding: 18px 48px 18px 16px;
}

.ss-location-151 .ssAccordion-heading .ssAccordionBtn:hover {
    background: transparent;
    color: #CC0F20;
}

.ss-location-151 .ssAccordion-heading .ssAccordionBtn:focus-visible {
    outline: 2px solid #CC0F20;
    outline-offset: -2px;
}

.ss-location-151 .ssAccordion-heading .ssAccordionBtn:after,
.ss-location-151 .ssAccordion-heading .ssAccordionBtn.active:after {
    content: '+';
    top: 16px;
    right: 16px;
    transform: none;
    font-family: inherit;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    color: #000000;
}

.ss-location-151 .ssAccordion-heading .ssAccordionBtn.active:after {
    content: '\2013';
}

.ss-location-151 .ss-faqSection .ssAccordionBody {
    padding: 0 16px 18px;
    color: rgba(17, 17, 17, 0.75);
    line-height: 1.625;
}

.ss-location-151 .ss-faqSection .ssAccordionBody a {
    color: #CC0F20;
}

@media (min-width: 992px) {
    .ss-location-151 .ssAccordion-heading .ssAccordionBtn {
        font-size: 20px;
        padding: 26px 64px 26px 28px;
    }

    .ss-location-151 .ssAccordion-heading .ssAccordionBtn.active {
        padding-bottom: 12px;
    }

    .ss-location-151 .ssAccordion-heading .ssAccordionBtn:after,
    .ss-location-151 .ssAccordion-heading .ssAccordionBtn.active:after {
        top: 26px;
        right: 28px;
    }

    .ss-location-151 .ss-faqSection .ssAccordionBody {
        padding: 0 28px 26px;
    }
}

/* Inline links in copy (Figma: brand red, underlined) */
.ss-location-151 .ss-imgContent__item p a,
.ss-location-151 .tabPane__item p a {
    color: #CC0F20;
    text-decoration: underline;
}

/* Intro: image fills the full height of the copy column on desktop (Figma 600x727, 6117:702) */
@media (min-width: 992px) {
    .ss-location-151 .ss-imgContent:not(.has-lightGray-bg) .ss-imgContent__inner {
        align-items: stretch;
    }

    .ss-location-151 .ss-imgContent:not(.has-lightGray-bg) .ss-imgItem > picture,
    .ss-location-151 .ss-imgContent:not(.has-lightGray-bg) .ss-imgItem img {
        height: 100%;
    }

    .ss-location-151 .ss-imgContent:not(.has-lightGray-bg) .ss-imgItem img {
        width: 100%;
        object-fit: cover;
    }
}
