/*
Theme Name: Lap Son Group
Theme URI: https://lapsongroup.vn
Author: Lap Son Group
Author URI: https://lapsongroup.vn
Description: Theme WordPress để hiển thị dữ liệu từ NukeViet CMS - hỗ trợ Products, News, Technical Documents
Version: 1.0.1
Text Domain: lapsongroup
*/

/*
 * Nhịp màu / chữ hướng theo phong cách corporate B2B (tham chiếu skf.com — xanh navy, nền sạch, tương phản rõ)
 */
:root {
    --skf-blue: #003978;
    --skf-blue-mid: #005a9e;
    --skf-blue-dark: #002a52;
    --skf-text: #1d1d1b;
    --skf-text-muted: #53565a;
    --skf-bg-page: #fafbfc;
    --skf-bg-section: #eef2f6;
    --skf-border: #dde2e8;
}

/* Reset & Base Styles */
* {
    margin: 0;
    /* padding: 0; */
    box-sizing: border-box;
}

body {
    font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--skf-text);
    background: #f0f0f08f;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

/* Add padding top to content when header is fixed */
body.has-fixed-header #content.site-content {
    padding-top: var(--header-height, 80px);
}

/* Touch optimization */
a,
button,
input,
textarea,
select {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
}

/* Prevent text size adjust on iOS */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

a {
    color: var(--skf-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--skf-blue-mid);
}

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


.hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .hidden-xs {
        display: none;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .hidden-sm {
        display: none;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    .hidden-md {
        display: none;
    }
}

@media (min-width:1200px) and (max-width:1399px) {
    .hidden-lg {
        display: none;
    }
}

@media (min-width:1400px) {
    .hidden-xl {
        display: none;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow: visible;
    position: relative;
}

/* Prevent horizontal scroll */
html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* ============================================
   HEADER & NAVIGATION - Tất cả thiết bị
   ============================================ */

/* Header */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--skf-border);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Header khi scroll up - hiển thị */
.site-header.sticky-header {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Header khi scroll down - ẩn */
.site-header.hide-header {
    transform: translateY(-100%);
}

/* Thanh header full width */
.site-header__inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 56px);
    box-sizing: border-box;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    position: relative;
    width: 100%;
    gap: 16px;
}

/* Desktop: logo giữa, hai menu trái/phải (Giao diện → Menu header trái / phải) */
@media (min-width: 769px) {
    .header-content--split {
        align-items: center;
        min-height: 56px;
    }

    .header-content--split .main-navigation {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: inherit;
    }

    .header-content--split .main-navigation .nav-pane {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
    }

    /* Menu trái sát mép trái vùng nav; menu phải sát mép phải (chừa khoảng giữa cho logo) */
    .header-content--split .nav-pane--left {
        justify-content: flex-start;
        padding-left: 0;
        padding-right: min(100px, 8vw);
    }

    .header-content--split .nav-pane--right {
        justify-content: flex-end;
        padding-right: 0;
        padding-left: min(100px, 8vw);
    }

    .header-content--split .nav-pane--left>ul,
    .header-content--split .nav-pane--right>ul {
        justify-content: inherit;
    }

    .header-content--split .site-branding {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1002;
        pointer-events: auto;
    }

    .header-content--split .header-actions {
        flex: 0 0 auto;
        margin-left: 0;
    }
}

/* Site Branding - Logo */
.site-branding {
    flex: 0 0 auto;
    z-index: 1002;
}

/* Navigation — hai cột menu */
.main-navigation {
    display: block;
    flex: 1 1 auto;
    text-align: center;
    z-index: 1001;
}

/* Header Actions - Search & Menu Toggle (Right) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    flex: 0 0 auto;
    position: relative;
}

.site-logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--skf-blue);
    margin: 0;
    line-height: 1.2;
}

.site-logo a {
    color: var(--skf-blue);
    text-decoration: none;
    display: inline-block;
}

.site-logo a:hover {
    color: var(--skf-blue-mid);
}

/* Custom Logo */
.site-branding .custom-logo {
    max-height: 50px;
    width: auto;
    height: auto;
}

/* Mobile Menu Toggle */
/* Search Toggle Button */
.search-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 4px;
    z-index: 1001;
    position: relative;
    flex: 0 0 auto;
    line-height: 1;
}

.search-toggle:hover,
.search-toggle:focus {
    color: var(--skf-blue);
    outline: none;
    background: rgba(0, 57, 120, 0.1);
    border-radius: 4px;
}

.search-toggle:active {
    opacity: 0.7;
    transform: scale(0.95);
}

.search-toggle .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: inline-block;
    line-height: 1;
}

.menu-toggle {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
    flex: 0 0 auto;
}

.menu-toggle:hover,
.menu-toggle:focus {
    color: var(--skf-blue);
    outline: none;
    background: rgba(0, 57, 120, 0.1);
    border-radius: 4px;
}

.menu-toggle:active {
    opacity: 0.7;
    transform: scale(0.95);
}

.menu-toggle .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: block;
}

/* Search Form Wrapper - Dropdown */
.search-form-wrapper {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.search-form-wrapper.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.search-form-wrapper .search-form {
    width: 100%;
    min-width: 300px;
    max-width: 400px;
}

.search-form-inner {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-form-inner:focus-within {
    border-color: var(--skf-blue);
    box-shadow: 0 4px 20px rgba(0, 57, 120, 0.2);
}

.search-form-wrapper .search-field {
    flex: 1;
    padding: 12px 18px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background: transparent;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.search-form-wrapper .search-field::placeholder {
    color: #999;
    opacity: 0.7;
}

.search-form-wrapper .search-field:focus {
    outline: none;
}

.search-form-wrapper .search-submit,
.search-form-wrapper .search-close {
    background: none;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    flex-shrink: 0;
}

.search-form-wrapper .search-submit:hover,
.search-form-wrapper .search-close:hover {
    color: var(--skf-blue);
    background: rgba(0, 57, 120, 0.1);
}

.search-form-wrapper .search-submit .dashicons,
.search-form-wrapper .search-close .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Navigation - Desktop */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.main-navigation li {
    margin: 0;
    position: relative;
}

.main-navigation .nav-pane>ul>li {
    display: inline-block;
}

.main-navigation a {
    color: var(--skf-text-muted);
    font-weight: 400;
    padding: 8px 0;
    position: relative;
    text-decoration: none;
    display: block;
    font-size: 16px;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: var(--skf-blue);
    outline: none;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--skf-blue);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a:focus::after {
    width: 100%;
}

/* Current Menu Item */
.main-navigation .current-menu-item>a,
.main-navigation .current-page-item>a,
.main-navigation .current-menu-ancestor>a {
    color: var(--skf-blue);
}

.main-navigation .current-menu-item>a::after,
.main-navigation .current-page-item>a::after,
.main-navigation .current-menu-ancestor>a::after {
    width: 100%;
}

/* Submenu - Desktop */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    display: none;
    z-index: 1000;
    border-radius: 4px;
    margin-top: 5px;
}

.main-navigation li:hover>.sub-menu,
.main-navigation li:focus-within>.sub-menu {
    display: block;
}

.main-navigation .sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
}

.main-navigation .sub-menu a {
    padding: 10px 20px;
    font-size: 14px;
    color: var(--skf-text-muted);
    border-bottom: 1px solid #f0f0f0;
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu a:focus {
    background: rgba(0, 57, 120, 0.06);
    color: var(--skf-blue);
    padding-left: 25px;
}

.main-navigation .sub-menu a::after {
    display: none;
}

.main-navigation .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 5px;
}

/* Submenu Toggle - Desktop (hidden) */
.main-navigation .submenu-toggle {
    display: none;
}

#primary-menu-left>li>a,
#primary-menu-right>li>a {
    text-transform: uppercase;
    font-weight: 500;
}

/* Top info bar (phone, email, social, flag) */
.vt-top__nav {
    background-color: var(--skf-blue-dark);
    color: #fff;
    font-size: 13px;
}

.vt-top__nav .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    height: 32px;
}

.vt-top__nav a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
}

.vt-top__nav a .dashicons {
    margin-right: 5px;
    margin-left: 5px;
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.vt-top__nav a.social {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.vt-top__nav a.social img {
    max-width: 16px;
    max-height: 16px;
}

.vt-top__nav a.lang img {
    width: 24px;
    height: 16px;
    display: block;
}

.vt-top__nav a:hover {
    opacity: 0.9;
}

/* Partners logos slider */
.partners-section {
    margin-top: 40px;
}

.partners-slider {
    margin-top: 15px;
}

.partner-slide {
    padding: 10px;
}

.partner-slide img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    display: block;
    /* filter: grayscale(100%); */
    /* opacity: 0.85; */
    transition: all 0.2s ease;
}

.partner-slide a:hover img,
.partner-slide img:hover {
    filter: none;
    opacity: 1;
}

.partners-section .slick-prev,
.partners-section .slick-next {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.slick-prev::before,
.slick-next::before {
    color: #707070 !important;
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 200px);
    padding: 0px 0;
    position: relative;
    overflow: visible;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--skf-blue) 0%, var(--skf-blue-mid) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 20px;
    opacity: 0.9;
}

/* Hero Slider Section */
.hero-slider-section {
    margin-bottom: 0px;
    position: relative;
}

.hero-slider {
    position: relative;
    width: 100%;
    min-height: 600px;
}

/* Ensure first slide is visible before Slick initializes */
.hero-slider:not(.slick-initialized) .hero-slide {
    position: relative;
    height: 600px;
    overflow: hidden;
    width: 100%;
    display: block;
}

/* Hide all slides except first before initialization */
.hero-slider:not(.slick-initialized) .hero-slide:not(:first-child) {
    display: none;
}

/* After Slick initializes with fade effect */
.hero-slider.slick-initialized {
    height: 600px;
}

.hero-slider.slick-initialized .slick-list,
.hero-slider.slick-initialized .slick-track {
    height: 100%;
}

.hero-slider.slick-initialized .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-slider.slick-initialized .hero-slide.slick-active {
    position: relative;
    opacity: 1;
    z-index: 2;
}

.hero-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: block;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    min-height: 600px;
}

.hero-slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.hero-slide-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-slide-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-slide-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--skf-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: none;
    border: 2px solid var(--skf-blue);
}

