@font-face {
	font-family: 'JetBrains Mono';
	src: url('/wp-content/uploads/fonts/jetbrains-mono.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('/wp-content/uploads/fonts/HarmonyOS_Sans.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HarmonyOS Sans';
  src: url('/wp-content/uploads/fonts/HarmonyOS_Sans_Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



:root {
	/* Global */
	--input-maxw: 100%;
	--font-code: 'JetBrains Mono', sans-serif;
	--font-content: 'HarmonyOS Sans', sans-serif;
	--comment-line: grey;
	--p-with-bg: white;
	--primary-color: #FF7F50;
	--secondary-color: #F7D166;
	--gradient-1: #f7d167;
	--gradient-2: #fda384;
	--nh-progress-height: 2px;
	--sub-menu: #262731;

	/* Dark mode = default */
	--website-bg: #191b24;
	--container-color: #1e1f25;
	--container-border: #282b39;
	--text-color: #E5E7EB;
	--button-hover: #272a38;
	--border-info: #262731;
	--text-night: white;
	--post-bg: #2E3142;
	--bg-image-1: rgb(25, 27, 36);
	--bg-image-2: rgba(26, 108, 122, 0.5);
	--author-box: #262731;
	--comment-color: #262731;
	--share-icon: white;
	--share-icon-hover: #ccc;
	--toc-bg: #262731;
	--text-reverse: black;
	--bg-bottom-gradient: #191b24;
	--ivory-search-mobile: #191b24;
}

/* Light mode override */

html.light {
	--website-bg: #f4f4f4;
	--container-color: #ffffff;
	--container-border: #e7e7e7;
	--text-color: #334155;
	--button-hover: #f2f2f2;
	--border-info: #ffffff;
	--text-night: black;
	--post-bg: #f7f8fa;
	--bg-image-1: rgba(25, 27, 36, 0.70);
	--bg-image-2: #6999c0;
	--author-box: #f7f8fa;
	--comment-color: #f7f8fa;
	--share-icon: black;
	--share-icon-hover: rgb(66, 66, 66);
	--toc-bg: #f7f8fa;
	--text-reverse: white;
	--bg-bottom-gradient: #f4f4f4;
}

body {
    font-family: var(--font-content);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--website-bg);
}

/* === START HEADER CSS === */

.main-header-bar {
	background-color: #191b24 !important;
}

/* === END HEADER CSS === */


/* === START GLOBAL CSS === */

/* Font weight for heading, title */
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.site-title {
	font-weight: 700 !important;
	color: var(--text-color) !important;
}

strong {
    font-weight: 700;
}

.wp-block-code code {
    font-family: var(--font-code);
    font-weight: 400;
}

hr.global-hr {
    margin: 30px 0;
}

#pt-cv-view-ay3a04wb h2 > a {
    color: var(--text-color);   
}


.pt-cv-title > a {
    color: var(--text-color);
}


.pt-cv-title:hover > a {
    color: #ff7f50;
}


/* Button */
button,
select {
	font-weight: 700;
}

/*--- HOME CARD GRID ---*/

.nh-card-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin: 30px 0;
}


/* CARD BASE */

.nh-card {
	background: linear-gradient(90deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
	padding: 26px 22px;
	border-radius: 14px;
	text-decoration: none !important;
	transition: transform .25s ease, box-shadow .25s ease;
	will-change: transform;
}

.nh-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 24px rgba(0,0,0,.12);
}


/* ICON  */

.nh-icon svg {
	width: 64px;
	height: 64px;
	display: block;
}


/*  TEXT  */

.nh-card-title {
	font-size: 18px;
	font-weight: 700;
	margin: 8px 0 6px;
}

.nh-card p {
	margin: 0;
	font-size: 14px;
	opacity: .9;
}


/*  COLOR LOGIC  */

/* Card 1 – 4 – 5 : white */

.nh-card:not(.nh-card-border) .nh-card-title,
.nh-card:not(.nh-card-border) p,
.nh-card:not(.nh-card-border) svg {
	color: #fff !important;
	fill: #fff;
}


/* Card 2 – 3  */

.nh-card-border {
	background: var(--border-info);
}

.nh-card-border .nh-card-title,
.nh-card-border p,
.nh-card-border svg {
	color: var(--text-color) !important;
	fill: var(--text-color);
}


/*  WIDE CARD  */

.nh-card-wide {
	grid-column: 1 / -1;
	background: #8babc4;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}


/*  MOBILE CARD */

@media (max-width: 640px) {

	.nh-card-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.nh-card {
		padding: 14px;
	}

	.nh-icon svg {
		width: 40px;
		height: 40px;
	}

	.nh-card-title {
		font-size: 14px;
	}

	.nh-card p {
		font-size: 12px;
	}
}

/*  FEATURED AI CARD  */
.nh-card.nh-card-ai {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 35%, #4f46e5 65%, #06b6d4 100%);
	box-shadow: 0 8px 22px rgba(124, 58, 237, .35);
}
.nh-card.nh-card-ai:hover {
	box-shadow: 0 14px 30px rgba(124, 58, 237, .45);
}

/* đảm bảo chữ và icon luôn trắng trên nền AI */
.nh-card-ai .nh-card-title,
.nh-card-ai p,
.nh-card-ai svg {
	color: #fff !important;
	fill: #fff;
}

/* vệt sáng trang trí ở góc card */
.nh-card-ai::before {
	content: "";
	position: absolute;
	top: -40px;
	right: -40px;
	width: 140px;
	height: 140px;
	background: radial-gradient(circle, rgba(255,255,255,.25), transparent 70%);
	pointer-events: none;
}

/* badge "Mới" */
.nh-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 3px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .3px;
	color: #4f46e5;
	background: #fff;
	border-radius: 999px;
	line-height: 1.6;
}


