﻿.header__bar {
    background: #0040ca !important;
    background: url('/Resources/menu_bg.png') no-repeat center center !important;
    background-size: cover !important; /* ảnh full rộng thanh menu */
}

.related-item__title {
    left: 55px;
}

.button--gray, .header .button:before {
    background-color: #003dc8 !important;
}

.header .button {
    border-left: 1px solid #005fcb !important;
}

.timeline.timeline--1 {
    /*background: #fff4ec !important;*/
}

img.grayscale {
    filter: grayscale(100%);
}

.warm-bw {
    filter: grayscale(80%) sepia(30%) brightness(95%) contrast(105%);
    transition: 0.5s;
}

/*.warm-bw:hover {
                filter: grayscale(0%) sepia(10%) brightness(100%) contrast(100%);
            }*/
.menu__link.active {
    background-color: #0035b591 !important;
}

.hero-button {
    display: flex;
    align-items: center;
    justify-content: space-between; /* icon sang phải */
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    min-width: 300px;
    max-width: 300px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

    .hero-button:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    }

    .hero-button small {
        display: block;
        font-size: 0.8rem;
        font-weight: 400;
        opacity: 0.9;
        margin-top: 2px;
        color: #e0e0e0;
    }

    .hero-button img {
        height: 40px;
        margin-left: 40px;
        transition: transform 0.3s ease;
    }

    .hero-button:hover img {
        transform: rotate(-8deg) scale(1.1);
    }

.timeline__lead {
    background: #FFF;
}

.main_banner img {
    max-width: 100%;
    width: 100%;
}

.stats-section {
    text-align: center;
    padding: 60px 0;
    background: #fff;
}

.stats-title {
    font-size: 32px;
    font-weight: 700;
    color: #0a4c86;
}