.hero-slide-button:hover {
    background: var(--skf-blue-mid);
    border-color: var(--skf-blue-mid);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Slick Slider Customization */
.hero-slider .slick-dots {
    bottom: 30px;
    z-index: 3;
}

.hero-slider .slick-dots li {
    margin: 0 5px;
}

.hero-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 0;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider .slick-dots li button::before {
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    display: none !important;
    visibility: hidden !important;
}

.hero-slider .slick-dotted.slick-slider {
    margin-bottom: 0 !important;
}

.hero-slider .slick-dots li button:hover,
.hero-slider .slick-dots li.slick-active button {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

.hero-slider .slick-arrow {
    z-index: 3;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-slider .slick-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.hero-slider .slick-arrow:focus {
    outline: none;
}

.hero-slider .slick-arrow:before {
    display: none;
}

.hero-slider .slick-prev {
    left: 30px;
}

.hero-slider .slick-next {
    right: 30px;
}

.hero-slider .slick-arrow .dashicons {
    color: #fff;
    font-size: 24px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive Hero Slider - Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-slider {
        min-height: 500px;
    }

    .hero-slider:not(.slick-initialized) .hero-slide {
        height: 500px;
    }

    .hero-slider.slick-initialized {
        height: 500px;
    }

    .hero-slide-image img {
        min-height: 500px;
    }

    .hero-slide-title {
        font-size: 40px;
    }

    .hero-slide-description {
        font-size: 18px;
    }

    .hero-slider .slick-arrow {
        width: 45px;
        height: 45px;
    }

    .hero-slider .slick-prev {
        left: 20px;
    }

    .hero-slider .slick-next {
        right: 20px;
    }
}

/* Responsive Hero Slider - Mobile Tablet (481px - 768px) */
@media (max-width: 768px) {
    .hero-slider-section {
        margin-bottom: 40px;
    }

    .hero-slider {
        min-height: 450px;
    }

    .hero-slider:not(.slick-initialized) .hero-slide {
        height: 450px;
    }

    .hero-slider.slick-initialized {
        height: 450px;
    }

    .hero-slide-image img {
        min-height: 450px;
    }

    .hero-slide-content {
        padding: 30px 20px;
    }

    .hero-slide-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-slide-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-slide-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* Hide arrows on mobile */
    .hero-slider .slick-arrow {
        display: none !important;
    }

    .hero-slider .slick-dots {
        bottom: 20px;
    }

    .hero-slider .slick-dots li button {
        width: 10px;
        height: 10px;
    }
}

/* Responsive Hero Slider - Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-slider-section {
        margin-bottom: 30px;
    }

    .hero-slider {
        min-height: 350px;
    }

    .hero-slider:not(.slick-initialized) .hero-slide {
        height: 350px;
    }

    .hero-slider.slick-initialized {
        height: 350px;
    }

    .hero-slide-image img {
        min-height: 350px;
    }

    .hero-slide-content {
        padding: 20px 15px;
    }

    .hero-slide-title {
        font-size: 24px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .hero-slide-description {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .hero-slide-button {
        padding: 10px 25px;
        font-size: 14px;
    }

    .hero-slider .slick-dots {
        bottom: 15px;
    }

    .hero-slider .slick-dots li {
        margin: 0 3px;
    }

    .hero-slider .slick-dots li button {
        width: 8px;
        height: 8px;
        border-width: 1px;
    }
}

/* Very small mobile devices (max-width: 360px) */
@media (max-width: 360px) {
    .hero-slider {
        min-height: 300px;
    }

    .hero-slider:not(.slick-initialized) .hero-slide {
        height: 300px;
    }

    .hero-slider.slick-initialized {
        height: 300px;
    }

    .hero-slide-image img {
        min-height: 300px;
    }

    .hero-slide-title {
        font-size: 20px;
    }

    .hero-slide-description {
        font-size: 13px;
    }
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 12px;
    /* border-bottom: 2px solid var(--skf-blue); */
    gap: 20px;
}

/* Section Titles */
.section-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    border: none;
    color: var(--skf-text);
    flex: 1;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

/* Section title khi không có section-header (backward compatibility) */
section>.section-title {
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--skf-blue);
}

.btn-section-link {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--skf-blue);
    background: none;
    border: none;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-section-link:hover {
    color: var(--skf-blue-mid);
    text-decoration: underline;
}

.btn-section-link::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-section-link:hover::after {
    transform: translateX(3px);
}

/* Trang chủ — phân tách section: nhịp trắng + chữ (section trực tiếp trong .site-main; .container bên trong section) */
.site-main > section.products-section,
.site-main > section.news-section,
.site-main > section.technical-docs-section,
.site-main > section.posts-section,
.site-main > section.certifications-section,
.site-main > section.partners-section {
    margin: 0;
    padding: 0 0 3.25rem;
}

.site-main > section.products-section:not(:first-child),
.site-main > section.news-section:not(:first-child),
.site-main > section.technical-docs-section:not(:first-child),
.site-main > section.posts-section:not(:first-child),
.site-main > section.certifications-section:not(:first-child),
.site-main > section.partners-section:not(:first-child) {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* Dải nền xen kẽ: sau hero, khối lẻ thứ tự 3,5,7… (tin / bài / đối tác); khối chẵn 2,4,6… (sản phẩm / tài liệu / chứng nhận) nền trong */
.site-main > section:nth-child(odd):not(.hero-slider-section):not(.hero-section) {
    background: var(--skf-bg-section);
    padding: 2rem 0 3.25rem;
}

.site-main > section.products-section .section-header,
.site-main > section.news-section .section-header,
.site-main > section.technical-docs-section .section-header,
.site-main > section.certifications-section .section-header,
.site-main > section.partners-section .section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
    gap: 1rem;
}

.site-main > section.products-section .section-header .section-title,
.site-main > section.news-section .section-header .section-title,
.site-main > section.technical-docs-section .section-header .section-title,
.site-main > section.certifications-section .section-header .section-title,
.site-main > section.partners-section .section-header .section-title {
    font-size: clamp(1.375rem, 2.8vw, 1.875rem);
    font-weight: 600;
    color: var(--skf-text);
    letter-spacing: -0.03em;
    line-height: 1.25;
    padding-left: 0;
    border-left: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.site-main > section.posts-section .container > .section-title {
    font-size: clamp(1.375rem, 2.8vw, 1.875rem);
    font-weight: 600;
    color: var(--skf-text);
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    padding-left: 0;
    border-left: none;
    border-bottom: none;
    border-top: none;
    padding-bottom: 0;
}

/* Trang chủ — template cũ: một .container bọc toàn bộ section (không có hero trong container) */
.site-main > .container > section.products-section,
.site-main > .container > section.news-section,
.site-main > .container > section.technical-docs-section,
.site-main > .container > section.posts-section,
.site-main > .container > section.certifications-section,
.site-main > .container > section.partners-section {
    margin: 0;
    padding: 0 0 3.25rem;
}

.site-main > .container > section.products-section:not(:first-child),
.site-main > .container > section.news-section:not(:first-child),
.site-main > .container > section.technical-docs-section:not(:first-child),
.site-main > .container > section.posts-section:not(:first-child),
.site-main > .container > section.certifications-section:not(:first-child),
.site-main > .container > section.partners-section:not(:first-child) {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.site-main > .container > section:nth-of-type(even) {
    background: var(--skf-bg-section);
    padding: 2rem 1.25rem 3.25rem;
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 2px;
}

.site-main > .container > section:nth-of-type(odd) {
    background: transparent;
}

@media (min-width: 768px) {

    .site-main > .container > section:nth-of-type(even) {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }
}

.site-main > .container > section .section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
    gap: 1rem;
}

.site-main > .container > section .section-header .section-title {
    font-size: clamp(1.375rem, 2.8vw, 1.875rem);
    font-weight: 600;
    color: var(--skf-text);
    letter-spacing: -0.03em;
    line-height: 1.25;
    padding-left: 0;
    border-left: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.site-main > .container > section.posts-section > .section-title {
    font-size: clamp(1.375rem, 2.8vw, 1.875rem);
    font-weight: 600;
    color: var(--skf-text);
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    padding-left: 0;
    border-left: none;
    border-bottom: none;
    border-top: none;
    padding-bottom: 0;
}

/* Post Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 60px;
}

/* Certifications Section */
.certifications-section {
    margin-bottom: 60px;
}

.certifications-gallery:not(.swiper) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.certification-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.certification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.certification-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.certification-item:hover img {
    transform: scale(1.05);
}

/* Trang chủ — Swiper (sections sản phẩm, tin, tài liệu, bài viết, chứng nhận) */
.home-section-swiper {
    position: relative;
    width: 100%;
    padding: 4px 0 44px;
    margin: 0;
    --swiper-navigation-color: var(--skf-blue);
    --swiper-pagination-color: var(--skf-blue);
    --swiper-pagination-bullet-inactive-color: #c5d4e8;
    --swiper-pagination-bullet-inactive-opacity: 1;
}

.home-section-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.home-section-swiper .swiper-slide .post-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.home-section-swiper .swiper-button-prev,
.home-section-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    margin-top: 0;
    top: 40%;
}

.home-section-swiper .swiper-button-prev::after,
.home-section-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: 600;
}

.home-section-swiper .swiper-pagination {
    bottom: 8px !important;
}

.certifications-section .home-certifications-swiper {
    margin-top: 30px;
}

.certifications-section .home-certifications-swiper .swiper-slide {
    height: auto;
}

@media (max-width: 575px) {

    .home-section-swiper .swiper-button-prev,
    .home-section-swiper .swiper-button-next {
        display: none;
    }
}

/* Responsive Grid - Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    /* Điều chỉnh số cột trên tablet: tối đa 2 cột */
    .posts-grid[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Archive page: 3 cột trên tablet (trừ tin tức — dùng inline / mobile) */
    .archive-posts-grid:not(.news-archive__grid):not(.technical-doc-archive__grid) {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Certifications Gallery - Tablet: 2 cột (không dùng swiper) */
    .certifications-gallery:not(.swiper) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px;
    }
}

.post-card {
    /* background: #fff//;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
	*/
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    /* transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;*/
}

.post-thumbnail {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #f0f0f0;
}

.post-content {
    padding: 10px 0;
}

.post-title {
    font-size: 20px;
    line-height: 1.4;
    padding-bottom: 5px;
    padding-top: 5px;
    border-top: 1px solid #339;
}

.post-title a {
    color: #333;
    display: block;
}

.post-title a:hover {
    color: var(--skf-blue);
}

.post-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    /* display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.6em * 4); */
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
    line-height: 1.6;
    max-height: calc(1.6em * 4);
    overflow: hidden;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.post-categories {
    margin-top: 15px;
}

.post-categories a {
    display: inline-block;
    background: #f0f6fc;
    color: var(--skf-blue);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.post-categories a:hover {
    background: var(--skf-blue);
    color: #fff;
}

.read-more {
    display: inline-block;
    color: var(--skf-blue);
    font-weight: 400;
    margin-top: 10px;
}

.read-more:hover {
    color: var(--skf-blue-mid);
}

/* Single Post */
.single-post-header {
    margin-bottom: 40px;
}

.single-post-title {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.single-post-meta {
    display: flex;
    gap: 20px;
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.single-post-thumbnail {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
}

.post-content-area {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.post-content-area h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: #333;
}

.post-content-area h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #333;
}

.post-content-area p {
    margin-bottom: 20px;
}

.post-content-area img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.post-content-area ul,
.post-content-area ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content-area li {
    margin-bottom: 10px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

table thead {
    background: linear-gradient(135deg, var(--skf-blue) 0%, var(--skf-blue-mid) 100%);
    color: #fff;
}

table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

table thead th:first-child {
    border-top-left-radius: 8px;
}

table thead th:last-child {
    border-top-right-radius: 8px;
}

table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

table tbody tr:hover {
    background-color: #f8f9fa;
}

table tbody tr:last-child {
    border-bottom: none;
}

table tbody td {
    padding: 14px 20px;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    vertical-align: top;
    border-right: 1px solid #f0f0f0;
}

table tbody td:first-child {
    font-weight: 400;
    color: #333;
}

table tfoot {
    background: #f8f9fa;
    border-top: 2px solid #e0e0e0;
}

table tfoot td {
    padding: 14px 20px;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

/* Table with borders */
table.bordered {
    border: 1px solid #e0e0e0;
}

table.bordered th,
table.bordered td {
    border: 1px solid #e0e0e0;
}

/* Striped table */
table.striped tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

table.striped tbody tr:nth-child(even):hover {
    background-color: #f0f6fc;
}

/* Compact table */
table.compact th,
table.compact td {
    padding: 10px 15px;
    font-size: 14px;
}

/* Table alignment */
table th.text-center,
table td.text-center {
    text-align: center;
}

table th.text-right,
table td.text-right {
    text-align: right;
}

/* Table in post content area */
.post-content-area table {
    margin: 30px 0;
}

.post-content-area table th {
    background: linear-gradient(135deg, var(--skf-blue) 0%, var(--skf-blue-mid) 100%);
}

/* Archive — Tin tức (full width) */
.site-main--news-archive {
    width: 100%;
    max-width: 100%;
}

.news-archive-wrap {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 32px clamp(16px, 4vw, 56px) 48px;
    box-sizing: border-box;
}

.news-archive__header.archive-header {
    margin-bottom: 36px;
}

/* Bootstrap row — thẻ card căng chiều cao cột */
.news-archive__row .col,
.technical-doc-archive__row .col,
.product-archive__row .col {
    display: flex;
}

.news-archive__row .col .post-card,
.technical-doc-archive__row .col .post-card,
.product-archive__row .col .post-card {
    flex: 1 1 auto;
    width: 100%;
}

@media (min-width: 992px) {
    /* Fallback đảm bảo luôn 5 cột ở lg+ dù class row-cols-lg-5 không có hiệu lực */
    .news-archive__row > .col,
    .technical-doc-archive__row > .col{
        flex: 0 0 25%;
        width: 25%;
        max-width: 25%;
    }
    .product-archive__row > .col {
        flex: 0 0 20%;
        width: 20%;
        max-width: 20%;
    }
}

/* Archive — Sản phẩm (full width) */
.site-main--product-archive {
    width: 100%;
    max-width: 100%;
}

.product-archive-wrap {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 32px clamp(16px, 4vw, 56px) 48px;
    box-sizing: border-box;
}

.product-archive__header.archive-header {
    margin-bottom:1px;
}

.product-categories-tree {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.product-categories-tree__group {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 5px 14px rgba(0, 20, 52, 0.05);
}

.product-categories-tree__parent {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-categories-tree__parent a,
.product-categories-tree__parent span {
    color: var(--skf-blue);
}

.product-categories-tree__children {
    margin: 0;
    padding-left: 0;
    display: grid;
    gap: 8px;
    list-style: none;
}

.product-categories-tree__child {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 7px 10px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e8eef6;
}

.product-categories-tree__child a,
.product-categories-tree__child span {
    color: #2b2f36;
    font-size: 14px;
    line-height: 1.3;
}

.product-categories-tree__child a:hover {
    color: var(--skf-blue);
}

.product-categories-tree__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f6fd;
    color: #3f74c9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
}

.product-categories-tree__icon .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.product-categories-tree__icon-image {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.product-categories-tree__icon--child {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.product-categories-tree__icon--child .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.product-categories-tree__icon--child .product-categories-tree__icon-image {
    width: 15px;
    height: 15px;
}

.product-categories-tree__empty {
    color: #64748b;
    font-size: 14px;
}

.product-archive__row>.col {
    display: flex;
}

.product-archive__row>.col>.post-card {
    width: 100%;
    height: 100%;
}

.product-archive__row .post-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-archive__row .post-title {
    min-height: calc(1.35em * 2);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.product-category-parent-menu {
    margin-top: -6px;
}

.product-cat-menu__inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-cat-menu__track {
    flex: 1 1 auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.product-cat-menu__track::-webkit-scrollbar {
    display: none;
}

.product-cat-menu__list {
    list-style: none;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 2px;
    min-width: max-content;
}

.product-cat-menu__item {
    flex: 0 0 auto;
}

.product-cat-menu__link {
    min-width: 150px;
    height: 92px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    text-align: center;
    color: #2b2f36;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.product-cat-menu__link:hover {
    border-color: #c6d4eb;
    box-shadow: 0 6px 18px rgba(7, 31, 66, 0.08);
    color: #1e2b3d;
    transform: translateY(-1px);
}

.product-cat-menu__link.is-active {
    border-color: #97b8ec;
    box-shadow: 0 7px 18px rgba(0, 57, 120, 0.14);
    color: var(--skf-blue);
}

.product-cat-menu__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f2f6fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4f79c6;
}

.product-cat-menu__icon .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.product-cat-menu__icon-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.product-cat-menu__name {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    max-width: 170px;
}

.product-cat-menu__nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #3e4f66;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    flex: 0 0 auto;
}

.product-cat-menu__nav:hover {
    border-color: #cad7ea;
    color: var(--skf-blue);
    box-shadow: 0 4px 12px rgba(0, 57, 120, 0.14);
}

.product-cat-menu__nav:disabled {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
}

.product-archive-pagination {
    margin-top: 28px;
}

.product-archive-pagination .page-numbers {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.product-archive-pagination .page-numbers li {
    margin: 0;
    padding: 0;
}

.product-archive-pagination .page-numbers a,
.product-archive-pagination .page-numbers span {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #d9e2ef;
    background: #fff;
    color: #2a3444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    transition: all .2s ease;
}

.product-archive-pagination .page-numbers a:hover {
    border-color: #b8cae5;
    color: var(--skf-blue);
    box-shadow: 0 4px 10px rgba(0, 57, 120, 0.12);
}

.product-archive-pagination .page-numbers .current {
    background: var(--skf-blue);
    border-color: var(--skf-blue);
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 57, 120, 0.24);
}

.product-archive-pagination .page-numbers .prev,
.product-archive-pagination .page-numbers .next {
    padding: 0 16px;
}

.product-archive-pagination .page-numbers .dots {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    min-width: auto;
    padding: 0 4px;
}

@media (max-width: 768px) {
    .product-categories-tree {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 14px;
    }

    .product-archive__row>.col {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-cat-menu__inner {
        gap: 8px;
    }

    .product-cat-menu__link {
        min-width: 132px;
        height: 84px;
        gap: 6px;
    }

    .product-cat-menu__name {
        font-size: 13px;
    }

    .product-archive-pagination .page-numbers {
        gap: 6px;
    }

    .product-archive-pagination .page-numbers a,
    .product-archive-pagination .page-numbers span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }

    .product-categories-tree__group {
        padding: 14px 14px;
    }

    .product-categories-tree__parent {
        font-size: 18px;
    }
}

/* Archive — Tài liệu kỹ thuật (full width, giống tin tức) */
.site-main--technical-doc-archive {
    width: 100%;
    max-width: 100%;
}

.technical-doc-archive-wrap {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 32px clamp(16px, 4vw, 56px) 48px;
    box-sizing: border-box;
}

.technical-doc-archive__header.archive-header {
    margin-bottom: 36px;
}

@media (max-width: 768px) {
    .news-archive-wrap,
    .technical-doc-archive-wrap,
    .product-archive-wrap {
        padding: 24px clamp(16px, 4vw, 24px) 36px;
    }

    .news-archive__header.archive-header,
    .technical-doc-archive__header.archive-header,
    .product-archive__header.archive-header {
        margin-bottom: 28px;
    }
}

/* Archive Page */
.archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    /* border-bottom: 2px solid var(--skf-blue); */
}

.archive-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.archive-description {
    color: #666;
    font-size: 18px;
}

/* Archive Posts Grid (trừ tin tức / tài liệu — tự chỉnh cột trong archive-news.php & archive-technical_doc.php) */
.archive-posts-grid:not(.news-archive__grid):not(.technical-doc-archive__grid) {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Pagination */
.pagination,
.posts-navigation,
.post-navigation,
.navigation,
.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0px 0;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.pagination a,
.pagination span,
.posts-navigation a,
.post-navigation a,
.navigation a,
.navigation span,
.page-numbers a,
.page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    background: #fff;
}

.pagination .current,
.pagination .page-numbers.current,
.posts-navigation .current,
.post-navigation .page-numbers.current,
.navigation .current,
.navigation .page-numbers.current,
.page-numbers .current {
    background: var(--skf-blue);
    color: #fff;
    border-color: var(--skf-blue);
    cursor: default;
}

.pagination a:hover,
.posts-navigation a:hover,
.post-navigation a:hover,
.navigation a:hover,
.page-numbers a:hover {
    background: #f0f6fc;
    border-color: var(--skf-blue);
    color: var(--skf-blue);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 57, 120, 0.2);
}

.pagination .dots,
.page-numbers .dots {
    border: none;
    background: transparent;
    cursor: default;
    padding: 10px 5px;
}

.pagination .dots:hover,
.page-numbers .dots:hover {
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
}

/* Prev/Next buttons */
.pagination .prev,
.pagination .next,
.posts-navigation .nav-previous a,
.posts-navigation .nav-next a,
.post-navigation .nav-previous a,
.post-navigation .nav-next a,
.navigation .nav-previous a,
.navigation .nav-next a,
.page-numbers .prev,
.page-numbers .next {
    font-weight: 500;
}

.pagination .prev::before {
    content: '← ';
    margin-right: 4px;
}

.pagination .next::after {
    content: ' →';
    margin-left: 4px;
}

/* WordPress Default Pagination Classes */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0px 0;
    flex-wrap: wrap;
}

.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    background: #fff;
}

.nav-links .page-numbers.current {
    background: var(--skf-blue);
    color: #fff;
    border-color: var(--skf-blue);
    cursor: default;
}

.nav-links .page-numbers:hover {
    background: #f0f6fc;
    border-color: var(--skf-blue);
    color: var(--skf-blue);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 57, 120, 0.2);
}

.nav-links .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
    padding: 10px 5px;
}

.nav-links .page-numbers.dots:hover {
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
}

/* Footer */
.site-footer {
    /* background: #e1e2e1; */
    border-top: 1px solid;
    color: #000000;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-widget h3 {
    margin-top: 20px;
    color: rgb(49, 49, 150);
}

.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #000000;
}

.footer-widget a:hover {
    color: #000000;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--skf-blue);
    color: #fff;
    border-radius: 4px;
    font-weight: 400;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--skf-blue-mid);
    color: #fff;
}

.btn-secondary {
    background: #666;
}

.btn-secondary:hover {
    background: #555;
}

.secondary-logo {
    padding-top: 10px;
}

.aligncenter {
    text-align: center;
    margin: 0 auto !important;
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--skf-blue);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Badge */
.badge {
    display: inline-block;
    padding: 4px 8px;
    background: var(--skf-blue);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.badge-product {
    background: #00a32a;
}

.badge-news {
    background: var(--skf-blue);
}

.badge-technical {
    background: rgb(49, 49, 150);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.search-form input[type="submit"] {
    padding: 12px 24px;
    background: var(--skf-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 400;
}

.search-form input[type="submit"]:hover {
    background: var(--skf-blue-mid);
}

/* Comments */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.comments-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.comment-list {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

.comment {
    padding: 20px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--skf-blue);
}

.comment-author {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.comment-author a {
    color: var(--skf-blue);
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

.comment-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.comment-meta a {
    color: #666;
}

.comment-content {
    line-height: 1.6;
    color: #444;
    margin-top: 15px;
}

.comment-content p {
    margin-bottom: 10px;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background: var(--skf-blue);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 400;
    transition: background 0.3s ease;
}

.comment-reply-link:hover {
    background: var(--skf-blue-mid);
    color: #fff;
}

.children {
    list-style: none;
    margin-left: 40px;
    margin-top: 20px;
}

.children .comment {
    background: #fff;
    border-left-color: #ccc;
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-reply-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.comment-form {
    display: grid;
    gap: 20px;
}

.comment-form-comment {
    grid-column: 1 / -1;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    display: flex;
    flex-direction: column;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: #333;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
.comment-form-comment textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus,
.comment-form-comment textarea:focus {
    outline: none;
    border-color: var(--skf-blue);
    box-shadow: 0 0 0 3px rgba(0, 57, 120, 0.1);
}

.comment-form-comment textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.comment-form-cookies-consent label {
    font-weight: normal;
    color: #666;
    cursor: pointer;
}

.form-submit {
    margin-top: 10px;
}

.form-submit input[type="submit"] {
    padding: 12px 30px;
    background: var(--skf-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-submit input[type="submit"]:hover {
    background: var(--skf-blue-mid);
}

.form-submit input[type="submit"]:active {
    transform: translateY(1px);
}

/* Required field indicator */
.required {
    color: #d63638;
    margin-left: 3px;
}

/* Logged in user info */
.logged-in-as {
    margin-bottom: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-left: 4px solid var(--skf-blue);
    border-radius: 4px;
    color: #333;
}

.logged-in-as a {
    color: var(--skf-blue);
    font-weight: 400;
}

/* Comment navigation */
.comment-navigation {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.comment-navigation a {
    padding: 8px 16px;
    background: #f0f6fc;
    color: var(--skf-blue);
    border-radius: 4px;
    font-weight: 400;
    transition: background 0.3s ease;
}

.comment-navigation a:hover {
    background: var(--skf-blue);
    color: #fff;
}

/* No comments message */
.no-comments {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* Responsive Comment Form */
@media (max-width: 768px) {
    .comment-form {
        grid-template-columns: 1fr;
    }

    .comment-form-author,
    .comment-form-email,
    .comment-form-url {
        grid-column: 1 / -1;
    }

    .children {
        margin-left: 20px;
    }

    .comment-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .comment-navigation a {
        text-align: center;
    }
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.no-posts-icon {
    margin-bottom: 30px;
}

.no-posts-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #ccc;
}

.no-posts-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.no-posts-message {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #666;
}

.no-posts-message strong {
    color: var(--skf-blue);
    font-weight: 500;
}

.no-posts-suggestions {
    font-size: 16px;
    color: #999;
    margin-bottom: 30px;
}

.no-posts-search-form {
    margin-top: 40px;
}

.no-posts-search-form .search-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.no-posts-search-form .search-field {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.no-posts-search-form .search-field:focus {
    border-color: var(--skf-blue);
}

.no-posts-search-form .search-submit {
    padding: 12px 30px;
    background: var(--skf-blue);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s ease;
}

.no-posts-search-form .search-submit:hover {
    background: var(--skf-blue-mid);
}

/* Content Wrapper with Sidebar */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
    position: relative;
    min-height: 100vh;
    overflow: visible;
}

.content-area {
    min-width: 0;
    overflow: visible;
}

.content-wrapper.product-wrapper {
    grid-template-columns: 1fr 250px;
    align-items: start;
    min-height: 100vh;
    position: relative;
    overflow: visible;
}

.content-wrapper.product-wrapper .content-area {
    min-height: 100vh;
    overflow: visible;
}

.content-wrapper.product-wrapper .sidebar-left,
.content-wrapper.product-wrapper #secondary-left {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 20px !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 40px) !important;
    height: fit-content !important;
}

/* Đảm bảo container và site-main không chặn sticky */
.container {
    overflow: visible;
}

.site-main .container {
    overflow: visible;
}

.content-wrapper.product-wrapper {
    grid-template-columns: 1fr 250px;
}

.content-wrapper.technical-doc-wrapper,
.content-wrapper.news-wrapper {
    grid-template-columns: 1fr 300px;
}

.content-area {
    min-width: 0;
    /* Prevent grid overflow */
}

/* Left Sidebar */
.sidebar-left,
#secondary-left.sidebar-left {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 20px !important;
    align-self: flex-start !important;
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10;
    -webkit-overflow-scrolling: touch;
    height: fit-content;
}

.sidebar-left::-webkit-scrollbar,
#secondary-left.sidebar-left::-webkit-scrollbar {
    width: 6px;
}

.sidebar-left::-webkit-scrollbar-track,
#secondary-left.sidebar-left::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.sidebar-left::-webkit-scrollbar-thumb,
#secondary-left.sidebar-left::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.sidebar-left::-webkit-scrollbar-thumb:hover,
#secondary-left.sidebar-left::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.sidebar-left .widget-area,
#secondary-left .widget-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: auto;
    min-height: 0;
}

.sidebar-left .widget {
    background: #ffffff;
    padding: 15px;
    margin-bottom: 0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sidebar-left .widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--skf-blue) 0%, var(--skf-blue-mid) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.sidebar-left .widget:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    border-color: #d1d5db;
}

.sidebar-left .widget:hover::before {
    transform: scaleX(1);
}

.sidebar-left .widget-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding: 0 0 16px 0;
    border-bottom: 2px solid #e5e7eb;
    color: #111827;
    letter-spacing: -0.4px;
    line-height: 1.3;
    position: relative;
}

.sidebar-left .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--skf-blue) 0%, var(--skf-blue-mid) 100%);
    border-radius: 2px;
}

/* Widget Area General Styles */
.widget-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.widget-area:empty {
    display: none;
}

/* Widget General Styles */
.widget {
    word-wrap: break-word;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget ul,
.widget ol {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.widget li {
    /* margin-bottom: 8px; */
    padding-left: 0;
}

.widget li:last-child {
    margin-bottom: 0;
}

.widget a {
    color: var(--skf-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.widget a:hover {
    color: var(--skf-blue-mid);
    text-decoration: underline;
}

/* Categories Widget */
.categories-widget {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 0px;
}

.category-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.category-section-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--skf-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 0px;
}

.category-item>a {
    display: block;
    padding: 0px 14px;
    color: #444;
    line-height: 1.s;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
}

.category-item>a:hover {
    background: linear-gradient(135deg, #f0f6fc 0%, #e7f3ff 100%);
    color: var(--skf-blue);
    padding-left: 18px;
    transform: translateX(2px);
}

.category-count {
    color: #999;
    font-size: 12px;
    margin-left: 5px;
}

.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 20px;
}

.subcategory-item {
    margin-bottom: 5px;
}

.subcategory-item>a {
    display: block;
    padding: 0px 14px 0px 24px;
    color: #666;
    line-height: 1.4;
    text-decoration: none;
    font-size: 13px;
    border-radius: 6px;
    transition: all 0.25s ease;
    position: relative;
}

.subcategory-item>a::before {
    content: '→';
    position: absolute;
    left: 10px;
    color: #ccc;
    transition: all 0.25s ease;
    font-size: 12px;
}

.subcategory-item>a:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f6fc 100%);
    color: var(--skf-blue);
    padding-left: 28px;
}

.subcategory-item>a:hover::before {
    color: var(--skf-blue);
    transform: translateX(2px);
}

/* Product Single Page */
.product-single {
    /* background: #fff; */
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 15px; */
}

.product-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.product-badge {
    margin-bottom: 15px;
}

.product-title {
    font-size: 30px;
    line-height: 1.3;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.product-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.meta-icon {
    color: var(--skf-blue);
    font-size: 18px;
}

.meta-text {
    font-weight: 400;
}

/* Product Image Section */
/* Product Main Section - Image and Info Side by Side */
.product-main-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-image-section {
    margin-bottom: 0;
}

.product-main-image-wrapper {
    position: relative;
    width: 100%;
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.3s ease;
}

.product-main-image-wrapper:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.product-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-main-image:hover {
    transform: scale(1.02);
}

/* Product Gallery Slider (WooCommerce Style) */
.product-gallery-wrapper {
    width: 100%;
}

.product-gallery-slider {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.gallery-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    min-height: 300px;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1;
}

.gallery-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.gallery-slide.prev,
.gallery-slide.next {
    opacity: 0;
    visibility: hidden;
}

.gallery-slide .product-main-image-wrapper {
    position: relative;
    width: 100%;
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.3s ease;
}

.gallery-slide.active .product-main-image-wrapper:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.gallery-slide .product-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-slide.active .product-main-image:hover {
    transform: scale(1.02);
}

/* Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-nav:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.gallery-nav-prev {
    left: 15px;
}

.gallery-nav-next {
    right: 15px;
}

.gallery-nav .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #333;
}

/* Slider Indicators */
.gallery-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.gallery-indicator.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* Thumbnail Gallery */
.product-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e8e8e8;
}

.gallery-thumbnail {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #f9f9f9;
    flex-shrink: 0;
}

.gallery-thumbnail:hover {
    border-color: var(--skf-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 57, 120, 0.2);
}

.gallery-thumbnail.active {
    border-color: var(--skf-blue);
    box-shadow: 0 0 0 2px rgba(0, 57, 120, 0.2);
}

.gallery-thumbnail .thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-thumbnail:hover .thumbnail-image {
    transform: scale(1.1);
}

.gallery-thumbnail.active .thumbnail-image {
    opacity: 1;
}

/* Product Info Section */
.product-info-section {
    margin-bottom: 0;
}

/* Product Info Table */
.product-info-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-specs-info {
    margin-bottom: 20px;
}

.product-specs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.product-specs-table tbody tr {
    border-bottom: 1px solid #eee;
}

.product-specs-table tbody tr:last-child {
    border-bottom: none;
}

.product-specs-table .spec-label {
    padding: 16px 24px;
    font-weight: 500;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f0f0 100%);
    width: 40%;
    vertical-align: top;
    font-size: 15px;
    border-right: 1px solid #e8e8e8;
}

.product-specs-table .spec-value {
    padding: 16px 24px;
    color: #444;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.6;
}

.product-specs-table .spec-value.price-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--skf-blue);
}

.product-specs-table .spec-value.price-value .contact-price {
    color: rgb(49, 49, 150);
    font-style: italic;
    font-weight: 500;
}

/* Product Specs List (HTML thường thay cho table) */
.product-specs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    /* padding: 5px 15px;
    border-bottom: 1px solid #eee; */
    gap: 0px;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item .spec-label {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 15px;
    min-width: 140px;
    flex-shrink: 0;
}

.spec-item .spec-value {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
}

.spec-item .spec-value.price-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--skf-blue);
    line-height: 1.2;
}

