/* NewsV1 Theme - Common Styles */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 14px;
}

/* 뉴스 내용 줄바꿈 처리 */
.news_content {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
}

.news_summary {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.5;
}

/* 특수기호 처리 */
.news_title {
    word-wrap: break-word;
}

/* 웹진형 리스트 스킨 */
.webzine_list_skin1 {
    margin: 20px 0;
}

.webzine_list_skin1 .list_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.webzine_list_skin1 .list_title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.webzine_list_skin1 .more_link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.webzine_list_skin1 .more_link:hover {
    text-decoration: underline;
}

.webzine_list_skin1 .list_content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.webzine_list_skin1 .news_card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.webzine_list_skin1 .news_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.webzine_list_skin1 .card_image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.webzine_list_skin1 .card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.webzine_list_skin1 .news_card:hover .card_image img {
    transform: scale(1.05);
}

.webzine_list_skin1 .card_content {
    padding: 15px;
}

.webzine_list_skin1 .news_title {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.webzine_list_skin1 .news_title a {
    color: #333;
    text-decoration: none;
    display: block;
}

.webzine_list_skin1 .news_title a:hover {
    color: #007bff;
}

.webzine_list_skin1 .news_summary {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.webzine_list_skin1 .news_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.webzine_list_skin1 .news_time {
    font-weight: 500;
}

.webzine_list_skin1 .news_author {
    font-weight: 500;
}

/* 반응형 */
@media (max-width: 768px) {
    .webzine_list_skin1 .list_content {
        grid-template-columns: 1fr;
    }
    
    .webzine_list_skin1 .card_image {
        height: 150px;
    }
}

/* 네비게이션 메뉴 */
#gnb {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 1000;
}

#gnb .container {
    position: relative;
}

.gnb_list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gnb_list > li {
    position: relative;
}

.gnb_list > li > a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.gnb_list > li > a:hover,
.gnb_list > li > a.active {
    color: #007bff;
    border-bottom-color: #007bff;
    background: #f8f9fa;
}

/* 서브메뉴 */
.has_submenu {
    position: relative;
}

.has_submenu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    margin: 0;
    padding: 0;
}

.has_submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has_submenu .submenu li {
    border-bottom: 1px solid #f0f0f0;
}

.has_submenu .submenu li:last-child {
    border-bottom: none;
}

.has_submenu .submenu a {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.has_submenu .submenu a:hover {
    color: #007bff;
    background: #f8f9fa;
    padding-left: 25px;
}

/* 메인 메뉴 화살표 */
.has_submenu .main_menu::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.has_submenu:hover .main_menu::after {
    transform: rotate(180deg);
}

/* 모바일 메뉴 */
@media (max-width: 1024px) {
    .gnb_list {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border: 1px solid #e0e0e0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        display: none;
    }
    
    .gnb_list.active {
        display: flex;
    }
    
    .gnb_list > li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .gnb_list > li:last-child {
        border-bottom: none;
    }
    
    .has_submenu .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8f9fa;
        display: none;
    }
    
    .has_submenu .submenu.active {
        display: block;
    }
    
    .has_submenu .main_menu::after {
        content: '▶';
        transform: none;
    }
    
    .has_submenu.active .main_menu::after {
        transform: rotate(90deg);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip Navigation */
#skip_navi {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 9999;
}

#skip_navi a {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    background: #000;
    color: #fff;
    text-align: center;
    line-height: 1;
    padding: 10px;
}

#skip_navi a:focus {
    width: auto;
    height: auto;
    top: 0;
    left: 0;
}

/* Header */
#hd {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hd_wrap {
    width: 100%;
}

/* Top Bar */
.hd_top {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 0;
    font-size: 12px;
    height: 30px;
}

.hd_top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.hd_top_left {
    display: flex;
    gap: 15px;
}

.hd_top_left .date {
    color: #666;
    font-weight: 400;
}

.hd_top_left .weather {
    color: #333;
    font-weight: 400;
}

.hd_top_right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social_icons {
    display: flex;
    gap: 8px;
}

.social_icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    color: #666;
    text-decoration: none;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.social_icon:hover {
    background: #007bff;
    color: #fff;
}

.news_tip {
    color: #333;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.news_tip:hover {
    color: #007bff;
}

/* Main Header */
.hd_main {
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.hd_main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hd_logo {
    flex: 0 0 auto;
}

.logo_text {
    font-size: 36px;
    font-weight: 900;
    text-decoration: none;
    display: inline-block;
}

.logo_blue {
    color: #004085;
}

.logo_black {
    color: #000;
}

.hd_search {
    flex: 1;
    max-width: 300px;
    margin: 0 40px;
    position: relative;
}

.search_box {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    transition: border-color 0.3s;
}

.search_box:hover,
.search_box:focus-within {
    border-color: #007bff;
}

.search_icon {
    margin-right: 8px;
    color: #666;
    font-size: 14px;
}

.search_input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: #333;
}

