@charset "utf-8";

/* 메인 홈 개선: config.php $MAIN_HOME_IMPROVE — header.local-main-home */

/* 0. 메인 콘텐츠 그리드 (index — body.main-home-improve) */
body.main-home-improve {
    --main-grid-max: 1360px;
    --main-grid-gutter: 24px;
}

body.main-home-improve .header__top > .header__inner,
body.main-home-improve .header__bottom .gnb-list,
body.main-home-improve .main-container .visual,
body.main-home-improve .main-container .main_notice_roll,
body.main-home-improve .contact-section .contact-wrap,
body.main-home-improve .contact-section .info_banner,
body.main-home-improve .contact-section .support,
body.main-home-improve .contact-section .inner,
body.main-home-improve .banner-list > .inner,
body.main-home-improve .footer.local-main-home-footer .footer__top .footer__inner,
body.main-home-improve .footer.local-main-home-footer .footer__brand .footer__inner,
body.main-home-improve .footer.local-main-home-footer .footer__bottom .footer__inner {
    width: 100% !important;
    max-width: var(--main-grid-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--main-grid-gutter) !important;
    padding-right: var(--main-grid-gutter) !important;
    box-sizing: border-box !important;
}

/* 배너: 캐러셀과 동일 gutter — visual__inner 박스 좌우선 맞춤 */
body.main-home-improve .main-container .visual {
    padding-top: 16px !important;
    padding-bottom: 28px !important;
}

