body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.template-header-2 {
    width: 100%;
    background: linear-gradient(to right, #1e4eac, #03acf4);
    padding-top: 1.5rem;
}

.header-expand {
    height: 100vh;
}

/* contents layout */
.wrapper-content-v2 {
    margin-top: 1.5rem;
    width: 100%;
    height: auto;
    display: flex;
    padding: 0 3rem;
}

.content-left-v2 {
    width: 66%;
    height: 100%;
}

.content-right-v2 {
    position: sticky;
    top: 1.5rem;
    width: 33%;
    height: 100%;
}


/* temporary css for header 2 */
/* default h2: small grad underline start */
h2 {
    margin-top: 1rem;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
    font-family: 'bog';
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 150%;
    color: #434050;
}

h2 a {
    margin-top: 1rem;
    text-decoration: none;
    color: #434050;
}

h2:not(.no-after)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #1E4EAC, #03ACF4);
    border-radius: 2px;
}

/* title h2: small grad underline middle */
h2.fancy-title {
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
    font-family: 'bog';
    font-size: 2.375rem;
    font-weight: 600;
    line-height: 150%;
    color: #434050;
    text-align: center;
}

h2.fancy-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4rem;
    height: 3px;
    background: linear-gradient(to right, #1E4EAC, #03ACF4);
    border-radius: 100px;
}


/* title h2: small grad underline middle */
h3.v2-h3 {
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
    font-family: 'bog';
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0%;
    color: #434050;
    text-align: center;
}

h3.v2-h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 4rem;
    height: 3px;
    background: linear-gradient(to right, #1E4EAC, #03ACF4);
    border-radius: 100px;
}



