#header_site {
    background-color: #00403D !important;
}

#header_site.scrolled {
    background: white !important;
}

#header_site .menu_site li a::before {
    color: white !important;
}

#header_site.scrolled .menu_site li a::before {
    color: #00403D !important;
}

body::before {
    background: white;
    height: auto;
}



.ff-title {
    color: black;
    margin-bottom: 2.5rem;
}

#footer_site {
    background-color: #00403D !important;
}

.or_vision_detail {
    padding: 7vh 0;
    background-color: white;
    position: relative;
    z-index: 1;
}



.or_vision_detail .detail_cate {
    color: black;
    margin-bottom: 0.5rem;
}

.or_vision_detail .detail_cate .category_row {
    display: flex;
    gap: 8px;
}

.or_vision_detail .detail_cate .category_row .category_menu a {
    color: #00403D;
    font-weight: 600;
}

.or_vision_detail .detail_cate .category_row .category_menu:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #00403D;
}


.or_vision_detail .detail_cate .category_time {
    text-align: right;
}




.or_vision_detail .detail_content {
    padding-bottom: 5rem;
}

.or_vision_detail .detail_content .content_item {
    color: #010114;
    line-height: 150%;
    margin-bottom: 1rem;
}

.or_vision_detail .detail_content .content_text {
    /* text-indent: 2%; */
    text-align: justify;
}

.or_vision_detail .detail_content .content_img img {
    width: 100%;
    max-height: 100vh;
    height: auto;
}

.or_vision_detail .others_post {
    margin-bottom: 50px;
}

.or_vision_detail .others_post hr {
    height: 3px;
    margin: auto;
    width: 100%;
    background-color: #010114;
    margin-bottom: 70px;
}

.or_vision_detail .others_post .others_post_title {
    margin-bottom: 0.55rem;
}


.or_vision_detail .others_post .list_others_post {
    position: relative;
}

.or_vision_detail .others_post .list_others_post .other_post_item {
    margin-top: 3rem;
}

.or_vision_detail .others_post .list_others_post .other_post_item figure {
    position: relative;
    padding-bottom: 60%;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 20px;
}

.or_vision_detail .others_post .list_others_post .other_post_item figure img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.or_vision_detail .others_post .list_others_post .other_post_item figure img:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.or_vision_detail .others_post .list_others_post .other_post_item .other_post_item_title {
    color: #2C2C2C;
    font-family: "Darker Grotesque";
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    display: block;
    display: -webkit-box;
    height: calc(30px * 1.1 * 2);
    line-height: 1.1;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.or_vision_detail .others_post .list_others_post .other_post_item .desc p {
    color: #010411;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 400;
    display: block;
    display: -webkit-box;
    height: 16px*1.3*2;
    line-height: 1.3;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Default Desktop rule derived from legacy min-width: 1200px */
.or_vision_detail .others_post .list_others_post .other_post_item figure a img {
    height: 250px;
}

/* ─── RESPONSIVE STYLES ─────────────────────────────────────── */
/*
 * Rules:
 * - Always use max-width (mobile-last).
 * - Order: xxl → xl → lg → md → sm → xs → xxs (high to low).
 */

/* lg: 1200px */
@media (max-width: 1200px) {
    .or_vision_detail .others_post .list_others_post .other_post_item figure a img {
        height: 100%;
    }
}

/* md: 992px */
@media (max-width: 992px) {
    .ff-title {
        margin-bottom: 2rem;
    }

    .or_vision_detail .others_post hr {
        margin-bottom: 50px;
    }

    .or_vision_detail .others_post .list_others_post .other_post_item {
        margin-top: 1.3rem;
    }

    .or_vision_detail .others_post .list_others_post .other_post_item figure a img {
        height: 200px;
    }
}

/* sm: 768px */
@media (max-width: 768px) {
    .or_vision_detail .detail_cate {
        color: black;
        margin-bottom: 0.8rem;
        gap: 2px;
    }

    .or_vision_detail .detail_cate .category_time {
        text-align: left;
    }

    .ff-title {
        margin-bottom: 1.5rem;
    }

    .or_vision_detail .others_post {
        margin-bottom: 30px;
    }

    .or_vision_detail .others_post .list_others_post .other_post_item figure a img {
        height: 310px;
    }
}

/* xs: 576px */
@media (max-width: 576px) {
    .or_vision_detail .others_post .list_others_post .other_post_item figure a img {
        height: 250px;
    }
}

/* xxs: 450px */
@media (max-width: 450px) {
    .or_vision_detail .others_post .list_others_post .other_post_item figure a img {
        height: 230px;
    }
}