﻿.guide-page {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
}

.guide-hero {
    padding: clamp(3rem, 8vw, 6rem) var(--space-lg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.9));
    color: var(--white);
    text-align: center;
}

.guide-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.guide-hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto;
}

.guide-layout {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) var(--space-lg);
}

.guide-article {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: clamp(2rem, 5vw, 3rem);
    box-shadow: var(--shadow-lg);
}

.guide-article h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.guide-article h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.guide-article p {
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.guide-article ul,
.guide-article ol {
    margin: 1rem 0 1.5rem 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.guide-article li {
    margin-bottom: 0.5rem;
}

.tip-box {
    background: var(--bg-muted);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin: 2rem 0;
}

.tip-box h4 {
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.adsense-block {
    margin: 2.5rem 0;
    text-align: center;
}

.guide-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.guide-index-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.guide-index-card h3 {
    font-size: 1.3rem;
}

.guide-index-card p {
    flex-grow: 1;
    color: var(--text-secondary);
    line-height: 1.7;
}

.guide-index-card a {
    font-weight: var(--font-bold);
    color: var(--primary);
}

@media (max-width: 639px) {
    .guide-article {
        padding: var(--space-lg);
    }

    .guide-hero p {
        font-size: 1rem;
    }
}
