section {
    min-height: 100vh;
}

/* Story Head */

.story_head {
    background-image: url(../images/bg_story.png);
    background-position: center;
    background-size: cover;
    width: 100%;
}

h3 {
    font-size: 80px;
    font-weight: 400;
    width: 100%;
}

.story_head_item {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: 50px;
}

.story_head_item>h3 {
    font-size: 120px;
}

.img_head_item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
}

.img_head_item>img {
    width: 100%;
    object-fit: cover;
}

/* Milestones */

.milestones {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    background-color: transparent;
    padding: 60px 0;
}

.milestones .allison {
    color: #fff;
}

.miles_item {
    margin-top: 50px;
    width: 100%;
}

.detail_timeline {
    padding: 40px 20px;
    color: #fff;
    text-align: center;
}

.detail_timeline h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.detail_timeline_item {
    display: none;
}

.detail_timeline_item.visible {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    max-width: 1440px;
    margin: 0px auto;
}

.timeline {
    display: flex;
    align-items: start;
    justify-content: space-evenly;
    flex-grow: 1;
    position: relative;
    border-top: 1px solid var(--color-active);
    width: 100%;
    max-width: 1440px;
    margin: 0px auto;
    padding: 30px 2rem 0px 2rem;
    height: 128px;
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 30px;
    background: var(--color-active);
}

.timeline-item p {
    width: 80px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 7px solid #40d3a761;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 30px rgba(0, 255, 255, 0.3), inset 0 0 15px rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 1;
}

.timeline-item:hover p,
.timeline-item.active p {
    color: var(--color-active);
}

.timeline-item:hover::after,
.timeline-item.active::after {
    border-color: #40D3A8;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 30px rgba(0, 255, 255, 0.3), inset 0 0 15px rgba(0, 255, 255, 0.2);
}

.timeline-arrow-right {
    position: absolute;
    right: 0;
    cursor: pointer;
    margin-top: 20px;
    margin-left: 10px;
}

.timeline-arrow-right svg {
    width: 32px;
    height: 32px;
}

.timeline-arrow-right svg circle,
.timeline-arrow-right svg path {
    transition: stroke 0.3s ease;
}

.timeline-arrow-right:hover svg circle,
.timeline-arrow-right:hover svg path {
    stroke: var(--color-active);
}

.owl-carousel .owl-stage-outer {
    padding: 30px 0px;
    margin: -30px 0;
}

.posts-container {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 0px auto;
    min-height: 600px;
    height: auto;
    padding: 0px 1.25rem;
}

.post-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    margin-bottom: 20px;
}

.post-item.active {
    opacity: 1;
    transform: translateY(0);
}

.post-item>img {
    width: 100%;
}

.post-item>h3 {
    font-size: 32px;
    margin-top: 12px;
}

.post-item:not(.active) {
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.no-posts {
    width: 100%;
    text-align: center;
}

.no-posts>h3 {
    margin-top: 50px;
    font-size: 24px;
}

/* VIDEO */
.video_story {
    background-image: url(../images/bg_wave.png);
    background-position: center;
    background-size: cover;
    margin-bottom: 60px;
}

.video_story_item {
    width: 100%;
    display: flex;
    min-height: 120vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video_grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    padding: 0px 1.25rem;
}

.video_item {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 16px;
    position: relative;
}

.video_image {
    position: relative;
}

.video_image>img {
    width: 100%;
}

.detail_video_item>h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.detail_video_item>p {
    line-height: 1.5;
    font-size: 1rem;
    font-weight: lighter;
}

.image_play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.3s ease-in-out;
}

.video_image:hover .image_play {
    transform: translate(-50%, -50%) scale(1.2);
}

/* AWARD */
.award_grid {
    width: 100%;
    margin-bottom: 60px;
}

.award_item {
    width: 100%;
    display: flex;
}

.award_item_2 {
    width: 100%;
    display: flex;
}

.award_title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.award_title>hr {
    width: 250px;
    border: 1px solid #FF6600;
}

.item_detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    text-align: center;
    border-left: 1px solid #FF6600;
}

.item_img {
    width: 100%;
    flex: 1;
}

.item_img>img {
    width: 100%;
    scale: 0.7;
}

.item_img_2>img {
    width: 100%;
    scale: 0.7;
}

.item_img_2 {
    width: 100%;
    flex: 1;
}

.item_detail_content>p {
    padding: 0px 1rem;
    font-size: 1rem;
    font-weight: lighter;
}

.item_detail>h3 {
    font-size: 70px;
    border-bottom: 1px solid #FF6600;
}

.item_detail_2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    text-align: center;
    border-right: 1px solid #FF6600;
}

.item_detail_2>p {
    flex: 1;
    font-size: 1rem;
    font-weight: lighter;
}

.item_detail_2>h3 {
    font-size: 70px;
    border-bottom: 1px solid #FF6600;
}

.item_detail_content {
    width: 100%;
    max-width: 425px;
}

.text {
    display: none;
}

.text.active {
    display: block;
}

.box-posts {
    width: 100%;
    display: flex;
}

.box-noflex {
    width: 100%;
    flex-direction: column;
}

