/*
 * themes/bootstrap-clean/style.css
 *
 * Theme-specific overrides on top of Bootstrap 5.
 * Keep this file minimal — prefer Bootstrap utility classes in theme.php / layout.php.
 */

/* Navbar uses --primary */
.navbar { background-color: var(--primary) !important; }
.navbar-brand, .navbar-nav .nav-link { color: rgba(255,255,255,0.9) !important; }

/* Responsive Google Maps iframe */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 */
    position: relative;
    height: 0;
    margin-bottom: 1.5rem;
}
.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

/* Semantic class for content-area data tables (open times, contact info).
   Maps to Bootstrap's .table styling. */
.data-table {
    display: block;
    overflow-x: auto;
    width: 100%;
    margin-bottom: 1rem;
    color: var(--text);
    border-color: var(--border);
}
.data-table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    border-bottom-width: 1px;
}
.data-table > tbody {
    vertical-align: inherit;
}
.data-table > thead {
    vertical-align: bottom;
}

/* Date/update line on company and category pages */
.page-updated {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.9em;
}
