/* Mobile fix: add horizontal gap so cards don't touch the screen edges */
@media (max-width: 600px) {
    .container {
        padding: 0 14px;
        box-sizing: border-box;
        margin-top: 18px; /* keep vertical spacing consistent */
    }
    /* Ensure grid items don't overflow the padded container */
    .container > * { min-width: 0; }

    /* Footer: make content centered and tidy */
    .footer-inner {
        padding: 18px 14px 28px;
        gap: 20px;
        align-items: center;
    }

    .footer-brand .footer-logo {
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto 12px;
        text-align: center;
    }

    /* Center social icons */
    .footer-social {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin: 10px 0 0;
    }
    .social-btn { margin: 0 6px; }

    /* Visit list: center icon + text and avoid wrapping awkwardly */
    .visit-list {
        padding: 0;
        margin: 0;
    }
    .visit-list li {
        display: flex;
        flex-direction: row;
        align-items: center; /* vertically center icon with text */
        justify-content: center;
        gap: 10px;
        text-align: center;
        white-space: normal;
    }
    .visit-list .icon {
        margin-right: 0;
        font-size: 18px;
        line-height: 1;
    }

    /* Hours table: convert rows to flex so label and time align on one line */
    .hours-table {
        width: 100%;
        border-collapse: separate;
    }
    .hours-table tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-top: 1px solid rgba(255,255,255,0.03);
    }
    .hours-table td {
        display: block;
        padding: 6px 0;
    }
    .hours-table tr td:first-child {
        text-align: left;
        width: 55%;
        padding-right: 8px;
    }
    .hours-table tr td:last-child {
        text-align: right;
        width: 45%;
    }

    /* Footer bottom padding adjustments */
    .footer-bottom-inner { padding: 0 14px; }
}