.spec-item .spec-value.price-value .contact-price {
    color: rgb(49, 49, 150);
    font-style: italic;
    font-weight: 500;
}

.spec-item .spec-value div {
    margin: 0;
}

.spec-item .spec-value p {
    margin: 0 0 10px 0;
}

.spec-item .spec-value p:last-child {
    margin-bottom: 0;
}

/* Product Quote Section */
.product-quote-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-quote {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--skf-blue) 0%, var(--skf-blue-mid) 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0, 57, 120, 0.35);
    letter-spacing: 0.3px;
}

.btn-quote:hover {
    background: linear-gradient(135deg, var(--skf-blue-mid) 0%, var(--skf-blue-dark) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 57, 120, 0.45);
}

.btn-quote:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 57, 120, 0.35);
}

.btn-quote .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.product-quote-text {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--skf-blue);
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.product-quote-text p {
    margin: 0 0 10px 0;
}

.product-quote-text p:last-child {
    margin-bottom: 0;
}

.product-quote-text a {
    color: var(--skf-blue);
    text-decoration: none;
    font-weight: 400;
}

.product-quote-text a:hover {
    text-decoration: underline;
}

.quote-services {
    padding: 24px;
    background: linear-gradient(135deg, #f0fdf4 0%, #f9f9f9 100%);
    border-radius: 10px;
    border-left: 4px solid #00a32a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quote-services .services-title {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.quote-services .services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quote-services .services-list li {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.product-details-box {
    background: linear-gradient(135deg, #f0f6fc 0%, #e7f3ff 100%);
    border-left: 4px solid var(--skf-blue);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 57, 120, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #333;
    font-size: 16px;
}

.detail-value {
    font-size: 16px;
    color: #666;
}

.detail-value.price {
    font-size: 24px;
    font-weight: 600;
    color: var(--skf-blue);
}

.product-excerpt {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    padding: 24px;
    background: linear-gradient(135deg, #f0fdf4 0%, #f9f9f9 100%);
    border-radius: 10px;
    border-left: 4px solid #00a32a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-style: italic;
    margin-bottom: 40px;
}

/* Product Why Choose Section */
.product-why-choose-section {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f0f6fc 0%, #e7f3ff 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--skf-blue);
}

.product-why-choose-section .section-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--skf-blue);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 57, 120, 0.2);
}

