/* static/css/intro.css */
.intro-section {
    max-width: 680px;
    margin: 0 auto 30px;
    margin-top: 30px;  /* 상단 마진만 30px 추가 */
    padding: 0 20px;
}

.intro-content {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(92, 10, 154, 0.1);
    border-left: 4px solid #5c0a9a;
}

.intro-content h2 {
    color: #5c0a9a;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.intro-text {
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.intro-features li {
    color: #5c0a9a;
    padding-left: 24px;
    position: relative;
    list-style: none;
}

.intro-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #5c0a9a;
}

@media (max-width: 480px) {
    .intro-features {
        grid-template-columns: 1fr;
    }
}

/* intro.css에 추가 */
.intro-header {
    display: flex;
    align-items: flex-start;  /* 다시 flex-start로 변경 */
    gap: 20px;
    margin-bottom: 20px;
}
.intro-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;  /* 높이도 지정하여 정원이 되도록 */
    overflow: hidden;  /* 이미지가 영역을 벗어나지 않도록 */
    border-radius: 50%;  /* 원형으로 만들기 */
    margin-top: 20px;  /* 이미지를 살짝 내림 */
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 이미지 비율 유지하면서 영역 채우기 */
    border-radius: 50%;  /* 이미지도 원형으로 */
}

.intro-text-content {
    flex: 1;
    padding-top: 5px;        /* 이미지와 텍스트 높이를 조절하기 위해서 텍스트에 약간의 상단 패딩 추가 */
}

@media (max-width: 480px) {
    .intro-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .intro-image {
        width: 80px;          /* 모바일에서 이미지 크기 */
        height: 80px;         /* 높이도 동일하게 유지 */
        margin-bottom: 15px;
        border-radius: 50%;   /* 원형 유지 */
        overflow: hidden;     /* 원형 밖의 이미지 숨김 */
    }
}