.service-directory-page,
.service-detail-page {
    color: #171717;
    background: #fff;
}

.service-web-container,
.service-detail-container {
    max-width: 1240px;
}

.service-directory-hero {
    position: relative;
    overflow: hidden;
    padding: 94px 0 84px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 40%, rgba(242, 13, 22, .22), transparent 27%),
        linear-gradient(118deg, #080808, #1d1d1d 72%, #580005);
}

.service-directory-hero::after {
    position: absolute;
    right: -60px;
    bottom: -180px;
    width: 480px;
    height: 480px;
    border: 80px solid rgba(255, 255, 255, .025);
    border-radius: 50%;
    content: "";
}

.service-directory-hero .container {
    position: relative;
    z-index: 1;
}

.service-directory-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .58);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.service-directory-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.service-directory-breadcrumb a:hover {
    color: #fff;
}

.service-eyebrow,
.service-results-kicker,
.service-section-kicker {
    margin: 0 0 10px;
    color: var(--mx-red);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.service-directory-hero h1 {
    margin: 0;
    font-size: clamp(3.25rem, 8vw, 7.2rem);
    line-height: .84;
}

.service-directory-hero p:last-child {
    max-width: 720px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 1.08rem;
}

.service-search-band {
    padding: 30px 0;
    border-bottom: 1px solid #dedede;
    background: #f4f4f4;
}

.service-search-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.service-search-heading p {
    margin: 0 0 4px;
    color: #777;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-search-heading h2 {
    margin: 0;
    font-size: 1.8rem;
}

.service-search-heading > a {
    color: #b9080f;
    font-size: .85rem;
    font-weight: 800;
    text-underline-offset: 4px;
}

.service-search-controls {
    display: grid;
    grid-template-columns: minmax(210px, 1.35fr) minmax(135px, .78fr) repeat(3, minmax(125px, .72fr)) minmax(170px, auto) auto;
    align-items: end;
    gap: 14px;
}

.service-control label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-size: .71rem;
    font-weight: 900;
    text-transform: uppercase;
}

.service-control .form-control,
.service-control .form-select {
    min-height: 48px;
    border: 1px solid #d2d2d2;
    border-radius: 4px;
    box-shadow: none;
}

.service-control .form-control:focus,
.service-control .form-select:focus {
    border-color: var(--mx-red);
    box-shadow: 0 0 0 3px rgba(242, 13, 22, .1);
}

.service-location-button,
.service-search-submit {
    min-height: 48px;
}

.service-location-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    color: #252525;
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    background: #fff;
    font-size: .8rem;
    font-weight: 800;
    white-space: nowrap;
}

.service-location-button svg {
    width: 18px;
    height: 18px;
    fill: var(--mx-red);
}

.service-location-button.active {
    color: #fff;
    border-color: #171717;
    background: #171717;
}

.service-location-button:disabled {
    cursor: wait;
    opacity: .62;
}

.service-search-submit {
    min-width: 0;
    padding: 0 26px;
    border-radius: 4px;
}

.service-location-message {
    min-height: 0;
    margin: 10px 0 0;
    color: #8f080d;
    font-size: .78rem;
}

.service-location-message:empty {
    display: none;
}

.service-results-section {
    padding: 58px 0 96px;
}

.service-results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.service-results-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.service-results-heading > span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 13px;
    color: #fff;
    border-radius: 999px;
    background: var(--mx-red);
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.service-results-heading > span strong {
    font-size: 1rem;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.service-web-card {
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 38px rgba(0, 0, 0, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-web-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 21px 50px rgba(0, 0, 0, .11);
}

.service-web-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #171717;
}

.service-web-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.service-web-card:hover .service-web-card-media > img {
    transform: scale(1.035);
}

.service-card-placeholder {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, transparent 40%, rgba(242, 13, 22, .2)),
        url("../assets/home/hero-motocross.jpg") center / cover;
    opacity: .65;
}

.service-category-pill {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 6px 11px;
    color: #fff;
    border-radius: 999px;
    background: var(--service-accent, var(--mx-red));
    box-shadow: 0 5px 14px rgba(0, 0, 0, .19);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}

