/* ============================================
   LAVA GAME – UI Enhancements
   ============================================ */

/* ============================================
   HEADER – Fixed + Active State
   ============================================ */

/* Fixed top */
header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(20,24,60,.25);
}

/* Compensate for fixed header height (75px desktop, 60px mobile) */
.section_title,
.about-hero,
.career-hero,
.career-detail-hero,
.static-page-hero,
.games-hero,
.banner,
.page-hero,
.post-hero {
    margin-top: 75px;
}

/* Active menu item – white + underline accent (desktop) */
.menu a.active {
    color: #fff !important;
    position: relative;
}
.menu a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}
.menu a:hover {
    color: rgba(255,255,255,.8) !important;
}

/* ---- Global: brand underline on section titles ---- */
.page_title h3::after {
    background-color: var(--primary);
}

/* ---- Intro section: gradient background ---- */
.section_intro {
    background: linear-gradient(180deg, #f7f8fd 0%, #eef0f9 60%, #f7f8fd 100%) !important;
    position: relative;
    overflow: hidden;
}
.section_intro::before {
    content: '';
    position: absolute;
    top: -80px; right: -120px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58,67,128,.07) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- Intro top: accent bar on heading ---- */
.intro__top-left h3 {
    border-left: 5px solid var(--primary);
    padding-left: 18px;
    line-height: 1.2;
}

/* ---- Service (Dịch vụ) cards: hover + accent ---- */
.intro__bottom__item {
    transition: transform .25s, box-shadow .25s;
    border-top: 3px solid transparent;
}
.intro__bottom__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(58,67,128,.15) !important;
    border-top-color: var(--primary);
}

/* ---- Products section: dots visible above the white area ---- */
.product .owl--dot .owl-dots {
    position: relative;
    bottom: auto;
    padding: 12px 0 4px;
    background: #fff;
}

