.banner .bannerchung_box h1 {
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3em;
    color: var(--color-white,var(--color-white,#fff));
}
div#content {
    padding-bottom: 0 !important;
}
.bannerchung_box {
    padding: 0 9.8px;
}
/* schung form */
.sschung {
    padding-bottom: 0 !important;
}
.sschungr1_col2 {
    padding-bottom: 0 !important;
    display: flex;
    align-items: flex-end;
}
.sschung .bavor-event-form{
    border-radius: 12px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.25);
    padding: 48px 35px !important;
}
/* end schung form */

/* kết nối css */
.shortcode_ketnoi {
    width: 100%;
    float: left;
    padding-top: 40px;
}

.title_ketnoi h3 {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    color: var(--color-brand,#164535);
    line-height: 1.3em;
}

ul.icon_ketnoi {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    padding-top:10px;
    padding-bottom:40px
}

ul.icon_ketnoi li {
    margin-left: 40px;
}

ul.icon_ketnoi li:first-child {
    margin-left: 0;
}

.image_ketnoi  img {
    border-radius: 8px;
}


/*end kết nối css */


.bavor-events-v1,
.bavor-events-v1 * {
    box-sizing: border-box;
}

.bavor-events-v1 {
    --event-green: #164f3d;
    --event-green-dark: #0d3d2f;
    --event-text: #17201c;
    --event-muted: #65716b;
    --event-line: #e1e7e3;
    position: relative;
    width: 100%;
    color: var(--event-text);
    font-family: inherit;
}

.bavor-events-v1 a {
    box-shadow: none;
}

.bavor-events-v1__section-title {
    margin: 0 0 24px;
    padding: 0;
    color: var(--color-brand,#164535);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3em;
    text-transform: none;
}

.bavor-events-v1__section-title::before,
.bavor-events-v1__section-title::after,
.bavor-events-v1__sidebar-title::before {
    display: none;
}

/*
    * SỰ KIỆN MỚI NHẤT
    * Dùng Flexbox: bài lớn bên trái, ba bài bên phải.
    */
.bavor-events-v1__latest-section {
    margin: 0 0 64px;
}

.bavor-events-v1__latest-layout {
    display: flex;
    align-items: stretch;
    gap: 32px;
    width: 100%;
}

.bavor-events-v1__latest-hero {
    display: flex;
    flex: 1 1 62%;
    min-width: 0;
}

.bavor-events-v1__latest-side {
    display: flex;
    flex: 0 0 37%;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.bavor-events-v1__latest-card {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.bavor-events-v1__latest-card--hero {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.bavor-events-v1__latest-card--wide {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.bavor-events-v1__latest-mini-grid {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.bavor-events-v1__latest-card--mini {
    display: flex;
    flex: 1 1 50%;
    flex-direction: column;
    min-width: 0;
}

.bavor-events-v1__latest-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: #edf1ef;
}

.bavor-events-v1__latest-card--hero
.bavor-events-v1__latest-image-link {
    width: 100%;
    aspect-ratio: 16 / 8.1;
}

.bavor-events-v1__latest-card--wide
.bavor-events-v1__latest-image-link {
    flex: 0 0 48%;
    aspect-ratio: 1 / 1.05;
}

.bavor-events-v1__latest-card--mini
.bavor-events-v1__latest-image-link {
    width: 100%;
    aspect-ratio: 1.55 / 1;
}

.bavor-events-v1__latest-image,
.bavor-events-v1__latest-image-link img,
.bavor-events-v1__archive-image,
.bavor-events-v1__archive-image-link img,
.bavor-events-v1__related-image,
.bavor-events-v1__related-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform 0.42s ease;
}

.bavor-events-v1__latest-card:hover
.bavor-events-v1__latest-image,
.bavor-events-v1__archive-card:hover
.bavor-events-v1__archive-image,
.bavor-events-v1__related-card:hover
.bavor-events-v1__related-image {
    transform: scale(1.035);
}

.bavor-events-v1__image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(22, 79, 61, 0.42);
    background:
        linear-gradient(
            135deg,
            rgba(22, 79, 61, 0.1),
            rgba(22, 79, 61, 0.025)
        );
}

.bavor-events-v1__image-empty svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bavor-events-v1__latest-content {
    min-width: 0;
    padding-top: 13px;
}

.bavor-events-v1__latest-card--wide
.bavor-events-v1__latest-content {
    flex: 1 1 auto;
    padding: 6px 0 0;
}

.bavor-events-v1__latest-card--mini
.bavor-events-v1__latest-content {
    padding-top: 10px;
}

.bavor-events-v1__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0 0 9px;
    color: var(--color-base);
    font-size: 11px;
    line-height: 1.4;
}

.bavor-events-v1__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bavor-events-v1__meta svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--color-brand,#164535);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bavor-events-v1__meta-separator {
    color: #b9c2bd;
}

.bavor-events-v1__author {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bavor-events-v1__author:hover,
.bavor-events-v1__author:focus-visible {
    color: var(--color-brand,#164535);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bavor-events-v1__latest-title,
.bavor-events-v1__archive-title,
.bavor-events-v1__related-title {
    margin: 0;
    padding: 0;
    color: var(--color-brand,#164535);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    text-transform: none;
}

.bavor-events-v1__latest-title::before,
.bavor-events-v1__latest-title::after,
.bavor-events-v1__archive-title::before,
.bavor-events-v1__archive-title::after,
.bavor-events-v1__related-title::before,
.bavor-events-v1__related-title::after {
    display: none;
}

.bavor-events-v1__latest-title a,
.bavor-events-v1__archive-title a,
.bavor-events-v1__related-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bavor-events-v1__latest-title a:hover,
.bavor-events-v1__latest-title a:focus-visible,
.bavor-events-v1__archive-title a:hover,
.bavor-events-v1__archive-title a:focus-visible,
.bavor-events-v1__related-title a:hover,
.bavor-events-v1__related-title a:focus-visible {
    color: var(--event-green-dark);
}

.bavor-events-v1__latest-card--hero
.bavor-events-v1__latest-title, .bavor-events-v1__latest-card--hero
.bavor-events-v1__latest-title a {
    display: -webkit-box;
    overflow: hidden;
    font-size: 18px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.bavor-events-v1__latest-card--wide
.bavor-events-v1__latest-title, .bavor-events-v1__latest-card--wide
.bavor-events-v1__latest-title a {
    display: -webkit-box;
    overflow: hidden;
    font-size: 18px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bavor-events-v1__latest-card--mini
.bavor-events-v1__latest-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.3em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bavor-events-v1__latest-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 0 0;
    color: var(--color-base);
    font-size: 16px;
    line-height: 1.3em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bavor-events-v1__latest-card--wide
.bavor-events-v1__latest-excerpt {
    -webkit-line-clamp: 4;
}

/*
    * KHỐI DƯỚI: DANH SÁCH + SIDEBAR
    */
.bavor-events-v1__content-layout {
    display: flex;
    align-items: flex-start;
    gap: 38px;
    width: 100%;
}

.bavor-events-v1__main {
    flex: 1 1 62%;
    min-width: 0;
}

.bavor-events-v1__sidebar {
    flex: 0 0 37%;
    min-width: 280px;
}

.bavor-events-v1__archive-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bavor-events-v1__archive-card {
    display: flex;
    align-items: stretch;
    gap: 24px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.bavor-events-v1__archive-image-link {
    position: relative;
    display: block;
    flex: 0 0 42%;
    align-self: stretch;
    overflow: hidden;
    min-height: 190px;
    border-radius: 12px;
    background: #edf1ef;
}

.bavor-events-v1__archive-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 4px 0;
}

.bavor-events-v1__archive-title, .bavor-events-v1__archive-title a {
    display: -webkit-box;
    overflow: hidden;
    font-size: 18px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bavor-events-v1__archive-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 8px 0 0;
    color: var(--color-base);
    font-size: 16px;
    line-height: 1.3em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bavor-events-v1__read-more {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 16px;
    color: var(--color-brand,#164535);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.bavor-events-v1__read-more svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.bavor-events-v1__read-more:hover svg {
    transform: translate(2px, -2px);
}

/*
    * SIDEBAR: SỰ KIỆN LIÊN QUAN
    */
.bavor-events-v1__sidebar-inner {
    position: relative;
    top: 0;
    width: 100%;
}

.bavor-events-v1__sidebar-title {
    margin: 0 0 16px;
    padding: 0;
    color: var(--color-brand,#164535);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3em;
    letter-spacing: -0.01em;
    text-transform: none;
}

.bavor-events-v1__related-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bavor-events-v1__related-card {
    display: flex;
    align-items: stretch;
    gap: 15px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.bavor-events-v1__related-image-link {
    position: relative;
    display: block;
    flex: 0 0 47%;
    overflow: hidden;
    aspect-ratio: 1.45 / 1;
    border-radius: 8px;
    background: #edf1ef;
}

.bavor-events-v1__related-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    padding: 3px 0;
}

.bavor-events-v1__meta--related {
    margin-bottom: 7px;
    font-size: 10px;
}

.bavor-events-v1__meta--related svg {
    width: 16px;
    height: 16px;
}

.bavor-events-v1__related-title, .bavor-events-v1__related-title a {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.3em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-weight: 400;
}

.bavor-events-v1__social {
    margin-top: 28px;
}

.bavor-events-v1__social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.bavor-events-v1__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--color-brand,#164535);
    background: rgba(22, 79, 61, 0.06);
    text-decoration: none;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.bavor-events-v1__social-link:hover,
.bavor-events-v1__social-link:focus-visible {
    color: #fff;
    background: var(--color-brand,#164535);
    transform: translateY(-2px);
}

.bavor-events-v1__social-link svg {
    width: 16px;
    height: 16px;
}

.bavor-events-v1__banner {
    overflow: hidden;
    margin-top: 24px;
    border-radius: 8px;
    background: #edf1ef;
}

.bavor-events-v1__banner a,
.bavor-events-v1__banner-image {
    display: block;
    width: 100%;
}

.bavor-events-v1__banner-image {
    height: auto;
    margin: 0;
    transition: transform 0.4s ease;
}

.bavor-events-v1__banner a:hover
.bavor-events-v1__banner-image {
    transform: scale(1.025);
}

/*
    * PHÂN TRANG AJAX
    */
.bavor-events-v1__archive-results {
    position: relative;
    min-height: 120px;
    transition: opacity 0.2s ease;
}

.bavor-events-v1.is-loading
.bavor-events-v1__archive-results {
    opacity: 0.38;
    pointer-events: none;
}

.bavor-events-v1__pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 32px 0 0;
}

.bavor-events-v1__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid #d1dad5;
    border-radius: 4px;
    color: #5e6963;
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.bavor-events-v1__page:hover,
.bavor-events-v1__page:focus-visible {
    border-color: var(--color-brand,#164535);
    color: var(--color-brand,#164535);
}

.bavor-events-v1__page.is-current {
    border-color: var(--color-brand,#164535);
    color: #fff;
    background: var(--color-brand,#164535);
    pointer-events: none;
}

.bavor-events-v1__page--arrow svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bavor-events-v1__page--dots {
    border-color: transparent;
    background: transparent;
    pointer-events: none;
}

.bavor-events-v1__loading {
    position: absolute;
    z-index: 20;
    bottom: 240px;
    left: calc(31% - 20px);
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(22, 79, 61, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(15, 50, 39, 0.14);
}

.bavor-events-v1.is-loading
.bavor-events-v1__loading {
    display: flex;
}

.bavor-events-v1__spinner {
    width: 21px;
    height: 21px;
    border: 2px solid rgba(22, 79, 61, 0.18);
    border-top-color: var(--color-brand,#164535);
    border-radius: 50%;
    animation: bavor-events-v1-spin 0.7s linear infinite;
}

.bavor-events-v1__ajax-error {
    display: none;
    margin-top: 15px;
    padding: 12px 14px;
    border: 1px solid #efd1d1;
    border-radius: 6px;
    color: #922d2d;
    background: #fff5f5;
    font-size: 13px;
}

.bavor-events-v1__ajax-error.is-visible {
    display: block;
}

.bavor-events-v1__notice,
.bavor-events-v1__sidebar-empty {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px;
    border: 1px solid var(--event-line);
    border-radius: 8px;
    color: var(--color-base);
    background: #fff;
    font-size: 13px;
    line-height: 1.55;
}

.bavor-events-v1__notice strong {
    color: var(--event-text);
    font-size: 15px;
}

.bavor-events-v1__sidebar-empty {
    display: block;
    padding: 14px;
}

.bavor-events-v1__meta-item, .bavor-events-v1__meta-item time {
    font-size: 14px;
    line-height: 1.3em;
    color: #4F4F4F;
}

@keyframes bavor-events-v1-spin {
    to {
        transform: rotate(360deg);
    }
}

@media screen and (max-width:1024px){
    .bavor-events-v1__section-title h2, .banner .bannerchung_box h1 {
    font-size: 24px;
    }
    .bannerchung_box {
        padding: 0 15px !important;
    }
}

@media (max-width: 991px) {
    .bavor-events-v1__latest-layout {
        gap: 22px;
    }

    .bavor-events-v1__latest-hero {
        flex-basis: 58%;
    }

    .bavor-events-v1__latest-side {
        flex-basis: 40%;
    }

    .bavor-events-v1__latest-card--wide {
        flex-direction: column;
        gap: 0;
    }

    .bavor-events-v1__latest-card--wide
    .bavor-events-v1__latest-image-link {
        flex-basis: auto;
        width: 100%;
        aspect-ratio: 1.55 / 1;
    }

    .bavor-events-v1__content-layout {
        gap: 28px;
    }

    .bavor-events-v1__main {
        flex-basis: 61%;
    }

    .bavor-events-v1__sidebar {
        flex-basis: 36%;
        min-width: 250px;
    }

    .bavor-events-v1__archive-card {
        gap: 18px;
    }

    .bavor-events-v1__archive-image-link {
        flex-basis: 40%;
        min-height: 170px;
    }

    .bavor-events-v1__related-card {
        flex-direction: column;
        gap: 10px;
    }

    .bavor-events-v1__related-image-link {
        flex-basis: auto;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .bavor-events-v1__latest-section {
        margin-bottom: 42px;
    }

    .bavor-events-v1__latest-layout,
    .bavor-events-v1__content-layout {
        flex-direction: column;
    }

    .bavor-events-v1__latest-hero,
    .bavor-events-v1__latest-side,
    .bavor-events-v1__main,
    .bavor-events-v1__sidebar {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
    }

    .bavor-events-v1__latest-card--wide {
        flex-direction: row;
        gap: 15px;
    }

    .bavor-events-v1__latest-card--wide
    .bavor-events-v1__latest-image-link {
        flex: 0 0 46%;
        width: auto;
        aspect-ratio: 1.2 / 1;
    }

    .bavor-events-v1__latest-mini-grid {
        gap: 15px;
    }

    .bavor-events-v1__sidebar-inner {
        position: static;
    }

    .bavor-events-v1__related-card {
        flex-direction: row;
        gap: 14px;
    }

    .bavor-events-v1__related-image-link {
        flex: 0 0 42%;
        width: auto;
    }

    .bavor-events-v1__loading {
        left: calc(50% - 21px);
    }
}

@media (max-width: 575px) {
    .bavor-events-v1__section-title {
        margin-bottom: 18px;
        font-size: 24px;
    }

    .bavor-events-v1__latest-card--hero
    .bavor-events-v1__latest-image-link {
        aspect-ratio: 16 / 10;
    }

    .bavor-events-v1__latest-card--wide {
        flex-direction: column;
        gap: 0;
    }

    .bavor-events-v1__latest-card--wide
    .bavor-events-v1__latest-image-link {
        flex-basis: auto;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .bavor-events-v1__latest-mini-grid {
        flex-direction: column;
    }

    .bavor-events-v1__latest-card--mini {
        flex-direction: row;
        gap: 13px;
    }

    .bavor-events-v1__latest-card--mini
    .bavor-events-v1__latest-image-link {
        flex: 0 0 42%;
        width: auto;
        aspect-ratio: 1.35 / 1;
    }

    .bavor-events-v1__latest-card--mini
    .bavor-events-v1__latest-content {
        flex: 1 1 auto;
        padding: 2px 0;
    }

    .bavor-events-v1__archive-list {
        gap: 24px;
    }

    .bavor-events-v1__archive-card {
        flex-direction: column;
        gap: 13px;
    }

    .bavor-events-v1__archive-image-link {
        flex-basis: auto;
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .bavor-events-v1__archive-title {
        font-size: 18px;
    }

    .bavor-events-v1__read-more {
        margin-top: 12px;
    }

    .bavor-events-v1__meta {
        font-size: 10px;
    }

    .bavor-events-v1__related-image-link {
        flex-basis: 40%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bavor-events-v1 *,
    .bavor-events-v1 *::before,
    .bavor-events-v1 *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}