* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Banner */
.page-banner {
    background-image: url('/image/category_banner.png');
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    width: 100%;
    aspect-ratio: 4.13 / 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 50px 20px 40px;
    min-height: 471px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
}

/* Content Section */
.house-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #4A90E2;
}

/* Intro Text */
.intro-text {
    text-align: center;
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-bottom: 60px;
}

/* Subsection Title */
.subsection-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

.subsection-title .bullet {
    color: #4A90E2;
    margin-right: 10px;
    font-size: 16px;
}

/* Info Section */
.info-section {
    margin-bottom: 50px;
}

.info-box-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-box {
    padding: 18px 24px;
    border: 1px solid #99A6FB;
    border-radius: 6px;
    border-left: 4px solid #99A6FB;
    background-color: #fff;
}

.info-box p {
    font-size: 15px;
    color: #000;
    line-height: 1.6;
}

.info-box strong {
    color: #3476D2;
}

/* Qualification Section */
.qualification-section {
    margin-bottom: 60px;
    padding: 30px;
    background-color: #F5F9FF;
    border-radius: 8px;
}

.qualification-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.qualification-section ul {
    list-style: none;
    padding: 0;
}

.qualification-section li {
    font-size: 15px;
    line-height: 2;
    color: #333;
    padding-left: 15px;
    position: relative;
}

.qualification-section li::before {
    content: '-';
    position: absolute;
    left: 0;
}

/* Photo Grid */
.community-section,
.facility-section {
    margin-bottom: 60px;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 0 40px;
}

.photo-item {
    border: 1px solid transparent;
    border-radius: 21px;
    padding: 15px;
    background-image: linear-gradient(#fff, #fff), linear-gradient(to right, #3476D2, #99A6FB);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.photo-frame {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-caption {
    text-align: center;
    font-size: 15px;
    color: #333;
    margin-top: 12px;
    font-weight: 700;
}

/* Contact Section */
.contact-section {
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 1100px) {
    .page-title {
        font-size: 40px;
    }

    .page-banner {
        padding: 30px 20px 40px;
    }
}

@media (max-width: 900px) {
    .page-title {
        font-size: 38px;
    }

    .page-banner {
        padding: 25px 20px 40px;
    }
}

@media (max-width: 810px) {
    .page-title {
        font-size: 35px;
    }

    .page-banner {
        padding: 22px 20px 40px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        background-image: url('/image/m_category_banner.png');
        aspect-ratio: 4.13 / 1;
        min-height: 370px;
        padding: 30px 15px 30px;
    }

    .page-title {
        font-size: 20px;
    }

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

    .house-section {
        padding: 50px 0;
    }

    .intro-text {
        font-size: 14px;
    }

    .photo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0;
    }
}

@media (max-width: 350px) {
    .page-banner {
        min-height: 150px;
        padding: 25px 10px 20px;
    }

    .page-title {
        font-size: 18px;
    }

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