.product-why-choose-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.product-why-choose-content p {
    margin-bottom: 15px;
}

.product-why-choose-content p:last-child {
    margin-bottom: 0;
}

.product-why-choose-content ul,
.product-why-choose-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.product-why-choose-content li {
    margin-bottom: 10px;
}

.product-why-choose-content strong {
    color: var(--skf-blue);
    font-weight: 500;
}

/* Product Content Section */
.product-content-section {
    margin-bottom: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Product Categories Section */
.product-categories-section {
    margin-bottom: 40px;
    padding: 28px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f0f0 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
}

.section-subtitle {
    font-size: 20px;
    margin-bottom: 18px;
    color: #1a1a1a;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tag {
    display: inline-block;
    padding: 8px 18px;
    background: #fff;
    color: var(--skf-blue);
    border: 2px solid var(--skf-blue);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
}

.category-tag:hover {
    background: linear-gradient(135deg, var(--skf-blue) 0%, var(--skf-blue-mid) 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 57, 120, 0.35);
    border-color: var(--skf-blue-mid);
}

/* Related Products Section */
.related-products-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px solid var(--skf-blue);
}

.related-products-section .posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.related-products-section .related-products-slider.slick-initialized {
    display: block;
}

.related-products-section .related-products-slider .slick-track {
    display: flex !important;
}

