﻿/* 프리미엄 메인 기본 스타일 (premium/index.php) — premium.index.responsive.css 참고 */

/* 배너 스타일 - 시안 적용 (전체 이미지 + 그라데이션, 비율 눌림) */
.bannerContainer {
    width: 100%;
    min-height: 320px;
    max-height: 350px;
    position: relative;
    overflow: hidden;
    background-color: #E0EBF2;
    background-image: url(../img/premium/teacher_banner2.png);
    background-size: 110%;
    background-position: right 28%;
    background-repeat: no-repeat;
}
/* .bannerContainer::before{content:''; position: absolute; inset: 0; background: url('../img/premium/teacher_banner2.png') no-repeat right center; background-size: contain; z-index: 0;} */
/* .bannerContainer::after{content:''; position: absolute; inset: 0; background: linear-gradient(90deg, #E0EBF2 0%, #E0EBF2 45%, rgba(224,235,242,1) 55%, rgba(224,235,242,1) 58%, transparent 65%); z-index: 1;} */
.bannerInner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 320px;
    padding: 40px 24px;
}
.leftBanner {
    max-width: 560px;
    padding-right: 40px;
}
.bannerTitle {
    width: auto;
    height: 44px;
    padding: 0 20px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #E5E5E5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.bannerTitle > img {
    width: 22px;
    height: 22px;
}
.bannerTitle > p {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.leftBanner > h1 {
    margin-top: 24px;
    font-size: 34px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    letter-spacing: -0.02em;
}
.leftBanner > h1 span {
    font-weight: 800;
}
.leftBanner > p {
    margin-top: 14px;
    font-size: 17px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.5;
}
.bannerButtons {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.bannerBtn {
    height: 48px;
    padding: 0 24px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
}
.bannerBtn:hover {
    opacity: 0.9;
}
.bannerBtn.start {
    background: transparent;
    color: #8352D7;
    border: 2px solid #8352D7;
}
.bannerBtn.creator {
    background: #8352D7;
    color: #fff;
    border: none;
}
.bannerBtn.creator:hover {
    background: #6b42b8;
}
.bannerBtn > img {
    width: 18px;
    height: 18px;
}

/* 크리에이터 스타일 */
.secondContainer {
    margin: 0 auto;
    width: 100%;
    max-width: 1300px;
    padding-top: 120px;
}
.secondContainer > h1 {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    display: flex;
    align-items: center;
    gap: 14px;
}
.secondContainer > h1 > img {
    width: 32.8px;
}
.secondMenu {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 52px;
    gap: 16px;
}
.secondTabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
    min-width: 0;
    max-width: 1025px;
}
.secondTabs > a {
    height: 46px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #C8C8C8;
    font-size: 18px;
    font-weight: 500;
    color: #505050;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}
.secondTabs > a.onTab {
    background: #7800ff;
    color: #fff;
    font-weight: 700;
    border: none;
}
.allMenu {
    width: 158px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    text-decoration: none;
}
.allMenu > span {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    width: 18.5px;
    height: 18.5px;
    border-radius: 50%;
}
.secondGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 50px;
}
.secondBox {
    width: 100%;
    padding: 16px 16px 26px 16px;
    background: #F8F8F8;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.secondTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.secondGrade {
    padding: 0 12px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    border-radius: 15px;
}
.premiumGrade {
    background: #EDD8FF;
    color: #7800FF;
}
.bestGrade {
    background: #E5EAFB;
    color: #4C57EB;
}
.newGrade {
    background: #E0F6E8;
    color: #00873F;
}
.secondTop > a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.secondProfile {
    width: 126px;
    height: 126px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: 4px;
}
.secondProfile > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.secondInfo {
    margin-top: 14px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.secondInfo > h1 {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    text-align: center;
}
.secondInfo > p {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    word-break: keep-all;
    text-align: center;
}
.eduInfo {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.eduInfo > a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    padding: 0 8px;
    height: 26px;
    border-radius: 13px;
}
.eduCount {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-top: 22px;
}
.eduCount > span {
    color: #7800ff;
    font-weight: 600;
}
.secondLink {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    border-radius: 8px;
    background: #303030;
    margin-top: 24px;
    cursor: pointer;
}
.secondLink > img {
    display: none;
}
.secondLink:hover {
    background: #7800FF;
}
.secondLink:hover > img {
    display: block;
}

/* 프리미엄 수업 스타일 */
.thirdContainer {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 120px;
}
.thirdContainer > h1 {
    font-size: 40px;
    font-weight: 800;
    color: #000;
    text-align: center;
}
.thirdContainer > h1 > span {
    color: #7800ff;
}
.thirdMenu {
    margin-top: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.thirdMenu > a {
    padding: 0 21px;
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 46px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #C8C8C8;
    font-size: 20px;
    font-weight: 500;
    color: #505050;
}
.thirdMenu > a.onTab {
    background: #7800ff;
    color: #fff;
    font-weight: 700;
    border: none;
}
.thirdGrid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.thirdBox {
    width: 100%;
    transition: all 0.3s ease-in-out;
    will-change: transform;
    display: block;
    cursor: pointer;
}
.thirdBox:hover {
    transform: translateY(-10px);
}
.thirdImage {
    width: 100%;
    height: 228px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.thirdImage > a,
.thirdImage > span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    z-index: 10;
}
.thirdImage > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thirdEdu {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.thirdEdu > a {
    padding: 0 10px;
    height: 26px;
    border-radius: 13px;
    background: #EEEEEE;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thirdInfo {
    width: 100%;
    margin-top: 12px;
}
.thirdInfo > p {
    font-size: 22px;
    font-weight: 700;
    color: #000;
}
.thirdInfo > span {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #000;
}
.scoreBox {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 14px;
}
.scoreBox > p {
    font-size: 14px;
    font-weight: 400;
    color: #707070;
    display: flex;
    align-items: center;
    gap: 4px;
}
.eduPrice {
    margin-top: 10px;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 40px;
}
.premiumMenu {
    margin: 40px auto 0 auto;
    width: 262px;
    height: 48px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
}
.premiumMenu > span {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    width: 18.5px;
    height: 18.5px;
    border-radius: 50%;
}

/* 교사 픽 스타일 */
.fourthContainer {
    margin: 120px auto 0 auto;
    width: 100%;
    max-width: 1300px;
}
.fourthTitle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fourthTitle > h1 {
    font-size: 32px;
    font-weight: 800;
    color: #000;
    display: flex;
    align-items: center;
    gap: 14px;
}
.fourthTitle > h1 span {
    /*color: #7800ff;*/
}
.fourthTitle > h1 > img {
    width: 32.8px;
}
.fourthNav {
    width: 86px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #BEBEBE;
    background: #fff;
    display: flex;
    align-items: center;
}
.fourthNav > a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.fourthNav > a:first-child {
    border-right: 1px solid #bebebe;
}
.creatorContainer {
    margin: 80px auto 0 auto;
    width: 100%;
    max-width: 1300px;
}

/* 교사프리미엄 마켓 스타일 */
.fifthContainer {
    width: 100%;
    margin-top: 120px;
    background-image: linear-gradient(180deg, #FFFFFF, #F3EFFF);
    padding-bottom: 190px;
}
.marketContainer {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}
.marketContainer > p {
    width: 274px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #000;
    border-radius: 36px;
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin: 0 auto;
}
.marketContainer > h1 {
    font-size: 46px;
    font-weight: 800;
    color: #000;
    margin-top: 43px;
    text-align: center;
}
.marketContainer > span {
    display: block;
    font-size: 22px;
    font-weight: 400;
    color: #000;
    margin-top: 20px;
    text-align: center;
    margin-bottom: 70px;
}
.marketGrid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 290px;
    margin-top: 80px;
    gap: 26px;
}
.marketBox {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 16px;
    grid-column: span 1 / span 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.marketBox > h1 {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    margin-top: 10px;
    text-align: center;
}
.marketBox > p {
    font-size: 22px;
    font-weight: 500;
    color: #000;
    margin-top: 14px;
    text-align: center;
}
.marketBtn {
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.marketBtn > a {
    width: 270px;
    height: 68px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
}
.createrBtn {
    background: #7800FF;
    color: #fff;
}
.blogBtn {
    background: #fff;
    color: #7800FF;
    border: 1px solid #7800FF;
}
.marketImage {
    width: 100%;
    height: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 55px;
}
.marketImage > img {
    position: absolute;
    top: 0;
}
.roadmap_card_container {
    width: 1055px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-left: auto;
    margin-right: auto;
}
.roadmap_card {
    border: 1px solid rgb(221, 221, 221);
    border-radius: 17px;
    background-color: rgb(255, 255, 255);
    width: 347px;
    display: flex;
    flex-direction: column;
}
.roadmap_card_image {
    position: relative;
    overflow: hidden;
    border-radius: 17px 17px 0 0;
}
.roadmap_card_img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
    will-change: transform;
}
.roadmap_card_image:hover .roadmap_card_img {
    transform: scale(1.1);
}

.roadmap_card_content {
    padding: 12px 20px 16px 20px;
    /* height: 200px; */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.roadmap_tags {
    display: flex;
    gap: 11px;
}
.roadmap_card_tag {
    border: 1px solid rgb(224, 218, 229);
    border-radius: 5px;
    background-color: rgb(243, 239, 247);
    padding: 0 4px;
    height: 27px;
    font-size: 13px;
    color: #5f378c;
    display: flex;
    justify-content: center;
    align-items: center;
}
.roadmap_card_tag2 {
    border: 1px solid rgb(220, 220, 220);
    border-radius: 5px;
    background-color: rgb(242, 242, 242);
    width: 98px;
    height: 27px;
    font-size: 13px;
    color: #626262;
    display: flex;
    justify-content: center;
    align-items: center;
}

.roadmap_card_content_main h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 16px;
}
.roadmap_card_sub_text {
    font-size: 14px;
    color: #616161;
    margin-top: 12px;
    line-height: 19px;
}

.Shape_11 {
    background-color: rgb(210, 210, 210);
    height: 1px;
    margin: 17px 0px 13px 0px;
}

.roadmap_tags2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 30px;
}
.roadmap_card_tag3 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}
.roadmap_card_bnt {
    border: 1px solid rgb(120, 0, 255);
    border-radius: 5px;
    width: 100%;
    height: 30px;
    background-color: rgb(120, 0, 255);
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
