@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ===========================================/
   메인 페이지 스타일
   =========================================== */

.main-home {
    overflow-x: hidden;
	padding-bottom: 0;
}

/* 반응형 줄바꿈: mo-br(모바일), pc-br(PC) */
.main-home .mo-br {
    display: block;
}
.main-home .pc-br {
    display: none;
}
@media (min-width: 769px) {
    .main-home .mo-br {
        display: none;
    }
    .main-home .pc-br {
        display: block;
    }
}

/* ===========================================
   Hero Video Section
   =========================================== */

.hero-video-section {
    position: relative;
    width: 100%;
	padding: 180px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 비디오 배경 */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.video-background::after{
	content: '';
	background: rgba(20, 21, 22, 0.25);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 비율 */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 비율 */
    transform: translate(-50%, -50%);
    pointer-events: none; /* 클릭 방지 */
    border: none;
    outline: none;
    background: #000;
    opacity: 0.9;
}

/* 대체 배경 (YouTube 로드 실패시) */
.fallback-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
}

.gradient-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(8, 194, 183, 0.3) 0%,
        rgba(102, 126, 234, 0.3) 25%,
        rgba(118, 75, 162, 0.3) 50%,
        rgba(8, 194, 183, 0.3) 75%,
        rgba(102, 126, 234, 0.3) 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 텍스트 오버레이 */
.hero-overlay {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: white;
    padding: 0 1.5rem;
}

.hero-logo {
    margin-bottom: 2rem;
}
.hero-logo img {
    height: 102px;
}

.hero-title {
    font-size: 3.375rem;
    color: #fff;
	font-weight: 600;
    margin-bottom: 1rem;
	line-height: 130%;
	letter-spacing: -0.0675rem;
}

.hero-text {
    margin-bottom: 2.5rem;
}

.hero-description {
    font-size: 1.375rem;
    line-height: 150%;
	letter-spacing: -0.01375rem;
	font-weight: 500;
    margin-bottom: 0;
}

/* Hero 액션 버튼 */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.hero-actions .btn{
	border-radius: 0;
	padding: 1rem 1.29rem;
	font-size: 1rem;
	box-shadow: none;
	transform: none;
	border: 1px solid transparent;
	font-weight: 700;
	line-height: 150%;
	letter-spacing: -0.01rem;
}
.hero-actions .btn:hover{
	background-color: #fff;
	color: #08c2b7 !important;
	border: 1px solid #08c2b7;
	box-shadow: none;
	transform: none;
}

.btn {
    display: inline-block;
    padding: 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    cursor: pointer;
    min-width: 150px;
}

.btn-primary {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    text-decoration: none;
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: #333;
    text-decoration: none;
}

.banner-image {
    width: 100%;
    height: auto;
    min-height: 120px;
    object-fit: cover;
    object-position: center;
}

/* ===========================================
   Welcome Benefits Banner Swiper
   =========================================== */
   .benefit {
    background: #fff;
}
.benefit-swiper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.benefit-slide {
    min-height: 280px;
    background-color: #f4faf8;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.benefit-slide--1 {
    background-image: url('https://static.edmkorean.com/main/img-banner-1-mo.webp');
}
.benefit-slide--2 {
    background-image: url('https://static.edmkorean.com/main/img-banner-2-mo.webp');
}
.benefit-slide--3 {
    background-image: url('https://static.edmkorean.com/main/img-banner-3-mo.webp');
}
.benefit-inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1320px;
    min-height: 280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}
.benefit-content {
    max-width: 100%;
}
.benefit-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: -0.18px;
    color: #000;
}
.benefit-desc {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.14px;
    color: #333;
}
.benefit-desc em {
    font-style: normal;
    font-weight: 400;
    color: #1F7C77;
}
.benefit-btn {
    display: inline-block;
    padding: 0 16px;
    line-height: 32px;
    border-radius: 4px;
    background-color: #08C2B7;
    border: 1px solid transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.14px;
}
.benefit-btn:hover {
    background-color: #fff;
    color: #08c2b7 !important;
    text-decoration: none;
    border: 1px solid #08c2b7;
    box-shadow: none;
    transform: none;
}
.benefit-nav-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
    z-index: 2;
    pointer-events: none;
}
.benefit-nav-inner {
    width: 100%;
    max-width: 1272px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}