.service-web-card-media .service-category-pill {
    position: absolute;
    top: 14px;
    left: 14px;
}

.service-web-card-content {
    padding: 20px;
}

.service-web-card-identity {
    display: flex;
    align-items: center;
    gap: 13px;
}

.service-card-logo {
    display: grid;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    place-items: center;
    overflow: hidden;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #191919;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.service-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-logo b {
    font-size: 1.35rem;
}

.service-web-card-identity > div {
    min-width: 0;
    flex: 1;
}

.service-web-card h3 {
    margin: 0;
    overflow: hidden;
    font-size: 1.3rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.service-web-card h3 a {
    color: inherit;
    text-decoration: none;
}

.service-web-card-identity p {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 7px 0 0;
    color: #747474;
    font-size: .75rem;
}

.service-web-card-identity p strong {
    color: var(--service-accent, var(--mx-red));
}

.service-card-description {
    min-height: 42px;
    margin: 18px 0 0;
    color: #5d5d5d;
    font-size: .88rem;
    line-height: 1.5;
}

.service-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 15px;
    color: #171717;
    border-top: 1px solid #ececec;
    font-size: .77rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.service-card-link span {
    color: var(--service-accent, var(--mx-red));
    font-size: 1.25rem;
}

.service-pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 45px;
}

.service-pagination a {
    display: grid;
    width: 40px;
    height: 40px;
    color: #222;
    border: 1px solid #d2d2d2;
    border-radius: 50%;
    place-items: center;
    font-weight: 800;
    text-decoration: none;
}

.service-pagination a.active {
    color: #fff;
    border-color: var(--mx-red);
    background: var(--mx-red);
}

.service-pagination a.disabled {
    pointer-events: none;
    opacity: .3;
}

.service-empty-results {
    padding: 70px 25px;
    border: 1px solid #e1e1e1;
    border-radius: 18px;
    background: #f7f7f7;
    text-align: center;
}

.service-empty-results > span {
    display: block;
    color: var(--mx-red);
    font-size: 3rem;
}

.service-empty-results h2 {
    margin: 10px 0;
}

.service-empty-results p {
    margin: 0 0 22px;
    color: #666;
}

.service-empty-opportunity {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    overflow: hidden;
    color: #fff;
    border-color: rgba(255, 255, 255, .1);
    background:
        radial-gradient(circle at 50% 0, rgba(255, 0, 0, .18), transparent 48%),
        #171717;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .16);
}

.service-empty-results .service-empty-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    background: var(--mx-red);
    place-items: center;
}

.service-empty-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.service-empty-results .service-empty-eyebrow {
    margin: 0 0 7px;
    color: var(--mx-red);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.service-empty-opportunity h2 {
    max-width: 560px;
    margin: 0 auto 12px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.service-empty-opportunity > p:not(.service-empty-eyebrow) {
    max-width: 570px;
    margin: 0 auto 25px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.6;
}

.service-empty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 22px;
}

.service-empty-secondary {
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.service-seo-navigation {
    margin-top: 72px;
    padding: clamp(28px, 5vw, 48px);
    color: #fff;
    border-radius: 22px;
    background:
        radial-gradient(circle at 95% 0, rgba(242, 13, 22, .18), transparent 34%),
        linear-gradient(135deg, #111, #202020);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .12);
}

.service-seo-copy {
    max-width: 720px;
}

.service-seo-copy h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.service-seo-copy > p:last-child {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .68);
    line-height: 1.6;
}

.service-seo-link-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
    margin-top: 34px;
}

.service-seo-link-groups h3,
.service-seo-combinations h3 {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .72);
    font-size: .77rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.service-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.service-seo-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 13px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease;
}

.service-seo-links a:hover {
    color: #fff;
    border-color: rgba(242, 13, 22, .75);
    background: rgba(242, 13, 22, .16);
}

