/*
 * realwoodcabinetry.ca only (sites/realwoodcabinetry.ca-Parquetry/layout/header-js-css.jsp), on top of the Parquetry theme's stylesheets.
 * 2026-11-12 r1: the footer, the showroom and RTA guide pages, the style anchors of /kitchen-cabinets and the home slider's second title.
 * 2026-11-16 r2: the footer's grey text lighter (B10), the guide pages' opening quote smaller on a phone (B6).
 */

/* ---------- Top menu (r2 B4) ---------- */
/* With Showroom added, the English menu is about 14px too wide for the row between 992 and 1023px, and its two-word labels broke onto two
   lines. There only, every item's side padding is 13px instead of Bootstrap's px-3 16px (same for all items, so About Us and Showroom still
   match), and a label stays on one line. 1024px and up, and the Chinese menu, keep their spacing. */
@media (min-width: 992px) and (max-width: 1023.98px) {
    html[lang="en"] .rd-navbar-nav > .rd-nav-item > .rd-nav-link.px-3 {
        padding-left: 13px !important;
        padding-right: 13px !important;
        white-space: nowrap;
    }
}

/* ---------- Footer (B5, design/footer-*.png) ---------- */
.rw-footer .footer-variant-2-content {
    text-align: left;
}

.rw-footer .footer-brand img {
    max-width: 220px;
    height: auto;
}

.rw-footer .rw-footer-slogan {
    margin-top: 20px;
    max-width: 260px;
}

.rw-footer .rw-footer-title {
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .075em;
}

.rw-footer .rw-footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.rw-footer .rw-footer-links li + li {
    margin-top: 8px;
}

.rw-footer .rw-footer-links a {
    font-size: 14px;
    color: #ffffff;
}

.rw-footer .rw-footer-links a:hover {
    color: #efc4a3;
}

.rw-footer .rw-footer-hours {
    font-size: 14px;
}

/* r2 B10, design/footer-colors.png: the slogan, the hours and the bottom bar's text in solid grey instead of the theme's 30% white
   (.footer-variant-2.context-dark and its .rights, about 2.7:1 on #272727 / #202020); the bottom bar's links lighter still. The column
   titles, the column links, the phones, address and email keep their white. */
.rw-footer.context-dark .rw-footer-slogan,
.rw-footer.context-dark .rw-footer-hours,
.rw-footer.context-dark .rw-footer-bottom .rights {
    color: #bdbdbd;
}

.rw-footer.context-dark .rw-footer-bottom .rights a,
.rw-footer.context-dark .rw-footer-bottom .rights a:focus,
.rw-footer.context-dark .rw-footer-bottom .rights a:active {
    color: #d9d9d9;
}

.rw-footer.context-dark .rw-footer-bottom .rights a:hover {
    color: #c49a7a;
}

.rw-footer .footer-variant-2-bottom-panel {
    padding: 0 0 30px;
}

.rw-footer .rw-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 30px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.rw-footer .rw-footer-bottom .rights {
    margin: 0;
    font-size: 12px;
}

.rw-footer .rw-footer-bottom-links a + a {
    margin-left: 22px;
}

@media (max-width: 767.98px) {
    .rw-footer .rw-footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

/* ---------- /kitchen-cabinets style anchors (B12) ---------- */
/* An anchor link stops with the section's heading below the sticky navigation, whether the page scrolls itself (layout/footer.jsp) or
   the browser jumps to it */
section[id] {
    scroll-margin-top: 110px;
}

.rw-style-jumps a {
    white-space: nowrap;
}

/* ---------- Home slider (B4) ---------- */
/* The second slide's title is an h2 that looks like the first slide's h1 (heading-1 / heading1 classes); "h2 + h3" would add 9px */
.swiper-slider-modern h2.slider-modern-title + h3 {
    margin-top: 0;
}

/* ---------- Showroom and RTA guide pages (B14, B15) ---------- */
/* Left-aligned like the design; the theme centres a section's text below 768px and in places above */
.rw-page {
    text-align: left;
}

.rw-page .title-decoration-lines {
    text-align: center;
}

.rw-page .quote-classic {
    margin-bottom: 80px;
}

/* r2 B6, design/mobile-intro.png: below 768px the opening quote (several sentences here, one on the other pages) is 17px, not the theme's
   20px; the quote mark keeps its size. 768px and up, as before. */
@media (max-width: 767.98px) {
    .rw-page .quote-classic-text {
        font-size: 17px;
        line-height: 1.65;
    }
}

.rw-page .rw-subheading {
    margin-bottom: 12px;
}

.rw-page .rw-subheading:not(:first-child) {
    margin-top: 30px;
}

.rw-page .list-marked {
    margin-top: 10px;
}

.rw-page .rw-ol {
    padding-left: 20px;
    margin: 10px 0 0;
    list-style: decimal;
}

.rw-page .rw-ol li {
    display: list-item;
}

.rw-page .rw-ol li + li {
    margin-top: 10px;
}

.rw-page .rw-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.rw-page .rw-styles {
    margin-top: 30px;
}

.rw-page .rw-styles a {
    display: block;
    text-align: center;
}

.rw-page .rw-styles img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.rw-page .rw-styles span {
    display: block;
    margin-top: 10px;
    font-size: 13px;
}

.rw-page .rw-button-row {
    margin-top: 40px;
    text-align: center;
}
