/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Header Menu */
#header-top,#header-top * {
	transition: all .5s ease-in-out;
}
#header-top.is_scrolled {
	padding:0;
	background-color:#FFF;
	box-shadow: 0px 3px 15px 0px rgba(0,0,0,0.25);
	-webkit-box-shadow: 0px 3px 15px 0px rgba(0,0,0,0.25);
	-moz-box-shadow: 0px 3px 15px 0px rgba(0,0,0,0.25);
}
#header-top .elementor-icon-wrapper {
	line-height:0;
}

#header-top.white-header img {
	filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(350deg) brightness(106%) contrast(101%);
}
#header-top.white-header .elementor-nav-menu--main .elementor-item {
    color: #FFF;
    fill:#FFF;
}
body:not(.home) #header-top {
    background-color: #FFF;   
}


/* Trạng thái mặc định: Giấu menu đi và đẩy lên trên */
.msb-menu-wrap {
    visibility: hidden;
    transform: translateY(-100%);
    /* Khắc phục lỗi Elementor đôi khi đè overflow */
    overflow: hidden !important; 
}

/* Xoay chữ menu dọc (nếu bạn chưa dùng Custom CSS của widget Heading) */
.vertical-text {
    position:relative
}
.vertical-text:after {
	content:'';
	position:absolute;
	background:#FFF;
	width:1px;
	height: 80%;
	bottom:0;
	left:30px;
}
/* 1. Tước quyền kiểm soát hiệu ứng của Elementor, giao toàn quyền cho GSAP */
.msb-menu-wrap, 
.msb-menu-wrap *, 
.vertical-text, 
.vertical-line, 
.nav-item,
.nav-item * {
    transition: none !important; 
}

/* 2. Ép xung GPU (Hardware Acceleration Hack) cho Menu và các thành phần con */
.msb-menu-wrap {
    /* Báo trước cho trình duyệt biết thuộc tính này sắp thay đổi để nó chuẩn bị tài nguyên */
    will-change: transform, opacity, visibility; 
    
    /* Ép đẩy sang layer 3D của GPU */
    -webkit-transform: translateY(-100%) translateZ(0); 
    transform: translateY(-100%) translateZ(0);
    
    /* Chống nháy hình (flicker) trên Safari / iOS */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}
.elementor-widget .elementor-icon-list-item a {
	flex-direction: row-reverse;
    justify-content: space-between;
}


/* 1. Vòng tròn nền xám */
.msb-hamburger-circle {
    width: 50px; 
    height: 50px;
    background-color: #333333; /* Màu xám đen tĩnh */
    border-radius: 50%; /* Bo tròn 100% */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999999;
}

/* 2. Khung chứa 3 vạch bên trong */
.hamburger-inner {
    width: 22px; /* Chiều rộng của vạch */
    height: 16px; /* Khoảng cách tổng thể từ vạch trên đến vạch dưới */
    position: relative;
}

/* 3. Định dạng chung cho 3 vạch */
.hamburger-inner .bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff; /* Vạch màu trắng như hình */
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Vị trí 3 vạch lúc bình thường */
.bar-top { top: 0; }
.bar-mid { top: 50%; transform: translateY(-50%); }
.bar-bot { bottom: 0; }

/* =========================================
   TRẠNG THÁI KHI CLICK (BIẾN THÀNH DẤU X)
   ========================================= */

/* Vạch trên gập xuống 45 độ ngay tại tâm */
.msb-hamburger-circle.is-active .bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

/* Vạch giữa thu nhỏ rồi tàng hình */
.msb-hamburger-circle.is-active .bar-mid {
    opacity: 0;
    transform: translateY(-50%) scale(0);
}

/* Vạch dưới gập lên -45 độ ngay tại tâm */
.msb-hamburger-circle.is-active .bar-bot {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg); 
}

.list-menu .elementor-icon-list-items .elementor-icon-list-icon {
	transform: rotate(-45deg);
}
.list-menu .elementor-icon-list-items .elementor-icon-list-text span {
	font-size:24px;
	line-height:28px;
}
/* Khung chứa menu cha */
.custom-user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    /* Tạo một vùng đệm vô hình để khi chuột di chuyển từ chữ xuống menu không bị mất hover */
    padding-bottom: 10px; 
    margin-bottom: -10px;
}

