.shared-header,
.shared-footer {
    border-color: #e5e7eb;
    background: #ffffff;
}

.shared-header {
    border-bottom: 1px solid #e5e7eb;
}

.shared-header-inner,
.shared-footer-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 14px 24px;
}

.shared-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.shared-brand {
    color: #111827;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.shared-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shared-nav a {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.shared-nav a:hover,
.shared-nav a[aria-current="page"] {
    color: #111827;
}

.shared-footer {
    border-top: 1px solid #e5e7eb;
}

.shared-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    justify-content: space-between;
}

.shared-footer-brand {
    color: #111827;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.shared-footer-meta,
.shared-footer-copy {
    color: #6b7280;
    font-size: 0.82rem;
}

.shared-footer-meta a {
    color: #374151;
    text-decoration: none;
}

.shared-footer-meta a:hover {
    color: #111827;
}

.shared-footer-meta .sep {
    color: #d1d5db;
}

@media (max-width: 767px) {
    .shared-header-inner,
    .shared-footer-inner {
        padding: 12px 16px;
    }

    .shared-nav {
        gap: 12px;
    }

    .shared-nav a {
        font-size: 0.82rem;
    }

    .shared-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
