/* ============================================================
   WATAG SIDEBAR — FINAL OVERRIDE
   Loaded LAST. Forces spacing between every sidebar widget.
   Do not edit — regenerate with fix_sidebar_final.py
   ============================================================ */

/* Every direct child of the sidebar column gets a real gap */
aside.col-lg-3 > *,
aside > div {
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
}

/* Last item — no trailing gap */
aside.col-lg-3 > *:last-child,
aside > div:last-child {
    margin-bottom: 0 !important;
}

/* Base widget card */
.watag-sidebar-widget {
    background: #fff !important;
    border: 1px solid #E6EDE8 !important;
    border-radius: 10px !important;
    padding: 1.5rem 1.4rem 1.75rem !important;
    margin-bottom: 2rem !important;
}

/* Widget heading */
.watag-widget-title {
    font-family: "Saira", sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #0E2E22 !important;
    margin: 0 0 1rem !important;
    padding-bottom: .7rem !important;
    border-bottom: 2px solid #1A4A38 !important;
    display: flex !important;
    align-items: center !important;
    gap: .5rem !important;
}

.watag-widget-title i {
    color: #1A4A38 !important;
}

/* Nav list inside the widget */
.wlib-sidebar-nav {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.wlib-sidebar-nav a {
    display: block !important;
    padding: .5rem .7rem !important;
    border-radius: 6px !important;
    color: #2E3A33 !important;
    text-decoration: none !important;
    font-size: .85rem !important;
    border-bottom: 1px solid #f1f4f4 !important;
    transition: .15s !important;
}

.wlib-sidebar-nav a:hover {
    background: #E6EDE8 !important;
    color: #1A4A38 !important;
}

.wlib-sidebar-nav a.active {
    background: #E6EDE8 !important;
    color: #1A4A38 !important;
    font-weight: 700 !important;
    border-left: 3px solid #1A4A38 !important;
}

.wlib-sidebar-nav a:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* Donate card */
.watag-donate-cta {
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
    padding: 2rem 1.5rem 1.75rem !important;
}

/* Share widget buttons */
.watag-sidebar-widget .d-flex.gap-2 {
    gap: .5rem !important;
}

/* Mobile — clear top gap when the aside stacks below content */
@media (max-width: 991.98px) {
    aside.col-lg-3 {
        margin-top: 2.5rem !important;
        margin-bottom: 2rem !important;
    }
}
