﻿ @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');
    
    :root {
        --corporate-navy: #0A0F1D;   /* 깊고 진한 블랙 네이비로 최고급 톤앤매너 형성 */
        --freet-orange: #FF4B2B;     /* 프리티 오렌지 */
        --freet-blue: #1A6DFF;       /* 스마트 블루 */
        --freet-green: #00D573;      /* 바이오 민트 그린 */
        --freet-bg-light: #F8FAFC;   
        --text-dark: #1E293B;
        --text-gray: #64748B;
        --round-premium: 32px;  


    }

    body {
        font-family: 'Noto Sans KR', sans-serif;
        color: var(--text-dark);
        background-color: #ffffff;
        letter-spacing: -0.03em;
        overflow-x: hidden;
    }
    body.menu-open { overflow: hidden; }
    
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; padding: 0; margin: 0; }

    /* ==========================================================================
       1. LUXURY FULL-WIDTH GNB (SVG 파일 경로 및 이미지 축소 애니메이션 대응)
       ========================================================================== */
    .header-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid #E2E8F0;
        z-index: 2000;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 60px;
        height: 100px;
        max-width: 1920px;
        margin: 0 auto;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .header-wrapper.shrink .header { height: 80px; }
    
    /* [수정] 외부 SVG 파일이 고해상도로 유연하게 축소되도록 스타일 조정 */
    .header .logo { 
        display: flex;
        align-items: center;
        height: 100%;
    }
    .header .logo a {
        display: inline-flex;
        align-items: center;
        height: 100%;
    }
    .header .logo img {
        height: 32px;  /* 기본 상태 로고 높이 */
        width: auto;
        display: block;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    /* 헤더가 축소될 때 로고 이미지 높이도 정비율로 자연스럽게 축소 */
    .header-wrapper.shrink .header .logo img {
        height: 26px; 
    }




    /* PC 메가 메뉴 구조 */
    .header .nav { height: 100%; }
    .header .nav > ul { display: flex; gap: 60px; height: 100%; }
    .header .nav > ul > li { position: static; height: 100%; display: flex; align-items: center; }
    .header .nav > ul > li > a { font-size: 16px; font-weight: 700; color: #1E293B; height: 100%; display: flex; align-items: center; position: relative; }
    
    /* 호버 시 하단 바 애니메이션 */
    .header .nav > ul > li > a::after {
        content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--freet-orange); transition: width 0.2s;
    }
    .header-wrapper:hover .nav > ul > li > a:hover::after { width: 100%; }

    /* 전체 화면을 덮는 대형 메가 드롭다운 패널 (PC 전용) */
    .mega-menu-panel {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #F1F5F9;
        border-bottom: 1px solid #E2E8F0;
        box-shadow: 0 30px 50px rgba(15, 23, 42, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
        padding: 45px 0;
    }
    /* 헤더 영역 전체에 호버 시 일시에 슬라이드 오픈 */
    .header-wrapper:hover .mega-menu-panel { opacity: 1; visibility: visible; transform: translateY(0); }
    
    .mega-menu-inner {
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 60px;
        display: grid;
        grid-template-columns: 280px 1fr; /* 좌측 인트로 섹션 + 우측 카테고리 맵 */
        gap: 60px;
    }
    .mega-menu-intro { border-right: 1px solid #E2E8F0; padding-right: 40px; }
    .mega-menu-intro h4 { font-size: 20px; font-weight: 800; color: var(--corporate-navy); margin-bottom: 10px; }
    .mega-menu-intro p { font-size: 13px; color: var(--text-gray); line-height: 1.6; }
    
    .mega-menu-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
    .mega-menu-col h5 { font-size: 15px; font-weight: 800; color: #000000; margin-bottom: 20px; position: relative; padding-bottom: 8px; }
    .mega-menu-col h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 20px; height: 2px; background: #CBD5E1; }
    .mega-menu-col ul li a { display: block; padding: 8px 0; font-size: 14px; font-weight: 500; color: #475569; transition: all 0.2s; }
    .mega-menu-col ul li a:hover { color: var(--freet-orange); transform: translateX(4px); font-weight: 600; }

    .header .right-group { display: flex; align-items: center; gap: 20px; z-index: 2200; }
    
    /* PC 언어 버튼 스타일 */
    .header .lang a { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800; color: var(--corporate-navy); border: 2px solid var(--corporate-navy); padding: 8px 22px; border-radius: 30px; transition: all 0.2s; letter-spacing: 1px; display: inline-block; }
    .header .lang a:hover { background: var(--corporate-navy); color: #fff; }
    
    /* 모바일 햄버거 버튼 */
    .menu-trigger { display: none; background: none; border: none; position: relative; }

    /* ==========================================================================
       ★ MOBILE FULL OVERLAY NAVIGATION
       ========================================================================== */
    .mobile-overlay-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        z-index: 1999;
        padding: 120px 30px 40px 30px;
        box-sizing: border-box;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    }
    .mobile-overlay-menu.show { right: 0; }
    
    .mobile-nav-list > ul > li { border-bottom: 1px solid #F1F5F9; }
    .mobile-nav-list > ul > li > a { 
        display: flex; justify-content: space-between; align-items: center;
        padding: 20px 0; font-size: 18px; font-weight: 800; color: var(--corporate-navy);
    }
    .mobile-nav-list > ul > li > a i { font-size: 14px; transition: transform 0.3s; color: var(--text-gray); }
    .mobile-nav-list > ul > li.active > a i { transform: rotate(180deg); color: var(--freet-orange); }
    
    .mobile-depth2 { display: none; background: var(--freet-bg-light); padding: 10px 20px; border-radius: 14px; margin-bottom: 15px; }
    .mobile-depth2 li a { display: block; padding: 12px 0; font-size: 15px; font-weight: 600; color: #475569; }
    .mobile-depth2 li a:hover { color: var(--freet-orange); }

    @media (max-width: 991.98px) {
        .header { padding: 0 24px; height: 80px; }
        .header .nav, .mega-menu-panel { display: none !important; }
        
        /* 모바일용 로고 이미지 크기 대응 */
        .header .logo img { height: 26px; }
        
        /* 모바일용 GLOBAL 버튼 고급 아이콘 형태로 변경 노출 */
        .header .lang a { border: none; padding: 0; font-size: 22px; color: var(--corporate-navy); display: flex; align-items: center; }
        .header .lang a span { display: none; } /* 텍스트는 숨기고 아이콘만 노출 */
        
        /* 모바일 활성화 트리거 버튼 */
        .menu-trigger { display: flex; flex-direction: column; justify-content: space-between; width: 32px; height: 16px; }
        .menu-trigger span { width: 100%; height: 2.5px; background-color: var(--corporate-navy); border-radius: 2px; transition: all 0.3s; }
        .menu-trigger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background-color: var(--freet-orange); }
        .menu-trigger.active span:nth-child(2) { opacity: 0; }
        .menu-trigger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background-color: var(--freet-orange); }
    }

    /* ==========================================================================
       2. PREMIUM HERO VISUAL & OTHERS
       ========================================================================== */
    .premium_hero_section { padding: 170px 0 90px 0; background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%); position: relative; }
    .hero_split_container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; max-width: 1440px; margin: 0 auto; padding: 0 60px; }
    
    .hero_corporate_side h2 { font-size: 54px; font-weight: 900; color: var(--corporate-navy); line-height: 1.28; margin-bottom: 24px; }
    .hero_corporate_side h2 span { color: var(--freet-orange); }
    .hero_corporate_side p { font-size: 18px; color: var(--text-gray); line-height: 1.7; margin-bottom: 40px; font-weight: 400; }
    
    .hero_freet_cube { 
        background: var(--corporate-navy); border-radius: var(--round-premium); padding: 50px; color: #ffffff; position: relative;
        box-shadow: 0 40px 80px rgba(15, 23, 42, 0.18); overflow: hidden;
    }
    .hero_freet_cube .cube_tag { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 800; color: var(--freet-orange); letter-spacing: 2px; margin-bottom: 15px; display: inline-flex; align-items: center; gap: 6px; }
    .hero_freet_cube h3 { font-size: 32px; font-weight: 800; line-height: 1.35; margin-bottom: 25px; }
    
    .cube_video_widget { width: 100%; height: 170px; border-radius: 20px; overflow: hidden; margin-bottom: 30px; position: relative; border: 1px solid rgba(255,255,255,0.1); }
    .cube_video_widget video { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
    
    .btn_luxury_action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 35px; border-radius: 50px; font-size: 15px; font-weight: 700; transition: all 0.3s; }

    @media (max-width: 1199.98px) {
        .hero_split_container { grid-template-columns: 1fr; gap: 50px; padding: 0 24px; }
        .hero_corporate_side h2 { font-size: 38px; }
		 .hero_freet_cube h3 { font-size: 20px; }
		  .btn_luxury_action { padding: 16px 16px; border-radius: 50px; font-size: 13px;  }
    }

    /* KOSPI REALTIME STOCK DASHBOARD */
    .market_dashboard_area { margin-top: -35px; position: relative; z-index: 10; padding: 0 60px; }
    .market_glass_panel { 
        max-width: 1320px; margin: 0 auto; background: #ffffff; border-radius: 24px; padding: 28px 50px; 
        box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08); display: flex; justify-content: space-between; align-items: center; border: 1px solid #E2E8F0;
    }
    .market_info_item { display: flex; align-items: center; gap: 14px; }
    .market_info_item .m_icon { width: 44px; height: 44px; background: #F1F5F9; color: var(--corporate-navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
    .market_info_item.theme_highlight .m_icon { background: #FFF0ED; color: var(--freet-orange); }
    .market_info_item .m_label_group { display: flex; flex-direction: column; }
    .market_info_item .m_title { font-size: 12px; font-weight: 700; color: var(--text-gray); text-transform: uppercase; margin-bottom: 2px; }
    .market_info_item .m_data { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 800; color: var(--corporate-navy); }
    
    @media (max-width: 991.98px) {
        .market_dashboard_area { padding: 0 24px; }
        .market_glass_panel { flex-direction: column; align-items: flex-start; gap: 20px; padding: 30px; }
    }

    /* LUXURY BUSINESS PORTFOLIO */
    .sect_premium_portfolio { padding: 130px 0 100px 0; background: #ffffff; }
    .sect_header_center { text-align: center; margin-bottom: 80px; }
    .sect_header_center h4 { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 800; color: var(--freet-orange); letter-spacing: 3px; margin-bottom: 14px; }
    .sect_header_center h3 { font-size: 38px; font-weight: 900; color: var(--corporate-navy); }


  @media (max-width: 991.98px) {
	.sect_premium_portfolio { padding: 80px 0 20px 0; }
	.sect_header_center { text-align: center; margin-bottom: 20px; }
      .sect_header_center h3 { font-size: 20px; }
    }

   .wide_portfolio_grid { 
		max-width: 1320px; 
		margin: 0 auto; 
		padding: 0 20px; 
		display: grid; 
		grid-template-columns: repeat(3, 1fr); /* ★ 기존 2에서 3으로 변경 */
		gap: 35px; 
	}


	.portfolio_premium_card.p_distribution:hover { border-color: var(--freet-orange); background: linear-gradient(180deg, #ffffff 0%, #FFF9F8 100%); }
	.portfolio_premium_card.p_distribution .big_brand_icon { background: #FFF0ED; color: var(--freet-orange); }
	.portfolio_premium_card.p_distribution:hover .btn_premium_circle { background: var(--freet-orange); }
		
    .portfolio_premium_card { 
        background: #ffffff; border-radius: var(--round-premium); padding: 50px; min-height: 440px; 
        display: flex; flex-direction: column; justify-content: space-between; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        position: relative; overflow: hidden; border: 1px solid #E2E8F0; box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    }
    .portfolio_premium_card .card_top_meta { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
    .portfolio_premium_card .big_brand_icon { width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 28px; background: var(--freet-bg-light); color: var(--corporate-navy); transition: all 0.3s; }
    .portfolio_premium_card h5 { 
		font-size: 25px; 
		font-weight: 800; 
		color: var(--corporate-navy); 
		margin-bottom: 16px; 
		min-height: 56px; 
		display: flex;
	   
	}
    .portfolio_premium_card p { font-size: 15px; color: var(--text-gray); line-height: 1.65; margin: 0; }
    .portfolio_premium_card .btn_premium_circle { 
        width: 52px; height: 52px; border-radius: 50%; background: var(--corporate-navy); color: #ffffff;
        display: flex; align-items: center; justify-content: center; font-size: 20px; transition: all 0.3s; margin-top: 40px; align-self: flex-start;
    }

    .portfolio_premium_card.p_telecom:hover { border-color: var(--freet-orange); background: linear-gradient(180deg, #ffffff 0%, #FFF9F8 100%); }
    .portfolio_premium_card.p_telecom .big_brand_icon { background: #FFF0ED; color: var(--freet-orange); }
    .portfolio_premium_card.p_telecom:hover .btn_premium_circle { background: var(--freet-orange); }

    .portfolio_premium_card.p_smartgrid:hover { border-color: var(--freet-blue); background: linear-gradient(180deg, #ffffff 0%, #F5F9FF 100%); }
    .portfolio_premium_card.p_smartgrid .big_brand_icon { background: #E1ECFF; color: var(--freet-blue); }
    .portfolio_premium_card.p_smartgrid:hover .btn_premium_circle { background: var(--freet-blue); }

    .portfolio_premium_card.p_lifestyle:hover { border-color: var(--freet-green); background: linear-gradient(180deg, #ffffff 0%, #F4FDF8 100%); }
    .portfolio_premium_card.p_lifestyle .big_brand_icon { background: #E6FBF2; color: var(--freet-green); }
    .portfolio_premium_card.p_lifestyle:hover .btn_premium_circle { background: var(--freet-green); }

    .portfolio_premium_card:hover { transform: translateY(-12px); box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08); }

    @media (max-width: 991.98px) {
       .wide_portfolio_grid { grid-template-columns: 1fr; gap: 25px; } /* 모바일에서는 자동으로 1열 세로 정렬 */
        .portfolio_premium_card { min-height: auto; padding: 40px 35px; }
		.portfolio_premium_card h5 {
        font-size: 21px;
        min-height: 64px;
        margin-bottom: 12px;
    }
    }

    /* ==========================================================================
       ★ NEW COMPONENT: SUMMARY COUNTER CARDS SECTION (sect2)
       ========================================================================== */
    .sect2 { padding: 0 0 120px 0; background: #ffffff; }
    .sect2 .container { max-width: 1320px; }
    .summary-card {
        background: var(--freet-bg-light);
        border: 1px solid #E2E8F0;
        border-radius: 24px;
        padding: 40px 30px;
        text-align: center;
        transition: all 0.3s ease;
        height: 100%;
    }
    .summary-card:hover {
        transform: translateY(-8px);
        background: #ffffff;
        border-color: var(--freet-orange);
        box-shadow: 0 20px 40px rgba(255, 75, 43, 0.08);
    }
    .summary-card .icon-box {
        width: 56px;
        height: 56px;
        background: #ffffff;
        border-radius: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: var(--corporate-navy);
        box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
        margin-bottom: 24px;
        transition: all 0.3s;
    }
    .summary-card:hover .icon-box {
        background: var(--freet-orange);
        color: #ffffff;
    }
    .summary-card .counter {
        font-family: 'Montserrat', sans-serif;
        font-size: 36px;
        font-weight: 800;
        color: var(--corporate-navy);
        margin-bottom: 8px;
    }
    .summary-card .counter_lab {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-gray);
        margin-bottom: 0;
    }
	@media (max-width: 991.98px) {
        .sect2 { padding: 0 0 30px 0; background: #ffffff; }
    }

    /* TWO-COLUMN INFRA HUB */
    .sect_infra_combination { padding: 110px 0; background: var(--freet-bg-light); }
    .infra_container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
    
    .premium_panel_box { background: #ffffff; border-radius: var(--round-premium); padding: 50px; box-shadow: 0 20px 45px rgba(15,23,42,0.03); height: 100%; border: 1px solid #E2E8F0; }
    .premium_panel_box h4 { font-size: 23px; font-weight: 800; color: var(--corporate-navy); margin-bottom: 30px; display: flex; justify-content: space-between; align-items: center; }
    .premium_panel_box h4 .more_link { font-size: 13px; color: var(--text-gray); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
    
    .infra_news_list li { padding: 18px 0; border-bottom: 1px solid #F1F5F9; }
    .infra_news_list li:last-child { border-bottom: none; padding-bottom: 0; }
    .infra_news_list li a { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
    .infra_news_list .n_title_wrapper { display: flex; align-items: center; gap: 12px; min-width: 0; }
    .infra_news_list .n_icon_dot { width: 32px; height: 32px; background: #F1F5F9; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text-gray); flex-shrink: 0; }
    .infra_news_list .n_title { font-size: 15px; font-weight: 600; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .infra_news_list .n_date { font-family: 'Montserrat', sans-serif; font-size: 13px; color: #94A3B8; white-space: nowrap; }
    .infra_news_list li a:hover .n_title { color: var(--freet-orange); }
    .infra_news_list li a:hover .n_icon_dot { background: #FFF0ED; color: var(--freet-orange); }

    .ir_grid_buttons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .ir_btn_item { background: var(--freet-bg-light); padding: 24px; border-radius: 20px; display: flex; align-items: center; gap: 16px; transition: all 0.25s; border: 1px solid transparent; }
    .ir_btn_item .ir_icon_box { width: 44px; height: 44px; background: #ffffff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--corporate-navy); box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
    .ir_btn_item span { font-size: 15px; font-weight: 700; color: var(--corporate-navy); }
    .ir_btn_item:hover { background: #ffffff; border-color: var(--freet-orange); box-shadow: 0 12px 25px rgba(15,23,42,0.05); }
    .ir_btn_item:hover .ir_icon_box { background: var(--freet-orange); color: #ffffff; }

    .wide_support_bar { 
        background: linear-gradient(90deg, var(--corporate-navy) 0%, #151F32 100%); 
        border-radius: var(--round-premium); padding: 40px 55px; margin-top: 45px;
        display: flex; justify-content: space-between; align-items: center; color: #ffffff;
        box-shadow: 0 20px 40px rgba(15,23,42,0.1);
    }
    .wide_support_bar .left_group_title { display: flex; align-items: center; gap: 20px; }
    .wide_support_bar .bar_big_icon { width: 56px; height: 56px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--freet-orange); }
    .wide_support_bar h5 { font-size: 21px; font-weight: 800; margin: 0; }
    .wide_support_bar p { font-size: 14px; color: #94A3B8; margin: 6px 0 0 0; }

    @media (max-width: 991.98px) {
        .premium_panel_box { padding: 35px; }
		.premium_panel_box h4 { font-size: 18px;  }
		.premium_panel_box h4 .more_link { font-size: 11px; color: var(--text-gray); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
		 .ir_grid_buttons { display: grid; grid-template-columns: repeat(1, 1fr); gap: 12px; }
        .wide_support_bar { flex-direction: column; gap: 25px; text-align: center; padding: 35px; }
        .wide_support_bar .left_group_title { flex-direction: column; gap: 15px; }
    }

    /* PREMIUM FOOTER */
    .footer { background: #ffffff; color: #64748B; padding: 85px 0; font-size: 14px; border-top: 1px solid #E2E8F0; }
    .footer .address span { display: inline-block; margin-right: 25px; margin-bottom: 10px; line-height: 1.6; }
    .footer .address strong { color: var(--corporate-navy); }
    .footer .copyright { margin-top: 30px; font-size: 13px; color: #94A3B8; font-family: 'Montserrat', sans-serif; }
    
    .family_freet_select { 
        width: 100%; max-width: 260px; padding: 15px 24px; background: var(--freet-bg-light); 
        color: #334155; border: 1.5px solid #E2E8F0; border-radius: 14px; font-size: 13px; 
        font-weight: 600; outline: none; appearance: none; -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
        background-repeat: no-repeat; background-position: right 20px center; background-size: 14px; transition: all 0.2s;
    }

	/* 푸터 회색 로고 전용 클래스 */
.footer .ft_logo img {
    height: 24px;                  /* 로고 높이 */
    width: auto;
    display: block;
    filter: grayscale(100%) opacity(0.65); /* 원본 컬러 로고를 얌전한 회색조로 보정 */
    transition: filter 0.3s ease;
}

/* 마우스 호버 시 살짝 밝아지는 효과 (선택사항) */
.footer .ft_logo img:hover {
    filter: grayscale(100%) opacity(0.9);
}


/* ==========================================================================
   ★ [보정] 그누보드 프리미엄 반응형 팝업 레이아웃 스타일
   ========================================================================== */
#hd_pop {
    position: relative;
    z-index: 10000;
}
#hd_pop h2 { 
    position: absolute; 
    font-size: 0; 
    line-height: 0; 
    overflow: hidden; 
}

/* 개별 팝업 카드 프레임 */
.hd_pops {
    position: absolute;
    z-index: 10000;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hd_pops_inner {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* 팝업 본문 내용 컨테이너 (에디터 내 이미지/에디터 HTML 가공 대응) */
.hd_pops_con {
    padding: 20px;
    font-size: 14px;
    color: #1E293B;
    line-height: 1.6;
    overflow-y: auto;
    max-height: 75vh; /* 스크롤 가능하도록 높이 제한 방어 */
}

.hd_pops_con img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

/* 팝업 하단 푸터 (오늘 하루 안보기 / 닫기) 디자인 */
.hd_pops_footer {
    background: #F8FAFC;
    padding: 12px 18px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* 24시간 안보기 버튼 */
.hd_pops_footer .hd_pops_reject {
    font-size: 12.5px;
    color: #64748B;
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    font-weight: 500;
    transition: color 0.2s;
}
.hd_pops_footer .hd_pops_reject:hover {
    color: #0F172A;
}
.hd_pops_footer .hd_pops_reject strong {
    color: #FF4B2B; /* 브랜드 오렌지 포인트 */
}

/* 닫기 버튼 스타일링 (모던 피체화) */
.hd_pops_footer .hd_pops_close {
    font-size: 13px;
    font-weight: 700;
    color: #0F172A;
    background: #E2E8F0;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}
.hd_pops_footer .hd_pops_close:hover {
    background: #0F172A;
    color: #ffffff;
}

/* ==========================================================================
   ★ 모바일(768px 이하) 반응형 완벽 대응
   ========================================================================== */
@media (max-width: 768px) {
    .hd_pops {
        position: fixed !important; /* 모바일에서는 화면 중앙 고정 */
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 400px !important;
        margin: 0 auto;
    }
    .hd_pops_inner {
        max-width: 100% !important;
    }
    .hd_pops_con {
        max-height: 60vh;
        padding: 15px;
    }
    .hd_pops_footer {
        padding: 10px 14px;
    }
    .hd_pops_footer .hd_pops_reject {
        font-size: 11.5px;
    }
}