/* Định dạng link tên User */
.custom-user-menu > a {
    display: inline-block;
    fill: #fff;
    font-size: 15px;
    line-height: 1;
    padding: 12px 15px;
    text-align: center;
    transition: all .3s;
    background-color: #FF671F;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #FF671F;
    border-radius: 50px 50px 50px 50px;
    color: #FFF;
    font-weight:700;
    min-width: 150px;
}

.custom-user-menu > a:hover {
    background-color: #FFFFFF;
    color: #FF671F;
    border-color: #FF671F;
    transform: scale(1.1);
}

/* Biểu tượng mũi tên */
.custom-user-menu .arrow {
    display: inline-block;
    font-size: 10px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- TRẠNG THÁI MẶC ĐỊNH CỦA DROP-DOWN (ẨN) --- */
.custom-user-menu .sub-menu {
    position: absolute;
    top: 100%; /* Nằm ngay dưới sát menu cha */
    right: 0;  /* Canh phải */
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px; /* Bo góc hiện đại */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Đổ bóng sâu và mềm */
    padding: 8px 0;
    margin: 0;
    list-style: none;
    z-index: 9999;
    
    /* Hiệu ứng ẩn và đẩy xuống 15px */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    
    /* Chuyển động gia tốc mượt (Smooth easing) */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- TRẠNG THÁI KHI HOVER VÀO MENU CHA --- */
.custom-user-menu:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Trượt lên vị trí gốc */
}

/* Hiệu ứng xoay mũi tên 180 độ khi hover */
.custom-user-menu:hover .arrow {
    transform: rotate(180deg);
}

/* --- LÀM ĐẸP CÁC ITEM BÊN TRONG --- */
.custom-user-menu .sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
}

.custom-user-menu .sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

/* Hiệu ứng khi hover vào từng dòng link trong dropdown */
.custom-user-menu .sub-menu li a:hover {
    background-color: #f3f4f6; /* Nền xám nhạt */
    color: #111827;            /* Chữ đen đậm hơn */
    padding-left: 24px;        /* Chữ hơi thụt lùi vào một chút cho sinh động */
}


/* Edit User */
#form-edit-user .wp-block-columns {
	margin-bottom:5px;
}
.e-n-tab-title[aria-selected="true"],.e-n-tab-title:hover {
    background-color: #FF671F!important;
}


#form-login .elementor-form-fields-wrapper .elementor-field-type-submit {
    order: 2;
}
#form-login .elementor-form-fields-wrapper .elementor-field-type-checkbox,
#form-login .elementor-form-fields-wrapper .elementor-field-group:last-child
{
    width: 50%;
}
#form-login .elementor-form-fields-wrapper .elementor-field-group:last-child {
    justify-content: flex-end;
    
}
#form-login .elementor-form-fields-wrapper .elementor-field-group:last-child a {
    color: #F2672B;
    font-size:16px;
}

#form-login .elementor-field-type-checkbox label {
    font-weight: 400!important;
}


#form-update-info .jet-form-builder-progress-pages {
    display:none!important;
}
#form-update-info .jet-form-builder__next-page {
    width: 100%;
}

#form-update-info .jet-form-builder-advanced-media .jet-form-builder-advanced-media__files {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr))!important;
}

#form-update-info .jet-form-builder-page  {
    padding: 48px 70px;
}
#form-update-info .wp-block-columns {
    margin-bottom:5px;
}

#form-update-info .jet-form-builder-page[data-page="2"] {
	background-image: url(https://m35.webdev.com.vn/wp-content/uploads/2026/03/backgroup-popup.png);
	background-position: top left;
	background-size: 100%;
	background-repeat:no-repeat;
	padding-top: 185px;
}

#form-update-info .jet-form-builder-advanced-media-error,
#form-update-info .jet-form-builder-advanced-media__message
{
	display:none;
}



/*  Trang chủ */
#banner-top img {
	height: 100vh;
	object-fit:cover;
}

#banner-top .swiper-pagination {
	width:auto;
	position:absolute;
	bottom: 5vh;
	left: 12.5vw;
}

#banner-top .swiper-pagination .swiper-pagination-bullet {
	transition: all 0.5s ease-in-out;
}

#banner-top .swiper-pagination .swiper-pagination-bullet-active {
	width:40px;
	border-radius: 24px;
}