/* ---- Owl Carousel dots: all sections ---- */
.owl-theme .owl-dots .owl-dot span {
    background: #c8cbe0;
    width: 10px; height: 10px;
    transition: background .2s, transform .2s;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span,
.owl--dot .owl-dots .owl-dot.active span,
.owl--dot .owl-dots .owl-dot:hover span {
    background: var(--primary);
    transform: scale(1.35);
}

/* ---- Partner section: tighter padding, subtle divider ---- */
.partner {
    border-top: 1px solid #e8eaf0;
    border-bottom: 1px solid #e8eaf0;
}
.partner .owl--dot .owl-dots {
    position: relative;
    bottom: auto;
    padding-top: 8px;
}
.owl_partner-img {
    padding: 8px 16px;
    filter: grayscale(30%);
    opacity: .85;
    transition: filter .2s, opacity .2s;
}
.owl_partner-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ---- "Gia nhập LAVA GAME" section ---- */
.wellcome {
    background: linear-gradient(160deg, #eef0f9 0%, #e4e8f4 100%) !important;
    border-top: 4px solid var(--primary);
}
.wellcome .page_title h3 a {
    color: inherit !important;
}
/* Icon circles: brand color background */
.career__people__item-img {
    background: var(--primary) !important;
    border: 3px solid rgba(58,67,128,.2) !important;
    box-shadow: 0 6px 20px rgba(58,67,128,.2);
}
.career__people__item img {
    filter: brightness(0) invert(1); /* make icons white on dark bg */
    width: 45% !important;
    height: 45% !important;
}
/* Equal-height cards: switch from float to flex */
.page_career__people {
    display: flex;
    gap: 30px;
    align-items: stretch;
}
.page_career__people .career__people__item {
    float: none !important;
    width: auto !important;
    flex: 1;
    margin-right: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page_career__people .career__people__item-desc {
    flex: 1;
}

/* Item card effect */
.career__people__item {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px 28px !important;
    box-shadow: 0 4px 16px rgba(58,67,128,.10);
    transition: transform .25s, box-shadow .25s;
    border-bottom: 3px solid transparent;
}
.career__people__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(58,67,128,.18);
    border-bottom-color: var(--primary);
}
/* desc text */
.career__people__item-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    display: block;
    margin-top: 8px;
}
/* CTA button */
.wellcome .btn-ft {
    background: var(--primary);
    border: 2px solid var(--primary);
    padding: 0 40px;
    font-size: 15px;
    letter-spacing: .5px;
    white-space: nowrap;
    width: auto !important;
    transition: background .2s, color .2s;
}
.wellcome .btn-ft:hover {
    background: #fff;
    color: var(--primary) !important;
}

/* ---- Footer: improve text readability (background kept as --primary) ---- */
.footer__item p {
    color: #c8ccdf !important;
}
.footer__item p.has-ico {
    color: #fff !important;
    font-weight: 600;
}
.footer__item span {
    color: #dce0f0 !important;
}
.footer__bottom-list a {
    transition: color .15s;
}
.footer__bottom-list a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 36px;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 0; }
.contact-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px rgba(58,67,128,.07);
    border-left: 4px solid transparent;
    transition: border-color .2s, transform .2s;
}
.contact-card:hover {
    border-left-color: var(--primary);
    transform: translateX(3px);
}
.contact-card__icon {
    width: 44px; height: 44px;
    background: #eef0fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.contact-card__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 5px;
}
.contact-card__val {
    font-size: 15px;
    font-weight: 600;
    color: #1e2244;
    line-height: 1.4;
    margin-bottom: 4px;
    display: block;
}
.contact-card__link { text-decoration: none; transition: color .2s; }
.contact-card__link:hover { color: var(--primary); text-decoration: underline; }
.contact-card__sub { font-size: 13px; color: #888; line-height: 1.5; }
.contact-social { display: flex; gap: 10px; margin-top: 8px; }
.contact-social__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s, opacity .2s;
}
.contact-social__btn:hover { transform: scale(1.04); }
.contact-social__btn--fb { background: #1877f2; color: #fff; }
.contact-social__btn--li { background: #0a66c2; color: #fff; }

.contact-map-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.contact-map-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.contact-map {
    flex: 1;
    min-height: 480px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(58,67,128,.12);
}
.contact-map iframe { display: block; }

@media (max-width: 992px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-map { min-height: 340px; }
}

/* ============================================
   STATIC PAGES (Privacy / Terms)
   ============================================ */
.static-page-hero {
    background: linear-gradient(135deg, #2a3070 0%, var(--primary) 60%, #4a5490 100%);
    padding: 70px 0 50px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.static-page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 32px;
    background: #f5f4f5;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.static-page-hero__label {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 10px;
}
.static-page-hero__title {
    font-size: 42px;
    font-weight: 900;
    font-family: iCielEffraBold, sans-serif;
    margin: 0 0 10px;
}
.static-page-hero__sub { font-size: 14px; color: rgba(255,255,255,.6); }

.static-article {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 40px;
}
.static-toc {
    position: sticky;
    top: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(58,67,128,.07);
}
.static-toc__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef0f8;
}
.static-toc__link {
    display: block;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 6px;
    margin-bottom: 2px;
    transition: background .15s, color .15s;
}
.static-toc__link:hover { background: #f0f2fa; color: var(--primary); }

.static-body { background: #fff; border-radius: 16px; padding: 44px 52px; box-shadow: 0 4px 24px rgba(58,67,128,.07); }
.static-intro {
    font-size: 17px;
    color: #555;
    line-height: 1.75;
    padding: 20px 24px;
    border-left: 4px solid var(--primary);
    background: #f8f9fd;
    border-radius: 0 8px 8px 0;
    margin-bottom: 32px;
    font-style: italic;
}
.static-footer-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .static-article { grid-template-columns: 1fr; }
    .static-toc { position: static; }
    .static-body { padding: 28px 20px; }
    .static-page-hero__title { font-size: 28px; }
}

/* ---- Section dividers: add subtle top accent ---- */
.news.pd--60 {
    border-top: 1px solid #e8eaf0;
}

/* ============================================
   PAGE HERO (news, careers, contact sub-pages)
   ============================================ */
.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
}
.page-hero__img {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
}
.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20,24,60,.2) 0%,
        rgba(20,24,60,.6) 55%,
        rgba(20,24,60,.85) 100%
    );
}
.page-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 0 0 52px;
}
.page-hero__label {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 8px;
}
/* keep existing h1 but override color via section_title */
.page-hero .section_title h1,
.page-hero h1 {
    position: relative !important;
    bottom: auto !important;
    font-size: 52px;
    color: #fff;
    text-transform: uppercase;
    font-family: iCielEffraBold, sans-serif;
    margin: 0 0 8px;
    text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.page-hero__sub {
    font-size: 15px;
    color: rgba(255,255,255,.65);
    margin: 8px 0 0;
    letter-spacing: .3px;
}
/* override default h1::after white line – use brand color */
.page-hero h1::after {
    display: none !important;
}
.page-hero__content::after {
    content: '';
    display: block;
    width: 50px; height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin: 14px auto 0;
}

/* ============================================
   NEWS PAGE
   ============================================ */

/* ── Filter bar ── */
.news-filter-bar {
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 16px rgba(58,67,128,.08);
    margin-bottom: 36px;
}
.news-filter-form {
    display: flex;
    gap: 16px;
    align-items: center;
}
.news-filter-left { flex: 0 0 260px; }
.news-filter-right { flex: 1; }

.news-filter-select-wrap {
    position: relative;
}
.news-filter-select {
    width: 100%;
    height: 46px;
    padding: 0 40px 0 16px;
    border: 1.5px solid #dde0f0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #f8f9fd;
    appearance: none;
    cursor: pointer;
    transition: border-color .2s;
}
.news-filter-select:focus {
    outline: none;
    border-color: var(--primary);
}
.news-filter-arrow {
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-55%);
    font-size: 20px;
    color: #888;
    pointer-events: none;
}

