/*
Theme Name: SMP Theme
Theme URI: https://yourdomain.com/
Author: SMP Developer
Description: Theme tối giản quản lý bố cục, header, footer, menu và sidebar qua Customizer.
Version: 2.5.1
License: GNU General Public License v2 or later
Text Domain: smptheme
*/

/* ===========================================
   BASE RESET
=========================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: Arial, sans-serif;
    margin: 0; padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.7; /* default — ghi đè bởi wp_add_inline_style */
    transition: background-color 0.2s;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* ===========================================
   CONTAINER
=========================================== */
.container {
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    /* max-width inject từ Customizer */
}

/* ===========================================
   TOP BAR
=========================================== */
.site-top-bar {
    width: 100%;
    font-size: 0.85em;
    line-height: 1.4;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.top-bar-text { flex: 1 1 auto; }
.top-bar-text a { color: inherit; text-decoration: underline; }
.top-bar-widget { flex-shrink: 0; }
.topbar-widget-item .widget-title { display: none; }

/* ===========================================
   HEADER
=========================================== */
header {
    background: #23282d;
    color: #fff;
    position: relative;
    z-index: 900;
    /* padding inject từ Customizer */
}

/* Sticky Header */
header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}
body.has-sticky-header { padding-top: var(--header-height, 80px); }

/* Header layout: logo trái + menu phải (default) */
.header-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    /* padding inject từ Customizer */
}