#button-scroll-down .elementor-button-icon {
	transform: rotate(45deg);
	font-size:20px;
}
#button-scroll-down .elementor-button-content-wrapper {
	align-items:center;
}
#banner-top .swiper .swiper-slide figure {
	line-height:0!important;
}




/* Trang chủ Section 2 */

.text-line-gradent h2 {	
    background: linear-gradient(to right, #F84410, #FFA929);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#background-section-2 {
	position:relative;
}

#background-section-2:before {
	content: "";
  	position: absolute;
  	top: 50%; 
  	left: 50%;
  	width: 33vw;
	height:33vw; 	
  	background-image: url('https://m35.webdev.com.vn/wp-content/uploads/2026/03/OBJECTS.png'); /* Thay bằng ảnh của bạn */
  	background-size: cover;
  	background-position: center;
  	z-index: 1; /* Đẩy xuống dưới cùng */  
  	/* Hiệu ứng xoay */
  	animation: spin-bg 10s linear infinite;
	opacity:0
	transition: opacity .5s ease-in-out;
}

#background-section-2.active:before {
	opacity:1;
}
@keyframes spin-bg {
  0% { transform: translatex(-50%) translatey(-50%) rotate(0deg); }
  100% { transform: translatex(-50%) translatey(-50%) rotate(360deg); }
}

/* Trang Chủ Section 4 */
.rota-1 h2,.rota-2 h2 {
	-webkit-background-clip: text!important;
    background-clip: text!important;
    -webkit-text-fill-color: transparent;
}
.rota-1 h2 {
	background: linear-gradient(to left, #F2672B, #F9AB7D);
}
.rota-2 h2 {
	background: linear-gradient(to left, #FCC59B, #FFDAB3);
}

#list-legacy .jet-listing-grid__item .elementor-widget-image {
	position:relative;
}
#list-legacy .jet-listing-grid__item .elementor-widget-image:before {
	content:"";
	position:absolute;
	width:100%;
	height:100%;
	background-image: linear-gradient(to bottom, transparent 55%, #000 100%);
	z-index:2;
	border-radius: 24px;
}



.slider-buc-tuong .elementor-image-box-wrapper {
	display:flex;
	align-items:center;
	gap: 5px;
}

#fullpage .fp-section .creative-layer {
	overflow: hidden;
	opacity: 0;
	transform: scale(0.75) translateY(15vh); 
	border-radius: 50px; 
	transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
	transform-origin: center center;
}

#fullpage .fp-section.active .creative-layer {
	opacity: 1;
	transform: scale(1) translateY(0); 
	border-radius: 0;
}

/* Nav Fp*/
/* 1. Ẩn các chấm tròn mặc định của fullpage.js */
#fp-nav ul li a span {
    display: none !important;
}

/* 2. Đặt bộ đếm (counter) tự động cho danh sách nav */
#fp-nav ul {
    counter-reset: fp-section-nav;
}

/* 3. Reset lại kích thước của thẻ li và thẻ a 
   (vì fullpage ép cứng width/height rất nhỏ cho các chấm tròn) */
#fp-nav ul li {
    width: auto !important;
    height: auto !important;
    margin: 18px 0 !important; /* Khoảng cách giữa các số */
}

#fp-nav ul li a {
    display: flex !important;
    align-items: center;
    width: auto !important;
    height: auto !important;
    position: relative;
    text-decoration: none;
    padding-left: 35px; /* Chừa khoảng trống bên trái để nhét gạch ngang vào */
}

/* 4. Trạng thái CHỜ (Cố định font-size và font-weight, dùng scale để thu phóng) */
#fp-nav ul li a::after {
    counter-increment: fp-section-nav;
    content: counter(fp-section-nav, decimal-leading-zero);
    
    /* Gắn chết kích thước và độ đậm gốc, tuyệt đối không cho thay đổi */
    font-size: 16px !important; 
    font-weight: 500 !important; 
    color: #AFAFAF;    
    
    /* Bắt buộc phải là block hoặc inline-block mới dùng transform được */
    display: inline-block; 
    
    /* Dùng transform để xử lý mượt bằng GPU */
    transform: scale(1);
    transform-origin: left center; /* Phóng to từ tâm mép trái để không lẹm vào gạch ngang */
    
    /* Chỉ cho phép hiệu ứng chạy trên các thuộc tính an toàn */
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
	left:70px;
}

