/*
Theme Name: GeneratePress
Theme URI: https://generatepress.com
Author: Tom Usborne
Author URI: https://generatepress.com/about
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Version: 3.6.1
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: generatepress
Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, footer-widgets, blog, e-commerce, flexible-header, full-width-template, buddypress, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, rtl-language-support, featured-images, theme-options

GeneratePress, Copyright 2014-2025 EDGE22 Studios LTD.
GeneratePress is distributed under the terms of the GNU GPL

GeneratePress is based on Underscores http://underscores.me/, (C) 2012-2025 Automattic, Inc.

Actual CSS can be found in /assets/css/ folder.
*/

/* Financeli-style homepage port for GeneratePress */
body.home:not(.paged) {
	margin: 0;
	background: #0a0a0c;
	color: #e8ecf4;
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
	word-break: keep-all;
	overflow-wrap: break-word;
}

body.home:not(.paged) > .site-header,
body.home:not(.paged) > #site-navigation,
body.home:not(.paged) > #page,
body.home:not(.paged) > .site-footer,
body.home:not(.paged) > .footer-widgets,
body.home:not(.paged) > .site-info {
	display: none !important;
}

body.category {
	margin: 0;
	background: #0a0a0c;
	color: #e8ecf4;
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
	word-break: keep-all;
	overflow-wrap: break-word;
}

body.category > .site-header,
body.category > #site-navigation,
body.category > #page,
body.category > .site-footer,
body.category > .footer-widgets,
body.category > .site-info {
	display: none !important;
}

.es-news-shell {
	--roal-main: #185fa5;
	--roal-main-dark: #0c447c;
	--roal-light: #e6f1fb;
	--roal-thumb-text: #b5d4f4;
	--roal-bg: #0a0a0c;
	--roal-bg-soft: #141417;
	--roal-border: #26262c;
	--roal-text: #e8ecf4;
	--roal-text-sub: #9aa0ac;
	--roal-news-accent: #b5d4f4;
	--roal-radius: 6px;
	--roal-max: 1140px;
	min-height: 100vh;
	background: var(--roal-bg);
	color: var(--roal-text);
	font-size: 17px;
	line-height: 1.8;
}

.es-news-shell *, .es-news-shell *::before, .es-news-shell *::after { box-sizing: border-box; }
.es-news-shell a { color: inherit; text-decoration: none; }
.es-news-shell p { margin-top: 0; }
.es-news-shell .roal-wrap { max-width: var(--roal-max); margin: 0 auto; padding: 0 20px; }

.roal-header { background: var(--roal-bg); border-bottom: 0; }
.es-news-shell .roal-header-inner { display: flex; align-items: center; gap: 12px; padding: 20px 0 12px; }
.roal-header-center .roal-header-inner { justify-content: center; position: relative; }
.roal-header-center .roal-header-tools { position: absolute; right: 0; }
.roal-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.es-logo-letter {
	width: 34px;
	height: 34px;
	border: 2px solid var(--roal-news-accent);
	background: linear-gradient(135deg, #10233e, #185fa5);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
}
.roal-site-title { margin: 16.75px 0; font-size: 25px; font-weight: 800; line-height: 45px; letter-spacing: -0.02em; white-space: nowrap; }
.roal-header-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.roal-catbar { background: transparent; border: 0; padding: 4px 0 10px; }
.roal-catbar-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 4px 10px !important;
	overflow-x: auto;
	scrollbar-width: none;
	background: var(--roal-bg-soft);
	border: 1px solid var(--roal-border);
	border-radius: 999px;
}
.roal-catbar-inner::-webkit-scrollbar { display: none; }
.roal-pill {
	flex: none;
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--roal-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	position: relative;
}
.roal-pill:hover, .roal-pill.is-active { color: var(--roal-news-accent); }
.roal-pill.is-active::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 5px; height: 2px; background: var(--roal-news-accent); border-radius: 2px; }

