/* ===== Reset ===== */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

/* ===== Body ===== */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f7f8fc;
    color: #1f2937;
    line-height: 1.6;
}

main {
    display: block;
}

/* ===== Link ===== */
a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== Image ===== */
img {
    max-width: 100%;
    display: block;
}

/* ===== Header ===== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.site-header-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;

    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-logo a {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-nav a {
    font-size: 14px;
    color: #374151;
}

/* ===== Layout ===== */
.page-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 16px 48px;
    flex: 1;
}

/* ===== Page Header ===== */
.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.3;
    color: #111827;
}

.page-description {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    margin-bottom: 16px;
    font-size: 14px;
    color: #6b7280;
}

/* ===== Footer ===== */
.site-footer {
    margin-top: auto;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

.site-footer-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 18px 16px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .page-header h1 {
        font-size: 24px;
    }
}