/*logo banner top wrap*/
@media only screen and (max-width: 992px) {
.main-navigation.aft-sticky-navigation span.af-mobile-site-title-wrap img {
height: 40px;
}
}



/*disable scroll up button*/
#scroll-up {
    display: none !important;
}

.entry-content br {
    display: block;
    content: "";
    margin-top: 15px;
    line-height: 2em;
}

/*red cam Icon on posts
.em-post-format {
display: none;
}
*/

/*menu background color
.main-navigation {
    background: pink;
}
*/

/*previous next link in post
span.em-post-navigation {
display: none !important;
}*/



/*.nav-links {
    display: none;
}*/

.nav-previous {
    display: none;
}
.nav-next {
    display: none;
}

/*menu center
.navigation-container {
  display: flex;
  align-items: center;
  justify-content: center;
} 
*/

/*category link post
.figure-categories .cat-links a.covernews-categories {
    background-color: #101010;
}
*/

/*flash story bg
.exclusive-posts .exclusive-now{
	background-color: #101010
}
*/

/*Bỏ số ở trending tin tức*/
span.trending-no{
	display: none
}

body {
    font-family: Helvetica Neue, sans-serif;
	text-rendering: optimizeSpeed;
}

h1.entry-title {
    min-height: 1.2em;
    margin-top: 20px !important;
    margin-bottom: 25px !important;
    line-height: 1.3;
}

.gglobe {margin-top: 7px;}

.site-branding .site-description{
	font-family: Montserrat, sans-serif;
	font-style: bold;
	font-size: 16px;
	font-weight: 700;
}

/*
.read-bg-img img {
    object-fit: contain;
} 
*/

/*
h1.entry-title {
    font-style: normal;
		font-weight: 600;
}*/


.gallery:after {
    content: "";
    display: table;
    clear: both;
}

.gallery {
    margin-bottom: 30px !important;
    display: block;
    width: 100%;
}

/* --- CONTENT OPTIMIZATION--- */

.entry-content p, 
.entry-content li {
    font-size: 18px;
    line-height: 1.7;
    color: #2c2c2c;
    margin-bottom: 10px; 
}

.entry-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 20px;
    color: #111;
		line-height: 1.2;
}

.entry-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content ul, 
.entry-content ol {
    margin-left: 20px;
    margin-bottom: 30px;
    padding-left: 15px;
}

.entry-content li {
    margin-bottom: 8px;
}

/* --- HÌNH ẢNH & MEDIA --- */

.entry-content img, 
.entry-content .gallery,
.wp-block-image,
.wp-block-gallery {
    margin-top: 20px !important; 
    margin-bottom: 10px !important;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- IMAGE CAPTION (in content) --- */


.single .entry-content .wp-caption-text, 
.single .entry-content .gallery-caption,
.single .entry-content figcaption {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 10px;
    line-height: 1.4;
		margin-bottom: 20px;
}

.home figcaption,
.blog figcaption,
.archive figcaption {
    text-align: left;
    font-style: normal;
    color: inherit;
    font-size: inherit;
}

.gallery:after, 
.wp-block-gallery:after {
    content: "";
    display: table;
    clear: both;
}

/* --- MOBILE OPTIMIZATION --- */

@media only screen and (max-width: 768px) {

    .entry-content {
        padding-left: 15px;
        padding-right: 15px;
        text-align: justify;
    }

    h1.entry-title {
        font-size: 28px !important;
        line-height: 1.3;
    }

    .entry-content img {
        box-shadow: none;
    }
}

/* --- TRANG TRÍ --- */

/*blockquote {
    border-left: 5px solid #0073aa;
    background: #f9f9f9;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

.entry-content a {
    color: #bb1919;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
    font-weight: 500;
}

.entry-content a:hover {
    border-bottom: 1px solid #bb1919;
    color: #630508;
}

/* --- TECH TABLE --- */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-size: 16px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.entry-content table thead th,
.entry-content table th {
    background-color: #f4f4f4;
    color: #333;
    font-weight: 700;
    text-align: left;
    padding: 12px 15px;
}

.entry-content table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #444;
}

.entry-content table tr:nth-child(even) {
    background-color: #fafafa;
}


/* --- DROP CAP --- */

.single .entry-content > p:first-of-type::first-letter {
    float: left;
    font-size: 3.5em;
    line-height: 0.8;
    margin-right: 12px;
    margin-top: 5px;
    color: #bb1919;
    font-weight: 700;
}


/* --- FIXED SCROLLBAR --- 
::-webkit-scrollbar-track {
    background-color: #f0f0f0 !important;
}

::-webkit-scrollbar {
    width: 10px !important;
    background-color: #f0f0f0 !important;
}

::-webkit-scrollbar-thumb {
    background-color: #a0a0a0 !important;
    border-radius: 10px !important;
    border: 2px solid #f0f0f0 !important;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #bb1919 !important;
} */

/* --- CHỐNG NHẢY TRANG --- */

.entry-content img, 
.entry-content iframe, 
.entry-content video {
    max-width: 100%;
    height: auto;
    display: block;
}

.post-thumbnail img,
.entry-content img {
    min-height: 50px;
    background-color: #f0f0f0;
}

