﻿/* Site Footer (ported from the old template) */
.site-footer {
    background-color: #141414;
    color: #888;
    padding: 30px 0 10px;
    border-top: 2px solid #d4af37;
    font-family: 'Source Sans Pro', sans-serif;
    clear: both;
}

.site-footer .footer-container {
    max-width: 66.5em;
    margin: 0 auto;
    padding: 0 2.6em;
    box-sizing: content-box;
}

.site-footer .footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 4.35%;
    align-items: start;
    padding-top: 1.24em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer .footer-widget-col {
    min-width: 0;
}

.site-footer .footer-widget-title {
    display: block;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 25px;
    padding: 0;
    border: 0;
}

.site-footer .footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .footer-menu li {
    list-style: none;
    margin: 0 0 1em;
    line-height: 1.4;
}

.site-footer a {
    display: inline-block;
    margin-bottom: 8px;
    color: #c5a059;
    font-size: 13px;
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #d4af37;
    transform: translateX(3px);
}

.site-footer .site-info {
    padding: 30px 0 20px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c5a059;
}

.site-footer .site-info p {
    margin: 0;
}

/* Sticky contact bar (mobile handheld replacement) and cookie consent */
.sticky-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    z-index: 9999;
}

.bottom-bar-nav {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.site-footer ~ .sticky-bottom-bar a,
.bottom-bar-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
}

.bottom-bar-nav svg {
    fill: #fff;
    width: 24px;
    height: 24px;
}

.bottom-bar-nav a:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: -2px;
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #222;
    color: #fff;
    padding: 15px;
    z-index: 9998;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.cookie-banner p {
    margin: 0;
}

.cookie-banner a {
    color: #d4af37;
    text-decoration: underline;
}

.cookie-banner button {
    background: #fff;
    color: #222;
    border: none;
    padding: 8px 18px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .sticky-bottom-bar {
        display: block;
    }

    body {
        padding-bottom: 64px;
    }

    .cookie-banner {
        bottom: 64px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px;
    }

    .site-footer .footer-container {
        padding: 0;
    }

    .site-footer .footer-widgets-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }

    .site-footer .footer-widget-col {
        width: 100%;
        text-align: left;
    }

    .site-footer a:hover,
    .site-footer a:focus {
        transform: none;
    }
}

/* Footer accordion (activated by footer.js) */
.site-footer .footer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    color: #fff;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-align: left;
    cursor: default;
}

.footer-widgets-grid.is-accordion .footer-widget-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.footer-widgets-grid.is-accordion .footer-widget-title {
    margin-bottom: 0;
}

.footer-widgets-grid.is-accordion .footer-toggle {
    cursor: pointer;
}

.footer-widgets-grid.is-accordion .footer-toggle::after {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    margin-left: 12px;
    border-right: 2px solid #c5a059;
    border-bottom: 2px solid #c5a059;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.footer-widgets-grid.is-accordion .footer-toggle[aria-expanded="true"]::after {
    transform: rotate(-135deg);
}

.footer-widgets-grid.is-accordion .footer-toggle:focus-visible {
    outline: 2px solid #c5a059;
    outline-offset: 4px;
}

.footer-widgets-grid.is-accordion .footer-menu {
    display: none;
    padding-top: 20px;
}

.footer-widgets-grid.is-accordion .footer-widget-col.is-open .footer-menu {
    display: block;
}