.related-products-section .related-products-slider .slick-slide {
    height: auto;
    padding: 0 8px;
}

.related-products-section .related-products-slider .slick-slide>div {
    height: 100%;
}

.related-products-section .related-products-slider .post-card {
    height: 100%;
}

.related-products-section .related-products-slider .slick-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #d8e3f0;
    background: #fff;
    z-index: 5;
    top: 42%;
    transform: translateY(-50%);
}

.related-products-section .related-products-slider .slick-prev {
    left: 6px;
}

.related-products-section .related-products-slider .slick-next {
    right: 6px;
}

.related-products-section .related-products-slider .slick-arrow:before {
    display: none;
}

.related-products-section .related-products-slider .slick-arrow .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--skf-blue);
    line-height: 18px;
}

/* Tablet - Related Products */
@media (max-width: 1024px) and (min-width: 769px) {
    .related-products-section .posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Mobile - Related Products */
@media (max-width: 768px) {
    .related-products-section .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .related-products-section .related-products-slider .slick-arrow {
        width: 30px;
        height: 30px;
        top: 38%;
    }
}

/* Mobile Small - Related Products */
@media (max-width: 480px) {
    .related-products-section .posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .related-products-section .related-products-slider .slick-prev {
        left: 2px;
    }

    .related-products-section .related-products-slider .slick-next {
        right: 2px;
    }
}

/* Technical Document Single Page */
.technical-doc-single {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
}

.document-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.document-badge {
    margin-bottom: 15px;
}

.document-title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333;
}

.document-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

/* Document Image Section */
.document-image-section {
    margin-bottom: 40px;
}

.document-main-image-wrapper {
    position: relative;
    width: 100%;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.document-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.document-main-image:hover {
    transform: scale(1.02);
}

/* Document Content Section */
.document-content-section {
    margin-bottom: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

/* Document Categories Section */
.document-categories-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
}

.document-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Related Documents Section — Swiper */
.related-documents-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px solid rgb(49, 49, 150);
}

.related-documents-swiper {
    position: relative;
    width: 100%;
    padding: 4px 0 44px;
    margin: 0;
    --swiper-navigation-color: var(--skf-blue);
    --swiper-pagination-color: var(--skf-blue);
    --swiper-pagination-bullet-inactive-color: #c5d4e8;
    --swiper-pagination-bullet-inactive-opacity: 1;
}

.related-documents-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.related-documents-swiper .swiper-slide .post-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.related-documents-swiper .swiper-button-prev,
.related-documents-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    margin-top: 0;
    top: 42%;
}

.related-documents-swiper .swiper-button-prev::after,
.related-documents-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: 600;
}

.related-documents-swiper .swiper-pagination {
    bottom: 8px !important;
}

@media (max-width: 575px) {

    .related-documents-swiper .swiper-button-prev,
    .related-documents-swiper .swiper-button-next {
        display: none;
    }
}

/* News Single Page */
.news-single {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
	padding: 15px;
}

.news-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.news-badge {
    margin-bottom: 15px;
}

.news-title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #333;
}

.news-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

/* News Image Section */
.news-image-section {
    margin-bottom: 40px;
}

.news-main-image-wrapper {
    position: relative;
    width: 100%;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.news-main-image:hover {
    transform: scale(1.02);
}

/* News Excerpt */
.news-excerpt {
    font-size: 20px;
    line-height: 1.8;
    color: #555;
    padding: 25px;
    background: linear-gradient(135deg, #e7f3ff 0%, #f0f6fc 100%);
    border-left: 4px solid var(--skf-blue);
    border-radius: 8px;
    margin-bottom: 30px;
    font-style: italic;
}

/* News Content Section */
.news-content-section {
    margin-bottom: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

/* News Categories Section */
.news-categories-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
}

.news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* News Tags Section */
.news-tags-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f0f0;
    color: #666;
    border-radius: 15px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: var(--skf-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 57, 120, 0.3);
}

/* Related News Section */
.related-news-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px solid var(--skf-blue);
}

.related-news-section .posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-widget-area .widget_text  {
    font-size: 18px;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .related-news-section .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Product Page - Mobile */
@media (max-width: 480px) {

    .product-title,
    .document-title,
    .news-title {
        font-size: 22px;
    }

    .product-meta-info,
    .document-meta-info,
    .news-meta-info {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
    }

    .meta-item {
        gap: 6px;
    }

    .meta-icon {
        font-size: 16px;
    }

    /* Product Main Section - Mobile */
    .product-main-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-specs-table .spec-label {
        width: 35%;
        padding: 12px 15px;
        font-size: 14px;
    }

    .product-specs-table .spec-value {
        padding: 12px 15px;
        font-size: 14px;
    }

    .product-specs-table .spec-value.price-value {
        font-size: 18px;
    }

    /* Product Specs List Mobile */
    .spec-item {
        /* flex-direction: column; */
        gap: 8px;
        /* padding: 12px 15px; */
    }

    .spec-item .spec-label {
        min-width: auto;
        font-size: 14px;
    }

    .spec-item .spec-value {
        font-size: 14px;
    }

    .spec-item .spec-value.price-value {
        font-size: 18px;
    }

    .btn-quote {
        padding: 15px 25px;
        font-size: 16px;
    }

    .quote-services {
        padding: 15px;
    }

    .quote-services .services-list li {
        font-size: 13px;
    }

    .quote-modal-content {
        max-width: 100%;
        margin: 10px;
    }

    .quote-modal-header {
        padding: 20px 20px 15px;
    }

    .quote-modal-header h2 {
        font-size: 22px;
    }

    .quote-modal-body {
        padding: 20px;
    }

    .product-details-box {
        padding: 15px;
    }

    .detail-item {
        padding: 8px 0;
    }

    .detail-value.price {
        font-size: 18px;
    }

    .product-excerpt,
    .news-excerpt {
        font-size: 16px;
        padding: 15px;
    }

    /* Product Why Choose Mobile */
    .product-why-choose-section {
        padding: 20px;
        margin-bottom: 30px;
    }

    .product-why-choose-section .section-title {
        font-size: 20px;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .product-why-choose-content {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    width: 100%;
    max-width: 100%;
}

.sidebar .widget-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar .widget {
    background: #ffffff;
    padding: 28px;
    margin-bottom: 0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sidebar .widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--skf-blue) 0%, var(--skf-blue-mid) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.sidebar .widget:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    border-color: #d1d5db;
}

.sidebar .widget:hover::before {
    transform: scaleX(1);
}

.sidebar .widget-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 24px 0;
    padding: 0 0 18px 0;
    border-bottom: 2px solid #e5e7eb;
    color: #111827;
    letter-spacing: -0.4px;
    line-height: 1.3;
    position: relative;
}

.sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--skf-blue) 0%, var(--skf-blue-mid) 100%);
    border-radius: 2px;
}

/* Quote Form Widget */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quote-form .form-group {
    display: flex;
    flex-direction: column;
}

.quote-form label {
    margin-bottom: 8px;
    font-weight: 400;
    color: #333;
    font-size: 14px;
    line-height: 1;
}

.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form input[type="email"],
.quote-form input[type="number"],
.quote-form textarea {
    width: 100%;
    padding: 7px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quote-form input:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--skf-blue);
    box-shadow: 0 0 0 3px rgba(0, 57, 120, 0.1);
}

.quote-form textarea {
    resize: vertical;
    min-height: 100px;
}

.quote-form .btn-block {
    width: 100%;
    padding: 12px;
    background: var(--skf-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.3s ease;
}

.quote-form .btn-block:hover {
    background: var(--skf-blue-mid);
}

.quote-form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    display: none;
}

.quote-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.quote-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Quote Modal Popup */
.quote-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
}

.quote-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.quote-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10001;
}

.quote-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10002;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10003;
    transition: all 0.3s ease;
}

.quote-modal-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.quote-modal-close .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #333;
}

.quote-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
}

.quote-modal-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #333;
    font-weight: 600;
}

.quote-modal-subtitle {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.quote-modal-body {
    padding: 30px;
}

.quote-modal-body .quote-form {
    margin: 0;
}

.quote-modal-body .form-group {
    margin-bottom: 0px;
}

.quote-modal-body .form-group:last-of-type {
    margin-bottom: 0;
}

.required {
    color: #dc3545;
}

/* No Image Placeholder */
.product-main-image-wrapper.no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: #f0f0f0;
    color: #999;
}