.benefit-nav {
    position: relative;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 76px;
    height: 38px;
    border-radius: 39px;
    background: rgba(255, 255, 255, 0.70);
    box-sizing: border-box;
}
.benefit-nav::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 2.375rem;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background-color: #999;
}
.benefit-swiper .swiper-pagination {
    position: static;
    width: auto;
    margin: 0;
    font-size: 0.875rem;
    line-height: 150%;
    letter-spacing: -0.00875rem;
    color: #333;
}
.benefit-swiper .swiper-pagination-current {
    font-weight: 700;
}
.benefit-swiper .swiper-button-prev,
.benefit-swiper .swiper-button-next {
    position: static;
    flex-shrink: 0;
    width: 2.375rem;
    height: 2.375rem;
    margin: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.benefit-swiper .swiper-button-prev::after,
.benefit-swiper .swiper-button-next::after {
    display: none;
}
.benefit-swiper .swiper-button-prev {
    background-image: url('https://static.edmkorean.com/main/oneday-swiper-prev.svg');
}
.benefit-swiper .swiper-button-next {
    background-image: url('https://static.edmkorean.com/main/oneday-swiper-next.svg');
}
@media (min-width: 769px) {
    .benefit-slide {
        min-height: 332px;
        height: 332px;
        background-position: center;
    }
    .benefit-slide--1 {
        background-image: url('https://static.edmkorean.com/main/img-banner-1-pc.webp');
    }
    .benefit-slide--2 {
        background-image: url('https://static.edmkorean.com/main/img-banner-2-pc.webp');
    }
    .benefit-slide--3 {
        background-image: url('https://static.edmkorean.com/main/img-banner-3-pc.webp');
    }
    .benefit-inner {
        min-height: 332px;
        height: 100%;
        padding: 50px 24px 100px 24px;
    }
    .benefit-content {
        max-width: 52%;
    }
    .benefit-title {
        font-size: 26px;
        letter-spacing: -0.26px;
        line-height: 150%;
        margin-bottom: 12px;
    }
    .benefit-desc {
        font-size: 18px;
        line-height: 150%;
        letter-spacing: -0.18px;
        margin-bottom: 24px;
    }
    .benefit-btn {
        font-size: 16px;
        padding: 0 24px;
        line-height: 43px;
        border-radius: 8px;
    }
    .benefit-swiper .swiper-pagination {
        display: none;
    }
}
@media (max-width: 768px) {
    .benefit-slide {
        min-height: 334px;
        height: 334px;
    }
    .benefit-inner {
        min-height: 334px;
        height: 334px;
        align-items: flex-start;
        padding: 41px 16px;
    }
    .benefit-nav-bar {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 16px;
    }
    .benefit-nav-inner {
        justify-content: right;
        padding: 0 15px;
    }
    .benefit-nav {
        width: auto;
        min-width: 45px;
        height: 23px;
        padding: 0 0.75rem;
        justify-content: center;
        background: #E2E2E5;
    }
    .benefit-nav::after {
        display: none;
    }
    .benefit-swiper .swiper-button-prev,
    .benefit-swiper .swiper-button-next {
        display: none;
    }
    .benefit-swiper .swiper-pagination {
        font-size: 15px;
        letter-spacing: -0.15px;
    }
}

/* ===========================================
   edmblog Section
   =========================================== */

.edmblog-section {
    padding: 60px 0;
    background: white;
}

.edmblog-section .container {
    padding: 0 1.5rem;
}
.edmblog-section .container .title {
    text-align: center;
    margin-bottom: 4px;
    font-size: 22px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: -0.44px;
    color: #000;
}
.edmblog-section .container .desc {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.16px;
    margin-bottom: 24px;
    color: #666;
}

.edmblog-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

/* edmblog 게시판 스타일 (board.blog.css 기반) */
.edmblog-posts-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
}

