/*
Theme Name: DnD Realty
Theme URI: https://angiahomes.com.vn
Author: Le Nhung
Author URI: https://angiahomes.com.vn
Description: WordPress Theme for DnD Realty real estate projects, based on modern design and Tailwind CSS.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dndrealty
*/

/* ==========================================================================
   Site Logo
   ========================================================================== */
.site-logo {
	height: 36px;
	width: auto;
	display: block;
}

@media (min-width: 768px) {
	.site-logo { height: 40px; }
}

/* Show Units Redesign */
.show-unit-desc p {
    margin-bottom: 1.5rem;
}

.show-units-swiper .swiper-slide {
    height: auto;
}

.show-unit-card img {
    filter: brightness(0.95);
    transition: all 0.5s ease;
}

.show-unit-card:hover img {
    filter: brightness(1.05);
}

/* Custom Swiper Navigation */
.show-units-swiper ~ .swiper-button-prev,
.show-units-swiper ~ .swiper-button-next {
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
}

.show-units-swiper ~ .swiper-button-prev:hover,
.show-units-swiper ~ .swiper-button-next:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 30px -5px rgba(212, 175, 55, 0.5);
}

.show-units-swiper ~ .swiper-button-prev:after,
.show-units-swiper ~ .swiper-button-next:after {
    display: none !important;
}

