/* 골든타임 홈페이지 톤 — 블로그용 */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Noto Sans KR', system-ui, -apple-system, sans-serif;
    background: #e5e9f5;
    color: #1e293b;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 12px;
    padding: 12px 16px;
    background: #162856;
    color: #facc15;
    font-weight: 600;
    border-radius: 8px;
    z-index: 10000;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 12px;
    outline: 3px solid #facc15;
    outline-offset: 2px;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-align: center;
    color: #0f172a;
}
.section-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #f97316);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #475569;
    font-size: 0.95rem;
}

/* 헤더 — 홈페이지와 동일 톤 */
.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(22, 40, 89, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.35);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #facc15;
    background: linear-gradient(135deg, #fef9c3 0%, #fde047 30%, #facc15 60%, #fde047 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 0.8rem;
    color: #fef3c7;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
}
.nav-menu a {
    font-size: 0.95rem;
    color: #e5e7eb;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}
.nav-menu a:hover {
    color: #fbbf24;
    border-color: #fbbf24;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: #e5e7eb;
    border-radius: 999px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(22, 40, 89, 0.98);
        flex-direction: column;
        padding: 16px;
        gap: 12px;
    }
    .nav-menu.open { display: flex; }
}

/* 히어로 — 블로그용 짧은 버전 */
.blog-hero {
    min-height: 42vh;
    padding: 50px 20px 60px;
    background:
        radial-gradient(circle at 15% 0, rgba(252, 211, 77, 0.35), transparent 50%),
        radial-gradient(circle at 85% 100%, rgba(56, 189, 248, 0.25), transparent 55%),
        linear-gradient(135deg, #214079, #18263f);
    overflow: hidden;
}
.blog-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.blog-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.9));
}
.blog-hero .hero-content {
    position: relative;
    z-index: 1;
}
.blog-hero .hero-eyebrow {
    color: #9ca3af;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}
.blog-hero .hero-title {
    font-size: 2.2rem;
    color: #facc15;
    text-shadow: 0 0 20px rgba(250, 204, 21, 0.35);
    margin-bottom: 0.75rem;
}
.blog-hero .hero-subtitle {
    color: #e5e7eb;
    font-size: 0.98rem;
}

/* 블로그 소개 + CTA — 차별화 문구 */
.blog-intro {
    padding: 2rem 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(241,245,249,0.9) 100%);
    border-bottom: 1px solid rgba(22, 40, 89, 0.08);
}
.blog-intro .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}
.blog-intro-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    max-width: 560px;
    margin: 0;
}
.blog-cta {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #162856, #1e3a5f);
    color: #facc15;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    border: 1px solid rgba(250, 204, 21, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.blog-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 40, 89, 0.25);
    color: #fef08a;
}

/* 블로그 섹션 */
.blog-section {
    padding: 3.5rem 0 4rem;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(22, 40, 89, 0.12);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    border-color: rgba(251, 191, 36, 0.4);
}

.post-card-link {
    display: block;
    padding: 24px;
    color: inherit;
}

.post-date {
    display: inline-block;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 10px;
}

.post-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.4;
}
.post-card-link:hover .post-title {
    color: #162856;
}

.post-excerpt {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 14px;
}

.post-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: #162856;
}
.post-card-link:hover .post-more {
    color: #f59e0b;
}

/* 푸터 — 홈페이지와 동일 */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2.5rem 0 1.5rem;
    margin-top: 2rem;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.footer-section h3,
.footer-section h4 {
    color: #fef3c7;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.footer-section p {
    font-size: 0.9rem;
}
.footer-section a {
    color: #facc15;
}
.footer-section a:hover {
    text-decoration: underline;
}
.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}