.service-seo-combinations {
    margin-top: 32px;
    padding-top: 27px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* Service detail */
.service-detail-hero {
    position: relative;
    min-height: 475px;
    overflow: hidden;
    color: #fff;
    background: #111;
}

.service-detail-hero-image,
.service-detail-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.service-detail-hero-image {
    object-fit: cover;
}

.service-detail-hero-shade {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .91), rgba(0, 0, 0, .62) 56%, rgba(0, 0, 0, .34)),
        linear-gradient(0deg, rgba(0, 0, 0, .46), transparent 55%);
}

.service-detail-hero .container {
    position: relative;
    z-index: 1;
    padding-top: 48px;
    padding-bottom: 70px;
}

.service-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 65px;
    color: rgba(255, 255, 255, .58);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.service-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.service-breadcrumb a:hover {
    color: #fff;
}

.service-detail-identity {
    display: flex;
    align-items: center;
    gap: 28px;
}

.service-detail-logo {
    display: grid;
    flex: 0 0 144px;
    width: 144px;
    height: 144px;
    overflow: hidden;
    color: #fff;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #121212;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .36);
    place-items: center;
}

.service-detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-logo b {
    font-size: 3rem;
}

.service-detail-identity h1 {
    max-width: 880px;
    margin: 13px 0 9px;
    font-size: clamp(2.7rem, 6vw, 5.8rem);
    line-height: .86;
}

.service-detail-identity p {
    margin: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 1rem;
}

.service-detail-content {
    padding: 0 0 100px;
}

.service-action-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 50px;
}

.service-action-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 10px 16px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 14px;
    background: #252525;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .03em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease;
}

.service-action-grid a:hover {
    color: #fff;
    background: var(--service-accent, var(--mx-red));
    transform: translateY(-2px);
}

.service-action-grid svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.service-unavailable-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 42px auto 0;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid #dedede;
    border-radius: 22px;
    background: #f4f4f4;
    box-shadow: 0 16px 45px rgba(0, 0, 0, .08);
}

.service-unavailable-icon {
    display: grid;
    width: 64px;
    height: 64px;
    color: #fff;
    border-radius: 50%;
    background: #2a2a2a;
    place-items: center;
}

.service-unavailable-icon svg {
    width: 31px;
    height: 31px;
    fill: currentColor;
}

.service-unavailable-card h2 {
    max-width: 700px;
    margin: 7px 0 12px;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.02;
}

.service-unavailable-card > div > p:not(.service-section-kicker) {
    max-width: 690px;
    margin: 0 0 24px;
    color: #565656;
    line-height: 1.65;
}

.service-unavailable-card .btn {
    min-width: 220px;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(310px, .8fr);
    align-items: start;
    gap: 50px;
}

.service-detail-main,
.service-detail-sidebar {
    display: grid;
    gap: 26px;
}

.service-plain-section,
.service-gallery-section {
    padding: 8px 0 18px;
}

.service-plain-section h2,
.service-gallery-section h2,
.service-info-card h2 {
    margin: 0;
    font-size: 1.65rem;
}

.service-description {
    margin-top: 21px;
    color: #454545;
    font-size: 1rem;
    line-height: 1.72;
}

.service-section-heading,
.service-card-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.service-section-heading > span {
    display: grid;
    width: 38px;
    height: 38px;
    color: #fff;
    border-radius: 50%;
    background: var(--service-accent, var(--mx-red));
    font-size: .8rem;
    font-weight: 900;
    place-items: center;
}

.service-web-gallery {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(210px, 1fr);
    grid-auto-rows: 205px;
    gap: 12px;
    margin-top: 22px;
}

.service-gallery-item {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    cursor: zoom-in;
    border: 0;
    border-radius: 15px;
    background: #171717;
    appearance: none;
}

.service-gallery-item.service-gallery-featured {
    grid-row: span 2;
}

.service-gallery-item.service-gallery-only {
    grid-column: 1 / -1;
}

.service-gallery-item.service-gallery-secondary-full {
    grid-row: span 2;
}

.service-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .3s ease, transform .35s ease;
}

.service-gallery-item:hover img,
.service-gallery-item:focus-visible img {
    filter: brightness(.82);
    transform: scale(1.025);
}

.service-gallery-item:focus-visible {
    outline: 3px solid var(--service-accent, var(--mx-red));
    outline-offset: 3px;
}