/* Change color icon check & X */
img.emoji[alt="✔"],
img.emoji[alt="✓"] {
    filter: invert(41%) sepia(93%) saturate(434%) hue-rotate(108deg) brightness(92%) contrast(92%);
}

/* X – red */
img.emoji[alt="✖"],
img.emoji[alt="✕"] {
    filter: invert(20%) sepia(92%) saturate(7460%) hue-rotate(357deg) brightness(97%) contrast(119%);
}

button.btn-use-coupon {
    margin-left: 10px;
}

.btn-use-coupon svg {
  pointer-events: none;
}

.page-id-3770 div#ez-toc-container {
    display: block;
}

h3.uagb-question {
    border-left: none !important;
    font-size: 16px;
}

h3.uagb-question::before {
	background: none !important;
}

/* === END GLOBAL CSS === */

/* Content feedback */
.content-feedback {
    text-align: right;
    color: #888;
    font-size: 14px;
    opacity: 0.8;
}


/* Highlight CTA link */
.cta-link {
    padding: 1em 1.3em;
    border-left: 4px solid rgba(234, 88, 12, 1);
    border-radius: 10px;
    background-color: rgba(234, 88, 12, 0.15);
}

.cta-link a:hover {
    background: rgba(250, 204, 21, 0.2);
}

/* Custom search page */
.ast-blog-layout-5-grid .ast-article-inner {
    box-shadow: none;
}

.ast-pagination .page-numbers.current {
    background-color: #ff6932;
}

.uagb-post-grid .uagb-post__author:not(:last-child)::after {
    content: "/";
}

.uagb-post-grid .uagb-post-grid-byline>* {
    margin-right: 0;
}


.footer-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 18px;
}

.widget_nav_menu ul {
    padding-left: 0;
    line-height: 2.3;
    font-size: 16px;
}

.widget_nav_menu a {
    color: #A0A4B8;
}

.widget_nav_menu a:hover,
.built-info a:hover {
    color: #ffffff;
}

.ast-header-html {
    clear: both;
}

.description-paragraph {
    padding: 20px 0;
    font-size: 16px;
    color: #A0A4B8;
}

.footer-widget-area .widget-area .site-footer-focus-item {
    width: 100%;
}

.built-info {
    color: #A0A4B8;
    font-size: 16px;
}

.built-info a {
    color: #A0A4B8;
    text-decoration: underline;
}

/* END GLOBAL CSS */

/* Start: CSS Custom Sidebar */
@media (min-width: 922px) {
    .ast-right-sidebar #secondary {
        border-left: none;
	}
}

@media (min-width: 922px) {
    .ast-right-sidebar #primary {
        border-right: none;
    }
}

/* Reset sidebar css: margin left, right */
.ast-no-sidebar .entry-content .alignfull {
	width: auto;
	margin-left: 0;
	margin-right: 0;
	max-width: auto;
}

.ast-right-sidebar #secondary {
	padding-left: 25px;
}

.ast-left-sidebar #secondary {
	padding-right: 20px;
}

/* Fix over margin bottom */
@media (min-width: 993px) {

	.ast-separate-container #primary,
	.ast-separate-container.ast-left-sidebar #primary,
	.ast-separate-container.ast-right-sidebar #primary {
		margin: 0;
		padding: 0px;
	}
}

/* Category sidebar */
#secondary {
	margin: 0;
}

/* End: CSS Custom Sidebar */

/* Start: CSS Custom ToC */
/* Mobile ToC */
@media (max-width: 768px) {
    div#ez-toc-container .ez-toc-title {
        font-size: 16px;
    }
    div#ez-toc-container ul li,
    div#ez-toc-container ul li a{
        font-size: 15px;
    }
}

/* Fix hide ToC */
#secondary .ez-toc-widget-sticky-container {
    opacity: 1 !important;
    pointer-events: auto !important;
}

#ez-toc-widget-sticky-container ul ul {
    margin-left: 0 !important;
    padding-left: 30px !important;
}

#ez_toc_widget_sticky-4 .ez-toc-widget-sticky-title, .ez-toc-widget-sticky-container-ez_toc_widget_sticky-4 .ez-toc-widget-sticky-title {
    font-size: 24px !important;
}

div.ez-toc-widget-sticky-container.is_stuck {
    background: transparent !important;
}

/* Container no scroll */
#secondary .ez-toc-widget-sticky-container {
    max-height: none !important;
    overflow: visible !important;
}

/* Only nav scroll */
#secondary .ez-toc-widget-sticky-container nav {
    max-height: 60vh;
    overflow-y: auto;
}

.ez-toc-mobile-toggle-btn,
.ez-toc-mobile-close-btn {
    display: none !important;
}


div.ez-toc-widget-sticky-container {
    top: 0 !important;
}

#ez_toc_widget_sticky-4 
.ez-toc-widget-sticky-heading-level-2 > a {
    font-weight: 700 !important;
}

