/* ==========================================================================
   [7] Blog & Portfolio 섹션 배경 최적화
   ========================================================================== */
#blog-portfolio {
    position: relative;
    padding: 120px 0;
    
    /* 배경 설정 */
    background-image: url('../images/background.png'); /* 이미지 파일명 확인 필수 */
    background-size: cover;           /* 화면에 꽉 차게 */
    background-position: center;      /* 정중앙 배치 */
    background-repeat: no-repeat;
    
    /* 배경 혼합 효과: 이미지를 은은하게 처리하여 텍스트 가독성 확보 */
    background-blend-mode: lighten;   
    background-color: rgba(255, 255, 255, 0.92); /* 배경색 투명도를 높여 이미지를 더 연하게 조절 */
    
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 배경 위에 미세한 패턴이나 질감을 추가하고 싶을 때 (선택 사항) */
#blog-portfolio::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 51, 119, 0.03), transparent);
    pointer-events: none; /* 클릭 방해 금지 */
}

#blog-portfolio .container-fluid {
    max-width: 1500px; /* 더 넓은 슬라이더 확보 */
    height: 500px;
    margin: 0 auto;
    padding: 0 50px;
}

.flex-wrapper {
    display: flex;
    align-items: center;
    gap: 80px; /* 텍스트와 슬라이더 사이 충분한 간격 */
}

/* --- 왼쪽 텍스트 영역 --- */
.left-content {
    flex: 0 0 400px;
    z-index: 10;
}

.top-tag {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--point-pink);
    margin-bottom: 15px;
}

.section-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 900;
    color: #111;
    margin: 0;
}

.divider {
    width: 50px;
    height: 4px;
    background-color: #111;
    margin: 30px 0;
}

.section-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 40px;
}

.btn-blog-direct {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background-color: #111;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-blog-direct:hover {
    background-color: var(--point-pink);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- 오른쪽 슬라이더 영역 --- */
.right-slider-area {
    flex: 1;
    min-width: 0; /* flex 박스 내 슬라이더 깨짐 방지 */
}

.swiper-portfolio {
    padding: 20px 0; /* 그림자 효과 잘리지 않도록 여백 */
}

.portfolio-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.img-box {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    overflow: hidden;
}

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

.portfolio-card:hover .img-box img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 25px 20px;
    text-align: center;
    border-top: 1px solid #f5f5f5;
}

.dept {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}

.work-detail {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
    word-break: keep-all;
}

/* 반응형 대응 */
@media (max-width: 1200px) {
    .flex-wrapper { flex-direction: column; align-items: flex-start; gap: 50px; }
    .left-content { flex: 1; width: 100%; }
    #blog-portfolio .container-fluid { padding: 0 20px; }
}

/* ==========================================================================
   [8] 홍보마당 및 지도 섹션 스타일 (Promotion & Map)
   ========================================================================== */
#promotion-map {
    padding: 100px 0;
    background-color: #fff;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

#promotion-map .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

/* 상위 플렉스 레이아웃 보완 */
#promotion-map .flex-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px; /* 왼쪽과 오른쪽 사이 여백 확보 */
    width: 100%;
}

/* 헤더 공통 타이틀 */
.sub-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 30px;
}

/* --- 왼쪽 홍보마당 --- */
.left-promotion {
    flex: 0 0 450px; /* 너비 고정 */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
    border-bottom: 2px solid #111;
    padding-bottom: 12px;
}

.section-header .sub-title {
    margin-bottom: 0;
}

.view-more {
    text-decoration: none !important;
    color: #888;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.view-more:hover {
    color: var(--point-pink);
}

.promotion-content {
    min-height: 450px; /* 지도 높이와 균형을 맞춤 */
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    background-color: #fafafa; /* 빈 영역 가독성 */
    border-radius: 0 0 15px 15px;
}

.empty-msg {
    color: #bbb;
    font-size: 1rem;
}

/* --- 오른쪽 지도 영역 --- */
.right-map-area {
    flex: 1;
    min-width: 0;
}

.map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    background-color: #f8f9fa;
}

