/**
 * Footer styles — menu di atas garis, copyright+tagline di bawah
 * @package TipsTek
 */

.site-footer {
    background: var(--clr-text);
    padding-bottom: var(--bottomnav-h, 64px);
}

/* ── Baris atas: menu ────────────────────────────────────────────────────── */
.footer-top {
    max-width: var(--content-max, 1100px);
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-sm);
}

.footer-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.footer-nav__list li + li::before {
    content: '·';
    color: rgba(255,255,255,.2);
    padding: 0 8px;
    pointer-events: none;
    user-select: none;
}

.footer-nav__list li a {
    font-size: .82rem;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .15s ease;
    white-space: nowrap;
}
.footer-nav__list li a:hover { color: var(--clr-white); }

/* ── Garis pemisah ───────────────────────────────────────────────────────── */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.08);
    margin: 0;
}

/* ── Baris bawah: copyright kiri, tagline kanan ──────────────────────────── */
.footer-bottom {
    max-width: var(--content-max, 1100px);
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-lg) var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-copy {
    margin: 0;
    font-size: .78rem;
    color: rgba(255,255,255,.35);
    line-height: 1.5;
    white-space: nowrap;
}
.footer-copy a {
    color: rgba(255,255,255,.5);
    font-weight: 600;
    text-decoration: none;
    transition: color .15s ease;
}
.footer-copy a:hover { color: var(--clr-white); }

.footer-tagline {
    margin: 0;
    font-size: .78rem;
    color: rgba(255,255,255,.25);
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .footer-top,
    .footer-bottom {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .footer-tagline {
        text-align: left;
        white-space: normal;
    }
    .footer-copy { white-space: normal; }
}
