.s800nm-directory {
    clear: both;
    width: 100%;
    padding: 38px 0;
    color: #172033;
    background: #f7f8fb;
    border-top: 1px solid #e3e7ee;
    border-bottom: 1px solid #e3e7ee;
    overflow: hidden;
}

.s800nm-directory[hidden],
.s800nm-listing[hidden],
.s800nm-more-wrap[hidden] {
    display: none !important;
}

.s800nm-directory *,
.s800nm-standalone * {
    box-sizing: border-box;
}

.s800nm-directory .s800-shell,
.s800nm-standalone > .s800-shell {
    width: min(1180px, calc(100% - 32px));
    margin-right: auto;
    margin-left: auto;
}

.s800nm-directory__head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 18px;
}

.s800nm-directory__kicker {
    color: #6f2dbd;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
}

.s800nm-directory__head h2 {
    margin: 5px 0 4px;
    color: #172033;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.08;
}

.s800nm-directory__head p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.s800nm-directory__count {
    min-width: 92px;
    padding: 9px 12px;
    color: #475569;
    background: #fff;
    border: 1px solid #d9dee8;
    border-radius: 9px;
    text-align: center;
}

.s800nm-directory__count strong,
.s800nm-directory__count span {
    display: block;
}

.s800nm-directory__count strong {
    color: #172033;
    font-size: 19px;
    line-height: 1;
}

.s800nm-directory__count span {
    margin-top: 4px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.s800nm-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.s800nm-listing {
    min-width: 0;
    background: #fff;
    border: 1px solid #d9dee8;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
    overflow: hidden;
}

.s800nm-listing__content {
    min-width: 0;
    padding: 14px;
}

.s800nm-listing__primary {
    display: block;
    margin: -14px -14px 0;
    padding: 14px;
    color: inherit !important;
    border-radius: 9px 9px 0 0;
    text-decoration: none !important;
    transition: background-color .18s ease, box-shadow .18s ease;
}

.s800nm-listing__primary:hover,
.s800nm-listing__primary:focus-visible {
    background: #faf7ff;
    box-shadow: inset 0 0 0 2px #8b3fe8;
    outline: 0;
}

.s800nm-listing__view {
    display: block;
    margin-top: 5px;
    color: #6f2dbd;
    font-size: 10px;
    font-weight: 900;
}

.s800nm-listing h3 {
    margin: 0 0 7px;
    color: #172033;
    font-size: 16px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.s800nm-listing__address,
.s800nm-listing__phone {
    margin: 0 0 5px;
    color: #475569;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.s800nm-listing__phone {
    color: #172033;
    font-weight: 800;
}

.s800nm-listing__phone a,
.s800nm-listing__phone a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
    pointer-events: none;
}

.s800nm-listing__category {
    display: inline-block;
    max-width: 100%;
    margin: 3px 0 7px;
    padding: 3px 7px;
    color: #5b247f;
    background: #f4eefe;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.s800nm-listing__about {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e7eaf0;
}

.s800nm-listing__about summary {
    width: max-content;
    max-width: 100%;
    color: #6f2dbd;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.s800nm-listing__about p {
    margin: 8px 0;
    color: #64748b;
    font-size: 10px;
    line-height: 1.45;
}

.s800nm-listing__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
}

.s800nm-listing__actions a {
    color: #334155 !important;
    font-size: 10px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.s800nm-more-wrap {
    padding-top: 20px;
    text-align: center;
}

.s800nm-more {
    min-height: 42px;
    padding: 0 18px;
    color: #fff;
    background: #172033;
    border: 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.s800-more[hidden] {
    display: none !important;
}

.s800nm-booking-only {
    min-height: 50px;
    margin-left: 10px;
    padding: 0 22px;
    color: #fff;
    background: #2b1111;
    border: 2px solid #2b1111;
    border-radius: 0;
    box-shadow: 0 8px 18px rgba(43, 17, 17, .18);
    font-weight: 800;
    cursor: pointer;
}

.s800nm-booking-only[aria-pressed="true"] {
    color: #2b1111;
    background: #fff;
}

.s800nm-attribution {
    padding: 14px 0;
    color: #64748b;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}

.s800nm-attribution p {
    margin: 0;
    font-size: 10px;
    line-height: 1.55;
}

.s800nm-attribution a {
    color: #5b247f;
    font-weight: 800;
}

.s800nm-standalone {
    padding: 28px 0 0;
    color: #172033;
    font-family: Arial, sans-serif;
}

.s800nm-search {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr auto;
    gap: 10px;
    margin-bottom: 22px;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid #dbe1ea;
    border-radius: 12px;
}

.s800nm-search label span {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.s800nm-search input,
.s800nm-search select {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid #94a3b8;
    border-radius: 8px;
}

.s800nm-search button {
    align-self: end;
    min-height: 42px;
    padding: 0 16px;
    color: #fff;
    background: #172033;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .s800nm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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

@media (max-width: 560px) {
    .s800nm-directory { padding: 28px 0; }
    .s800nm-directory__head { align-items: flex-start; flex-direction: column; gap: 12px; }
    .s800nm-directory__count { display: flex; align-items: center; gap: 7px; width: auto; }
    .s800nm-directory__count span { margin-top: 0; }
    .s800nm-grid,
    .s800nm-search { grid-template-columns: 1fr; }
    .s800nm-booking-only { display:block; width:100%; margin:10px 0 0; }
}