.product-main-image-wrapper.no-image .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
}

.product-main-image-wrapper.no-image p {
    margin: 0;
    font-size: 16px;
    color: #999;
}

/* Recent Products Widget */
.recent-products-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-product-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.recent-product-item:last-child {
    border-bottom: none;
}

.recent-product-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
}

.recent-product-thumbnail .product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-product-content {
    flex: 1;
    min-width: 0;
}

.recent-product-title {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.recent-product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-product-title a:hover {
    color: var(--skf-blue);
}

.recent-product-meta {
    font-size: 12px;
    color: #999;
}

.recent-product-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.recent-products-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Responsive Sidebar - Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .content-wrapper {
        display: grid;
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }

    .content-wrapper.product-wrapper {
        grid-template-columns: 1fr 220px;
    }

    .sidebar {
        position: static;
    }

    .sidebar-left {
        position: -webkit-sticky;
        position: sticky;
        top: 20px;
        max-height: calc(100vh - 40px);
    }
}

/* Responsive Sidebar - Mobile */
@media (max-width: 768px) {
    .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .content-wrapper.product-wrapper,
    .content-wrapper.technical-doc-wrapper,
    .content-wrapper.news-wrapper {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    /* Đảm bảo content-area hiển thị đầu tiên trên mobile */
    .content-area {
        order: 1;
        width: 100%;
    }

    .sidebar-left {
        order: 2;
        position: static !important;
        margin-top: 0;
        width: 100%;
        max-height: none !important;
        overflow: visible !important;
    }

    .sidebar {
        width: 100%;
        order: 3;
        position: static;
        margin-top: 0;
    }

    .sidebar .widget,
    .sidebar-left .widget {
        margin-bottom: 20px;
        padding: 20px;
        border-radius: 12px;
    }

    .sidebar .widget-title,
    .sidebar-left .widget-title {
        font-size: 18px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .widget-title {
        font-size: 16px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .recent-product-item {
        flex-direction: column;
        gap: 10px;
        padding: 12px 0;
    }

    .recent-product-thumbnail {
        width: 100%;
        height: 150px;
    }
}

/* ============================================
   ABOUT PAGE (Giới thiệu)
   ============================================ */

.site-main--about {
    width: 100%;
    max-width: 100%;
}

.about-page-hero {
    width: 100%;
    box-sizing: border-box;
    padding: 32px clamp(16px, 4vw, 56px) 48px;
}

.about-page {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 0 8px;
}

.about-page__header {
    text-align: center;
    margin-bottom: 32px;
}

.about-page__title {
    font-size: 36px;
    font-weight: 600;
    color: var(--skf-blue);
    margin: 0;
    line-height: 1.25;
}

.about-page__featured {
    margin: 0 auto 36px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-page__featured .about-page__img,
.about-page__featured img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.about-page__body.post-content-area {
    font-size: 17px;
    line-height: 1.75;
    color: #444;
}

/* Tin tức — full chiều ngang (nền band + lưới rộng) */
.about-page-news {
    width: 100%;
    margin: 0;
    padding: 48px 0 56px;
    background: #f5f7fb;
    border-top: 1px solid #e8ecf2;
    box-sizing: border-box;
}

.about-page-news__inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 56px);
    box-sizing: border-box;
}

.about-page-news .section-header {
    margin-bottom: 28px;
}

/* Swiper tin tức — trang Giới thiệu */
.about-page-news-swiper {
    position: relative;
    width: 100%;
    padding: 4px 0 44px;
    margin: 0;
    --swiper-navigation-color: var(--skf-blue);
    --swiper-pagination-color: var(--skf-blue);
    --swiper-pagination-bullet-inactive-color: #c5d4e8;
    --swiper-pagination-bullet-inactive-opacity: 1;
}

.about-page-news-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.about-page-news-swiper .swiper-slide .post-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.about-page-news-swiper .swiper-button-prev,
.about-page-news-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    margin-top: 0;
    top: 42%;
}

.about-page-news-swiper .swiper-button-prev::after,
.about-page-news-swiper .swiper-button-next::after {
    font-size: 18px;
    font-weight: 600;
}

.about-page-news-swiper .swiper-pagination {
    bottom: 8px !important;
}

@media (max-width: 575px) {

    .about-page-news-swiper .swiper-button-prev,
    .about-page-news-swiper .swiper-button-next {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-page-hero {
        padding: 24px clamp(16px, 4vw, 24px) 32px;
    }

    .about-page {
        padding-bottom: 0;
    }

    .about-page__title {
        font-size: 28px;
    }

    .about-page__header {
        margin-bottom: 24px;
    }

    .about-page__featured {
        margin-bottom: 28px;
        border-radius: 8px;
    }

    .about-page-news {
        padding: 36px 0 44px;
    }

    .about-page-news .section-header {
        margin-bottom: 18px;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

/* Contact Page Wrapper */
.contact-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* Contact Header */
.contact-header {
    margin-bottom: 50px;
    text-align: center;
}

.contact-header .page-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--skf-blue);
    margin-bottom: 20px;
}

.contact-header .page-content {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Content - 2 Columns */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

/* Contact Form Section */
.contact-form-section {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.contact-form-section .section-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--skf-blue);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--skf-blue);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 8px;
    font-weight: 400;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.contact-form label .required {
    color: #dc3545;
    margin-left: 3px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--skf-blue);
    box-shadow: 0 0 0 3px rgba(0, 57, 120, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.contact-form .btn-primary {
    padding: 14px 30px;
    background: var(--skf-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

.contact-form .btn-primary:hover {
    background: var(--skf-blue-mid);
    transform: translateY(-2px);
}

.contact-form .btn-primary:active {
    transform: translateY(0);
}

/* Contact Form Message */
.contact-form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 6px;
    display: none;
    font-size: 14px;
    line-height: 1.6;
}

.contact-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.contact-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Contact Info Section */
.contact-info-section {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.contact-info-section .section-title {
    font-size: 24px;
    font-weight: 500;
    color: var(--skf-blue);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--skf-blue);
}

/* Contact Info Items */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--skf-blue);
}

.contact-info-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h3 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.contact-info-content p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.contact-info-content .contact-info-text {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.contact-info-content .contact-info-text p {
    margin: 0 0 8px 0;
}

.contact-info-content .contact-info-text p:last-child {
    margin-bottom: 0;
}

.contact-info-content a {
    color: var(--skf-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-content a:hover {
    color: var(--skf-blue-mid);
    text-decoration: underline;
}

/* Contact Map */
.contact-map {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.contact-map h3 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.map-embed {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Page Responsive - Tablet */
@media (max-width: 1024px) {
    .contact-content {
        gap: 40px;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 30px;
    }
}

/* Contact Page Responsive - Mobile */
@media (max-width: 768px) {
    .contact-page-wrapper {
        padding: 30px 0;
    }

    .contact-header {
        margin-bottom: 40px;
    }

    .contact-header .page-title {
        font-size: 28px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 25px 20px;
    }

    .contact-form-section .section-title,
    .contact-info-section .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-item {
        gap: 15px;
    }

    .contact-info-icon {
        flex: 0 0 45px;
        width: 45px;
        height: 45px;
    }

    .contact-info-icon .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .contact-info-content h3 {
        font-size: 16px;
    }

    .contact-info-content p {
        font-size: 14px;
    }

    .map-embed {
        height: 250px;
    }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    min-width: 120px !important;
    height: 45px !important;
    background: var(--skf-blue) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99999 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 57, 120, 0.3);
    padding: 0 20px !important;
    line-height: 1 !important;
    margin: 0 !important;
    outline: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    white-space: nowrap !important;
}

.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

.back-to-top:hover {
    background: var(--skf-blue-mid);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 57, 120, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px) scale(0.98);
}

.back-to-top-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: inherit;
    color: inherit;
}

/* Mobile Back to Top */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        min-width: 100px !important;
        height: 40px !important;
        padding: 0 15px !important;
        font-size: 12px !important;
    }
}

/* Debug: Uncomment to test if button appears */
/* 
.back-to-top {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}
*/

/* Ensure button is always in DOM and visible when scrolled */
#back-to-top {
    pointer-events: auto !important;
}

/* Floating Contact Buttons */
.floating-contact-buttons-wrapper {
    position: fixed !important;
    z-index: 100000 !important;
    pointer-events: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.floating-contact-buttons {
    display: flex !important;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
    visibility: visible !important;
    opacity: 1 !important;
}

.floating-contact-buttons-left {
    left: 20px !important;
    bottom: 90px !important;
    position: fixed !important;
}

.floating-contact-buttons-right {
    right: 20px !important;
    bottom: 90px !important;
    position: fixed !important;
}

.floating-contact-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50%;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    pointer-events: auto !important;
    position: relative;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

.floating-contact-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    color: #ffffff;
}

.floating-contact-button:active {
    transform: scale(0.95);
}

.floating-contact-button-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
}

.floating-contact-button-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-contact-button-text {
    position: absolute;
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Text tooltip for right side buttons */
.floating-contact-buttons-right .floating-contact-button-text {
    right: 70px;
}

.floating-contact-buttons-right .floating-contact-button-text::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid rgba(0, 0, 0, 0.8);
}

/* Text tooltip for left side buttons */
.floating-contact-buttons-left .floating-contact-button-text {
    left: 70px;
}

.floating-contact-buttons-left .floating-contact-button-text::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid rgba(0, 0, 0, 0.8);
}

.floating-contact-button:hover .floating-contact-button-text {
    opacity: 1;
    visibility: visible;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-contact-buttons-left {
        left: 10px;
        bottom: 70px;
    }

    .floating-contact-buttons-right {
        right: 10px;
        bottom: 70px;
    }

    .floating-contact-button {
        width: 50px;
        height: 50px;
    }

    .floating-contact-button-icon {
        width: 24px;
        height: 24px;
        font-size: 24px;
    }

    .floating-contact-buttons-right .floating-contact-button-text {
        right: 60px;
    }

    .floating-contact-buttons-left .floating-contact-button-text {
        left: 60px;
    }

    .floating-contact-button-text {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Hide text on very small screens */
    @media (max-width: 480px) {
        .floating-contact-button-text {
            display: none;
        }
    }
}

/* Specific button type styles */
.floating-contact-button-phone {
    background-color: #25D366 !important;
}

.floating-contact-button-zalo {
    background-color: #0068FF !important;
}

.floating-contact-button-facebook {
    background-color: #1877F2 !important;
}

.floating-contact-button-messenger {
    background-color: #0084FF !important;
}

.floating-contact-button-email {
    background-color: #EA4335 !important;
}

.floating-contact-button-whatsapp {
    background-color: #25D366 !important;
}

.floating-contact-button-telegram {
    background-color: #0088CC !important;
}

.floating-contact-button-viber {
    background-color: #665CAC !important;
}

.floating-contact-button-skype {
    background-color: #00AFF0 !important;
}

/* Animation for buttons appearing */
@keyframes floatingButtonAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animation nhấp nháy nhẹ nhàng */
@keyframes floatingButtonPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
}

/* Animation nhấp nháy cho icon */
@keyframes floatingButtonIconPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.floating-contact-button {
    animation: floatingButtonAppear 0.5s ease forwards, floatingButtonPulse 2s ease-in-out infinite 1s;
}

