/* DevDad Blog — 읽기 중심 레이아웃 */

.blog-hero {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    padding: 3.5rem 1rem 3rem;
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.4rem;
    margin: 0 0 0.6rem;
    line-height: 1.25;
}

.blog-hero p {
    margin: 0;
    opacity: 0.92;
    font-size: 1.05rem;
}

.post-meta {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 1rem;
}

.post {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.2rem 4rem;
    line-height: 1.75;
    color: #24242b;
    font-size: 1.05rem;
}

.post h2 {
    font-size: 1.55rem;
    margin: 2.6rem 0 0.9rem;
    line-height: 1.35;
    color: #1a1a22;
}

.post h3 {
    font-size: 1.2rem;
    margin: 2rem 0 0.7rem;
    color: #1a1a22;
}

.post p { margin: 0 0 1.1rem; }

.post ul, .post ol {
    margin: 0 0 1.2rem;
    padding-left: 1.4rem;
}

.post li { margin-bottom: 0.5rem; }

.post img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 1.6rem auto 0.6rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.post figure { margin: 2rem 0; }

.post figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #6b6b76;
    margin-top: 0.2rem;
}

/* 비교표 — 모바일에서는 가로 스크롤 */
.table-wrap {
    overflow-x: auto;
    margin: 1.8rem 0;
}

.post table {
    border-collapse: collapse;
    width: 100%;
    min-width: 520px;
    font-size: 0.97rem;
}

.post th, .post td {
    border: 1px solid #e4e4ec;
    padding: 0.7rem 0.85rem;
    text-align: left;
    vertical-align: top;
}

.post th {
    background: #f6f5fb;
    font-weight: 700;
}

.post tbody tr:nth-child(even) { background: #fbfbfe; }

.post blockquote {
    margin: 1.6rem 0;
    padding: 0.9rem 1.2rem;
    border-left: 4px solid #8b5cf6;
    background: #f8f6ff;
    color: #3a3a45;
}

.post blockquote p:last-child { margin-bottom: 0; }

.callout {
    background: #f4f1ff;
    border: 1px solid #e2dbff;
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    margin: 2rem 0;
}

.callout strong { color: #5b21b6; }

.post-cta {
    text-align: center;
    background: #faf9ff;
    border-radius: 16px;
    padding: 2rem 1.4rem;
    margin: 3rem 0 0;
}

.post-cta h3 { margin-top: 0; }

.btn-store {
    display: inline-block;
    background: #6d28d9;
    color: white;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 0.6rem;
}

.btn-store:hover { background: #5b21b6; }

/* 글 목록 */
.post-list {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.2rem 4rem;
}

.post-card {
    display: block;
    border: 1px solid #e8e8f0;
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.1rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s, transform 0.15s;
}

.post-card:hover {
    box-shadow: 0 8px 26px rgba(109, 40, 217, 0.12);
    transform: translateY(-2px);
}

.post-card h2 {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
    color: #1a1a22;
}

.post-card p {
    margin: 0;
    color: #5a5a66;
    font-size: 0.97rem;
    line-height: 1.6;
}

.post-card .date {
    display: block;
    font-size: 0.85rem;
    color: #8a8a96;
    margin-top: 0.6rem;
}

@media (max-width: 600px) {
    .blog-hero h1 { font-size: 1.85rem; }
    .post { font-size: 1rem; padding: 2rem 1.1rem 3rem; }
    .post h2 { font-size: 1.35rem; }
}

.related-posts ul { margin: 8px 0 0 18px; padding: 0; }
.related-posts li { margin: 6px 0; }

.store-links-line { margin-top: 12px; font-size: 0.9rem; opacity: 0.9; }
.store-links-line a { text-decoration: underline; }