/* Header & Global Styles */
html { scroll-behavior: smooth; }
body {
    background: radial-gradient(circle at 0% 0%, rgba(229, 27, 35, 0.12), transparent 42%),
                radial-gradient(circle at 100% 0%, rgba(148, 163, 184, 0.18), transparent 40%),
                #f8fafc;
}
[data-reveal] {
    opacity: 0;
    filter: blur(6px);
    transform: translate3d(0, 34px, 0) scale(0.985);
    transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1), filter .7s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform, filter;
}
[data-reveal].is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; filter: none; transform: none; transition: none; }
    .hero-slide { transition: none; }
}
.hero-slide {
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .9s ease, transform 1.4s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-copy { transition: opacity .35s ease, transform .35s ease; }
.hero-copy.is-changing { opacity: 0; transform: translateY(10px); }
.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}
.news-modern-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.news-modern-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 45px -30px rgba(15, 23, 42, 0.45);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s cubic-bezier(.22, 1, .36, 1), border-color .35s ease;
}
.news-modern-card:hover {
    transform: translateY(-6px);
    border-color: rgba(229, 27, 35, 0.35);
    box-shadow: 0 28px 65px -30px rgba(15, 23, 42, 0.55);
}
.news-modern-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.news-modern-image img {
    height: 100%; width: 100%; object-fit: cover;
    filter: grayscale(0%);
    transform: scale(1.01);
    transition: filter .45s ease, transform .55s ease;
}
.news-modern-card:hover .news-modern-image img {
    filter: grayscale(0%);
    transform: scale(1.06);
}
.news-modern-image::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.05));
}
.news-modern-content {
    padding: 1.1rem 1.1rem 1.2rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.news-modern-title {
    color: #0f172a;
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}
.news-modern-link {
    margin-top: .7rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #64748b;
    transition: color .25s ease, transform .25s ease;
}
.news-modern-card:hover .news-modern-link {
    color: #e51b23;
    transform: translateX(2px);
}
.news-modern-badge {
    position: absolute; left: .85rem; top: .85rem; z-index: 2;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    padding: .32rem .65rem;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    backdrop-filter: blur(6px);
}
@media (max-width: 900px) {
    .news-modern-grid { grid-template-columns: 1fr; }
    .news-modern-title { font-size: 1.22rem; }
}
.footer-gold {
    background: radial-gradient(circle at 0% 0%, rgba(229, 27, 35, 0.22), transparent 38%),
                radial-gradient(circle at 100% 0%, rgba(30, 41, 59, 0.38), transparent 42%),
                #0b1730;
}
.footer-title {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 1.25;
    color: #fff;
}
.footer-input {
    height: 2.9rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: .25rem;
    background: #ffffff;
    padding: .55rem .9rem;
    font-size: .95rem;
    color: #0f172a;
}
.footer-input:focus {
    outline: 2px solid rgba(229, 27, 35, 0.35);
    outline-offset: 1px;
    border-color: rgba(229, 27, 35, 0.45);
}
.footer-textarea { min-height: 5.2rem; resize: vertical; }
.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-weight: 700;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.footer-social:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.9);
}
.footer-bottom {
    background: #081126;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
/* Fluent Form Footer Compact Styles */
.footer-gold .fluentform .ff-el-group { margin-bottom: 0.85rem; }
.footer-gold .fluentform .ff-el-form-control { 
    height: 2.75rem; 
    font-size: 0.85rem; 
    background: #ffffff !important;
    border-radius: 0.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.footer-gold .fluentform textarea.ff-el-form-control { height: 4.5rem; }
.footer-gold .fluentform .ff-el-input--label label { 
    color: #cbd5e1; 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    font-weight: 700;
    margin-bottom: 0.35rem;
}
.footer-gold .fluentform .ff-btn-submit {
    width: auto !important;
    min-width: 160px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%) !important;
    border: none !important;
    padding: 0.8rem 2rem !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 15px rgba(229, 27, 35, 0.3) !important;
    transition: all 0.3s ease !important;
}
.footer-gold .fluentform .ff-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 27, 35, 0.4) !important;
    filter: brightness(1.1);
}
/* Ensure 2-column layout in footer form for desktop */
@media (min-width: 768px) {
    .footer-gold .fluentform .ff-t-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.85rem;
    }
    .footer-gold .fluentform .ff-t-container .ff-t-column {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* Premium Popup Form Styles */
.premium-form .ff-el-form-control {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease !important;
}
.premium-form .ff-el-form-control:focus {
    background-color: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(229, 27, 35, 0.5) !important;
    box-shadow: 0 0 0 4px rgba(229, 27, 35, 0.1) !important;
    outline: none !important;
}
.premium-form .ff-el-form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}
.premium-form .ff-el-input--label label {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.05em !important;
}
.premium-form .ff-btn-submit {
    width: 100% !important;
    height: 3.5rem !important;
    background: linear-gradient(135deg, #D4AF37 0%, #9A7209 100%) !important;
    border: none !important;
    border-radius: 1rem !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.15em !important;
    box-shadow: 0 10px 25px -5px rgba(229, 27, 35, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.premium-form .ff-btn-submit:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 15px 30px -5px rgba(229, 27, 35, 0.5) !important;
}
.premium-form .ff_form_instance_1 .ff-message-success {
    background-color: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    color: #4ade80 !important;
    border-radius: 1rem !important;
    padding: 1.5rem !important;
}

/* Premium Light Popup Form Styles */
.premium-form-light .ff-el-form-control {
    background-color: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    color: #0f172a !important;
    border-radius: 0.75rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}
.premium-form-light .ff-el-form-control:focus {
    background-color: #ffffff !important;
    border-color: #D4AF37 !important;
    box-shadow: 0 0 0 4px rgba(229, 27, 35, 0.1) !important;
    outline: none !important;
}
.premium-form-light .ff-el-form-control::placeholder {
    color: #94a3b8 !important;
}
.premium-form-light .ff-el-input--label label {
    color: #64748b !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.5rem !important;
}
.premium-form-light .ff-btn-submit {
    width: 100% !important;
    height: 3.5rem !important;
    background: linear-gradient(135deg, #D4AF37 0%, #9A7209 100%) !important;
    border: none !important;
    border-radius: 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    letter-spacing: 0.15em !important;
    box-shadow: 0 10px 25px -5px rgba(229, 27, 35, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
}
.premium-form-light .ff-btn-submit:hover {
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 15px 30px -5px rgba(229, 27, 35, 0.5) !important;
}
.premium-form-light .ff_form_instance_1 .ff-message-success {
    background-color: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #16a34a !important;
    border-radius: 1rem !important;
    padding: 1.5rem !important;
}

/* Mobile Menu Drawer Styles */
#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(100%);
}
#mobile-menu.is-active {
    transform: translateX(0);
}
#mobile-menu-overlay {
    transition: opacity 0.4s ease;
    pointer-events: none;
    opacity: 0;
}
#mobile-menu-overlay.is-active {
    pointer-events: auto;
    opacity: 1;
}