/* 5. Khởi tạo cái gạch ngang bên trái nhưng tàng hình (width = 0) */
#fp-nav ul li a::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    width: 0px; 
    height: 2px; /* Độ dày của gạch ngang */
    background-color: #ff6600; /* Màu cam */
    transition: width 0.3s ease-in-out; /* Hiệu ứng line vuốt dài ra cực mượt */
}

/* 6. STYLE CHO TRẠNG THÁI ACTIVE (Hack to và đậm) */
#fp-nav ul li a.active::after {
    color: #ff6600; 
    position:absolute;
    /* Phóng to gấp rưỡi (16px * 1.5 = 24px) bằng GPU, bao mượt */
    transform: scale(1.5); 
    
    /* Hack chữ đậm lên bằng bóng mờ sắc nét mà không làm thay đổi DOM */
    text-shadow: 0 0 1px #ff6600, 0 0 1px #ff6600; 
}

/* Vuốt cái gạch ngang dài ra khi active */
#fp-nav ul li a.active::before {
    width: 25px;
}

#fp-nav.white-text ul li a::before {
    background-color: #FFF;
}

#fp-nav.white-text-1 ul li a::after,#fp-nav.white-text ul li a::after {
	color: #FFF;
}

#fp-nav.white-text-1 ul li a::before {
	background-color: #FFF;
}

#fp-nav.white-text ul li a.active::after {
	color: #FFF;
	text-shadow: 0 0 1px #FFF, 0 0 1px #FFF;
}
#fp-nav {
	z-index:9
}

body:not(.elementor-editor-active) .fp-watermark {
    opacity: 0 !important; 
    pointer-events: none !important; 
    z-index: -9999 !important; 
    transform: translate3d(-9999px, 0, 0) !important; 
}




.modern-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 Cột theo yêu cầu */
    gap: 15px;
    padding: 20px;
    position: relative;
}

.grid-item {
    position: relative;
    height: 300px;
    background: #1a1a1a;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

/* Khi item được mở rộng */
.grid-item.expanded {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    cursor: default;
}

.grid-item.expanded .full-content {
    display: block !important;
    padding: 10%;
    background: rgba(0,0,0,0.95);
    height: 100%;
    overflow-y: auto;
    color: #fff;
}

.close-btn {
    position: fixed;
    top: 30px; right: 30px;
    font-size: 50px;
    color: #00A3FF;
    background: none; border: none;
    cursor: pointer;
}


:root {
    --neon-blue: #00b4d8;
    --dark-bg: #FFF;
}

.tech-grid-wrapper {
    column-count: 5;
    column-gap: 15px;
    padding: 20px;
}

.tech-item {
    break-inside: avoid;
    margin-bottom: 15px;
    background: #FFF;
    border: 1px solid #FFF;
    cursor: pointer;
    position: relative;
    border-radius: 20px;
    /*transition: all 0.5s ease;*/
}
.item-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.tech-number {
    font-size: 80px;
    font-weight: 900;
    color: var(--neon-blue);
    line-height: 1;
    display: block;
}

.tech-label {
    font-size: 14px;
    letter-spacing: 2px;
    display: inline-block;
    margin-top: -10px;
}

.post-media img {
    width: 100%;
    height: auto;
    /*filter: grayscale(100%) contrast(120%);*/
    margin: 15px 0;
    max-width: 300px;
    
}

.entry-title {
    font-size: 18px;
    color: #000;
    text-transform: uppercase;
}

.full-content-area {
    display: none;
    opacity: 0;
    color: #ccc;
    padding-top: 40px;
}
.content-inner h3 {
    color: #000;
}
/* State: Fullscreen */
/*.tech-item.is-expanded {*/
/*    position: fixed !important;*/
/*    top: 0; left: 0;*/
/*    width: 100vw; height: 100vh;*/
/*    z-index: 9999;*/
/*    overflow-y: auto;*/
/*    background: var(--dark-bg);*/
/*}*/

/*.tech-item.is-expanded .full-content-area {*/
/*    display: block;*/
/*    opacity: 1;*/
/*}*/

/*.tech-item.is-expanded .close-expansion {*/
/*    display: block;*/
/*}*/

.close-expansion {
    display: none;
    position: absolute;
    top: 30px; right: 30px;
    background: none; border: none;
    color:#000;
    font-size: 30px; cursor: pointer;
    z-index: 10001;
    line-height: 20px;
}
.close-expansion:hover {
    background: #000; 
    color: #FFF;
}
/* =========================================
   AUTHOR BOX (Thay thế SAFE OR WORK)
========================================= */

.tech-author-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: -10px; /* Đẩy sát lên số NEW giống thiết kế cũ */
    padding-top: 10px;
}

