/* Barista Hire footer theme */
:root {
    --barista-footer-bg: #51341F;
    --barista-footer-bg-dark: #51341F;
    --barista-footer-orange: #B77211;
    --barista-footer-text: #ffffff;
    --barista-footer-muted: #c9a86c;
    --barista-footer-link: #ffffff;
    --barista-footer-cta-bg: #B77211;
    --barista-footer-cta-bg-end: #9a5f0e;
}

.barista-footer .barista-footer-cta {
    background: linear-gradient(90deg, var(--barista-footer-cta-bg) 0%, var(--barista-footer-cta-bg-end) 100%);
    padding: 56px 0;
    text-align: center;
}

.barista-footer .barista-footer-cta-inner {
    max-width: 44rem;
    margin: 0 auto;
}

.barista-footer .barista-footer-cta-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.barista-footer .barista-footer-cta-text {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
}

.barista-footer .barista-footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.8rem 1.4rem;
    border: 1.5px solid #fff;
    border-radius: 10px;
    background: transparent;
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.barista-footer .barista-footer-cta-btn:hover,
.barista-footer .barista-footer-cta-btn:focus {
    background: #fff;
    color: var(--barista-footer-cta-bg) !important;
}

.barista-footer.rt-site-footer,
.barista-footer .footer-top,
.barista-footer .footer-bottom {
    background: var(--barista-footer-bg) !important;
    color: var(--barista-footer-text);
}

.barista-footer .footer-top {
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.barista-footer .footer-bottom {
    padding: 20px 0;
    box-shadow: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.barista-footer .footer-logo img {
    max-width: 220px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.barista-footer .footer-brand-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.7;
    max-width: 320px;
    margin: 0;
}

.barista-footer .rt-single-widget .footer-title {
    color: var(--barista-footer-text) !important;
    font-size: 16px !important;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 18px;
    position: relative;
    padding-top: 12px;
    white-space: nowrap;
}

.barista-footer .rt-single-widget .footer-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 3px;
    background: var(--barista-footer-orange);
    border-radius: 2px;
}

.barista-footer .rt-usefulllinks2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.barista-footer .rt-usefulllinks2 li {
    margin-bottom: 12px;
}

.barista-footer .rt-usefulllinks2 li a {
    color: var(--barista-footer-link) !important;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.barista-footer .rt-usefulllinks2 li a::before {
    content: '>';
    color: var(--barista-footer-text);
    font-size: 14px;
    line-height: 1;
}

.barista-footer .rt-usefulllinks2 li a:hover {
    color: var(--barista-footer-orange) !important;
}

.barista-footer .footer-copyright-text {
    color: var(--barista-footer-muted);
    font-size: 14px;
    margin: 0;
}

.barista-footer .footer-copyright-text a {
    color: var(--barista-footer-muted);
    text-decoration: none;
}

.barista-footer .footer-copyright-text a:hover {
    color: var(--barista-footer-orange);
}

.barista-footer .footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    flex-wrap: wrap;
}

.barista-footer .footer-legal-links a {
    color: var(--barista-footer-text) !important;
    font-size: 14px;
    text-decoration: none;
}

.barista-footer .footer-legal-links a:hover {
    color: var(--barista-footer-orange) !important;
}

.barista-footer .footer-social-links {
    display: none;
}

.barista-footer address {
    margin: 0;
}

@media (max-width: 991.98px) {
    .barista-footer .barista-footer-cta {
        padding: 40px 0;
    }

    .barista-footer .barista-footer-cta-inner {
        max-width: 36rem;
        padding: 0 4px;
    }

    .barista-footer .barista-footer-cta-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .barista-footer .barista-footer-cta-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .barista-footer .footer-top {
        padding: 40px 0 24px;
    }

    .barista-footer .footer-top > .container > .row {
        --bs-gutter-y: 8px;
    }

    .barista-footer .rt-single-widget {
        margin-bottom: 28px;
    }

    .barista-footer .footer-logo img {
        max-width: 180px;
        margin-bottom: 14px;
    }

    .barista-footer .footer-brand-text {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.65;
    }

    .barista-footer .rt-single-widget .footer-title {
        font-size: 15px !important;
        margin-bottom: 14px;
        padding-top: 10px;
    }

    .barista-footer .rt-single-widget .footer-title::before {
        width: 36px;
    }

    .barista-footer .rt-usefulllinks2 li {
        margin-bottom: 10px;
    }

    .barista-footer .rt-usefulllinks2 li a {
        font-size: 14px;
        padding: 2px 0;
    }

    .barista-footer .footer-bottom {
        padding: 18px 0 22px;
    }

    .barista-footer .footer-bottom .row {
        text-align: center;
    }

    .barista-footer .footer-bottom .text-lg-end,
    .barista-footer .footer-bottom .text-lg-start {
        text-align: center !important;
    }

    .barista-footer .footer-copyright-text {
        font-size: 13px;
        line-height: 1.55;
        padding: 0 8px;
    }

    .barista-footer .footer-legal-links {
        justify-content: center;
        gap: 20px;
        margin-top: 4px;
    }
}

@media (max-width: 767.98px) {
    .barista-footer .barista-footer-cta {
        padding: 32px 0;
    }

    .barista-footer .barista-footer-cta-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .barista-footer .barista-footer-cta-text {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .barista-footer .barista-footer-cta-btn {
        width: 100%;
        max-width: 320px;
        padding: 0.85rem 1.2rem;
    }

    .barista-footer .footer-top {
        padding: 32px 0 12px;
    }

    .barista-footer .rt-single-widget {
        margin-bottom: 24px;
    }

    /* Link columns: clearer 2-up grid on phones */
    .barista-footer .footer-top .col-sm-6.rt-single-widget {
        margin-bottom: 22px;
    }

    .barista-footer .footer-logo img {
        max-width: 150px;
    }

    .barista-footer .footer-legal-links {
        gap: 16px 24px;
    }
}

@media (max-width: 575.98px) {
    .barista-footer .barista-footer-cta {
        padding: 28px 12px;
    }

    .barista-footer .barista-footer-cta-inner {
        padding: 0;
    }

    .barista-footer .barista-footer-cta-title {
        font-size: 22px;
    }

    .barista-footer .barista-footer-cta-btn {
        max-width: none;
        font-size: 0.9rem;
    }

    .barista-footer .footer-top {
        padding: 28px 0 8px;
    }

    .barista-footer .footer-top > .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Stack link columns full-width for easier tap targets */
    .barista-footer .footer-top .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .barista-footer .rt-single-widget {
        margin-bottom: 20px;
    }

    .barista-footer .rt-single-widget .footer-title {
        margin-bottom: 12px;
        font-size: 15px !important;
    }

    .barista-footer .rt-usefulllinks2 li a {
        min-height: 36px;
        align-items: center;
    }

    .barista-footer .footer-bottom > .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .barista-footer .footer-copyright-text {
        font-size: 12px;
        padding: 0;
    }

    .barista-footer .footer-legal-links {
        flex-direction: column;
        gap: 10px;
        margin-top: 8px;
    }

    .barista-footer .footer-legal-links a {
        font-size: 13px;
        padding: 4px 0;
    }
}