body.main-home-improve .contact-section {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.main-home-improve .contact-section .main-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.main-home-improve .contact-section .etc_div {
    width: 100% !important;
}

body.main-home-improve .contact-section .etc_div .board {
    width: 49% !important;
    margin-left: 0 !important;
}

body.main-home-improve .contact-section .etc_div .board + .board {
    margin-left: 2% !important;
}

/* info_banner 배경 v2 — A + 문의 카드(ARS/게시판) 높이·라운드 맞춤 */
body.main-home-improve .contact-section .info_banner {
    margin-top: 30px !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: var(--main-grid-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* contact-grid · info_banner 4열 — 위 ARS|게시판 세로선과 아래 3칸 정렬 */
@media (min-width: 768px) {
    body.main-home-improve .contact-section .contact-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 30px !important;
    }

    body.main-home-improve .contact-section .contact-grid > .contact-card:first-child {
        grid-column: 1 / 3 !important;
    }

    body.main-home-improve .contact-section .contact-grid > .contact-card:last-child {
        grid-column: 3 / 5 !important;
    }

    body.main-home-improve .contact-section .info_banner {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 30px !important;
        align-items: stretch !important;
        overflow: visible !important;
    }

    body.main-home-improve .contact-section .info_banner .manual {
        grid-column: 1 !important;
    }

    body.main-home-improve .contact-section .info_banner .company {
        grid-column: 2 !important;
    }

    body.main-home-improve .contact-section .info_banner .ceo {
        grid-column: 3 / 5 !important;
    }
}

body.main-home-improve .contact-section .info_banner .manual,
body.main-home-improve .contact-section .info_banner .company,
body.main-home-improve .contact-section .info_banner .ceo {
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

body.main-home-improve .contact-section .info_banner .manual:hover,
body.main-home-improve .contact-section .info_banner .company:hover,
body.main-home-improve .contact-section .info_banner .ceo:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
}

body.main-home-improve .contact-section .info_banner .manual a,
body.main-home-improve .contact-section .info_banner .company a {
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    background-size: auto 72% !important;
    background-position: left center !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
    white-space: normal !important;
    border-radius: 18px !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
}

body.main-home-improve .contact-section .info_banner .ceo a {
    background-color: #5d8ffe !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: left center !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
    white-space: normal !important;
    border-radius: 18px !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
}

body.main-home-improve .contact-section .info_banner .manual a {
    background-image: url(../img/main/info_banner_manual_v2.jpg) !important;
}

body.main-home-improve .contact-section .info_banner .company a {
    background-image: url(../img/main/info_banner_company_v2.jpg) !important;
}

body.main-home-improve .contact-section .info_banner .ceo a {
    background-image: url(../img/main/info_banner_support_v2.jpg) !important;
}

body.main-home-improve .contact-section .info_banner .manual strong,
body.main-home-improve .contact-section .info_banner .company strong {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #222 !important;
}

body.main-home-improve .contact-section .info_banner .ceo strong {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #fff !important;
}

body.main-home-improve .contact-section .info_banner .manual a,
body.main-home-improve .contact-section .info_banner .company a {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #666 !important;
}

body.main-home-improve .contact-section .info_banner .ceo a {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #fff !important;
    font-weight: 400 !important;
}

@media (min-width: 1200px) {
    body.main-home-improve .contact-section .info_banner .manual,
    body.main-home-improve .contact-section .info_banner .company,
    body.main-home-improve .contact-section .info_banner .ceo {
        display: flex !important;
        min-height: 132px !important;
    }

    body.main-home-improve .contact-section .info_banner .manual a,
    body.main-home-improve .contact-section .info_banner .company a {
        float: none !important;
        margin-right: 0 !important;
        min-height: 132px !important;
        padding: 22px 16px 22px 94px !important;
    }

    body.main-home-improve .contact-section .info_banner .ceo a {
        float: none !important;
        min-height: 132px !important;
        aspect-ratio: auto !important;
        padding: 22px 20px 22px 28px !important;
    }
}

@media (min-width: 768px) and (max-width: 1314px) {
    body.main-home-improve .contact-section .info_banner .manual,
    body.main-home-improve .contact-section .info_banner .company,
    body.main-home-improve .contact-section .info_banner .ceo {
        display: flex !important;
        min-height: 124px !important;
    }

    body.main-home-improve .contact-section .info_banner .manual a,
    body.main-home-improve .contact-section .info_banner .company a {
        float: none !important;
        margin-right: 0 !important;
        min-height: 124px !important;
        padding: 20px 14px 20px 88px !important;
    }

    body.main-home-improve .contact-section .info_banner .ceo a {
        float: none !important;
        min-height: 124px !important;
        aspect-ratio: auto !important;
        padding: 20px 16px 20px 24px !important;
    }
}

@media (max-width: 767px) {
    body.main-home-improve .contact-section .info_banner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        overflow: visible !important;
    }

    body.main-home-improve .contact-section .info_banner .manual,
    body.main-home-improve .contact-section .info_banner .company,
    body.main-home-improve .contact-section .info_banner .ceo {
        background: none !important;
        min-height: 0 !important;
    }

    body.main-home-improve .contact-section .info_banner .manual a,
    body.main-home-improve .contact-section .info_banner .company a {
        margin-bottom: 0 !important;
        min-height: 120px !important;
        padding: 20px 14px 20px 88px !important;
    }

    body.main-home-improve .contact-section .info_banner .ceo a {
        min-height: 120px !important;
        aspect-ratio: auto !important;
        padding: 20px 14px 20px 24px !important;
    }
}

@media (min-width: 1025px) {
    /* 배너 이미지 넓히기 + 로그인 카드 축소 (약 58% : 42%) */
    body.main-home-improve .main-container .visual__slider.swiper-container {
        width: calc(100% - 404px) !important;
        max-width: none !important;
    }

    body.main-home-improve .main-container .visual__login {
        right: 0 !important;
        top: 50% !important;
        transform: translate(0, -50%) !important;
        width: 392px !important;
        height: 392px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body.main-home-improve .main-container .visual__login-inner {
        width: 82% !important;
        max-width: 260px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 4px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    body.main-home-improve .main-container .visual__login-con {
        width: 100% !important;
        text-align: center !important;
    }

    /* 게스트(비로그인) */
    body.main-home-improve .main-container .visual__login--guest .visual__login-inner--comment {
        margin-bottom: 14px !important;
        font-size: 18px !important;
        line-height: 1.45 !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em !important;
        width: 100% !important;
        text-align: center !important;
    }

    body.main-home-improve .main-container .visual__login--guest .visual__login-con .login_before {
        width: 100% !important;
    }

    body.main-home-improve .main-container .visual__login--guest .visual__login-con .login_btn {
        display: block !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 11px 14px 12px !important;
        font-size: 15px !important;
        text-align: center !important;
    }

    body.main-home-improve .main-container .visual__login--guest .visual__login-inner .member__line {
        margin-top: 10px !important;
        width: 100% !important;
        justify-content: space-between !important;
    }

    body.main-home-improve .main-container .visual__login--guest .visual__login-inner .member__line--left .list-dot > li .inside,
    body.main-home-improve .main-container .visual__login--guest .visual__login-inner .member__line--right .list-dot > li .inside {
        font-size: 13px !important;
    }

    /* 회원(로그인 후) */
    body.main-home-improve .main-container .visual__login--member .visual__login-inner {
        align-items: stretch !important;
        text-align: left !important;
    }

    body.main-home-improve .main-container .visual__login--member .visual__login-con .menu-comment {
        padding-top: 14px !important;
        width: 100% !important;
    }

    body.main-home-improve .main-container .visual__login--member .visual__login-con .menu-comment__txt {
        font-size: 20px !important;
        text-align: center !important;
    }

    body.main-home-improve .main-container .visual__login--member .visual__login-con .menu-comment__list > li {
        min-height: 64px !important;
    }

    body.main-home-improve .main-container .visual__login--member .visual__login-con .menu-comment__list > li .inside .txt {
        font-size: 13px !important;
    }

    body.main-home-improve .main-container .visual__login--member .visual__login-con .btn-info {
        font-size: 14px !important;
    }

    body.main-home-improve .main-container .visual__slider--prev {
        left: 8px !important;
    }

    body.main-home-improve .main-container .visual__slider--next {
        right: 8px !important;
    }
}


body.main-home-improve .main-course-carousel-section,
body.main-home-improve .review-carousel-section--course-size {
    width: 100% !important;
    max-width: var(--main-grid-max) !important;
    margin: 24px auto 32px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--main-grid-gutter) !important;
    padding-right: var(--main-grid-gutter) !important;
    box-sizing: border-box !important;
}

/* 인기 교육과정·우수수강후기 — 상단 그리드와 좌우 끝선 맞춤 (래퍼·슬라이드 여백 축소) */
body.main-home-improve .main-course-carousel-wrap,
body.main-home-improve .review-carousel-section--course-size .review-carousel-wrap {
    padding-left: 0;
    padding-right: 0;
}

body.main-home-improve .course-swiper .swiper-slide,
body.main-home-improve .review-carousel-section--course-size .review-swiper .swiper-slide {
    padding-left: 2px;
    padding-right: 2px;
}

@media (max-width: 1248px) {
    body.main-home-improve .header__top > .header__inner,
    body.main-home-improve .header__bottom .gnb-list,
    body.main-home-improve .main-container .visual,
    body.main-home-improve .main-container .main_notice_roll,
    body.main-home-improve .contact-section .contact-wrap,
    body.main-home-improve .contact-section .info_banner,
    body.main-home-improve .contact-section .support,
    body.main-home-improve .contact-section .inner,
    body.main-home-improve .banner-list > .inner,
    body.main-home-improve .footer.local-main-home-footer .footer__top .footer__inner,
    body.main-home-improve .footer.local-main-home-footer .footer__brand .footer__inner,
    body.main-home-improve .footer.local-main-home-footer .footer__bottom .footer__inner,
    body.main-home-improve .main-course-carousel-section,
    body.main-home-improve .review-carousel-section--course-size {
        max-width: 100% !important;
    }
}

@media (max-width: 600px) {
    body.main-home-improve {
        --main-grid-gutter: 16px;
    }

    body.main-home-improve .main-course-carousel-section,
    body.main-home-improve .review-carousel-section--course-size {
        padding-top: 24px !important;
        padding-bottom: 16px !important;
    }
}

/* 1. 로고 — 교육과정(첫 GNB) 글자 중앙 위: header.php 인라인 CSS + common.js 보정 */

/* 2. GNB 4개 메뉴 강조 */
.local-main-home .header__bottom .gnb-list__txt {
    font-weight: 800;
    font-size: 18px;
    color: #1a1a2e;
    letter-spacing: -0.03em;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.local-main-home .header__bottom .gnb-list > li:hover .gnb-list__txt {
    color: #1f5afc;
    background-color: rgba(31, 90, 252, 0.06);
}

.local-main-home .header__bottom .gnb-list__txt.now {
    color: #1f5afc;
}

@media (max-width: 1024px) {
    .local-main-home .header__bottom .gnb-list__txt {
        font-size: 17px;
    }
}

/* 3. 플로팅 메뉴 — 학습매뉴얼·공지 숨김 */
#float_bar .float-item--local-hide {
    display: none !important;
}

/* 4. 인기 교육과정 - 자동 슬라이드 캐러셀 */
.main-course-carousel-section {
    max-width: 1360px;
    margin: 24px auto 32px;
    padding: 32px 24px 24px;
    box-sizing: border-box;
}

.main-course-carousel-header {
    text-align: center;
    margin-bottom: 20px;
}

.main-course-carousel-header .badge {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #1f5afc;
    background: rgba(31, 90, 252, 0.08);
    border-radius: 20px;
    letter-spacing: 0.1em;
}

.main-course-carousel-header h2 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}

.main-course-carousel-header p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.main-course-carousel-wrap {
    position: relative;
    padding: 8px 4px 0;
}

.course-swiper {
    overflow: hidden;
}

.course-swiper.swiper-container,
.course-swiper .swiper-wrapper {
    height: auto !important;
}

.course-swiper .swiper-wrapper {
    align-items: flex-start;
}

.course-swiper .swiper-slide {
    height: auto !important;
    padding: 12px 6px;
    box-sizing: border-box;
}

.course-swiper .course-card {
    height: auto;
}

.course-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 9px rgba(14, 23, 42, 0.08), 0 0 9px rgba(15, 23, 42, 0.14);
    transition: all 0.3s ease;
    text-decoration: none;
}

