/* ============================================
   프리미엄 메인 반응형 (premium/index.php)
   분기: 1300 → 1024 → 768 → 480 → 345 (max-width)
   배너: class.index 의 .main_img_box1 · .main_img_text1 과 높이·타이포 맞춤 (premium.index.css 는 수정하지 않고 이 파일에서만 덮어씀)
   body.sub-body: class.index.responsive.css 와 동일 (1300px 이하만)
   ============================================ */

/* 와이드 PC — class/index 기본(350px 히어로 · h5 40px · span 18px). premium.index.css 기본값은 유지 */
@media (min-width: 1301px) {
    .bannerContainer {
        min-height: 350px;
        max-height: none;
    }

    .bannerInner {
        min-height: 350px;
        box-sizing: border-box;
    }

    .leftBanner > h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .leftBanner > p {
        font-size: 18px;
        margin-top: 0;
    }
}

/* ========== 1300px 이하 ========== */
@media (max-width: 1300px) {
    body.sub-body {
        padding-top: 90px !important;
        margin-top: 0;
    }

    body.sub-body.hide-top-header {
        padding-top: 90px !important;
    }

    /* 배너 — class .main_img_box1 .main_img1 height 320px · .main_img_text1 h5/span */
    .bannerContainer {
        min-height: 320px;
        background-position: right 28%;
    }

    .bannerInner {
        min-height: 320px;
        padding: 36px 24px;
        justify-content: center;
        align-items: center;
    }

    .leftBanner {
        max-width: 100%;
        padding-right: 0;
        padding-left: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .leftBanner > h1 {
        font-size: 36px;
        margin-bottom: 18px;
    }

    .leftBanner > p {
        font-size: 17px;
    }
    .bannerTitle > p {
        font-size: 15px;
        line-height: 1;
        white-space: nowrap;
        word-break: keep-all;
    }

    .bannerButtons {
        justify-content: center;
        align-items: center;
        margin-top: 24px;
    }

    .bannerBtn {
        box-sizing: border-box;
    }

    /* 이달의 베스트 교사 크리에이터 제목 */
    .secondContainer {
        padding-top: 0;
    }

    .secondContainer > h1 {
        font-size: 28px;
        gap: 12px;
        line-height: 1.25;
    }

    .secondContainer > h1 > img {
        width: 30px;
        height: auto;
        flex-shrink: 0;
    }

    /* 반응형 공통: 컨테이너 상단 간격 통일 */
    .secondContainer,
    .thirdContainer,
    .fourthContainer,
    .creatorContainer,
    .fifthContainer {
        margin-top: 80px !important;
    }

    .thirdContainer {
        padding-top: 0;
    }
    .thirdContainer > h1 {
        font-size: 36px;
        line-height: 1.3;
        word-break: keep-all;
    }
}

/* ========== 1024px 이하 ========== */
@media (max-width: 1024px) {
    .bannerContainer {
        min-height: 300px;
    }

    .bannerInner {
        min-height: 300px;
        padding: 32px 20px;
        justify-content: center;
        align-items: center;
    }

    .leftBanner {
        padding-right: 0;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .leftBanner > h1 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .leftBanner > p {
        font-size: 16px;
        line-height: 1.55;
    }
    .bannerTitle > p {
        font-size: 14px;
        line-height: 1;
        white-space: nowrap;
        word-break: keep-all;
    }

    .bannerButtons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-top: 22px;
        width: 100%;
    }

    .bannerBtn {
        width: 100%;
        max-width: 320px;
        min-height: 48px;
        height: auto;
        padding: 12px 20px;
        font-size: 15px;
        border-radius: 24px;
    }

    .bannerBtn > img {
        width: 17px;
        height: 17px;
    }

    .secondContainer {
        padding-top: 0;
    }

    .secondContainer > h1 {
        font-size: 26px;
        gap: 10px;
        line-height: 1.28;
    }

    .secondContainer > h1 > img {
        width: 28px;
        height: auto;
        flex-shrink: 0;
    }
    .thirdMenu {
        gap: 8px;
        margin-top: 34px;
    }
    .thirdMenu > a {
        min-width: 82px;
        height: 42px;
        padding: 0 16px;
        border-radius: 21px;
        font-size: 16px;
    }
    .marketContainer > h1 {
        font-size: 40px;
        line-height: 1.3;
        margin-top: 36px;
        word-break: keep-all;
    }
    .marketContainer > span {
        font-size: 20px;
        line-height: 1.45;
        margin-top: 16px;
        word-break: keep-all;
    }
    .premiumMenu {
        width: 100%;
        max-width: 320px;
        height: 42px;
        margin-top: 28px;
        border-radius: 21px;
        font-size: 16px;
        gap: 8px;
    }
    .premiumMenu > span {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
    .premiumMenu > span img {
        width: 8px;
        height: auto;
    }
    .thirdContainer > h1 {
        font-size: 32px;
        line-height: 1.3;
    }
    .roadmap_card_container {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
    .roadmap_card {
        width: 100%;
        border-radius: 14px;
    }
    .roadmap_card_image {
        border-radius: 14px 14px 0 0;
    }
    .roadmap_card_img {
        height: 170px;
    }
    .roadmap_card_content {
        padding: 12px 14px 14px;
    }
    .roadmap_card_content_main h3 {
        font-size: 17px;
        margin-top: 12px;
    }
    .roadmap_card_sub_text {
        font-size: 13px;
        line-height: 1.45;
        margin-top: 10px;
    }
    .roadmap_tags {
        gap: 6px;
        flex-wrap: wrap;
    }
    .roadmap_card_tag,
    .roadmap_card_tag2 {
        width: auto;
        max-width: 100%;
        padding: 0 8px;
        height: 24px;
        font-size: 12px;
        border-radius: 12px;
        white-space: nowrap;
    }
    .roadmap_tags2 {
        height: 28px;
    }
    .roadmap_card_bnt {
        height: 28px;
        font-size: 13px;
    }
}

/* ========== 768px 이하 ========== */
@media (max-width: 768px) {
    /* 상단 히어로만 풀블리드 — 그 외 .mediaBox는 기존 20px 여백 유지 */
    .mediaBox:not(:has(> .bannerContainer)) {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    /* 배너 — class .main_img1 height 260px · h5 26px · span 15px */
    .bannerContainer {
        min-height: 260px;
        background-position: center center;
        background-size: cover;
    }

    .bannerInner {
        min-height: 260px;
        padding: 28px 18px;
        justify-content: center;
        align-items: center;
    }

    .leftBanner {
        max-width: 100%;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bannerTitle {
        margin: 0 auto;
    }

    .bannerTitle > p {
        font-size: 15px;
        line-height: 1;
        white-space: nowrap;
        word-break: keep-all;
    }

    .leftBanner > h1 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .leftBanner > p {
        font-size: 15px;
    }

    .leftBanner > h1,
    .leftBanner > p {
        word-break: keep-all;
    }

    .bannerButtons {
        flex-direction: column;
        margin-top: 22px;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }

    .bannerBtn {
        width: 100%;
        max-width: 280px;
        min-height: 48px;
        height: auto;
        padding: 12px 20px;
        justify-content: center;
        font-size: 15px;
        border-radius: 24px;
        box-sizing: border-box;
    }

    .bannerBtn > img {
        width: 17px;
        height: 17px;
        flex-shrink: 0;
    }

    /* 크리에이터 */
    .secondContainer {
        margin-top: 80px;
        padding-top: 0;
    }
    .secondContainer > h1 {
        font-size: 24px;
        gap: 10px;
        line-height: 1.3;
        align-items: flex-start;
        word-break: keep-all;
    }
    .secondContainer > h1 > img {
        width: 26px;
        height: auto;
        flex-shrink: 0;
        margin-top: 2px;
    }
    .secondMenu {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 30px;
    }
    .secondTabs {
        width: 100%;
        max-width: none;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }
    .secondTabs > a {
        height: 40px;
        padding: 0 14px;
        border-radius: 20px;
        font-size: 15px;
        line-height: 1;
        flex-shrink: 0;
    }
    .allMenu {
        width: 100%;
        max-width: 100%;
        height: 40px;
        padding: 0 14px;
        border-radius: 20px;
        font-size: 15px;
        justify-content: center;
        gap: 8px;
    }
    .allMenu > span {
        width: 17px;
        height: 17px;
        flex-shrink: 0;
    }
    .allMenu > span img {
        width: 9px;
        height: auto;
    }
    .secondGrid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 30px;
        gap: 14px;
    }
    .secondBox {
        padding: 12px 12px 18px 12px;
    }
    .secondGrade {
        height: 26px;
        padding: 0 10px;
        font-size: 14px;
        border-radius: 13px;
    }
    .secondTop > a {
        width: 24px;
        height: 24px;
    }
    .secondTop > a .follow_icon {
        width: 18px;
        height: auto;
    }
    .secondProfile {
        width: 96px;
        height: 96px;
    }
    .secondInfo {
        margin-top: 10px;
    }
    .secondInfo > h1 {
        font-size: 18px;
        line-height: 1.35;
        word-break: keep-all;
    }
    .secondInfo > p {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .eduInfo {
        margin-top: 10px;
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .eduInfo > a {
        height: 22px;
        padding: 0 7px;
        border-radius: 11px;
        font-size: 12px;
    }
    .eduCount {
        margin-top: 14px;
        font-size: 14px;
    }
    .secondLink {
        height: 40px;
        margin-top: 14px;
        font-size: 14px;
        gap: 6px;
        border-radius: 8px;
    }
    .secondLink > img {
        width: 13px;
    }

    /* 프리미엄 수업 */
    .thirdContainer {
        margin: 120px auto 0 auto;
    }
    .thirdContainer > h1 {
        font-size: 28px;
        line-height: 1.35;
        word-break: keep-all;
    }
    .thirdMenu {
        margin-top: 30px;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 8px;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }
    .thirdMenu::-webkit-scrollbar {
        display: none;
    }
    .thirdMenu > a {
        flex-shrink: 0;
        min-width: 78px;
        height: 38px;
        padding: 0 14px;
        border-radius: 19px;
        font-size: 14px;
        scroll-snap-align: start;
    }
    .premiumMenu {
        width: 100%;
        max-width: 280px;
        height: 38px;
        margin-top: 22px;
        border-radius: 19px;
        font-size: 14px;
        gap: 7px;
    }
    .premiumMenu > span {
        width: 15px;
        height: 15px;
    }
    .premiumMenu > span img {
        width: 8px;
    }
    .thirdGrid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 30px;
        gap: 18px;
    }
    .thirdBox {
        padding-bottom: 8px;
    }
    .thirdImage {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 8px;
    }
    .thirdImage > a,
    .thirdImage > span {
        width: 26px;
        height: 26px;
        top: 10px;
        right: 10px;
    }
    .thirdImage > a img,
    .thirdImage > span img {
        width: 18px;
        height: 18px;
    }
    .thirdEdu {
        margin-top: 10px;
        gap: 4px;
        flex-wrap: wrap;
    }
    .thirdEdu > a {
        height: 22px;
        padding: 0 8px;
        border-radius: 11px;
        font-size: 12px;
    }
    .thirdInfo {
        margin-top: 10px;
    }
    .thirdInfo > p {
        font-size: 18px;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .thirdInfo > span {
        margin-top: 6px;
        font-size: 14px;
    }
    .scoreBox {
        gap: 15px;
        flex-wrap: wrap;
        margin-top: 10px;
    }
    .scoreBox > p {
        font-size: 12px;
        gap: 3px;
    }
    .eduPrice {
        margin-top: 8px;
        font-size: 18px;
        margin-bottom: 0;
    }
    .roadmap_card_container {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .roadmap_card_img {
        height: 160px;
    }
    .roadmap_card_content {
        padding: 10px 12px 12px;
    }
    .roadmap_card_content_main h3 {
        font-size: 16px;
        margin-top: 10px;
    }
    .roadmap_card_sub_text {
        font-size: 12px;
        margin-top: 8px;
        line-height: 1.45;
    }
    .roadmap_tags {
        gap: 5px;
    }
    .roadmap_card_tag,
    .roadmap_card_tag2 {
        height: 22px;
        padding: 0 7px;
        font-size: 11px;
    }
    .roadmap_card_bnt {
        height: 27px;
        font-size: 12px;
    }

    /* 교사 픽 스타일 */
    .fourthContainer {
        margin: 120px auto 0 auto;
    }
    .fourthTitle {
        align-items: flex-start;
        gap: 20px;
    }
    .fourthTitle > h1 {
        font-size: 24px;
    }
    .creatorContainer {
        margin-top: 60px;
    }

    /* 교사프리미엄 마켓 스타일 */
    .fifthContainer {
        margin-top: 100px;
        padding-bottom: 100px;
    }
    .marketContainer > p {
        width: 220px;
        height: 60px;
        font-size: 22px;
    }
    .marketContainer > h1 {
        font-size: 32px;
        margin-top: 30px;
        line-height: 1.35;
        word-break: keep-all;
    }
    .marketContainer > span {
        font-size: 18px;
        line-height: 1.5;
        margin-top: 14px;
        word-break: keep-all;
    }
    .marketGrid {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 20px;
    }
    .marketBox {
        padding: 30px 20px;
    }
    .marketImage {
        margin-top: 20px;
        height: 80px;
    }
    .marketBox > h1 {
        font-size: 24px;
    }
    .marketBox > p {
        font-size: 18px;
    }
    .marketBtn {
        flex-direction: column;
        margin-top: 40px;
        gap: 15px;
    }
    .marketBtn > a {
        width: 100%;
        height: 56px;
        font-size: 18px;
    }
}

/* ========== 480px 이하 ========== */
@media (max-width: 480px) {
    .mediaBox:not(:has(> .bannerContainer)) {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bannerContainer {
        min-height: 220px;
    }

    .bannerInner {
        min-height: 220px;
        padding: 24px 16px;
        justify-content: center;
        align-items: center;
    }

    .leftBanner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .leftBanner > h1 {
        font-size: 21px;
        line-height: 1.35;
        margin-bottom: 12px;
    }

    .leftBanner > p {
        font-size: 14px;
        line-height: 1.55;
    }

    .bannerTitle {
        height: 40px;
        padding: 0 16px;
        border-radius: 20px;
    }

    .bannerTitle > p {
        font-size: 14px;
        line-height: 1;
        white-space: nowrap;
        word-break: keep-all;
    }

    .bannerTitle > img {
        width: 20px;
        height: 20px;
    }

    /* 설명 문구 2줄 (480px·프로젝트 분기 기준, ~468px 구간 포함) */
    .bannerSubDesc-line1,
    .bannerSubDesc-line2 {
        display: block;
    }

    .bannerButtons {
        margin-top: 20px;
        gap: 10px;
    }

    .bannerBtn {
        max-width: 100%;
        min-height: 46px;
        padding: 11px 18px;
        font-size: 14px;
        border-radius: 23px;
    }

    .bannerBtn > img {
        width: 16px;
        height: 16px;
    }

    .secondMenu {
        gap: 14px;
        margin-top: 22px;
    }

    .secondTabs {
        gap: 6px;
    }

    .secondTabs > a {
        height: 36px;
        padding: 0 12px;
        border-radius: 18px;
        font-size: 13px;
    }
    .allMenu {
        height: 36px;
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        border-radius: 18px;
        font-size: 13px;
        gap: 7px;
    }
    .allMenu > span {
        width: 15px;
        height: 15px;
    }
    .allMenu > span img {
        width: 8px;
    }

    .secondContainer {
        padding-top: 0;
    }

    .secondContainer > h1 {
        font-size: 21px;
        gap: 8px;
        line-height: 1.35;
        flex-wrap: wrap;
    }

    .secondContainer > h1 > img {
        width: 24px;
        margin-top: 1px;
    }
    .thirdContainer > h1 {
        font-size: 24px;
        line-height: 1.35;
    }
    .thirdMenu {
        margin-top: 22px;
        gap: 6px;
        padding-bottom: 8px;
    }
    .thirdMenu > a {
        min-width: 70px;
        height: 34px;
        padding: 0 12px;
        border-radius: 17px;
        font-size: 12px;
    }
    .marketContainer > h1 {
        font-size: 26px;
        line-height: 1.35;
        margin-top: 24px;
    }
    .marketContainer > h1 .market-title-second-line {
        display: block;
    }
    .marketContainer > span {
        font-size: 15px;
        line-height: 1.5;
        margin-top: 12px;
    }
    .marketContainer > span .market-desc-second-line {
        display: block;
    }
    .marketBtn {
        margin-top: 28px;
        gap: 10px;
    }
    .marketBtn > a {
        width: 100%;
        height: 46px;
        border-radius: 10px;
        font-size: 15px;
    }
    .premiumMenu {
        width: 100%;
        max-width: 100%;
        height: 36px;
        margin-top: 18px;
        border-radius: 18px;
        font-size: 13px;
        gap: 6px;
    }
    .premiumMenu > span {
        width: 14px;
        height: 14px;
    }
    .premiumMenu > span img {
        width: 7px;
    }
    .thirdGrid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 22px;
    }
    .thirdBox {
        padding-bottom: 6px;
    }
    .thirdImage {
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .thirdEdu > a {
        font-size: 11px;
    }
    .thirdInfo > p {
        font-size: 16px;
    }
    .thirdInfo > span {
        font-size: 13px;
    }
    .scoreBox > p {
        font-size: 11px;
    }
    .eduPrice {
        font-size: 16px;
    }
    .secondGrid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 22px;
    }
    .secondBox {
        padding: 12px 12px 16px;
    }
    .secondProfile {
        width: 88px;
        height: 88px;
    }
    .secondInfo > h1 {
        font-size: 17px;
    }
    .secondInfo > p {
        font-size: 13px;
    }
    .eduCount {
        font-size: 13px;
    }
    .secondLink {
        height: 38px;
        font-size: 13px;
    }
    .roadmap_card_container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .roadmap_card {
        border-radius: 12px;
    }
    .roadmap_card_image {
        border-radius: 12px 12px 0 0;
    }
    .roadmap_card_img {
        height: 190px;
    }
    .roadmap_card_content {
        padding: 10px 11px 12px;
    }
    .roadmap_card_content_main h3 {
        font-size: 15px;
    }
    .roadmap_card_sub_text {
        font-size: 12px;
    }
    .roadmap_card_bnt {
        height: 26px;
        font-size: 12px;
    }
}

/* ========== 345px 이하 ========== */
@media (max-width: 345px) {
    .mediaBox:not(:has(> .bannerContainer)) {
        padding-left: 12px;
        padding-right: 12px;
    }

    .bannerContainer {
        min-height: 200px;
    }

    .bannerInner {
        min-height: 200px;
        padding: 20px 12px;
        justify-content: center;
        align-items: center;
    }

    .leftBanner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .leftBanner > h1 {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .leftBanner > p {
        font-size: 13px;
        line-height: 1.55;
    }

    .bannerTitle {
        height: 36px;
        padding: 0 12px;
        border-radius: 18px;
    }

    .bannerTitle > p {
        font-size: 13px;
        line-height: 1;
        white-space: nowrap;
        word-break: keep-all;
    }

    .bannerTitle > img {
        width: 18px;
        height: 18px;
    }

    .bannerButtons {
        margin-top: 18px;
        gap: 8px;
    }

    .bannerBtn {
        max-width: 100%;
        min-height: 44px;
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 22px;
    }

    .bannerBtn > img {
        width: 15px;
        height: 15px;
    }

    .secondContainer {
        padding-top: 0;
    }

    .secondContainer > h1 {
        font-size: 18px;
        gap: 6px;
        line-height: 1.4;
    }

    .secondContainer > h1 > img {
        width: 22px;
        margin-top: 1px;
    }
    .thirdContainer > h1 {
        font-size: 20px;
        line-height: 1.4;
    }
    .thirdMenu {
        margin-top: 18px;
        gap: 5px;
        padding-bottom: 6px;
    }
    .thirdMenu > a {
        min-width: 64px;
        height: 32px;
        padding: 0 10px;
        border-radius: 16px;
        font-size: 11px;
    }
    .marketContainer > h1 {
        font-size: 22px;
        line-height: 1.35;
        margin-top: 20px;
    }
    .marketContainer > h1 .market-title-second-line {
        display: block;
    }
    .marketContainer > span {
        font-size: 13px;
        line-height: 1.5;
        margin-top: 10px;
    }
    .marketBtn {
        margin-top: 22px;
        gap: 8px;
    }
    .marketBtn > a {
        width: 100%;
        height: 40px;
        border-radius: 8px;
        font-size: 13px;
    }
    .marketContainer > span .market-desc-second-line {
        display: block;
    }
    .premiumMenu {
        width: 100%;
        max-width: 100%;
        height: 34px;
        margin-top: 16px;
        border-radius: 17px;
        font-size: 12px;
        gap: 6px;
    }
    .premiumMenu > span {
        width: 14px;
        height: 14px;
    }
    .premiumMenu > span img {
        width: 7px;
    }
    .thirdGrid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 18px;
    }
    .thirdImage {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 7px;
    }
    .thirdImage > a,
    .thirdImage > span {
        width: 24px;
        height: 24px;
        top: 8px;
        right: 8px;
    }
    .thirdImage > a img,
    .thirdImage > span img {
        width: 16px;
        height: 16px;
    }
    .thirdEdu {
        margin-top: 8px;
        gap: 3px;
    }
    .thirdEdu > a {
        height: 20px;
        padding: 0 6px;
        border-radius: 10px;
        font-size: 10px;
    }
    .thirdInfo > p {
        font-size: 14px;
        line-height: 1.35;
    }
    .thirdInfo > span {
        font-size: 12px;
    }
    .scoreBox {
        gap: 8px;
        margin-top: 8px;
    }
    .scoreBox > p {
        font-size: 10px;
    }
    .eduPrice {
        margin-top: 6px;
        font-size: 14px;
    }

    .secondMenu {
        gap: 12px;
    }

    .secondTabs {
        gap: 5px;
    }

    .secondTabs > a {
        height: 34px;
        padding: 0 10px;
        border-radius: 17px;
        font-size: 12px;
    }
    .allMenu {
        height: 34px;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        border-radius: 17px;
        font-size: 12px;
        gap: 6px;
    }
    .allMenu > span {
        width: 14px;
        height: 14px;
    }
    .allMenu > span img {
        width: 7px;
    }
    .secondGrid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
    }
    .secondBox {
        padding: 10px 10px 14px;
    }
    .secondGrade {
        height: 24px;
        padding: 0 8px;
        font-size: 12px;
        border-radius: 12px;
    }
    .secondTop > a {
        width: 22px;
        height: 22px;
    }
    .secondTop > a .follow_icon {
        width: 16px;
    }
    .secondProfile {
        width: 80px;
        height: 80px;
    }
    .secondInfo > h1 {
        font-size: 15px;
    }
    .secondInfo > p {
        margin-top: 6px;
        font-size: 12px;
    }
    .eduInfo > a {
        height: 20px;
        padding: 0 6px;
        border-radius: 10px;
        font-size: 11px;
    }
    .eduCount {
        margin-top: 10px;
        font-size: 12px;
    }
    .secondLink {
        height: 36px;
        margin-top: 12px;
        font-size: 12px;
        border-radius: 7px;
    }
    .secondLink > img {
        width: 12px;
    }
    .roadmap_card_container {
        gap: 10px;
    }
    .roadmap_card {
        border-radius: 10px;
    }
    .roadmap_card_image {
        border-radius: 10px 10px 0 0;
    }
    .roadmap_card_img {
        height: 165px;
    }
    .roadmap_card_content {
        padding: 9px 10px 10px;
    }
    .roadmap_card_content_main h3 {
        font-size: 14px;
        margin-top: 8px;
    }
    .roadmap_card_sub_text {
        font-size: 11px;
        margin-top: 6px;
        line-height: 1.4;
    }
    .roadmap_card_tag,
    .roadmap_card_tag2 {
        height: 20px;
        padding: 0 6px;
        font-size: 10px;
        border-radius: 10px;
    }
    .roadmap_tags2 {
        height: 24px;
    }
    .roadmap_card_bnt {
        height: 24px;
        font-size: 11px;
    }
}