/* Hamburger Button Styles */
.hamburger-box {
    width: 24px;
    height: 18px;
    display: inline-block;
    position: relative;
}
.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: currentColor;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -8px;
}
.hamburger-inner::after {
    bottom: -8px;
}

/* Mobile Navigation - Styling matching Premium aesthetic */
.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #0f172a;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.mobile-nav-link:hover {
    color: #D4AF37;
    padding-left: 0.5rem;
}
/* Submenu (Dropdown) Styles */
.menu-item-has-children {
    position: relative;
}
.sub-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 1rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}
.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sub-menu .menu-item {
    display: block;
    width: 100%;
}
.sub-menu .menu-item a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.2s ease;
}
.sub-menu .menu-item a:hover {
    color: #D4AF37;
    background: rgba(229, 27, 35, 0.04);
    padding-left: 1.75rem;
}
.sub-menu .current-menu-item > a {
    color: #D4AF37 !important;
    background: rgba(229, 27, 35, 0.04);
}

/* Mobile Submenu Styles */
@media (max-width: 767px) {
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0 0 0 1rem;
        margin-top: 0;
        display: none; /* Will toggle via JS or just show all if desired */
    }
    .menu-item-has-children.is-open > .sub-menu {
        display: block;
    }
    #mobile-menu .menu-item-has-children > a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
    #mobile-menu .menu-item-has-children > a::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }
    #mobile-menu .menu-item-has-children.is-open > a::after {
        transform: rotate(180deg);
        color: #D4AF37;
    }
}

/* Active Menu Highlight (Color Only) */
.current-menu-item > a,
.current-menu-ancestor > a {
    color: #D4AF37 !important;
}

/* Mobile Menu Items Specifically */
#mobile-menu .menu-item a {
    display: block;
    padding: 1.15rem 0;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #0f172a;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
}
#mobile-menu .menu-item a:hover {
    color: #e51b23;
    padding-left: 0.5rem;
}

/* Ensure no padding interference for the arrow */
@media (max-width: 767px) {
    #mobile-menu .menu-item-has-children > a {
        padding-right: 1.5rem;
    }
}

/* ===== Single post content — bảng + p + heading (24/07/2026) ===== */
.single .prose,
article .prose,
.prose {
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.prose > p {
  margin: 0 0 1.25rem;
  color: #475569;
}

.prose > p:first-of-type {
  font-size: 1.125rem;
  color: #334155;
}

.prose h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #0f172a;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #e2e8f0;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0b2046;
  margin: 1.75rem 0 0.75rem;
  line-height: 1.35;
}

.prose h2 + p,
.prose h3 + p {
  margin-top: 0.5rem;
}

.prose a {
  color: #D4AF37;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: #0b2046;
}

.prose ul,
.prose ol {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}
.prose li {
  margin: 0.4rem 0;
  padding-left: 0.25rem;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: #D4AF37; }

.prose .table-wrap {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.75rem 0 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.35);
  border: 1px solid #e2e8f0;
  background: #fff;
}

.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 1.75rem 0 2rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.35);
  border: 1px solid #e2e8f0;
  background: #fff;
}

.prose .table-wrap table {
  margin: 0;
  box-shadow: none;
  border: none;
  border-radius: 0;
  min-width: 560px;
}

.prose thead th {
  background: linear-gradient(180deg, #0b2046 0%, #12305f 100%);
  color: #fff !important;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.95rem 1.1rem;
  white-space: nowrap;
  border: none;
}

.prose tbody td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: top;
  background: #fff;
}

.prose tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.prose tbody tr:hover td {
  background: #fff7ed;
}

.prose tbody tr:last-child td {
  border-bottom: none;
}

.prose tbody td:first-child {
  font-weight: 700;
  color: #0f172a;
}

.prose figure {
  margin: 1.75rem 0 2rem;
}
.prose figure img {
  border-radius: 1rem;
  box-shadow: 0 12px 40px -20px rgba(15, 23, 42, 0.45);
  height: auto;
  max-width: 100%;
}
.prose figcaption {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  color: #64748b;
  font-style: italic;
  text-align: center;
}

.prose strong {
  color: #0f172a;
  font-weight: 800;
}
.prose em {
  color: #475569;
}