.course-card:hover {
    box-shadow: 0 0 12px rgba(31, 90, 252, 0.14), 0 0 12px rgba(15, 23, 42, 0.2);
}

.course-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

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

.course-card:hover .course-card__img img {
    transform: scale(1.08);
}

.course-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(31, 90, 252, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-card__overlay {
    opacity: 1;
}

.course-card__overlay .btn-detail {
    padding: 10px 24px;
    background: #fff;
    color: #1f5afc;
    font-size: 14px;
    font-weight: 600;
    border-radius: 24px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.course-card:hover .course-card__overlay .btn-detail {
    transform: translateY(0);
}

.course-card__info {
    padding: 10px 14px 12px;
}

.course-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.main-course-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    position: relative;
    z-index: 3;
}

.course-nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.25s ease;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.course-nav-btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.course-nav-btn:hover {
    border-color: #1f5afc;
    color: #1f5afc;
    background: rgba(31, 90, 252, 0.04);
}

.course-pagination {
    display: flex;
    gap: 8px;
}

.course-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 4px;
    opacity: 1;
    transition: all 0.25s ease;
}

.course-pagination .swiper-pagination-bullet-active {
    width: 24px;
    background: #1f5afc;
}

.main-course-carousel-more {
    text-align: center;
    margin-top: 20px;
}

