/**
 * footer.css — AnyMotion Custom Footer
 *
 * Targets the custom footer.php HTML structure (.am-footer, etc.)
 * Replaces OceanWP's footer entirely.
 */

/* ── Footer wrapper ── */
.am-footer {
    background: var(--bg-1);
    border-top: 1px solid var(--border);
}

/* ── Widgets row ── */
.am-footer__widgets {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--border);
}

.am-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 640px) {
    .am-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .am-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 48px;
    }
}

/* ── Widget titles ── */
.am-footer__widget-title {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--platinum);
    margin-bottom: 20px;
    margin-top: 0;
}

/* ── Contact column ── */
.am-footer__contact p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 0;
}

.am-footer__contact a {
    color: var(--muted);
    text-decoration: none;
    transition: color var(--transition);
}

.am-footer__contact a:hover {
    color: var(--gold);
}

.am-footer__meta {
    margin-top: 16px !important;
    font-size: 12px !important;
    color: var(--subtle) !important;
}

/* ── Nav columns ── */
.am-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.am-footer__nav li {
    padding-bottom: 10px;
}

.am-footer__nav a {
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    transition: color var(--transition);
}

.am-footer__nav a:hover {
    color: var(--gold);
}

/* ── Bottom bar ── */
.am-footer__bottom {
    background: var(--bg);
    padding: 20px 0;
}

.am-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.am-footer__bottom p,
.am-footer__bottom a {
    font-size: 12px;
    color: var(--subtle);
    text-decoration: none;
    margin: 0;
    transition: color var(--transition);
}

.am-footer__bottom a:hover {
    color: var(--muted);
}

.am-footer__legal {
    display: flex;
    gap: 16px;
}

/* ── Suppress OceanWP footer (safety net) ── */
#footer-widgets,
#footer-bottom,
.ocean-footer-top,
.footer-bottom {
    display: none !important;
}
