/* Modern Association Isolated Footer Architecture */
:root {
    --rg-footer-bg: #fbfbfb;
    --rg-text-main: #2b354e;
    --rg-text-muted: #6c7a9c;
    --rg-brand-green: #2fa73f;
    --rg-border-color: #e9ecf2;
    --rg-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.rg-site-footer {
    background-color: var(--rg-footer-bg);
    color: var(--rg-text-main);
    font-family: var(--rg-font-stack);
    padding: 70px 24px 30px 24px;
    border-top: 1px solid var(--rg-border-color);
    box-sizing: border-box;
    line-height: 1.6;
}

.rg-site-footer * {
    box-sizing: border-box !important;
}

.rg-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Explicit CSS Grid Layout */
.rg-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
}

/* Typography Rules */
.rg-brand-tagline {
    color: var(--rg-brand-green);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 15px 0;
}

.rg-brand-text {
    color: var(--rg-text-muted);
    font-size: 0.95rem;
    max-width: 320px;
    margin: 0;
}

.rg-col-title {
    color: var(--rg-text-main);
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 24px;
    position: relative;
}

/* List Style Sanitization */
.rg-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rg-footer-links li {
    margin-bottom: 12px;
}

.rg-footer-links a {
    color: var(--rg-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.rg-footer-links a:hover {
    color: var(--rg-text-main);
    transform: translateX(3px);
}

/* Highlighted Call To Actions */
.rg-links-cta .rg-link-highlight {
    color: var(--rg-brand-green);
    font-weight: 600;
}

.rg-links-cta .rg-link-highlight:hover {
    color: #238030;
}

/* Address & Metadata Column */
.rg-footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--rg-text-muted);
}

.rg-org-name {
    color: var(--rg-text-main);
    font-weight: 600;
}

.rg-bank-details {
    background: #f3f5f8;
    padding: 12px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rg-meta-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.rg-iban {
    font-family: monospace;
    font-size: 0.95rem;
    color: var(--rg-text-main);
    font-weight: bold;
}

.rg-bank-name {
    font-size: 0.8rem;
}

.rg-contact-link {
    color: var(--rg-text-main);
    text-decoration: none;
    font-weight: 500;
}

.rg-contact-link.rg-email {
    color: var(--rg-brand-green);
}

/* Bottom Bar Utilities */
.rg-footer-divider {
    border: 0;
    border-top: 1px solid var(--rg-border-color);
    margin: 50px 0 25px 0;
}

.rg-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.rg-copyright {
    color: var(--rg-text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.rg-social-icons {
    display: flex;
    gap: 12px;
}

.rg-social-icon {
    width: 36px;
    height: 36px;
    background-color: #cad5e2;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.rg-social-icon:hover {
    background-color: var(--rg-brand-green);
    transform: translateY(-2px);
}

/* Clean Responsive Breakpoints */
@media (max-width: 992px) {
    .rg-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .rg-site-footer {
        padding: 50px 16px 20px 16px;
    }
    .rg-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .rg-footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}