/*
Theme Name: Twenty Twenty-Four Child
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Description: Twenty Twenty-Four의 자식 테마입니다.
Author: Your Name
Author URI: https://yourwebsite.com/
Template: twentytwentyfour

*/

/* ====== 기본 폰트 및 배경 ====== */
body {
    font-family: 'Inter', 'Arial', sans-serif;
    background: #f0f4f8;
    color: #222;
    margin: 0;
}

/* ====== 헤더 ====== */
.custom-header {
    background: #fff;
    padding: 18px 0 14px 0;
    color: #222;
    text-align: center;
    box-shadow: 0 2px 8px rgba(59,130,246,0.08);
    position: relative;
    z-index: 10;
}
.site-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.site-title a {
    color: #226699 !important;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
}
.site-title img {
    height: 70px;
    width: auto;
    border-radius: 6px;
}
.site-title span {
    color: #226699 !important;
}

/* 모바일에서도 헤더 가운데 정렬, 배경 흰색 */
@media (max-width: 700px) {
    .custom-header {
        background: #fff;
        padding: 18px 0 10px 0;
    }
    .site-title {
        justify-content: center;
    }
    .site-title img {
        height: 54px;
    }
}

/* ====== 네비게이션 ====== */
.custom-navigation {
    margin-top: 18px;
}
.main-menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 36px;
}
.main-menu li {
    display: inline-block;
}
.main-menu li a {
    color: #fff;
    font-size: 1.15rem;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.main-menu li a:hover {
    background: #fbbf24;
    color: #2563eb;
}

/* ====== 메인 콘텐츠 ====== */
.main-content {
    max-width: 900px;
    margin: 48px auto;
    padding: 40px 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 24px -6px rgba(59,130,246,0.10), 0 4px 12px -2px rgba(0,0,0,0.06);
}

/* ====== 아카이브 리스트 ====== */
.archive-list {
    list-style: none;
    padding: 0;
}
.archive-list li {
    margin-bottom: 1.2rem;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 6px rgba(59,130,246,0.04);
    transition: transform 0.15s;
}
.archive-list li:hover {
    transform: translateY(-2px);
}
.archive-list li a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.15rem;
}
.archive-list li a:hover {
    text-decoration: underline;
    color: #2563eb;
}

/* ====== 푸터 ====== */
.custom-footer {
    background: #2563eb;
    color: #fff;
    text-align: center;
    padding: 28px 0 18px 0;
    margin-top: 48px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

/* ====== 버튼 ====== */
button, .wp-block-button__link {
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover, .wp-block-button__link:hover {
    background: #2563eb;
}

/* ====== 반응형 ====== */
@media (max-width: 700px) {
    .main-content {
        padding: 18px 8px;
    }
    .custom-header {
        padding: 18px 0 10px 0;
    }
    .site-title a {
        font-size: 1.5rem;
    }
    .main-menu {
        gap: 12px;
    }
    .archive-list li {
        padding: 0.7rem 0.7rem;
    }
}