.main-course-carousel-more .btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #1a1a2e;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.main-course-carousel-more .btn-more:hover {
    background: #1f5afc;
    transform: translateY(-2px);
}

.main-course-carousel-more .btn-more span {
    transition: transform 0.25s ease;
}

.main-course-carousel-more .btn-more:hover span {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .main-course-carousel-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .main-course-carousel-section {
        padding: 24px 16px 16px;
    }

    .main-course-carousel-header h2 {
        font-size: 22px;
    }
}

/* 5. 우수 수강후기 - 자동 슬라이드 캐러셀 */
.review-carousel-section {
    max-width: 960px;
    margin: 0 auto 40px;
    padding: 32px 32px 24px;
    box-sizing: border-box;
    background: transparent;
}

.review-carousel-header {
    text-align: center;
    margin-bottom: 20px;
}

.review-carousel-header__copy {
    width: 100%;
}

.review-carousel-header .badge {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 20px;
    letter-spacing: 0.1em;
}

.review-carousel-header h2 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}

.review-carousel-header p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.review-carousel-wrap {
    position: relative;
    padding: 0 16px;
}

.review-swiper {
    overflow: hidden;
}

.review-swiper .swiper-wrapper {
    align-items: flex-start;
}

.review-swiper .swiper-slide {
    height: auto !important;
}

.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    max-width: 320px;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(31, 90, 252, 0.12);
}

.review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.review-card__stars {
    display: flex;
    gap: 2px;
}

.review-card__stars .star {
    color: #e0e0e0;
    font-size: 16px;
}

.review-card__stars .star.on {
    color: #fbbf24;
}

.review-card__user {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.review-card__course {
    font-size: 14px;
    font-weight: 700;
    color: #1f5afc;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card__content {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.review-nav-btn {
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.25s ease;
}

.review-nav-btn:hover {
    border-color: #1f5afc;
    color: #1f5afc;
    background: rgba(31, 90, 252, 0.04);
}

.review-pagination {
    display: flex;
    gap: 8px;
}

.review-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 4px;
    opacity: 1;
    transition: all 0.25s ease;
}

.review-pagination .swiper-pagination-bullet-active {
    width: 24px;
    background: #1f5afc;
}

.review-empty-box {
    text-align: center;
    padding: 48px 24px;
    color: #64748b;
}

