/* =====================================================
   TRANG NGÀNH ĐÀO TẠO
===================================================== */

.training-page {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 8%, #eaf6ff 0, rgba(234, 246, 255, 0) 32%),
        radial-gradient(circle at 8% 82%, #f0f7ff 0, rgba(240, 247, 255, 0) 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.training-page .container {
    position: relative;
    z-index: 2;
}


/* =====================================================
   HEADING
===================================================== */

.training-heading {
    max-width: 850px;
    margin: 0 auto 75px;
}

.training-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 15px;
    color: #005BAC;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.training-subtitle::before,
.training-subtitle::after {
    content: "";
    width: 46px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #FFD54A, #005BAC);
}

.training-heading h1 {
    margin: 16px 0 20px;
    color: #12335E;
    font-size: 54px;
    font-weight: 850;
    line-height: 1.2;
}

.training-heading h1::after {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    margin: 24px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #FFD54A, #005BAC);
}

.training-heading p {
    color: #657083;
    font-size: 18px;
    line-height: 1.85;
}


/* =====================================================
   GRID NGÀNH
===================================================== */

.training-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}


/* =====================================================
   CARD NGÀNH
===================================================== */

.training-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: #fff;
    border: 1px solid #edf3fa;
    border-radius: 28px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(0, 45, 100, .08);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.training-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FFD54A, #005BAC, #3EA0FF);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 91, 172, .15);
}

.training-card:hover::after {
    transform: scaleX(1);
}


/* =====================================================
   IMAGE
===================================================== */

.training-image {
    position: relative;
    height: 170px;
    overflow: hidden;
}

.training-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.training-card:hover .training-image img {
    transform: scale(1.08);
}

.training-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 35%,
            rgba(0, 40, 90, .48) 100%
        );
}

.training-image span {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 7px 15px;
    background: rgba(255, 255, 255, .94);
    border-radius: 999px;
    color: #005BAC;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
}


/* =====================================================
   CONTENT
===================================================== */

.training-content {
    padding: 28px 25px 30px;
}

.training-content h3 {
    margin: 0;
    color: #12335E;
    font-size: 21px;
    font-weight: 850;
    line-height: 1.35;
    transition: color .3s ease;
}

.training-card:hover .training-content h3 {
    color: #005BAC;
}

.training-content p {
    min-height: 84px;
    margin-top: 14px;
    color: #667282;
    font-size: 15.5px;
    line-height: 1.6;
}

.training-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #005BAC;
    font-size: 15px;
    font-weight: 750;
    transition: color .3s ease;
}

.training-action i {
    transition: transform .3s ease;
}

.training-card:hover .training-action {
    color: #003D73;
}

.training-card:hover .training-action i {
    transform: translateX(6px);
}


/* =====================================================
   RESPONSIVE TRANG DANH SÁCH NGÀNH
===================================================== */

/* =====================================================
   RESPONSIVE TRANG DANH SÁCH NGÀNH
===================================================== */

/* Laptop nhỏ */
@media (max-width: 1199px) {
    .training-page {
        padding: 90px 0;
    }

    .training-heading {
        margin-bottom: 58px;
    }

    .training-heading h1 {
        font-size: 44px;
    }

    .training-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .training-image {
        height: 165px;
    }

    .training-content {
        padding: 23px 21px 25px;
    }

    .training-content h3 {
        font-size: 19px;
    }

    .training-content p {
        font-size: 14px;
    }
}


/* Tablet */
@media (max-width: 991px) {
    .training-page {
        padding: 78px 0;
    }

    .training-heading {
        max-width: 720px;
        margin-bottom: 48px;
    }

    .training-heading h1 {
        font-size: 39px;
    }

    .training-heading p {
        font-size: 16px;
        line-height: 1.75;
    }

    .training-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .training-card {
        border-radius: 23px;
    }

    .training-image {
        height: 185px;
    }

    .training-content {
        padding: 22px 20px 24px;
    }

    .training-content h3 {
        font-size: 18px;
    }

    .training-content p {
        min-height: 68px;
        font-size: 14px;
    }
}