#ez-toc-container li.ez-toc-heading-level-2 > a {
    font-weight: 700;
}

/* TOC container */
div#ez-toc-container {
    background: var(--toc-bg);
}

div#ez-toc-container ul.ez-toc-list a,
div#ez-toc-container p.ez-toc-title {
	color: var(--text-color);
}

/* Toggle TOC icon */
.list-377408,
.arrow-unsorted-368013 {
	fill: grey !important;
	color: grey !important;
}

#ez-toc-container {
	border-radius: 8px;
}

div#ez-toc-container {
	padding-left: 20px;
}

/* End: CSS Custom ToC */

/* Start: CSS Custom Breadcrumbs */
/* Split breadcrumbs */
.ast-breadcrumbs-wrapper .rank-math-breadcrumb p {
	display: block;
	max-width: 40ch;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #808080;
}

/* Mobile: Split breadcrumbs */
@media (max-width: 768px) {
	.ast-breadcrumbs-wrapper .rank-math-breadcrumb p {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		display: block;
	}
}

/* Breadcrumbs separator "/" */
.ast-breadcrumbs-wrapper .separator {
	color: var(--text-color);
}

/* End: CSS Custom Breadcrumbs */


/* Start CSS: Share button bellow post */
.nhanity-share {
    margin-top: 30px;
}

.nhanity-share-title {
    color: grey;
    font-size: 12px;
    margin-bottom: 10px;
}

.nhanity-share ul {
    margin: 0;
    gap: 10px;
    padding: 0;
	display: flex;
    flex-wrap: wrap;
	list-style: none;
    align-items: center;
}

.nhanity-share a {
    gap: 10px;
	display: flex;
	color: #fff;
    font-size: 14px;
	padding: 10px 14px;
    border-radius: 6px;
    align-items: center;
    text-decoration: none;
	transition: opacity .2s ease;
}

.nhanity-share a:hover {
    opacity:.85;
}
.nhanity-share svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.share-facebook {
    background: #0866ff;
}

.share-linkedin {
    background: #0a66c2;
}

.share-chatgpt {
    background: #181818;
}

.share-perplexity {
    background: #31b8c6;
}

.share-x {
    background: #000;
}

.share-counter {
    gap: 6px;
    color: #fff;
	display: flex;
    font-size: 14px;
	padding: 6px 10px;
    border-radius: 6px;
    align-items: center;
	background: #111827;
	border: 1px solid #1f2937;
}

.share-count {
    font-weight: 700;
}

.share-label {
    color: #fff;
    font-size: 12px;
}
/* End CSS: Share button bellow post */

/* Start: CSS Note box */
/* YELLOW Note box */
.note-box {
    color: inherit;
    padding: 16px 18px;
    border-radius: 8px;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.45);
}


/* GREEN Note box */
.rcm-box,
.uagb-forms__outer-wrap .uagb-forms-success-message {
    color: inherit;
    padding: 16px 18px;
    border-radius: 8px;
    background: rgba(40, 167, 69, 0.05);
    border: 1px solid rgba(40, 167, 69, 0.45);
}

.wp-block-group.rcm-box {
    margin-bottom: 16px;
}

/* ALERT Note box */
.alert-box {
    color: inherit;
    padding: 16px 18px;
    border-radius: 8px;
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.5);
}

/* Padding highlight box */
ul.note-box,
ul.rcm-box,
ul.alert-box,
ol.note-box,
ol.rcm-box,
ol.alert-box
{
    padding-left: 40px;
}

/* End: CSS Note box */

h2 > a,
h3 > a {
    color: var(--text-color);
}

h2 > a:hover,
h3 > a:hover {
    color: var(--primary-color) !important;
}

ul#astra-footer-menu {
	padding-left: 0;
}

ol.ast-comment-list {
    padding-left: 0;
}


/* Comment: Only page */
.page ol.ast-comment-list {
    padding: 20px 0;
}

.page .ast-comment-list li.depth-1 .ast-comment {
    border-bottom: none;
}

h2.entry-title a {
	font-weight: 700;
}

.ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section:first-child .post-thumb-img-content {
	margin-top: 0;
}

.ast-archive-entry-banner {
	background: transparent;
	}

.menu-desc {
	color: grey;
    opacity: 0.85;
    display: block;
    margin-top: 2px;
    font-size: 13px;
	font-style: italic;
}

.main-header-menu .sub-menu {
	width: 400px;
}

/* Start Dark/Light mode button */
button#modeDesktop {
    left: 20px;
    bottom: 20px;
    z-index: 999;
    opacity: 0.5;
    display: flex;
    padding: 6px;
    position: fixed;
    cursor: pointer;
	border-radius: 999px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mode-switch > svg {
	display: none;
	color: white;
}

/* Dark (default) → show moon */

html:not(.light) .icon-moon {
	display: block;
}

/* Light → show sun */

html.light .icon-sun {
	display: block;
}

#modeMobile {
    background: transparent !important;
}

#modeDesktop:hover {
	transform: scale(1.1);
}

/* End Dark/Light mode button */

/* Start Scroll to top button */
.ast-scroll-to-top-right {
	right: 20px;
	bottom: 20px;
}
/* End Scroll to top button */


.astra-dark-mode-enable .main-header-menu .sub-menu {
	background-color: var(--sub-menu);
}