.search_input::placeholder {
    color: #999;
}

/* Mobile Menu Toggle */
.mobile_menu_toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile_menu_toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Navigation */
#gnb {
    background: #004085;
    border-top: 1px solid #004085;
}

.gnb_list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gnb_list li {
    flex: 1;
}

.gnb_list a {
    display: block;
    padding: 15px 12px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.gnb_list a:hover {
    background: rgba(255,255,255,0.1);
}

.gnb_list a.active {
    background: rgba(255,255,255,0.2);
    border-bottom-color: #fff;
}

/* Breaking News Bar */
.breaking_news_bar {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    font-size: 13px;
}

.breaking_news_bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breaking_left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breaking_time {
    color: #999;
    font-size: 12px;
}

.breaking_text {
    color: #333;
    font-weight: 500;
}

.breaking_right {
    display: flex;
    align-items: center;
}

.breaking_logo {
    font-size: 14px;
    font-weight: 700;
}

.breaking_logo .logo_blue {
    color: #004085;
}

.breaking_logo .logo_black {
    color: #000;
}

/* Main Content */
#main {
    padding: 20px 0;
    min-height: 60vh;
    background: #fff;
}

.main_layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* .main_content 스타일은 각 스킨 CSS에서 개별 관리 */

/* Hero Section */
.hero_section {
    margin-bottom: 30px;
}