.map-canvas {
    width: 100%;
    height: 100%;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3rem;
    color: var(--point-pink);
    opacity: 0.6;
}

/* 지도 위 정보 카드 디자인 고도화 */
.map-info-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95); /* 미세한 투명감으로 세련미 부여 */
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    z-index: 5;
    border: 1px solid rgba(0,0,0,0.05);
    backdrop-filter: blur(5px); /* 배경 흐림 효과 */
}

.campus-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--main-blue);
}

.campus-address {
    font-size: 0.95rem;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

.campus-address .label {
    font-weight: 700;
    color: #888;
    margin-right: 12px;
    display: inline-block;
    width: 35px;
}

/* 반응형 설정 */
@media (max-width: 992px) {
    #promotion-map .flex-wrapper {
        flex-direction: column;
        gap: 50px;
    }

    .left-promotion {
        flex: 1;
        width: 100%;
    }
    
    .promotion-content {
        min-height: 300px;
    }
    
    .map-container {
        height: 350px;
    }
}


#cs-and-logos {
    padding: 80px 0 60px;
    background-color: #fff;
    font-family: 'Pretendard', sans-serif;
}

    #cs-and-logos .container-fluid {
        max-width: 1400px;
        margin: 0 auto;
    }



/* --- 심플 문의 배너 --- */
.contact-banner {
    margin-top: -100px;
    background: #fffbf0;
    border-radius: 15px;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #f9f0d5;
}

/* [수정] 전화번호 한 줄 확보를 위해 왼쪽 너비 축소 */
.banner-left {
    flex: 0 0 25%; /* 30% -> 25%로 축소 */
}

/* [수정] 중앙 영역을 넓히고 전화번호가 절대 꺾이지 않게 설정 */
.banner-center {
    flex: 1;
    text-align: center;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    padding: 0 20px;
}

.banner-right {
    flex: 0 0 28%; /* 버튼 영역 확보 */
    text-align: right;
}

.banner-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
    color: #222;
}

    .banner-title span {
        color: #ff3377;
        display: block;
    }

.info-item .label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #999;
    margin-bottom: 10px;
}

/* [수정] 문의게시판 라벨 아래 여백을 별도로 추가 */
.banner-right .label {
    margin-bottom: 25px; /* 버튼과의 간격을 위해 더 넓게 설정 */
}

/* [수정] 전화번호 한 줄 고정 */
.phone-num {
    font-size: 2.7rem; /* 한 줄에 딱 맞게 크기 미세 조정 */
    color: #ff9900;
    font-weight: 800;
    letter-spacing: -1px;
    white-space: nowrap; /* 강제 한 줄 유지 */
    display: block;
}

/* [수정] 운영시간 행간 및 텍스트 정돈 */
.working-time {
    margin-top: 8px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5; /* 두 줄일 때 보기 좋게 행간 조절 */
}

    .working-time span {
        font-size: 0.85rem;
        color: #aaa;
        display: block; /* 주말 안내를 다음 줄로 보냄 */
    }

/* 버튼 스타일 유지 */
.btn-inquiry {
    display: inline-flex;
    align-items: center;
    background: #333;
    color: #fff !important;
    padding: 15px 35px; /* 가로 여백 살짝 확대 */
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.3s;
}

    .btn-inquiry:hover {
        background: #000;
        transform: translateY(-2px);
    }

/* --- 구분 라인 & 로고 슬라이더 (기존과 동일) --- */

/* --- 로고 슬라이더 영역 --- */
.logo-slider-area {
    margin-top: 20px;
    padding: 15px 0;
}

.swiper-logos .swiper-wrapper {
    /* 기존 코드: 선형 애니메이션을 통해 부드럽게 흐르도록 설정 */
    transition-timing-function: linear !important;
}

.swiper-logos .swiper-slide {
    /* 기존 코드: 중앙 정렬 및 흑백 처리 */
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: 0.3s;
    cursor: pointer; /* 마우스 올렸을 때 클릭 가능함을 표시 */
}

    /* [추가] 마우스를 올렸을 때 로고가 선명해지는 효과 */
    .swiper-logos .swiper-slide:hover {
        filter: grayscale(0%);
        opacity: 1;
    }