.parent {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

.div1 {
    grid-area: 1 / 1 / 2 / 3;
}

.div2 {
    grid-area: 1 / 3 / 2 / 5;
}

.div3 {
    grid-area: 1 / 5 / 2 / 7;
}

.div4 {
    grid-area: 2 / 1 / 3 / 3;
}

.div5 {
    grid-area: 3 / 1 / 4 / 3;
}

.div6 {
    grid-area: 2 / 3 / 4 / 7;
}

.div1>img,
.div2>img,
.div3>img,
.div4>img,
.div5>img,
.div6>img {
    width: 100%;
    height: 100%;
}


.parent_box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

.box_div1 {
    grid-area: 1 / 1 / 2 / 5;
}

.box_div2 {
    grid-area: 2 / 1 / 3 / 3;
}

.box_div3 {
    grid-area: 2 / 3 / 3 / 5;
}

.box_div4 {
    grid-area: 3 / 1 / 4 / 3;
}

.box_div5 {
    grid-area: 3 / 3 / 4 / 5;
}

.box_div1>img,
.box_div2>img,
.box_div3>img,
.box_div4>img,
.box_div5>img {
    width: 100%;
    height: 100%;
    max-height: 545px;
}


.parent_box_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

.box_grid_div1 {
    grid-area: 1 / 1 / 3 / 3;
}

.box_grid_div2 {
    grid-area: 3 / 1 / 5 / 3;
}

.box_grid_div3 {
    grid-area: 1 / 3 / 5 / 6;
}

.box_grid_div1>img,
.box_grid_div2>img,
.box_grid_div3>img,
.box_grid_div4>img,
.box_grid_div5>img {
    width: 100%;
    height: 100%;
}

.parentBox-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: auto;
    gap: 10px;
}

.boxGrid_div1 {
    grid-area: 1 / 1 / 4 / 5;
}

.boxGrid_div2 {
    grid-area: 1 / 5 / 4 / 8;
}

.boxGrid_div3 {
    grid-area: 4 / 1 / 6 / 4;
}

.boxGrid_div4 {
    grid-area: 4 / 4 / 6 / 6;
}

.boxGrid_div5 {
    grid-area: 4 / 6 / 6 / 8;
}

.boxGrid_div1>img,
.boxGrid_div2>img,
.boxGrid_div3>img,
.boxGrid_div4>img,
.boxGrid_div5>img {
    width: 100%;
    height: 100%;
}


/* XS: <576px (điện thoại nhỏ) */
@media (max-width: 575px) {
    h3 {
        font-size: 56px;
    }

    .story_head_item {
        padding: 48px 0px;
        gap: 12px;
    }

    .story_head_item>h3 {
        font-size: 48px;
    }

    .img_head_item {
        grid-template-columns: 1fr;
    }

    .timeline {
        justify-content: flex-start;
        padding-right: 30px;
    }

    .timeline-item {
        flex: 0 0 auto;
        margin: 0 10px;
    }

    .timeline-item:first-child {
        margin-left: 0;
    }

    .timeline-item p,
    .timeline-item::after {
        width: 60px;
        height: 60px;
    }

    .timeline-item p {
        font-size: 16px;
    }

    .timeline-arrow-right {
        display: none;
    }

    .video_grid {
        grid-template-columns: 1fr;
    }

    .video_item {
        width: 100%;
    }

    .video_image {
        width: 100%;
    }

    .video_image>img {
        width: 100%;
    }

    .award_item {
        flex-direction: column;
        width: 100%;
    }

    .item_img {
        width: 100%;
        border: none;
    }

    .item_img>img {
        width: 100%;
    }

    .item_img_2 {
        width: 100%;
        border: none;
    }

    .item_img_2>img {
        width: 100%;
    }

    .post-item>img {
        width: 100%;
    }

    .award_item_2 {
        flex-direction: column-reverse;
    }

    .item_detail_2,
    .item_detail {
        border: none;
    }

    .parent,
    .parent_box,
    .parent_box_grid,
    .parentBox-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    .parent>div,
    .parent_box>div,
    .parent_box_grid>div,
    .parentBox-grid>div {
        grid-area: unset !important;
    }

    .parent img,
    .parent_box img,
    .parent_box_grid img,
    .parentBox-grid img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .box-posts {
        flex-direction: column;
    }
}

/* SM: ≥576px and <768px */
@media (min-width: 576px) and (max-width: 767.98px) {
    .detail_video_item>h3 {
        font-size: 24px;
    }

    .story_head_item {
        justify-content: center;
    }

    h3 {
        font-size: 66px;
    }

    .story_head_item>h3 {
        font-size: 80px;
    }

    .timeline {
        justify-content: flex-start;
    }

    .timeline-item {
        flex: 0 0 auto;
        margin: 0 15px;
    }

    .timeline-item p,
    .timeline-item::after {
        width: 70px;
        height: 70px;
    }

    .timeline-item p {
        font-size: 18px;
    }

    .timeline-arrow-right {
        margin-left: 10px;
        margin-top: 20px;
    }

    .item_detail>h3 {
        font-size: 50px;
    }

    .item_detail_2>h3 {
        font-size: 50px;
    }

    .video_story_item {
        min-height: auto;
        justify-content: start;
    }

}

/* MD: ≥768px and <992px */
@media (min-width: 768px) and (max-width: 991.98px) {

    .timeline-item p,
    .timeline-item::after {
        width: 70px;
        height: 70px;
    }

    .timeline-item p {
        font-size: 18px;
    }

    .timeline-arrow-right {
        margin-left: 10px;
        margin-top: 20px;
    }

    .timeline-arrow-right svg {
        width: 28px;
        height: 28px;
    }
}

/* LG: ≥992px and <1200px */
@media (min-width: 992px) and (max-width: 1199.98px) {

    .timeline-item p,
    .timeline-item::after {
        width: 75px;
        height: 75px;
    }

    .timeline-item p {
        font-size: 20px;
    }
}

/* XL: ≥1200px */
@media (min-width: 1200px) {
    /* CSS cho màn hình rất lớn */
}