.stats-line {
    width: 90px;
    height: 3px;
    background: #0a4c86;
    margin: 12px auto 45px;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

/* Tạo hiệu ứng lên – xuống */
.circle-container {
    background: #fbfbfb;
    border-radius: 100%;
    padding: 9px;
    border: 3px solid #a6d8f5;
    position: relative;
}

.stat-item.up {
    margin-top: -10px;
}

.stat-item.down {
    margin-top: 75px;
}

.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(166, 216, 245, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    /* Dấu chấm tròn như Canva */
    .circle .dot {
        width: 14px;
        height: 14px;
        background: #45bdffad;
        border-radius: 50%;
        position: absolute;
        right: 18px;
        border: 2px solid white;
        box-shadow: 0 0 4px rgba(0,0,0,0.2);
    }

.down .circle .dot {
    top: 140px;
}

.up .circle .dot {
    top: 12px;
}

.circle strong {
    font-size: 32px;
    color: #0a4c86;
    font-weight: 700;
}

.circle p {
    font-size: 14px;
    color: #444;
    margin: 5px 0 0 0;
}
/* 🎯 MOBILE: 2 vòng / hàng */
@media (max-width: 768px) {

    .stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 20px; /* hàng 35px - cột 20px */
        justify-items: center;
		padding: 0 20px;
    }

    /* ❌ Bỏ lệch lên - xuống */
    .stat-item.up,
    .stat-item.down {
        margin-top: 0 !important;
    }

    /* Vị trí chấm đồng nhất trên mobile */
    .circle .dot {
        display: none;
    }
}

/* 🎯 MOBILE NHỎ - 1 hàng 2 vòng vẫn đẹp */
@media (max-width: 480px) {
    .circle {
        width: 120px;
        height: 120px;
    }

        .circle strong {
            font-size: 26px;
        }
		.iframe-ky-yeu{
			min-height: 400px !important;
		}
		.header__link{
			font-size: 15px;
		}
		.event-title, .stats-title {
			font-size: 25px !important;
		}
}


/* 🎯 SLIDE */
.event-section {
    text-align: center;
    padding: 20px 20px;
}

.event-title {
    font-size: 32px;
    font-weight: bold;
    color: #0a4c86;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.mySwiper {
    max-width: 1270px;
    margin: auto;
    padding-bottom: 40px;
    width: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.mySwiper .card {
    width: auto;
    background: #fff;
    border-radius: 22px; /* Bo cong */
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform .3s ease;
    margin-bottom: 50px;
}

.sponser .card {
    border: solid 1px #EEE;
    padding: 10px;
}

    .sponser .card h3 {
        min-height: auto;
        margin-bottom: 0;
    }

.sponsor-title {
    text-align: center;
    padding: 12px 18px;
    margin-top: 14px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.4px;
    position: relative;
    overflow: hidden;
    background: #fff;
}

/* 💎 KIM CƯƠNG – DIAMOND PREMIUM */
.level-diamond {
    background: linear-gradient(145deg, #dcf0ff 0%, #fefefe 30%, #f2f7ff 60%, #e5ecf7 100%);
    /*border: 1px solid rgba(150, 170, 200, 0.7);*/
    color: #1f1f1f;
    /* ánh sáng mạnh hơn */
    /*box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 0 12px rgba(180, 200, 255, 0.35);*/
}

    /* hiệu ứng kim tuyến – diamond spark */
    .level-diamond::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 40%, rgba(180,200,255,0.15) 100%);
        border-radius: inherit;
        mix-blend-mode: screen;
        pointer-events: none;
    }

/* 🟡 VÀNG – GOLD (champagne vàng nhẹ – không chói) */
.level-gold {
    background: linear-gradient(145deg, #fbeec2 0%, #fffaeb 45%, #fbe7b1 100%);
    /*border: 1px solid rgba(210, 175, 90, 0.6);*/
    color: #6b4a00;
    /*box-shadow: 0 3px 8px rgba(0,0,0,0.08);*/
}

/* ⚪ BẠC – SILVER */
.level-silver {
    background: linear-gradient(145deg, #f4f4f4 0%, #e8e8e8 45%, #dcdcdc 100%);
    /*border: 1px solid rgba(160, 160, 160, 0.5);*/
    color: #444;
    /*box-shadow: 0 3px 8px rgba(0,0,0,0.06);*/
}

/* Hiệu ứng glow viền mềm – sang trọng */
.sponsor-title::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0.2) );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
/* Slide đang active to hơn */
.swiper-slide-active .card {
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: scale-down;
    padding-top: 10px;
}

.card h3 {
    font-size: 18px;
    margin-top: 12px;
    min-height: 44px;
}

.card span {
    font-size: 16px;
    color: #777;
    margin-bottom: 15px;
    display: block;
}

.event-section {
}

.timeline-item__triangle {
    height: 60px;
}

.timeline-item {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    background: transparent;
}

.section-angled {
    padding: 80px 0; /* cao thấp tuỳ bạn */
    background: linear-gradient( 170deg, /* góc nghiêng, 175deg là hơi chéo nhẹ */
    #ffffff 36%, /* từ trên xuống 40% là màu trắng */
    #fef5ee 36% /* từ 40% trở xuống là màu be */
    );
}

.timeline-item--open > .timeline-item__link {
    background: transparent;
}

.timeline--2 {
    background: transparent;
}

.timeline__lead {
    background: transparent;
}

.timeline--1:after {
    display: none;
}

.footer .footer__social {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.footer {
    background-color: #07144e;
    position: relative;
    width: 100%;
    overflow: hidden; /* tránh ảnh tràn */
}

    .footer::after {
        content: "";
        position: absolute;
        right: 100px;
        top: 0;
        width: 536px;
        height: 93%;
        background: url(/resources/trongdong3.png) no-repeat center center;
        background-size: cover;
        opacity: 0.12;
        pointer-events: none;
        z-index: 0;
    }

.timeline__lead {
    background: transparent;
    font-family: "Inter", sans-serif;
}

@media (max-width: 768px) {
    .footer::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: url(/resources/trongdong3.png) no-repeat center center;
        background-size: cover;
        opacity: 0.12;
        pointer-events: none;
        z-index: 0;
    }
}

@media (max-width: 480px) {
    .footer::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: url(/resources/trongdong3.png) no-repeat center center;
        background-size: cover;
        opacity: 0.12;
        pointer-events: none;
        z-index: 0;
    }
}

.timeline__lead {
    font-family: "Inter", sans-serif;
    padding: 14px;
    text-align: justify;
    font-size: 16px;
}
.timeline-item__date {
    font-family: "Inter", sans-serif;
}

@media (min-width: 1263px) {
    .timeline__lead {
        max-width: 750px;
    }
}
/*video youtube*/
.video-item {
	display: flex;
	align-items: top;
	border-bottom: 1px solid #ddd;
	text-decoration: none;
	color: black;
	transition: background 0.3s;
	text-align:left;
	margin-bottom: 10px;
	padding-bottom: 10px;
}
.video-item:hover {
	cursor: pointer;
}
.video-item img {
	width: 100px;
	height: 100%;
	border-radius: 5px;
	margin-right: 15px;
	max-height: 100%;
}
.video-info {
	flex-grow: 1;
}
.video-title {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 5px;
}
.video-date {
	font-size: 12px;
	color: gray;
}
.card{
	border: none !important;
}
.news-section-detail .banner-img-featured{
	margin-top: 0 !important;
}

.digitalSwiper {
  width: 100%;
  max-width: 1400px;
  margin: auto;
  position: relative;
}

.digitalSwiper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}
.digitalSwiper img {
  transition: transform 0.6s ease;
}

.digitalSwiper .swiper-slide-active img {
  transform: scale(1.03);
}
.view .view__content{
	margin-bottom: 0;
}