@media (max-width: 640px) {
  .prose table {
    font-size: 0.875rem;
  }
  .prose thead th,
  .prose tbody td {
    padding: 0.75rem 0.85rem;
  }
}


/* ===== FAQ accordion chuẩn site (.lhag-faq) ===== */
.lhag-faq {
  margin: 1.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lhag-faq__item {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px -18px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.lhag-faq__item.is-open {
  border-color: rgba(229, 27, 35, 0.35);
  box-shadow: 0 14px 32px -18px rgba(229, 27, 35, 0.25);
}
.lhag-faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  text-align: left;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.4;
  color: #0f172a;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.lhag-faq__q:hover { color: #D4AF37; }
.lhag-faq__q:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}
.lhag-faq__icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: #64748b;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.lhag-faq__item.is-open .lhag-faq__icon {
  transform: rotate(45deg);
  background: #D4AF37;
  border-color: #D4AF37;
  color: #fff;
}
.lhag-faq__a {
  padding: 0 1.15rem 1.15rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
  border-top: 1px solid #f1f5f9;
}
.lhag-faq__a p {
  margin: 0.85rem 0 0;
  color: #475569;
}
.lhag-faq__a a {
  color: #D4AF37;
  font-weight: 600;
}
.lhag-faq__a[hidden] {
  display: none !important;
}



/* ==========================================================================
   PREMIUM SEPARATED PAGINATION COMPONENT (123WEBSITE)
   ========================================================================== */

ul.page-numbers,
.lhag-pagination,
.news-pagination,
.nav-links,
div.col-span-full ul {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 40px 0 0 0 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    list-style: none !important;
}

ul.page-numbers > li,
.lhag-pagination > li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    list-style: none !important;
}

ul.page-numbers > li > a,
ul.page-numbers > li > span,
.lhag-pagination a,
.lhag-pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

ul.page-numbers > li > a:hover,
.lhag-pagination a:hover {
    background-color: #f8fafc !important;
    border-color: #0052cc !important;
    color: #0052cc !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.18) !important;
}

ul.page-numbers > li > span.current,
.lhag-pagination span.current {
    background-color: #0052cc !important;
    border-color: #0052cc !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35) !important;
    transform: scale(1.05) !important;
}

ul.page-numbers > li > span.dots {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #94a3b8 !important;
}


/* ==========================================================================
   WORDPRESS ADMIN BAR OFFSET FIX FOR LOGGED-IN USERS (123WEBSITE)
   ========================================================================== */

@media screen and (min-width: 783px) {
    body.admin-bar header,
    body.admin-bar .site-header,
    body.admin-bar #site-header,
    body.admin-bar nav.fixed,
    body.admin-bar header.fixed,
    body.admin-bar header.top-0 {
        top: 32px !important;
    }
}

@media screen and (max-width: 782px) {
    body.admin-bar header,
    body.admin-bar .site-header,
    body.admin-bar #site-header,
    body.admin-bar nav.fixed,
    body.admin-bar header.fixed,
    body.admin-bar header.top-0 {
        top: 46px !important;
    }
}


/* ===== [DND-17] Nut mo submenu tren menu mobile (12/08/2026) =====
   Mui ten truoc day la ::after cua the <a> nen khong the cham rieng.
   Tach thanh nut that: cham chu thi vao trang, cham mui ten thi mo submenu. */
@media (max-width: 767px) {
    #mobile-menu .menu-item-has-children {
        position: relative;
    }
    /* Chua cho nut, ghi de padding-right 1.5rem o rule phia tren */
    #mobile-menu .menu-item-has-children > a {
        padding-right: 3rem;
        justify-content: flex-start;
    }
    /* Bo mui ten cu tren the <a> */
    #mobile-menu .menu-item-has-children > a::after {
        content: none;
    }
    #mobile-menu .submenu-toggle {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        padding: 1.15rem 0;
        line-height: 1;
        background: none;
        border: 0;
        cursor: pointer;
        color: #0f172a;
        -webkit-tap-highlight-color: transparent;
    }
    #mobile-menu .submenu-toggle::before {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }
    #mobile-menu .menu-item-has-children.is-open > .submenu-toggle::before {
        transform: rotate(180deg);
        color: #D4AF37;
    }
}