/* Tablet dọc */
@media (max-width: 767px) {
    .training-page {
        padding: 64px 0;
    }

    .training-heading {
        margin-bottom: 40px;
        padding: 0 8px;
    }

    .training-subtitle {
        gap: 9px;
        font-size: 11px;
        letter-spacing: 1.7px;
    }

    .training-subtitle::before,
    .training-subtitle::after {
        width: 26px;
    }

    .training-heading h1 {
        margin: 12px 0 16px;
        font-size: 32px;
        line-height: 1.25;
    }

    .training-heading h1::after {
        width: 68px;
        height: 3px;
        margin-top: 17px;
    }

    .training-heading p {
        font-size: 15px;
        line-height: 1.7;
    }

    .training-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .training-card {
        border-radius: 20px;
    }

    .training-image {
        height: 155px;
    }

    .training-image span {
        top: 12px;
        left: 12px;
        padding: 5px 10px;
        font-size: 10px;
    }

    .training-content {
        padding: 18px 16px 20px;
    }

    .training-content h3 {
        font-size: 16px;
        line-height: 1.4;
    }

    .training-content p {
        min-height: 64px;
        margin-top: 9px;
        font-size: 12.5px;
        line-height: 1.55;
    }

    .training-action {
        font-size: 12.5px;
    }
}


/* Mobile vẫn giữ 2 cột */
@media (max-width: 576px) {
    .training-page {
        padding: 52px 0;
    }

    .training-page .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .training-heading {
        margin-bottom: 32px;
        padding: 0 4px;
    }

    .training-subtitle {
        gap: 7px;
        margin-bottom: 8px;
        font-size: 9.5px;
        letter-spacing: 1.2px;
    }

    .training-subtitle::before,
    .training-subtitle::after {
        width: 18px;
    }

    .training-heading h1 {
        margin: 9px 0 13px;
        font-size: 27px;
        line-height: 1.28;
    }

    .training-heading h1::after {
        width: 58px;
        height: 3px;
        margin-top: 14px;
    }

    .training-heading p {
        font-size: 13.5px;
        line-height: 1.65;
    }

    .training-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .training-card {
        min-width: 0;
        border-radius: 16px;
        box-shadow: 0 8px 22px rgba(0, 45, 100, .08);
    }

    .training-card:hover {
        transform: none;
        box-shadow: 0 8px 22px rgba(0, 45, 100, .08);
    }

    .training-card:hover .training-image img {
        transform: none;
    }

    .training-image {
        height: 115px;
    }

    .training-image span {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 8px;
        letter-spacing: 0;
    }

    .training-content {
        padding: 13px 11px 15px;
    }

    .training-content h3 {
        min-height: 17px;
        font-size: 13px;
        line-height: 1.38;

        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .training-content p {
        min-height: 63px;
        margin: 8px 0 11px;
        font-size: 10.5px;
        line-height: 1.5;

        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .training-action {
        gap: 4px;
        font-size: 10.5px;
    }

    .training-action i {
        font-size: 10px;
    }
}


/* Mobile rất nhỏ */
@media (max-width: 380px) {
    .training-page .container {
        padding-left: 9px;
        padding-right: 9px;
    }

    .training-heading h1 {
        font-size: 25px;
    }

    .training-grid {
        gap: 9px;
    }

    .training-image {
        height: 105px;
    }

    .training-content {
        padding: 11px 9px 13px;
    }

    .training-content h3 {
        min-height: 39px;
        font-size: 12px;
    }

    .training-content p {
        min-height: 51px;
        font-size: 9.8px;
    }

    .training-action {
        font-size: 9.8px;
    }
}


/* =====================================================
   CHI TIẾT NGÀNH ĐÀO TẠO
===================================================== */

.major-detail-page {
    position: relative;
    padding: 70px 0 100px;
    background:
        radial-gradient(
            circle at 90% 8%,
            #eaf6ff 0,
            rgba(234, 246, 255, 0) 32%
        ),
        radial-gradient(
            circle at 8% 82%,
            #f0f7ff 0,
            rgba(240, 247, 255, 0) 30%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbff 100%
        );

    /*
     * Tuyệt đối không đặt overflow:hidden,
     * overflow:auto hoặc overflow:scroll ở đây.
     * Các thuộc tính đó có thể làm sticky không hoạt động.
     */
    overflow: visible;
}

.major-detail-page .container {
    position: relative;
    overflow: visible;
}

.major-detail-layout,
.major-main,
.major-section,
.major-section-content,
.major-sidebar,
.major-info-card {
    min-width: 0;
    max-width: 100%;
}


/* =====================================================
   HERO
===================================================== */

.major-detail-hero {
    position: relative;
    min-height: 400px;
    margin-bottom: 55px;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 26px 70px rgba(0, 45, 100, .16);
}

.major-detail-hero img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.major-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(2, 20, 45, .84) 0%,
            rgba(2, 20, 45, .58) 45%,
            rgba(2, 20, 45, .16) 100%
        );
}

