/* ==============================================
   NOTO SERIF - SINGLE FONT SYSTEM
   ============================================== */

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Override tất cả fonts thành Noto Serif */
* {
    font-family: 'Noto Serif', serif !important;
}

/* Body và base elements */
body,
html,
.wp-site-blocks {
    font-family: 'Noto Serif', serif !important;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* Headings hierarchy */
h1, .h1,
.wp-block-heading h1 {
    font-family: 'Noto Serif', serif !important;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
}

h2, .h2,
.wp-block-heading h2 {
    font-family: 'Noto Serif', serif !important;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.3;
}

h3, .h3,
.wp-block-heading h3 {
    font-family: 'Noto Serif', serif !important;
    font-weight: 600;
    font-size: 1.75rem;
    line-height: 1.3;
}

h4, .h4,
.wp-block-heading h4 {
    font-family: 'Noto Serif', serif !important;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.4;
}

h5, .h5,
.wp-block-heading h5 {
    font-family: 'Noto Serif', serif !important;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.4;
}

h6, .h6,
.wp-block-heading h6 {
    font-family: 'Noto Serif', serif !important;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Content elements */
p, span, div, li, td, th,
.wp-block-paragraph,
.wp-block-list {
    font-family: 'Noto Serif', serif !important;
    font-weight: 400;
}

/* Navigation */
.wp-block-navigation,
.wp-block-navigation-link,
nav, .nav,
.navbar, .menu {
    font-family: 'Noto Serif', serif !important;
    font-weight: 500;
}

/* Buttons */
button, .button, .btn,
.wp-block-button,
.wp-element-button {
    font-family: 'Noto Serif', serif !important;
    font-weight: 600;
}

/* Form elements - cũng dùng Noto Serif */
input, textarea, select,
.form-control, .form-select {
    font-family: 'Noto Serif', serif !important;
    font-weight: 400;
}

/* Labels */
label, .form-label {
    font-family: 'Noto Serif', serif !important;
    font-weight: 500;
}

/* Text styling */
em, i {
    font-style: italic;
    font-family: 'Noto Serif', serif !important;
}

strong, b {
    font-weight: 700;
    font-family: 'Noto Serif', serif !important;
}

/* Blockquotes */
blockquote,
.wp-block-quote {
    font-family: 'Noto Serif', serif !important;
    font-style: italic;
    font-size: 1.125em;
    font-weight: 400;
}

/* Tables */
table, th, td {
    font-family: 'Noto Serif', serif !important;
}

/* Code - exception, monospace */
code, pre, .code,
.wp-block-code {
    font-family: 'SF Mono', 'Monaco', 'Consolas', 'Courier New', monospace !important;
}

/* WordPress specific */
.wp-block-site-title,
.wp-block-site-tagline {
    font-family: 'Noto Serif', serif !important;
}

/* Override any remaining system fonts */
.system-font,
.sans-serif,
.pt-sans,
.gruenetypeneue {
    font-family: 'Noto Serif', serif !important;
}

/*Điều chỉnh lại font của themes*/
#topmenu-container{
    max-height: 32px;
}
.bg-primary{
    background-color: rgb(255, 255, 255) !important;
}
.navbar-light .navbar-nav .nav-link{
    color: #ffffff !important;
}
.nk-top-menu h1{
    font-size: 18px;
    padding-top: 10px;
}
.topmenu{
    background: #eb7b25;
}
.navbar-nk-color{
    background:#2547a9;
}
#mainmenu-container .navbar-nav .menu-item {
    padding-right: 15px;
    border-right: 1px solid #ececec;
}

#mainmenu-container .navbar-nav .menu-item:last-child {
    border-right: none;
    margin-right: 0;
}
/* Custom Dropdown Menu Styles */
.navbar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
    margin-right: 20px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease;
    border-radius: 4px;
}

/* Dropdown specific styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.dropdown.active .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 260px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 5px 10px;
    color: #333;
    text-decoration: none;
    display: block;
    border-radius: 0;
    font-size: 16px;
}

/* Active menu item */
.nav-item.current-menu-item .nav-link {
    color: #007bff;
    font-weight: 600;
}
/* Phone Container Styles */
.phone-container {
    display: flex;
    align-items: center;
    margin-left: auto; /* đẩy về phải */
}

.phone-box {
    background: rgba(255, 255, 255, 0.9);
    border: 1px dashed #eb7b25;
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.phone-box i {
    color: #eb7b25; /* Màu cam nổi bật thương hiệu */
    font-size: 18px;
    background-color: rgba(235, 123, 37, 0.1); /* nền nhẹ */
    padding: 6px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.phone-number {
    color: #00009E;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #eb7b25;
}