/* Logo */
.site-branding { flex-shrink: 0; }
.site-branding a { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.site-logo img { max-height: 60px; width: auto; display: block; }
.site-branding-text h1 { margin: 0; font-size: 1.4em; line-height: 1.2; }
.site-branding-text p  { margin: 3px 0 0; font-size: 0.8em; opacity: 0.7; }

.header-custom-widget { font-size: 0.9em; flex-shrink: 0; }

/* ===========================================
   NAVIGATION — Menu chính
=========================================== */
.main-navigation { flex: 1; }

/* Layout: logo trái — menu phải */
.header-layout-logo-left .main-navigation { display: flex; justify-content: flex-end; }
.header-layout-logo-left .header-extras   { flex-shrink: 0; }

/* Layout: logo trái — menu trái (logo + menu kề nhau, extras đẩy về phải) */
.header-layout-logo-left-menu-left .header-wrap         { justify-content: flex-start; }
.header-layout-logo-left-menu-left .site-branding       { flex-shrink: 0; margin-right: 6px; }
.header-layout-logo-left-menu-left .main-navigation     { flex: 0 0 auto; }
.header-layout-logo-left-menu-left .header-extras       { margin-left: auto; flex-shrink: 0; }
.header-layout-logo-left-menu-left .nav-toggle          { margin-left: auto; }

/* Layout: logo giữa — menu dưới */
.header-layout-logo-center .header-wrap    { flex-direction: column; text-align: center; }
.header-layout-logo-center .site-branding  { width: 100%; justify-content: center; display: flex; }
.header-layout-logo-center .main-navigation { width: 100%; }
.header-layout-logo-center nav ul          { justify-content: center; }
.header-layout-logo-center .header-extras  { width: 100%; justify-content: center; }

/* Layout: menu trái — logo giữa */
.header-layout-menu-left .header-wrap           { justify-content: space-between; }
.header-layout-menu-left .site-branding         { order: 2; margin: 0 auto; }
.header-layout-menu-left .main-navigation       { order: 1; flex: none; }
.header-layout-menu-left .header-extras         { order: 3; flex-shrink: 0; }

/* ===========================================
   HEADER EXTRAS — Search / Hotline / Social
=========================================== */
.header-extras {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Search */
.header-search-form {
    display: flex;
    align-items: center;
    background: var(--search-bg, #ffffff);
    border: 1px solid var(--search-border, #dddddd);
    border-radius: 20px;
    overflow: hidden;
    transition: background 0.2s, border-color 0.2s;
}
.header-search-form:focus-within {
    background: var(--search-focus-bg, #f5f5f5);
    border-color: var(--search-border, #dddddd);
}
.header-search-form input[type="search"] {
    background: transparent;
    border: none;
    outline: none;
    color: var(--search-text, #333333);
    padding: 6px 10px 6px 14px;
    font-size: 0.88em;
    width: 160px;
    min-width: 0;
}
.header-search-form input[type="search"]::placeholder { color: var(--search-placeholder, #999); }
.header-search-form button {
    background: transparent;
    border: none;
    color: var(--search-text, #333333);
    cursor: pointer;
    padding: 6px 12px 6px 4px;
    display: flex;
    align-items: center;
    transition: color 0.2s, opacity 0.2s;
}
.header-search-form button:hover { opacity: 0.7; }

/* Hotline */
.hotline-link {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: var(--hotline-text, #ffffff);
    white-space: nowrap;
    transition: opacity 0.2s;
}
.hotline-link:hover { opacity: 0.8; }
.hotline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    background: var(--hotline-bg, #e8f5e9);
    border-radius: 50%;
    flex-shrink: 0;
    color: var(--hotline-icon-color, #2e7d32);
}
.hotline-text { display: flex; flex-direction: column; line-height: 1.2; }
.hotline-label { font-size: 0.72em; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.04em; }
.hotline-number { font-size: 0.95em; font-weight: 600; }

/* Social Icons */
.header-socials {
    display: flex;
    align-items: center;
    gap: 6px;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--social-icon-bg, #3b5998);
    color: var(--social-icon-color, #ffffff);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}
.social-icon:hover {
    background: var(--social-icon-hover-bg, #2d4373);
    transform: translateY(-2px);
}
.social-icon svg { display: block; }

/* --- Nav UL Level 1 --- */
nav ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

nav ul li { position: relative; }

nav ul li a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.95em;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.18s, color 0.18s;
    /* color inject từ Customizer */
}

nav ul li a:hover,
nav ul li.current-menu-item > a,
nav ul li.current-menu-ancestor > a {
    /* bg + color inject từ Customizer */
}

/* Mũi tên dropdown */
nav ul li.menu-item-has-children > a::after {
    content: '▾';
    font-size: 0.75em;
    margin-left: 2px;
    opacity: 0.7;
    transition: transform 0.2s;
}
nav ul li.menu-item-has-children:hover > a::after,
nav ul li.menu-item-has-children.is-open > a::after {
    transform: rotate(180deg);
}

/* --- Dropdown Sub-menu --- */
nav ul .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    z-index: 9999;
    padding: 6px 0;
    flex-direction: column;
    gap: 0;
    animation: fadeInDown 0.15s ease;
}
nav ul li:hover > .sub-menu,
nav ul li.is-open > .sub-menu { display: flex; }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

nav ul .sub-menu li { width: 100%; }
nav ul .sub-menu li a {
    color: #333 !important;
    padding: 8px 16px;
    border-radius: 0;
    font-weight: 400;
    font-size: 0.9em;
    background: transparent;
}
nav ul .sub-menu li a:hover { background: #f5f5f5; color: #000 !important; }

/* Sub-sub-menu (level 3) */
nav ul .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
}
nav ul .sub-menu li.menu-item-has-children > a::after { content: '›'; }

/* Highlight trang hiện tại */
nav ul li.current-menu-item > a {
    font-weight: 600;
}

/* --- Hamburger button --- */
.nav-toggle {
    display: none;
    background: var(--toggle-bg, transparent);
    border: 2px solid var(--toggle-border, rgba(255,255,255,0.7));
    color: var(--toggle-color, #fff);
    padding: 6px 11px;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 5px;
    line-height: 1;
    flex-shrink: 0;
    margin-left: auto;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.nav-toggle:hover {
    background: var(--toggle-hover-bg, rgba(255,255,255,0.15));
    border-color: var(--toggle-border, #fff);
    color: var(--toggle-hover-color, #fff);
}

/* ===========================================
   LAYOUT — Boxed / Full-width
=========================================== */
body.layout-boxed .site-wrap {
    overflow: hidden;
    /* max-width + shadow inject */
}
body.layout-fullwidth .site-wrap { max-width: 100%; box-shadow: none; }

/* ===========================================
   LAYOUT — Main + Sidebar
=========================================== */
.main-content {
    display: flex;
    margin-top: 30px;
    gap: 30px;
}
.layout-sidebar-right  { flex-direction: row; }
.layout-sidebar-left   { flex-direction: row-reverse; }
.layout-no-sidebar .site-sidebar { display: none; }
.layout-no-sidebar .site-main { flex: 0 0 100%; max-width: 100%; }

.site-main {
    flex: 1; min-width: 0;
    background: #fff;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: var(--border-radius, 6px);
}
.site-sidebar {
    flex: 0 0 300px; width: 300px;
    background: #fff;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: var(--border-radius, 6px);
}

/* ===========================================
   BREADCRUMB
=========================================== */
.smptheme-breadcrumb {
    padding: 10px 0;
    font-size: 0.85em;
    color: #888;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.smptheme-breadcrumb a { color: #555; text-decoration: underline; }
.smptheme-breadcrumb a:hover { color: #000; }
.smptheme-breadcrumb .sep { margin: 0 6px; opacity: 0.5; }
.smptheme-breadcrumb .current { color: #333; }

/* ===========================================
   ENTRY META & CONTENT
=========================================== */
.entry-meta { margin-bottom: 15px; color: #666; font-size: 0.9em; }
.entry-content.content-align-left   { text-align: left; }
.entry-content.content-align-center { text-align: center; }
.entry-content.content-align-right  { text-align: right; }

/* ===========================================
   FOOTER
=========================================== */
footer {
    background: #23282d;
    color: #fff;
    margin-top: 30px;
}
.footer-widgets-container {
    display: flex; gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}
.footer-column { flex: 1; min-width: 0; }
.footer-column ul { list-style: none; padding-left: 0; line-height: 1.8; margin: 0; }
.footer-column a { color: #ccc; text-decoration: none; }
.footer-column a:hover { color: #fff; }
.copyright-text { margin: 10px 0; padding: 0 5px; color: #fff; }
.footer-navigation ul {
    list-style: none; padding: 0; margin: 10px 0 0;
    display: flex; flex-wrap: wrap; gap: 12px;
}
.footer-navigation ul li a { color: #ccc; font-size: 0.9em; }
.footer-navigation ul li a:hover { color: #fff; }

/* ===========================================
   BACK TO TOP
=========================================== */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #23282d;
    color: #fff;
    border: none; cursor: pointer;
    font-size: 1.3em; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s, transform 0.25s;
    transform: translateY(10px);
    z-index: 8888;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-2px); }

/* ===========================================
   PRELOADER
=========================================== */
#smp-preloader {
    position: fixed; inset: 0;
    background: #fff;
    z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.4s ease;
}
#smp-preloader.hidden { opacity: 0; pointer-events: none; }
.smp-spinner {
    width: 40px; height: 40px;
    border: 3px solid #e5e5e5;
    border-top-color: #23282d;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===========================================
   RESPONSIVE — Tablet (≤ 900px)
=========================================== */
@media (max-width: 900px) {
    .site-sidebar { flex: 0 0 240px; width: 240px; }
}

/* ===========================================
   RESPONSIVE — Mobile (≤ 768px)
=========================================== */
@media (max-width: 768px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

    /* Khi dùng swipe drawer: ẩn main-navigation trên header */
    body.mobile-menu-drawer .main-navigation { display: none !important; }

    /* Khi dùng dropdown thường: giữ như cũ */
    body:not(.mobile-menu-drawer) .main-navigation {
        width: 100%;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.32s ease;
    }
    body:not(.mobile-menu-drawer) .main-navigation.nav-open { max-height: 800px; }

    /* Reset mọi layout header về dạng column trên mobile */
    .header-wrap { flex-direction: row !important; flex-wrap: wrap; }
    .header-layout-menu-left .site-branding { order: 0; margin: 0; }
    .header-layout-menu-left .main-navigation { order: 2; width: 100%; }
    .header-layout-logo-left-menu-left .main-navigation { order: 2; width: 100%; }
    .header-layout-logo-left-menu-left .header-extras   { margin-left: 0; order: 3; width: 100%; flex-wrap: wrap; }

    /* Header extras trên mobile */
    .header-extras { gap: 8px; width: 100%; padding: 6px 0 4px; }
    .header-search-form input[type="search"] { width: 120px; }
    .hotline-label { display: none; }

    /* Dropdown thường (không phải drawer) */
    body:not(.mobile-menu-drawer) nav ul {
        flex-direction: column; gap: 0;
        border-top: 1px solid rgba(255,255,255,0.12);
        padding-top: 6px; margin-top: 8px;
    }
    body:not(.mobile-menu-drawer) nav ul li a { padding: 10px 12px; border-radius: 4px; border-bottom: 1px solid rgba(255,255,255,0.07); }
    body:not(.mobile-menu-drawer) nav ul .sub-menu {
        position: static; box-shadow: none; border: none; border-radius: 0;
        background: rgba(0,0,0,0.15); padding: 0; margin-left: 16px; animation: none; display: none;
    }
    body:not(.mobile-menu-drawer) nav ul li.is-open > .sub-menu { display: flex; }
    body:not(.mobile-menu-drawer) nav ul li:hover > .sub-menu { display: none; }
    body:not(.mobile-menu-drawer) nav ul .sub-menu li a { color: rgba(255,255,255,0.85) !important; font-size: 0.88em; }
    body:not(.mobile-menu-drawer) nav ul .sub-menu .sub-menu { margin-left: 14px; }

    .main-content { flex-direction: column !important; gap: 20px; margin-top: 20px; }
    .site-sidebar { flex: 0 0 auto; width: 100%; }
    .footer-widgets-container { flex-direction: column; gap: 20px; }
    .footer-navigation ul { flex-direction: column; gap: 6px; }
    .top-bar-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
    .top-bar-widget { width: 100%; }
}

/* ===========================================
   MOBILE SWIPE DRAWER MENU
=========================================== */

/* Overlay mờ phía sau drawer */
#smp-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.28s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
#smp-drawer-overlay.is-visible {
    display: block;
    opacity: 1;
}

/* Drawer panel */
#smp-mobile-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    width: var(--drawer-width, 300px);
    max-width: 85vw;
    background: var(--drawer-bg, #23282d);
    color: var(--drawer-text, #ffffff);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Ẩn mặc định */
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), visibility 0.3s;
    will-change: transform;
    box-shadow: 4px 0 24px rgba(0,0,0,0.3);
}

/* Drawer từ trái */
#smp-mobile-drawer[data-direction="ltr"] {
    left: 0;
    right: auto;
    transform: translateX(-100%);
    border-radius: 0 16px 16px 0;
}
/* Drawer từ phải */
#smp-mobile-drawer[data-direction="rtl"] {
    right: 0;
    left: auto;
    transform: translateX(100%);
    border-radius: 16px 0 0 16px;
}

/* Trạng thái mở */
#smp-mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

/* Khóa scroll body khi drawer mở */
body.drawer-open { overflow: hidden; }

/* Header của drawer */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--drawer-border, rgba(255,255,255,0.12));
    flex-shrink: 0;
    min-height: 60px;
}
.drawer-header .drawer-site-name {
    font-size: 1.05em;
    font-weight: 600;
    color: var(--drawer-text, #fff);
    text-decoration: none;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
}
.drawer-header .drawer-site-name img {
    max-height: 36px;
    width: auto;
}

/* Nút đóng X */
#smp-drawer-close {
    background: var(--drawer-border, rgba(255,255,255,0.12));
    border: none;
    color: var(--drawer-text, #fff);
    width: 34px; height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
    line-height: 1;
}
#smp-drawer-close:hover { background: rgba(255,255,255,0.22); }

/* Vùng scroll menu */
.drawer-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
    /* Scrollbar mỏng */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.drawer-body::-webkit-scrollbar { width: 4px; }
.drawer-body::-webkit-scrollbar-track { background: transparent; }
.drawer-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

/* Menu items trong drawer */
#smp-mobile-drawer ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
}
#smp-mobile-drawer ul li {
    position: relative;
    border-bottom: 1px solid var(--drawer-border, rgba(255,255,255,0.07));
}
#smp-mobile-drawer ul li:last-child { border-bottom: none; }

#smp-mobile-drawer ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 20px;
    color: var(--drawer-text, #ffffff);
    text-decoration: none;
    font-size: 0.97em;
    font-weight: 500;
    transition: background 0.15s, padding-left 0.15s;
    line-height: 1.3;
}
#smp-mobile-drawer ul li a:hover,
#smp-mobile-drawer ul li.current-menu-item > a {
    background: var(--drawer-hover-bg, rgba(255,255,255,0.1));
    color: var(--drawer-hover-text, #ffffff);
    padding-left: 26px;
}
#smp-mobile-drawer ul li.current-menu-item > a {
    font-weight: 700;
    border-left: 3px solid var(--drawer-accent, #4a9eff);
}

/* Nút toggle submenu (mũi tên) */
.drawer-submenu-toggle {
    position: absolute;
    right: 0; top: 0;
    height: 48px;
    width: 48px;
    background: transparent;
    border: none;
    color: var(--drawer-text, #fff);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    opacity: 0.6;
    transition: opacity 0.2s;
    z-index: 1;
}
.drawer-submenu-toggle:hover { opacity: 1; }
.drawer-submenu-toggle span {
    display: inline-block;
    transition: transform 0.25s ease;
}

/* Sub-menu accordion */
#smp-mobile-drawer .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--drawer-sub-bg, rgba(0,0,0,0.18));
    display: block !important; /* override desktop display:none */
    flex-direction: column;
}
#smp-mobile-drawer .sub-menu li a {
    padding-left: 34px;
    font-size: 0.9em;
    font-weight: 400;
    opacity: 0.88;
}
#smp-mobile-drawer .sub-menu .sub-menu li a { padding-left: 48px; }

/* Footer drawer (tuỳ chọn) */
.drawer-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--drawer-border, rgba(255,255,255,0.12));
    flex-shrink: 0;
    font-size: 0.8em;
    opacity: 0.55;
    text-align: center;
}

/* Swipe indicator (thanh nhỏ để biết có thể vuốt) */
#smp-mobile-drawer[data-direction="ltr"]::after {
    content: '';
    position: absolute;
    right: -1px; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px 0 0 2px;
}
#smp-mobile-drawer[data-direction="rtl"]::after {
    content: '';
    position: absolute;
    left: -1px; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 0 2px 2px 0;
}

/* Ẩn drawer trên desktop */
@media (min-width: 769px) {
    #smp-mobile-drawer,
    #smp-drawer-overlay { display: none !important; }
}

/* ===========================================
   RESPONSIVE — Small Mobile (≤ 480px)
=========================================== */
@media (max-width: 480px) {
    .container { padding: 0 12px; }
    .site-main, .site-sidebar { padding: 14px; }
    .site-branding-text h1 { font-size: 1.1em; }
    .back-to-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }
    footer { padding-left: 0; padding-right: 0; }
    .copyright-text { font-size: 0.85em; }
}

/* ===========================================
   ACCESSIBILITY
=========================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    #smp-preloader { display: none !important; }
}