.news-filter-search-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #dde0f0;
    border-radius: 8px;
    background: #f8f9fd;
    overflow: hidden;
    transition: border-color .2s;
}
.news-filter-search-wrap:focus-within {
    border-color: var(--primary);
}
.news-filter-search {
    flex: 1;
    height: 46px;
    padding: 0 16px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #333;
}
.news-filter-search:focus { outline: none; }
.news-filter-btn {
    width: 48px; height: 46px;
    background: var(--primary);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    flex-shrink: 0;
}
.news-filter-btn:hover { background: var(--secondary); }

/* Active filter tags */
.news-filter-active {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef0f8;
}
.news-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef0fa;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px 4px 12px;
    border-radius: 20px;
    border: 1px solid #d0d4f0;
}
.news-filter-tag-x {
    color: var(--primary);
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    opacity: .7;
    transition: opacity .15s;
}
.news-filter-tag-x:hover { opacity: 1; }

/* ── News grid ── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(58,67,128,.07);
    transition: transform .28s, box-shadow .28s;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(58,67,128,.15);
}
.news-card__img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    height: 210px;
    flex-shrink: 0;
}
.news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    transition: transform .45s ease;
}
.news-card:hover .news-card__img {
    transform: scale(1.07);
}
.news-card__cat {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}
.news-card__body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-card__date {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.news-card__title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #1e2244;
    line-height: 1.45;
    margin-bottom: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color .2s;
}
.news-card__title:hover { color: var(--primary); }
.news-card__excerpt {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 16px;
}
.news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin-top: auto;
    transition: gap .2s;
}
.news-card__more:hover { gap: 9px; color: var(--secondary); }

/* ── Empty state ── */
.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #888;
}
.news-empty__icon { font-size: 48px; margin-bottom: 12px; }
.news-empty p { font-size: 16px; }

/* ── Pagination ── */
.news-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}
.news-pagination .pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0; margin: 0;
}
.news-pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 8px;
    border: 1.5px solid #dde0f0;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
    background: #fff;
}
.news-pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.news-pagination .page-item .page-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.news-pagination .page-item.disabled .page-link {
    opacity: .4;
    pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-filter-left { flex: 0 0 200px; }
}
@media (max-width: 640px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-filter-form { flex-direction: column; }
    .news-filter-left { flex: auto; width: 100%; }
}

/* ============================================
   CAREERS PAGE
   ============================================ */

/* ── Hero ── */
.career-hero {
    background: linear-gradient(135deg, #2a3070 0%, var(--primary) 50%, #4a5490 100%);
    position: relative;
    overflow: hidden;
    padding: 90px 0 70px;
}
.career-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,.04) 0%, transparent 40%);
}
.career-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 40px;
    background: #f5f4f5;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.career-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}
.career-hero__title {
    font-size: 52px;
    font-weight: 900;
    font-family: iCielEffraBold, sans-serif;
    margin: 10px 0 14px;
    text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.career-hero__sub {
    font-size: 16px;
    color: rgba(255,255,255,.78);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.career-hero__stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 14px 32px;
    border: 1px solid rgba(255,255,255,.2);
}
.career-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
}
.career-hero__stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.25);
}
.career-hero__stat-num {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.career-hero__stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.65);
    margin-top: 4px;
    letter-spacing: .5px;
}

