/* 게이샤원두 커스텀 스타일 - 파소파소커피 */
/* WordPress 게시글/페이지용 커스텀 CSS */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;700;900&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
    --gc-brown-dark: #2c1810;
    --gc-brown-deep: #3e2712;
    --gc-brown-medium: #654321;
    --gc-brown-light: #8b5a2b;
    --gc-gold: #c19a33;
    --gc-gold-light: #d4af37;
    --gc-cream: #f5ebd2;
    --gc-cream-light: #faf6ee;
    --gc-text-dark: #1a0e08;
    --gc-text-body: #3d2b1f;
    --gc-text-light: #8b7355;
}

/* ===== Body / Global ===== */
body.single, body.page {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gc-cream-light);
    color: var(--gc-text-body);
    line-height: 1.85;
}

/* ===== Entry Header ===== */
.wp-block-post-title,
.entry-title,
h1.wp-block-heading {
    font-family: 'Noto Serif KR', serif;
    color: var(--gc-text-dark);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 24px;
}

/* ===== Content Area ===== */
.entry-content,
.wp-block-post-content {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: var(--gc-text-body);
}

.entry-content h2,
.wp-block-post-content h2,
h2.wp-block-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--gc-text-dark);
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gc-gold);
}

.entry-content h3,
.wp-block-post-content h3,
h3.wp-block-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--gc-brown-deep);
    margin-top: 36px;
    margin-bottom: 16px;
    padding-left: 14px;
    border-left: 4px solid var(--gc-gold);
}

.entry-content h4,
.wp-block-post-content h4,
h4.wp-block-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gc-brown-medium);
    margin-top: 28px;
    margin-bottom: 12px;
}

.entry-content p,
.wp-block-post-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.9;
}

/* ===== Links ===== */
.entry-content a,
.wp-block-post-content a {
    color: var(--gc-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s;
}

.entry-content a:hover,
.wp-block-post-content a:hover {
    color: var(--gc-brown-medium);
}

/* ===== Images ===== */
.entry-content img,
.wp-block-post-content img,
.wp-block-image img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.entry-content img:hover,
.wp-block-post-content img:hover,
.wp-block-image img:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 30px rgba(44, 24, 16, 0.15);
}

.wp-block-image figcaption {
    font-size: 13px;
    color: var(--gc-text-light);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* ===== Blockquote ===== */
.entry-content blockquote,
.wp-block-post-content blockquote,
.wp-block-quote {
    background: #fff;
    border-left: 4px solid var(--gc-gold);
    padding: 24px 28px;
    margin: 28px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--gc-brown-deep);
    box-shadow: 0 2px 10px rgba(44, 24, 16, 0.06);
}

.wp-block-quote cite {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--gc-text-light);
    font-style: normal;
}

/* ===== Lists ===== */
.entry-content ul,
.entry-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.entry-content li,
.wp-block-post-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

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

/* ===== Tables ===== */
.entry-content table,
.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(44, 24, 16, 0.06);
}

.entry-content table th,
.wp-block-table table th {
    background: var(--gc-brown-dark);
    color: var(--gc-cream);
    font-weight: 700;
    padding: 14px 18px;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.entry-content table td,
.wp-block-table table td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(101, 67, 33, 0.1);
    background: #fff;
}

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

/* ===== Info Box (Custom HTML block) ===== */
.geisha-info-box {
    background: linear-gradient(135deg, #fff 0%, var(--gc-cream-light) 100%);
    border: 1px solid rgba(193, 154, 51, 0.3);
    border-radius: 8px;
    padding: 28px;
    margin: 28px 0;
    position: relative;
}

.geisha-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gc-gold), var(--gc-gold-light));
    border-radius: 4px 0 0 4px;
}

.geisha-info-box h4 {
    font-family: 'Noto Serif KR', serif;
    color: var(--gc-brown-deep);
    margin-bottom: 12px;
    padding-left: 0;
    border-left: none;
}

.geisha-info-box p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gc-text-body);
}

/* ===== Highlight Box ===== */
.geisha-highlight {
    background: var(--gc-brown-dark);
    color: var(--gc-cream);
    border-radius: 8px;
    padding: 32px;
    margin: 32px 0;
    text-align: center;
}

.geisha-highlight h3 {
    font-family: 'Noto Serif KR', serif;
    color: var(--gc-gold-light);
    font-size: 24px;
    margin-bottom: 12px;
    padding-left: 0;
    border-left: none;
}

.geisha-highlight p {
    color: rgba(245, 235, 210, 0.85);
    font-size: 15px;
    line-height: 1.8;
}

/* ===== CTA Box ===== */
.geisha-cta {
    background: linear-gradient(135deg, var(--gc-brown-dark), var(--gc-brown-deep));
    border-radius: 8px;
    padding: 36px;
    margin: 36px 0;
    text-align: center;
}

.geisha-cta h3 {
    font-family: 'Noto Serif KR', serif;
    color: var(--gc-gold-light);
    font-size: 22px;
    margin-bottom: 12px;
    padding-left: 0;
    border-left: none;
}

.geisha-cta p {
    color: rgba(245, 235, 210, 0.8);
    margin-bottom: 20px;
}

.geisha-cta a {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gc-gold);
    color: var(--gc-brown-dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s;
}

.geisha-cta a:hover {
    background: var(--gc-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(193, 154, 51, 0.3);
}

/* ===== Featured Image ===== */
.wp-post-image,
.attachment-post-thumbnail {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.1);
}

/* ===== Separator ===== */
.wp-block-separator {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gc-gold), transparent);
    margin: 40px auto;
    max-width: 200px;
}

/* ===== Code Block ===== */
.wp-block-code,
.entry-content code {
    background: var(--gc-brown-dark);
    color: var(--gc-cream);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 14px;
}

.wp-block-code {
    padding: 20px 24px;
}

/* ===== Navigation ===== */
.post-navigation .nav-links a {
    color: var(--gc-gold);
    text-decoration: none;
    font-weight: 600;
}

.post-navigation .nav-links a:hover {
    color: var(--gc-brown-medium);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .entry-content h2, h2.wp-block-heading { font-size: 24px; }
    .entry-content h3, h3.wp-block-heading { font-size: 20px; }
    .geisha-info-box { padding: 20px; }
    .geisha-highlight { padding: 24px; }
    .geisha-cta { padding: 28px; }
}
