/* CatchUp24 Magazine Style CSS */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	
}

/* reset css */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,1px solid #f1f5f9
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

caption {
    display: none;
}

html {
    scroll-behavior: smooth;

}

body {
    position: relative;
    font-family: 'Noto Sans KR';
    font-style: normal;
    font-weight: 500;
    line-height: 170%;
	background-color:#fafafa;
    /* -webkit-text-stroke: 1px; */
    /* -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1); */
    -webkit-font-smoothing: antialiased;
}

ol,
li,
dl,
dt,
dd {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a,
a:hover,
a:active,
a:link,
a:visited {
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

a {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
}

img {
    width: 100%;
	height: auto;
    vertical-align: middle;

}

/*reset*/

h1,
h2,
h3,
h4,
h5,
h6{line-height:1.4em;}
p{line-height:1.4em;}

H3 {
    font-size:18px;
	color: #2d3748;
	font-weight:600;
  
}

H4 {
    font-size:16px;
	color: #2d3748;
	font-weight:600;  
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #fafafa;
    color: #4a5568;
    line-height: 1.7;
    font-weight: 400;
	letter-spacing :-0.03em;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, #667eea 20%, #764ba2 50%, #667eea 80%, transparent 100%);
    opacity: 0.6;
}

.header.scrolled::after {
    height: 2px;
    
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s ease;
}

.sns-links {
	display: flex;
    align-items: center;
    gap: 12px;
    justify-content: right;
    /* max-width: 1200px; */
    /* padding: 0 20px; */
    margin: -10px 0 15px 0;
}

.sns-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #718096;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: rgba(113, 128, 150, 0.1);
}

.sns-link:hover {
    color: #2d3748;
    background: rgba(113, 128, 150, 0.2);
    transform: translateY(-1px);
}




.sitemap-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: rgba(74, 85, 104, 0.1);
    border: 1px solid rgba(74, 85, 104, 0.2);
}

.sitemap-btn:hover {
    color: #2d3748;
    background: rgba(74, 85, 104, 0.15);
    border-color: rgba(74, 85, 104, 0.3);
    transform: translateY(-1px);
}



/* Original Header (larger) */
.header-original .header-container {
    height: 100px;
}

.header-original .logo {
    font-size: 20px;
}

.header-original .nav-menu a {
    font-size: 18px;
    padding: 12px 0;
}

/* Sticky Header (smaller) */
.header.scrolled .header-container {
    height: 70px;
}

.header.scrolled .logo {
    font-size: 16px;
}

.header.scrolled .nav-menu a {
    font-size: 16px;
    padding: 8px 0;
}

.header.scrolled .sns-links {
	display:none;
}

.logo {
    font-size: 20px;
    font-weight: 500;
    color: #2d3748;
    letter-spacing: -0.5px;
    transition: font-size 0.3s ease;
    display: flex;
    align-items: flex-end;
    gap: 8px;
	line-height:1em;

}

.logo img {
    height: 40px;
    width: auto;
    transition: height 0.3s ease;
}

.header-original .logo img {
    height: 50px;
}

