#footer {
    background-color: var(--color-navy);
    background-image: url('../images/bg_accent.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    padding: 4rem 2rem;
    color: var(--color-white);
}

@media (min-width: 1024px) {
    #footer {
        background-position: top right;
    }
}

.footer__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* ── Main two-column layout ── */

.footer__main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .footer__main {
        flex-direction: row;
        align-items: center;
        gap: 8rem;
    }
}

/* ── Explore heading ── */

.footer__left h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 3.6px;
    text-transform: uppercase;
}

/* ── Nav ── */

#footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer-menu li {
    padding: 10px 0;
}

#footer-menu a {
    font-family: 'Domine', serif;
    color: var(--color-white);
    text-decoration: none;
}

.footer__ratings a {
    color: #fff;
    text-decoration: none;
}

/* ── Dividers ── */

.footer__divider {
    border: none;
    height: 1px;
    background: rgba(115, 140, 189, 0.50);
    margin: 1.5rem 0;
}

.footer__divider--mobile {
    display: block;
}

.footer__divider--desktop {
    display: none;
}

@media (min-width: 1024px) {
    .footer__divider--mobile {
        display: none;
    }

    .footer__divider--desktop {
        display: block;
    }
}

/* ── Social icons ── */

.footer__social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .footer__social {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

.footer__social-link {
    color: var(--color-white);
    transition: color 0.15s ease;
}

.footer__social-link:hover {
    color: var(--color-gold);
}

/* ── Contact (address, phone/fax) ── */

.footer__right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .footer__right {
        text-align: left;
    }
}

.footer__address,
.footer__contact-line {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

@media (min-width: 1024px) {
    .footer__address,
    .footer__contact-line {
        text-align: left;
    }

    .footer__address{ 
        margin-top: 60px;
        margin-bottom: 20px;

        p {
            margin: 0px;
        }
    }
}

.footer__contact-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .footer__contact-line {
        justify-content: flex-start;
    }
}

.footer__contact-sep {
    color: rgba(115, 140, 189, 0.75);
}

/* ── Disclaimer ── */

.footer__disclaimer {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

@media (min-width: 1024px) {
    .footer__disclaimer {
        text-align: left;
    }
}

/* ── Footer bottom bar: copyright + legal nav ── */

.footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

#copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer__legal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.footer__legal-list li + li::before {
    content: '|';
    color: rgba(255, 255, 255, 0.4);
    padding: 0 0.75rem;
}

@media (min-width: 768px) {
    .footer__legal-list {
        justify-content: flex-end;
    }
}

.footer__legal-list li a {
    font-size: 0.8rem;
    color: var(--color-white);
    text-decoration: underline;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.footer__legal-list li a:hover {
    opacity: 0.75;
}

@media (max-width: 767px) {
    .footer__left {
        text-align: center;
    }

    #copyright {
        text-align: center;
        font-size: 12px;
    }

    .footer__bottom {
        flex-direction: column-reverse;
    }

    .footer__main {
        gap: 0;
    }

    .footer__social {
        margin-bottom: 15px;
    }

    .footer__address p {
        margin-top: 0.15rem;
        margin-bottom: 0.15rem;
    }

    #footer {
        background-position: top;
    }
}

/* ── Footer ratings widget (third-party) overrides ── */
.cr-widget-stars {
    justify-content: start !important;
}

/* Mobile: center the widget */
@media (max-width: 767px) {
    .cr-widget-container {
        align-items: center !important;
    }
}

/* Desktop only: pull the widget flush left */
@media (min-width: 1024px) {
    .cr-widget-container,
    .cr-ratings__container {
        margin-left: 0px !important;
    }
}/* ── Network links: the other two sites, above the copyright row ── */
.footer__network {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer__network-link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.2s ease;
}

.footer__network-link:hover { opacity: 0.75; }

.footer__network-sep {
    color: rgba(255, 255, 255, 0.4);
    padding: 0 0.9rem;
}

@media (max-width: 767px) {
    .footer__network {
        justify-content: center;
        text-align: center;
    }
}