.major-detail-hero-content {
    position: relative;
    z-index: 2;

    max-width: 760px;
    padding: 65px 70px;

    color: #fff;
}

.major-detail-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 18px;

    color: #FFD54A;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.major-detail-label::before {
    content: "";

    width: 52px;
    height: 2px;

    background: linear-gradient(90deg, #FFD54A, #004a8f);
}

.major-detail-hero h1 {
    margin: 0 0 20px;

    color: #fff;
    font-size: 48px;
    font-weight: 850;
    line-height: 1.22;
    text-transform: uppercase;

    text-shadow: 0 8px 28px rgba(0, 0, 0, .28);
}

.major-detail-hero p {
    max-width: 620px;
    margin: 0;

    color: rgba(255, 255, 255, .92);
    font-size: 17px;
    line-height: 1.8;
}


/* =====================================================
   LAYOUT
===================================================== */

.major-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: 36px;

    /*
     * Phải để visible để sidebar sticky
     * được giới hạn bên trong layout.
     */
    overflow: visible;
}

.major-main {
    display: flex;
    flex-direction: column;
    gap: 34px;

    min-width: 0;
}


/* =====================================================
   SECTION CARD
===================================================== */

.major-section {
    padding: 42px;
    overflow: hidden;

    background: #fff;
    border: 1px solid #edf3fa;
    border-radius: 30px;

    box-shadow: 0 18px 50px rgba(0, 45, 100, .08);
}

.major-section-title {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 24px;
}

