/* =====================================================
   Seoul Senior Club Association - Main Stylesheet
   ===================================================== */

/* CSS Variables */
:root {
    --primary-orange: #2e9e5e;
    --primary-orange-dark: #238c4e;
    --text-dark: #222222;
    --text-medium: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #eeeeee;
    --bg-warm: #fef8f4;
    --footer-bg: #222222;
    --border-color: #e0e0e0;

    --font-main: 'Noto Sans KR', 'Apple Gothic', 'Open Sans', sans-serif;

    --header-height: 80px;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

.footer-br-mo {
    display: none;
}

.footer-br-pc {
    display: inline;
}

.footer-mobile-row {
    display: inline;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================================================
   Header
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-text small {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
}

.logo-img {
    height: 51px;
    width: auto;
    object-fit: contain;
}

.gnb>ul {
    display: flex;
    gap: 40px;
}

.gnb>ul>li {
    position: relative;
}

.gnb>ul>li>a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 10px 0;
    position: relative;
    display: block;
}

.gnb>ul>li>a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: var(--transition);
}

.gnb>ul>li:hover>a {
    color: var(--primary-orange);
}

.gnb>ul>li:hover>a::after {
    width: 100%;
}

/* Submenu (Dropdown) Styles */
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    padding: 10px 0;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu li {
    display: block;
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 400;
    color: #222222;
    text-align: center;
    transition: all 0.2s ease;
}

.submenu li a::after {
    display: none;
}

.submenu li a:hover {
    background: rgba(46, 158, 94, 0.1);
    color: #2e9e5e;
}

.gnb>ul>li>a.btn-apply {
    color: #5cb85c;
    font-weight: 700;
}

.gnb>ul>li>a.btn-apply:hover {
    color: #449d44;
}

.gnb>ul>li>a.btn-apply::after {
    background: #5cb85c;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* =====================================================
   Hero Slider
   ===================================================== */
.hero-slider {
    margin-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
}

.slide {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    /* 🔧 히어로 슬라이더 높이 설정 (PC 화면) */
    /* 현재값: 600px - 이 값을 변경하면 슬라이더 높이가 조정됩니다 */
    /* 예시: 500px (낮게), 700px (높게), 800px (더 높게) */
    min-height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    width: 100%;
    padding: 0 60px;
    text-align: left;
}

.sub-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .main-title {
        font-size: 32px;
    }

    .slide {
        /* 🔧 히어로 슬라이더 높이 설정 (모바일 화면) */
        /* 현재값: 400px - 모바일에서의 슬라이더 높이 */
        /* 예시: 350px (낮게), 450px (높게), 500px (더 높게) */
        min-height: 400px;
    }

    .slide-content {
        padding: 0 30px;
    }

    .slide-desc {
        font-size: 12px;
        /* Mobile: 12px */
    }
}

.main-title .highlight {
    color: var(--primary-orange);
}

.slide-desc {
    font-size: 22px;
    /* PC view: 22px, Mobile view: 12px (defined in mobile media query) */
    color: rgba(255, 255, 255, 0.9);
    margin-top: 20px;
    font-weight: 300;
}

/* Slick Slider Custom */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.slick-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex !important;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.slick-dots li {
    margin: 0;
}

.slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    font-size: 0;
    transition: var(--transition);
}

.slick-dots li button::before {
    display: none;
}

.slick-dots li.slick-active button {
    background: var(--primary-orange);
    transform: scale(1.2);
}

.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 10;
    font-size: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.slick-prev {
    left: 30px;
}

.slick-next {
    right: 30px;
}

.slick-prev::before,
.slick-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--text-dark);
    border-right: 2px solid var(--text-dark);
}

.slick-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.slick-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

.slick-prev:hover,
.slick-next:hover {
    background: var(--primary-orange);
}

.slick-prev:hover::before,
.slick-next:hover::before {
    border-color: white;
}

/* =====================================================
   Main Business Section
   ===================================================== */
.main-business {
    padding: 80px 0;
    background-color: #e8f5e9;
}