.review-empty-box .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.review-empty-box strong {
    display: block;
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.review-empty-box p {
    margin: 0;
    font-size: 14px;
}

/* 우수 후기 — 인기 교육과정과 동일한 섹션·카드 너비 (후기 내용 유지) */
.review-carousel-section--course-size {
    max-width: 1360px;
    padding: 32px 24px 24px;
}

.review-carousel-section--course-size .review-carousel-wrap {
    padding: 8px 4px 0;
}

.review-carousel-section--course-size .review-swiper .swiper-slide {
    padding: 12px 6px;
    box-sizing: border-box;
}

.review-carousel-section--course-size .review-card {
    max-width: none;
    width: 100%;
    margin: 0;
    min-height: 220px;
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 9px rgba(14, 23, 42, 0.08), 0 0 9px rgba(15, 23, 42, 0.14);
}

.review-carousel-section--course-size .review-card:hover {
    box-shadow: 0 0 12px rgba(31, 90, 252, 0.14), 0 0 12px rgba(15, 23, 42, 0.2);
}

.review-carousel-section--course-size .review-card__course {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    -webkit-line-clamp: 2;
}

.review-carousel-section--course-size .review-card__content {
    flex: 1;
    font-size: 13px;
    -webkit-line-clamp: 4;
}

.review-carousel-section--course-size .review-carousel-nav {
    gap: 12px;
    margin-top: 8px;
}

.review-carousel-section--course-size .review-nav-btn {
    width: 36px;
    height: 36px;
}

@media (max-width: 900px) {
    .review-carousel-section {
        margin: 0 16px 40px;
        padding: 32px 16px;
    }

    .review-carousel-header h2 {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .review-carousel-header h2 {
        font-size: 22px;
    }

    .contact-header h2 {
        font-size: 22px;
    }
    
    .review-card {
        padding: 20px;
    }
}

/* 문의안내 헤더 — 인기 교육과정·우수 수강후기와 동일 양식 */
.contact-header .line::before {
    display: none;
}

.contact-header h2 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.02em;
}

.contact-header p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

@media (max-width: 900px) {
    .contact-header h2 {
        font-size: 26px;
    }
}

/* 기존 review-section 숨김 */
.review-section {
    display: none !important;
}

/* 6. 배너 리스트 슬라이더 겹침 수정 */
.banner-list > .inner {
    gap: 20px;
}

.banner-list__slider {
    width: calc(100% - 160px) !important;
    flex-shrink: 1;
}

.banner-list__control {
    flex-shrink: 0;
    margin-left: auto;
}

@media (max-width: 1024px) {
    .banner-list__slider {
        width: calc(100% - 100px) !important;
    }
    
    .banner-list > .inner {
        gap: 12px;
    }
}

/* 7. 푸터 스타일 개선 (이지스터디 스타일) */

/* 푸터 전체 배경 */
.footer.local-main-home-footer {
    background: #292929 !important;
}

/* 상단 링크 영역 */
.footer.local-main-home-footer .footer__top {
    background: #292929 !important;
    border-bottom-color: transparent !important;
    padding: 15px 0;
}

/* 링크 사이 구분선 제거 (가로/세로 모두) */
.footer.local-main-home-footer .footer__link li {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
}

.footer.local-main-home-footer .footer__link li::before,
.footer.local-main-home-footer .footer__link li::after {
    display: none !important;
    content: none !important;
}

.footer.local-main-home-footer .footer__link li + li {
    border-left: none !important;
    margin-left: 16px;
    padding-left: 0 !important;
}

.footer.local-main-home-footer .footer__link li a {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #fff !important;
}

.footer.local-main-home-footer .footer__link li a:hover {
    color: #ccc !important;
}

/* 링크와 회사정보 사이 로고 */
.footer.local-main-home-footer .footer__brand {
    background: #292929 !important;
    padding: 10px 0 14px;
}

.footer.local-main-home-footer .footer__brand .footer__inner {
    display: block;
}

.footer.local-main-home-footer .footer__brand-logo {
    display: inline-block;
    line-height: 0;
}

.footer.local-main-home-footer .footer__brand-logo img {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* 하단 정보 영역 */
.footer.local-main-home-footer .footer__bottom {
    background: #292929 !important;
    padding: 0 0 35px;
}

.footer.local-main-home-footer .footer__bottom .footer__inner {
    display: block;
}

.footer.local-main-home-footer .footer__bottom .footer__inner--left {
    width: 100%;
    padding: 0 !important;
}

/* 주소/회사 정보 */
.footer.local-main-home-footer .footer__bottom .footer__info .address {
    font-size: 13px !important;
    line-height: 21px !important;
    color: #9d9d9d !important;
    letter-spacing: -0.5px;
}

/* 모바일/태블릿 */
@media (max-width: 1024px) {
    .footer.local-main-home-footer .footer__brand-logo img {
        width: 140px;
    }

    .footer.local-main-home-footer .footer__bottom .footer__info .address {
        font-size: 12px !important;
        line-height: 20px !important;
    }
    
    .footer.local-main-home-footer .footer__link li a {
        font-size: 13px !important;
    }
}

@media (max-width: 768px) {
    .footer.local-main-home-footer .footer__brand {
        padding: 8px 0 12px;
    }

    .footer.local-main-home-footer .footer__brand-logo img {
        width: 130px;
    }
}