.roal-main { padding: 8px 0 48px; }
.roal-news-wrap { padding: 8px 0; }
.roal-nc-media { background-size: cover; background-position: center; position: absolute; inset: 0; }
.roal-nc-media-text { background: linear-gradient(135deg, var(--roal-main-dark), #7b2cbf); display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; }
.roal-nc-media-text span { color: #fff; font-weight: 800; font-size: 14px; line-height: 1.5; }
.roal-nc-frame { position: relative; border-radius: var(--roal-radius); overflow: hidden; border: 1px solid var(--roal-border); aspect-ratio: 16 / 10; }
.roal-news-badge { display: inline-block; background: var(--roal-main); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.5; padding: 3px 10px; border-radius: 6px; }
.roal-news-badge-dark { position: absolute; left: 10px; bottom: 10px; background: rgba(8,12,26,.82); color: var(--roal-thumb-text); border: 1px solid var(--roal-border); }

.roal-news-hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; }
.roal-news-hero { position: relative; border-radius: var(--roal-radius); overflow: hidden; border: 1px solid var(--roal-border); min-height: 380px; display: flex; align-items: flex-end; }
.roal-news-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,8,20,.9) 0%, rgba(5,8,20,.25) 55%, rgba(5,8,20,0) 100%); }
.roal-news-hero-body { position: relative; z-index: 1; padding: 20px 22px; }
.roal-news-hero-title { margin: 10px 0 0; font-size: 1.5em; font-weight: 800; line-height: 1.4; color: #fff; letter-spacing: -0.01em; }
.roal-news-hero:hover .roal-news-hero-title { color: var(--roal-thumb-text); }
.roal-news-hero-subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.roal-news-card { display: block; min-width: 0; }
.roal-nc-title { margin: 9px 2px 0; font-size: 14.5px; font-weight: 600; color: var(--roal-text); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.roal-news-card:hover .roal-nc-title { color: var(--roal-news-accent); }

.roal-news-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; padding: 26px 0 8px; }
.roal-news-side { min-width: 0; }
.roal-news-side-box { background: var(--roal-bg-soft); border: 1px solid var(--roal-border); border-radius: var(--roal-radius); padding: 16px 18px; position: sticky; top: 16px; }
.roal-news-side-title { font-weight: 800; font-size: 17px; margin: 0 0 8px; padding-left: 10px; border-left: 3px solid var(--roal-news-accent); color: var(--roal-text); }
.roal-news-rank { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--roal-border); align-items: center; }
.roal-news-rank:last-child { border-bottom: 0; }
.roal-news-rank-num { font-weight: 800; font-size: 18px; color: var(--roal-news-accent); flex: none; width: 18px; font-style: italic; }
.roal-news-rank-title { font-size: 14px; line-height: 1.5; color: var(--roal-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-width: 0; flex: 1; }
.roal-news-rank:hover .roal-news-rank-title { color: var(--roal-news-accent); }
.roal-news-rank-thumb { flex: none; width: 58px; height: 44px; border-radius: 8px; background-size: cover; background-position: center; border: 1px solid var(--roal-border); }

.roal-news-section { margin-bottom: 34px; }
.roal-news-section-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--roal-border); padding-bottom: 10px; margin-bottom: 16px; }
.roal-news-section-title { margin: 0; font-size: 20px; font-weight: 800; color: var(--roal-text); padding-left: 11px; border-left: 4px solid var(--roal-news-accent); }
.roal-news-more { font-size: 12px; letter-spacing: .06em; color: var(--roal-text-sub); font-weight: 600; }
.roal-news-more:hover { color: var(--roal-news-accent); }
.roal-news-section-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; }
.roal-news-lead { display: block; min-width: 0; }
.roal-news-lead-title { margin: 12px 2px 6px; font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--roal-text); }
.roal-news-lead:hover .roal-news-lead-title { color: var(--roal-news-accent); }
.roal-news-lead-desc { margin: 0 2px; font-size: 13.5px; color: var(--roal-text-sub); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.roal-news-rows { display: flex; flex-direction: column; min-width: 0; }
.roal-news-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--roal-border); min-width: 0; }
.roal-news-row:first-child { padding-top: 2px; }
.roal-news-row:last-child { border-bottom: 0; }
.roal-news-row-thumb { flex: none; width: 88px; height: 62px; position: relative; border-radius: 9px; overflow: hidden; border: 1px solid var(--roal-border); }
.roal-news-row-body { min-width: 0; }
.roal-news-row-title { margin: 0 0 3px; font-size: 14.5px; font-weight: 600; color: var(--roal-text); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.roal-news-row:hover .roal-news-row-title { color: var(--roal-news-accent); }
.roal-news-row-desc { margin: 0 0 3px; font-size: 12.5px; color: var(--roal-text-sub); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.roal-news-time { font-size: 11.5px; color: var(--roal-text-sub); opacity: .8; flex: none; }
.roal-news-placeholder { cursor: default; }

.roal-footer { background: var(--roal-bg-soft); border: 0; position: relative; margin-top: 40px; }
.roal-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--roal-main-dark), var(--roal-thumb-text), var(--roal-main-dark)); }
.roal-footer-inner { padding: 34px 0 36px !important; text-align: center; font-size: 14px; color: var(--roal-text-sub); }

