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

/* Gangnam Father — editorial theme (based on @gangnam_father slide template)
   Parchment #F5EFE6 · Sand #EDE5D8 · Charcoal #1A1D20 · Slate #5C6066
   Burgundy #7A1A26 · Oxford Navy #16325C · Taupe hairline #D6CBBF */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;700;900&family=Noto+Sans+KR:wght@400;500;700&display=swap');


body {
	background: #F5EFE6;
	color: #1A1D20;
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	word-break: keep-all;
}
::selection { background: #EDE5D8; color: #7A1A26; }

/* ---------- Masthead ---------- */
.site-header {
	padding-top: 28px;
	padding-bottom: 0;
	border-bottom: 1px solid #1A1D20;
	margin-bottom: 48px;
}
.site-header::before {
	content: "ENERGY · AI · MARKETS  //  @gangnam_father";
	display: block;
	text-align: center;
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	color: #7A1A26;
	padding-bottom: 14px;
	margin-bottom: 18px;
	border-bottom: 1px solid #D6CBBF;
}
.site-branding { margin-bottom: 18px; }
.site-logo { margin-bottom: 12px; }
.site-logo .custom-logo { max-height: 56px; width: auto; }
.site-title, .site-title a {
	font-family: 'Noto Serif KR', Georgia, 'Times New Roman', serif;
	font-weight: 900;
	font-size: clamp(36px, 5vw, 56px);
	letter-spacing: -0.01em;
	color: #1A1D20;
	text-decoration: none;
	background: none;
	border: 0;
}
.site-title a:hover { color: #7A1A26; }
.site-description {
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
	font-size: 14px;
	color: #5C6066;
	margin-top: 6px;
}
.primary-navigation {
	border-top: 1px solid #D6CBBF;
	padding: 4px 0;
}
.primary-navigation a,
.primary-navigation .primary-menu > .menu-item > a {
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #1A1D20;
	text-decoration: none;
}
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a { color: #7A1A26; text-decoration: none; }
.primary-navigation .current-menu-item > a { box-shadow: inset 0 -2px 0 #7A1A26; }
.primary-navigation .menu-item:last-child > a { color: #16325C; font-weight: 700; } /* English */

/* ---------- Article ---------- */
.entry-title, .page-title, .entry-title a {
	font-family: 'Noto Serif KR', Georgia, 'Times New Roman', serif;
	font-weight: 700;
	color: #1A1D20;
	letter-spacing: -0.01em;
	line-height: 1.3;
	text-decoration: none;
	background: none;
	border: 0;
}
.entry-title a:hover { color: #7A1A26; }
.entry-header { padding-bottom: 20px; border-bottom: 1px solid #D6CBBF; margin-bottom: 28px; }
.entry-content, .entry-summary {
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
	font-size: 17px;
	line-height: 1.85;
	color: #1A1D20;
}
.entry-content h2, .entry-content h3, .entry-content h4 {
	font-family: 'Noto Serif KR', Georgia, 'Times New Roman', serif;
	font-weight: 700;
	color: #1A1D20;
	line-height: 1.35;
}
.entry-content h2 {
	font-size: 26px;
	margin-top: 2.2em;
	padding-top: 14px;
	border-top: 1px solid #1A1D20;
}
.entry-content h3 { font-size: 20px; color: #16325C; }
.entry-content a,
.wp-block-latest-posts a,
.site-info a {
	color: #16325C;
	text-decoration: underline;
	text-decoration-color: #D6CBBF;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.entry-content a:hover, .site-info a:hover { color: #7A1A26; text-decoration-color: #7A1A26; }
.entry-content strong { color: #1A1D20; font-weight: 700; }
.entry-content em { color: #5C6066; }
.entry-content ul li::marker, .entry-content ol li::marker { color: #7A1A26; }

/* Series nav / language switch line at top of posts */
.single .entry-content > p:first-child, .blog .entry-content > p:first-child {
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
	font-size: 13px;
	line-height: 1.8;
	color: #5C6066;
	padding-bottom: 14px;
	border-bottom: 1px solid #D6CBBF;
}

/* Summary box (English posts) and callouts: sand card, burgundy rule, no rounding */
.entry-content .wp-block-group.has-background {
	background: #EDE5D8 !important;
	border-left: 3px solid #7A1A26 !important;
	border-radius: 0;
}
.entry-content .wp-block-group.has-background h2 {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #7A1A26;
}
.entry-content .wp-block-group.has-background li { font-size: 16px; line-height: 1.7; }

blockquote, .wp-block-quote {
	border-left: 3px solid #7A1A26;
	padding-left: 1.25em;
	font-family: 'Noto Serif KR', Georgia, 'Times New Roman', serif;
	color: #1A1D20;
}
hr, .wp-block-separator { border: 0; border-top: 1px solid #D6CBBF; background: none; opacity: 1; }
.entry-content img, .wp-block-image img { border-radius: 0; box-shadow: none; }
.wp-block-image figcaption, .wp-element-caption {
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
	font-size: 13px;
	color: #5C6066;
	text-align: left;
	border-bottom: 1px solid #D6CBBF;
	padding-bottom: 8px;
}
table { font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif; border-collapse: collapse; }
table th { border-bottom: 1px solid #1A1D20; text-align: left; }
table td { border-bottom: 1px solid #D6CBBF; }
table td, table th { border-left: 0; border-right: 0; }

/* Post meta */
.entry-footer, .entry-meta, .posted-on, .byline, .cat-links, .tags-links {
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
	font-size: 13px;
	color: #5C6066;
}
.entry-footer a { color: #5C6066; text-decoration: none; }
.entry-footer a:hover { color: #7A1A26; }
.entry-footer .cat-links a { color: #7A1A26; font-weight: 700; }

/* Home: post list separation */
.blog .hentry, .archive .hentry, .search .hentry {
	border-bottom: 1px solid #1A1D20;
	padding-bottom: 32px;
	margin-bottom: 48px;
}
.archive .page-header, .search .page-header { border-bottom: 1px solid #1A1D20; }
.archive .page-title { font-family: 'Noto Serif KR', Georgia, 'Times New Roman', serif; }

/* Latest-posts block (/en/) */
.wp-block-latest-posts > li { border-top: 1px solid #D6CBBF; padding-top: 18px; margin-bottom: 24px; }
.wp-block-latest-posts__post-title {
	font-family: 'Noto Serif KR', Georgia, 'Times New Roman', serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.35;
	color: #1A1D20 !important;
	text-decoration: none !important;
}
.wp-block-latest-posts__post-title:hover { color: #7A1A26 !important; }
.wp-block-latest-posts__post-date { font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif; font-size: 12px; color: #5C6066; }
.wp-block-latest-posts__post-excerpt { font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif; font-size: 15px; color: #1A1D20; }

/* Buttons & forms: square, charcoal */
button, .button, input[type="submit"], .wp-block-button__link, .wp-block-search__button {
	background: #1A1D20;
	color: #F5EFE6;
	border: 0;
	border-radius: 0;
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
	font-weight: 700;
}
button:hover, .button:hover, input[type="submit"]:hover, .wp-block-button__link:hover { background: #7A1A26; color: #F5EFE6; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea {
	background: #FBF8F3;
	border: 1px solid #D6CBBF;
	border-radius: 0;
}

/* Comments & sharing */
.comments-title, .comment-reply-title { font-family: 'Noto Serif KR', Georgia, 'Times New Roman', serif; font-weight: 700; }
.sharedaddy h3.sd-title { font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif; color: #5C6066; }

/* Footer with disclaimer */
.site-footer {
	border-top: 1px solid #1A1D20;
	padding-top: 20px;
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif;
	font-size: 12px;
	color: #5C6066;
}
.site-footer::before {
	content: "면책 조항: 본 사이트의 글은 개인 기록이며 특정 금융투자상품에 대한 투자 권유나 조언이 아닙니다. · Disclaimer: For informational purposes only. Not investment advice.";
	display: block;
	font-size: 12px;
	line-height: 1.7;
	color: #5C6066;
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid #D6CBBF;
}
.site-info { color: #5C6066; }

@media (max-width: 640px) {
	.site-header::before { font-size: 10px; }
	.entry-content { font-size: 16px; }
	.entry-content h2 { font-size: 22px; }
}

/* ---- Force editorial fonts over Seedlet defaults (Fira Sans / Playfair) ---- */
#page, #page p, #page li, #page a, #page span, #page div, #page td, #page th, #page figcaption,
#page input, #page textarea, #page select, #page button, #page label, #page small, #page time, #page cite {
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif !important;
}
#page h1, #page h2, #page h3, #page h4, #page h5, #page h6,
#page h1 *, #page h2 *, #page h3 *, #page h4 *, #page h5 *, #page h6 *,
#page .site-title, #page .site-title a, #page .entry-title, #page .entry-title a,
#page .wp-block-latest-posts__post-title, #page .site-info .site-name, #page .site-info .site-name a,
#page blockquote, #page blockquote p {
	font-family: 'Noto Serif KR', Georgia, 'Times New Roman', serif !important;
}
#page .entry-content .wp-block-group.has-background h2 {
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', Arial, sans-serif !important;
}
.site-title, .site-title a { text-shadow: none !important; box-shadow: none !important; background: none !important; }
.site-title a::before, .site-title a::after { display: none !important; }
.site-info .site-name a, .site-info a { color: #5C6066 !important; text-decoration: none !important; }
.wp-block-latest-posts__post-title { font-size: 24px !important; color: #1A1D20 !important; }

/* Tables: horizontal hairlines only (template rule: no vertical gridlines) */
.wp-block-table table, .wp-block-table thead, .wp-block-table tfoot { border: 0 !important; }
.wp-block-table th, .wp-block-table td { border: 0 !important; border-bottom: 1px solid #D6CBBF !important; padding: 10px 12px; }
.wp-block-table thead th { border-bottom: 1px solid #1A1D20 !important; text-align: left; }
.wp-block-table { margin: 1.6em 0; font-size: 15px; }