* { font-family: 'Presentation'; }

.newsletter_wrap { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; width: 100%; max-width: 1000px; margin: 0 auto; }

/* head */
.head_newsletter { display: flex; flex-wrap: wrap; width: 100%; height: 200px; background: #006679 url('../image/main/main_con02_title_bg01.png') right top no-repeat; }
.head_newsletter .newsletter_wrap { align-content: center; justify-content: center; align-items: center; padding-top: 40px; }

.head_newsletter .logo { position: absolute; top: 30px; left: 0px; }
.head_newsletter h2 { color: #fff; font-size: 42px; }

/* footer */
.newsletter_footer { text-align: center; padding: 50px 0; background: #eee; }
.newsletter_footer .ft_logo { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 20px; }
.newsletter_footer .ft_infobox { color: rgba(0, 0, 0, 0.6); }
.newsletter_footer .ft_infobox .ft_copy { text-align: left; margin-top: 20px; padding-top: 20px; }
.newsletter_footer .ft_infobox p, .newsletter_footer .ft_infobox a { color: rgba(0, 0, 0, 0.6); }
.newsletter_footer .ft_infobox span:after { background: rgba(0, 0, 0, 0.4); }

/* quick */
.newsletter_quick { position: fixed; right: 10px; bottom: 10px; }
.newsletter_quick .sns_menu { position: relative; z-index: 9; display: inline-flex; flex-direction: column; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 5px; }
.newsletter_quick .sns_menu li { position: relative; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.newsletter_quick .sns_menu li:last-child { margin-right: 0px; }
.newsletter_quick .sns_menu li a { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; width: 50px; height: 50px; border-radius: 50px; background: #222; color: rgba(255, 255, 255, 1); font-size: 0.95em; font-weight: 400; letter-spacing: -0.3px; transition: 0.3s; }
.newsletter_quick .sns_menu li a.sns_btn01 { background: #fae100; color: #381e1f; }
.newsletter_quick .sns_menu li a.sns_btn02 { background: #ff0000; }
.newsletter_quick .sns_menu li a.sns_btn03 { background: #3b5998; }
.newsletter_quick .sns_menu li a.sns_btn04 { background: linear-gradient(0deg, #f9ce34, #ee2a7b, #6228d7); background-size: cover; }
.newsletter_quick .sns_menu li a i { font-size: 24px; }
.newsletter_quick .sns_menu li img { width: 20px; }

/* default */
.newsletter_container { max-width: 1000px; margin: 0 auto; padding: 0px 0px 100px; }

.newsletter_header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; padding: 100px 0 50px; background: #006679 url('../image/main/main_con02_title_bg01.png') right top no-repeat; color: #fff; }
.newsletter_header .logo { position: absolute; top: -50px; left: 0px; }
.newsletter_titlebox { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; line-height: 1; }
.newsletter_title { color: #fff; font-size: 44px; font-weight: 800; text-transform: uppercase; }
.newsletter_vol { margin-bottom: 3px; color: #fff; font-family: 'Presentation'; font-size: 1.3em; font-weight: 600; }

.newsletter_filter { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-bottom: 20px; }

.newsletter_filter select {
    height: 45px;
	padding: 0px 30px 0px 15px;
    background: white;
	border: 1px solid #ddd;
    border-radius: 4px;
	font-size: 16px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.newsletter_filter button { height: 45px; padding: 0px 25px; background: #fff; border: none; border-radius: 4px; background: #006679; color: #fff; font-size: 16px; font-weight: bold; cursor: pointer; }
.newsletter_filter button:hover { background: #003e4a; color: #fff; }

/* 메인 이미지 */
.newsletter_main_image { overflow: hidden; position: relative; width: 100%; margin-bottom: 20px; cursor: pointer; }
.newsletter_main_image img { display: block; width: 100%; height: auto; transition: transform 0.3s ease; }
.newsletter_main_image:hover img { transform: scale(1.02); }

/* ---------------------------------------------
   GRID 레이아웃 (4 → 3 열로 변경된 부분)
--------------------------------------------- */
.article_grid { 
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 🔥 핵심 변경 */
    gap: 20px;
    margin-top: 20px;
}

.article_card { 
	overflow: hidden;
    position: relative; 
    display: flex; 
    flex-direction: column; 
    background: #f2f5f6; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    cursor: pointer; 
}

.article_card:hover { 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* 첫 번째 카드: 3열 전체 */
.article_card:nth-child(1) {
    grid-column: 1 / 4;
    grid-row: span 1;
}

/* 두 번째 카드: 2열 x 2행 */
.article_card:nth-child(2) {
    grid-column: span 2;
    grid-row: span 2;
}

/* 나머지 카드 */
.article_card:nth-child(n+3) {
    grid-column: span 1;
    grid-row: span 1;
}

/* 카드 이미지 */
.article_image { 
    overflow: hidden; 
    position: relative; 
    width: 100%; 
    height: 100%;
    max-height: 240px;
    background: #f5f5f5; 
}

.article_card:nth-child(1) .article_image {
    max-height: 350px;
}

.article_card:nth-child(2) .article_image {
    height: 500px;
	max-height: 500px;
}

.article_image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.3s ease; 
}

.article_card:hover .article_image img { transform: scale(1.1); }

.article_category { position: absolute; top: 10px; left: 10px; z-index: 9; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; text-align: center; padding: 8px 15px; background: #ff8800; border-radius: 5px; color: #fff; font-size: 0.9em; font-weight: 500; }

/* 카드 내용 (오버레이) */
.article_content { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    padding: 20px 30px; 
    background: rgba(0, 0, 0, 0.8); 
    color: #fff; 
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
}

.article_title { 
    overflow: hidden; 
    display: -webkit-box; 
    -webkit-line-clamp: 1; 
    -webkit-box-orient: vertical; 
    margin-bottom: 0px; 
    font-family: 'Presentation'; 
    font-size: 1.1em;
    font-weight: 800; 
    line-height: 1.4; 
}

.article_card:nth-child(1) .article_title,
.article_card:nth-child(2) .article_title {
    -webkit-line-clamp: 1;
}

/* 요약문 */
.article_excerpt {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
	max-height: 0;
    opacity: 0;
	padding-top: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
}

.article_card:hover .article_excerpt {
    max-height: 200px;
    opacity: 1;
	padding-top: 10px;
}

/* 첫 번째, 두 번째 카드 excerpt 크기 */
.article_card:nth-child(1) .article_excerpt { font-size: 16px; -webkit-line-clamp: 1; }
.article_card:nth-child(2) .article_excerpt { font-size: 15px; -webkit-line-clamp: 1; }

/* empty section */
.no_newsletter { text-align: center; padding: 100px 20px; }
.no_newsletter_icon { margin-bottom: 20px; color: #ddd; font-size: 48px; }
.no_newsletter_text { color: #999; font-size: 18px; }

/* 태블릿 */
@media (max-width: 1024px) {
    .article_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article_card:nth-child(1) {
        grid-column: 1 / 3;
    }

    .article_card:nth-child(2) {
        grid-column: span 2;
    }

    .article_card:nth-child(2) .article_image {
        min-height: 350px;
    }
}

/* 모바일 */
@media (max-width: 768px) {
    .newsletter_container {
        padding: 0px 0px 50px;
    }

    .newsletter_header {
        flex-direction: column;
        align-items: flex-start;
    }

    .article_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .article_card:nth-child(1),
    .article_card:nth-child(2),
    .article_card:nth-child(n+3) {
        grid-column: 1;
    }

    .article_image,
    .article_card:nth-child(1) .article_image,
    .article_card:nth-child(2) .article_image {
        min-height: 200px;
    }

    .article_title,
    .article_card:nth-child(1) .article_title,
    .article_card:nth-child(2) .article_title {
        font-size: 18px;
    }

    .article_excerpt,
    .article_card:nth-child(1) .article_excerpt,
    .article_card:nth-child(2) .article_excerpt {
        font-size: 14px;
    }
}

/* 매거진 */
.magazine_wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px 0px 100px;
}

.magazine_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    padding: 30px 0 30px;
    border-bottom: 2px solid #000;
}

.magazine_title { display: flex; flex-wrap: wrap; gap: 10px; }
.magazine_title .logo { width: 100%; margin-bottom: 10px; }
.magazine_logo { width: auto; color: #000; font-size: 48px; font-weight: 900; line-height: 1; }
.magazine_vol { display: flex; flex-wrap: wrap; align-items: flex-end; padding-bottom: 3px; color: #666; font-size: 18px; font-weight: 500; }

.magazine_filter { display: flex; align-items: center; gap: 5px; }
.magazine_filter select {
    height: 45px;
	padding: 0px 40px 0px 20px;
    border: 1px solid #000;
	border-radius: 0px;
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all 0.3s ease;
}
.magazine_filter select:hover {  }

.magazine_filter button { width: auto; height: 45px; padding: 0px 25px; background: #000; border: none; border-radius: 0px; color: #fff; font-size: 16px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; }
.magazine_filter button:hover { background: #333; }

.magazine_hero {
    position: relative;
    height: 200px;
    margin-bottom: 50px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.magazine_hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.magazine_hero:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.magazine_hero_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 50px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    color: #fff;
}

.magazine_hero_title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.magazine_hero_date { font-weight: 400; opacity: 1; }

.magazine_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.magazine_card { cursor: pointer; transition: transform 0.3s ease; }
.magazine_card:hover {  }

.magazine_card_image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f0f0f0;
}

.magazine_card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.magazine_card:hover .magazine_card_image img {
    transform: scale(1.1);
}

.magazine_card_category { margin-bottom: 10px; color: #333; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: 0.5; }

.magazine_card_title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #000;
}

.magazine_card_excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no_content {
    text-align: center;
    padding: 120px 20px;
}

.no_content_icon {
    font-size: 80px;
    margin-bottom: 30px;
}

.no_content_text {
    font-size: 24px;
    color: #999;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .magazine_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .magazine_top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .magazine_logo {
        font-size: 36px;
    }
    
    .magazine_filter {
        width: 100%;
    }
    
    .magazine_filter select,
    .magazine_filter button {
        flex: 1;
    }
    
    .magazine_hero { height: 200px; margin-bottom: 30px; }
    
    .magazine_hero_overlay {
        padding: 30px;
    }
    
    .magazine_hero_title {
        font-size: 28px;
    }
    
    .magazine_grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* view */
.head_newsletter .newsletter_wrap p { text-align: center; width: 100%; margin-top: 10px; color: rgba(255, 255, 255, 0.8); font-weight: 500; }
.head_newsletter .newsletter_wrap p a { color: rgba(255, 255, 255, 0.8); }

.article_view_wrap { max-width: 1000px; margin: 0 auto; padding: 100px 0px 100px; }
.article_view_header { margin-bottom: 50px; padding-bottom: 20px; border-bottom: 2px solid #222; }

.article_view_breadcrumb { margin-bottom: 15px; color: #999; font-size: 14px; }
.article_view_breadcrumb a { color: #666; text-decoration: none; }
.article_view_breadcrumb a:hover { color: #006679; text-decoration: underline; }
.article_view_breadcrumb span { margin: 0 8px; }

.article_view_title { margin-bottom: 20px; color: #222; font-size: 32px; font-weight: 700; }

.article_view_meta { display: flex; gap: 20px; color: #999; font-size: 14px; }
.article_view_meta span { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }

.article_view_image { text-align: center; margin: 40px 0; }
.article_view_image img { max-width: 100%; height: auto; }

.article_view_content { margin-bottom: 40px; font-size: 17px; color: #333; line-height: 1.9; }
.article_view_content p { margin-bottom: 20px; }
.article_view_content img { max-width: 100%; height: auto; margin: 20px 0; }

.article_view_link { margin: 40px 0; padding: 20px; background: #f8f9fa; border-radius: 8px; }
.article_view_link_title { margin-bottom: 10px; color: #666; font-size: 14px; }

.article_view_link a { display: inline-flex; align-items: center; padding: 12px 30px; background: #006679; border-radius: 25px; color: white; font-weight: bold; text-decoration: none; transition: all 0.3s ease; }
.article_view_link a:hover { background: #003e4a; transform: translateX(5px); }
.article_view_link a::after { content: '→'; margin-left: 10px; font-size: 18px; }

.article_navigation { display: flex; gap: 10px; margin: 50px 0 30px; padding-top: 30px; border-top: 1px solid #eee; }
.article_nav_item { flex: 1; padding: 20px; background: #f8f9fa; border-radius: 8px; color: #333; text-decoration: none; transition: all 0.3s ease; }
.article_nav_item:hover { background: #e9ecef; transform: translateY(-2px); }

.article_nav_label { display: block; margin-bottom: 8px; color: #999; font-size: 12px; }
.article_nav_title { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; font-weight: 500; }
.article_nav_disabled { opacity: 0.3; pointer-events: none; }

.btn_group { display: flex; gap: 10px; justify-content: center; margin-top: 40px; padding-top: 40px; border-top: 1px solid #eee; }
.btn_list, .btn_newsletter { display: inline-block; padding: 12px 30px; text-decoration: none; border-radius: 4px; font-weight: bold; transition: all 0.3s ease; }
.btn_list { background: #666; color: #fff; }
.btn_list:hover { background: #555; }
.btn_newsletter { background: #006679; color: #fff; }
.btn_newsletter:hover { background: #003e4a; }

@media (max-width: 768px) {

    .article_view_title { font-size: 24px; }    
    .article_view_content { font-size: 16px; }
	.article_navigation { flex-direction: column; }
    .btn_group { flex-direction: column; }

}

/* 반응형 */
@media (max-width: 1024px) {
	
	.head_newsletter .logo { text-align: center; width: 100%; }

    .newsletter_wrap { justify-content: center; }
	.newsletter_header .logo { text-align: center; width: 100%; }

	.newsletter_container { padding: 0px 2% 100px; }

	.article_view_wrap { padding: 100px 2%; }
	
	.magazine_top .newsletter_wrap { justify-content: center; padding: 0 2%; }
	.magazine_wrap { max-width: 100%; padding: 0px 2% 100px; }
	.magazine_title { justify-content: center; width: 100%; margin-bottom: 20px; }
	.magazine_title .logo { text-align: center; }
	.magazine_logo { width: 100%; text-align: center; }

}

@media (max-width: 768px) {
	
	.newsletter_main_image { margin-bottom: 20px; }
	.article_card:nth-child(2) .article_image { height: auto; }

	/* view */
	.article_view_wrap { padding: 80px 2%; }

}

@media (max-width: 640px) {
	
	.newsletter_titlebox { justify-content: center; }
    .newsletter_vol { display: block; text-align: center; width: 100%; }

}


@media (max-width: 480px) {
	
	.head_newsletter { height: 150px; }
	.head_newsletter .logo img { height: 25px; }
	.head_newsletter h2 { font-size: 32px; }
	
	.newsletter_header { padding: 70px 0 20px; }
	.newsletter_header .logo img { height: 25px; }
	.newsletter_title { font-size: 32px; }

	/* view */
    .article_view_wrap { padding: 50px 2%; }

}