.floating-contact-button-icon {
    animation: floatingButtonIconPulse 2s ease-in-out infinite 1.5s;
}

.floating-contact-button:nth-child(1) {
    animation-delay: 0.1s, 1.1s;
}

.floating-contact-button:nth-child(1) .floating-contact-button-icon {
    animation-delay: 1.6s;
}

.floating-contact-button:nth-child(2) {
    animation-delay: 0.2s, 1.2s;
}

.floating-contact-button:nth-child(2) .floating-contact-button-icon {
    animation-delay: 1.7s;
}

.floating-contact-button:nth-child(3) {
    animation-delay: 0.3s, 1.3s;
}

.floating-contact-button:nth-child(3) .floating-contact-button-icon {
    animation-delay: 1.8s;
}

.floating-contact-button:nth-child(4) {
    animation-delay: 0.4s, 1.4s;
}

.floating-contact-button:nth-child(4) .floating-contact-button-icon {
    animation-delay: 1.9s;
}

.floating-contact-button:nth-child(5) {
    animation-delay: 0.5s, 1.5s;
}

.floating-contact-button:nth-child(5) .floating-contact-button-icon {
    animation-delay: 2s;
}

/* Tắt animation khi hover để không bị rối */
.floating-contact-button:hover {
    animation: none;
}

.floating-contact-button:hover .floating-contact-button-icon {
    animation: none;
}