/* Desktop: 3 columns */
@media (min-width: 768px) {
    .edmblog-section{
        padding: 140px 0;
    }
    .edmblog-section .container .title {
        font-size: 40px;
        font-weight: 600;
        letter-spacing: -0.8px;
        line-height: 130%;
        margin-bottom: 16px;
    }
    .edmblog-section .container .desc {
        font-size: 20px;
        font-weight: 500;
        line-height: 130%;
        letter-spacing: -0.4px;
        margin-bottom: 48px;
    }
    .edmblog-posts-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large desktop: 4 columns */
@media (min-width: 992px) {
    .edmblog-posts-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .edmblog-posts-list {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* ===========================================
   Intro Cards Section
   =========================================== */
   .intro {
    padding: 60px 0;
    background: #fff;
}
.intro-head {
    text-align: center;
    max-width: 1320px;
    margin: 0 auto 24px;
    padding: 0 15px;
    box-sizing: border-box;
}
.intro-title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: -0.44px;
    color: #000;
}
.intro-desc {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.16px;
    color: #666;
}
.intro-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}
.intro-card {
    padding: 16px 16px 24px 16px;
    border: 1px solid #E4E8F1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 10px 0 #EBEFF4;
}
.intro-thumb {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}
.intro-thumb img {
    display: block;
    width: 100%;
    height: auto;
}
.intro-name {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: -0.16px;
    color: #000;
}
.intro-txt {
    margin: 0;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: -0.14px;
    color: #666;
}
.intro-more {
    text-align: center;
    margin-top: 40px;
}
.intro-more .btn{
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    max-width: 197px;
}

@media (min-width: 769px) {
    .intro {
        padding: 140px 0;
    }
    .intro-head{
        margin: 0 auto 60px;
    }
    .intro-title {
        font-size: 40px;
        line-height: 130%;
        font-weight: 600;
        letter-spacing: -0.8px;
        margin-bottom: 16px;
    }
    .intro-list {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .intro-card {
        padding: 32px 32px 40px 32px;
        border-radius: 12px;
    }
    .intro-thumb{
        margin-bottom: 32px;
        border-radius: 8px;
    }
    .intro-name {
        font-size: 20px;
        font-weight: 600;
        line-height: 150%;
        letter-spacing: -0.2px;
        margin-bottom: 8px;
    }
    .intro-txt {
        font-size: 18px;
        line-height: 150%;
        letter-spacing: -0.18px;
    }
    .intro-desc {
        font-size: 20px;
        font-weight: 500;
        line-height: 130%;
        letter-spacing: -0.4px;
    }
    .intro-more .btn{
        padding: 30px 97px;
        font-size: 20px;
        font-weight: 600;
        max-width: 100%;
    }
}

/* ===========================================
   WhatsApp Banner Section
   =========================================== */
   .whatsapp-banner {
    width: 100%;
    background-color: #eaf3fb;
    background-image: url('https://static.edmkorean.com/main/img-wa-mo.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.whatsapp-banner-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1320px;
    min-height: 240px;
    margin: 0 auto;
    box-sizing: border-box;
}
.whatsapp-banner-inner a {
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    padding: 30px 16px;
    box-sizing: border-box;
}
.whatsapp-banner-inner a:hover{
    text-decoration: none;
}
.whatsapp-banner-inner .title {
    margin-bottom: 2px;
    font-size: 18px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: -0.18px;
    color: #000;
}
.whatsapp-banner-inner .desc {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.14px;
    color: #333;
}
@media (min-width: 769px) {
    .whatsapp-banner {
        background-image: url('https://static.edmkorean.com/main/img-wa-pc.webp');
    }
    .whatsapp-banner-inner {
        min-height: 240px;
    }
    .whatsapp-banner-inner a {
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0;
    }
    .whatsapp-banner-inner .title {
        font-size: 26px;
        font-weight: 700;
        line-height: 130%;
        letter-spacing: -0.52px;
        margin-bottom: 12px;
    }
    .whatsapp-banner-inner .desc {
        font-size: 18px;
        font-weight: 400;
        line-height: 130%;
        letter-spacing: -0.36px;
    }
}


.edmblog-post-content {
    padding-top: 1rem;
}

.edmblog-posts-list .edmblog-post-preview {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    color: var(--bs-gray-600);
    font-size: 0.9rem;
    line-height: 1.4;
    max-height: 3.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.edmblog-posts-list .edmblog-post a:link,
.edmblog-posts-list .edmblog-post a:visited {
    color: #000;
    text-decoration: none;
}

.edmblog-posts-list .edmblog-post a:hover {
    text-decoration: none;
    color: var(--edm-color);
}

.edmblog-post-meta {
    font-size: 0.9rem;
    color: var(--bs-gray-600);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.edmblog-post img {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.edmblog-thumbnail-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--bs-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-gray-200);
    font-size: 4rem;
    border-radius: 0.375rem;
}

.edmblog-view-all {
    text-align: center;
    margin-top: 3rem;
}

.edmblog-view-all .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}


/* ===========================================
   Real-time Activities Section
   =========================================== */
   .act {
    padding: 60px 15px;
    background: linear-gradient(180deg, #ECFDE8 0%, #DAFAFE 100%);
}
.act-title {
    max-width: 1320px;
    margin: 0 auto 24px;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: -0.44px;
    color: #000;
}
.act-box {
    width: 100%;
    max-width: 1272px;
    margin: 0 auto;
    padding: 16px 16px 24px 16px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
}
.act-grid {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 12px;
    overflow: hidden;
    gap: 8px;
}
.act-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.act-img:not(.act-img--main) {
    display: none;
}
.act-desc {
    margin: 24px 0 0;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.16px;
    color: #000;
}
.act-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}
.act-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.25rem;
    border-radius: 8px;
    background-color: #15c0b0;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.act-btn:hover {
    background-color: #06a69c;
    border-color: #06a69c;
    text-decoration: none;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(8, 194, 183, 0.3);
}
@media (min-width: 769px) {
    .act {
        padding: 140px 0;
    }
    .act-title {
        font-size: 40px;
        font-weight: 600;
        line-height: 130%;
        letter-spacing: -0.8px;
        margin-bottom: 48px;
    }
    .act-box {
        padding: 24px 24px 50px 24px;
        border-radius: 24px;
    }
    .act-grid {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        border-radius: 12px;
        overflow: hidden;
    }
    .act-img {
        height: 100%;
    }
    .act-img--main {
        grid-row: 1 / 3;
    }
    .act-img:not(.act-img--main) {
        display: block;
    }
    .act-desc {
        margin-top: 40px;
        font-size: 22px;
        font-weight: 400;
        line-height: 150%;
        letter-spacing: -0.22px;
    }
    .act-btns {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
        margin-top: 40px;
    }
    .act-btn {
        min-width: 400px;
        height: 62px;
        font-size: 20px;
        font-weight: 700;
        line-height: 150%;
        letter-spacing: -0.2px;
    }
}


/* ===========================================
   Course Section
   =========================================== */
   .course {
    color: #fff;
    padding: 140px 0;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
      url("https://static.edmkorean.com/menu_images/korean20off/course_260624.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }
  .course .max-width{
    max-width: 1302px;
    padding: 0 15px;
    margin: 0 auto;
  }
  .course h2 {
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: -0.8px;
    text-align: center;
    margin-bottom: 16px;
  }
  .course .sub-title {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: -0.4px;
    text-align: center;
    margin-bottom: 48px;
  }
  .course ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    row-gap: 40px;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .course ul li {
    display: flex;
    min-width: 0;
    height: 100%;
    background-color: #fff;
    border-radius: 12px;
    padding: 32px 32px 24px 32px;
    color: #333;
  }
  .course ul li .textWrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
  }
  .course ul li .textWrap .tit {
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: -0.24px;
    color: #089982;
    margin-bottom: 4px;
  }
  .course ul li .textWrap .desc {
    flex: 1;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 24px;
  }
  .course ul li .textWrap .course-btn {
    display: block;
    margin-top: auto;
    padding: 15px 0;
    border-radius: 8px;
    background-color: #08C2B7;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 100%;
    text-align: center;
    text-decoration: none;
  }
  .course ul li .textWrap .course-btn:hover {
    background-color: #06a69c;
    border-color: #06a69c;
    text-decoration: none;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(8, 194, 183, 0.3);
  }
  @media screen and (max-width: 1090px) {
    .course {
        padding: 100px 0;
      }
      .course h2 {
        font-size: 24px;
      }
      .course ul {
        gap: 24px;
      }
      .course ul li {
        padding: 24px 20px 20px;
      }
      .course ul li .textWrap .tit {
        font-size: 18px;
      }
      .course ul li .textWrap .desc {
        font-size: 14px;
        margin-bottom: 20px;
      }
      .course ul li .textWrap .course-btn {
        font-size: 14px;
        padding: 12px 14px;
      }
  }
  @media screen and (max-width: 850px) {
        .course {
            padding: 60px 0;
            background-image:
            linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
            url("https://static.edmkorean.com/menu_images/korean20off/course_mo_260624.webp");
        }
        
        .course h2 {
            font-size: 22px;
            margin-bottom: 4px;
        }
        .course .sub-title{
            font-size: 16px;
            font-weight: 400;
            line-height: 150%;
            letter-spacing: -0.16px;
            margin-bottom: 24px;
        }
        .course ul {
            grid-template-columns: 1fr;
            gap: 16px;
        }
        .course ul li {
            padding: 16px;
        }
        .course ul li .textWrap .tit {
            font-size: 18px;
            line-height: 150%;
            letter-spacing: -0.18px;
        }
        .course ul li .textWrap .desc {
            font-size: 15px;
            margin-bottom: 16px;
        }
        .course ul li .textWrap .course-btn{
            padding: 10px 0;
            font-size: 15px;
            line-height: 150%;
            letter-spacing: -0.15px;
        }
  }


/* ===========================================
   Instagram Section
   =========================================== */

.instagram-section {
    padding: 6rem 0;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: bottom right;
    position: relative;
}

.instagram-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}
.instagram-section .grid-item{
	width: calc(100%/4 - 1rem);
	margin: 0 0.5rem 1rem;
}
/* Overlay Text */
.instagram-section .overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    box-sizing: border-box;
}

.instagram-post:hover .overlay-text {
    opacity: 1;
    z-index: 10;
    display: block;
}

/* 비디오 인디케이터 */
.video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 2;
}