.major-section-icon {
    display: flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    background: linear-gradient(135deg, #005BAC, #3EA0FF);
    border-radius: 18px;

    color: #fff;
    font-size: 24px;

    box-shadow: 0 14px 28px rgba(0, 91, 172, .22);
}

.major-section-title h2 {
    margin: 0;

    color: #12335E;
    font-size: 25px;
    font-weight: 850;
    line-height: 1.35;

    overflow-wrap: anywhere;
}

.major-section-content {
    color: #5f6b7a;
    font-size: 17px;
    line-height: 1.9;
    text-align: justify;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.major-section-content p {
    margin-bottom: 14px;
}

.major-section-content ul,
.major-section-content ol {
    padding-left: 22px;
}

.major-section-content li {
    margin-bottom: 8px;
}

.major-section-content * {
    max-width: 100%;
}

.major-section-content img,
.major-section-content iframe,
.major-section-content video {
    max-width: 100% !important;
}

.major-section-content img {
    height: auto !important;
    border-radius: 16px;
}

.major-section-content table {
    display: block;

    width: 100% !important;
    max-width: 100% !important;

    overflow-x: auto;
}


/* =====================================================
   SIDEBAR STICKY
===================================================== */

/*
 * Sticky đặt trực tiếp tại major-sidebar.
 *
 * Khi chưa cuộn tới:
 * sidebar nằm đúng vị trí ban đầu.
 *
 * Khi cuộn:
 * sidebar dính ở top 100px.
 *
 * Khi hết major-detail-layout:
 * sidebar tự dừng lại và không xuống footer.
 */
.major-sidebar {
    position: sticky;
    top: 100px;

    align-self: start;

    width: 100%;
    min-width: 0;
    max-width: 340px;

    /*
     * Sidebar không được cao hơn màn hình.
     * Nếu nội dung sidebar dài thì cuộn bên trong.
     */
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;

    z-index: 5;

    scrollbar-width: thin;
    scrollbar-color: #c8dcef transparent;
}

.major-sidebar::-webkit-scrollbar {
    width: 5px;
}

.major-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.major-sidebar::-webkit-scrollbar-thumb {
    background: #c8dcef;
    border-radius: 999px;
}

.major-info-card {
    position: static;

    width: 100%;
    padding: 30px;

    background: #fff;
    border: 1px solid #edf3fa;
    border-radius: 30px;
}

.major-info-card h3 {
    margin: 0 0 22px;

    color: #12335E;
    font-size: 24px;
    font-weight: 750;
}

.major-info-card h3::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #FFD54A, #005BAC);
}

.major-info-item {
    display: flex;
    gap: 14px;

    min-width: 0;
    padding: 16px 0;

    border-bottom: 1px solid #edf3fa;
}

.major-info-item:last-of-type {
    border-bottom: 0;
}

.major-info-item i {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: #eef7ff;
    border-radius: 14px;

    color: #005BAC;
    font-size: 20px;
}

.major-info-item div {
    min-width: 0;
}

.major-info-item span {
    display: block;

    margin-bottom: 3px;

    color: #7b8492;
    font-size: 13px;
}

.major-info-item strong {
    display: block;

    color: #12335E;
    font-size: 15.5px;
    line-height: 1.4;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.major-consult-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    margin-top: 26px;
    padding: 14px 22px;

    background: linear-gradient(135deg, #005BAC, #36cb3c);
    border-radius: 999px;

    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 14px 34px rgba(0, 91, 172, .24);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.major-consult-btn:hover {
    color: #fff;

    transform: translateY(-4px);

    box-shadow: 0 22px 48px rgba(0, 91, 172, .34);
}


/* =====================================================
   PROGRAM TABLE
===================================================== */

.program-table-wrap {
    width: 100%;
    overflow: hidden;

    border: 1px solid #e3effb;
    border-radius: 24px;
}

.program-table {
    width: 100%;

    border-collapse: collapse;

    background: #fff;
}

.program-table thead {
    background: #005BAC;
}

.program-table th {
    padding: 18px 16px;

    color: #fff;
    font-size: 15px;
    font-weight: 750;
    text-align: left;
}

.program-table td {
    padding: 16px;

    border-bottom: 1px solid #edf3fa;

    color: #5f6b7a;
    font-size: 15.5px;
}

.program-table th:nth-child(1),
.program-table th:nth-child(3),
.program-table th:nth-child(4),
.program-table td:nth-child(1),
.program-table td:nth-child(3),
.program-table td:nth-child(4) {
    text-align: center;
}

.semester-toggle {
    cursor: pointer;
}

.semester-toggle td {
    padding: 18px 20px;

    background: #eef7ff;

    color: #12335E;
    font-weight: 850;
}

.semester-row-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.semester-row-inner i {
    color: #005BAC;

    transition: transform .3s ease;
}

.semester-group td {
    background: #f8fbff;

    color: #005BAC;
    font-weight: 800;
}

.semester-total td {
    background: #fff8dc;

    color: #12335E;
    font-weight: 850;
}

.program-grand-total td {
    background: #005BAC;

    color: #fff;
    font-weight: 850;
}


/* =====================================================
   LAPTOP NHỎ
===================================================== */

@media (max-width: 1199px) {
    .major-detail-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 28px;
    }

    .major-sidebar {
        max-width: 310px;
    }

    .major-detail-hero h1 {
        font-size: 42px;
    }

    .major-section {
        padding: 36px;
    }
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {
    .major-detail-page {
        padding: 55px 0 80px;
    }

    .major-detail-hero {
        min-height: 350px;
        margin-bottom: 42px;

        border-radius: 28px;
    }

    .major-detail-hero-content {
        max-width: 100%;
        padding: 55px 42px;
    }

    .major-detail-hero h1 {
        font-size: 36px;
    }

    .major-detail-hero p {
        font-size: 16px;
    }

    .major-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .major-main {
        order: 2;
    }

    /*
     * Tablet/mobile tắt sticky.
     */
    .major-sidebar {
        position: static;
        top: auto;

        order: 1;

        width: 100%;
        max-width: 100%;
        max-height: none;

        overflow: visible;
    }

    .major-info-card {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 22px;

        padding: 28px;
    }

    .major-info-card h3,
    .major-consult-btn {
        grid-column: 1 / -1;
    }
}


/* =====================================================
   MOBILE LỚN
===================================================== */

@media (max-width: 767px) {
    .major-detail-page {
        padding: 42px 0 65px;
    }

    .major-detail-hero {
        min-height: 300px;
        margin-bottom: 34px;

        border-radius: 24px;
    }

    .major-detail-hero::after {
        background: rgba(2, 20, 45, .76);
    }

    .major-detail-hero-content {
        padding: 42px 26px;
    }

    .major-detail-label {
        gap: 10px;

        font-size: 11px;
        letter-spacing: 2px;
    }

    .major-detail-label::before {
        width: 34px;
    }

    .major-detail-hero h1 {
        font-size: 29px;
        line-height: 1.3;
    }

    .major-detail-hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .major-section {
        padding: 28px 22px;

        border-radius: 24px;
    }

    .major-section-title {
        align-items: center;
        gap: 12px;
    }

    .major-section-icon {
        flex: 0 0 48px;

        width: 48px;
        height: 48px;

        border-radius: 15px;

        font-size: 20px;
    }

    .major-section-title h2 {
        font-size: 22px;
    }

    .major-section-content {
        font-size: 15.8px;
        line-height: 1.8;
    }

    .major-info-card {
        grid-template-columns: 1fr;

        padding: 24px;

        border-radius: 24px;
    }

    .major-info-card h3,
    .major-consult-btn {
        grid-column: auto;
    }

    .program-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}


/* =====================================================
   MOBILE VỪA
===================================================== */

@media (max-width: 576px) {
    .major-detail-page {
        padding: 30px 0 55px;
    }

    .major-detail-page .container {
        max-width: 100%;
        padding-right: 14px;
        padding-left: 14px;
    }

    .major-detail-hero {
        min-height: 230px;
        margin-bottom: 26px;

        border-radius: 20px;
    }

    .major-detail-hero-content {
        padding: 28px 18px;
    }

    .major-detail-label {
        margin-bottom: 10px;

        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .major-detail-label::before {
        width: 28px;
    }

    .major-detail-hero h1 {
        margin-bottom: 10px;

        font-size: 22px;
    }

    .major-detail-hero p {
        font-size: 13.5px;
        line-height: 1.6;
    }

    .major-main {
        gap: 22px;
    }

    .major-section {
        padding: 22px 16px;

        border-radius: 20px;
    }

    .major-section-title {
        gap: 10px;

        margin-bottom: 18px;
    }

    .major-section-icon {
        flex: 0 0 40px;

        width: 40px;
        height: 40px;

        border-radius: 13px;

        font-size: 17px;
    }

    .major-section-title h2 {
        font-size: 19px;
    }

    .major-section-content {
        font-size: 14.8px;
        line-height: 1.75;
    }

    .major-info-card {
        padding: 20px 16px;

        border-radius: 20px;
    }

    .major-info-card h3 {
        font-size: 21px;
    }

    .major-info-item {
        padding: 14px 0;
    }

    .major-info-item i {
        flex: 0 0 38px;

        width: 38px;
        height: 38px;

        font-size: 18px;
    }

    .major-consult-btn {
        padding: 13px 18px;

        font-size: 14px;
    }

    .program-table-wrap {
        overflow-x: auto;

        border-radius: 18px;
    }

    .program-table {
        min-width: 620px;
    }

    .program-table th,
    .program-table td {
        padding: 13px 12px;

        font-size: 14px;
    }

    .semester-toggle td {
        padding: 15px 16px;
    }
}


/* =====================================================
   MOBILE NHỎ
===================================================== */

@media (max-width: 390px) {
    .major-detail-page .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .major-section {
        padding: 20px 14px;
    }

    .major-info-card {
        padding: 18px 14px;
    }

    .major-detail-hero h1 {
        font-size: 20px;
    }

    .major-detail-hero p {
        font-size: 13px;
    }
}