/* RDI - Lịch sử phát triển */

.rdi-history-page {
    position: relative;
    padding: 90px 0;
    background:
        radial-gradient(circle at 8% 8%, rgba(0, 91, 172, .08), transparent 30%),
        radial-gradient(circle at 92% 14%, rgba(255, 213, 74, .18), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #eef4fa 100%);
    overflow: hidden;
}

.rdi-history-card {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dfe9f3;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(18, 51, 94, .13);
}

/* HEADER */

.rdi-history-header {
    padding: 58px 70px 40px;
    text-align: center;
}

.rdi-history-header span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    /* background: rgba(0, 91, 172, .08); */
    color: #005BAC;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.rdi-history-header h1 {
    color: #12335E;
    font-size: 43px;
    font-weight: 850;
    line-height: 1.22;
    margin: 0;
}

.rdi-history-header h1::after {
    content: "";
    display: block;
    width: 92px;
    height: 4px;
    margin: 22px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #FFD54A, #005BAC);
}

.rdi-history-header p {
    max-width: 720px;
    margin: 18px auto 0;
    color: #61758b;
    font-size: 16px;
    line-height: 1.75;
}

/* ẢNH COVER */

.rdi-history-cover {
    position: relative;
    padding: 0 70px 0;
}

.rdi-history-cover::before {
    content: "";
    position: absolute;
    left: 46px;
    right: 46px;
    bottom: -20px;
    height: 80px;
    border-radius: 28px;
    background: linear-gradient(90deg, rgba(0, 91, 172, .18), rgba(255, 213, 74, .22));
    filter: blur(22px);
    opacity: .75;
    z-index: 0;
}

.rdi-history-cover img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 420px;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    border: 8px solid #ffffff;
    box-shadow: 0 24px 55px rgba(18, 51, 94, .20);
}

/* CONTENT */

.rdi-history-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 64px 0 78px;
}

.rdi-history-content .rdi-lead {
    margin: 0 0 36px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #2f485f;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.95;
    text-align: justify;
}

.rdi-history-content .rdi-lead strong {
    color: #005BAC;
    font-weight: 850;
}

/* HEADING */

.rdi-history-content h2 {
    position: relative;
    margin: 46px 0 22px;
    padding-bottom: 14px;
    color: #12335E;
    font-size: 24px;
    font-weight: 850;
    line-height: 1.45;
    border-bottom: 1px solid #dfe9f3;
}

.rdi-history-content h2:first-of-type {
    margin-top: 0;
}

.rdi-history-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #005BAC, #FFD54A);
}

.rdi-history-content h3 {
    position: relative;
    margin: 30px 0 12px;
    color: #005BAC;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.5;
}

/* .rdi-history-content h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: .66em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFD54A;
    box-shadow: 0 0 0 5px rgba(255, 213, 74, .25);
} */

.rdi-history-content h4 {
    margin: 24px 0 10px;
    color: #12335E;
    font-size: 16.5px;
    font-weight: 850;
    line-height: 1.5;
}

/* TEXT */

.rdi-history-content p {
    margin: 0 0 17px;
    color: #42576c;
    font-size: 15.9px;
    line-height: 1.95;
    text-align: justify;
}

.rdi-history-content strong {
    color: #12335E;
    font-weight: 700;
}

/* LIST */

.rdi-history-content ul {
    margin: 6px 0 26px;
    padding: 0;
    list-style: none;
}

.rdi-history-content li {
    position: relative;
    padding: 12px 0 12px 30px;
    color: #42576c;
    font-size: 15.9px;
    line-height: 1.85;
    text-align: justify;
    border-bottom: 1px dashed #d9e4ef;
    margin-left: 15px;
}

.rdi-history-content li:last-child {
    border-bottom: 0;
}

.rdi-history-content li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 24px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #005BAC;
    box-shadow: 0 0 0 5px rgba(0, 91, 172, .09);
}

/* MESSAGE CUỐI */

.rdi-history-message {
    position: relative;
    margin-top: 54px;
    padding: 42px 46px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #003f7d 0%, #005BAC 48%, #0c78cc 100%);
    box-shadow: 0 24px 58px rgba(0, 91, 172, .25);
}

.rdi-history-message::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -130px;
    top: -150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
}

.rdi-history-message::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    left: -110px;
    bottom: -130px;
    border-radius: 50%;
    background: rgba(255, 213, 74, .18);
}

.rdi-history-message p,
.rdi-history-message strong {
    position: relative;
    z-index: 1;
}

.rdi-history-message p {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.92;
    text-align: justify;
}

.rdi-history-message strong {
    display: block;
    color: #FFD54A;
    font-size: 31px;
    font-weight: 850;
    text-align: center;
    letter-spacing: .4px;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .rdi-history-page {
        padding: 65px 0;
    }

    .rdi-history-card {
        border-radius: 22px;
    }

    .rdi-history-header {
        padding: 48px 38px 36px;
    }

    .rdi-history-header h1 {
        font-size: 36px;
    }

    .rdi-history-cover {
        padding: 0 38px;
    }

    .rdi-history-cover::before {
        left: 26px;
        right: 26px;
    }

    .rdi-history-cover img {
        height: 330px;
        border-width: 7px;
    }

    .rdi-history-content {
        max-width: none;
        padding: 58px 48px 64px;
    }
}

@media (max-width: 767px) {
    .rdi-history-page {
        padding: 45px 0;
    }

    .rdi-history-header {
        padding: 38px 24px 30px;
    }

    .rdi-history-header h1 {
        font-size: 30px;
    }

    .rdi-history-header p {
        font-size: 15.5px;
    }

    .rdi-history-cover {
        padding: 0 24px;
    }

    .rdi-history-cover img {
        height: 255px;
        border-radius: 18px;
        border-width: 6px;
    }

    .rdi-history-content {
        padding: 48px 24px 50px;
    }

    .rdi-history-content .rdi-lead {
        font-size: 15.8px;
        line-height: 1.88;
        margin-bottom: 32px;
    }

    .rdi-history-content h2 {
        font-size: 20.5px;
        margin: 36px 0 18px;
    }

    .rdi-history-content h3 {
        font-size: 17px;
    }

    .rdi-history-content h4 {
        font-size: 15.8px;
    }

    .rdi-history-content p,
    .rdi-history-content li {
        font-size: 15px;
        line-height: 1.85;
    }

    .rdi-history-message {
        padding: 32px 24px;
    }

    .rdi-history-message p {
        font-size: 15.2px;
    }

    .rdi-history-message strong {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .rdi-history-page {
        padding: 35px 10px;
    }

    .rdi-history-card {
        border-radius: 18px;
    }

    .rdi-history-header h1 {
        font-size: 27px;
    }

    .rdi-history-cover img {
        height: 215px;
    }

    .rdi-history-content {
        padding: 42px 20px 42px;
    }

    .rdi-history-content h2 {
        font-size: 19px;
    }

    .rdi-history-content h3 {
        font-size: 16.3px;
    }

    .rdi-history-message strong {
        font-size: 23px;
    }
}