/* 서브 페이지 공통 레이아웃 */
.sub-page {
    padding: 90px 0;
}

.sub-page.scrolled-header {
    padding-top: 55px;
}

.sub-page.none-header {
    padding-top: 0;
}

.sub-page.bg-blue {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.sub-page.bg-blue::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(74, 144, 226, 0.05) 100%);
    z-index: 0;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.sub-page.bg-blue::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 70%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(74, 144, 226, 0.03) 100%);
    z-index: 0;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.sub-page__content {
    padding-top: 55px;
    position: relative;
    z-index: 1;
}

.sub-page__banner {
    position: relative;
    height: 250px;
    background: url('/assets/images/sub/sub-banner.png') no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sub-page__banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/common/pattern-dots.png') repeat;
    opacity: 0.15;
    z-index: 1;
    mix-blend-mode: overlay;
}

.page-header__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.page-header__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); */
    letter-spacing: 2.5px;
}

.page-header__description {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
    /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); */
}

.container {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.sub-container {
    display: flex;
    flex-direction: column;
    gap: 100px;
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}

.form-container {
    max-width: 480px;
    margin: 40px auto;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

/* 섹션 타이틀 */
.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    color: var(--color-primary);
}

/* 섹션 서브타이틀 */
.section-subtitle {
    margin-top: 16px;
    font-size: 18px;
    text-align: center;
    color: var(--color-cont-text);
}

/* 이미지-텍스트 그리드 레이아웃 */
.grid-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.grid-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.grid-item:nth-child(even) {
    flex-direction: row-reverse;
}

.grid-item .img-box {
    width: calc(50% - 25px);
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
}

.grid-item .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-item .txt-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: calc(50% - 25px);
}

/* 버튼 스타일 */
.btn-star {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin: 0 auto;
    padding: 20px 30px;
    background: var(--color-primary);
    border-radius: 999px;
    font-size: 32px;
    font-weight: 600;
    color: var(--color-bg);
}

.btn-star::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background: url("/assets/icons/star.svg") no-repeat 50% 50%;
    background-size: contain;
    transform: translateY(-50%);
}

.btn-star:hover {
    background-color: var(--color-primary-light);
    transition: all 0.3s ease;
}

/* 반응형 스타일 */
/* @media screen and (max-width: 1279px) {
    .sub-container {
        gap: 80px;
        padding: 80px 0;
    }

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

    .section-subtitle {
        font-size: 16px;
    }

    .grid-list {
        gap: 35px;
    }

    .grid-item {
        gap: 30px;
    }

    .grid-item .img-box {
        width: calc(50% - 15px);
        height: 200px;
    }

    .grid-item .txt-box {
        width: calc(50% - 15px);
    }

    .btn-star {
        font-size: 28px;
    }
} */

@media screen and (max-width: 1023px) {
    .sub-page {
        padding: 80px 0;
    }
}

@media screen and (max-width: 767px) {
    .sub-page {
        padding: 60px 0;
    }

    .sub-page__banner {
        height: 150px;
    }
    
    .page-header__title {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .page-header__description {
        font-size: 14px;
        line-height: 1.5;
        max-width: 100%;
    }

    .sub-page__content {
        padding-top: 25px;
        position: relative;
        z-index: 1;
    }

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

    .grid-item {
        flex-direction: column;
        gap: 20px;
    }

    .grid-item:nth-child(even) {
        flex-direction: column;
    }

    .grid-item .img-box,
    .grid-item .txt-box {
        width: 100%;
    }

    .btn-star {
        width: 100%;
        justify-content: center;
        font-size: 24px;
    }
} 