/* menu toggle */
button.ast-menu-toggle::before {
	color: white;
}


/* AI container */
.summary-box {
    min-height: 150px;
	color: var(--text-color);
	background: var(--toc-bg);
	padding:16px;
    margin:24px 0;
    border-radius:8px;
}

.summary-header {
     display:flex;
     align-items:center;
     gap:8px;
     padding-bottom:20px;
}

#summary-box h2 {
    all: unset; /* reset */
    font-weight: 700;
}


/* Link highlight */
p.has-border-color,
p.has-background {
	color: var(--p-with-bg);
}

/* Author social icon */
.author-social a svg path {
	transition: fill 0.3s;
	fill: var(--share-icon);
}


/* Disable box-shadow in highlight post grid */
#pt-cv-view-kla56jzc .pt-cv-content-item {
	box-shadow: none !important;
}


/* Site content container */
.site-content {
	background: var(--website-bg);
}


/* Main title in homepage banner */
.banner-title {
	color: white !important;
}


/* Color upper background */
.wp-block-uagb-container.uagb-block-07933978::before {
	background-image: linear-gradient(180deg, var(--bg-image-1) 0%, var(--bg-image-2) 100%) !important;
}





/* Post background */
.uagb-post__inner-wrap {
	background: var(--post-bg) !important;
}


/* Author box container */
.author-box {
	background-color: var(--author-box) !important;
	margin-top: 20px;
	padding: 20px;
	border-radius: 10px;
	overflow: hidden;
}

.author-avatar {
    float: left;
    margin-right: 20px;
}

.author-avatar > img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.author-name {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.author-desc {
    margin:0 0 12px;
    line-height:1.6;
}

.author-social ul {
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    gap:20px;
}

.author-social ul li a svg {
    width:20px;
    height:20px;
}



/* Post background */
.ast-separate-container .ast-article-single:not(.ast-related-post) {
	background-color: transparent !important;
}


/* =========== Start CSS Header =========== */
.site-header {
	z-index: 99999;
	top: 0 !important;
	width: 100% !important;
	position: sticky !important;
}

.ast-page-builder-template .entry-header {
	margin-top: 0;
}

.main-header-bar,
.ast-header-break-point .main-header-bar.ast-header-breadcrumb {
	border-bottom: none;
	padding-top: 10px;
}

.ast-header-break-point #masthead .ast-mobile-header-wrap .ast-primary-header-bar {
	padding: 0;
}

.single .entry-header {
	margin-bottom: 0;
}

.entry-content p,
p {
	margin-bottom: 16px;
}

/* Icon sparkle dạng "magic/blink" cho mục WordPress x AI */
.wordpress-x-ai > .menu-link .menu-text::before {
  content: "";
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  margin-right: 0.45em;
  vertical-align: -0.15em;
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #22d3ee 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='black'%20d='M9%205Q9%2012%2016%2012Q9%2012%209%2019Q9%2012%202%2012Q9%2012%209%205ZM17.5%202.5Q17.5%206%2021%206Q17.5%206%2017.5%209.5Q17.5%206%2014%206Q17.5%206%2017.5%202.5ZM17.5%2014Q17.5%2017.5%2021%2017.5Q17.5%2017.5%2017.5%2021Q17.5%2017.5%2014%2017.5Q17.5%2017.5%2017.5%2014Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='black'%20d='M9%205Q9%2012%2016%2012Q9%2012%209%2019Q9%2012%202%2012Q9%2012%209%205ZM17.5%202.5Q17.5%206%2021%206Q17.5%206%2017.5%209.5Q17.5%206%2014%206Q17.5%206%2017.5%202.5ZM17.5%2014Q17.5%2017.5%2021%2017.5Q17.5%2017.5%2017.5%2021Q17.5%2017.5%2014%2017.5Q17.5%2017.5%2017.5%2014Z'/%3E%3C/svg%3E") center / contain no-repeat;

  animation: wxai-twinkle 2.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes wxai-twinkle {
  0%, 100% { opacity: 1;    transform: scale(1)    rotate(0deg); }
  50%      { opacity: 0.45; transform: scale(0.82) rotate(-12deg); }
}

.wordpress-x-ai > .menu-link:hover .menu-text::before {
  animation-duration: 1.1s;
}


/* =========== End CSS Header =========== */



/* =========== Start CSS Container =========== */
/* Container on page build */
.wp-block-uagb-container {
	z-index: 0;
	overflow: hidden;
	position: relative;
}

/* Gradient container */
.wp-block-uagb-container.bottom-gradient::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 35%;
	pointer-events: none;
	z-index: 1;
	background: linear-gradient(
		to bottom,
		transparent 0%,
		rgba(0,0,0,.02) 25%,
		rgba(0,0,0,.05) 45%,
		var(--bg-bottom-gradient) 100%
	);
}

/* Gradient bellow */
.wp-block-uagb-container>* {
	z-index: 2;
	position: relative;
}

/* Reset padding Astra container */
.ast-container {
	padding: 0;
}

/* =========== End CSS Container =========== */


/* CTA button */
div.cta-button-wrapper {
    display: flex;
	justify-content: center;
	margin: 10px 0;
}