.tech-author-box .tech-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #111; /* Đề phòng ảnh trong suốt */
}

/* Khối dự phòng nếu WordPress không load được Avatar */
.tech-avatar-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--neon-blue);
    opacity: 0.5;
}

.tech-author-name {
    font-size: 10px;
    letter-spacing: 1px;
    color: #000;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px; /* Cắt chữ nếu tên tác giả quá dài */
}

.expand-share-btn {
    display: none; /* Ẩn mặc định giống .close-expansion */
    opacity: 0;
    position: absolute;
    bottom: 30px; 
    right: 30px;
    color: #FFF;
    border: none;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease, background 0.2s ease;
}



.jet-form-builder-signature__canvas {
	border:1px solid #7A7A7A;
	border-radius: 20px;
}

#slide-buc-tuong .jet-listing-grid__item h2.elementor-heading-title {
    white-space: nowrap; 
    overflow: hidden;    
    text-overflow: ellipsis;
    width:100%;
}



.have-border-neon {
    box-shadow: 
      /* --- Bóng tỏa ra ngoài (Outer Glow) --- */
      0 0 5px #ff8800,      /* Lớp sát lõi: Cam sáng */
      0 0 15px #ff3300,     /* Lớp giữa: Đỏ cam rực */
      0 0 30px #e61a00,     /* Lớp rộng: Đỏ đậm */
      0 0 60px #990000,     /* Lớp mờ xa: Đỏ bầm */
      
      /* --- Bóng tỏa vào trong (Inner Glow) --- */
      inset 0 0 8px #ff8800, 
      inset 0 0 20px #ff3300;
}
#content-post a {
    color: #FE262B;
}