/* ── Perks strip ── */
.career-perks {
    background: #fff;
    padding: 36px 0;
    border-bottom: 1px solid #eef0f8;
}
.career-perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.career-perk {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    border-right: 1px solid #eef0f8;
    transition: background .2s;
}
.career-perk:last-child { border-right: none; }
.career-perk:hover { background: #f8f9fd; }
.career-perk__icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}
.career-perk__text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1e2244;
    margin-bottom: 4px;
}
.career-perk__text span {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

/* ── Search ── */
.career-search-form { margin-bottom: 36px; }
.career-search-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(58,67,128,.09);
    overflow: hidden;
    border: 1.5px solid #dde0f0;
    transition: border-color .2s;
}
.career-search-wrap:focus-within { border-color: var(--primary); }
.career-search-icon {
    margin: 0 14px 0 18px;
    color: #aaa;
    flex-shrink: 0;
}
.career-search-input {
    flex: 1;
    height: 52px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: #333;
}
.career-search-input:focus { outline: none; }
.career-search-btn {
    height: 52px;
    padding: 0 32px;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.career-search-btn:hover { background: var(--secondary); }

/* ── Layout ── */
.career-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: start;
}

/* ── Sidebar filters ── */
.career-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.career-filter-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(58,67,128,.07);
}
.career-filter-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef0f8;
}
.career-filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: background .15s, color .15s;
    margin-bottom: 2px;
}
.career-filter-link:hover { background: #f0f2fa; color: var(--primary); }
.career-filter-link.active {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}
.career-filter-count {
    font-size: 11px;
    background: rgba(58,67,128,.12);
    color: var(--primary);
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}
.career-filter-link.active .career-filter-count {
    background: rgba(255,255,255,.25);
    color: #fff;
}

/* ── Active filter tags ── */
.career-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
.career-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef0fa;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 10px 5px 14px;
    border-radius: 20px;
    border: 1px solid #d0d4f0;
}
.career-filter-tag a { color: var(--primary); font-size: 16px; line-height: 1; text-decoration: none; opacity: .7; }
.career-filter-tag a:hover { opacity: 1; }
.career-clear-all {
    font-size: 12px;
    color: #999;
    text-decoration: underline;
    margin-left: 4px;
}

/* ── Job cards ── */
.job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(58,67,128,.07);
    border-left: 4px solid transparent;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.job-card:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 24px rgba(58,67,128,.13);
    border-left-color: var(--primary);
}
.job-card__main { flex: 1; min-width: 0; }
.job-card__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.job-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.job-badge--dept { background: #eef0fa; color: var(--primary); }
.job-badge--open { background: #e6f7ee; color: #1a7a3e; }
.job-badge--urgent { background: #fff3e0; color: #d46b08; }
.job-badge--closed { background: #fff0f0; color: #d32f2f; }
.job-card__title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #1e2244;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color .2s;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.job-card__title:hover { color: var(--primary); }
.job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.job-card__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #888;
}
.job-card__meta-item--expired { color: #e53e3e; }
.job-card__apply {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .2s, transform .2s;
}
.job-card__apply:hover {
    background: var(--secondary);
    color: #fff;
    transform: scale(1.03);
}

/* ── Empty ── */
.career-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(58,67,128,.06);
}
.career-empty__icon { font-size: 48px; margin-bottom: 12px; }
.career-empty p { font-size: 15px; }

/* ── Career Detail Hero ── */
.career-detail-hero {
    background: linear-gradient(135deg, #232860 0%, var(--primary) 60%, #4a5490 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
}
.career-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.06) 0%, transparent 50%);
}
.career-detail-hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 36px;
    background: #f5f4f5;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.career-detail-hero__content {
    position: relative;
    z-index: 2;
    color: #fff;
}
.career-breadcrumb { color: rgba(255,255,255,.6); margin-bottom: 16px; }
.career-breadcrumb a { color: rgba(255,255,255,.7); }
.career-breadcrumb a:hover { color: #fff; }
.career-detail-hero__title {
    font-size: 42px;
    font-weight: 900;
    font-family: iCielEffraBold, sans-serif;
    margin: 12px 0 16px;
    line-height: 1.2;
    max-width: 720px;
}
.career-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,.75);
    font-size: 14px;
}

