@charset "utf-8";

/**
 * 라이프업 오피스텔 — 탭 5개 (스페이스 탭 없음)
 *
 * lifeup.css 보다 먼저 로드되므로 .lifeup.page_container 로 명시도를 높여 덮어씁니다.
 */
.lifeup.page_container .lifeup__tab > .tab__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media screen and (max-width: 1024px) {
    /* 모바일: 윗줄 3개 / 아랫줄 2개 */
    .lifeup.page_container .lifeup__tab > .tab__list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .lifeup.page_container .lifeup__tab > .tab__list > .tab__button {
        grid-column: span 2;
    }

    .lifeup.page_container .lifeup__tab > .tab__list > .tab__button:nth-child(n + 4) {
        grid-column: span 3;
    }
}