/* mod_article_latest_v2 */
.latest-news-v2-wrapper {
    /* background-color: gray; */
    margin: 0;
    padding: 0 3rem;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.latest-news-content {
    margin: 1.5rem 0;
    display: flex;
    gap: 20px;
    height: auto;
}

.latest-news-col {
    flex: 1;
    box-sizing: border-box;
    padding: 1 0rem;
    overflow: hidden;
}

.post-card-inside-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.post-card {
    border: 1px solid #CDCCCE;
    border-radius: 1rem;
    overflow: hidden;
    /* margin: 10px; */
    width: 100%;
    height: 450px;
    display: flex;
    flex-direction: column;
}

.post-image {
    height: 50%;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* stretch/crop while keeping aspect */
    display: block;
}

.post-content {
    height: 50%;
    flex: 1; /* takes other 50% */
    position: relative; /* allows absolutely-positioned readmore */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.post-title {
    min-height: 3.3rem;
    max-height: 3.3rem;
    overflow: hidden;
}

.post-title a{
    line-height: 150%;
    font-family: 'bvnp';
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    color: #434050;
}

.post-subtitle {
    height: 50%;
    font-family: 'bvnp';
    font-size: 1rem;
    font-weight: 400;
    color: #434050;
    overflow-y: scroll;
}

.post-subtitle::-webkit-scrollbar {
    display: none;
}

.post-readmore {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-family: 'bvnp';
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    color: #0B90DB;
}

.post-list-inside-col {
    width: 100%;
    border-radius: 16px;
    overflow-y: hidden;
    background-color: #F6F6F6;
}

.side-post-item {
    padding: 1.5rem 13px;
    border-bottom: 1px solid #CDCCCE;
    cursor: pointer;
}

.side-post-item:hover {
    background-color: #d1d1d1;
    transition: all 0.3s ease;
}

.side-post-item:last-child {
    border-bottom: none;
}

.side-post-item-title {
    font-family: 'bvnp';
    font-size: 16px;
    font-weight: 400;
    color: #434050;
}

.side-post-item-date {
    font-family: 'bvnp';
    font-size: 14px;
    font-weight: 400;
    color: #0B90DB;
}

.latest-news-ajax-btn {
    margin: 2rem 0;
    width: 6.375rem;
    height: 3rem;
    padding: 0.5rem 1rem;
    border: 2px solid #0B90DB;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'bvnp';
    white-space: nowrap;
    color: #3b3b50;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}


.latest-news-ajax-btn:hover {
    background-color: #0094e8;
    color: white;
}


/* mod_article_table_left_v2 */
.articles-table-left-v2-wrapper {
    width: 100%;
    height: auto;
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.articles-table-left-col {
    flex: 1;
    box-sizing: border-box;
    padding: 1 0rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* mod_menu_list_right_v2 */
.menu-list-col-wrapper {
    width: 100%;
    height: auto;
    margin-left: 20px;
    background-color: #F6F6F6;
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.menu-list-col-title-container {
    width: 100%;
    padding: 1rem 0;
    margin-left: 1rem;
}

.menu-list-col-content {
    display: flex;
    flex-direction: column;
}

.menu-list-item {
    width: 100%;
    padding: 8px 16px;
    border-bottom: 1px solid #CDCCCE;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.menu-list-item-title {
    height: 100%;
    font-family: 'bvnp';
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 150%;
    color: #434050;
    margin: 0;
}

.menu-list-item:hover {
    background-color: #D1D1D1;
    transition: all 0.3s ease;
}

.menu-list-item:last-child {
    border-bottom: none;
}


/* content|post css */

.wrapper-article img {
    max-width: 100%;
    height: auto;
}


.blog-featured p {
    font-family: 'bvnp';
    font-size: 1rem;
    font-weight: 400;
    line-height: 150%;
    color: #434050;
}

.wrapper-article p {
    font-family: 'bvnp';
    font-size: 1rem;
    font-weight: 400;
    line-height: 150%;
    color: #434050;
}

.article-info-term {
    display: none;
}

h1.article-title .create {
    display: block;
    margin-top: 0.5rem;
    font-family: 'bvnp';
    font-size: 1rem;
    font-weight: 400;
    line-height: 150%;
    color: #434050;
}


h1.article-title a {
    position: relative;
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 10px;
    font-family: 'bog';
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 150%;
    color: #434050;
    text-decoration: none;
}

h1.article-title a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #1E4EAC, #03ACF4);
    border-radius: 2px;
}


/* mod_article_list_right_v2 */
.latest-news-right-wrapper {
    width: 100%;
    height: auto;
    margin-left: 20px;
    background-color: #F6F6F6;
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.latest-news-right-wrapper h3 {
    margin: 1rem;
}

.latest-news-right-col {
    margin-top: 1rem;
}

.list-post-item-wrapper {
    height: 7.8125rem;
    padding: 1.5rem 13px;
    display: flex;
    border-bottom: 1px solid #CDCCCE;
    cursor: pointer;
}

.list-post-item-wrapper:last-child {
    border-bottom: none;
}

.list-post-item-wrapper:hover {
    background-color: #d1d1d1;
    transition: all 0.3s ease;
}

.list-post-item-image-container {
    min-width: 4rem;
    max-width: 4rem;
    min-height: 4rem;
    max-height: 4rem;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e7c6c6;
}

.list-post-item-image-container img {
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.list-post-item-content {
    margin-left: 0.5rem;
}

.list-post-item-title {
    min-height: 2.5rem;
    font-family: 'bvnp';
    font-weight: 400;
    font-size: 1rem;
    line-height: 150%;
    color: #434050;
}

.list-post-item-date {
    font-family: 'bvnp';
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 150%;
    color: #0B90DB;
}


/* mod_header_banner_v2 */
.header-banner-wrapper {
    width: 100%;
    height: 13.6875rem
}

.header-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scaleX(-1);
}
/*<style>*/
.gradient-card {
    background: linear-gradient(to right, #1E4EAC, #03ACF4);
    color: white;
    border-radius: 20px;
    padding: 20px;
    height: 100%;
    overflow: hidden;
}
.bg-lmt-gradient {
    background: linear-gradient(to right, #1E4EAC, #03ACF4);
}
.card-title-custom {
    font-weight: bold;
    font-size: 1.25rem;
    display: block;
    /*border-bottom: 2px solid white;*/
    width: fit-content;
    margin-bottom: 10px;
    line-height: 1.2;
}

.card-title-custom span {
    display: block;
}

#edu-form h4,
#edu-form label,
#edu-form input,
#edu-form button,
#edu-form select,
#edu-form option {
    font-family: 'bvnp';
}