.service-gallery-zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    width: 38px;
    height: 38px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    background: rgba(0, 0, 0, .68);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .24);
    opacity: 0;
    place-items: center;
    transform: translateY(5px);
    transition: opacity .2s ease, transform .2s ease;
}

.service-gallery-zoom svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.service-gallery-item:hover .service-gallery-zoom,
.service-gallery-item:focus-visible .service-gallery-zoom {
    opacity: 1;
    transform: translateY(0);
}

body.service-lightbox-open {
    overflow: hidden;
}

.service-lightbox[hidden] {
    display: none;
}

.service-lightbox {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    padding: 58px 92px 46px;
    color: #fff;
    background: rgba(0, 0, 0, .96);
    backdrop-filter: blur(8px);
    place-items: center;
}

.service-lightbox figure {
    display: grid;
    width: 100%;
    height: 100%;
    margin: 0;
    place-items: center;
}

.service-lightbox figure img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 130px);
    border-radius: 10px;
    box-shadow: 0 18px 70px rgba(0, 0, 0, .55);
    object-fit: contain;
}

.service-lightbox figcaption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    min-width: 66px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(32, 32, 32, .82);
    font-size: .76rem;
    font-weight: 800;
    text-align: center;
    transform: translateX(-50%);
}

.service-lightbox-close,
.service-lightbox-nav {
    position: absolute;
    z-index: 2;
    display: grid;
    padding: 0;
    color: #fff;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(40, 40, 40, .82);
    line-height: 1;
    appearance: none;
    place-items: center;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.service-lightbox-nav[hidden] {
    display: none;
}

.service-lightbox-close:hover,
.service-lightbox-nav:hover {
    border-color: var(--service-accent, var(--mx-red));
    background: var(--service-accent, var(--mx-red));
}

.service-lightbox-close:focus-visible,
.service-lightbox-nav:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.service-lightbox-close {
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    font-weight: 300;
}

.service-lightbox-nav {
    top: 50%;
    width: 50px;
    height: 50px;
    font-size: 2.4rem;
    transform: translateY(-50%);
}

.service-lightbox-nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.service-lightbox-prev {
    left: 23px;
}

.service-lightbox-next {
    right: 23px;
}

.service-info-card {
    padding: 24px;
    border: 1px solid #dedede;
    border-radius: 18px;
    background: #f4f4f4;
}

.service-info-card > h2,
.service-card-title h2 {
    font-size: 1.25rem;
}

.service-hours-card {
    color: #fff;
    border-color: transparent;
    background: #2bb590;
}

.service-hours-card.closed {
    background: #f86264;
}

.service-card-title > span {
    color: rgba(255, 255, 255, .7);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.service-today-status {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 17px;
}

.service-today-status i {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ff3131;
    box-shadow: 0 0 0 5px rgba(255, 49, 49, .14);
}

.service-today-status.open i {
    background: #0dff00;
    box-shadow: 0 0 0 5px rgba(13, 255, 0, .14);
}

.service-today-status div {
    display: flex;
    flex-direction: column;
}

.service-today-status strong {
    font-size: .92rem;
}

.service-today-status span {
    margin-top: 2px;
    color: rgba(255, 255, 255, .78);
    font-size: .75rem;
}

.service-hours-details {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .17);
}

.service-hours-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: .71rem;
    font-weight: 900;
    list-style: none;
    text-transform: uppercase;
}

.service-hours-details summary::-webkit-details-marker {
    display: none;
}

.service-hours-details summary span {
    font-size: 1rem;
    transition: transform .2s ease;
}

.service-hours-details[open] summary span {
    transform: rotate(180deg);
}

.service-hours-details > div {
    margin-top: 15px;
    padding: 13px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .15);
}

.service-hours-details p {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 0;
    padding: 6px 0;
    color: rgba(255, 255, 255, .7);
    font-size: .76rem;
}

.service-hours-details p strong {
    color: #fff;
    text-align: right;
}

.service-hours-details h3 {
    margin: 14px 0 4px;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .15);
    font-size: .72rem;
}

.service-hours-details small {
    display: block;
    margin: -2px 0 5px;
    color: rgba(255, 255, 255, .68);
}