.hero_article {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.hero_image {
    flex: 0 0 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
}

.hero_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero_content {
    flex: 1;
}

.hero_title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.hero_title a {
    color: #333;
    text-decoration: none;
}

.hero_title a:hover {
    color: #007bff;
}

.hero_subtitle {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

.hero_subtitle a {
    color: #333;
    text-decoration: none;
}

.hero_subtitle a:hover {
    color: #007bff;
}

.hero_text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hero_text p {
    margin-bottom: 10px;
}

.hero_text ul {
    margin: 10px 0;
    padding-left: 20px;
}

.hero_text li {
    margin-bottom: 5px;
}

.hero_meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

/* APEC Section */
.apec_section {
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.apec_banner {
    margin-bottom: 15px;
}

.apec_banner img {
    width: 100%;
    height: auto;
}

.apec_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.apec_news {
    display: flex;
    gap: 15px;
}

.apec_item {
    flex: 1;
    display: flex;
    gap: 10px;
}

.apec_item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.apec_text h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.apec_text h4 a {
    color: #333;
    text-decoration: none;
}

.apec_text h4 a:hover {
    color: #007bff;
}

.apec_text p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* News Sections */
.news_sections {
    margin-bottom: 30px;
}

.news_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news_block {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.news_block:last-child {
    border-bottom: none;
}

.news_block h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news_block h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news_block h3 a:hover {
    color: #007bff;
}

.news_block.with_image {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.block_image {
    flex: 0 0 120px;
}

.block_image img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.block_content {
    flex: 1;
}

.block_content h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.block_content p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Photo Section */
.photo_section {
    margin-bottom: 20px;
}

.section_title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.photo_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.photo_item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.photo_item p {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

/* Grouped News */
.grouped_news {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.grouped_news .news_item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.grouped_news .news_item:last-child {
    border-bottom: none;
}

.grouped_news .news_item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.grouped_news .item_content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.grouped_news .item_content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.grouped_news .item_content h4 a:hover {
    color: #007bff;
}

.grouped_news .item_content p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Sidebar 스타일은 theme/NewsV1/skin/sidebar/css/sidebar_skin1.css에서 관리됨 */

/* N넷 Section */
.nnet_main {
    margin-bottom: 15px;
}

.nnet_main img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.nnet_main h4 {
    font-size: 14px;
    font-weight: 600;
}

.nnet_main h4 a {
    color: #333;
    text-decoration: none;
}

.nnet_main h4 a:hover {
    color: #007bff;
}

.nnet_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.nnet_item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

/* World News */
.world_news img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.world_news h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.world_news h4 a {
    color: #333;
    text-decoration: none;
}

.world_news h4 a:hover {
    color: #007bff;
}

.world_news ul {
    list-style: none;
    padding: 0;
}

.world_news li {
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
}

.world_news li:last-child {
    border-bottom: none;
}

.world_news li a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.world_news li a:hover {
    color: #007bff;
}

/* Advertisements */
.sidebar_ads {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ad_item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* TV뉴시스 */
.tv_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tv_item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 5px;
}

.tv_item h4 {
    font-size: 12px;
    font-weight: 600;
}

.tv_item h4 a {
    color: #333;
    text-decoration: none;
}

.tv_item h4 a:hover {
    color: #007bff;
}

/* Magazine List */
.magazine_list {
    list-style: none;
    padding: 0;
}

.magazine_list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.magazine_list li:last-child {
    border-bottom: none;
}

.magazine_list li a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.magazine_list li a:hover {
    color: #007bff;
}

/* Health 365 */
.health_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.health_item img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 5px;
}

.health_item h4 {
    font-size: 12px;
    font-weight: 600;
}

.health_item h4 a {
    color: #333;
    text-decoration: none;
}

.health_item h4 a:hover {
    color: #007bff;
}

/* Sports, Graphic, APEC, Fortune */
.sports_item,
.graphic_item,
.apec_sidebar,
.fortune_item {
    text-align: center;
}

.sports_item img,
.graphic_item img,
.apec_sidebar img,
.fortune_item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.sports_item h4,
.graphic_item h4,
.apec_sidebar h4,
.fortune_item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.sports_item h4 a,
.graphic_item h4 a,
.apec_sidebar h4 a,
.fortune_item h4 a {
    color: #333;
    text-decoration: none;
}

.sports_item h4 a:hover,
.graphic_item h4 a:hover,
.apec_sidebar h4 a:hover,
.fortune_item h4 a:hover {
    color: #007bff;
}

.sports_item p,
.graphic_item p,
.apec_sidebar p,
.fortune_item p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* News Sections */
.news_sections {
    margin-bottom: 60px;
}

.section_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.news_section {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.section_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 25px 0;
    margin-bottom: 20px;
}

.section_title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.section_title a {
    color: #333;
    text-decoration: none;
}

.section_title a:hover {
    color: #007bff;
}

.more_link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.more_link:hover {
    color: #0056b3;
}

.section_content {
    padding: 0 25px 25px;
}

.news_item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.news_item:last-child {
    border-bottom: none;
}

.news_item.main {
    flex-direction: column;
    padding: 0 0 20px;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 20px;
}

.item_image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.item_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item_content {
    flex: 1;
}

.item_title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news_item.main .item_title {
    font-size: 18px;
}

.item_title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.item_title a:hover {
    color: #007bff;
}

.item_summary {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.item_meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

/* Footer */
#ft {
    background: #fff;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.ft_wrap {
    width: 100%;
}

.ft_top {
    background: #f5f5f5;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.company_logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.company_logos img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.company_logos img:hover {
    opacity: 1;
}

.ft_bottom {
    background: #fff;
    padding: 40px 0;
}

.ft_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.ft_left {
    flex: 0 0 auto;
}

.ft_logo .logo_text {
    font-size: 24px;
    font-weight: 900;
}

.ft_logo .logo_blue {
    color: #004085;
}

.ft_logo .logo_black {
    color: #000;
}

.ft_right {
    flex: 1;
}

.ft_links {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.ft_section h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.ft_section ul {
    list-style: none;
    padding: 0;
}

.ft_section li {
    margin-bottom: 8px;
}

.ft_section a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.ft_section a:hover {
    color: #007bff;
}

.social_links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social_link {
    display: inline-block;
    padding: 5px 10px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.social_link:hover {
    background: #007bff;
    color: #fff;
}

.ft_info {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.ft_info p {
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Back to Top */
#back_to_top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

#back_to_top.show {
    opacity: 1;
    visibility: visible;
}

#back_to_top:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Mobile Menu Overlay */
.mobile_menu_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile_menu_overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hd_top {
        display: none;
    }
    
    .hd_main .container {
        flex-wrap: wrap;
    }
    
    .hd_search {
        order: 3;
        width: 100%;
        max-width: none;
        margin: 15px 0 0;
    }
    
    .mobile_menu_toggle {
        display: flex;
    }
    
    .gnb_list {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background: #fff;
        transition: right 0.3s;
        z-index: 1000;
        padding-top: 60px;
    }
    
    .gnb_list.mobile_active {
        right: 0;
    }
    
    .gnb_list a {
        text-align: left;
        border-bottom: 1px solid #e9ecef;
    }
    
    .hero_section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero_image {
        height: 250px;
    }
    
    .hero_title {
        font-size: 22px;
    }
    
    .section_grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .ft_middle {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .ft_bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .ft_legal {
        justify-content: center;
    }
    
    #back_to_top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero_title {
        font-size: 20px;
    }
    
    .hero_content {
        padding: 20px;
    }
    
    .section_header {
        padding: 20px 20px 0;
    }
    
    .section_content {
        padding: 0 20px 20px;
    }
    
    .news_item.main {
        padding: 0 0 15px;
        margin-bottom: 15px;
    }
    
    .item_image {
        height: 180px;
    }
}