.cta-button {
    position: relative;
	display: inline-block;
	background: linear-gradient(to right, #F7D166, #FDA383);
	border: none;
	color: #fff !important;
	padding: 30px 80px;
	border-radius: 9999px;
	cursor: pointer;
	transition: box-shadow 0.3s ease, transform 0.2s ease;
	box-shadow: 0 4px 10px rgba(253, 160, 133, 0.3);
	width: auto !important;
	font-weight: 700;
}

.cta-button::before {
	content: "";
	position: absolute;
	inset: 5px;
	border: 1px solid #fff;
	border-radius: inherit;
	pointer-events: none;
}

.cta-button:hover {
	box-shadow: 0 6px 14px rgba(253, 160, 133, 0.5);
	transform: translateY(-2px);
}

.cta-button:active {
	transform: translateY(0);
	box-shadow: 0 3px 8px rgba(253, 160, 133, 0.3);
}

.lrd {
	border-radius: 20px;
	outline-offset: none;
	outline: none;
	margin-bottom: 1.5em;
	width: 450px !important;
	max-width: 500px !important;
	margin: 0 auto;
	margin-bottom: 1.6em;
}

.ch {
	height: 500px;
	display: flex !important;
	align-items: center;
	justify-content: center;
}






.ast-blog-layout-5-grid .blog-layout-5 {
	padding-top: 10px;
}

/* Banner title on homepage */
.home-main-title {
	display: block;
	text-align: center;
}

/* Gradient-text */
.gradient-text {
	background: linear-gradient(to right, #F6D365, #FDA085);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* Full view home banner */
.home-banner {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(-50vw + 50%) !important;
}

.justify-text-mobile {
	text-align: justify;
	text-justify: inter-word;
}

#email::placeholder,
#author::placeholder,
#comment::placeholder,
#website::placeholder {
	color: #ccc;
}

.comment-form-save-info label,
.comment-form-subscribe-post label,
.comment-form-cookies-consent label {
	color: var(--text-color);
}

.comments-area #noti-post-email {
	margin-right: 10px;
}

.ast-separate-container .comments-area .ast-comment-list li {
	background-color: none;
}



/* See more button AI summarize */
.summary-box {
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}



.entry-meta strong {
	font-weight: 700;
}

.entry-meta .date-modified,
.entry-meta .post-author,
.entry-meta span {
	color: grey;
}

.ast-comment-meta-wrap {
	padding: 0;
	margin-bottom: 10px;
}

.entry-meta {
	font-size: 85%;
	padding: 10px 0;
}

hr.meta-hr {
    margin: 10px 0;
    opacity: 0.6;
}

.wp-block-image img {
	margin-bottom: 1.6em;
}


.author-social {
	gap: 25px;
	display: flex;
	margin-left: auto;
	align-items: center;
}

.author-social a svg {
	width: 20px;
	height: 20px;
}


.author-social a:hover svg path {
	fill: #ccc;
}

#nh-scroll-progress {
	top: 0;
	left: 0;
	width: 0%;
	z-index: 9999999;
	position: fixed;
	pointer-events: none;
	transition: width .12s linear;
	background: var(--primary-color);
	height: var(--nh-progress-height);
}

#wpdcom .wpd-prim-button,
#wpdcom .wpd-thread-filter .wpdf-sorting {
	font-weight: 700;
}


#wpdcom,
#comments {
	margin: 0 !important;
	margin: 20px 0 !important;
	max-width: 100% !important;
}

#wpdcom.wpd-layout-2 .wpd-comment.wpd-reply .wpd-comment-wrap {
	background-color: #272a38;
}

.comments-area {
	border-top: none;
}

#wpdcom .wpd-comment .wpd-comment-right {
	padding-bottom: 5px !important;
}

.ast-comment-content {
	background: var(--comment-color) !important;
	border-radius: 10px;
	padding: 20px;
}

#comments ol li {
    margin-bottom: 60px;
}

.ast-separate-container .ast-comment-list li.depth-1,
.ast-comment-list li {
	padding: 0px;
	margin-bottom: 20px;
}

.ast-separate-container .ast-comment-list li {
    background-color: unset;
}

.ast-separate-container .comment-respond {
	padding: 0;
	padding-bottom: 20px;
	max-width: 100%;
	background-color: transparent;
}

.ast-comment-list {
	max-width: 780px;
	margin: 0 auto;
}

.ast-comment {
	padding: 0;
}

/* Fix comments */
#comments li>ol {
    margin-left: 0;
}

.ast-comment-meta {
    line-height: 1.3;
}


@media (max-width: 544px) {
    .ast-separate-container .ast-comment-list .bypostauthor li {
        padding: 0;
    }
}

.ast-separate-container .ast-comment-list .bypostauthor li {
    padding: 0;
}

/* Add author mark */
.ast-comment-cite-wrap .ast-cmt-post-author::after {
    content: "Tác giả";
}

.ast-cmt-post-author {
	background: rgb(0, 56, 129);
}

.ast-cmt-post-visit {
	background: orange;
}

.ast-highlight-text {
	padding: 2px 4px;
	border-radius: 4px;
	color: white;
	text-transform: none;
	margin-left: 2px;
	font-size: 12px;
}

.ast-comment-time {
    margin-top: 4px;
}

.capitalize {
	text-transform: none;
}

.timendate time {
	color: grey;
	font-size: 13px;
}


ol.children {
	border-left: 1px solid var(--comment-line);
	padding-left: 20px;
	margin-top: 20px;
}