.business-title {
    font-size: 36px;
    font-weight: 700;
    color: #2e7d32;
    text-align: center;
    margin-bottom: 0;
}

.business-header {
    justify-content: center;
    margin-bottom: 50px;
    gap: 20px;
}

.business-header .btn-more {
    background: #2e7d32;
    color: white;
    border-color: #2e7d32;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

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

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

    .card-icon {
        width: 140px;
        height: 140px;
    }
}

.business-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 155px;
    height: 155px;
    margin: 0 auto 25px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Added to ensure image stays circular */
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-icon svg {
    width: 44px;
    height: 44px;
    color: #2e7d32;
}

.business-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 8px;
    /* Reduced from 15px */
}

.business-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-orange);
}

/* =====================================================
   News & Media Section
   ===================================================== */
.news-media-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.news-media-wrapper {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 30px;
}

/* 🔧 영상 갤러리 박스 스타일 */
.article-list-box,
.video-box {
    background: var(--bg-white);
    /* 🔧 박스 배경색 */
    border-radius: 15px;
    /* 🔧 박스 모서리 둥글기 */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    /* 🔧 박스 그림자 */
    overflow: hidden;
}

/* 🔧 영상 갤러리 헤더 (제목 부분) */
.article-list-box .box-header,
.video-box .box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 🔧 헤더 패딩 - 제목 위치를 아래로 내리려면 첫 번째 숫자(상하)를 늘리세요 */
    /* 예: padding: 30px 25px; (위쪽 여백 증가) */
    /* 또는 padding-top만 조정: padding: 30px 25px 20px 25px; (위:30px, 우:25px, 아래:20px, 좌:25px) */
    padding: 10px 5px 20px 25px;
    /* 위:30px, 우:25px, 아래:20px, 좌:25px */
    /* 현재값: 상하 20px, 좌우 25px */
    border-bottom: 2px solid var(--primary-orange);
    /* 🔧 하단 구분선 */
    background: var(--bg-white);
}

/* 🔧 영상 갤러리 제목 글자 크기 및 위치 */
.article-list-box .box-header h3,
.video-box .box-header h3 {
    font-size: 18px;
    /* 🔧 제목 글자 크기 (기본값: 18px) */
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 15px;
    /* 🔧 제목을 아래로 내리려면 이 값을 늘리세요 (예: 5px, 10px 등) */
}

.article-list {
    padding: 15px 25px;
}

.article-list li {
    border-bottom: 1px solid var(--border-color);
}

.article-list li:last-child {
    border-bottom: none;
}

.article-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 15px;
}

.article-list li a:hover .article-title {
    color: var(--primary-orange);
}

.article-title {
    flex: 1;
    font-size: 9px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.article-date {
    font-size: 13px;
    color: var(--text-light);
    flex-shrink: 0;
}

/* 🔧 영상 갤러리 비디오 영역 */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 45px;
    /* 🔧 비디오를 아래로 내리려면 이 값을 늘리세요 (예: 10px, 20px 등) */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Notice and Jobs Stack */
.notice-jobs-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* 🔧 알림사항과 구인/구직 박스 사이의 간격 (기본값: 20px) */
}

/* 🔧 알림사항(notice-box)과 구인/구직(job-box) 박스 스타일 */
.notice-jobs-stack .grid-item {
    background: var(--bg-white);
    /* 🔧 박스 배경색 */
    border-radius: 15px;
    /* 🔧 박스 모서리 둥글기 (기본값: 15px) */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    /* 🔧 박스 그림자 효과 */
    overflow: hidden;
}

.notice-jobs-stack .box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    /* 🔧 헤더 내부 패딩 (상하: 20px, 좌우: 25px) */
    border-bottom: 2px solid var(--primary-orange);
    background: var(--bg-white);
}

.notice-jobs-stack .box-header h3 {
    font-size: 18px;
    /* 🔧 제목 글자 크기 (기본값: 18px) */
    font-weight: 700;
    color: var(--text-dark);
}

