/* Compact location links in the existing white and gold theme. */
.related-pages { padding: 44px 0 40px; background: #fff; border-top: 3px solid #ffae00; }
.related-pages__layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 48px; align-items: stretch; }
.related-pages__company, .related-pages__locations { min-width: 0; }
/* The company column sets the desktop height, independently of the link count. */
.related-pages__locations { position: relative; display: flex; flex-direction: column; contain: size; min-height: 0; }
.related-pages__logo { display: block; width: 100%; max-width: 285px; margin-bottom: 15px; }
.related-pages__logo img { display: block; width: 100%; height: auto; }
.related-pages__company-description { margin: 0 0 22px; color: #666; font-size: 14px; line-height: 1.6; }
.related-pages__contact { margin: 0; font-style: normal; }
.related-pages__contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; color: #444; font-size: 14px; line-height: 1.65; }
.related-pages__contact-row:last-child { margin-bottom: 0; }
.related-pages__contact-icon { flex: 0 0 20px; margin-top: 4px; color: #ffae00; }
.related-pages__contact-row div { min-width: 0; overflow-wrap: anywhere; }
.related-pages__contact-label { display: block; margin-bottom: 2px; color: #292827; font-weight: 700; }
.related-pages__contact a { color: #444; text-decoration: none; }
.related-pages__contact a:hover { color: #a57500; text-decoration: underline; }
.related-pages h2 { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; color: #292827; font-size: 22px; font-weight: 700; line-height: 1.4; }
.related-pages h2::after { content: ""; flex: 0 0 60px; height: 3px; background: #ffae00; }
.related-pages__viewport { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; padding: 12px 16px; border: 1px solid #ddd; border-radius: 4px; background: #fff; scrollbar-width: thin; scrollbar-color: #ffae00 #eee; }
.related-pages__viewport::-webkit-scrollbar { width: 8px; }
.related-pages__viewport::-webkit-scrollbar-track { background: #eee; }
.related-pages__viewport::-webkit-scrollbar-thumb { background: #ffae00; border-radius: 4px; }
.related-pages__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-items: start; column-gap: 24px; row-gap: 4px; margin: 0; padding: 0; list-style: none; }
.related-pages__list li { min-width: 0; margin: 0; padding: 0; list-style: none; }
.related-pages__link { position: relative; display: block; padding: 6px 0 6px 16px; color: #000; font-size: 14px; font-weight: 700; line-height: 22px; overflow-wrap: anywhere; text-decoration: none; }
.related-pages__link::before { content: ""; position: absolute; top: 14px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #000; }
.related-pages__link:hover { color: #a57500; text-decoration: underline; }
.related-pages__link:focus-visible, .related-pages__viewport:focus-visible { outline: 2px solid #d99d00; outline-offset: 2px; }
.related-pages__company a:focus-visible { outline: 2px solid #d99d00; outline-offset: 3px; }
.related-pages + .footer .footer-top { display: none; }
.related-pages + .footer .foter-bottom { padding: 18px 0; border-top: 1px solid #e5e5e5; }
.related-pages + .footer p.footer-grid { color: #666; font-size: 14px; }
/* Keep the catalogue shortcut below the aligned columns on city pages. */
.related-pages__locations > .city-product__all-locations { position: absolute; top: 100%; left: 0; width: 100%; margin: 16px 0 0; }
.related-pages__layout:has(.city-product__all-locations) { margin-bottom: 60px; }
@media (max-width: 991px) { .related-pages__layout { grid-template-columns: 260px minmax(0, 1fr); gap: 30px; } }
@media (max-width: 767px) { .related-pages__layout { grid-template-columns: minmax(0, 1fr); gap: 30px; } .related-pages__company { max-width: 420px; } .related-pages__locations { contain: none; } .related-pages__viewport { flex: none; max-height: 320px; } .related-pages__locations > .city-product__all-locations { position: static; } .related-pages__layout:has(.city-product__all-locations) { margin-bottom: 0; } }
@media (max-width: 600px) { .related-pages { padding: 24px 0; } .related-pages h2 { gap: 12px; font-size: 19px; } .related-pages h2::after { flex-basis: 35px; } .related-pages__viewport { padding: 10px 12px; } .related-pages__list { column-gap: 16px; } }
