@media (max-width: 768px) {

    .mag-cover {
        min-height: auto;
        height: auto;
    }

    .mag-cover-image-bg {
        position: relative;
        width: 100%;
        height: auto;
    }

    .mag-cover-image-bg img {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .mag-cover-content {
        position: absolute;
        inset: 0;

        width: 100%;
        min-height: 100%;

        padding: 40px 20px;

        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .mag-cover-content h1 {
        font-size: clamp(25px, 9vw, 52px);
        line-height: 1.1;
    }

    .mag-cover-description {
        margin-top: 5px;
        font-size: 14px;
        line-height: 1.55;
    }

}


@media (max-width: 768px) {

    /* =========================
       TEXT - HEADING
    ========================= */

    .mag-text-heading {
        width: 100%;
        margin: 60px auto;
        padding: 0 20px;
    }

    .mag-text-heading h2 {
        margin: 0;
        font-size: clamp(30px, 8.5vw, 48px);
        line-height: 1.15;
    }

    .mag-text-heading .mag-text-content {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.7;
    }


    /* =========================
       TEXT - PARAGRAPH
    ========================= */

    .mag-text-paragraph {
        width: 100%;
        margin: 55px auto;
        padding: 0 20px;
    }

    .mag-text-paragraph h3 {
        margin: 0 0 18px;
        font-size: 24px;
        line-height: 1.3;
    }

    .mag-text-paragraph .mag-text-content {
        font-size: 17px;
        line-height: 1.8;
    }

    .mag-text-paragraph .mag-text-content p {
        margin-bottom: 22px;
    }


    /* =========================
       TEXT - QUOTE
    ========================= */

    .mag-text-quote {
        width: auto;
        margin: 60px 20px;
        padding: 35px 20px;
    }

    .mag-text-quote blockquote {
        margin: 0;
        font-size: clamp(23px, 6.5vw, 32px);
        line-height: 1.4;
    }

    .mag-text-quote cite {
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.5;
    }

}

@media (max-width: 768px) {

    /* =========================
       IMAGE - FULL
    ========================= */

    .mag-image-full {
        height: auto;
        min-height: 0;
    }

    .mag-image-full-inner {
        min-height: 70vh;
        height: 70vh;

        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
    }

    .mag-image-full .mag-image-caption {
        width: 100%;
        padding: 30px 20px 40px;
    }

    .mag-image-full .mag-image-caption h3 {
        font-size: clamp(24px, 7vw, 36px);
        line-height: 1.2;
    }

    .mag-image-full .mag-image-caption > div {
        font-size: 16px;
        line-height: 1.65;
    }


    /* =========================
       IMAGE - IMAGE + TEXT
       TEXT + IMAGE
    ========================= */

    .mag-image-image-text,
    .mag-image-text-image {
        display: block;
        width: 100%;
        margin: 60px 0;
    }

    .mag-image-media {
        position: relative;
        top: auto;
        width: 100%;
    }
	
	.mag-image-media img {
 
  padding: 5px 0;
}

    .mag-image-text {
        width: 100%;
        padding: 10px 12px;
    }

    .mag-image-content {
        font-size: 17px;
        line-height: 1.8;
    }
.mag-image-content p{
	margin-top:0px;
	margin-bottom:5px;
}

    /* =========================
       IMAGE - IMAGE TOP / TEXT
       ========================= */

    .mag-image-top-text {
        width: 100%;
        margin: 60px auto;
    }

    .mag-image-top-text-image {
        width: 100%;
        margin-bottom: 25px;
        text-align: center;
    }

    .mag-image-top-text-image img {
        display: inline-block;
        width: auto;
        max-width: 100%;
        height: auto;
    }

    .mag-image-top-text-content {
        
        max-width: none;
        padding:0 5px;
    }

    .mag-image-top-text-content h2 {
        font-size: clamp(16px, 4vw, 38px);
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .mag-image-top-text-description {
        font-size: 16px;
        line-height: 1.75;
        text-align: left;
    }

}
@media (max-width: 768px) {

    .mag-video-normal {
        width: 100%;
        max-width: none;
        margin: 60px auto;
        padding: 0 15px;

        opacity: 1;
        transform: none;
    }

    .mag-video-player {
        width: 100%;
        overflow: hidden;
    }

    .mag-video-player video {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
    }

    .mag-video-caption {
        padding: 15px 0;
    }

    .mag-video-caption h3 {
        font-size: 19px;
        line-height: 1.4;
    }

}
@media (max-width: 768px) {

    

    /* =========================
       VIDEO - BACKGROUND
    ========================= */

     .mag-video-background {
        position: relative;
        width: 100%;
        height: 70vh;
        min-height: 500px;
        overflow: hidden;
    }

    .mag-video-background .mag-video-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .mag-video-background .mag-video-bg video {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;

        display: block;
        object-fit: cover;
    }

    /* Không cho lớp overlay chặn video */
    .mag-video-background .mag-video-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
    }

    /* Nội dung nằm trên video nhưng không chặn video */
    .mag-video-background .mag-video-content {
        position: relative;
        z-index: 2;
        pointer-events: none;

        width: 100%;
        height: 100%;

        padding: 40px 20px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        text-align: center;
    }

}


@media (max-width: 768px) {

    /* =========================
       TIMELINE
    ========================= */

    .mag-timeline {
        width: 100%;
        max-width: none;
        margin: 60px auto;
        padding: 0 20px;
        box-sizing: border-box;
    }


    /* =========================
       HEADING
    ========================= */

    .mag-timeline-heading {
        width: 100%;
        margin-bottom: 35px;
    }

    .mag-timeline-heading h2 {
        margin: 0;
        font-size: clamp(30px, 8vw, 42px);
        line-height: 1.2;
    }


    /* =========================
       ITEM
    ========================= */

    .mag-timeline-item {
        display: block;

        width: 100%;

        padding: 0 0 45px;
        margin: 0 0 45px;

        border-bottom: 1px solid var(--mag-border);

        box-sizing: border-box;
    }


    /* =========================
       IMAGE
    ========================= */

    .mag-timeline-image {
        width: 100%;
        height: auto;
        max-height: none;

        margin: 0 0 22px;

        overflow: hidden;
    }

    .mag-timeline-image img {
        display: block;

        width: 100%;
        height: auto;

        max-width: 100%;

        object-fit: cover;
    }


    /* =========================
       YEAR
    ========================= */

    .mag-timeline-year {
        margin: 0 0 15px;

        font-size: clamp(25px, 7vw, 34px);
        line-height: 1.1;

        font-weight: 700;
		padding-left:10px;
    }


    /* =========================
       CONTENT
    ========================= */

    .mag-timeline-content {
        width: 100%;

        font-size: 16px;
        line-height: 1.8;

        box-sizing: border-box;
		padding-left:10px;
    }

    .mag-timeline-content p {
        margin-bottom: 20px;
    }

}