/* ===== 헤어샵 426 커스텀 스타일 ===== */

:root {
    --hs-primary: #2C1810;
    --hs-primary-light: #5C4033;
    --hs-accent: #D4A574;
    --hs-accent-dark: #8B6914;
    --hs-cream: #F5E6D3;
    --hs-cream-light: #FFF8F0;
    --hs-text-dark: #1a1a1a;
    --hs-text-body: #4a4a4a;
    --hs-text-light: #7a7a7a;
}

/* Global post/page styling */
body.single-post,
body.page {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--hs-text-dark);
    background: var(--hs-cream-light);
}

/* Post header */
.hs-post-header {
    background: var(--hs-primary);
    padding: 80px 24px 48px;
    margin-bottom: 0;
}

.hs-post-header h1 {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

.hs-post-meta {
    max-width: 800px;
    margin: 12px auto 0;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}

/* Featured image */
.hs-featured-image {
    max-width: 900px;
    margin: -24px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hs-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(44,24,16,0.15);
    display: block;
}

/* Post content area */
.hs-content {
    max-width: 800px;
    margin: 48px auto;
    padding: 0 24px;
    line-height: 1.9;
}

.hs-content h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: var(--hs-primary);
    margin: 48px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--hs-accent);
}

.hs-content h3 {
    font-size: clamp(17px, 2.5vw, 22px);
    font-weight: 600;
    color: var(--hs-primary-light);
    margin: 36px 0 12px;
}

.hs-content p {
    font-size: 16px;
    color: var(--hs-text-body);
    margin-bottom: 20px;
    line-height: 1.9;
}

.hs-content ul,
.hs-content ol {
    margin: 16px 0 24px 24px;
    color: var(--hs-text-body);
}

.hs-content li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.8;
}

.hs-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(44,24,16,0.08);
}

/* Info box */
.hs-info-box {
    background: var(--hs-cream);
    border-left: 4px solid var(--hs-accent);
    padding: 24px 28px;
    border-radius: 0 8px 8px 0;
    margin: 28px 0;
}

.hs-info-box p {
    margin-bottom: 8px;
    font-size: 15px;
}

.hs-info-box p:last-child {
    margin-bottom: 0;
}

/* Tip box */
.hs-tip-box {
    background: #f0f7f4;
    border: 1px solid #c8e6d5;
    padding: 24px 28px;
    border-radius: 8px;
    margin: 28px 0;
}

.hs-tip-box strong {
    color: #2d6a4f;
}

/* CTA banner */
.hs-cta {
    background: var(--hs-primary);
    color: #ffffff;
    text-align: center;
    padding: 48px 24px;
    border-radius: 12px;
    margin: 48px 0;
}

.hs-cta h3 {
    font-size: 22px;
    color: #ffffff !important;
    margin: 0 0 12px !important;
    border: none !important;
    padding: 0 !important;
}

.hs-cta p {
    color: rgba(255,255,255,0.7) !important;
    margin-bottom: 20px !important;
}

.hs-cta a {
    display: inline-block;
    background: var(--hs-accent);
    color: var(--hs-primary);
    padding: 14px 36px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s;
}

.hs-cta a:hover {
    background: #e0b68a;
}

/* Table styling */
.hs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.hs-content table th {
    background: var(--hs-primary);
    color: #ffffff;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.hs-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    color: var(--hs-text-body);
}

.hs-content table tr:nth-child(even) {
    background: var(--hs-cream-light);
}

/* Blockquote */
.hs-content blockquote {
    border-left: 4px solid var(--hs-accent-dark);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--hs-cream-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--hs-primary-light);
}

/* Back navigation */
.hs-back-nav {
    max-width: 800px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.hs-back-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hs-accent-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.hs-back-nav a:hover {
    color: var(--hs-primary);
}

/* Footer branding in posts */
.hs-post-footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid rgba(212,165,116,0.2);
    text-align: center;
    font-size: 13px;
    color: var(--hs-text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .hs-post-header {
        padding: 72px 20px 36px;
    }
    .hs-content {
        padding: 0 20px;
    }
    .hs-featured-image {
        padding: 0 16px;
    }
}