.ast-page-builder-template .comments-area {
    padding-left: 0;
    padding-right: 0;
}

.ast-comment-time .timendate {
	color: white !important;
}


/* START CSS button in comment */
.ast-comment-list #cancel-comment-reply-link {
	color: white !important;
}

.ast-comment-list #cancel-comment-reply-link {
	background: #6B7280;
	padding: 3px 6px;
	border-radius: 4px;
}
/* END CSS button in comment */

.comment-reply-title {
    font-weight: 700;
}

.comment-reply-title small a {
    font-weight: 400;
}


.ast-comment-list #cancel-comment-reply-link:hover {
	background: #EF4444;
}

.comment-note-custom {
	font-size: 14px;
	margin-bottom: 12px;
}


.comment-form-author input,
.comment-form-email input,
.comment-form-website input {
	width: 100%;
}

@media (max-width: 921px) {
	.ast-comment-meta {
		padding: 0;
		margin: 0;
	}
}

.ast-col-lg-12 {
	padding-left: 10px;
	padding-right: 0;
}


#wpdcom.wpd-layout-2 .wpd-comment.wpd-reply .wpd-comment-wrap {
	background-color: transparent !important;
}


.wpd-wrapper .wpd-item:last-child {
	color: black;
}

.wpd-avatar img {
	border-radius: 50% !important;
	object-fit: cover !important;
}


/* Ivory Search */
.ivory-search-mobile {
	padding: 10px 20px;
	background: var(--ivory-search-mobile);
}

/* Search input */
.is-search-input {
	position: relative;
	padding: 20px 30px !important;
	padding-left: 40px !important;
	border-radius: 10px !important;
	background-color: rgba(255, 255, 255, .08) !important;
}

.is-search-form::before {
	right: 0;
	top: 50%;
	left: 12px;
	content: "";
	z-index: 10;
	width: 18px;
	/* Search icon size */
	height: 18px;
	/* Search icon size */
	position: absolute;
	background-size: contain;
	transform: translateY(-50%);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath d='M480 272C480 317.9 465.1 360.3 440 394.7L566.6 521.4C579.1 533.9 579.1 554.2 566.6 566.7C554.1 579.2 533.8 579.2 521.3 566.7L394.7 440C360.3 465.1 317.9 480 272 480C157.1 480 64 386.9 64 272C64 157.1 157.1 64 272 64C386.9 64 480 157.1 480 272zM272 416C351.5 416 416 351.5 416 272C416 192.5 351.5 128 272 128C192.5 128 128 192.5 128 272C128 351.5 192.5 416 272 416z' fill='%23e7e9eb'/%3E%3C/svg%3E") no-repeat center;
}

.is-search-input::placeholder {
	color: #e7e9eb;
}

.is-form-style input.is-search-input {
	color: white !important;
	border: 1px solid transparent !important;
}

.is-form-style input.is-search-input:focus {
	color: white !important;
	background: rgba(255, 255, 255, .08) !important;
	border-color: rgb(97, 97, 97) !important;
}

/* Search loader */
.is-ajax-search .is-loader-image {
	left: 50%;
	z-index: 9999;
	border-radius: 17px;
	width: 150px !important;
	height: 150px !important;
	backdrop-filter: blur(3px);
	top: calc(100% + 25px) !important;
	transform: translateX(-50%) !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.is-ajax-search-no-result {
	background: none !important;
	color: #e7e9eb !important;
}

.is-ajax-search-result {
	margin: 20px 0 0 0 !important;
	border-radius: 15px !important;
}

.is-ajax-search-post {
	cursor: pointer;
	border-radius: 12px;
}

.is-ajax-search-post a:hover {
	text-decoration: none !important;
}

.sub-cat {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 16px;
}

/* base style cho cả a + span */
.sub-topic-link {
	font-size: 16px;
	font-weight: 700;
	padding: 10px 12px;
	border-radius: 6px;
	text-transform: uppercase;
	display: inline-block;

	color: var(--text-color);
	border: 1px solid var(--text-color);
}

/* chỉ link thật mới hover + click */
.sub-topic-link:is(a) {
	text-decoration: none;
	cursor: pointer;
}

.sub-topic-link:is(a):hover {
	opacity: .85;
	color: unset;
}

/* active */
.sub-topic-link.active {
	background: var(--text-color);
	color: var(--website-bg);
	pointer-events: none;
}



.wp-container-core-group-is-layout-89a94f6a p {
    margin-bottom: 0;
}




@media (max-width: 768px) {
	.sub-cat {
		gap: 8px;
	}

	.sub-topic-link {
		font-size: 13px;
		padding: 6px 8px;
	}
}

.single-post .entry-content h2,
.h2-highlight {
    z-index: 1;
    padding-left: 6px;
	position: relative;
	border-left: 2px solid #ec3f00;
}

.single-post .entry-content h3,
.h3-highlight {
	z-index: 1;
    padding-left: 6px;
	position: relative;
	border-left: 2px solid #ecb500;
}

.single-post .entry-content h3::before,
.h3-highlight::before {
	top: 0;
	left: 0;
	content: "";
	z-index: -1;
	opacity: .2;
	height: 100%;
	width: 100px;
	position: absolute;
	background: linear-gradient(to right, var(--secondary-color) 0%, rgba(255, 165, 0, 0) 100%);
}

.single-post .entry-content h2::before,
.h2-highlight::before {
	top: 0;
	left: 0;
	content: "";
	z-index: -1;
	opacity: .2;
	height: 100%;
	width: 100px;
	position: absolute;
	background: linear-gradient(to right, var(--primary-color) 0%, rgba(255, 165, 0, 0) 100%);
}

ul, ol {
	margin: 0;
	padding-left: 30px;
	margin-bottom: 1.6em;
}

.mb {
	margin-bottom: 1.6em;
}

code {
	padding: 0px 2px;
    color: #d62115;
	font-size: 0.95em;
	border-radius: 3px;
	background-color: #ffebf0;
}

pre,
pre code {
	padding: 16px;
	display: block;
	color: #d4d4d4;
	overflow-x: auto;
	line-height: 1.5;
	white-space: pre;
	border-radius: 6px;
	background-color: #1e1e1e;
}

/* Code container CSS */
.code-container {
    margin: 1em 0;
    position: relative;
}

.code-container pre {
    max-height: 320px;          
    overflow: auto;             
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}


.code-container code {
    display: block;
    white-space: pre;           
}


.code-container pre::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}
.code-container pre::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

