/* Giữ header luôn khi scroll (Astra) */
header#masthead.site-header,
#masthead.site-header,
div.ast-main-header-wrap.main-header-bar-wrap,
div.ast-primary-header.main-header-bar,
div.ast-primary-header-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
}

/* Tránh bị che nội dung dưới header */
/* body { */
  /* padding-top: 90px !important;  */
/* } */
.su-kien-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.su-kien-item {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease;
}
.su-kien-item:hover {
    transform: translateY(-4px);
}

.su-kien-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.su-kien-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.su-kien-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #0025c5;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    padding: 8px 10px;
    text-align: center;
    height: 44px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 768px) {
    .su-kien-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .su-kien-thumb {
        height: 180px;
    }
}
@media (max-width: 480px) {
    .su-kien-wrapper {
        grid-template-columns: 1fr;
    }
    .su-kien-thumb {
        height: 160px;
    }
}


/* --------------sự kiện đối tác các đối tác ảnh nằm trong nền background công nghê----------------------- */
.doi-tac-wrapper {
    background: #061847;
    padding: 40px 20px;
    text-align: center;
}

.doi-tac-title {
    color: #fff !important;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
}

.doi-tac-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.doi-tac-logo-item {
    width: 140px;              /* hoặc 160px tuỳ theo thiết kế mong muốn */
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;    /* tuỳ chọn, có thể xoá nếu không cần */
    border-radius: 8px;        /* tuỳ chọn */
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.doi-tac-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.doi-tac-logo-item img:hover {
    transform: scale(1.1);
}

.doi-tac-section {
    margin-top: 50px;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    color: #fff; /* nếu chữ nằm trong nền tối */
}



/* --------------------sự kiện tại hà nội---------------- */
/* Thu nhỏ form SureForms trong sidebar */
.sukien-right .wp-block-sureform {
    max-width: 100%;
    background: #e8f0ff;
    padding: 16px;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.sukien-right .wp-block-sureform input,
.sukien-right .wp-block-sureform textarea {
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 6px;
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
}

.sukien-right .wp-block-sureform button[type="submit"] {
    background-color: #ec6d4e;
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease;
}

.sukien-right .wp-block-sureform button[type="submit"]:hover {
    background-color: #d9553a;
}

/* ------------------------- */
.site-footer {
    margin-top: 30px;
}


/* ══════════════════════════════════════
   1. Logo to hơn + có border/padding
   chỉnh sửa header menu
══════════════════════════════════════ */


/* Style riêng cho Tin tức - thêm excerpt */
.skl-news .skl-excerpt {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


