@charset "utf-8";
/* ===================================================================
   파트너 네트워크 전용 (Figma 7659:934 외) — 공통은 suwan-sub.css
   =================================================================== */

/* ---- 히어로 분류 탭 ---- */
.smpt-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 0; position: absolute; z-index: 2; bottom: 0; left: 0; right: 0; }
.smpt-hero .smc-hero__inner { position: static; }
.smpt-hero .smc-hero__inner > :not(.smpt-tabs) { position: relative; z-index: 2; }
.sm-wrap a.smpt-tab {
    display: inline-flex; align-items: center; min-height: 47px; padding: 10px 22px;
    border: 1px solid #d9deea; border-radius: 100px; background: rgba(255,255,255,.6);
    font-size: 16px; font-weight: 500; color: #555; line-height: 1.2;
    transition: color .2s var(--sm-ease), border-color .2s var(--sm-ease), background-color .2s var(--sm-ease);
}
.sm-wrap a.smpt-tab:is(:hover, :focus-visible) { border-color: var(--sm-primary); color: var(--sm-primary); }
.sm-wrap a.smpt-tab.is-active { background: var(--sm-primary); border-color: var(--sm-primary); color: #fff; }

/* ---- 분류 상세 ---- */
.smpt-feature {
    padding-top: 100px;
    display: grid; grid-template-columns: minmax(0, 733fr) minmax(0, 790fr); gap: 77px; align-items: center;
}
.smpt-feature__photo { aspect-ratio: 733 / 480; border-radius: 20px; overflow: hidden; background: var(--sm-bg-soft); }
.smpt-feature__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.smpt-feature__title { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -0.32px; color: #111; }
.smpt-feature__desc { margin-top: 16px; font-size: 20px; font-weight: 400; line-height: 1.6; letter-spacing: -0.2px; color: #333; }
.smpt-feature__items { margin-top: 30px; }
.smpt-feature__items li {
    display: flex; align-items: baseline; gap: 14px;
    padding: 18px 0; border-top: 1px solid #e5e8ee;
}
.smpt-feature__items li:first-child { border-top: 0; }
.smpt-item__arrow { flex: 0 0 auto; color: var(--sm-primary); font-size: 18px; line-height: 1.3; }
.smpt-item__t { flex: 0 0 auto; min-width: 210px; white-space: nowrap; font-size: 18px; font-weight: 600; letter-spacing: -0.18px; color: #111; }
.smpt-item__d { flex: 1 1 auto; min-width: 0; font-size: 16px; line-height: 1.5; letter-spacing: -0.16px; color: #5a6475; }
.smpt-feature__roles {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    margin-top: 34px; padding-top: 30px; border-top: 2px solid #111;
}
.smpt-role { padding-left: 16px; border-left: 3px solid var(--sm-primary); }
.smpt-role__name { font-size: 17px; font-weight: 700; letter-spacing: -0.17px; color: #111; }
.smpt-role__desc { margin-top: 8px; font-size: 15px; font-weight: 400; line-height: 1.5; letter-spacing: -0.15px; color: #5a6475; }

/* ---- 협력업체 ---- */
.smpt-companies { padding-top: 200px; padding-bottom: 240px; }
.smpt-companies__label {
    font-size: 32px; font-weight: 600; color: #000; letter-spacing: -0.32px; line-height: 1.2; margin-bottom: 40px;
}
.smpt-companies__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.smpt-company {
    min-width:0;
    width:100%; max-width:100%;
    position: relative; display: flex; align-items: center; justify-content: flex-end; flex-direction: column; aspect-ratio: 521 / 252; padding: 24px;
    border: 1px solid #d4d4d4; border-radius: 20px; background: #fff; text-align: center;
}
.smpt-company__logo { position: absolute; inset: 0 0 52px; display: flex; align-items: center; justify-content: center; }
.smpt-company__logo img { width: auto; height: auto; max-width: 75%; max-height: 110px; }
.smpt-company__logo strong { font-size: 30px; font-weight: 600; }
.smpt-company__link { position: absolute; inset: 0; z-index: 2; display: block; border-radius: inherit; transition: box-shadow .28s var(--sm-ease); }
.smpt-company__link:is(:hover, :focus-visible) { box-shadow: inset 0 0 0 2px var(--sm-primary); }
.smpt-company__link:focus-visible { outline: 2px solid var(--sm-primary); outline-offset: 3px; }
.smpt-tabs { max-width: 1600px; margin-left: auto; margin-right: auto; }
.smpt-feature__roles { border-top: 0; padding-top: 0; }
.smpt-role { position: relative; border-left: 0; padding-left: 60px; }
.smpt-role::before { content: '✓'; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sm-primary); color: #fff; }
.smpt-company span { font-size: 20px; font-weight: 500; letter-spacing: -0.2px; color: #333; }
.smpt-companies__empty { padding: 40px 0; color: #8a94a6; }

/* ===================================================================
   반응형
   =================================================================== */
@media (max-width: 1024px) {
    .smpt-tabs { position: relative; bottom: auto; }
    .smpt-tabs { margin-top: 32px; }
    .smpt-feature { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 70px; }
    .smpt-feature__photo { max-width: 640px; }
    .smpt-companies { padding-top: 100px; padding-bottom: 100px; }
}
@media (max-width: 768px) {
    .smpt-company { min-height: 150px; padding: 16px 10px; }
    .smpt-company__logo { bottom: 44px; }
    .smpt-company__logo img { max-height: 60px; }
    .smpt-company__logo strong { font-size: 20px; }
    .smpt-feature__items li { flex-wrap: wrap; gap: 6px 12px; }
    .smpt-item__t { flex: 1 1 calc(100% - 32px); min-width: 0; white-space: normal; }
    .smpt-item__d { flex: 1 1 100%; padding-left: 32px; }
    .smpt-feature__roles { grid-template-columns: minmax(0, 1fr); }
    .smpt-companies__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 486px) {
    .sm-wrap a.smpt-tab { min-height: 40px; padding: 8px 16px; font-size: 14px; }
    .smpt-feature { padding-top: 52px; }
    .smpt-feature__desc { font-size: 15px; }
    .smpt-item__t { font-size: 16px; }
    .smpt-item__d { font-size: 14px; }
    .smpt-companies { padding-top: 64px; padding-bottom: 64px; }
    .smpt-companies__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .smpt-companies__label { font-size: 24px; }
    .smpt-company { aspect-ratio: auto; width: 100%; min-width: 0; min-height: 150px; padding: 16px; }
    .smpt-company span { font-size: 16px; }
}

/* 모바일 분류 탭은 배너 하단에 붙이고 기본 스크롤바는 숨긴다. */
@media(max-width:768px){
    .smpt-hero{min-height:0}
    .smpt-hero .smc-hero__inner{padding-bottom:0}
    .smpt-hero .smpt-tabs{position:relative;margin-top:24px;margin-bottom:0;gap:4px;scrollbar-width:none}
    .smpt-hero .smpt-tabs::-webkit-scrollbar{display:none}
    .sm-wrap .smpt-hero a.smpt-tab{font-size:13px;min-height:40px;padding:10px 12px;line-height:1.4;white-space:nowrap}
}