/* Copy button CSS */
.copy-btn {
    top: 0px;
	right: 0px;
	color: #fff;
	opacity: 0.85;
	font-size: 12px;
	cursor: pointer;
	border-radius: 0;
	padding: 4px 10px;
	position: absolute;
	background: #2d2d2d;
	transition: all 0.2s ease;
	border: 1px solid rgb(54, 54, 54);
}

.copy-btn:hover {
    opacity: 1;
	background: #333333;
	color: rgb(180, 180, 180);
	border: 1px solid rgb(68, 68, 68);
}

.copy-btn:active {
	transform: scale(0.96);
	color: white;
}

.color-info-box {
	color: white;
    border-radius: 20px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	background: linear-gradient(90deg, var(--gradient-1) 0%, var(--gradient-2) 100%);
}

/* Highlight box */
.color-info-box h2,
.color-info-box strong,
.special-info-box h2,
.special-info-box strong {
	color: white !important;
}

.color-info-box:hover,
.border-info-box:hover,
.special-info-box:hover
 {
	transform: translateY(-6px);
	box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.border-info-box {
    border-radius: 20px;
	color: var(--text-night);
	background: var(--border-info);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.border-info-box .uagb-ifb-content .uagb-ifb-icon-wrap svg {
    fill: var(--text-color);
	color: var(--text-color);
}

.special-info-box .uagb-ifb-content .uagb-ifb-icon-wrap svg {
    fill: white;
	color: white;
}

.border-info-box p,
.color-info-box p,
.special-info-box p {
	margin: 0 !important;
}

.special-info-box {
    border-radius: 20px;
	background: #8babc4;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	color: white;
}


.pd {
	padding: 1.6em !important;
}
/*
.comments-count-wrapper {
	display: none !important;
}*/


:root :where(p.has-background) {
	padding: 1em 1.3em;
}


/* Default card position */
@media (min-width: 769px) {
	.wrapper-container {
		gap: 20px !important;
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.item-3 {
		grid-area: 2 / 2;
	}

	.item-4 {
		grid-area: 2 / 1;
	}

	.wrapper-container .wp-block-uagb-info-box {
		height: 100%;
	}

}



/* Change position card 3 <=> 4 on Mobile */
@media (max-width: 768px) {
  .wrapper-container {
      flex-wrap: wrap;
      display: flex !important;
  }

  /* Item 3 */
  .wrapper-container > *:has(.item-3) {
    order: 4;
  }

  /* Item 4 */
  .wrapper-container > *:has(.item-4) {
    order: 3;
  }
}


/* ===== Responsive search mobile <=768px ===== */
@media (max-width: 768px) {
	div.is-ajax-search-result {
        left: 20px !important;
		max-width: calc(100vw - 40px) !important;
	}
}

div.is-ajax-search-result {
	border: 1px solid #fff;
	border-radius: 14px !important;
	background: #191b24 !important;
}

/* Search post */
.is-ajax-search-post {
	color: #fff;
	border: none !important;
	border-radius: 10px !important;
	background: transparent !important;

}

.is-ajax-search-post:hover {
	background: #16161c !important;

}

.is-ajax-search-items {
	padding: 10px !important;

}

/* Font search input */
.is-search-input-1944 {
	font-weight: 400;
}


.is-ajax-search-result,
div.is-ajax-search-result,
.is-search-input::placeholder,
.is-ajax-search-post .is-title,
.is-form-style input.is-search-input,
.is-ajax-search-post .is-search-content,
.is-form-style input.is-search-input:focus {
	font-weight: 400;
}

.is-ajax-search-post .is-search-content {
	color: grey;
}

.is-ajax-search-post .is-title a {
	color: white;
}



/* =========== START RESPONSIVE =========== */
.ast-container,
.ast-builder-grid-row-container-inner {
	width: 100%;
	position: relative;
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
	padding: 0 !important;
}




/* =========== Desktop =========== */
@media (min-width: 769px) {

	.ast-container,
	.ast-builder-grid-row-container-inner {
		max-width: 1200px !important;
		margin: 0 auto;
		padding: 0;
	}

	.capitalize {
		font-size: 16px;
	}
	
	body:not(.home):not(.front-page).ast-page-builder-template .site-content > .ast-container .site-main,
    .single-post .site-content > .ast-container .site-main,
    #secondary .ez-toc-widget-sticky-container,
    .home .home-container {
        padding: 20px;
        margin-top: 20px;
        border-radius: 6px;
        margin-bottom: 40px;
        background: var(--container-color);
        border: 1px solid var(--container-border);
    }
    
    div#ez-toc-container {
        display: none;
    }

    body:not(.home):not(.front-page).ast-page-builder-template .site-content > .ast-container .site-main,
    .single-post .site-content > .ast-container .site-main,
    .home .home-container {
        padding: 40px;
    }
}

/* =========== Tablet =========== */
@media (min-width: 768px) and (max-width: 1023px) {

	.ast-container,
	.ast-builder-grid-row-container-inner {
		max-width: 100% !important;
		padding: 0 20px !important;
	}

	.ast-left-sidebar #secondary {
		display: none;
	}
}

/* Hide sidebar TOC: IPAD AIR */
@media (max-width: 921px) {
    .ast-separate-container.ast-right-sidebar #secondary {
        display: none !important;
    }
    
    body:not(.home):not(.front-page).ast-page-builder-template .site-content > .ast-container .site-main,
    .single-post .site-content > .ast-container .site-main {
        padding: 20px;
    }
    
    div#ez-toc-container {
        display: block;
    }
}