.header.scrolled .logo img {
    height: 35px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover {
    color: #000000;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.2s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Magazine Grid Layout */
.magazine-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.main-content {
   /*
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(255,255,255,0.2);
	*/
	overflow: hidden;
	padding: 0 50px 0px 30px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-self: end;
    position: sticky;
    bottom: 20px;
}

@media (max-width: 768px) {
    .sidebar {
        position: static;
        align-self: auto;
    }
}

/* Featured Article Carousel */
.featured-carousel {
    position: relative;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.featured-article {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.featured-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.featured-article:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
    padding: 40px;
}

.featured-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    -webkit-line-clamp: 1;
}

.featured-excerpt {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.6;
}

/* Owl Carousel Custom Styles */
.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.owl-carousel .owl-nav button {
    background: rgba(255, 255, 255, 0.6) !important;
    color: #2d3748 !important;
    border-radius: 8px !important;
    width: 35px !important;
    height: 42px !important;
    font-size: 16px !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    pointer-events: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

.owl-carousel .owl-nav button:hover {
    background: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2) !important;
}

.owl-carousel .owl-nav .owl-prev {
    left: 0 !important;
}

.owl-carousel .owl-nav .owl-next {
    right: 0 !important;
}

.owl-carousel .owl-nav .owl-prev::before {
    content: '‹' !important;
    font-size: 20px !important;
    font-weight: bold !important;
}

.owl-carousel .owl-nav .owl-next::before {
    content: '›' !important;
    font-size: 20px !important;
    font-weight: bold !important;
}

.owl-carousel .owl-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.owl-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.owl-carousel .owl-dots .owl-dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

/* Mobile Featured Articles - Fix */
.mobile-featured-articles {
    display: none;
    padding: 0;
}

.mobile-featured-articles .featured-article {
    margin-bottom: 20px;
    border-radius: 12px;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.mobile-featured-articles .featured-article:last-child {
    margin-bottom: 0;
}

.mobile-featured-articles .featured-article img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    H3 {
		font-size:15px;
	}   
    
    .main-content {
        border-radius: 12px;
		padding:0px;
    }
}

/* Article List */
.article-list {
    /*padding: 20px;*/
}

.article-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.article-item:hover {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 15px;
    margin: 0 -15px;
}

.article-item:last-child {
    border-bottom: none;
}

/* Category Sections */
.category-section {
    margin-bottom: 40px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.category-header {
    padding: 20px 25px;
    /*border-bottom: 1px solid #f1f5f9;*/
	border-bottom: 1px solid rgb(103, 127, 235, 0.3);	
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-more {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.category-more:hover {
    color: #4c51bf;
}

/* Category Style 1 - Grid Layout */
.category-style-1 .category-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 25px;
}

.category-style-1 .category-item {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    background: #ffffff;
}

.category-style-1 .category-item:hover {
    transform: translateY(-2px);
    border-color: #e2e8f0;
}

.category-style-1 .category-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.category-style-1 .category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.category-style-1 .category-info {
    padding: 15px;
}

/* Mobile responsive for categories */
@media (max-width: 768px) {
    .category-style-1 .category-content {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .category-style-1 .category-item {
        display: flex;
        gap: 15px;
        align-items: anchor-center;
		min-height:95px;
    }
    
    .category-style-1 .category-thumb {
        width: 110px;
        height: 100%;
        flex-shrink: 0;
    }
    
    .category-style-1 .category-info {
        padding: 0;
        flex: 1;
    }
    
    .category-style-1 .category-info h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .category-style-1 .article-excerpt {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* Category Style 2 - List Layout */
.category-style-2 .category-content {
    padding: 20px 25px;
}

.category-style-2 .category-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f8fafc;
}

.category-style-2 .category-item:last-child {
    border-bottom: none;
}

.category-style-2 .category-thumb {
    width: 300px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.category-style-2 .category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Category Style 3 - Featured Layout */
.category-style-3 .category-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 25px;
}

.category-style-3 .main-item {
    position: relative;
	/*
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
	*/
}

.category-style-3 .side-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.category-style-3 .side-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.category-style-3 .main-item .side-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.category-style-3 .side-item .side-item-imgwrap{
    width: 100px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
}

@media (min-width: 769px) {

	.category-style-3 .main-item .side-item .side-item-imgwrap{
		width: 100%; height: 200px; border-radius: 8px; overflow: hidden; flex-shrink: 0;margin-bottom:10px;
	}
	.category-style-3 .main-item .side-item{
		display:block;
	}
}

.category-style-3 .side-item:hover {
    background: #e2e8f0;
}

/* Mobile responsive for all category styles */
@media (max-width: 768px) {
    .category-style-2 .category-content {
        padding: 15px 20px;
    }
    
    .category-style-2 .category-item {
        padding: 12px 0;
        gap: 12px;
    }
    
    .category-style-2 .category-thumb {
        width: 100px;
        height: 70px;
    }
	.category-style-2 .article-info h3 {
	    font-size:15px;
	}
	.category-style-2 .article-excerpt{
	    display:none !important;
	}
    
    .category-style-3 .category-content {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
	
    
    .category-style-3 .main-item {
        /*height: 200px;*/
    }
    
    .category-style-3 .side-items {
        gap: 10px;
    }
    
    .category-style-3 .side-item {
        padding: 10px;
        gap: 10px;
    }

	.category-style-3 .article-excerpt{
	    display:none !important;
	}
}

.article-thumb {
    width: 140px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.article-item:hover .article-thumb img {
    transform: scale(1.1);
}

.article-info h3 {
    margin-bottom: 10px;
    color: #2d3748;
    font-weight: 600;
    line-height: 1.4;
}

.article-info h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.article-info h3 a:hover {
    color: #667eea;
}

.article-meta {
    font-size: 13px;
    /*color: #a0aec0;*/
	color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.article-excerpt {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
}

/* Sidebar Widgets */
.widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2d3748;
    position: relative;
    padding-bottom: 12px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    /*width: 30px;*/
	width: 42px;
    height: 2px;
    background: #667eea;
    border-radius: 1px;
}

/* Widget Style 1 - Default Clean */
.widget-style-1 .trending-item {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
	margin-left:-10px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;

}

.widget-style-1 .trending-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
	cursor:pointer;
}

.widget-style-1 .trending-item:last-child {
    margin-bottom: 0;
}

/* Widget Style 2 - Soft Orange */
.widget-style-2 {
    background: #fff7ed;
    border-color: #fed7aa;
}

.widget-style-2 .widget-title {
    color: #c2410c;
}

.widget-style-2 .widget-title::after {
    background: #ea580c;
}

.widget-style-2 .trending-item {
    background: #ffffff;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #fed7aa;
    transition: all 0.2s ease;
}

.widget-style-2 .trending-item:hover {
    border-color: #fb923c;
    box-shadow: 0 4px 12px rgba(251, 146, 60, 0.15);
}

/* Widget Style 3 - Soft Green */
.widget-style-3 {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.widget-style-3 .widget-title {
    color: #166534;
}

.widget-style-3 .widget-title::after {
    background: #16a34a;
}

.widget-style-3 .trending-item {
    border-bottom: 1px solid #dcfce7;
    padding: 12px 0;
    margin-bottom: 0;
    transition: all 0.2s ease;
}

.widget-style-3 .trending-item:hover {
    background: #dcfce7;
    margin: 0 -12px;
    padding: 12px;
    border-radius: 6px;
    border-bottom: 1px solid transparent;
}

.widget-style-3 .trending-item:last-child {
    border-bottom: none;
}

/* Widget Style 4 - Soft Purple */
.widget-style-4 {
    background: #eff3f9;
    border-color: #d8e5f7;
}

.widget-style-4 .widget-title {
    color: #2d3748;
}

.widget-style-4 .widget-title::after {
    background: #2E82FFFF;
}

.widget-style-4 .trending-item {
    display:flex;
	gap : 15px;
    background: #ffffff;
    margin-bottom: 8px;
    padding: 10px;
    border-radius: 0 6px 6px 0;
    border: 1px solid #d8e5f7;
    border-left: 3px solid #2E82FFFF;
    transition: all 0.2s ease;
}

.widget-style-4 .trending-item:hover {
    border-color: #d8e5f7;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
	cursor:pointer;
}

/* Widget Style 5 - Large Thumbnail */
.widget-style-5 .trending-item {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.widget-style-5 .trending-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
	cursor:pointer;
}

.widget-style-5 .trending-thumb {
    width: 100%;
    height: 160px;
    border-radius: 8px;
}

.widget-style-5 .trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.widget-style-5 .trending-info {
    padding: 10px;
}

.widget-style-5 .trending-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Widget Style 6 - Compact with Large Thumb */
.widget-style-6 {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.widget-style-6 .trending-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.widget-style-6 .trending-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.widget-style-6 .trending-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
}

.widget-style-6 .trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Widget Style 7 - Minimal List */
.widget-style-7 {
    background: #ffffff;
    border: none;
    box-shadow: none;
    padding: 20px 0;
}

.widget-style-7 .widget-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #4a5568;
}

.widget-style-7 .trending-item {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 0;
}

.widget-style-7 .trending-item:last-child {
    border-bottom: none;
}

.widget-style-7 .trending-info h3 {
    font-size: 18px;
    color: #4a5568;
    font-weight: 500;
}

.widget-style-7 .trending-meta {
    font-size: 11px;
    color: #a0aec0;
}

.trending-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.trending-info h4,
.trending-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
    line-height: 1.4;
    font-weight: 600;
    color: #2d3748;
}

.trending-meta {
    font-size: 12px;
    color: #718096;
    font-weight: 400;
}



/* Article Tags */
.article-tags-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.article-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.article-tag {
    display: inline-block;
    background: #f7fafc;
    color: #4a5568;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.article-tag:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #2d3748;
}

/* SNS Share Buttons */
.social-share-container {
    margin-top: 25px;
    text-align: center;
}

.social-share-title {
    margin-bottom: 15px;
    color: #718096;
    font-weight: 500;
    font-size: 14px;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: white;
}

.share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn-kakao { background: #fee500; color: #3c1e1e; }
.share-btn-facebook { background: #1877f2; }
.share-btn-twitter { background: #1da1f2; }
.share-btn-naver-blog { background: #03c75a; }
.share-btn-naver-band { background: #00c73c; }
.share-btn-copy { background: #6b7280; }

/* Copyright */
.article-copyright {
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}




/* Footer */
.footer {
    background: #2d3748;
    color: #a0aec0;
    /*text-align: center;*/
    padding: 40px 20px;
    margin-top: 60px;
    font-weight: 400;
    font-size: 14px;
}

.footerWrap {
    padding: 64px 0;
    background-color: #010101;
}

.footerInner {
    width: calc(100% - 48px);
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.footerLogo {
    margin-bottom: 12px;
}

.footerLogo .logoImage {
    width: 156px;
    height: auto;
}

.footerNav ul {
    display: flex;
    width: 100%;
}

.footerNav ul li {
    flex-shrink: 0;
}

.footerNav ul li:not(:last-child) {
    position: relative;
}

.footerNav ul li:not(:last-child):after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
}

.footerNav span {
    padding: 4px 8px;
}

.nav_bar {
    color: #777777 !important;
    font-weight: 300 !important;
}


.footerInner {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

.footerInner .leftSide {
    display: flex;
    flex-direction: column;
    text-align: left;
    /*gap: 8px;*/
}

.footerOutLinkList {
    display: flex;
    flex-wrap: wrap;
    font-weight: 600;
}

.footerOutLinkList li {
    position: relative;
    flex-shrink: 0;
    padding-right: 24px;
}

.footerOutLinkList li div{
	height:28px;
}

.footerOutLinkList li:not(:last-child):after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    right: 12px;
    margin-left: 8px;
    width: 2px;
    height: 12px;
    background-color: var(--text-gray-700);
}

.footerBottom .siteInfo>span {
    display: block;
    text-align: left;
}

.footerBottom .br {
    display: inline-block;
    position: relative;
    width: 8px;
    height: 8px;
}

.footerBottom .br:after {
    content: '';
    display: block;
    position: absolute;
    top: -2px;
    left: -4px;
    margin-left: 8px;
    width: 1px;
    height: 12px;
    background-color: var(--text-gray-700);
}

.footerBottom .textCopyright {
    margin-top: 4px;
}



/* Responsive */
@media (max-width: 768px) {
	.trending-info h4,
	.trending-info h3 {
		font-size: 15px;
		margin-bottom: 4px;
		line-height: 1.4;
		font-weight: 600;
		color: #2d3748;
	}


    .magazine-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    .nav-menu {
        margin-top: 15px;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-thumb {
        width: 100%;
        height: 200px;
    }
    
    .container {
        padding: 30px 20px;
    }

	.container.view, .container.list{
        padding: 40px 20px;
    }
    
    .featured-article {
        height: 300px;
		margin-bottom:20px;
    }
    
    .featured-overlay {
        padding: 25px;
    }
    
    .featured-title {
        font-size: 20px;
		-webkit-line-clamp: 2;
		margin-bottom: 0px;
    }

	.featured-excerpt{
	    display:none !important;
	}



	.header .header-container {
		height: 70px;
	}

	.header .logo {
		font-size: 16px;
	}

	.header .nav-menu a {
		font-size: 16px;
		padding: 8px 0;
	}


	.header .logo img {
		height: 35px;
	}

	.header::after {
		height: 2px;
	}

	.header.scrolled .nav-menu {display :none;}

	.header .sns-links {display:none;}




	.header.scrolled .header-container {
		height: 50px;
	}

	.header.scrolled .logo {
		font-size: 12px;
	}

	.header.scrolled .nav-menu a {
		font-size: 16px;
		padding: 8px 0;
	}

	.header.scrolled .logo img {
		height: 25px;
	}

	.header.scrolled .header-container {
		padding-top:13px;
		padding-bottom:10px;
	}



	.footerInner {
        width: calc(100% - 48px);
        max-width: 100%;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .footerInner .rightSide {
        order: 1;
    }

    .footerInner .leftSide {
        order: 2;
        text-align: center;
    }

    .footerOutLinkList {
        margin-bottom: 8px;
    }

    .footerBottom .textCopyright {
        margin-top: 32px;
    }

	.mainTopNews .articleImage {
		height: unset;
	}

	.mainTopNews .articleImage img {
		position: unset;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		margin: auto;
	}
}


.line-clamp-1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}




/* List Page Styles */
.page-header {
    margin-bottom: 30px;
}

.category-breadcrumb {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-category {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
	position:relative;
	padding-left:20px;
}


.main-category::before {
    content: '' ;
    width:3px;
	height:27px;
    background-color: #667eea;
	position:absolute;
	top:15px;left:0px;
}



.sub-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sub-category {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    color: #718096;
    background: #f8fafc;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.sub-category:hover {
    background: #edf2f7;
    color: #4a5568;
}

.sub-category.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

/* List Article Item */
.list-article-item {
    margin-bottom: 25px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.list-article-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.list-article-link {
    display: flex;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    padding: 20px;
}

.list-article-thumb {
    width: 280px;
    height: 187px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.list-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.list-article-item:hover .list-article-thumb img {
    transform: scale(1.08);
}

.list-article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-article-meta {
    font-size: 13px;
    color: #667eea;
    margin-bottom: 10px;
    font-weight: 600;
}

.list-article-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.list-article-item:hover .list-article-title {
    color: #667eea;
}

.list-article-excerpt {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-category {
        font-size: 24px;
    }

	.main-category::before {
		
		top:8px;left:0px;
	}
    
    .sub-categories {
        gap: 8px;
    }
    
    .sub-category {
        padding: 6px 16px;
        font-size: 14px;
    }
    
    .list-article-link {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .list-article-thumb {
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 ratio */
        position: relative;
        border-radius: 0;
    }
    
    .list-article-thumb img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .list-article-info {
        padding: 15px;
    }
    
    .list-article-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .list-article-excerpt {
        display: none;
    }
    
    .list-article-meta {
        font-size: 12px;
        margin-bottom: 8px;
    }
}

.subTitle_s2{
    font-size: 18px;
    margin: 30px 0 15px 0;
    color: #667eea;
    font-weight: 600;
    position: relative;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-radius: 8px;
    border-left: 3px solid #667eea;
    line-height: 1.5;
    display: block;
	width:fit-content;
}

.subTitle_s3{
    font-size: 18px;
    margin: 30px 0 15px 0;
    color: #667eea;
    font-weight: 600;
    position: relative;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
	border-top: 1px solid #667eea;
    border-bottom: 2px solid #667eea;
    line-height: 1.5;
    display: block;	
}


.article_image_wrapper {
    box-sizing: border-box;
	/*
    padding: 20px 2px 40px 2px;
    margin-bottom: 40px;
	*/
    overflow: hidden;
}


.lineclamp5 {
    -webkit-line-clamp: 5;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lineclamp4 {
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lineclamp3 {
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lineclamp2 {
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lineclamp1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4em;
}


.pageNum{
   display: inline-block; padding: 10px 15px; margin: 0 5px; background: #f8fafc; color: #4a5568; text-decoration: none; border-radius: 8px; font-weight: 500;
}

.pageNum.sel{
   display: inline-block; padding: 10px 15px; margin: 0 5px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; text-decoration: none; border-radius: 8px; font-weight: 500;
}



/* ===========================
   SITEMAP PAGE STYLES
   =========================== */

.sitemapWrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 0 80px;
}

.sitemapTitle {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #667eea;
    position: relative;
    padding-left: 16px;
}

.sitemapTitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

.sitemapTitle a { color: inherit; text-decoration: none; }

.rowBlockWrap { display: flex; flex-direction: column; gap: 24px; }

.rowBlock {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
}

.selectBtnWrap { padding: 24px; }

.listTitle { font-size: 15px; font-weight: 600; color: #718096; }
.listTitle .num { color: #667eea; font-weight: 700; font-size: 17px; }

.selectBtnList dt { margin-bottom: 16px; }
.selectBtnList dd { display: inline-block; margin: 4px; }

.selectBtnList dd a {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.18s ease;
}

.selectBtnList dd a:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #2d3748;
}

.selectBtnList dd.pick a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(102,126,234,0.35);
}

.resultBlock { border-left: 4px solid #667eea; }

.resultBlock > .h20 {
    padding: 20px 24px 16px;
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    border-bottom: 1px solid #f1f5f9;
}

.searchList { list-style: none; padding: 8px 0; margin: 0; }
.searchList li { border-bottom: 1px solid #f8fafc; }
.searchList li:last-child { border-bottom: none; }

.searchList li a {
    display: block;
    padding: 12px 24px;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.15s ease;
}

.searchList li a:hover {
    background: #f8fafc;
    color: #667eea;
    padding-left: 30px;
}



/* ===========================
   LIST PAGE - HEADER VARIANTS
   =========================== */

/* 키워드 검색 헤더 */
.category-breadcrumb--keyword .keyword-title {
    font-size: 30px;
    font-weight: 800;
    color: #667eea;
    padding-left: 0;
    letter-spacing: -0.04em;
}

.category-breadcrumb--keyword .keyword-title::before {
    display: none;
}

.keyword-count {
    font-size: 14px;
    color: #a0aec0;
    font-weight: 400;
    padding: 6px 0;
}

.keyword-count strong {
    color: #667eea;
    font-weight: 700;
}

/* 기자 프로필 헤더 */
.profile {
    margin-bottom: 8px;
}

.reporterWrap {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.reporterImage {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reporterImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 기본 이미지(reporter_thumb.png)일 때 필터로 아이콘처럼 처리 */
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

/* 실제 기자 사진이 있을 경우 필터 제거 — JS로 처리하거나 별도 클래스로 구분 */
.reporterImage.has-photo img {
    filter: none;
    opacity: 1;
}

.reporterInfoWrap {
    flex: 1;
}

.reporterNameWrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.reporterName {
    font-size: 17px;
    font-weight: 600;
    color: #2d3748;
}

.reporterName .name {
    font-size: 20px;
    font-weight: 800;
    color: #2d3748;
    letter-spacing: -0.03em;
}

.subscribeBtn {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    border: 1.5px solid #667eea;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    user-select: none;
}

.subscribeBtn:hover {
    background: #667eea;
    color: #ffffff;
}

.subscribeBtn.on {
    background: #667eea;
    color: #ffffff;
}

.reporterIntro {
    font-size: 13px;
    color: #718096;
    line-height: 1.6;
}

.reporterIntro a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.reporterIntro a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .reporterWrap {
        padding: 18px;
        gap: 14px;
    }

    .reporterImage {
        width: 56px;
        height: 56px;
    }

    .reporterName .name {
        font-size: 17px;
    }

    .category-breadcrumb--keyword .keyword-title {
        font-size: 24px;
    }
}

/* 기자 기본 이미지 fallback */
.reporterImage.no-photo img {
    display: none;
}

.reporterImage.no-photo::after {
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.8;
}



/* ===========================
   ERROR PAGE STYLES
   =========================== */

.errorPage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* padding: 80px 20px 100px; */
	padding: 40px 20px 0 20px;
    min-height: 60vh;
}

/* 404 이미지 대체 - CSS 일러스트 */
.errorBg {
    position: relative;
    margin-bottom: 40px;
}

.errorBg img {
    display: none; /* 기존 이미지 숨김 */
}

.errorBg::before {
    content: '404';
    display: block;
    font-size: 140px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 60%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 24px rgba(102, 126, 234, 0.25));
    animation: errorFloat 3s ease-in-out infinite;
}

.errorBg::after {
    content: '';
    display: block;
    width: 180px;
    height: 16px;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    margin: 8px auto 0;
    border-radius: 50%;
    animation: errorShadow 3s ease-in-out infinite;
}

@keyframes errorFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes errorShadow {
    0%, 100% { transform: scaleX(1); opacity: 0.5; }
    50% { transform: scaleX(0.75); opacity: 0.2; }
}

/* 제목 */
.errorPageTitle {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

/* 설명 텍스트 */
.errorPage .body14 {
    font-size: 14px;
    color: #a0aec0;
    line-height: 1.8;
    margin-bottom: 0;
}

/* 버튼 영역 */
.buttonList {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
    list-style: none;
    padding: 0;
}

.buttonList li a {
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8fafc;
    color: #4a5568;
    border: 1.5px solid #e2e8f0;
    letter-spacing: -0.02em;
}

.btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.goHomeBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35);
}

.goHomeBtn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

@media (max-width: 768px) {
    .errorPage {
        /*padding: 60px 20px 80px;*/
		padding: 80px 20px 0 20px;
        min-height: 50vh;
    }

    .errorBg::before {
        font-size: 96px;
        letter-spacing: -4px;
    }

    .errorPageTitle {
        font-size: 20px;
    }

    .buttonList {
        gap: 10px;
        margin-top: 28px;
    }

    .btn {
        padding: 11px 22px;
        font-size: 14px;
    }
}