/* ── Apply card in sidebar ── */
.career-apply-card {
    background: var(--primary) !important;
    text-align: center;
}
.career-apply-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.career-apply-card__sub {
    font-size: 13px;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
    margin-bottom: 18px;
}
.career-apply-card__btn {
    display: block;
    background: #fff;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 14px;
    transition: background .2s, transform .2s;
}
.career-apply-card__btn:hover {
    background: #f0f2fa;
    transform: scale(1.02);
}
.career-apply-card__email {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.65);
}
.career-apply-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
}
.career-apply-main-btn:hover { background: var(--secondary); }
.sidebar-info-icon--danger {
    background: #fff0f0 !important;
    color: #d32f2f !important;
}
.text-danger { color: #d32f2f !important; }

/* ── Responsive ── */
@media (max-width: 992px) {
    .career-layout { grid-template-columns: 1fr; }
    .career-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .career-filter-box { flex: 1; min-width: 220px; }
    .career-perks-grid { grid-template-columns: repeat(2, 1fr); }
    .career-perk { border-bottom: 1px solid #eef0f8; }
}
@media (max-width: 600px) {
    .career-hero__title { font-size: 32px; }
    .career-hero__stats { flex-wrap: wrap; border-radius: 16px; }
    .career-perks-grid { grid-template-columns: 1fr; }
    .job-card { flex-direction: column; align-items: flex-start; }
    .job-card__apply { width: 100%; justify-content: center; }
    .career-detail-hero__title { font-size: 28px; }
}

/* ============================================
   GAMES PAGE
   ============================================ */

/* ── Hero override ── */
.games-hero__overlay {
    background: linear-gradient(
        to bottom,
        rgba(10,12,40,.3) 0%,
        rgba(10,12,40,.65) 55%,
        rgba(10,12,40,.88) 100%
    ) !important;
}

/* ── Platform filter tabs ── */
.games-filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    justify-content: center;
}
.games-tab {
    padding: 9px 24px;
    border-radius: 50px;
    border: 2px solid #dde0f0;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .3px;
}
.games-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.games-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(58,67,128,.3);
}

/* ── Games Grid ── */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.game-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 16px rgba(58,67,128,.09);
    transition: transform .3s, box-shadow .3s;
}
.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(58,67,128,.18);
}
.game-card__inner {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
}

/* Cover */
.game-card__cover {
    position: relative;
    overflow: hidden;
    height: 260px;
    flex-shrink: 0;
    background: #1a1e3a;
}
.game-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    transition: transform .45s ease;
}
.game-card:hover .game-card__img {
    transform: scale(1.08);
}

/* Hover overlay with play button */
.game-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(20,24,70,.0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s;
}
.game-card:hover .game-card__overlay {
    background: rgba(20,24,70,.65);
}
.game-card__play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 26px;
    border-radius: 50px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.game-card__play-btn--soon {
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.4);
    font-size: 14px;
}
.game-card:hover .game-card__play-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Platform badge */
.game-card__platform {
    position: absolute;
    top: 12px; right: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: .5px;
    backdrop-filter: blur(8px);
}
.game-card__platform--mobile {
    background: rgba(58,67,128,.85);
    color: #fff;
}
.game-card__platform--pc {
    background: rgba(16,100,64,.85);
    color: #fff;
}
.game-card__platform--browser {
    background: rgba(180,80,10,.85);
    color: #fff;
}

/* Card body */
.game-card__body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 3px solid transparent;
    transition: border-color .3s;
}
.game-card:hover .game-card__body {
    border-top-color: var(--primary);
}
.game-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #1e2244;
    margin: 0 0 8px;
    line-height: 1.3;
}
.game-card__desc {
    font-size: 14px;
    color: #777;
    line-height: 1.65;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}
.game-card__desc--soon {
    color: var(--primary);
    font-weight: 600;
    font-style: italic;
}

/* ── Empty state ── */
.games-empty {
    text-align: center;
    padding: 80px 20px;
    color: #888;
}
.games-empty__icon { font-size: 64px; margin-bottom: 16px; }
.games-empty h2 { font-size: 28px; color: #1e2244; margin-bottom: 10px; }
.games-empty p { font-size: 16px; }

/* ── Responsive ── */
@media (max-width: 992px) {
    .games-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .games-grid { grid-template-columns: 1fr; }
    .game-card__cover { height: 200px; }
}

/* ============================================
   NEWS DETAIL PAGE
   ============================================ */

/* ── Post hero (taller, darker overlay) ── */
.post-hero { min-height: 480px; }
.post-hero__overlay {
    background: linear-gradient(
        to bottom,
        rgba(10,12,40,.15) 0%,
        rgba(10,12,40,.55) 40%,
        rgba(10,12,40,.90) 100%
    ) !important;
}
.post-hero__content {
    text-align: center;
}
.post-hero__cat {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.post-hero__title {
    font-size: 46px !important;
    max-width: 820px;
    margin: 0 auto 20px !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.post-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
}
.post-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── Article layout ── */
.post-page { padding: 60px 0; }
.post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}
.post-article {
    background: #fff;
    border-radius: 16px;
    padding: 52px 60px;
    box-shadow: 0 4px 24px rgba(58,67,128,.08);
    min-width: 0;
}

/* ── Breadcrumb ── */
.post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef0f8;
}
.post-breadcrumb a { color: var(--primary); text-decoration: none; }
.post-breadcrumb a:hover { text-decoration: underline; }
.post-breadcrumb__sep { color: #ccc; }

/* ── Excerpt ── */
.post-excerpt {
    font-size: 17px;
    color: #555;
    line-height: 1.75;
    padding: 20px 24px;
    border-left: 4px solid var(--primary);
    background: #f8f9fd;
    border-radius: 0 8px 8px 0;
    margin-bottom: 32px;
    font-style: italic;
}

/* ── Article content typography ── */
.post-content {
    font-size: 17px;
    color: #2a2a2a;
    line-height: 1.9;
}
.post-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1e2244;
    margin: 36px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef0f8;
}
.post-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e2244;
    margin: 28px 0 12px;
}
.post-content p { margin-bottom: 20px; }
.post-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin: 24px 0;
    background: #f8f9fd;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}
