/* sub.css - 서브페이지 공통 스타일 */

/* 앵커 링크 스크롤 오프셋 */
html {
    scroll-padding-top: 100px; /* 헤더 높이만큼 오프셋 */
}

/* 공통 컨텐츠 섹션 스타일 */
.content-section {
    background: white;
    position: relative;
    margin-top: 40px;  /* 히어로 섹션과의 간격 줄임 */
}

.company-intro {
    padding: 4rem 1rem;
    max-width: 120rem;
    margin: 0 auto;
}

.greeting_wrap img {
    max-width: 1000px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* company.php 전용 스타일 */

/* 히어로 섹션 */
.hero-wrap {
    height: 400px;
    background-image: url('../new_images/sub/intro1.png');
    background-size: cover;
    background-position: center;    
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    /* 원래는 전체에 은은한 어두움이 있었음. 상단은 투명, 하단만 어둡게 처리 */
    background: linear-gradient(180deg,
                                rgba(0,0,0,0) 0%,
                                rgba(0,0,0,0) 50%,
                                rgba(0,0,0,0.55) 85%,
                                rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 5.6rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.95;
}

/* 컨테이너 */
.container {
    max-width: 1180px;
    margin: 10px auto 0;
    padding: 0 20px;
}

/* 회사소개 섹션 */

.hero-title_intro {
    font-size: 10rem;
    font-weight: bold;
    margin-bottom: -2rem;
}

.hero-description_intro {
    font-size: 2rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 0;
    margin-bottom: 1rem;
}

/* Responsive tweaks for hero on small screens */
@media (max-width: 768px) {
    .hero-wrap {
        height: auto; /* allow height to grow with content on mobile */
        padding: 60px 20px; /* breathing room */
        align-items: flex-start;
        background-position: center top;
    }

    .hero-text-content_main {
        position: relative;
        z-index: 2;
        max-width: 100%;
        text-align: left;
        padding: 0;
    }

    .hero-title_intro {
        font-size: 2.4rem; /* smaller, readable on phones */
        line-height: 1.1;
        font-weight: 800;
        margin: 0 0 8px 0;
    }

    .hero-description_intro {
        font-size: 1rem;
        line-height: 1.4;
        margin: 0 0 8px 0;
    }

    .intro-section { /* ensure intro doesn't overlap */
        padding-top: 24px;
    }
}


.intro-section {
    /* 좁고 컴팩트하게 보이도록 패딩 축소 */
    padding: 50px 0 40px;
    text-align: center;
    display: flex;
    margin-top:50px;
    justify-content: center;
}

.intro-text {
    /* container for intro paragraphs */
    max-width: 540px;
    margin: 0 auto;
    text-align: left; /* 줄바꿈과 문단 가독성을 위해 좌측 정렬 */
}
.intro-text p {
    font-size: 1.5rem;
    line-height: 1.6; /* 적당한 줄간격 */
    color: #333;
    margin: 0 0 0.6em 0; /* 단락 간 간격을 여기서 제어 */
}

/* VISION 섹션 */
.vision-section {
    padding: 60px 0 100px;
    text-align: center;
    
}

.section-title {
    font-size: 4.8rem;
    font-weight: 700;
    color: #ce1122;
    margin: 0 0 80px 0 !important;
    text-align: center;
    position: relative;
    
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #ce1122;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-subtitle {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

.vision-description {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #666;
    margin: 0 0 60px 0;
}

.vision-illustration {
    margin-top: 0; /* remove gap so image sits flush with text */
    width: 100%;
    overflow: hidden;
    /* pull image up slightly to visually connect with above text */
    margin-bottom: 20px;
}

.vision-image {
    display: block;
    width: 100%;
    border-radius: 0; /* remove rounded corners */
    box-shadow: none; /* remove shadow so image edges don't create separation */
    transform: translateZ(0);
    /* ensure the image visually blends: no border, full-bleed feel */
}

/* Optional gentle feather at top, for images with hard edge use a subtle mask */
.vision-image--feather {
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 6%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 6%);
}

/* PR 전료실 섹션 */
.pr-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.pr-content {
    max-width: 800px;
    margin: 0 auto;
}

.pr-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
}

.logo-item {
    text-align: center;
}

.pr-logo {
    width: 180px;
    height: auto;
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.pr-logo:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.4rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* PR 카드 레이아웃 */
.pr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px;
    align-items: start;
    justify-items: center;
    margin-top: 24px;
    margin-bottom: 50px;
}

.pr-card {
    width: 100%;
    max-width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(14, 30, 37, 0.06);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.pr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(14, 30, 37, 0.12);
}

.pr-thumb {
    position: relative;
    height: 120px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background-color: transparent;
    background-size: 80% auto;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #ddd;
}

.pr-play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.pr-title { font-size: 1.4rem; color: #fff; padding: 16px 16px 14px; margin: 0; text-align: center; background: #000; }

/* 모달 스타일 */
.pr-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.pr-modal.open { display: flex; }
.pr-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(3px); }
.pr-modal-content {
    position: relative;
    width: 92%;
    max-width: 1000px;
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    z-index: 2;
    /* 부드러운 등장 - 크기와 불투명도 전환 */
    transform: scale(0.98);
    opacity: 0;
    transition: transform 220ms cubic-bezier(.2,.9,.3,1), opacity 220ms ease;
}
.pr-modal.open .pr-modal-content { transform: scale(1); opacity: 1; }
.pr-modal-header { display:flex; align-items:center; justify-content:space-between; padding: 12px 16px; background: linear-gradient(90deg,#fff,#fff); border-bottom: 1px solid #eee; }
.pr-modal-title { margin:0; font-size:1.4rem; color:#111; }
.pr-modal-close { border:none; background:transparent; font-size:20px; cursor:pointer; }
.pr-modal-body {
    padding: 0;
    background: #000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
}
.pr-modal-body video {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 140px);
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: contain; /* 필요 시 cover로 바꿔 영상이 꽉 차도록 할 수 있음 */
    background: #000;
}
.pr-modal-footer { padding: 12px 16px; background:#fafafa; text-align:right; }
.pr-download-btn { display:inline-block; padding:8px 12px; background:#ce1122; color:#fff; border-radius:6px; text-decoration:none; font-weight:600; }

@media (max-width: 768px) {
    .pr-thumb { height: 100px; }
    .pr-play-btn { width: 56px; height:56px; }
    .pr-modal { padding: 16px; }
    .pr-modal-content {
        width: 100%;
        max-height: calc(100vh - 32px);
    }
    .pr-modal-header {
        padding: 10px 14px;
    }
    .pr-modal-title {
        font-size: 1.2rem;
    }
    .pr-modal-body video {
        max-height: calc(100vh - 110px);
    }
}

.highlight {
    background: linear-gradient(180deg, transparent 50%, #ffeb3b 50%);
    padding: 0 4px;
}

/* Contact Us 섹션 */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-content {
    max-width: 1180px;
    margin: 0 auto;
}

.map-container {
    margin-bottom: 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.map-area {
    width: 100%;
    height: 400px;
    border: none;
}

.contact-info {
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(255,107,107,0.2);
}

.contact-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ce1122;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1.4rem;
    color: #333;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}


/* 반응형 */
@media (max-width: 768px) {
    .hero-wrap {
        height: 420px;
    }

    .hero-title {
        font-size: 3.6rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .intro-section {
        padding: 50px 0 40px;
    }

    .intro-text {
        font-size: 1.5rem;
        padding: 0 10px;
        max-width: 520px;
    }

    .vision-section {
        padding: 40px 0 80px;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .vision-subtitle {
        font-size: 1.8rem;
    }

    .vision-description {
        font-size: 1.4rem;
        padding: 0 10px;
    }

    /* PR 전료실 모바일 */
    .pr-section {
        padding: 60px 0;
    }

    .pr-logos {
        flex-direction: column;
        gap: 40px;
    }

    .pr-logo {
        width: 160px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    /* Contact Us 모바일 */
    .contact-section {
        padding: 60px 0;
    }

    .map-container {
        margin-bottom: 40px;
    }

    .map-area {
        height: 300px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 10px;
    }

    .contact-item {
        padding: 20px 15px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-label {
        font-size: 1.1rem;
    }

    .contact-value {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pr-logos {
        gap: 30px;
    }

    .pr-logo {
        width: 140px;
    }
}

/* F&B 비즈니스 페이지 스타일 */
.business-hero, .fnb-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.business-hero__background, .fnb-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.business-hero__image, .fnb-hero__image {
    position: relative;
            width: 100%;
            height: 100%;
            object-fit: cover;
            animation: zoomIn 1.5s ease-out;
            z-index: 2;
}

.business-hero__overlay, .fnb-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.0) 70%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 3;
}

.business-hero__content, .fnb-hero__content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: white;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    padding-bottom: 0;
}

.business-hero__title, .fnb-hero__title {
    font-size: 10rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.05;
    transform: translateY(10px);
}

.business-hero__title_eng {
    font-size: 10rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 0.8;
    transform: translateY(10px);
}

/* 사업분야 소개 섹션 */
.business-intro-section {
    padding: 120px 0;  /* 위쪽 패딩을 110px에서 60px로 줄임 */
    background: #ffffff;
}

.business-intro__content, .fnb-intro__content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
    padding: 0 0px;
}

.business-intro__title, .fnb-intro__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin: 0 0 0px 0;
}

.business-intro__description, .fnb-intro__description {
    font-size: 1.5rem;
    line-height: 1.5;
    color: #555;
}   

.business-intro__description p, .fnb-intro__description p {
    margin: 0px 0px 10px 0px;
}

.business-intro__description p:last-child, .fnb-intro__description p:last-child {
    margin-bottom: 0;
}

/* 사업분야 갤러리 섹션 */
.business-gallery-section {
    padding: 100px 0;  
    background: white;
}

.business-gallery, .fnb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item, .fnb-gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.gallery-item:hover, .fnb-gallery-item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.gallery-image, .fnb-gallery-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image, .fnb-gallery-item:hover .fnb-gallery-image {
    transform: scale(1.1);
}

/* 기타 사업분야 섹션 */
.other-business-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.other-business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.other-business-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.other-business-item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.other-business-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.other-business-item:hover .other-business-image {
    transform: scale(1.1);
}

.other-business-content {
    padding: 24px;
}

.other-business-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ce1122;
    margin: 0 0 12px 0;
}

.other-business-description {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .other-business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .business-gallery, .fnb-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .business-hero__title, .fnb-hero__title {
        font-size: 4rem;
        transform: none;
        line-height: 1;
    }
    
    .business-hero__content, .fnb-hero__content {
        padding-bottom: 0px;
    }
    
    .business-intro-section, .fnb-intro-section {
        padding: 60px 0;
    }
    
    .business-intro__content, .fnb-intro__content {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 40px;
    }
    
    .business-intro__title, .fnb-intro__title {
        font-size: 2.4rem;
    }
    
    .business-intro__description, .fnb-intro__description {
        font-size: 1.4rem;
    }
    
    .business-gallery-section, .fnb-gallery-section {
        padding: 60px 0;
    }
    
    .business-gallery, .fnb-gallery-grid {
        padding: 0 20px;
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-image, .fnb-gallery-image {
        height: 160px;
    }
    
    .other-business-section {
        padding: 60px 0;
    }
    
    .other-business-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
    
    .other-business-image {
        height: 160px;
    }
    
    .other-business-content {
        padding: 20px;
    }
    
    .other-business-title {
        font-size: 1.5rem;
    }
    
    .other-business-description {
        font-size: 1.2rem;
    }
}

/* 사업분야 페이지 스타일 (기존) */
.business-areas-section {
    padding: 80px 0;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.business-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.business-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.business-content {
    padding: 30px;
}

.business-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ce1122;
    margin: 0 0 16px 0;
}

.business-description {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 사업분야 반응형 */
@media (max-width: 768px) {
    .business-areas-section {
        padding: 60px 0;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }
    
    .business-content {
        padding: 24px;
    }
    
    .business-title {
        font-size: 1.6rem;
    }
    
    .business-description {
        font-size: 1.3rem;
    }
}

/* ===========================================
   공지사항 페이지 스타일
=========================================== */
/* 공지사항 게시판 스타일 */
.notice-list-container {
    max-width: 100%;
}

.notice-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #ce1122;
}

.notice-list-header h3, .notice-list-header h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

#notice-counter {
    color: #333;
    font-weight: 500;
}

.notice-search {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-input {
    padding: 0.8rem 1.2rem;
    border: 2px solid #ddd;
    border-radius: 20px;
    font-size: 1.2rem;
    width: 200px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #ce1122;
}

.search-btn {
    background: #ce1122;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.search-btn:hover {
    background: #a50f1a;
    transform: scale(1.05);
}

.search-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

/* 게시판 테이블 */
.notice-board {
    margin-bottom: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.notice-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.notice-th {
    background: #f8f9fa;
    color: #333;
    padding: 1.2rem 0.8rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.notice-th.notice-number { width: 80px; }
.notice-th.notice-category { width: 100px; }
.notice-th.notice-title { width: auto; }
.notice-th.notice-author { width: 120px; }
.notice-th.notice-date { width: 120px; }
.notice-th.notice-views { width: 100px; }

.notice-row {
    transition: background-color 0.3s ease;
}

.notice-row:hover {
    background-color: #f8f9fa;
}

.notice-td {
    padding: 1.2rem 0.8rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    font-size: 1.3rem;
}

.notice-td.notice-title {
    text-align: left;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.notice-link:hover {
    color: #ce1122;
}

.category-badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    font-size: 1.0rem;
    font-weight: 500;
    text-align: center;
}

.category-공지사항 {
    background: #fde8e8;
    color: #c53030;
}

.category-공고 {
    background: #fff4e6;
    color: #dd6b20;
}

.category-뉴스 {
    background: #e3f2fd;
    color: #1976d2;
}

.category-일반 {
    background: #e8f5e8;
    color: #388e3c;
}

.category-FAQ {
    background: #f3e5f5;
    color: #8e24aa;
}

/* 기존 카테고리들 (하위 호환성) */
.category-채용 {
    background: #fff4e6;
    color: #dd6b20;
}

.category-이벤트 {
    background: #e8f5e8;
    color: #388e3c;
}

.new-badge {
    display: inline-block;
    background: #ce1122;
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 0.4rem;
}

/* 무한스크롤 로더 */
.infinite-scroll-loader {
    text-align: center;
    padding: 4rem 0;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ce1122;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.scroll-end-message {
    text-align: center;
    padding: 2.5rem 0;
    color: #999;
    font-size: 1.2rem;
    border-top: 1px solid #eee;
    margin-top: 1.5rem;
}

.scroll-end-message p {
    margin: 0;
}

/* 새로운 모달 스타일 */
.new-notice-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.new-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.new-modal-dialog {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    margin: 5vh auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: newModalShow 0.3s ease-out;
}

@keyframes newModalShow {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.new-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #ce1122, #e53e3e);
}

.new-modal-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.new-modal-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2.4rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.new-modal-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.new-modal-body {
    padding: 30px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.new-notice-meta {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.new-meta-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.new-meta-row:last-child {
    margin-bottom: 0;
}

.new-meta-label {
    font-weight: 600;
    color: #333;
    min-width: 70px;
    font-size: 1.4rem;
}

.new-meta-value {
    color: #555;
    font-size: 1.4rem;
}

.new-notice-content {
    line-height: 1.8;
    color: #333;
    font-size: 1.5rem;
}

.new-notice-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ce1122;
    margin: 25px 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #ce1122;
}

.new-notice-content h3:first-child {
    margin-top: 0;
}

.new-notice-content p {
    margin-bottom: 15px;
}

.new-notice-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.new-notice-content li {
    margin-bottom: 8px;
}

/* 모달 내 이미지 스타일 */
.new-notice-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.new-notice-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

/* 이미지 갤러리 스타일 */
.new-notice-content div[style*="display: flex"] img {
    border-radius: 6px;
    transition: transform 0.2s ease;
}

.new-notice-content div[style*="display: flex"] img:hover {
    transform: scale(1.05);
}

/* 반응형 */
@media (max-width: 768px) {
    .new-modal-dialog {
        width: 95%;
        margin: 2vh auto;
        max-height: 96vh;
    }
    
    .new-modal-header {
        padding: 15px 20px;
    }
    
    .new-modal-title {
        font-size: 1.6rem;
    }
    
    .new-modal-body {
        padding: 20px;
    }
    
    .new-notice-meta {
        padding: 15px;
    }
    
    .new-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .new-meta-label {
        min-width: auto;
        font-size: 1.3rem;
    }
    
    .new-meta-value {
        font-size: 1.3rem;
    }
    
    .new-notice-content {
        font-size: 1.4rem;
    }
    
    .new-notice-content h3 {
        font-size: 1.6rem;
    }
}

/* ===========================================
   채용 페이지 스타일
=========================================== */
.recruitment-process {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.section-title h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    position: relative;
    letter-spacing: -0.02em;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, #ce1122, #ff4757);
    border-radius: 2px;
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.process-step:hover {
    transform: translateY(-15px);
}

.step-number {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ce1122, #ff4757);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 auto 2.5rem;
    box-shadow: 0 10px 30px rgba(206, 17, 34, 0.3);
    position: relative;
    transition: all 0.4s ease;
    border: 3px solid white;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(206, 17, 34, 0.4);
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ce1122, #ff4757);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-step:hover .step-number::before {
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

.step-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.process-step:hover .step-content h4 {
    /* Prevent heading color from changing on hover; keep original color */
    color: inherit !important;
}

/* 장애인 채용절차 배경 개선 */
.disabled-recruitment {
    background: linear-gradient(135deg, rgba(0,0,0,0.0), rgba(0,0,0,0.0)), url('../new_images/sub/proc_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

.disabled-recruitment::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0,0,0,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.disabled-recruitment .section-title h3,
.disabled-recruitment .step-content h4 {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.disabled-recruitment .step-number {
    background: rgba(255,255,255,0.95);
    color: #ce1122;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.2);
}

.disabled-recruitment .process-step:hover .step-number {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.disabled-recruitment .process-steps::before {
    background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,0.4));
}

/* 부드러운 스크롤 애니메이션 */
.process-step {
    opacity: 0;
    transform: translateY(80px) scale(0.8);
    will-change: transform, opacity;
}

.process-step .step-number {
    transform: scale(0) rotate(-180deg);
    will-change: transform;
}

.process-step .step-content {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
    .process-steps {
        gap: 2rem;
    }
    
    .process-steps::before {
        left: 8%;
        right: 8%;
    }
    
    .notice-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .search-input {
        width: 160px;
        font-size: 1.1rem;
        padding: 0.7rem 1rem;
    }
}

@media (max-width: 768px) {
    .recruitment-process {
        padding: 6rem 0;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 4rem;
        align-items: center;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        max-width: 300px;
        width: 100%;
    }
    
    .section-title h3 {
        font-size: 2.8rem;
    }
    
    .step-number {
        width: 90px;
        height: 90px;
        font-size: 1.4rem;
    }
    

    
    /* 공지사항 반응형 */
    .notice-table {
        font-size: 1.1rem;
    }

    .notice-th,
    .notice-td {
        padding: 0.8rem 0.4rem;
    }

    .notice-th.notice-author,
    .notice-th.notice-date,
    .notice-th.notice-views {
        display: none;
    }

    .notice-td.notice-author,
    .notice-td.notice-date,
    .notice-td.notice-views {
        display: none;
    }

    .notice-td.notice-title {
        text-align: left;
        max-width: none;
        overflow: visible;
        white-space: normal;
    }
    
    /* 모달 반응형 */
    .modal-container {
        width: 95%;
        max-height: 95vh;
        margin: 2.5vh auto;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-content .notice-detail-header {
        padding: 1.5rem 2rem;
    }
    
    .modal-content .notice-detail-content {
        padding: 2rem;
    }
    
    .modal-content .notice-detail-title {
        font-size: 2rem;
    }
    
    .modal-content .notice-detail-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-content .notice-detail-content h3 {
        font-size: 1.6rem;
    }
    
    .modal-content .notice-detail-content p,
    .modal-content .notice-detail-content li {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .recruitment-process {
        padding: 4rem 0;
    }
    
    .section-title {
        margin-bottom: 4rem;
    }
    
    .section-title h3 {
        font-size: 2.4rem;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.3rem;
    }
    
    .step-content h4 {
        font-size: 1.5rem;
    }
}

/* ===========================================
   지속가능경영 페이지 스타일
=========================================== */
/* 비디오 모달 스타일 수정 */
.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100% - 20px);
}

.modal-dialog.modal-lg {
    max-width: 800px;
    margin: 1.75rem auto;
}

.modal-content {
    background-color: #000;
    border: none;
    border-radius: 8px;
}

.modal-header {
    border-bottom: none;
    padding: 1rem;
    background: #fff;
    border-radius: 8px 8px 0 0;
    position: relative;
    z-index: 1051;
}

.modal-header .modal-title {
    color: #000;
    font-weight: bold;
}

.modal-header .close {
    color: #000;
    opacity: 1;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1052;
    background: none;
    border: none;
    outline: none;
}

.modal-header .close:hover {
    color: #000;
    opacity: 0.7;
}

.modal-body2 {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    border-radius: 0 0 8px 8px;
}

.modal-body2 video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 0 0 8px 8px;
}

.modal-body {
    padding: 0;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 비율 */
}

.modal-body video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.hero-section {
    position: relative;
    height: 50vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    transform: scale(1.1);
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    background-color: rgba(0, 0, 0, 0.8);
    animation: brightenUp 1.5s ease-out forwards;
}

@keyframes brightenUp {
    0% {
        background-color: rgba(0, 0, 0, 0.9);
    }
    50% {
        background-color: rgba(0, 0, 0, 0.5);
    }
    100% {
        background-color: rgba(0, 0, 0, 0.1);
    }
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 1.5s ease-out;
    z-index: 2;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.97);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUpText {
    0% {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.hero-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 60px 20px 0px;
    z-index: 50;
}

.hero-text-content {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    max-width: 1200px;
    width: 100%;
    z-index: 60;
    animation: slideUpText 1.2s ease-out 0.3s both;
}

.hero-text-content_eng {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    max-width: 1200px;
    width: 100%;
    z-index: 60;
    animation: slideUpText 1.2s ease-out 0.3s both;
}

.hero-text-content_main {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    max-width: 1200px;
    width: 100%;
    z-index: 60;
    animation: slideUpText 1.2s ease-out 0.3s both;
}

.hero-title {
    font-size: 10rem;
    font-weight: bold;
    margin-bottom: 2.7rem;
}

.hero-description {
    font-size: 2rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 0;
}

.content-section {
    background: white;
    position: relative;
    padding: 0px 0;
}

.company-intro {
    padding: 4rem 1rem;
    max-width: 120rem;
    margin: 0 auto;
}

/* 타임라인 스타일 */
.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}
.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50px;
  bottom: 0;
  width: 4px;
  background-color: #FF0000;
  transform: translateX(-50%);
  z-index: 1;
}
.timeline-item { position: relative; margin: 15px 0; display:flex; align-items:center; min-height:200px; }
.timeline-item-left { justify-content:flex-start }
.timeline-item-right { justify-content:flex-end }
.timeline-card { width:45%; background:#fff; border-radius:12px; box-shadow:0 4px 20px rgba(0,0,0,0.1); overflow:hidden; position:relative; border:1px solid #e0e0e0 }
.timeline-card img { width:100%; height:300px; object-fit:cover }
.timeline-content{padding:20px}
.timeline-content h4{font-size:1.5rem;margin:0 0 10px 0;color:#333}
.timeline-content p{font-size:14px;color:#666;line-height:1.6;margin:0}
.timeline-dot{position:absolute;left:50%;top:150px;transform:translate(-50%,0);width:20px;height:20px;background:#FF0000;border:4px solid #fff;border-radius:50%;z-index:10;box-shadow:0 2px 8px rgba(255,68,68,0.3)}
.timeline-dot::after{content:'';position:absolute;top:50%;height:4px;background:#FF0000;transform:translateY(-50%);z-index:5}
.timeline-item-right .timeline-dot::after{left:100%;width:calc(45% - 40px);min-width:52px;max-width:140px}
.timeline-item-left .timeline-dot::after{right:100%;width:calc(45% - 40px);min-width:52px;max-width:140px}
.timeline-year{width:100px;text-align:center;font-size:24px;font-weight:bold;color:#fff;background:#FF0000;padding:10px 15px;border-radius:8px;margin:10px auto 30px auto;display:block;z-index:2}
.timeline-year.with-margin{margin-top:60px}

/* 지속가능경영 타임라인 반응형 */
@media (max-width:768px) {
    .timeline-container {
        padding: 0 15px;
    }

    /* 세로선은 왼쪽에 보이도록 고정 */
    .timeline-container::before {
        left: 20px;
        top: 60px;
        transform: none;
    }

    /* 모든 아이템을 왼쪽 정렬로 배치 (모바일에서 카드가 우측에 위치) */
    .timeline-item {
        justify-content: flex-start !important;
        margin: 80px 0 !important;
        min-height: auto;
    }

    /* 카드 크기와 좌측 여백을 조정하여 세로선과 충분한 간격 확보 */
    .timeline-card {
        width: calc(100% - 100px);
        margin-left: 80px;
    }

    /* 도트는 세로선 위에 표시 */
    .timeline-dot {
        left: 20px;
        top: 100px;
        transform: translate(-50%, 0);
    }

    /* 도트에서 카드로 가는 연결선: 도트 중심에서 카드 시작까지 고정 길이 */
    .timeline-dot::after {
        left: 20px;
        width: 50px !important;
        right: auto;
        height: 4px;
        background-color: #FF0000;
    }

    .timeline-year {
        width: 80px;
        font-size: 18px;
        margin: 60px auto 40px auto;
        padding: 8px 12px;
    }

    .timeline-card img {
        height: 300px;
        object-fit: cover;
    }

    .timeline-content h4 {
        font-size: 16px;
    }

    .timeline-content p {
        font-size: 13px;
    }

    .greeting_wrap {
        display: block !important;
        margin: 2rem 0 3rem !important;
        margin-left: 0 !important;
        text-align: center;
    }

    .greeting_wrap > img {
        display: none; /* 모바일에서는 sun_img 숨기기 */
    }
}

/* ===========================================
   신고센터 페이지 스타일
=========================================== */
/* 신고센터 특별 스타일 */
.report-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 40px;
}

.report-form h3 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF0000;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: #FF0000;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #e60000;
}

/* 신고센터 반응형 */
@media (max-width:768px) {
    .report-form-container {
        margin: 20px;
        padding: 20px;
    }

    .hero-title {
        font-size: 6rem;
    }
}

/* 탭 메뉴 스타일 */
.tab-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tab-menu {
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 50px;
    background: white;
    position: relative;
    gap: 8px;
    padding: 0 10px;
}

.tab-menu .tab-item {
    background: none;
    border: none;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px 8px 0 0;
    white-space: nowrap;
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-bottom: none;
}

.tab-menu .tab-item:hover {
    color: #374151;
    background-color: rgba(249, 250, 251, 0.8);
    transform: translateY(-1px);
}

.tab-menu .tab-item.active {
    color: #FF0000;
    background-color: white;
    border-color: #e8e8e8;
    border-bottom-color: white;
    font-weight: 600;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.tab-menu .tab-item.active::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF0000, #ff3333);
    border-radius: 2px 2px 0 0;
}

.tab-content {
    min-height: 500px;
    padding: 30px 0;
    background: white;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: -8px;
}

.tab-panel {
    display: none;
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 30px;
}

.tab-panel.active {
    display: block;
}

.tab-panel img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tab-panel img:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* 탭 메뉴 반응형 */
@media (max-width: 768px) {
    .tab-menu {
        flex-direction: column;
        gap: 0;
        padding: 0;
        border-bottom: none;
        background: #f8f9fa;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .tab-menu .tab-item {
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #e8e8e8;
        margin-bottom: 0;
        padding: 18px 20px;
    }
    
    .tab-menu .tab-item:last-child {
        border-bottom: none;
    }
    
    .tab-menu .tab-item.active {
        background: #FF0000;
        color: white;
        border-bottom-color: #FF0000;
        font-weight: 600;
    }
    
    .tab-menu .tab-item.active::before {
        display: none;
    }
    
    .tab-content {
        border-radius: 12px;
        margin-top: 16px;
    }
    
    .tab-panel {
        padding: 15px 20px;
    }
}

/* 통합 탭 메뉴 스타일 (human-rights.php, report.php) */

/* 신고센터 페이지 전용 CSS */
.report-content {
    padding: 40px 0 80px;
    background: #ffffff;
}

.report-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 상단 인트로 */
.report-intro {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 20px;
}

.report-intro h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #101010;
    margin-bottom: 20px;
}

.report-intro p {
    font-size: 1.8rem;
    color: #555;
    line-height: 1.6;
}

.report-tab-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    border-bottom: 2px solid #e0e0e0;
    gap: 0;
}

.report-tab {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 20px 40px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    white-space: nowrap;
    min-width: 250px;
}

.report-tab:first-child {
    border-radius: 8px 0 0 0;
}

.report-tab:last-child {
    border-radius: 0 8px 0 0;
}

.report-tab:hover {
    background: #e9ecef;
    color: #666;
}

.report-tab.active {
    background: #ffffff;
    color: #c92735;
    border: 1px solid #c92735;
    border-bottom: 4px solid #c92735;
    box-shadow: 0 -2px 8px rgba(201, 39, 53, 0.2);
    font-weight: 700;
}

/* 탭 컨텐츠 */
.report-tab-content {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.report-tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* 추가 신고센터 스타일 */
.mt50 {
    margin-top: 50px;
}

.mt30 {
    margin-top: 30px;
}

.clfix:after {
    content: "";
    display: table;
    clear: both;
}

.maqutxt {
    font-size: 1.6rem;
    font-weight: 350;
    line-height: 1.6;
    color: #555;
    text-align: left;
    margin-bottom: 40px;
}

.maqutit {
    font-size: 2rem;
    font-weight: 500;
    color: #101010;
    margin-top: 80px;
    padding-bottom: 20px;
    border-bottom: 2px solid #101010;
    position: relative;
}

.maqutit span {
    color: red;
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    top: 10px;
}

.maqutit span:after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: red;
    left: -15px;
    top: 40%;
}

.maqubox ol {
    margin-left: -50px;
}

.maqubox ol li {
    width: calc(50% - 50px);
    margin-top: 40px;
    margin-left: 50px;
    float: left;
    position: relative;
}

.maqubox ol li.full {
    width: calc(100% - 50px);
}

.maqubox ol li p {
    font-size: 1.7rem;
    color: #343434;
    margin-bottom: 10px;
    position: relative;
}

.maqubox ol li p.point {
    display: inline-block;
}

.maqubox ol li p.point:after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: red;
    right: -10px;
    top: 10px;
}

.maqubox ol li input[type=text],
.maqubox ol li input[type=email] {
    width: 100%;
    border: none;
    height: 60px;
    box-sizing: border-box;
    padding: 10px 20px;
    background: #f7f7f7;
    font-size: 1.7rem;
    color: #000;
}

.maqubox ol li input[type=email]::-webkit-input-placeholder,
.maqubox ol li ::-webkit-input-placeholder {
    color: #9e9e9e;
}

.maqubox ol li textarea {
    width: 100%;
    border: none;
    height: 260px;
    box-sizing: border-box;
    padding: 10px 20px;
    background: #f7f7f7;
    font-size: 1.7rem;
    color: #000;
}

.maqubox ol li .count {
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 1.7rem;
    color: #919191;
}

.maqubox ol li span.ra {
    position: relative;
    display: inline-block;
    padding-left: 40px;
    line-height: 60px;
    font-size: 1.7rem;
    color: #343434;
    margin-right: 25px;
}

.maqubox ol li span.ra input {
    width: 0;
    height: 0;
}

.maqubox ol li span.ra input:after {
    cursor: pointer;
    content: '';
    opacity: 1;
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid #dfdfdf;
    border-radius: 100%;
    left: 0;
    background: #fff;
    top: 50%;
    margin-top: -15px;
}

.maqubox ol li span.ra label {
    cursor: pointer;
}

.maqubox ol li.report-conditional-field.is-hidden {
    display: none;
}

.maqubox ol li span.ra input:checked:after {
    border: 8px solid #c92735;
    width: 14px;
    height: 14px;
}

.maqubox p.txt {
    font-size: 1.7rem;
    color: #343434;
    margin-top: 40px;
    font-weight: 350;
    line-height: 1.6;
}

.potxt {
    margin-top: 20px;
}

.potxt>dd {
    position: relative;
    font-size: 1.6rem;
    font-weight: 350;
    padding-left: 15px;
    margin-bottom: 5px;
}

.potxt>dd:after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: #000;
    left: 0;
    top: 50%;
    margin-top: -2px;
}

.maqufile {
    position: relative;
    background: #f7f7f7;
    font-size: 1.7rem;
    color: #9e9e9e;
    box-sizing: border-box;
    padding: 28px 20px;
    font-weight: 350;
    overflow: hidden;
}

.maqufile input[type="file"] {
    position: absolute;
    width: calc(100% + 83px);
    height: 100%;
    left: 0px;
    top: 0;
    opacity: 0;
    padding: 15px;
    cursor: pointer;
}

.maqufile span {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #000;
    background: #ddd;
    padding: 10px 20px;
    border-radius: 4px;
    pointer-events: none;
}

.polibox {
    background: #f7f7f7;
    padding: 15px;
    margin-top: 25px;
    height: 125px;
    overflow-y: auto;
    font-size: 1.6rem;
    line-height: 2.2rem;
    font-weight: 350;
}

.polibox strong {
    display: block;
    margin-bottom: -10px;
    font-weight: 450;
}

.polick {
    text-align: right;
    margin-top: 20px;
    font-size: 1.6rem;
    font-weight: 350;
}

.polick span {
    margin-right: 20px;
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-block;
}

.polick span input {
    width: 24px;
    height: 24px;
    accent-color: #c92735;
}

.polick label {
    cursor: pointer;
}

.ac {
    text-align: center;
}

.list_btn2 {
    background: #c92735;
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.list_btn2:hover {
    background: #b02030;
}

/* 신고센터 폼 스타일 */
.report-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 1.6rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1.4rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c92735;
    box-shadow: 0 0 0 2px rgba(201, 39, 53, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    background: #c92735;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background: #a91d2a;
}

.form-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    color: #856404;
    font-size: 1.4rem;
    line-height: 1.6;
}

/* 반응형 */
@media screen and (max-width: 768px) {
    .report-tab-menu {
        flex-direction: column;
        margin: 0 20px 30px;
    }
    
    .report-tab {
        border-radius: 0;
        border-bottom: 1px solid #ddd;
        padding: 18px 25px;
        min-width: auto;
    }
    
    .report-tab:first-child {
        border-radius: 8px 8px 0 0;
    }
    
    .report-tab:last-child {
        border-radius: 0 0 8px 8px;
        border-bottom: none;
    }
    
    .report-tab.active {
        background: #c92735;
        color: white;
        border-bottom-color: #c92735;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .report-form {
        padding: 20px;
    }
    
    .btn-submit {
        width: 100%;
        padding: 18px;
    }
    
    .report-intro h2 {
        font-size: 2.4rem;
    }

    .report-intro p {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 640px) {
    .maqubox ol {
        margin-left: 0px;
    }

    .maqubox ol li {
        width: calc(100% - 0px);
        margin-left: 0px;
        float: none;
    }

    .maqubox ol li.full {
        width: calc(100% - 0px);
    }

    .maqutit {
        font-size: 1.8rem;
        margin-top: 60px;
    }

    .maqutxt {
        font-size: 1.4rem;
    }

    .maqubox ol li p {
        font-size: 1.5rem;
    }

    .maqubox ol li input[type=text],
    .maqubox ol li input[type=email],
    .maqubox ol li textarea {
        font-size: 1.5rem;
    }

    .maqubox ol li span.ra {
        font-size: 1.5rem;
        margin-right: 15px;
    }
}
