@charset "utf-8";
/* =====================================================================
   메인(mainRenewal.jsp) 리뉴얼 전용 스타일
   - 기존 reset / rem / common / member / swiper / index.css 는 수정하지 않음
   - 신규 마크업은 .mm-* 클래스 사용
   - 배너는 기존 flexslider 구조(.mainBanner .banData .slides / .controller)를 유지하고
     .mm-hero 스코프에서만 오버라이드 (index.js 동작 유지)
   - 반드시 index.css "뒤에" 로드할 것
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. 공통
   --------------------------------------------------------------------- */
.mm-inner{max-width:1440px;margin:0 auto;padding:0 20px;text-align:left}
.mm-sec-title{margin:0;font-size:32px;font-weight:700;line-height:1.3;color:#101010}

/* ---------------------------------------------------------------------
   1. 히어로 (문구 + 메인배너)
   --------------------------------------------------------------------- */
.mm-hero{position:relative;overflow:hidden;padding:40px 0 48px;background:#fff}
/* 배경 장식 : 상단 회색 V, 좌측 민트 ^ */
.mm-hero:before{content:'';position:absolute;left:50%;top:-153px;margin-left:-355px;width:226px;height:226px;border-right:56px solid #eef1f5;border-bottom:56px solid #eef1f5;transform:rotate(45deg);pointer-events:none}
.mm-hero:after{content:'';position:absolute;left:-17px;top:269px;width:190px;height:190px;border-left:50px solid #e8f7f6;border-top:50px solid #e8f7f6;transform:rotate(45deg);pointer-events:none}

.mm-hero-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:40px}
.mm-hero-text{flex:1;min-width:0;padding-bottom:20px}
.mm-hero-title{margin:0;font-size:40px;font-weight:400;line-height:1.38;color:#5b6577;word-break:keep-all}
.mm-hero-title strong{display:block;font-weight:700;color:#2f3a4d}
.mm-hero-desc{margin:24px 0 0;font-size:17px;line-height:1.76;color:#767676;word-break:keep-all}
.mm-hero-banner{flex:0 0 640px;max-width:50%;min-width:0;padding-bottom:30px}

/* 메인배너(flexslider) 오버라이드 */
.mm-hero .mainBanner{position:relative;width:100%;height:auto;margin:0;overflow:visible}
.mm-hero .mainBanner .banData{position:relative;border-radius:12px;overflow:hidden;background:#eef0fb}
.mm-hero .mainBanner .flex-viewport{height:auto}
.mm-hero .mainBanner .banData .slides li{width:100%;height:auto;aspect-ratio:2/1;border-radius:0;background-size:cover;background-position:center center}
.mm-hero .mainBanner .campain{display:none}
.mm-hero .mainBanner .controller{position:absolute;left:auto;right:0;top:calc(100% + 12px);bottom:auto;z-index:5}
.mm-hero .mainBanner .controller .lineBul,
.mm-hero .mainBanner .controller .ctrlbtn{display:none}  /* 시안 기준 숨김 (웹접근성 검토 필요 - 안내 참고) */
.mm-hero .mainBanner .controller .banEA{margin:0;font-size:15px;line-height:1;color:#767676}
.mm-hero .mainBanner .controller .banEA > div,
.mm-hero .mainBanner .controller .banEA > span{font-size:15px;color:#767676}
.mm-hero .mainBanner .controller .banEA > span{margin:0 4px}
.mm-hero .mainBanner .controller .flex-control-nav{font-size:15px}
.mm-hero .mainBanner .controller .flex-control-nav a span{font-weight:400;color:#767676}

/* 즐겨찾기 메뉴(우측 슬라이드 탭) : 시안에 없어 숨김. 계속 쓰려면 아래 한 줄만 삭제 */
.mm-hero .favMenuSetup{display:none}

/* ---------------------------------------------------------------------
   2. 팝업존 + 주요 서비스 (회색 영역)
   --------------------------------------------------------------------- */
.mm-service{padding:50px 0;background:#f5f7fa}
.mm-service-inner{display:grid;grid-template-columns:minmax(0,488fr) minmax(0,880fr);column-gap:32px}
.mm-col{display:flex;flex-direction:column;min-width:0}
.mm-service .mm-sec-title{margin-bottom:28px}

/* 2-1. 팝업존 */
.mm-popzone{position:relative;display:flex;flex:1;min-height:365px;border:1px solid #e5e8ec;border-radius:8px;background:#fff;overflow:hidden}
.mm-popzone-list{display:flex;flex:1;margin:0;padding:0;list-style:none}
.mm-popzone-item{display:none;flex:1}
.mm-popzone-item.is-active{display:flex}
.mm-pop-info{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;padding:40px 24px 56px;text-align:center}
.mm-pop-icon{display:flex;align-items:center;justify-content:center;width:72px;height:72px;margin-bottom:22px;border-radius:50%;background:#f3f5f7}
.mm-pop-icon img{display:block;width:48px;height:auto}
.mm-pop-tit{font-size:24px;font-weight:700;line-height:1.4;color:#101010}
.mm-pop-txt{margin:24px 0 0;font-size:19px;line-height:1.6;color:#767676}
.mm-pop-tel{margin-top:16px;font-size:24px;font-weight:800;letter-spacing:.02em;color:#1795a6}
/* 이미지형 팝업 */
.mm-pop-img{display:block;width:100%}
.mm-pop-img img{display:block;width:100%;height:100%;object-fit:cover}
/* 인디케이터 */
.mm-popzone-dots{position:absolute;left:30px;bottom:24px;z-index:2;display:flex;gap:6px}
.mm-dot{width:8px;height:8px;margin:0;padding:0;border:0;border-radius:50%;background:#d6d9de;cursor:pointer}
.mm-dot.is-active{background:#8b80d6}

/* 2-2. 주요 서비스 */
.mm-svc-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 17px;margin:0;padding:0;list-style:none}
.mm-svc-list a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:113px;padding:12px 8px;border:1px solid #e5e8ec;border-radius:6px;background:#fff;text-align:center;transition:border-color .2s,box-shadow .2s}
.mm-svc-list a:hover,
.mm-svc-list a:focus{border-color:#2abfbf;box-shadow:0 4px 12px rgba(0,0,0,.06)}
.mm-svc-icon img{display:block;width:48px;height:48px;object-fit:contain}
.mm-svc-name{font-size:15px;line-height:1.35;color:#101010;word-break:keep-all}

/* ---------------------------------------------------------------------
   3. 게임물이용자교육 상시학습
   --------------------------------------------------------------------- */
.mm-learn{padding:56px 0 50px;background:#fff}
.mm-learn-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px}
.mm-learn-head .mm-sec-title span{margin-left:16px;font-size:22px;font-weight:400;color:#101010}
.mm-more{font-size:15px;color:#767676}
.mm-more:hover{color:#101010}

.mm-card-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}
.mm-card{display:flex;flex-direction:column;height:100%;border:1px solid #e8e8e8;border-radius:8px;overflow:hidden;background:#fff;color:#101010;transition:box-shadow .2s,transform .2s}
.mm-card:hover{box-shadow:0 6px 16px rgba(0,0,0,.08);transform:translateY(-2px)}
.mm-card-thumb{display:block;width:100%;aspect-ratio:332/203;background-color:#eee;background-position:center center;background-repeat:no-repeat;background-size:cover}
.mm-card-body{display:flex;flex:1;flex-direction:column;padding:16px 20px 20px}
.mm-card-name{display:-webkit-box;min-height:60px;margin:0;overflow:hidden;font-size:18px;font-weight:700;line-height:30px;color:#101010;word-break:keep-all;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mm-card-meta{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:16px;font-size:15px;line-height:1.4;color:#767676}
.mm-card-view{padding-left:22px;background:url(/images/grac/images/icon_person.png) no-repeat left center;background-size:16px auto}
.mm-card-rate{padding-left:18px;background:url(/images/grac/images/icon_star_s.png) no-repeat left center}
.mm-card-rate b{font-weight:700;color:#101010}
.mm-card-rate i{margin-left:3px;font-style:normal;color:#999}
.mm-card-empty{grid-column:1/-1;padding:60px 0;border:1px solid #e8e8e8;border-radius:8px;text-align:center;color:#999}

/* 3-1. 교육포털 운영 안내 (푸터 위) */
.mm-cs{padding:28px 0;border-top:1px solid #e5e8ec;background:#f5f7fa}
.mm-cs-inner{display:flex;align-items:center;gap:32px}
.mm-cs-tit{display:flex;align-items:center;gap:12px}
.mm-cs-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:#fff}
.mm-cs-icon img{display:block;width:30px;height:auto}
.mm-cs-tit strong{font-size:20px;font-weight:700;color:#101010}
.mm-cs-time{margin:0;font-size:17px;color:#555}
.mm-cs-time span{color:#767676}
.mm-cs-tel{margin-left:auto;font-size:24px;font-weight:800;letter-spacing:.02em;color:#1795a6}

/* ---------------------------------------------------------------------
   4. 반응형
   --------------------------------------------------------------------- */
@media all and (max-width:1024px){
    .mm-hero-inner{flex-direction:column;align-items:stretch;gap:32px}
    .mm-hero-text{padding-bottom:0}
    .mm-hero-banner{flex:none;max-width:none}
    .mm-service-inner{grid-template-columns:minmax(0,1fr);row-gap:40px}
    .mm-card-list{grid-template-columns:repeat(2,minmax(0,1fr))}
	
	/* 팝업존 이미지 : 원본 비율 유지 (잘림 방지) */
    .mm-popzone{min-height:0}
    .mm-pop-img{max-width:560px;margin:0 auto}
    .mm-pop-img img{height:auto;object-fit:contain}
}
@media all and (max-width:812px){
    .mm-inner{padding:0 20px}
    .mm-sec-title{font-size:24px}

    /* 히어로 */
    .mm-hero{padding:24px 0 40px}
    .mm-hero:before{left:auto;right:10px;top:-110px;margin-left:0;width:150px;height:150px;border-right-width:36px;border-bottom-width:36px}
    .mm-hero:after{display:none}
    .mm-hero-inner{gap:24px}
    .mm-hero-title{font-size:28px;line-height:1.4}
    .mm-hero-desc{margin-top:14px;font-size:14px;line-height:1.7}
    .mm-hero-banner{padding-bottom:0}
    .mm-hero .mainBanner .banData{border-radius:8px}
    .mm-hero .mainBanner .controller{top:auto;bottom:12px;right:14px;left:auto}
    .mm-hero .mainBanner .controller .banEA,
    .mm-hero .mainBanner .controller .banEA > div,
    .mm-hero .mainBanner .controller .banEA > span,
    .mm-hero .mainBanner .controller .flex-control-nav a span{font-size:14px;color:#fff}

    /* 팝업존 + 주요 서비스 */
    .mm-service{padding:36px 0 40px}
    .mm-service-inner{row-gap:36px}
    .mm-service .mm-sec-title{margin-bottom:16px}
    .mm-popzone{min-height:0}
    .mm-pop-info{padding:32px 20px 48px}
    .mm-pop-icon{width:60px;height:60px;margin-bottom:16px}
    .mm-pop-icon img{width:40px}
    .mm-pop-tit{font-size:20px}
    .mm-pop-txt{margin-top:16px;font-size:15px}
    .mm-pop-tel{margin-top:12px;font-size:22px}
    .mm-popzone-dots{left:50%;bottom:18px;transform:translateX(-50%)}
    .mm-svc-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .mm-svc-list a{justify-content:flex-start;height:118px;min-height:0;gap:8px;padding:18px 8px 14px}
    .mm-svc-icon img{width:36px;height:36px}
    .mm-svc-name{font-size:15px}

    /* 상시학습 */
    .mm-learn{padding:36px 0 40px}
    .mm-learn-head{align-items:center;margin-bottom:16px}
    .mm-learn-head .mm-sec-title span{margin-left:10px;font-size:16px}
    .mm-more{font-size:14px}
    .mm-card-list{gap:12px}
    .mm-card{border:0;border-radius:6px;box-shadow:0 2px 10px rgba(0,0,0,.08)}
    .mm-card:hover{transform:none}
    .mm-card-body{padding:12px 12px 14px}
    .mm-card-name{min-height:42px;font-size:15px;font-weight:400;line-height:21px}
    .mm-card-meta{padding-top:8px;font-size:11px}
    .mm-card-view{padding-left:0;background:none}
    .mm-card-rate{padding-left:15px;background-size:11px auto}
	
	.mm-cs{padding:24px 0}
    .mm-cs-inner{flex-direction:column;align-items:flex-start;gap:10px}
    .mm-cs-icon{width:40px;height:40px}
    .mm-cs-icon img{width:24px}
    .mm-cs-tit strong{font-size:18px}
    .mm-cs-time{font-size:14px;line-height:1.6}
    .mm-cs-time span{display:block}
    .mm-cs-tel{margin-left:0;font-size:22px}
}