.products-section article.post-card>a,
.technical-docs-section article.post-card>a {
    position: relative;
    /* border-radius: 5px; */
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.products-section article.post-card>a>img,
.technical-docs-section article.post-card>a>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.article-post .post-title {
    font-size: 15px;
    line-height: 1.4;
    padding: 0px;
    border-top: none;
    margin-bottom: 5px;
}

.article-post .post-meta {
    margin-bottom: 5px;
}

/* ============================================
   RESPONSIVE DESIGN - Tối ưu cho tất cả thiết bị
   ============================================ */

/* Tablet Portrait (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 30px;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-title,
    .document-title,
    .news-title {
        font-size: 28px;
    }

    .hero-section h1 {
        font-size: 40px;
    }

    .hero-section p {
        font-size: 18px;
    }
}

/* Mobile Landscape & Small Tablets (≤ 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Header Mobile */
    .header-content {
        padding: 12px 0;
        position: relative;
        min-height: 50px;
    }

    .site-logo {
        font-size: 20px;
        line-height: 1.2;
    }

    .site-branding .custom-logo {
        max-height: 40px;
    }

    /* Menu Toggle - Show on Mobile */
    .search-toggle {
        font-size: 28px;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
    }

    .search-toggle .dashicons {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 28px;
        padding: 8px;
        min-width: 44px;
        min-height: 44px;
        cursor: pointer;
        color: #333;
        transition: color 0.3s ease;
        z-index: 1001;
        position: relative;
    }

    .menu-toggle:hover,
    .menu-toggle:focus {
        color: var(--skf-blue);
        outline: none;
        background: rgba(0, 57, 120, 0.1);
        border-radius: 4px;
    }

    .menu-toggle .dashicons {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }

    .search-form-wrapper {
        min-width: 320px;
        max-width: 380px;
    }

    .search-form-wrapper .search-form {
        min-width: 100%;
        max-width: 100%;
    }

    .search-form-inner {
        border-radius: 8px;
    }

    .search-form-wrapper .search-field {
        padding: 12px 16px;
        font-size: 16px;
    }

    .search-form-wrapper .search-submit,
    .search-form-wrapper .search-close {
        padding: 12px 14px;
        min-width: 44px;
    }

    .search-form-wrapper .search-submit .dashicons,
    .search-form-wrapper .search-close .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    /* Navigation - Hidden by default, full screen when active */
    .main-navigation {
        display: none;
        position: fixed;
        top: var(--header-height, 70px);
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 30px 20px;
        overflow-y: auto;
        z-index: 999;
        -webkit-overflow-scrolling: touch;
        max-height: calc(100vh - var(--header-height, 70px));
        width: 100%;
        transform: translateX(-100%);
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        visibility: hidden;
        opacity: 0;
    }

    .main-navigation.active {
        display: block !important;
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }

    .main-navigation .nav-pane {
        width: 100%;
    }

    .main-navigation .nav-pane--right {
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid #eee;
    }

    /* Menu Overlay - Background khi menu mở */
    .main-navigation::before {
        content: '';
        position: fixed;
        top: var(--header-height, 70px);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    /* .main-navigation.active::before {
        opacity: 1;
        pointer-events: auto;
    }
     */
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
        text-align: left;
        justify-content: flex-start;
    }

    .main-navigation li {
        border-bottom: 1px solid #eee;
        margin: 0;
        width: 100%;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        display: flex;
        align-items: center;
        padding: 18px 0;
        font-size: 18px;
        font-weight: 400;
        min-height: 50px;
        width: 100%;
        color: #333;
        line-height: 1.5;
    }

    .main-navigation a:hover,
    .main-navigation a:focus {
        color: var(--skf-blue);
        background: rgba(0, 57, 120, 0.05);
        padding-left: 10px;
    }

    .main-navigation a::after {
        display: none;
        /* Hide underline on mobile */
    }

    /* Search Form Mobile */
    .search-form-wrapper {
        right: 0;
        left: auto;
        min-width: 280px;
        max-width: calc(100vw - 40px);
    }

    .search-form-wrapper .search-form {
        min-width: 100%;
        max-width: 100%;
    }

    .search-form-inner {
        border-radius: 8px;
    }

    .search-form-wrapper .search-field {
        padding: 12px 15px;
        font-size: 16px;
    }

    .search-form-wrapper .search-submit,
    .search-form-wrapper .search-close {
        padding: 12px 12px;
        min-width: 44px;
    }

    .search-form-wrapper .search-submit .dashicons,
    .search-form-wrapper .search-close .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

    .main-navigation .current-menu-item>a,
    .main-navigation .current-page-item>a,
    .main-navigation .current-menu-ancestor>a {
        color: var(--skf-blue);
        font-weight: 500;
        background: rgba(0, 57, 120, 0.1);
        padding-left: 10px;
    }

    /* Submenu - Mobile */
    .main-navigation .sub-menu {
        display: none;
        position: static;
        background: rgba(0, 0, 0, 0.02);
        box-shadow: none;
        padding: 0;
        margin: 0;
        margin-left: 20px;
        border-left: 2px solid #eee;
    }

    .main-navigation .sub-menu.active {
        display: block;
    }

    .main-navigation .sub-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    .main-navigation .sub-menu a {
        padding: 15px 0 15px 25px;
        font-size: 16px;
        font-weight: 400;
        min-height: 48px;
    }

    /* Submenu Toggle - Mobile */
    .main-navigation .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        padding: 0 15px;
        min-width: 44px;
        min-height: 44px;
        cursor: pointer;
        transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
        color: #666;
        border-radius: 4px;
    }

    .main-navigation .submenu-toggle:hover,
    .main-navigation .submenu-toggle:focus {
        color: var(--skf-blue);
        background: rgba(0, 57, 120, 0.1);
    }

    .main-navigation .submenu-toggle .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .main-navigation .submenu-toggle[aria-expanded="true"] {
        transform: rotate(180deg);
        color: var(--skf-blue);
    }

    .main-navigation .has-submenu>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    /* Mặc định 1 cột trên mobile nếu không có data-columns-mobile */
    .posts-grid:not([data-columns-mobile]) {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Archive page: mặc định 1 cột nếu không có data-columns-mobile */
    .archive-posts-grid:not([data-columns-mobile]) {
        grid-template-columns: 1fr !important;
    }

    .single-post-title,
    .product-title,
    .document-title,
    .news-title {
        font-size: 28px;
        line-height: 1.3;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 0;
        font-weight: 500;
    }

    .btn-section-link {
        align-self: flex-start;
        padding: 0;
        font-size: 13px;
    }

    .post-card {
        margin-bottom: 0;
    }

    .post-thumbnail {
        height: 180px;
    }

    .post-content {
        padding: 12px;
    }

    .post-title {
        font-size: 18px;
    }

    .post-excerpt {
        font-size: 14px;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        padding: 10px 0;
    }

    .site-logo {
        font-size: 18px;
    }

    .menu-toggle {
        font-size: 24px;
        padding: 6px;
        min-width: 44px;
        min-height: 44px;
    }

    .menu-toggle .dashicons {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }

    .main-navigation {
        top: var(--header-height, 70px);
        height: calc(100vh - var(--header-height, 70px));
        padding: 20px 15px 15px;
    }

    .main-navigation a {
        padding: 12px 0;
        font-size: 15px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 24px;
        margin-bottom: 10px;
        padding: 0 10px;
    }

    .hero-section p {
        font-size: 14px;
        padding: 0 10px;
    }

    /* Hero Slider Mobile - Styles moved to main responsive section above */

    .posts-grid {
        gap: 15px;
    }

    /* Mặc định 1 cột trên mobile nếu không có data-columns-mobile */
    .posts-grid:not([data-columns-mobile]) {
        grid-template-columns: 1fr !important;
    }

    /* Sử dụng data-columns-mobile - đặt sau để có priority cao hơn */
    .posts-grid[data-columns-mobile="1"] {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .technical-docs-section .posts-grid[data-columns-mobile="1"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .news-section .posts-grid[data-columns-mobile="1"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .posts-grid[data-columns-mobile="2"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .posts-grid[data-columns-mobile="3"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    /* Certifications Gallery - Mobile (không dùng swiper) */
    .certifications-gallery:not(.swiper) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    /* Archive page: mặc định 1 cột nếu không có data-columns-mobile */
    .archive-posts-grid:not([data-columns-mobile]) {
        grid-template-columns: 1fr !important;
    }

    /* Archive page: sử dụng data-columns-mobile - đặt sau để có priority cao hơn */
    .archive-posts-grid[data-columns-mobile="1"] {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .archive-posts-grid[data-columns-mobile="2"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .archive-posts-grid[data-columns-mobile="3"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .single-post-title,
    .product-title,
    .document-title,
    .news-title {
        font-size: 24px;
        line-height: 1.2;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 0;
        font-weight: 500;
    }

    .btn-section-link {
        align-self: flex-start;
        padding: 0;
        font-size: 12px;
    }

    .post-thumbnail {
        height: 200px;
    }

    .post-content {
        padding: 10px;
    }

    .post-title {
        font-size: 16px;
    }

    .post-excerpt {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .post-meta {
        font-size: 12px;
        gap: 10px;
        margin-bottom: 10px;
        line-height: 1.5;
        max-height: calc(1.5em * 4);
    }

    .post-meta span {
        gap: 4px;
    }

    .post-categories a {
        padding: 3px 8px;
        font-size: 11px;
        margin-right: 4px;
        margin-bottom: 4px;
    }

    .read-more {
        font-size: 14px;
    }

    /* Single Post Mobile */
    .single-post-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .single-post-meta {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
        padding-bottom: 15px;
    }

    .single-post-meta span {
        gap: 5px;
    }

    .single-post-thumbnail,
    .product-main-image,
    .news-main-image,
    .document-main-image {
        margin-bottom: 25px;
        border-radius: 6px;
    }

    /* Product Gallery Mobile */
    .product-gallery-slider {
        margin-bottom: 12px;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
    }

    .gallery-nav-prev {
        left: 10px;
    }

    .gallery-nav-next {
        right: 10px;
    }

    .gallery-nav .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .gallery-indicators {
        bottom: 10px;
        gap: 6px;
    }

    .gallery-indicator {
        width: 6px;
        height: 6px;
    }

    .gallery-indicator.active {
        width: 20px;
    }

    .product-gallery-thumbnails {
        gap: 8px;
        margin-top: 12px;
        padding-top: 12px;
    }

    .gallery-thumbnail {
        width: 60px;
        height: 60px;
    }

    .post-content-area {
        font-size: 16px;
        line-height: 1.7;
    }

    .post-content-area h2 {
        font-size: 22px;
        margin: 30px 0 15px;
    }

    .post-content-area h3 {
        font-size: 18px;
        margin: 25px 0 12px;
    }

    .post-content-area p {
        margin-bottom: 15px;
    }

    /* Product Details Mobile */
    .product-details-box {
        padding: 15px;
        margin-bottom: 20px;
    }

    .detail-item {
        padding: 10px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .detail-label {
        font-size: 14px;
    }

    .detail-value {
        font-size: 14px;
    }

    .detail-value.price {
        font-size: 20px;
    }

    .product-excerpt {
        font-size: 16px;
        padding: 15px;
        margin-bottom: 20px;
    }

    /* Categories Mobile */
    .product-categories-section,
    .news-categories-section,
    .document-categories-section {
        padding: 15px;
        margin-bottom: 25px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .category-tag,
    .tag-link {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Buttons Mobile */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-small {
        padding: 8px 16px;
        font-size: 13px;
        min-height: 40px;
    }

    /* Archive Mobile */
    .archive-header {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .archive-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .archive-description {
        font-size: 14px;
    }

    .no-posts {
        padding: 50px 15px;
    }

    .no-posts-icon .dashicons {
        font-size: 48px;
        width: 48px;
        height: 48px;
    }

    .no-posts-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .no-posts-message {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .no-posts-suggestions {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .no-posts-search-form {
        margin-top: 30px;
    }

    .no-posts-search-form .search-form {
        flex-direction: column;
        gap: 15px;
    }

    .no-posts-search-form .search-field {
        padding: 12px 18px;
        font-size: 16px;
    }

    .no-posts-search-form .search-submit {
        padding: 12px 25px;
        font-size: 16px;
    }

    /* Pagination Mobile */
    .pagination,
    .posts-navigation,
    .post-navigation,
    .navigation,
    .page-numbers {
        gap: 6px;
        margin: 30px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination a,
    .pagination span,
    .posts-navigation a,
    .posts-navigation span,
    .post-navigation a,
    .post-navigation span,
    .navigation a,
    .navigation span,
    .page-numbers a,
    .page-numbers span {
        padding: 10px 12px;
        font-size: 14px;
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Ẩn số trang trung gian trên mobile, chỉ hiển thị prev, next, first, last và current */
    .pagination .page-numbers:not(.prev):not(.next):not(.current):not(.dots):not(:first-child):not(:last-child) {
        display: none;
    }

    /* Hiển thị dots nếu có */
    .pagination .dots {
        display: inline-flex;
    }

    /* Đảm bảo prev/next luôn hiển thị */
    .pagination .prev,
    .pagination .next,
    .posts-navigation .nav-previous,
    .posts-navigation .nav-next,
    .post-navigation .nav-previous,
    .post-navigation .nav-next,
    .navigation .nav-previous,
    .navigation .nav-next,
    .page-numbers .prev,
    .page-numbers .next {
        display: inline-flex !important;
    }

    /* Hiển thị trang đầu và cuối trên mobile */
    .pagination .page-numbers:first-child:not(.prev),
    .pagination .page-numbers:last-child:not(.next) {
        display: inline-flex;
    }

    /* Responsive text cho prev/next */
    .pagination .prev,
    .pagination .next {
        font-size: 13px;
        padding: 10px 14px;
    }

    .pagination .prev::before,
    .pagination .next::after {
        content: '';
        margin: 0;
    }

    /* Icon cho prev/next trên mobile */
    .pagination .prev::before {
        content: '‹';
        font-size: 18px;
        line-height: 1;
    }

    .pagination .next::after {
        content: '›';
        font-size: 18px;
        line-height: 1;
    }

    /* WordPress Default Pagination Mobile */
    .nav-links {
        gap: 6px;
        margin: 30px 0;
    }

    .nav-links .page-numbers {
        padding: 10px 12px;
        font-size: 14px;
        min-width: 44px;
        min-height: 44px;
    }

    /* Ẩn số trang trung gian trên mobile */
    .nav-links .page-numbers:not(.prev):not(.next):not(.current):not(.dots):not(:first-child):not(:last-child) {
        display: none;
    }

    /* Hiển thị dots nếu có */
    .nav-links .page-numbers.dots {
        display: inline-flex;
    }

    /* Đảm bảo prev/next luôn hiển thị */
    .nav-links .page-numbers.prev,
    .nav-links .page-numbers.next {
        display: inline-flex !important;
    }

    /* Hiển thị trang đầu và cuối trên mobile */
    .nav-links .page-numbers:first-child:not(.prev),
    .nav-links .page-numbers:last-child:not(.next) {
        display: inline-flex;
    }

    /* Responsive text cho prev/next */
    .nav-links .page-numbers.prev,
    .nav-links .page-numbers.next {
        font-size: 13px;
        padding: 10px 14px;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-widget {
        padding: 20px 0;
    }

    .footer-widget h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    /* Comment Form Mobile */
    .comment-respond {
        padding: 20px;
        margin-top: 30px;
    }

    .comment-reply-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .comment-form {
        gap: 15px;
    }

    .comment-form-author input,
    .comment-form-email input,
    .comment-form-url input,
    .comment-form-comment textarea {
        padding: 10px;
        font-size: 16px;
        /* Prevent zoom on iOS */
        min-height: 44px;
    }

    .form-submit input[type="submit"] {
        padding: 12px 24px;
        font-size: 16px;
        min-height: 44px;
        width: 100%;
    }

    /* Quote Form Mobile */
    .quote-form input[type="text"],
    .quote-form input[type="tel"],
    .quote-form input[type="email"],
    .quote-form input[type="number"],
    .quote-form textarea {
        padding: 10px;
        font-size: 16px;
        /* Prevent zoom on iOS */
        min-height: 44px;
    }

    .quote-form textarea {
        min-height: 100px;
    }

    .quote-form .btn-block {
        padding: 12px;
        font-size: 16px;
        min-height: 44px;
    }

    /* Recent Products Widget Mobile */
    .recent-product-item {
        flex-direction: column;
        gap: 10px;
        padding: 12px 0;
    }

    .recent-product-thumbnail {
        width: 100%;
        height: 150px;
    }

    .recent-product-title {
        font-size: 14px;
    }

    .recent-product-meta {
        font-size: 11px;
    }

    /* Categories Widget Mobile */
    .category-section-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .category-item>a {
        padding: 8px 10px;
        font-size: 14px;
        min-height: 40px;
    }

    .subcategory-item>a {
        padding: 6px 10px;
        font-size: 13px;
    }

    /* Related Products Mobile */
    .related-products-section,
    .related-news-section,
    .related-documents-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .related-products-section .posts-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 15px;
    }

    .related-news-section .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Site Main Mobile */
    .site-main {
        padding: 0px 0;
    }

    /* Hero Section Mobile */
    .hero-section {
        margin-bottom: 30px;
    }

    /* Hero Slider Mobile - Additional styles */
    .hero-slider-section {
        margin-bottom: 30px;
    }

    /* Trang chủ — section: mobile giữ nhịp trắng, thu gọn một chút */
    .site-main > section.products-section,
    .site-main > section.news-section,
    .site-main > section.technical-docs-section,
    .site-main > section.posts-section,
    .site-main > section.certifications-section,
    .site-main > section.partners-section {
        padding-bottom: 2.5rem;
    }

    .site-main > section.products-section:not(:first-child),
    .site-main > section.news-section:not(:first-child),
    .site-main > section.technical-docs-section:not(:first-child),
    .site-main > section.posts-section:not(:first-child),
    .site-main > section.certifications-section:not(:first-child),
    .site-main > section.partners-section:not(:first-child) {
        margin-top: 2.25rem;
    }

    .site-main > section:nth-child(odd):not(.hero-slider-section):not(.hero-section) {
        padding-top: 1.5rem;
    }

    .site-main > .container > section.products-section,
    .site-main > .container > section.news-section,
    .site-main > .container > section.technical-docs-section,
    .site-main > .container > section.posts-section,
    .site-main > .container > section.certifications-section,
    .site-main > .container > section.partners-section {
        padding-bottom: 2.5rem;
    }

    .site-main > .container > section.products-section:not(:first-child),
    .site-main > .container > section.news-section:not(:first-child),
    .site-main > .container > section.technical-docs-section:not(:first-child),
    .site-main > .container > section.posts-section:not(:first-child),
    .site-main > .container > section.certifications-section:not(:first-child),
    .site-main > .container > section.partners-section:not(:first-child) {
        margin-top: 2.25rem;
    }

    .site-main > .container > section:nth-of-type(even) {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 1.5rem;
    }

    /* Image optimization for mobile */
    img {
        height: auto;
        max-width: 100%;
    }

    /* Prevent image overflow */
    .post-thumbnail,
    .product-main-image,
    .news-main-image,
    .document-main-image,
    .single-post-thumbnail {
        max-width: 100%;
        height: auto;
    }

    /* Table responsive */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        margin: 20px 0;
    }

    table thead,
    table tbody,
    table tfoot,
    table tr {
        display: block;
    }

    table thead {
        display: none;
        /* Hide header on mobile, or use sticky header */
    }

    table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 15px;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    table tbody td {
        display: block;
        padding: 8px 0;
        text-align: left !important;
        border: none;
        border-bottom: 1px solid #f0f0f0;
    }

    table tbody td:last-child {
        border-bottom: none;
    }

    table tbody td:before {
        content: attr(data-label) ": ";
        font-weight: 500;
        color: var(--skf-blue);
        display: inline-block;
        min-width: 100px;
    }

    /* Alternative: Keep table structure but make scrollable */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        margin: 20px 0;
    }

    .table-responsive table {
        display: table;
        min-width: 600px;
    }

    .table-responsive table thead {
        display: table-header-group;
    }

    .table-responsive table tbody {
        display: table-row-group;
    }

    .table-responsive table tr {
        display: table-row;
    }

    .table-responsive table td,
    .table-responsive table th {
        display: table-cell;
    }

    .table-responsive table tbody td:before {
        display: none;
    }

    /* Iframe responsive */
    .post-content-area iframe {
        max-width: 100%;
        height: auto;
        min-height: 200px;
    }

    /* Video responsive */
    .post-content-area video {
        max-width: 100%;
        height: auto;
    }
}

/* Extra Small Devices (320px and below) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .site-logo {
        font-size: 16px;
    }

    .hero-section h1 {
        font-size: 20px;
    }

    .single-post-title,
    .product-title,
    .document-title,
    .news-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .post-title {
        font-size: 15px;
    }
}