/* --- PERFORMANCE: SPEED UP RENDER --- */

.site-footer,
.footer-widgets,
#comments,
.related-posts {
    content-visibility: auto; 
    contain-intrinsic-size: 0 500px;
}

/* --- SEO: MOBILE USABILITY --- */

@media only screen and (max-width: 768px) {
    a {
        padding: 5px 0;
        display: inline-block;
    }
    
    .menu-item a {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
    
    input[type="text"], 
    input[type="email"], 
    textarea {
        font-size: 16px !important;
    }
}

/* --- PERFORMANCE: FONT DISPLAY SWAP --- */

@font-face {
    font-family: 'Open Sans';
    font-display: swap;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- IMAGE HOVER EFFECT --- */
.entry-content img {
    transition: transform 0.3s ease;
}

.entry-content img:hover {
    transform: scale(1.02);
}

/* --- SMOOTH SCROLLING --- */
html {
    scroll-behavior: smooth;
}

/* --- STYLISH LINKS --- */
.entry-content a {
    text-decoration: none !important;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
    color: #bb1919;
}

.entry-content a:hover {
    background-size: 100% 2px;
    color: #de3163;
}

/* --- GPU ACCELERATION --- */
.site-header, 
.aft-readmore {
    transform: translateZ(0);
    will-change: transform;
}

/* --- SHARP TEXT --- */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* --- CHRISTMAS HEADER BORDER --- 
body:before {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: repeating-linear-gradient(
        45deg,
        #cc0000,
        #cc0000 10px,
        #ffffff 10px,
        #ffffff 20px,
        #008000 20px,
        #008000 30px,
        #ffffff 30px,
        #ffffff 40px
    );
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}*/

/* --- FESTIVE READ MORE BUTTON --- 
body a.aft-readmore {
    background-color: #d42426 !important; /* Đỏ Noel 
    border-radius: 20px !important;
    border: 2px solid #fff !important;
    box-shadow: 0 4px 10px rgba(212, 36, 38, 0.3) !important;
}

body a.aft-readmore:hover {
    background-color: #165b33 !important; /* Xanh thông Noel 
    transform: scale(1.05);
}*/

/* --- SOFT GOLD GLOW HOVER --- */

.read-bg-img,
.data-bg-slide,
.data-bg-featured,
.aft-slider-item,
.featured-content {
    position: relative !important;
}

.read-bg-img::after,
.data-bg-slide::after,
.data-bg-featured::after,
.aft-slider-item::after,
.featured-content::after {
    content: "";
    display: block !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    z-index: 99 !important;
    pointer-events: none;
    transition: box-shadow 0.5s ease-in-out !important;
    box-shadow: inset 0 0 0 0 transparent !important;
}

.read-bg-img:hover::after,
.data-bg-slide:hover::after,
.data-bg-featured:hover::after,
.aft-slider-item:hover::after,
.featured-content:hover::after {  
    box-shadow: inset 0 0 80px 5px rgba(252, 245, 95, 0.7) !important;
}

/* --- LINK HIGHLIGHT EFFECT --- */
.entry-content a {
    text-decoration: none !important;
    background-image: linear-gradient(to right, #bb1919, #de3163);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: #de3163 !important;
    font-weight: 600;
}

.entry-content a:hover {
    background-size: 100% 2px;
    color: #bb1919 !important;
}

/* --- SEARCH BAR GLOW --- */
input[type="search"]:focus,
input[type="text"]:focus {
    outline: none !important;
    border-color: #ffd700 !important;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5) !important;
    transition: all 0.3s ease;
}

/* --- BRANDED SELECTION --- */
::selection {
    background-color: #ff9494;
    color: #ffffff;
    text-shadow: none;
}

/* --- RESPONSIVE VIDEO EMBED --- */

.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="vimeo"] {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- LOGO WIGGLE --- 
.site-branding img, .custom-logo {
    transition: transform 0.3s ease;
}

.site-branding img:hover, .custom-logo:hover {
    animation: wiggle 0.5s ease-in-out;
} 



@keyframes wiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
} */

.site-branding img:hover, .custom-logo:hover {
    transform: scale(1.05); /* Thay Wiggle bằng Scale nhẹ nhàng, chuyên nghiệp hơn */
}

/* --- HEARTBEAT ANIMATION ---

@keyframes migovi-heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); } 
    28% { transform: scale(1); }   
    42% { transform: scale(1.1); } 
    70% { transform: scale(1); }   
}

body a.aft-readmore {
    animation: migovi-heartbeat 1.3s infinite ease-in-out !important;
    display: inline-block;
    z-index: 10; 
    position: relative;
    will-change: transform;
}

body a.aft-readmore:hover {
    background-color: #165b33 !important;
    animation-duration: 0.8s;
}*/

/* --- 2026 GRADIENT TAGS --- */

.tags-links a, 
.cat-links a {
    display: inline-block;
    padding: 6px 15px;
    margin-right: 6px;
    margin-bottom: 8px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: #fff !important;
    text-transform: capitalize;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    transition: all 0.3s ease;
    background-size: 200% auto; 
}

.tags-links a:hover, 
.cat-links a:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* --- MÀU GRADIENT 2026 --- */

/* Nhóm 1: Brand Migovi & Tech */
.tags-links a:nth-child(20n + 1) { background-image: linear-gradient(to right, #0073aa 0%, #00c6ff 51%, #0073aa 100%); } /* Cyber Blue */
.tags-links a:nth-child(20n + 2) { background-image: linear-gradient(to right, #1D976C 0%, #93F9B9 51%, #1D976C 100%); } /* Green Tech */
.tags-links a:nth-child(20n + 3) { background-image: linear-gradient(to right, #2b5876 0%, #4e4376 51%, #2b5876 100%); } /* Deep Space */

/* Nhóm 2: Hot Trend 2026 (Teal, Purple, Neon) */
.tags-links a:nth-child(20n + 4) { background-image: linear-gradient(to right, #005F6A 0%, #00d2ff 51%, #005F6A 100%); } /* Transformative Teal */
.tags-links a:nth-child(20n + 5) { background-image: linear-gradient(to right, #DA22FF 0%, #9733EE 51%, #DA22FF 100%); } /* Electric Purple */
.tags-links a:nth-child(20n + 6) { background-image: linear-gradient(to right, #FF512F 0%, #DD2476 51%, #FF512F 100%); } /* Cyber Pink */

/* Nhóm 3: Pastel & Dreamy (Màu dịu, mơ màng) */
.tags-links a:nth-child(20n + 7) { background-image: linear-gradient(to right, #11998e 0%, #38ef7d 51%, #11998e 100%); } /* Minty Fresh */
.tags-links a:nth-child(20n + 8) { background-image: linear-gradient(to right, #FC466B 0%, #3F5EFB 51%, #FC466B 100%); } /* Sunset Vibes */
.tags-links a:nth-child(20n + 9) { background-image: linear-gradient(to right, #ff9966 0%, #ff5e62 51%, #ff9966 100%); } /* Peach Fuzz */
.tags-links a:nth-child(20n + 10) { background-image: linear-gradient(to right, #7F00FF 0%, #E100FF 51%, #7F00FF 100%); } /* Lavender Dream */

/* Nhóm 4: Futuristic & Metallic (Kim loại) */
.tags-links a:nth-child(20n + 11) { background-image: linear-gradient(to right, #606c88 0%, #3f4c6b 51%, #606c88 100%); } /* Titanium */
.tags-links a:nth-child(20n + 12) { background-image: linear-gradient(to right, #F09819 0%, #EDDE5D 51%, #F09819 100%); } /* Digital Gold */
.tags-links a:nth-child(20n + 13) { background-image: linear-gradient(to right, #5433FF 0%, #20BDFF 51%, #5433FF 100%); } /* Electric Blue */
.tags-links a:nth-child(20n + 14) { background-image: linear-gradient(to right, #AA076B 0%, #61045F 51%, #AA076B 100%); } /* Deep Berry */

/* Nhóm 5: Nature & Earth 2026 (Bền vững) */
.tags-links a:nth-child(20n + 15) { background-image: linear-gradient(to right, #e52d27 0%, #b31217 51%, #e52d27 100%); } /* Fire Red */
.tags-links a:nth-child(20n + 16) { background-image: linear-gradient(to right, #56ab2f 0%, #a8e063 51%, #56ab2f 100%); } /* Lush Green */
.tags-links a:nth-child(20n + 17) { background-image: linear-gradient(to right, #F2994A 0%, #F2C94C 51%, #F2994A 100%); } /* Sunburst */

/* Nhóm 6: Dark & Stormy (Huyền bí) */
.tags-links a:nth-child(20n + 18) { background-image: linear-gradient(to right, #232526 0%, #414345 51%, #232526 100%); } /* Carbon Fiber */
.tags-links a:nth-child(20n + 19) { background-image: linear-gradient(to right, #000428 0%, #004e92 51%, #000428 100%); } /* Night Sky */
.tags-links a:nth-child(20n + 20) { background-image: linear-gradient(to right, #4DA0B0 0%, #D39D38 51%, #4DA0B0 100%); } /* Teal Gold */

/* --- FIX LỖI GẠCH CHÂN TAG --- */

.entry-content .tags-links a, 
.entry-content .cat-links a {
    background-repeat: no-repeat !important; 
background-position: center center !important; 
    text-decoration: none !important;
    border-bottom: none !important;
    background-repeat: repeat !important;
    background-size: 200% auto !important;
}

.entry-content .tags-links a:hover, 
.entry-content .cat-links a:hover {
    background-size: 200% auto !important;
    background-position: right center !important;
}

.tags-links a[class], .cat-links a[class] {
   background-image: inherit; 
}

/* --- PAGINATION STYLING --- */

.nav-links a, .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin-right: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    transition: all 0.3s;
}

.nav-links .current, .page-numbers.current {
    background-color: #bb1919 !important;
    color: #fff !important;
    border-color: #bb1919 !important;
    transform: scale(1.1);
}

.nav-links a:hover, .page-numbers:hover {
    background-color: #630508 !important;
    color: #fff !important;
    border-color: #630508 !important;
}

/* --- FIX LỖI HIỂN THỊ CATEGORY TRÊN TRANG CHỦ --- */

.cat-links li.meta-category a.covernews-categories {
    display: inline-block !important;
    background-image: none !important;
    background-color: #bb1919 !important;
    color: #ffffff !important;
    padding: 2px 8px !important;
    border-radius: 3px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
}


/* --- FIX DROP-DOWN MENU & SEARCH --- */

.site-header,
.navigation-container,
#site-navigation,
.main-navigation {
    z-index: 9999 !important;
    position: relative !important;
}

.main-navigation ul ul,
.main-navigation .sub-menu,
.main-navigation .children {
    z-index: 10000 !important;
    position: absolute !important;
    pointer-events: auto !important;
}

.marquee-wrapper,
.af-flash-story,
.js-marquee-wrapper {
    z-index: 1 !important;
    position: relative !important;
    clear: both; 
}

.main-banner-section,
.af-main-banner-wrapper {
    z-index: 1 !important;
    position: relative !important;
}

.main-navigation li:hover > ul,
.main-navigation li.focus > ul {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.post-thumbnail img, 
.af-main-banner-wrapper img {
    content-visibility: visible;
    fetchpriority: high;
}

/* --- TET FLOW --- */
/*
@keyframes tet-flow {
    0% { background-position: 0 0; }
    100% { background-position: 56.57px 0; }
}

body:before {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    background-image: repeating-linear-gradient(
        45deg,
        #bb1919,
        #bb1919 30px,
        #FFD700 30px,
        #FFD700 40px
    );

    background-size: 56.57px 100%;
    animation: tet-flow 1s linear infinite;
    will-change: background-position;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
*/
/* --- LUCKY RED ENVELOPE --- 

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700;900&display=swap');

@keyframes tam-da-cycle {
    0%, 30% { content: "PHÚC"; }
    33%, 63% { content: "LỘC"; }
    66%, 100% { content: "THỌ"; }
}

body .aft-readmore {
    position: relative !important;
    display: inline-block !important;
    
    background-color: #bb1919 !important;
    color: #FFD700 !important;
    padding: 6px 15px 6px 38px !important;
    border: 1px solid #FFD700 !important;
    border-radius: 6px !important;
    
    background-image: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.15) 50%, transparent 50%) !important;
    background-size: 30px 30px !important;
    background-repeat: no-repeat !important;
    background-position: 0 0 !important;
    
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 6px rgba(187, 25, 25, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    overflow: visible !important; 
    z-index: 10 !important;
}

body .aft-readmore::before {
    content: "PHÚC"; 
    animation: tam-da-cycle 3s linear infinite !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;

    width: 32px !important;
    height: 32px !important;
    position: absolute !important;
    left: -14px !important; 
    top: 50% !important;

    transform-origin: center center !important;
    transform: translateY(-50%) !important;
    
    background: #FFD700 !important;
    color: #bb1919 !important;

    font-size: 8px !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 900 !important;
    
    border: 2px solid #d4af37 !important;
    border-radius: 50% !important;
    white-space: nowrap !important;
    
    box-shadow: inset 0 0 0 2px #FFD700, inset 0 0 0 3px #bb1919 !important; 
    z-index: 20 !important;
    
    transition: transform 0.6s ease, background 0.3s !important;
}

body .aft-readmore:hover {
    background-color: #a81010 !important;
    color: #fff !important;
    border-color: #fff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.5) !important;
    background-position: -5px -5px !important;
}

body .aft-readmore:hover::before {
    transform: translateY(-50%) rotate(360deg) scale(1.1) !important;
    
    background: #FFD700 !important; 
    border-color: #fff !important;
    color: #bb1919 !important; 
} */

/* --- CALLIGRAPHY H2 --- */
.entry-content h1 {
    position: relative;
    display: inline-block;
    margin-top: 0px !important;
    margin-bottom: 5px !important;
    padding-bottom: 3px !important;
    line-height: 1.3 !important;
    border-bottom: none !important; 
}

.entry-content h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #bb1919 0%, #FFD700 80%, transparent 100%);
    border-radius: 2px 100% 100% 2px;
    opacity: 0.8;
}

.entry-content h2::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #bb1919;
    transform: rotate(45deg); 
    margin-right: 10px;
    vertical-align: middle;
    box-shadow: 0 0 5px rgba(187, 25, 25, 0.5);
    position: relative;
    top: -2px; 
}

/* --- LANTERN WIDGET TITLE --- 
.widget-title, .section-title {
    position: relative;
    padding-left: 25px !important;
    border-left: none !important;
}

.widget-title::before, .section-title::before {
    content: "";
    position: absolute;
    left: 10px;
    top: -10px;
    width: 2px;
    height: 25px;
    background-color: #333;
    opacity: 0.2;
}

.widget-title::after, .section-title::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 15px;
    width: 14px;
    height: 14px;
    background-color: #de3163;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(187, 25, 25, 0.8);
    border: 2px solid #FFEA00;
    z-index: 1;
}

@keyframes lantern-swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.widget-title:hover::after, .section-title:hover::after {
    animation: lantern-swing 2s ease-in-out infinite;
    transform-origin: top center;
    background-color: #ff0000;
} */

/* --- HISTORY EMBLEM --- */

.post-thumbnail, .entry-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.post-thumbnail::before, .entry-thumb::before {
    content: "";
    display: none;
    position: absolute;
    top: -15px; left: -15px;
    width: 70px; height: 70px;
    background: linear-gradient(135deg, #de1363 30%, #900c0c 100%);
    mix-blend-mode: hard-light;
    opacity: 0.9;
    border-radius: 50%;
    border: 2px solid #FFD700;
    box-shadow: 0 0 0 2px rgba(187, 25, 25, 0.3), 0 0 15px 5px rgba(255, 215, 0, 0.5);
    z-index: 5;
    pointer-events: none;
    transition: all 0.3s ease;
}

.post-thumbnail::after, .entry-thumb::after {
    display: none;
    position: absolute;
    top: 5px; left: 5px;    
    color: #FFD700;
    text-align: center;
    font-weight: 900;
    line-height: 1.1;
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    transform: rotate(-45deg);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    z-index: 6;
    pointer-events: none;
    white-space: pre;
}

.post-year-2018 .post-thumbnail::before, .post-year-2018 .entry-thumb::before,
.post-year-2019 .post-thumbnail::before, .post-year-2019 .entry-thumb::before,
.post-year-2020 .post-thumbnail::before, .post-year-2020 .entry-thumb::before,
.post-year-2021 .post-thumbnail::before, .post-year-2021 .entry-thumb::before,
.post-year-2022 .post-thumbnail::before, .post-year-2022 .entry-thumb::before,
.post-year-2023 .post-thumbnail::before, .post-year-2023 .entry-thumb::before,
.post-year-2024 .post-thumbnail::before, .post-year-2024 .entry-thumb::before,
.post-year-2025 .post-thumbnail::before, .post-year-2025 .entry-thumb::before,
.post-year-2026 .post-thumbnail::before, .post-year-2026 .entry-thumb::before,
.post-year-2027 .post-thumbnail::before, .post-year-2027 .entry-thumb::before {
    display: block !important;
}

.post-year-2018 .post-thumbnail::after, .post-year-2018 .entry-thumb::after,
.post-year-2019 .post-thumbnail::after, .post-year-2019 .entry-thumb::after,
.post-year-2020 .post-thumbnail::after, .post-year-2020 .entry-thumb::after,
.post-year-2021 .post-thumbnail::after, .post-year-2021 .entry-thumb::after,
.post-year-2022 .post-thumbnail::after, .post-year-2022 .entry-thumb::after,
.post-year-2023 .post-thumbnail::after, .post-year-2023 .entry-thumb::after,
.post-year-2024 .post-thumbnail::after, .post-year-2024 .entry-thumb::after,
.post-year-2025 .post-thumbnail::after, .post-year-2025 .entry-thumb::after,
.post-year-2026 .post-thumbnail::after, .post-year-2026 .entry-thumb::after,
.post-year-2027 .post-thumbnail::after, .post-year-2027 .entry-thumb::after {
    display: block !important;
}

.post-year-2018 .post-thumbnail::after, .post-year-2018 .entry-thumb::after { content: "★\A 2018"; }
.post-year-2019 .post-thumbnail::after, .post-year-2019 .entry-thumb::after { content: "★\A 2019"; }
.post-year-2020 .post-thumbnail::after, .post-year-2020 .entry-thumb::after { content: "★\A 2020"; }
.post-year-2021 .post-thumbnail::after, .post-year-2021 .entry-thumb::after { content: "★\A 2021"; }
.post-year-2022 .post-thumbnail::after, .post-year-2022 .entry-thumb::after { content: "★\A 2022"; }
.post-year-2023 .post-thumbnail::after, .post-year-2023 .entry-thumb::after { content: "★\A 2023"; }
.post-year-2024 .post-thumbnail::after, .post-year-2024 .entry-thumb::after { content: "★\A 2024"; }
.post-year-2025 .post-thumbnail::after, .post-year-2025 .entry-thumb::after { content: "★\A 2025"; }
.post-year-2026 .post-thumbnail::after, .post-year-2026 .entry-thumb::after { content: "★\A 2026"; }
.post-year-2027 .post-thumbnail::after, .post-year-2027 .entry-thumb::after { content: "★\A 2027"; }

[class*="post-year-"] .post-thumbnail:hover::before {
    box-shadow: 0 0 0 3px rgba(187, 25, 25, 0.4), 0 0 20px 8px rgba(255, 215, 0, 0.7);
    transform: scale(1.05);
}

/* --- COUPLET BLOCKQUOTE --- */
blockquote {
    border-left: 4px solid #de3163 !important; 
    border-right: 4px solid #de3163 !important;
    background: #fff5f5 !important; 
    font-family: 'Times New Roman', serif !important;
    font-size: 19px !important;
    font-style: italic !important;
    padding: 20px 30px !important;
    margin: 30px 0 !important;
    color: #8b0000 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(187, 25, 25, 0.05) !important;
}

/* --- BAMBOO SCROLLBAR --- 

::-webkit-scrollbar-thumb {
    background-color: #d4af37 !important;
    background-image: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 45%,
        rgba(101, 67, 33, 0.4) 50%,
        transparent 55%,
        transparent 100%
    ) !important;
    
    background-size: 100% 20px !important;
    border-radius: 20px !important;
    border: 2px solid #fff !important;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #de3163 !important;
    background-image: none !important;
} */

/* Fixed Scrollbar Hiện Đại */
::-webkit-scrollbar-track { background-color: #f8f9fa !important; }
::-webkit-scrollbar { width: 10px !important; background-color: #f8f9fa !important; }
::-webkit-scrollbar-thumb {
    background-color: #cbd5e1 !important;
    border-radius: 10px !important;
    border: 2px solid #f8f9fa !important;
}
::-webkit-scrollbar-thumb:hover { background-color: #94a3b8 !important; }

/* --- FLASH STORY: SAFE ARROW --- */

.exclusive-posts .exclusive-now {
    background-color: #bb1919 !important;
    /*color: #FFD700 !important;*/
    font-weight: 800 !important;
    text-transform: uppercase;
    position: relative !important;
    z-index: 10 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    clip-path: none !important; 
    border: none !important;
    margin-right: 0 !important;
}

.exclusive-posts .exclusive-now::after {
    content: "" !important;
    position: absolute !important;
    left: 100% !important; 
    top: 0 !important;
    width: 20px !important;
    height: 100% !important;
    background-color: #bb1919 !important;
    clip-path: polygon(0 0, 100% 50%, 0 100%) !important;
    z-index: 10 !important;
	
}

/* --- TET PHOTO FRAME --- */
.entry-content img {
    padding: 2px !important;
    background-color: #fff !important;
    border: 1px solid #FFEA00 !important;
    
    box-shadow: 
        0 0 0 1px #de3163,
        0 4px 15px rgba(0,0,0,0.1)
        !important;
        
    border-radius: 4px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.entry-content img:hover {
    transform: translateY(-2px) !important;
    box-shadow: 
        0 0 0 2px #de3163,
        0 8px 20px rgba(187, 25, 25, 0.15)
        !important;
}

/* --- HOA MAI BULLETS --- */

.entry-content ul {
    list-style: none !important;
    padding-left: 7px !important;
    overflow: visible !important; 
    margin-top: 0 !important;
    margin-bottom: 5px !important;
}

.entry-content ul li {
    position: relative !important;
    padding-left: 20px !important; 
    margin-bottom: 0px !important; 
    line-height: 1.5 !important;
}

.entry-content ul li::before {
    content: "*" !important;
    position: absolute !important;
    left: 7px !important; 
    top: 7px !important;
    color: #bb1919 !important;
    font-weight: bold !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    transform: none !important;
}

.entry-content ul li:hover::before {
    color: #de3163 !important;
    transform: scale(1.5) !important;
    transition: transform 0.2s ease;
}

#ez-toc-container ul li::before,
.ez-toc-widget-container ul li::before,
.toc_widget_list li::before { 
    content: "" !important;
    position: absolute !important;
    left: 10px !important; 
    top: 7px !important;    
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background-color: #FFD700 !important;
    border: 2px solid #de3163 !important;
    box-shadow: 0 0 4px rgba(255, 245, 95, 0.6) !important;    
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    z-index: 10 !important;
}

#ez-toc-container ul li:hover::before,
.ez-toc-widget-container ul li:hover::before,
.toc_widget_list li:hover::before {
    transform: scale(1.5) !important; 
    background-color: #de3163 !important;
    border-color: #FFEA00 !important;
    box-shadow: 0 0 4px rgba(187, 25, 25, 0.5) !important;
    color: transparent !important;
}
#ez-toc-container ul li,
.ez-toc-widget-container ul li {
    padding-left: 20px !important;
}

.entry-content .sharedaddy ul,
.entry-content .sd-content ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.entry-content .sharedaddy ul li,
.entry-content .sd-content ul li {
    padding-left: 0 !important; 
    margin-bottom: 0 !important;
    background: none !important;
}

.entry-content .sharedaddy ul li::before,
.entry-content .sd-content ul li::before {
    content: none !important;
    display: none !important;
}

/* --- FESTIVE CURSOR HOA MAI --- 

a, 
button, 
.aft-readmore, 
input[type="submit"], 
.cat-links a, 
.tags-links a,
.entry-content ul li::before,
.exclusive-posts .exclusive-now {

    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='rgba(255, 234, 0, 0.8)'%3E%3Ccircle cx='16' cy='8' r='4'/%3E%3Ccircle cx='23.6' cy='13.5' r='4'/%3E%3Ccircle cx='20.7' cy='22.5' r='4'/%3E%3Ccircle cx='11.3' cy='22.5' r='4'/%3E%3Ccircle cx='8.4' cy='13.5' r='4'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='3.5' fill='rgba(222, 49, 99, 0.7)'/%3E%3C/svg%3E") 16 16, pointer !important;
} 

a:active, 
button:active {
    transform: scale(0.9); 
    transform-origin: center center;
} */

/* --- 2. COIN PATTERN FOOTER --- */
.site-footer {
    position: relative !important;
    background-color: #1a1a1a !important;
    color: #ccc !important;
    background-image: radial-gradient(#333 15%, transparent 16%),

                      radial-gradient(#2a2a2a 15%, transparent 16%);
                      
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    border-top: 4px solid #bb1919 !important;
}

.site-footer a {
    color: #FFD700 !important;
}

/* --- GOLDEN SKELETON --- 

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.post-thumbnail, 
.entry-content img {
    background-color: #f9f9f9;
    background-image: linear-gradient(
        90deg, 
        #f9f9f9 0%, 
        #fff8e1 50%, 
        #f9f9f9 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    aspect-ratio: auto !important; 
    object-fit: contain !important; 
    height: auto !important;
    min-height: 50px !important; 
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
} */

/* Placeholder tĩnh (chống giật layout CLS), thay cho Skeleton Animation nặng máy */
.post-thumbnail img, .entry-content img {
    min-height: 50px;
    background-color: #f1f5f9; 
}

.single .entry-content .wp-caption-text, 
.single .entry-content .gallery-caption,
.single .entry-content figcaption {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 10px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="vimeo"] {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery:after, .wp-block-gallery:after {
    content: ""; display: table; clear: both;
}

.gallery { margin-bottom: 30px !important; display: block; width: 100%; }

/* --- LUXURY HIGHLIGHT --- */

.entry-content mark, 
mark, 
.search-results .page-title span {
    background-color: transparent !important;
    background-image: linear-gradient(
        to right, 
        rgba(255, 215, 0, 0.3),
        rgba(255, 215, 0, 0.7)
    ) !important;
    border-radius: 4px !important;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    
    padding: 0 4px !important;
    color: inherit !important;
    font-weight: bold !important;
    border-bottom: 2px solid #de3163 !important;
}

/* ========================================================= */
/* --- 1. BASE STYLING CHO NÚT ĐỌC THÊM (CHUNG CHO TẤT CẢ) --- */
/* ========================================================= */
body .aft-readmore {
    position: relative !important;
    display: inline-block !important;
    
    /* Gắn các biến màu sắc tĩnh (sẽ tự động thay đổi theo category) */
    background-color: var(--cat-bg, #f3f4f6) !important;
    color: var(--cat-color, #374151) !important;
    border: 1px solid var(--cat-color, #374151) !important;
    
    padding: 6px 15px 6px 36px !important;
    border-radius: 6px !important;
    
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 6px var(--cat-shadow, rgba(0,0,0,0.1)) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    overflow: visible !important; 
    z-index: 10 !important;
    text-decoration: none !important;
}

/* Khung viền tròn bao ngoài Icon */
body .aft-readmore::before {
    content: "" !important; 
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    position: absolute !important;
    left: -10px !important; 
    top: 50% !important;

    transform-origin: center center !important;
    transform: translateY(-50%) !important;
    
    background-color: #ffffff !important;
    border: 2px solid var(--cat-color, #374151) !important;
    border-radius: 50% !important;
    z-index: 20 !important;
    
    transition: transform 0.6s ease, background 0.3s, border-color 0.3s !important;
}

/* Bản thân Icon vector nhúng qua công nghệ CSS Mask */
body .aft-readmore::after {
    content: "" !important;
    position: absolute !important;
    width: 16px !important;
    height: 16px !important;
    left: -4px !important; /* Căn giữa hoàn hảo bên trong khung tròn */
    top: 50% !important;
    transform: translateY(-50%) !important;
    
    background-color: var(--cat-color, #374151) !important;
    
	/* ĐÃ BỔ SUNG ICON MẶC ĐỊNH (MŨI TÊN) KHI KHÔNG CÓ CATEGORY ĐỊNH SẴN */
    -webkit-mask-image: var(--cat-mask, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41l-6.58-6.6a.996.996 0 1 0-1.41 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1z'/%3E%3C/svg%3E")) !important;
    mask-image: var(--cat-mask, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41l-6.58-6.6a.996.996 0 1 0-1.41 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1z'/%3E%3C/svg%3E")) !important;
    
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    
    z-index: 21 !important;
    transition: transform 0.6s ease, background-color 0.3s !important;
}
	
    /* Sử dụng Mask để tạo hình thay vì URL image, tối ưu 100% */
    -webkit-mask-image: var(--cat-mask) !important;
    mask-image: var(--cat-mask) !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    
    z-index: 21 !important;
    transition: transform 0.6s ease, background-color 0.3s !important;
}

/* Hiệu ứng khi Hover */
body .aft-readmore:hover {
    background-color: var(--cat-color, #374151) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px var(--cat-shadow, rgba(0,0,0,0.2)) !important;
}

body .aft-readmore:hover::before {
    transform: translateY(-50%) rotate(360deg) scale(1.1) !important;
    background-color: var(--cat-color, #374151) !important; 
    border-color: #ffffff !important;
}

body .aft-readmore:hover::after {
    /* Xoay đồng bộ với ::before */
    transform: translateY(-50%) rotate(360deg) scale(1.1) !important;
    background-color: #ffffff !important; /* Đổi màu icon thành trắng */
}

/* ========================================================= */
/* --- 2. GÁN MÀU VÀ SVG CHO TỪNG CATEGORY THEO ƯU TIÊN ---  */
/* (Category nằm CÀNG DƯỚI sẽ có ĐỘ ƯU TIÊN CÀNG CAO)        */
/* ========================================================= */

/* [ƯU TIÊN THẤP NHẤT] */
body .category-hands-on .aft-readmore {
    --cat-bg: #ecfeff; --cat-color: #0891b2; --cat-shadow: rgba(8, 145, 178, 0.25);
    /* Icon hộp (Touch / Hands-on) */
    --cat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg transform='translate(0, 1.5)'%3E%3Cpath d='M21 16.5c0 .38-.21.71-.53.88l-7.9 4.44c-.16.12-.36.18-.57.18-.21 0-.41-.06-.57-.18l-7.9-4.44A.991.991 0 0 1 3 16.5v-9c0-.38.21-.71.53-.88l7.9-4.44c.16-.12.36-.18.57-.18.21 0 .41.06.57.18l7.9 4.44c.32.17.53.5.53.88v9zM12 4.15L6.04 7.5 12 10.85l5.96-3.35L12 4.15zM10.9 1.7v-2.2L3 4v2.2zM13.1 1.7v-2.2L21 4v2.2z'/%3E%3C/g%3E%3C/svg%3E");
}

body .category-tin-tuc .aft-readmore {
    --cat-bg: #e0f2fe; --cat-color: #0284c7; --cat-shadow: rgba(2, 132, 199, 0.25);
    /* Icon Tờ báo */
    --cat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14H7v-2h8v2zm3-4H7v-2h11v2zm0-4H7V7h11v2z'/%3E%3C/svg%3E");
}

/* [NHÓM ƯU TIÊN THẤP TỚI CAO (Nhóm 2)] */
body .category-nghe-nhin .aft-readmore {
    --cat-bg: #ccfbf1; --cat-color: #0f766e; --cat-shadow: rgba(15, 118, 110, 0.25);
    /* Icon Nút Play/Media */
    --cat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z'/%3E%3C/svg%3E");
}

body .category-entertainment .aft-readmore {
    --cat-bg: #f3e8ff; --cat-color: #7e22ce; --cat-shadow: rgba(126, 34, 206, 0.25);
    /* Icon Tay cầm chơi game */
    --cat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-10 7H8v3H6v-3H3v-2h3V8h2v3h3v2zm4.5 2c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm3-3c-.83 0-1.5-.67-1.5-1.5S17.67 9 18.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E");
}

body .category-phu-kien .aft-readmore {
    --cat-bg: #e0e7ff; --cat-color: #4338ca; --cat-shadow: rgba(67, 56, 202, 0.25);
    /* Icon Chuột máy tính */
    --cat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 1.07V9h7c0-4.08-3.05-7.44-7-7.93zM4 15c0 4.42 3.58 8 8 8s8-3.58 8-8v-4H4v4zm7-13.93C7.05 1.56 4 4.92 4 9h7V1.07z'/%3E%3C/svg%3E");
}

body .category-pc .aft-readmore {
    --cat-bg: #f1f5f9; --cat-color: #475569; --cat-shadow: rgba(71, 85, 105, 0.25);
    /* Icon Màn hình Desktop */
    --cat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7l-2 3v1h8v-1l-2-3h7c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H3V4h18v12z'/%3E%3C/svg%3E");
}

body .category-mobile .aft-readmore {
    --cat-bg: #dcfce7; --cat-color: #15803d; --cat-shadow: rgba(21, 128, 61, 0.25);
    /* Icon Điện thoại Smartphone */
    --cat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z'/%3E%3C/svg%3E");
}

body .category-semiconductor .aft-readmore {
    --cat-bg: #ffedd5; --cat-color: #c2410c; --cat-shadow: rgba(194, 65, 12, 0.25);
    /* Icon Chip điện tử (CPU) */
    --cat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7h10v10H7V7zm2 2v6h6V9H9zM21 9h-2V7c0-1.1-.9-2-2-2h-2V3h-2v2h-2V3H9v2H7c-1.1 0-2 .9-2 2v2H3v2h2v2H3v2h2v2c0 1.1.9 2 2 2h2v2h2v-2h2v2h2v-2h2c1.1 0 2-.9 2-2v-2h2v-2h-2V9h2z'/%3E%3C/svg%3E");
}

/* [NHÓM ƯU TIÊN CAO NHẤT (Nhóm 1)] */
body .category-technology .aft-readmore {
    --cat-bg: #ffe4e6; --cat-color: #e11d48; --cat-shadow: rgba(225, 29, 72, 0.25);
    /* Icon Tên lửa (Technology / Đột phá) */
    --cat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v11h3v9l7-12h-4l4-8z'/%3E%3C/svg%3E");
}

body .category-editorial .aft-readmore {
    --cat-bg: #d1fae5; --cat-color: #047857; --cat-shadow: rgba(4, 120, 87, 0.25);
    /* Icon Bút máy Biên tập (Pen Nib) */
    --cat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z'/%3E%3C/svg%3E");
}

/* Ưu tiên Tuyệt Đối Số 1 */
body .category-review .aft-readmore {
    --cat-bg: #fef3c7; --cat-color: #b45309; --cat-shadow: rgba(180, 83, 9, 0.25);
    /* Icon Ngôi Sao đánh giá */
    --cat-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}