/* Common Footer Styles */
.c-footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.c-footer__text {
    margin: 5px 0;
    font-size: 0.95em;
}

.c-footer__links {
    margin-top: 15px;
    font-size: 0.9em;
}

.c-footer__link {
    margin: 0 10px;
    color: inherit;
    text-decoration: underline;
}

.c-footer__link:hover {
    opacity: 0.8;
}

/* Dark theme support */
[data-theme="dark"] .c-footer,
body[data-theme="dark"] .c-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

/* Make the Buy Me a Coffee block prominent at the top of the footer */
.c-footer__bmc{
    display:flex;
    justify-content:center;
    align-items:center;
    padding-bottom:24px; /* extra bottom padding to give the button visual breathing room */
    margin-bottom:8px;
}

/* If the widget renders an iframe or button, give it a subtle card treatment */
.c-footer__bmc iframe,
.c-footer__bmc .bmc-button,
.c-footer__bmc > * {
    border-radius:10px;
    box-shadow:0 8px 24px rgba(0,0,0,0.12);
}

@media (prefers-reduced-motion: reduce) {
    .c-footer__bmc iframe,
    .c-footer__bmc .bmc-button,
    .c-footer__bmc > * { transition: none !important; }
}