.swiper-logos img {
    max-height: 40px; /* 로고들 높이를 일정하게 맞춤 */
    width: auto;
}
/* 푸터 공통 */
.footer {
    background: #333;
    color: #fff;
    font-size: 16px;
    width: 100%;
}

    /* 중앙 정렬용 컨테이너 */
    .footer .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box; /* 패딩이 너비에 포함되도록 */
    }

/* 상단 라인 (양옆 배치) */
.footer-top {
    background: #2a2a2a;
    padding: 15px 0;
    border-bottom: 1px solid #444;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-policy a {
    color: #aaa;
    text-decoration: none;
    margin-right: 20px;
}

    .footer-policy a.highlight {
        color: #ffcc00;
        font-weight: bold;
    }

.footer-contact-top {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

/* 메인 영역 (좌우 배치) */
.footer-main {
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* 왼쪽 정보보다 오른쪽 ARS를 약간 더 넓게 */
    gap: 60px;
}

/* 왼쪽 정보 */
.footer-left .indent {
    padding-left: 55px;
}

.info-dropdown {
    margin: 15px 0;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.copyright {
    font-size: 16px;
    color: #fff;
    margin-top: 30px;
}

.footer-logos {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

    .footer-logos img {
        height: 35px;
        filter: brightness(0) invert(1);
        opacity: 0.6;
    }

/* 오른쪽 ARS */
.footer-right {
    border-left: 1px solid #444;
    padding-left: 50px;
}

    .footer-right h4 {
        color: #fff;
        margin-bottom: 15px;
        font-size: 16px;
    }



/* 모바일 대응 */
@media (max-width: 992px) {
    .footer-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #444;
        padding-top: 30px;
    }

    
}


/* --- CS 및 로고 슬라이더 섹션 공통 --- */
#cs-and-logos {
    padding: 80px 0 60px;
    background-color: #fff;
    font-family: 'Pretendard', sans-serif;
}

#cs-and-logos .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- 심플 문의 배너 --- */
.contact-banner {
    margin-top: -100px;
    background: #fffbf0;
    border-radius: 15px;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #f9f0d5;
}

/* 왼쪽: 25% 축소 유지 */
.banner-left {
    flex: 0 0 25%;
}

/* 중앙: 영역 넓게 확보 및 좌우 경계선 */
.banner-center {
    flex: 1;
    text-align: center;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    padding: 0 20px;
}

/* 오른쪽: 버튼 영역 */
.banner-right {
    flex: 0 0 28%;
    text-align: right;
}

.banner-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
    color: #222;
}

.banner-title span {
    color: #ff3377;
    display: block;
}

.info-item .label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #999;
    margin-bottom: 10px;
}

.banner-right .label {
    margin-bottom: 25px; /* 버튼과의 간격 확보 */
}

/* 전화번호: 2.7rem 및 한 줄 고정 */
.phone-num {
    font-size: 2.7rem;
    color: #ff9900;
    font-weight: 800;
    letter-spacing: -1px;
    white-space: nowrap;
    display: block;
}

.working-time {
    margin-top: 8px;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.working-time small {
    font-size: 0.85rem;
    color: #aaa;
}

/* 버튼 스타일 */
.btn-inquiry {
    display: inline-flex;
    align-items: center;
    background: #333;
    color: #fff !important;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: 0.3s;
}

.btn-inquiry:hover {
    background: #000;
    transform: translateY(-2px);
}

/* --- 로고 슬라이더 영역 --- */
.logo-slider-area {
    margin-top: 20px;
    padding: 15px 0;
}

.swiper-logos .swiper-wrapper {
    transition-timing-function: linear !important; /* 부드러운 애니메이션 */
}

.swiper-logos .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%); /* 기본 흑백 */
    opacity: 0.4;
    transition: 0.3s;
    cursor: pointer;
}

/* 호스트 시 원색 복원 */
.swiper-logos .swiper-slide:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.swiper-logos img {
    max-height: 40px;
    width: auto;
}