/* 동양솥밥 한식 창업 - Custom Styles */
/* claypot.goodchangup.com */

:root {
    --cp-brown: #8B4513;
    --cp-brown-dark: #5C2D0E;
    --cp-brown-light: #A0522D;
    --cp-gold: #C8964F;
    --cp-gold-light: #D4A96A;
    --cp-cream: #F5EEE1;
    --cp-cream-dark: #E8DCC8;
    --cp-text: #3C1E0A;
    --cp-text-light: #6B4423;
    --cp-white: #FFFFFF;
    --cp-gray: #F8F6F3;
    --cp-border: #D4C4B0;
}

/* WordPress Post/Page Styles */
body.single, body.page {
    background-color: var(--cp-gray);
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--cp-text);
    line-height: 1.8;
}

.wp-site-blocks {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Entry Header */
.wp-block-post-title,
.entry-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cp-brown-dark);
    border-bottom: 3px solid var(--cp-gold);
    padding-bottom: 16px;
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Featured Image */
.wp-post-image,
.wp-block-post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(92, 45, 14, 0.15);
    margin-bottom: 32px;
}

/* Content Typography */
.entry-content h2,
.wp-block-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cp-brown-dark);
    margin-top: 48px;
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 4px solid var(--cp-gold);
}

.entry-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cp-brown);
    margin-top: 32px;
    margin-bottom: 12px;
}

.entry-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--cp-text);
    word-break: keep-all;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    color: var(--cp-text-light);
}

.entry-content li::marker {
    color: var(--cp-gold);
}

/* Blockquote */
.entry-content blockquote,
.wp-block-quote {
    border-left: 4px solid var(--cp-gold);
    background: var(--cp-cream);
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 8px 8px 0;
    font-style: normal;
}

.entry-content blockquote p {
    color: var(--cp-brown-dark);
    font-size: 1.05rem;
    margin-bottom: 0;
}

/* Info Box */
.cp-info-box {
    background: linear-gradient(135deg, var(--cp-cream) 0%, var(--cp-cream-dark) 100%);
    border: 1px solid var(--cp-border);
    border-radius: 12px;
    padding: 28px 32px;
    margin: 32px 0;
}

.cp-info-box h3 {
    color: var(--cp-brown-dark);
    margin-top: 0;
    margin-bottom: 12px;
    border-left: none;
    padding-left: 0;
}

/* Highlight Box */
.cp-highlight {
    background: var(--cp-brown-dark);
    color: var(--cp-white);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
}

.cp-highlight h3 {
    color: var(--cp-gold);
    margin-top: 0;
}

.cp-highlight p {
    color: rgba(255,255,255,0.9);
}

.cp-highlight ul li {
    color: rgba(255,255,255,0.85);
}

/* Stat Grid */
.cp-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 32px 0;
}

.cp-stat-item {
    background: var(--cp-white);
    border: 1px solid var(--cp-border);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}

.cp-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cp-brown-dark);
    display: block;
}

.cp-stat-label {
    font-size: 0.9rem;
    color: var(--cp-text-light);
    margin-top: 4px;
}

/* CTA Section */
.cp-cta {
    background: linear-gradient(135deg, var(--cp-brown) 0%, var(--cp-brown-dark) 100%);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    margin: 48px 0;
}

.cp-cta h3 {
    color: var(--cp-gold);
    font-size: 1.5rem;
    margin: 0 0 12px 0;
    border-left: none;
    padding-left: 0;
}

.cp-cta p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}

.cp-cta-btn {
    display: inline-block;
    background: var(--cp-gold);
    color: var(--cp-brown-dark);
    padding: 14px 36px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: background 0.2s;
}

.cp-cta-btn:hover {
    background: var(--cp-gold-light);
    color: var(--cp-brown-dark);
}

/* Table Styles */
.entry-content table,
.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: 8px;
    overflow: hidden;
}

.entry-content th {
    background: var(--cp-brown-dark);
    color: var(--cp-white);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
}

.entry-content td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--cp-border);
}

.entry-content tr:nth-child(even) {
    background: var(--cp-cream);
}

/* Image styles in posts */
.entry-content img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.wp-block-image figcaption {
    color: var(--cp-text-light);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 8px;
}

/* Step List */
.cp-steps {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.cp-steps li {
    counter-increment: step-counter;
    padding: 16px 16px 16px 60px;
    position: relative;
    margin-bottom: 16px;
    background: var(--cp-white);
    border: 1px solid var(--cp-border);
    border-radius: 8px;
}

.cp-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--cp-brown-dark);
    color: var(--cp-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Checklist */
.cp-checklist {
    list-style: none;
    padding-left: 0;
}

.cp-checklist li {
    padding: 8px 0 8px 32px;
    position: relative;
}

.cp-checklist li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--cp-gold);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .wp-block-post-title,
    .entry-title {
        font-size: 1.5rem;
    }

    .entry-content h2 {
        font-size: 1.3rem;
    }

    .cp-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cp-cta {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .cp-stat-grid {
        grid-template-columns: 1fr;
    }
}