.service-schedule-note {
    margin-top: 12px;
    padding: 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    font-size: .75rem;
}

.service-contact-list {
    display: grid;
    gap: 16px;
    margin: 20px 0 0;
}

.service-contact-list div {
    display: grid;
    gap: 4px;
}

.service-contact-list dt {
    color: #777;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.service-contact-list dd {
    margin: 0;
    color: #292929;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.45;
}

.service-contact-list a {
    color: inherit;
    overflow-wrap: anywhere;
    text-underline-offset: 3px;
}

.service-feature-list,
.service-link-list {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.service-feature-list > div,
.service-link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 13px;
    color: #3d3d3d;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    background: #fff;
    font-size: .79rem;
    text-decoration: none;
}

.service-feature-list b,
.service-link-list b {
    color: var(--service-accent, var(--mx-red));
    font-size: 1rem;
}

.service-feature-list strong {
    text-align: right;
}

.service-feature-list > .service-feature-item.is-multiple {
    align-items: stretch;
    flex-direction: column;
}

.service-feature-item.is-multiple > span {
    color: #5a5a5a;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.service-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.service-feature-tags small {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid color-mix(in srgb, var(--service-accent, var(--mx-red)) 24%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--service-accent, var(--mx-red)) 9%, white);
    color: #333;
    font-size: .72rem;
    font-weight: 750;
}

.service-link-list a:hover {
    border-color: var(--service-accent, var(--mx-red));
}

@media (max-width: 991.98px) {
    .service-search-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-detail-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .service-directory-hero {
        padding: 76px 0 62px;
    }

    .service-directory-hero h1 {
        font-size: clamp(2.7rem, 16vw, 4.6rem);
    }

    .service-search-controls,
    .service-card-grid,
    .service-detail-sidebar {
        grid-template-columns: 1fr;
    }

    .service-location-button,
    .service-search-submit {
        width: 100%;
    }

    .service-results-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-seo-link-groups {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .service-detail-hero {
        min-height: 440px;
    }

    .service-detail-hero .container {
        padding-top: 32px;
        padding-bottom: 60px;
    }

    .service-breadcrumb {
        margin-bottom: 42px;
    }

    .service-detail-identity {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .service-detail-logo {
        flex-basis: 108px;
        width: 108px;
        height: 108px;
    }

    .service-detail-identity h1 {
        font-size: clamp(2.5rem, 13vw, 4.4rem);
    }

    .service-action-grid {
        margin-top: 22px;
        margin-bottom: 34px;
    }

    .service-unavailable-card {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 28px;
        border-radius: 18px;
    }

    .service-unavailable-icon {
        width: 54px;
        height: 54px;
    }

    .service-detail-layout {
        gap: 25px;
    }

    .service-web-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 150px;
    }

    .service-gallery-item.service-gallery-featured {
        grid-column: span 2;
        grid-row: span 2;
    }

    .service-gallery-item.service-gallery-only {
        grid-column: 1 / -1;
    }

    .service-gallery-item.service-gallery-secondary-full {
        grid-column: span 2;
        grid-row: auto;
    }

    .service-lightbox {
        padding: 62px 14px 52px;
    }

    .service-lightbox figure img {
        max-height: calc(100vh - 118px);
        border-radius: 7px;
    }

    .service-lightbox-close {
        top: 12px;
        right: 14px;
    }

    .service-lightbox-nav {
        top: auto;
        bottom: 10px;
        width: 42px;
        height: 42px;
        transform: none;
    }

    .service-lightbox-nav:hover {
        transform: scale(1.04);
    }

    .service-lightbox-prev {
        left: 14px;
    }

    .service-lightbox-next {
        right: 14px;
    }
}

@media (max-width: 430px) {
    .service-action-grid {
        gap: 8px;
    }

    .service-action-grid a {
        min-height: 54px;
        padding: 8px 10px;
        font-size: .72rem;
    }

    .service-action-grid svg {
        width: 19px;
        height: 19px;
    }

    .service-gallery-zoom {
        width: 34px;
        height: 34px;
        opacity: 1;
        transform: none;
    }
}