.post-content ul, .post-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}
.post-content li { margin-bottom: 6px; }
.post-content a { color: var(--primary); text-decoration: underline; }
.post-content a:hover { color: var(--secondary); }
.post-content strong { color: #1e2244; }

/* ── Tags ── */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0 28px;
    padding-top: 24px;
    border-top: 1px solid #eef0f8;
}
.post-tag {
    display: inline-block;
    background: #eef0fa;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid #d0d4f0;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.post-tag:hover {
    background: var(--primary);
    color: #fff;
}

/* ── Footer actions (back + share) ── */
.post-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.post-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.post-back-btn:hover {
    background: var(--primary);
    color: #fff !important;
}
.post-share {
    display: flex;
    align-items: center;
    gap: 8px;
}
.post-share__label {
    font-size: 13px;
    color: #999;
    font-weight: 600;
}
.post-share__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform .2s, opacity .2s;
}
.post-share__btn:hover { transform: scale(1.1); }
.post-share__btn--fb {
    background: #1877f2;
    color: #fff;
}
.post-share__btn--copy {
    background: #eef0fa;
    color: var(--primary);
    border: 1.5px solid #d0d4f0;
}

/* ── Related posts ── */
.post-related { background: #f8f9fd; }

/* ── Sidebar ── */
.post-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 16px rgba(58,67,128,.07);
}
.sidebar-card__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef0f8;
}
/* Info card */
.sidebar-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #555;
}
.sidebar-info-item:last-child { margin-bottom: 0; }
.sidebar-info-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    background: #eef0fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.sidebar-info-label {
    font-size: 11px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}
.sidebar-info-val { font-weight: 600; color: #333; }
/* Recent posts in sidebar */
.sidebar-post {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2fa;
    text-decoration: none;
    transition: background .2s;
}
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post:hover .sidebar-post__title { color: var(--primary); }
.sidebar-post__img {
    width: 64px; height: 56px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.sidebar-post__title {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    transition: color .2s;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.sidebar-post__date {
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .post-layout { grid-template-columns: 1fr; }
    .post-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .sidebar-card { flex: 1; min-width: 280px; }
}
@media (max-width: 768px) {
    .post-article { padding: 28px 20px; }
    .post-hero__title { font-size: 30px !important; }
    .post-hero { min-height: 320px; }
    .post-footer-actions { flex-direction: column; align-items: flex-start; }
    .post-sidebar { flex-direction: column; }
}

/* ============================================
   ABOUT PAGE
   ============================================ */

/* ── Hero ── */
.about-hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
}
.about-hero__bg {
    position: absolute;
    inset: 0;
}
.about-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
}
.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20,24,60,.25) 0%,
        rgba(20,24,60,.55) 50%,
        rgba(20,24,60,.82) 100%
    );
}
.about-hero__content {
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
    padding-top: 120px;
    color: #fff;
}
.about-hero__label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    margin-bottom: 10px;
}
.about-hero__title {
    font-size: 56px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 12px;
    font-family: iCielEffraBold, sans-serif;
    text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.about-hero__sub {
    font-size: 16px;
    color: rgba(255,255,255,.75);
    margin: 0 0 20px;
    letter-spacing: .5px;
}
.about-hero__divider {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* ── Stats ── */
.about-stats {
    background: var(--primary) !important;
}
.about-stats .count_wrap {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    flex-wrap: nowrap;
}
.about-stats .count__item {
    flex: 1;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    float: none !important;
    width: auto !important;
}
.about-stats .count__item + .count__item::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,.15);
}
.count__icon {
    font-size: 24px;
    margin-bottom: 8px;
    opacity: .85;
}