/* Category archive */
.es-category-main { padding: 8px 0 48px; }
.roal-breadcrumb {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.8;
	color: var(--roal-text-sub);
}
.roal-breadcrumb a { color: var(--roal-text-sub); }
.roal-breadcrumb a:hover { color: var(--roal-news-accent); }
.roal-breadcrumb [aria-current] { color: var(--roal-text); font-weight: 600; }
.roal-bc-sep { opacity: .6; }
.roal-cat-banner {
	max-width: 820px;
	margin: 16px auto 4px;
	padding: 34px 20px 30px;
	background: var(--roal-main);
	border-radius: 0;
	text-align: center;
}
.roal-cat-banner-label { color: var(--roal-thumb-text); font-size: 13px; letter-spacing: .06em; }
.roal-cat-banner-title { margin: 4px 0 0; color: #fff; font-size: 1.6em; font-weight: 800; line-height: 1.8; }
.es-news-shell .roal-cat-banner-desc { margin: 10px 0 0; color: var(--roal-thumb-text); font-size: 14px; line-height: 1.8; }
.roal-cards {
	display: grid;
	max-width: 820px;
	margin: 0 auto;
	padding: 18px 0;
	gap: 14px;
}
.roal-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.roal-cards .roal-post {
	display: flex;
	min-width: 0;
	min-height: 261px;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--roal-border);
	border-radius: var(--roal-radius);
	background: var(--roal-bg);
}
.roal-cards .roal-thumb {
	display: flex;
	width: 100%;
	height: 150px;
	flex: none;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 8px;
	background: linear-gradient(135deg, var(--roal-main-dark), #7b2cbf);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
	text-align: center;
}
.roal-cards .roal-thumb.has-img { padding: 0; background: var(--roal-bg-soft); }
.roal-cards .roal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.roal-cards .roal-post-body { min-width: 0; flex: 1; padding: 14px 16px 16px; }
.roal-cards .roal-post-title {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 6px;
	color: var(--roal-text);
	font-size: .94em;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: -.01em;
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.roal-cards a.roal-post:hover .roal-post-title { color: var(--roal-news-accent); }
.roal-cards .roal-post-meta { color: var(--roal-text-sub); font-size: 14px; line-height: 1.8; }
.roal-post-placeholder { cursor: default; }
.roal-pagination { max-width: 820px; margin: 28px auto 0; text-align: center; }
.roal-pagination .nav-links { display: inline-flex; gap: 6px; }
.roal-pagination a,
.roal-pagination span {
	display: inline-flex;
	min-width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border: 1px solid var(--roal-border);
	border-radius: var(--roal-radius);
	font-size: 16px;
}
.roal-pagination .current { border-color: var(--roal-main); background: var(--roal-main); color: #fff; font-weight: 700; }

@media (max-width: 900px) {
	.roal-news-hero-grid { grid-template-columns: 1fr; }
	.roal-news-hero { min-height: 260px; }
	.roal-news-grid { grid-template-columns: 1fr; gap: 8px; }
	.roal-news-side-box { position: static; margin-top: 20px; }
	.roal-news-section-body { grid-template-columns: 1fr; }
	.roal-catbar-inner { justify-content: flex-start; }
}

@media (max-width: 560px) {
	.es-news-shell { font-size: 16px; }
	.es-news-shell .roal-wrap { padding-left: 16px; padding-right: 16px; }
	.es-news-shell .roal-header-inner { padding-top: 14px; padding-bottom: 8px; }
	.roal-site-title { margin: 10px 0; font-size: 22px; line-height: 36px; }
	.es-logo-letter { width: 31px; height: 31px; font-size: 12px; }
	.roal-catbar { padding-top: 2px; }
	.roal-catbar-inner { border-radius: 20px; }
	.roal-pill { height: 36px; padding: 0 14px; font-size: 14px; }
	.roal-pill.is-active::after { left: 14px; right: 14px; }
	.roal-news-hero { min-height: 230px; }
	.roal-news-hero-title { font-size: 1.25em; }
	.roal-news-hero-body { padding: 16px; }
	.roal-news-hero-subs { gap: 10px; }
	.roal-news-card .roal-nc-title { font-size: 13.5px; }
	.roal-news-grid { padding-top: 20px; }
	.roal-news-side-box { padding: 14px; }
	.roal-cat-banner { margin-top: 12px; padding: 28px 16px 25px; }
	.roal-cat-banner-title { font-size: 1.45em; }
	.roal-cards-3 { grid-template-columns: 1fr; }
	.roal-cards { gap: 14px; }
}

@media (min-width: 561px) and (max-width: 680px) {
	.roal-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
