@charset "UTF-8";
/* ============================================================
   profile.css — 프로필 페이지 전용
   기준 시안 : reference/designPage/SONGPRO Sub Profile.dc.html
   ============================================================ */

/* ------------------------------------------------------------
   1. 본문 레이아웃
   ------------------------------------------------------------ */
.profile-main {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding-block: 64px;
}

/* ------------------------------------------------------------
   2. 프로필 소개
   ------------------------------------------------------------ */
.profile-intro {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.profile-intro__aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 280px;
}

/* 원본(0.714)이 표시 영역(3/4)보다 세로로 길어 위아래를 조금 잘라 채운다 */
.profile-intro__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    object-fit: cover;
}

.profile-intro__download {
    height: 44px;
    border-radius: var(--r-md);
    font-size: 15px;
    line-height: 22.5px;
    font-weight: 700;
}

.profile-intro__body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-intro__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-intro__eyebrow {
    font-size: 15px;
    line-height: 22.5px;
    color: var(--c-text-sub);
}

.profile-intro__name {
    font-size: 32px;
    line-height: 48px;
    font-weight: 700;
    color: var(--c-text);
}

.profile-intro__lead {
    font-size: 17px;
    line-height: 25.5px;
    color: var(--c-text-sub);
    text-wrap: pretty;
}

/* ------------------------------------------------------------
   3. 항목표 — 프로필 상세 / 출강 조건 공용
   ------------------------------------------------------------ */
.spec {
    display: flex;
    flex-direction: column;
}

/* 위 요소(태그 목록)와 간격을 벌리는 변형 */
.spec--offset {
    padding-top: 8px;
}

.spec__row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--c-border);
}

.spec__term {
    font-size: 15px;
    line-height: 22.5px;
    font-weight: 700;
    color: var(--c-text);
}

.spec__desc {
    font-size: 15px;
    line-height: 22.5px;
    color: var(--c-text-sub);
}

/* 여러 줄이 나열되는 항목 */
.spec__desc--stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.spec__desc--tight {
    gap: 4px;
}

/* 더보기로 열고 닫는 목록 */
.spec__more {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.spec__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 13px;
    line-height: 19.5px;
    font-weight: 700;
    color: var(--c-brand);
    cursor: pointer;
}

.spec__toggle:hover {
    color: var(--c-brand-hover);
    text-decoration: underline;
}

/* .btn 계열과 달리 display 가 지정돼 있어 hidden 을 명시적으로 처리한다 */
.spec__more[hidden],
.spec__toggle[hidden] {
    display: none;
}

/* ------------------------------------------------------------
   4. 기관 로고 그리드 — 주요 출강 기관
   ------------------------------------------------------------ */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.logo-grid__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    padding: 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    background: var(--c-bg-alt);
}

/* 로고 비율을 유지한 채 타일 안쪽 여백에 맞춘다 */
.logo-grid__logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ------------------------------------------------------------
   5. 반응형
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .profile-intro {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-main {
        padding-block: 56px;
    }

    .profile-intro__name {
        font-size: 24px;
        line-height: 36px;
    }

    .logo-grid {
        grid-template-columns: 1fr;
    }

    .spec__row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