/* ── SMV (Slogan / Mission / Vision) ── */
.about-smv {
    background: #fff;
}
.smv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.smv-card {
    background: #f8f9fd;
    border-radius: 14px;
    padding: 36px 28px 32px;
    border-top: 4px solid #dde0f0;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    overflow: hidden;
}
.smv-card::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58,67,128,.06) 0%, transparent 70%);
}
.smv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(58,67,128,.13);
    border-top-color: var(--primary);
}
.smv-card--accent {
    background: var(--primary);
    border-top-color: #5566bb;
    color: #fff;
}
.smv-card--accent .smv-card__label {
    color: rgba(255,255,255,.65);
}
.smv-card--accent .smv-card__heading {
    color: #fff;
}
.smv-card--accent .smv-card__text {
    color: rgba(255,255,255,.8);
}
.smv-card--accent::after {
    background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
}
.smv-card__icon {
    font-size: 36px;
    margin-bottom: 16px;
    line-height: 1;
}
.smv-card__label {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}
.smv-card__heading {
    font-size: 20px;
    font-weight: 700;
    color: #1e2244;
    margin-bottom: 14px;
    line-height: 1.4;
}
.smv-card__text {
    font-size: 15px;
    color: #666;
    line-height: 1.75;
}

/* ── Core Values ── */
.about-values .page_title {
    text-align: center;
}
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(58,67,128,.12);
}
.value-item {
    position: relative;
    min-height: 320px;
}