/* === For IPAD PRO === */
@media (min-width: 1024px) and (max-width: 1366px) {

	.ast-container,
	.ast-builder-grid-row-container-inner {
		max-width: 100% !important;
		padding: 0 20px !important;
	}

	.ast-woocommerce-container {
		padding: 0 0 0 20px !important;
	}

	.is-search-form {
		width: 230px;
	}
}

/* =========== Mobile =========== */
@media (max-width: 544px) {

	.ast-container {
		padding: 0 20px 20px 20px !important;
	}

	.ast-builder-grid-row-container-inner {
		padding: 0 20px;
	}

	/* Hide sidebar */
	#cat-sidebar {
		display: none;
	}

	.ez-toc-open-icon {
		padding: 3px 3px;
	}

	blockquote {
		margin: 0;
	}

	.lrd {
		padding: 15px 20px;
		width: 300px !important;
		max-width: 400px !important;
	}
	
	body:not(.home):not(.front-page).ast-page-builder-template .site-content > .ast-container .site-main,
    .single-post .site-content > .ast-container .site-main,
    #secondary .ez-toc-widget-sticky-container {
        padding: 20px;
        margin-top: 20px;
        border-radius: 6px;
        margin-bottom: 40px;
        background: var(--container-color);
        border: 1px solid var(--container-border);
    }

    body:not(.home):not(.front-page).ast-page-builder-template .site-content > .ast-container .site-main,
    .single-post .site-content > .ast-container .site-main {
        padding: 20px;
    }
    
    button#modeDesktop {
        display: none !important;
    }
    
    ol.children {
	    border-left: 1px solid var(--comment-line);
	    padding-left: 20px;
	    margin-top: 20px;
    }
    
    .single-post .pt-cv-heading-container[data-blockid="mx9pxevd"] .pt-cv-heading
    {
        font-size: 18px;
    }
    
    .single-post #pt-cv-view-mx9pxevd .pt-cv-title:not(.pt-cv-titlesm) a {
        font-size: 16px;
    }
}


@media only screen and (max-width: 767px) {
	.wp-block-uagb-container.uagb-block-24d270fb {
		flex-wrap: nowrap;
	}
}

/* Collapse AI summary */
	.summary-box.collapsed {
		max-height: 150px;
		position: relative;
	}

	.summary-see-more {
		display: block;
		margin-left: auto;
		cursor: pointer;
	}

	.summary-box.collapsed::after {
		left: 0;
		bottom: 0;
		content: "";
		width: 100%;
		height: 80px;
		position: absolute;
		pointer-events: none;
		background: linear-gradient(to bottom, rgba(27, 29, 39, 0), #1f212c);
	}


/* =========== END RESPONSIVE =========== */

.page .comment-sort-options {
    padding-top: 20px;
}

/* Container comment sort */
.comment-sort-options {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 25px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Sort mark */
.comment-sort-label {
    font-weight: 700;
    font-size: 14px;
    color: #656565;
    margin-right: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Button style */
.comment-sort-options .sort-btn {
    text-decoration: none !important;
    padding: 7px 20px;
    margin-right: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 30px; /* Bo tròn dạng viên thuốc */
    font-size: 13px;
    font-weight: 400;
    color: #666;
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Button hover */
.comment-sort-options .sort-btn:hover {
    border-color: #ff6932;
    color: #ff6932;
    background-color: rgba(255, 105, 50, 0.05);
}

/* Style active button */
.comment-sort-options .sort-btn.active {
    background-color: #ff6932;
    color: #fff !important;
    border-color: #ff6932;
    box-shadow: 0 4px 12px rgba(255, 105, 50, 0.3); /* Đổ bóng màu cam */
}

/* Mobile responsive */
@media (max-width: 480px) {
    .comment-sort-options {
        flex-wrap: wrap;
        gap: 10px;
    }
    .comment-sort-label {
        width: 100%;
        margin-bottom: 5px;
    }
}