/*
Theme Name: 비랜딩 - 올트레드인포
Theme URI: https://blanding.kr
Author: 비랜딩 blanding.kr
Author URI: https://blanding.kr
Description: 올트레드인포를 위한 비랜딩 기본 테마.
Version: 1.0.0
Text Domain: blanding-alltrendinfo
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1d4ed8;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
}

.site-logo-link {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s ease;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563eb;
    transition: width 0.2s ease;
}

.nav-menu a:hover {
    color: #2563eb;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #0f172a;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Main Layout */
.site-main {
    min-height: 75vh;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.main-container {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 50px 40px;
    box-sizing: border-box;
}

.main-container h1 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.theme-content {
    line-height: 1.8;
    font-size: 16px;
    color: #334155;
}

.theme-content p {
    margin-bottom: 20px;
}

.theme-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Post list item styling */
.post-item {
    margin-bottom: 40px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 30px;
}

.post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-item .entry-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.post-item .entry-title a:hover {
    color: #2563eb;
}

.entry-meta {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 15px;
}

.entry-summary {
    color: #475569;
    line-height: 1.7;
    font-size: 15px;
}

/* Pagination */
.navigation {
    margin-top: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    text-decoration: none;
}

/* Footer Styles */
.site-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid #1e293b;
    margin-top: 50px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col-brand .footer-logo {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
    text-decoration: none;
    display: inline-block;
}

.footer-col-brand p {
    color: #94a3b8;
    max-width: 450px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: #3b82f6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-disclaimer {
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    margin-bottom: 25px;
}

.footer-disclaimer-title {
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.footer-disclaimer p {
    font-size: 12px;
    color: #64748b;
    text-align: justify;
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copy {
    font-size: 13px;
    color: #64748b;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .main-navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }
    
    .nav-menu a {
        font-size: 17px;
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #f1f5f9;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .site-main {
        padding: 20px 10px;
    }
    
    .main-container {
        padding: 30px 20px;
        border-radius: 8px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