#table-rank .jet-dynamic-table__row--header {
    background-color: #CCC5C5;
}
.jet-profile-menu__item {
    position: relative;
}
.jet-profile-menu .jet-profile-menu__item::before {
    content:'';
    position: absolute;
    left: 15px;
    width: 25px;
    height: 25px;
    top: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.jet-profile-menu .jet-profile-menu__item:first-child::before {
    background-image: url('https://m35.webdev.com.vn/wp-content/uploads/2026/04/icon-user.png');
}
.jet-profile-menu .jet-profile-menu__item.is-active:first-child::before,.jet-profile-menu .jet-profile-menu__item:hover:first-child::before {
    background-image: url('https://m35.webdev.com.vn/wp-content/uploads/2026/04/icon-user-active.png');
}
.jet-profile-menu .jet-profile-menu__item:nth-child(2)::before {
    background-image: url('https://m35.webdev.com.vn/wp-content/uploads/2026/04/icon-rank.png');
}

.jet-profile-menu .jet-profile-menu__item.is-active:nth-child(2)::before,.jet-profile-menu .jet-profile-menu__item:hover:nth-child(2)::before {
    background-image: url('https://m35.webdev.com.vn/wp-content/uploads/2026/04/icon-rank-active.png');
}


.jet-profile-menu__item .jet-profile-menu__item-link {
    position: relative;
    padding-left:45px!important;
}

.jet-profile-menu__item.is-active .jet-profile-menu__item-link::before,
.jet-profile-menu__item:hover .jet-profile-menu__item-link::before,
.jet-profile-menu__item.is-active .jet-profile-menu__item-link::after,
.jet-profile-menu__item:hover .jet-profile-menu__item-link::after {
    content: '';
    position: absolute;
    left: 20%;
    right: 20%;
    height: 3px;
    background: #ffffff;
    box-shadow:
        0 0 10px 2px #ffcba4,
        0 0 20px 6px #ff7300;
    z-index: 3;
    border-radius: 50%; /* Hai đầu vệt sáng mờ dần */
    pointer-events: none; /* Không ngăn cản thao tác click chuột */
}


.jet-profile-menu__item.is-active .jet-profile-menu__item-link::before,
.jet-profile-menu__item:hover .jet-profile-menu__item-link::before {
    top:-2px;
}
.jet-profile-menu__item.is-active .jet-profile-menu__item-link::after,
.jet-profile-menu__item:hover .jet-profile-menu__item-link::after
{
    bottom:-2px;
}

.jet-form-builder-file-upload__file,.jet-form-builder-file-upload__file img {
    border-radius: 50px;
}
.jet-form-builder__field.file-field,.jet-form-builder-file-upload__message small {
    color: #FFF!important;
}

@media (min-width:1024px) {
    .top-1-3 .jet-listing-grid__items .jet-listing-grid__item.jet-listing-dynamic-post-6-0 {
        order: 2;
        
    }
    .top-1-3 .jet-listing-grid__items .jet-listing-grid__item.jet-listing-dynamic-post-6-1 {
        order: 1;
        margin-top:30px;
    }
    .top-1-3 .jet-listing-grid__items .jet-listing-grid__item.jet-listing-dynamic-post-6-2 {
        order: 3;
         margin-top:60px;
    }
}


/* =========================================
   Responsive điều chỉnh nhẹ cho Mobile
========================================= */
@media (max-width:1024px) {
    .top-1-3 .jet-listing-grid__items .jet-listing-grid__item.jet-listing-dynamic-post-6-0 {
        max-width: 100%;
        flex: 0 0 100%;
    }
}


@media (max-width: 767px) {
    .tech-author-box {
        gap: 8px;
    }
    .tech-avatar {
        width: 28px;
        height: 28px;
    }
    .tech-author-name {
        font-size: 12px;
        max-width: 120px;
    }
    .custom-user-menu > a {
        min-width: 90px;
        padding:5px;
        font-size: 12px;
    }
    .msb-hamburger-circle {
        width:40px;
        height: 40px;
    }
}

/* =========================================
   RESPONSIVE DESIGN (Media Queries)
========================================= */

/* 1. Màn hình Laptop nhỏ & Tablet ngang (dưới 1200px) -> Giảm xuống 4 cột */
@media (max-width: 1199px) {
    .tech-grid-wrapper {
        column-count: 4;
    }
}

/* 2. Tablet dọc (dưới 991px) -> Giảm xuống 3 cột */
@media (max-width: 991px) {
    .tech-grid-wrapper {
        column-count: 3;
    }
    /* Thu nhỏ số đếm một chút cho cân đối */
    .tech-number {
        font-size: 60px; 
    }
}

/* 3. Điện thoại xoay ngang (dưới 767px) -> Giảm xuống 2 cột */
@media (max-width: 767px) {
    .tech-grid-wrapper {
        column-count: 2;
        column-gap: 10px; /* Thu hẹp khoảng cách giữa các cột */
        padding: 10px;
    }
    .tech-item {
        margin-bottom: 10px;
    }
    .item-container {
        padding: 15px; /* Giảm padding bên trong thẻ */
    }
    .tech-number {
        font-size: 50px;
    }
    .entry-title {
        font-size: 16px;
    }
    
    /* Chỉnh lại nút tắt cho vừa ngón tay chạm */
    .close-expansion {
        top: 20px; 
        right: 20px;
        font-size: 26px;
    }
}

/* 4. Điện thoại xoay dọc (dưới 480px) -> Chỉ còn 1 cột */
@media (max-width: 480px) {
    .tech-grid-wrapper {
        column-count: 2; 
    }
    .tech-number {
        font-size: 65px; /* To lại một chút vì lúc này nó đứng 1 mình 1 dòng */
    }
    .item-container {
        padding: 20px;
    }
    
    /* Tối ưu trải nghiệm đọc Full-screen trên Mobile */
    .tech-item.is-expanded .full-content-area {
        padding-top: 60px; /* Đẩy nội dung xuống để không bị nút X đè lên */
        padding-bottom: 40px;
    }
    .tech-item.is-expanded .content-inner {
        padding: 0 10px; /* Cho nội dung tràn viền hơn trên mobile */
    }
    
    /* Làm nổi bật nút X trên nền mobile vì dễ bị lẫn vào ảnh bài viết */
    .tech-item.is-expanded .close-expansion {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(10, 10, 10, 0.85); /* Thêm nền tối mờ */
        border: 1px solid var(--neon-blue);
        border-radius: 50%;
        width: 44px;
        height: 44px;
        top: 15px;
        right: 15px;
    }
}