.notice-jobs-stack .list {
    padding: 5px 20px;
    /* 🔧 리스트 전체 패딩 (상하: 15px, 좌우: 25px) */
}

.notice-jobs-stack .list li {
    border-bottom: 1px solid var(--border-color);
}

.notice-jobs-stack .list li:last-child {
    border-bottom: none;
}

.notice-jobs-stack .list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 0;
    /* 🔧 각 리스트 항목의 상하 패딩 (기본값: 15px) */
    gap: 15px;
    /* 🔧 제목과 날짜 사이의 간격 (기본값: 15px) */
}

.notice-jobs-stack .list li a:hover .title {
    color: var(--primary-orange);
}

.notice-jobs-stack .list .title {
    flex: 1;
    font-size: 14px;
    /* 🔧 리스트 항목 제목 글자 크기 (기본값: 14px) */
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.notice-jobs-stack .list .date {
    font-size: 12px;
    /* 🔧 날짜 글자 크기 (기본값: 13px) */
    color: var(--text-light);
    flex-shrink: 0;
}

/* =====================================================
   Bento Gallery Section
   ===================================================== */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.btn-more {
    font-size: 14px;
    color: var(--text-medium);
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition);
}

.btn-more:hover {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}

.bento-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 15px;
}

.bento-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bento-item:hover img {
    transform: scale(1.1);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-item:hover .bento-overlay {
    opacity: 1;
}

.bento-overlay span {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

/* Gallery Cards (Home Page - Title Below Image) */
.gallery-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-card-home {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-card-img {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 4/3;
}

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

.gallery-card-home:hover .gallery-card-img img {
    transform: scale(1.05);
}

.gallery-card-info {
    text-align: left;
}

.gallery-card-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-card-date {
    font-size: 14px;
    color: var(--text-light);
}


/* =====================================================
   Location Section (Main Page)
   ===================================================== */
.location-section {
    padding: 80px 0;
    background: var(--bg-white);
}

/* 🔧 오시는길 - 왼쪽(지도)과 오른쪽(정보박스) 크기 비율 */
.location-wrapper {
    display: grid;
    /* 🔧 박스 크기 비율 조정 */
    /* 현재: 1fr 1fr = 50% : 50% (같은 크기) */
    /* 예시: 60% : 40% → grid-template-columns: 60% 40%; */
    /* 예시: 2fr 1fr = 66% : 33% (왼쪽이 2배 크기) */
    /* 예시: 1fr 2fr = 33% : 66% (오른쪽이 2배 크기) */
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* 🔧 왼쪽과 오른쪽 사이 간격 (기본값: 40px) */
    align-items: stretch;
}

.location-map {
    display: flex;
    flex-direction: column;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    /* Changed from calc(100% - 65px) to fill available space */
}

/* 🔧 오시는길 - 지도 크기 */
.map-container iframe {
    width: 100%;
    height: 95%;
    min-height: 350px;
    /* 🔧 지도의 최소 높이 (기본값: 400px) - 이 값을 늘리면 지도가 더 커집니다 */
    /* 예: min-height: 500px; (더 큰 지도) */
    /* 예: min-height: 600px; (훨씬 큰 지도) */
}

/* 🔧 오시는길 - 오른쪽 정보 박스 */
.location-info-box {
    background: #ffffff;
    /* 🔧 박스 배경색 - 흰색 */
    padding: 30px;
    /* 🔧 박스 내부 여백 */
    border-radius: 15px;
    /* 🔧 박스 모서리 둥글기 */
    height: 480px;
    /* 🔧 박스 높이 (100% = 왼쪽 지도와 같은 높이) */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    /* 🔧 깔끔한 그림자 효과 */
}

/* 🔧 오시는길 - 정보 블록 (주소, 오시는길, 운영시간) */
.info-block {
    margin-bottom: 10px;
    /* 🔧 블록 사이 간격 (기본값: 25px) */
    padding-bottom: 10px;
    /* 🔧 블록 하단 패딩 (기본값: 25px) */
    border-bottom: 1px solid var(--border-color);
    /* 🔧 구분선 */
}

.info-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* 🔧 오시는길 - 정보 블록 제목 */
.info-block h4 {
    font-size: 18px;
    /* 🔧 제목 글자 크기 (기본값: 18px) */
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 10px;
    /* 🔧 제목과 내용 사이 간격 (기본값: 15px) */
    text-align: center;
}

/* 🔧 오시는길 - 정보 블록 내용 */
.info-block p {
    font-size: 14px;
    /* 🔧 내용 글자 크기 (기본값: 14px) */
    color: var(--text-medium);
    line-height: 1.8;
    /* 🔧 줄 간격 (기본값: 1.8) */
    text-align: center;
}

.info-block p strong {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .location-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-container iframe {
        min-height: 300px;
    }

    .location-info-box {
        padding: 25px;
    }

    .info-block {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

/* =====================================================
   Content Grid Section
   ===================================================== */
.content-grid {
    padding: 80px 0;
    background: var(--bg-light);
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-item {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-orange);
}

.box-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.box-header .btn-more {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    border-radius: 5px;
}

.list li {
    margin-bottom: 15px;
}

.list li:last-child {
    margin-bottom: 0;
}

.list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.list li a:hover .title {
    color: var(--primary-orange);
}

.list .title {
    flex: 1;
    font-size: 15px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.list .date {
    font-size: 13px;
    color: var(--text-light);
    flex-shrink: 0;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: #f9f9f9;
    color: var(--text-medium);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.footer-info p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 5px;
    line-height: 1.8;
}

.footer-info p.footer-title {
    font-size: 15px;
    color: var(--text-dark);
}

.footer-info p span {
    color: var(--text-dark);
}

.footer-info p strong {
    color: var(--text-dark);
    font-weight: 700;
}

.footer-copyright {
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: 10px;
}

.footer-copyright p {
    font-size: 13px;
    color: var(--text-light);
}

.footer-copyright .highlight {
    color: #5cb85c;
    font-weight: 600;
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1024px) {
    .grid-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-item.job-box {
        grid-column: span 2;
    }

    .business-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-media-wrapper {
        grid-template-columns: 1fr;
    }

    .bento-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .bento-tall {
        grid-row: span 1;
    }

    .gallery-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .gnb {
        display: none;
        position: fixed;
        top: 50px;
        /* 헤더 높이만큼 아래에 위치 */
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 999;
    }

    .gnb>ul {
        flex-direction: column;
        gap: 0;
    }

    .gnb>ul>li>a {
        padding: 15px 10px;
        border-bottom: none;
        display: block;
    }

    /* Hide desktop hover underline effect in mobile */
    .gnb>ul>li>a::after {
        display: none !important;
    }

    .gnb>ul>li:last-child>a {
        border-bottom: none;
    }

    /* Submenu in mobile */
    .submenu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: #f8fcf8;
        border-radius: 8px;
        margin: 5px 0;
        padding: 5px 0;
        display: none;
        /* Hidden by default for accordion */
        overflow: hidden;
    }

    .has-submenu.active .submenu {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .submenu li a {
        color: #2e7d32;
        padding: 10px 15px 10px 25px;
        text-align: left;
        font-size: 14px;
        border-bottom: none !important;
    }

    /* Toggle indicator for mobile accordion */
    .has-submenu>a {
        position: relative;
        padding-right: 40px !important;
    }

    .has-submenu>a::after {
        content: '▼';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        transition: transform 0.3s ease, color 0.3s ease;
        color: #999;
        pointer-events: none;
    }

    .has-submenu.active>a::after {
        transform: translateY(-50%) rotate(180deg);
        color: var(--primary-color);
    }

    /* Show mobile menu when header has active class */
    .header.active .gnb,
    .gnb.mobile-open {
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile menu button animation when active */
    .header.active .mobile-menu-btn span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .header.active .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .header.active .mobile-menu-btn span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* News article list - prevent text overlap */
    .article-list li a {
        flex-wrap: wrap;
    }

    .article-title {
        flex: 1 1 100%;
        white-space: normal;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .article-date {
        flex: 1 1 100%;
        text-align: left;
    }

    /* News media section layout */
    .news-media-wrapper {
        grid-template-columns: 1fr;
    }

    .slide {
        min-height: 450px;
    }

    .slide-content {
        padding: 0 30px;
        text-align: center;
    }

    .main-title {
        font-size: 36px;
    }

    .slide-desc {
        font-size: 16px;
    }

    .slick-prev,
    .slick-next {
        display: none !important;
    }

    .grid-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid-home {
        grid-template-columns: 1fr;
    }

    .grid-item.job-box {
        grid-column: span 1;
    }

    .section-title {
        font-size: 24px;
    }

    .status-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .org-status,
    .product-section,
    .content-grid {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .logo-text strong {
        font-size: 16px;
    }

    .logo-text small {
        display: none;
    }

    .main-title {
        font-size: 26px;
    }

    .stat-number {
        font-size: 28px;
    }

    .product-item {
        flex: 0 0 250px;
    }

    .business-cards {
        grid-template-columns: 1fr;
    }

    .business-card {
        padding: 25px 20px;
    }

    .gallery-grid-home {
        gap: 15px;
    }
}

/* =====================================================
   Additional Mobile Fixes
   ===================================================== */
@media (max-width: 768px) {

    /* Header & Logo */
    .header-inner {
        padding: 0 15px;
    }

    .logo-img {
        height: 40px;
    }

    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Content Grid */
    .content-grid {
        padding: 30px 0;
    }

    .grid-row {
        gap: 20px;
    }

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

    .box-header h3 {
        font-size: 16px;
    }

    .list li a {
        padding: 12px 0;
    }

    .list .title {
        font-size: 13px;
        max-width: calc(100% - 80px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .list .date {
        font-size: 12px;
    }

    /* Business Section */
    .main-business {
        padding: 40px 0;
    }

    .business-cards {
        gap: 15px;
    }

    /* Gallery Home */
    .gallery-section {
        padding: 40px 0;
    }

    .gallery-grid-home {
        gap: 15px;
    }

    .gallery-card-home {
        border-radius: 8px;
    }

    .gallery-card-title {
        font-size: 13px;
    }

    .gallery-card-date {
        font-size: 11px;
    }

    /* News Media */
    .news-media-section {
        padding: 40px 0;
    }

    .article-list-box {
        padding: 20px 15px;
    }

    .video-box {
        padding: 20px 15px;
    }

    /* Location */
    .location-section {
        padding: 40px 0;
    }

    .location-map {
        height: 250px;
    }

    .location-info {
        padding: 25px 20px;
    }

    .location-info h4 {
        font-size: 16px;
    }

    .location-info p {
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding: 25px 0;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
    }

    .footer-info p {
        font-size: 11px;
        line-height: 1.8;
        color: #777;
        margin-bottom: 5px;
        word-break: keep-all;
    }

    .footer-title {
        display: block;
        margin-bottom: 8px;
        color: var(--text-dark);
    }

    .footer-title strong {
        font-size: 14px;
        display: block;
        margin-bottom: 5px;
    }

    .footer-title span {
        display: inline-block;
        margin: 0 5px;
    }

    .footer-info p span {
        display: inline-block;
        color: #555;
    }

    .footer-copyright {
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }

    .footer-copyright p {
        font-size: 10px;
        color: #999;
    }

    .footer-br-mo {
        display: block;
    }

    .footer-br-pc {
        display: none;
    }

    .footer-info .footer-mobile-row {
        display: block !important;
        margin-bottom: 5px;
    }

    .footer-info .footer-mobile-row:last-child {
        margin-bottom: 0;
    }
}

/* Extra small mobile */
@media (max-width: 360px) {
    .logo-img {
        height: 35px;
    }

    .list .title {
        font-size: 12px;
        max-width: calc(100% - 70px);
    }

    .grid-item {
        padding: 15px 12px;
    }

    .box-header h3 {
        font-size: 15px;
    }
}