/* Image panels */
.value-item--img {
    overflow: hidden;
}
.value-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    transition: transform .45s ease;
    min-height: 320px;
}
.value-item--img:hover .value-item__img {
    transform: scale(1.06);
}
.value-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(20,24,70,.80) 0%,
        rgba(20,24,70,.30) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 32px;
    transition: background .35s;
}
.value-item--img:hover .value-item__overlay {
    background: linear-gradient(
        to top,
        rgba(58,67,128,.88) 0%,
        rgba(58,67,128,.45) 60%,
        transparent 100%
    );
}
.value-item__num {
    font-size: 13px;
    letter-spacing: 3px;
    color: rgba(255,255,255,.6);
    font-weight: 700;
    margin-bottom: 6px;
}
.value-item__name {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    font-family: iCielEffraBold, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Text panels */
.value-item--txt {
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 44px;
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
    transition: border-color .3s, background .3s;
}
.value-item--txt:hover {
    background: #f8f9fd;
    border-left-color: var(--primary);
}
.value-item--txt-right {
    border-left: none;
    border-right: 4px solid transparent;
}
.value-item--txt-right:hover {
    border-right-color: var(--primary);
}
.value-item__num-bg {
    position: absolute;
    top: -10px; right: 16px;
    font-size: 100px;
    font-weight: 900;
    color: rgba(58,67,128,.05);
    line-height: 1;
    font-family: iCielEffraBold, sans-serif;
    user-select: none;
    pointer-events: none;
}
.value-item__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 16px;
    font-family: iCielEffraBold, sans-serif;
    position: relative;
}
.value-item__title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin-top: 10px;
    opacity: .5;
}
.value-item__desc {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    position: relative;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .smv-grid {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .value-item--txt-right {
        order: -1;
    }
    .about-hero__title {
        font-size: 36px;
    }
}
@media (max-width: 600px) {
    .about-hero__title { font-size: 28px; }
    .about-hero { min-height: 280px; }
    .value-item { min-height: 220px; }
    .value-item__img { min-height: 220px; }
}

/* ============================================
   MOBILE GLOBAL FIXES (≤959px)
   ============================================ */
@media (max-width: 959px) {

    /* ── Fixed header offset (mobile header = 60px) ── */
    .section_title,
    .about-hero,
    .career-hero,
    .career-detail-hero,
    .static-page-hero,
    .games-hero,
    .banner,
    .page-hero,
    .post-hero {
        margin-top: 60px;
    }

    /* ── Mobile menu active: left border instead of bottom underline ── */
    .menu a.active::after {
        display: none !important;
    }
    .menu a.active {
        background: rgba(255,255,255,.15) !important;
        border-left: 3px solid rgba(255,255,255,.85) !important;
        padding-left: 7px !important;
    }
    .menu a:hover {
        background: rgba(255,255,255,.08) !important;
    }

    /* ── "Gia nhập LAVA GAME" people cards: stack vertically ── */
    .page_career__people {
        flex-direction: column !important;
        gap: 16px;
    }
    .page_career__people .career__people__item {
        flex: none !important;
        width: 100% !important;
    }

    /* ── Home news section: original CSS keeps 2-col at 959px — force 1 col ── */
    .news__item {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 24px;
    }
    .news__list {
        display: block !important;
    }

    /* ── Post article: reduce horizontal padding on mid screens ── */
    .post-article {
        padding: 32px 24px;
    }

    /* ── About stats: wrap to 2×2 grid on mobile ── */
    .about-stats .count_wrap {
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
    }
    .about-stats .count__item {
        flex: 0 0 50% !important;
        width: 50% !important;
    }
    .about-stats .count__item + .count__item::before {
        display: none;
    }

    /* ── Games tabs: reduce padding so all 4 fit in one row ── */
    .games-tab {
        padding: 7px 14px;
        font-size: 13px;
    }
    .games-filter-tabs {
        gap: 8px;
        justify-content: flex-start;
    }

    /* ── Career hero stats: tighter layout ── */
    .career-hero__stats {
        padding: 10px 16px;
    }
    .career-hero__stat {
        padding: 0 12px;
    }
    .career-hero__stat-num {
        font-size: 20px;
    }
    .career-hero__stat-label {
        font-size: 11px;
    }

    /* ── Hero/section title sizes ── */
    .about-hero__title  { font-size: 32px; }
    .career-hero__title { font-size: 28px; }
    .career-detail-hero__title { font-size: 24px; }
    .static-page-hero__title   { font-size: 24px; }
    .post-hero__title          { font-size: 24px !important; }
    .page-hero h1              { font-size: 28px; }

    /* ── SMV / values grids: already 1-col at 900px, confirm padding ── */
    .smv-card { padding: 28px 20px 24px; }
    .value-item--txt { padding: 32px 28px; }

    /* ── Contact layout: already single-col at 992px ── */
    /* ── Static article: already single-col at 900px ── */
}

/* ============================================
   SMALL SCREEN FIXES (≤480px)
   ============================================ */
@media (max-width: 480px) {

    /* ── Section headings ── */
    .page_title h3             { font-size: 22px !important; }
    .about-hero__title         { font-size: 26px; }
    .career-hero__title        { font-size: 22px; }
    .career-detail-hero__title { font-size: 20px; }
    .static-page-hero__title   { font-size: 20px; }
    .post-hero__title          { font-size: 20px !important; }
    .page-hero h1              { font-size: 24px; }
    .post-hero { min-height: 260px; }
    .page-hero { min-height: 240px; }

    /* ── Career hero stats: 2×2 wrap ── */
    .career-hero__stats {
        flex-wrap: wrap;
        border-radius: 14px;
        padding: 8px 12px;
        gap: 0;
        justify-content: flex-start;
    }
    .career-hero__stat {
        flex: 0 0 50%;
        padding: 8px 6px;
        align-items: flex-start;
    }
    .career-hero__stat-sep { display: none; }
    .career-hero__stat-num { font-size: 22px; }
    .career-hero__sub { font-size: 14px; margin-bottom: 20px; }

    /* ── Career perks: already 1-col at 600px ── */

    /* ── Reduce section vertical padding on tiny screens ── */
    .pd--60 { padding: 40px 0 !important; }

    /* ── Post article padding ── */
    .post-article { padding: 24px 16px; }
    .static-body  { padding: 24px 16px !important; }

    /* ── About hero ── */
    .about-hero { min-height: 260px; }
    .about-hero__content { padding-bottom: 36px; padding-top: 90px; }

    /* ── Games: 1 col already at 560px ── */

    /* ── News/jobs cards: tighter ── */
    .news-card__body  { padding: 16px 16px 20px; }
    .job-card         { padding: 16px 16px; }
    .career-search-btn { padding: 0 18px; font-size: 13px; }

    /* ── Sidebar stacks fully ── */
    .sidebar-card { min-width: 0 !important; }

    /* ── Contact map height ── */
    .contact-map { min-height: 260px; }
    .contact-card { padding: 16px 18px; }

    /* ── Static footer nav ── */
    .static-footer-nav { flex-direction: column; align-items: flex-start; }
    .career-apply-main-btn { width: 100%; justify-content: center; }
    .post-back-btn { width: 100%; justify-content: center; }
}