.instagram-post:hover .video-indicator {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

/* 텍스트가 넘치지 않도록 스크롤 숨김 */
.instagram-section .overlay-text {
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    hyphens: auto;
}

/* ===========================================
    Curriculum Section
   =========================================== */

.curriculum-section {
    padding: 6rem 0;
    background-color: var(--bs-gray-200);
}

.curriculum-section h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
	font-weight: 600;
}

.curriculum-section .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-top: 0;
    margin-bottom: 0;
}
.curriculum-layout {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	row-gap: 5rem;
	column-gap: 2rem;
	margin-top: 3rem;
}
.curriculum-card h4{
	color: #08c2b7;
	margin: 2rem 0 0.5rem;
	display: block;
}


/* ===========================================
    Global Campus Section
   =========================================== */

.global-campus-section {
	background-image: url('https://static.edmkorean.com/main/global-campus-section-bg.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	padding: 0 0 6rem;
}
.global-campus-layout{
	display: flex;
	flex-wrap: wrap;
}
.global-campus-left{
	padding-top: 6rem;
	width: 41%;
}
.global-campus-right{
	width: 59%;
}
.global-campus-left h3{
	font-size: 3.214em;
	font-weight: 600;
}
.global-campus-right{
	display: flex;
}
.global-campus-right a{
	display: block;
	color: #363636;
	text-decoration: none;
	position: relative;
}
.global-campus-right .brochure span{
	display: inline-block;
	border-radius: 0;
	font-size: 0.8rem;
	font-weight: 500;
	padding: 0 1rem;
	line-height: 2.6rem;
	position: absolute;
	bottom: -2.6rem;
	left: 0;
	height: 2.6rem;
}
.global-campus-right .list{
	padding-top: 6rem;
}
.global-campus-right .list a{
	padding-left: 1.5rem;
}
.global-campus-right .list a + a{
	margin-top: 2rem;
	border-top: 1px solid #363636;
	padding-top: 2rem;
}


/* ===========================================
    Welcome to edm Korean Global Campus Section
   =========================================== */

.welcome-section {
	padding: 6rem 0 10rem;
	text-align: center;
	background-image: url('https://static.edmkorean.com/main/welcome-section-bg.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}
.welcome-section > *{
	position: relative;
	z-index: 2;
}
.welcome-section img{
	height: 80px;
	margin: 0 auto 2rem;
}
.welcome-section h3{
	font-size: 3.6rem;
	font-family: "PT Serif", serif;
	font-weight: 400;
	font-style: italic;
}


/* ===========================================
    campus-life-section
   =========================================== */

.campus-life-section {
	padding: 6rem 0;
	background-color: #EBE9E9;
}
.campus-life-section-header{
	display: flex;
	flex-wrap: wrap;
}
.campus-life-section .subtitle{
	color: var(--edm-color);
}
.campus-life-section-header h3{
	width: 50%;
	font-size: 3.214em;
	font-weight: 600;
}
.campus-life-section-header p{
	width: 50%;
}
.campus-life-section-layout{
	margin-top: 3rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.campus-life-section-card{
	display: block;
	color: #363636;
	text-decoration: none;
}
.campus-life-section-card img{
	height: 15.2rem;
	width: 100%;
	object-fit: cover;
}
.campus-life-section-card h4{
	color: var(--edm-color);
	margin: 2rem 0 0.5rem;
}
.campus-life-section-card:hover{
	text-decoration: none;
	color: inherit;
}
.campus-life-section-card img:hover{
	filter: brightness(0.5) grayscale(100%);
	transition: all 0.3s ease;
}


/* ===========================================
    Accommodation Section
   =========================================== */
.campus-life-section.accommodation{
	background-image: url('https://static.edmkorean.com/main/accommodation-bg.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	position: relative;
}
.campus-life-section.accommodation > *{
	position: relative;
	z-index: 2;
}
.campus-life-section.accommodation::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(181, 176, 176, 0.15);
}


/* ===========================================
    Reviews Section
   =========================================== */

.reviews-section {
	padding: 6rem 0;
}
.reviews-section h3{
	text-align: center;
	font-size: 3.214em;
	font-weight: 600;
}
.reviews-layout{
	margin-top: 3rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}
.reviews-card{
	display: block;
	color: #363636;
}
.reviews-card img{
	aspect-ratio: 1/1;
	margin: 0 auto 1.5rem;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	width: 13rem;
	height: 13rem;
	overflow: hidden;
}
.reviews-card:hover{
	text-decoration: none;
	color: inherit;
}
.reviews-card img:hover{
	filter: brightness(0.5);
	transition: all 0.3s ease;
}
.reviews-card .name{
	font-weight: 700;
	margin-bottom: 0;
}
.reviews-card .country{
	color: #888888;
}
.reviews-card .txt{
	padding-top: 1rem;
	margin-top: 1rem;
	border-top: 1px solid #e5e7eb;
	font-size: 0.9rem;
	color: #888888;
	line-height: 1.85;
}

/* ===========================================
    Youtube Section
   =========================================== */

.youtube-section {
	background-color: var(--bs-gray-900);
	padding: 6rem 0;
	color: var(--bs-gray-400);
}
.youtube-section h3{
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--bs-gray-600);
	font-size: 1rem;
	font-weight: 700;
	color: inherit;
}
.youtube-section .youtube-list{
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0;
	padding: 0;
	gap: 2rem;
}
.youtube-section .youtube-list > li a:hover{
	text-decoration: none;
}
.youtube-section .youtube-list > li img{
	width: 100%;
	height: 12.9rem;
	object-fit: cover;
	margin-bottom: 1.5rem;
}
.youtube-section .youtube-list > li p{
	font-size: 0.9rem;
	color: var(--bs-gray-500);
}


/* ===========================================
    Transportation Section
   =========================================== */

.transportation-section {
	padding: 6rem 0;
}
.transportation-section h3{
	font-size: 1.714em;
	font-weight: 600;
	margin-bottom: 3rem;
}
.transportation-layout{
	display: flex;
	flex-wrap: wrap;
}
.transportation-info{
	width: 55%;
	font-size: 0.9rem;
	color: var(--bs-gray-600);
	padding-right: 2rem;
}
.transportation-info h4{
	font-size: 1.214em;
	font-weight: 600;
	margin-bottom: 1rem;
}
.transportation-info p{
	margin-bottom: 0.7rem;
}
.transportation-info p + h4{
	margin-top: 2.5rem;
}
.transportation-map{
	width: 45%;
	position: relative;
	padding-top: 32%;
}
.transportation-map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* ===========================================
    Come to Korea Section
   =========================================== */

.come-to-korea-section {
	padding: 6rem 0;
	position: relative;
	text-align: center;
	color: #fff;
}
.come-to-korea-section::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('https://static.edmkorean.com/main/come-to-korea-section-bg.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	filter: grayscale(100%);
}
.come-to-korea-section::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(61, 61, 61, 0.85);
}
.come-to-korea-section > *{
	position: relative;
	z-index: 2;
}
.come-to-korea-section img{
	height: 80px;
	margin-bottom: 2rem;
}
.come-to-korea-section h3{
	color: inherit;
	font-size: 2.143em;
	font-weight: 600;
}
.come-to-korea-section p{
	line-height: 1.85;
	padding-top: 1rem;
	margin-top: 1rem;
	position: relative;
}
.come-to-korea-section p::before{
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 3.5rem;
	height: 3px;
	background-color: #fff;
}
.come-to-korea-section .btn{
	height: 2.7rem;
	line-height: 2.7rem;
	font-size: 0.8rem;
	padding: 0 1.5rem;
	font-weight: 400;
}
.come-to-korea-section .btn i{
	margin-right: 0.5rem;
}








/* ===========================================
   반응형 디자인
   =========================================== */
@media (max-width: 1250px) {
	.instagram-section .grid-item{
		width: calc(100%/3 - 1rem);
	}
}
@media (max-width: 991px) {
	/* ===========================================
	   Hero Section
	=========================================== */
	.hero-logo img{
		height: 5rem;
	}
	.hero-title{
		font-size: 2.3rem;
	}
	.hero-actions{
		gap: 0.5rem;
	}
	.hero-actions .btn{
		padding: 0.7rem 1rem;
	}

	/* ===========================================
	   Accommodation Section
	=========================================== */
	.global-campus-section{
		padding: 3rem 0;
	}
	.global-campus-left{
		width: 100%;
		margin-bottom: 3rem;
		padding-top: 0;
	}
	.global-campus-left h3{
		font-size: 2.143em;
		line-height: 1.2;
	}
	.global-campus-right .brochure span{
		position: static;
		width: 100%;
		display: block;
	}
	.global-campus-right{
		width: 100%;
	}

	/* ===========================================
	   Welcome to edm Korean Global Campus Section
	=========================================== */
	.welcome-section{
		padding: 3rem 0;
	}
	.welcome-section h3{
		font-size: 1.8rem;
	}
	.welcome-section img{
		height: 60px;
	}

	/* ===========================================
	   Campus Life Section
	=========================================== */
	.campus-life-section{
		padding: 3rem 0;
	}
	.campus-life-section-header h3{
		width: 100%;
		font-size: 1.8rem;
		margin-bottom: 0.5rem;
	}
	.campus-life-section-header p{
		width: 100%;
		margin-bottom: 0;
	}
	.campus-life-section-layout{
		display: block;
	}
	.campus-life-section-card{
		width: 100%;
	}
	.campus-life-section-card img{
		height: auto;
	}
	.campus-life-section-card h4{
		margin-top: 1rem;
	}
	.campus-life-section-card p{
		margin-bottom: 0;
	}
	.campus-life-section-card + .campus-life-section-card{
		margin-top: 2rem;
	}

	/* ===========================================
	   Reviews Section
	=========================================== */
	.reviews-section{
		padding: 3rem 0;
	}
	.reviews-section h3{
		font-size: 1.8rem;
	}
	.reviews-layout{
		grid-template-columns: repeat(2, 1fr);
	}


	/* ===========================================
	   Youtube Section
	=========================================== */
	.youtube-section{
		padding: 3rem 0;
	}
	.youtube-section .youtube-list{
		grid-template-columns: repeat(2, 1fr);
	}


	/* ===========================================
	   Transportation Section
	=========================================== */
	.transportation-section{
		padding: 3rem 0;
	}
	.transportation-info{
		width: 100%;
		padding-right: 0;
	}
	.transportation-info h4{
		margin-bottom: 0.5rem;
	}
	.transportation-info p{
		margin-bottom: 0.5rem;
	}
	.transportation-info p + h4{
		margin-top: 1.5rem;
	}
	.transportation-map{
		width: 100%;
		margin-top: 2rem;
		padding-top: 82%;
	}


	/* ===========================================
	   Come to Korea Section
	=========================================== */
	.come-to-korea-section{
		padding: 3rem 0;
	}
	.come-to-korea-section img{
		height: 60px;
	}
	.come-to-korea-section h3{
		font-size: 1.8rem;
	}
	.come-to-korea-section p{
		margin-top: 1.5rem;
		padding-top: 1.5rem;
	}
}

@media (max-width: 768px) {
    /* Hero Section */
    .hero-video-section {
        padding: 4rem 0;
    }
	.hero-logo{
		margin-bottom: 5rem;
		text-align: center;
	}
	.hero-logo img{
		height: 102px;
	}
    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
		line-height: 130%;
		letter-spacing: -0.035rem;
		margin-bottom: 0.5rem;
    }
	.hero-text{
		margin-bottom: 1.5rem;
	}

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

    .hero-description {
        font-size: 15px;
		line-height: 150%;
		letter-spacing: -0.15px;
		margin-bottom: 0;
    }

    .hero-actions {
		gap: 10px;
        align-items: center;
    }
	.hero-actions .btn{
		width: auto;
		max-width: initial;
		font-size: 15px;
		line-height: 150%;
		letter-spacing: -0.15px;
		padding: 0.65rem 1.23rem;
	}

    .btn {
        width: 100%;
        max-width: 300px;
    }

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


    .image-placeholder {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }


	/* ===========================================
	   Instagram Section
	=========================================== */
	.instagram-section{
		padding: 3rem 0;
	}
	.instagram-section h3{
		font-size: 1.8rem;
	}
	.instagram-section .grid-item{
		width: calc(100%/2 - 1rem);
	}
    .instagram-section .overlay-text {
        font-size: 0.8rem;
        padding: 0.75rem;
    }


	/* ===========================================
	   Curriculum Section
	=========================================== */
	.curriculum-section{
		padding: 3rem 0;
	}
	.curriculum-section h3{
		font-size: 2rem;
	}
	.curriculum-section .subtitle{
		font-size: 1.2rem;
	}
	.curriculum-layout{
		grid-template-columns: repeat(2, 1fr);
		row-gap: 2rem;
	}
	.curriculum-card h4{
		margin: 1rem 0 0.5rem;
	}

}

@media (max-width: 480px) {
    .hero-video-section {
        height: 80vh;
        min-height: 500px;
    }

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

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

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

	/* ===========================================
	   Instagram Section
	=========================================== */
	.instagram-section .overlay-text {
		font-size: 0.7rem;
		padding: 0.5rem;
	}



	/* ===========================================
	   Curriculum Section
	=========================================== */
	.curriculum-layout{
		grid-template-columns: repeat(1, 1fr);
	}
	.curriculum-section .subtitle{
		font-size: 1.1rem;
	}


	/* ===========================================
	   Global Campus Section
	=========================================== */
	.global-campus-right{
		display: block;
	}
	.global-campus-right .list{
		padding-top: 4rem;
	}
	.global-campus-right .brochure span{
		max-width: 100%;
	}
	.global-campus-right .list a{
		padding-left: 0;
	}
	.global-campus-right .list a + a{
		margin-top: 1.5rem;
		padding-top: 1.5rem;
	}


	/* ===========================================
	   Reviews Section
	=========================================== */
	.reviews-layout{
		grid-template-columns: repeat(1, 1fr);
	}
	.reviews-card .name{
		font-size: 1.2rem;
	}
	.reviews-card .country{
		font-size: 1.2rem;
	}


	/* ===========================================
	   Youtube Section
	=========================================== */
	.youtube-section h3{
		font-size: 1.2rem;
		margin-bottom: 1.5rem;
		padding-bottom: 1.5rem;
	}
	.youtube-section .youtube-list{
		grid-template-columns: repeat(1, 1fr);
	}
	.youtube-section .youtube-list > li img{
		margin-bottom: 1rem;
	}
	.youtube-section .youtube-list > li p{
		font-size: 1rem;
	}


	/* ===========================================
	   Transportation Section
	=========================================== */
	.transportation-map{
		padding-top: 145%;
	}


	/* ===========================================
	   Come to Korea Section
	=========================================== */
	.come-to-korea-section .btn{
		font-size: 1rem;
	}
}
