.sec3 .template-wrap {
    max-width: 1460px;
    margin: 0 auto;
    padding: 150px 20px;
}

.sec3 .gp-template-sec3__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.sec3 .home-template-tabs {
    display: flex;
    gap: 28px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.sec3 .home-template-tabs .tab {
    display: inline-flex;
    align-items: center;
    padding: 12px 0;
    border: 0;
    background: transparent;
    font-size: 20px;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: all .2s ease;
}

.sec3 .home-template-tabs .tab.active {
    color: #111;
}

.sec3 .home-template-tabs .tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: #111;
}

/* 메인 sec3: 카드 폭 내 h2.template-title 한 줄 말줄임 (/template 목록과 동일 원리) */
.sec3 .home-template-sec3 .template-wrap .template-card {
    min-width: 0;
}

.sec3 .home-template-sec3 .template-wrap .template-info {
    min-width: 0;
    max-width: 100%;
}

.sec3 .home-template-sec3 .template-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
