/* ============================================================
   Overdent Child Theme — main.css
   Micro-resets + custom classes not covered by Tailwind config
   ============================================================ */

/* --- Material Symbols configuration --- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    line-height: 1;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* --- Custom gradient / glass used in hero and gallery --- */
.hero-gradient {
    background: linear-gradient(to right, rgba(251,249,248,0.95) 30%, rgba(251,249,248,0.2) 100%);
}
.glass-effect {
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.8);
}

/* --- WordPress admin bar offset for fixed topbar + header --- */
.admin-bar #overdent-topbar {
    top: 32px;
}
.admin-bar #overdent-header {
    top: calc(32px + 36px); /* admin bar + topbar */
}
@media (max-width: 782px) {
    .admin-bar #overdent-topbar {
        top: 46px;
    }
    .admin-bar #overdent-header {
        top: calc(46px + 36px);
    }
    .admin-bar #overdent-main {
        padding-top: calc(5rem + 46px + 36px);
    }
}

/* --- Reset WordPress content wrappers on front page --- */
.wp-site-blocks,
.entry-content,
.wp-block-post-content {
    padding-block-start: 0 !important;
    padding-block-end: 0 !important;
    margin: 0 !important;
}

/* --- Nav menu defaults (mobile menu WP auto-adds <li>) --- */
#overdent-mobile-menu .menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
#overdent-mobile-menu .menu-item a {
    color: #43474e;
    text-decoration: none;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}
#overdent-mobile-menu .menu-item.current-menu-item a {
    color: #2a3a5b;
    font-weight: 600;
}

/* --- Footer nav menu --- */
footer .menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer .menu-item {
    margin-bottom: 1rem;
}
footer .menu-item a {
    color: #43474e;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
}
footer .menu-item a:hover {
    color: #2d6482;
}

/* --- Prevent Tailwind base from removing button cursor --- */
button { cursor: pointer; }

/* --- Force no underline on header links (WP might add) --- */
#overdent-header a {
    text-decoration: none;
}
