/*
 Theme Name:   Yan Theme
 Version:      2.2.8
 Description:  轻量级WordPress主题，摆脱Elementor，使用古腾堡HTML模块构建页面
 Author:       建站商
 Author URI:   #
 Text Domain:  yan-theme
*/

:root {
    --yan-shell: 1180px;
    --yan-border: #e5e7eb;
    --yan-text: #0f172a;
    --yan-muted: #64748b;
    --yan-header-bg: #f8fafc;
    --yan-footer-bg: #0f172a;
    --yan-footer-text: #cbd5e1;
    --yan-link: #2563eb;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #fff;
    color: var(--yan-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    background-color: transparent;
    color: var(--yan-link);
    text-decoration: none;
}

a:hover {
    color: #1d4ed8;
}

img {
    border-style: none;
    height: auto;
    max-width: 100%;
}

figure {
    margin: 0 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0.5rem 0 1rem;
    color: inherit;
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin: 0 0 0.9rem;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f3f4f6;
    clip: auto !important;
    clip-path: none;
    color: #0f172a;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 12px 24px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.site-header,
.site-footer {
    width: 100%;
    max-width: none;
    margin: 0;
}

.header-inner,
.footer-inner {
    width: min(var(--yan-shell), calc(100% - 32px));
    margin: 0 auto;
    box-sizing: border-box;
}

.site-title,
.site-tagline,
.footer-label,
.footer-brand,
.footer-text {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.site-main,
#content.site-main {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flow-root;
}

.site-main > :last-child,
#content.site-main > :last-child,
.site-main > :last-child > :last-child,
.yan-page-content > :last-child,
.yan-page-content > :last-child > :last-child,
.posts-grid > :last-child,
.archive-grid > :last-child,
.no-results {
    margin-bottom: 0 !important;
}

.site-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 模板隔离：仅指定模板使用全宽画布 */
body.page-template-template-fullwidth-php .site-main,
body.page-template-template-fullwidth-php #content.site-main,
body.page-template-template-fullwidth-php .yan-page-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    --wp--style--global--content-size: 100%;
    --wp--style--global--wide-size: 100%;
}

body.page-template-template-fullwidth-php .yan-page-content > [class*="wp-block-"],
body.page-template-template-fullwidth-php .yan-page-content .is-layout-constrained > * {
    max-width: none;
}

body.page-template-template-fullwidth-php .yan-page-content .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Header */
.site-header {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.header-inner {
    min-height: 88px;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.site-branding {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-title {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--yan-text);
    text-decoration: none;
    font-size: 28px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.site-tagline {
    margin: 0;
    max-width: 44ch;
    color: var(--yan-muted);
    font-size: 14px;
    line-height: 1.55;
}

.main-nav {
    min-width: 0;
}

.main-nav-list,
.main-nav .menu,
.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 12px;
    flex-wrap: wrap;
}

.main-nav-list li,
.main-nav .menu li,
.main-nav .page_item,
.main-nav ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav-list a,
.main-nav .menu a,
.main-nav .page_item a,
.main-nav ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #334155;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    padding: 10px 16px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.main-nav-list a:hover,
.main-nav .menu a:hover,
.main-nav .page_item a:hover,
.main-nav ul li a:hover {
    color: var(--yan-text);
    background: rgba(226, 232, 240, 0.7);
    border-color: rgba(148, 163, 184, 0.24);
    transform: translateY(-1px);
}

.main-nav-list .current-menu-item > a,
.main-nav-list .current_page_item > a,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    color: var(--yan-text);
    background: #e2e8f0;
    border-color: #dbe3ee;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #0f172a 0%, #111827 55%, #020617 100%);
    color: var(--yan-footer-text);
}

.footer-inner {
    padding: 56px 0 44px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
    gap: 40px;
    align-items: end;
}

.footer-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-label {
    margin: 0;
    color: rgba(203, 213, 225, 0.64);
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-brand {
    color: #f8fafc;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.footer-brand:hover {
    color: #ffffff;
}

.footer-text {
    margin: 0;
    max-width: 44ch;
    color: rgba(226, 232, 240, 0.82);
    font-size: 14px;
    line-height: 1.7;
}

/* Pagination */
.navigation.pagination {
    margin: 32px 0 0;
}

.navigation.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--yan-border);
    border-radius: 999px;
    background: #fff;
    color: var(--yan-text);
}

.navigation.pagination a.page-numbers:hover {
    border-color: var(--yan-link);
    color: var(--yan-link);
}

.navigation.pagination .current {
    background: var(--yan-link);
    border-color: var(--yan-link);
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .header-inner {
        min-height: auto;
        padding: 16px 0 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav-list,
    .main-nav .menu,
    .main-nav ul {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
    }

    .footer-inner {
        padding: 42px 0 36px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand {
        font-size: 22px;
    }
}

/* Header and footer refresh */
.footer-inner.footer-inner-compact {
    padding: 28px 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-text-legal {
    text-align: center;
}

.site-logo img {
    display: block;
    max-height: 56px;
    width: auto;
}

.yan-shop-layout {
    width: min(var(--yan-shell), calc(100% - 32px));
    margin: 32px auto 48px;
    display: grid;
    gap: 28px;
}

.yan-shop-layout-sidebar {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
}

.yan-shop-main > .woocommerce-notices-wrapper:empty {
    display: none;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce-products-header,
.woocommerce-result-count,
.woocommerce-ordering {
    width: min(var(--yan-shell), calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.woocommerce .woocommerce-breadcrumb,
.woocommerce-products-header {
    margin-top: 24px;
}

.woocommerce-products-header__title.page-title,
.page-title {
    margin-bottom: 12px;
}

.woocommerce .products,
.woocommerce ul.products {
    margin: 0;
}

.yan-shop-sidebar .site-sidebar {
    position: sticky;
    top: 24px;
}

.comments-area {
    width: min(var(--yan-shell), calc(100% - 32px));
    margin: 32px auto 48px;
    padding-top: 24px;
    border-top: 1px solid var(--yan-border);
}

.comment-respond,
.comment-list,
.comments-title {
    max-width: 820px;
}

.comment-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--yan-border);
    border-radius: 12px;
    font: inherit;
}

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

.comment-form .submit {
    border: 0;
    border-radius: 999px;
    background: var(--yan-link);
    color: #fff;
    padding: 12px 20px;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 960px) {
    .yan-shop-layout-sidebar {
        grid-template-columns: 1fr;
    }

    .yan-shop-sidebar .site-sidebar {
        position: static;
    }
}

/* Core content layouts */
.yan-page-content,
.post-content,
.search-results,
.error-404,
.posts-grid,
.posts-list,
.posts-with-sidebar,
.archive-grid,
.archive-list,
.archive-with-sidebar {
    width: min(var(--yan-shell), calc(100% - 32px));
    margin: 32px auto 48px;
}

.yan-page-content {
    display: grid;
    gap: 0;
}

.post-content {
    display: grid;
    gap: 20px;
}

.yan-page-content > :where(:not(.alignfull)),
.post-content > * {
    max-width: 820px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.yan-page-content > .alignwide,
.post-content > .alignwide {
    max-width: min(var(--yan-shell), calc(100% - 32px));
}

.posts-grid,
.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.posts-list,
.archive-list,
.search-results,
.posts-content,
.archive-content {
    display: grid;
    gap: 20px;
}

.posts-with-sidebar,
.archive-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.post-card {
    min-width: 0;
    border: 1px solid var(--yan-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.post-card > a {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    padding: 22px;
    color: inherit;
}

.post-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 18px;
}

.post-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}

.post-excerpt {
    color: var(--yan-muted);
    line-height: 1.7;
}

.post-date {
    margin-top: auto;
    color: var(--yan-muted);
    font-size: 13px;
}

.posts-list .post-card > a,
.archive-list .post-card > a {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 12px;
    align-items: start;
}

.posts-list .post-image,
.archive-list .post-image {
    grid-column: 1;
    grid-row: 1 / span 3;
}

.posts-list .post-title,
.archive-list .post-title {
    grid-column: 2;
    grid-row: 1;
}

.posts-list .post-excerpt,
.archive-list .post-excerpt {
    grid-column: 2;
    grid-row: 2;
}

.posts-list .post-date,
.archive-list .post-date {
    grid-column: 2;
    grid-row: 3;
    margin-top: 0;
}

.search-title,
.error-title {
    margin: 0;
}

.no-results,
.no-posts,
.no-products,
.error-message {
    color: var(--yan-muted);
    line-height: 1.7;
}

.error-404 {
    max-width: 720px;
    text-align: center;
    justify-items: center;
    gap: 16px;
    padding: 24px 0 8px;
}

.back-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--yan-link);
    color: #fff;
    font-weight: 600;
}

.back-home:hover {
    color: #fff;
    background: #1d4ed8;
}

.site-sidebar,
.archive-sidebar,
.posts-sidebar,
.yan-shop-sidebar {
    min-width: 0;
}

.site-sidebar {
    display: grid;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--yan-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.widget-title {
    margin: 0 0 10px;
    font-size: 16px;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.widget a {
    color: inherit;
}

/* Full-width template should never inherit the default 820px content clamp */
body.page-template-template-fullwidth-php .yan-page-content,
body.page-template-template-fullwidth-php .yan-page-content > * {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    position: static !important;
}

body.page-template-template-fullwidth-php .yan-page-content > style,
body.page-template-template-fullwidth-php .yan-page-content > script {
    width: auto !important;
}

/* WooCommerce layout modes */
.yan-woocommerce-content {
    width: 100%;
}

.single-product div.product {
    width: min(var(--yan-shell), calc(100% - 32px));
    margin: 32px auto 48px;
}

.yan-shop-layout-grid ul.products,
.yan-shop-layout-list ul.products,
.yan-shop-layout-sidebar ul.products,
.woocommerce .related.products ul.products {
    display: grid !important;
    gap: 24px;
    padding: 0;
    list-style: none;
}

.yan-shop-layout-grid ul.products,
.yan-shop-layout-sidebar ul.products,
.woocommerce .related.products ul.products {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.yan-shop-layout-list ul.products {
    grid-template-columns: 1fr;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 20px;
    border: 1px solid var(--yan-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: inherit;
}

.yan-shop-layout-list ul.products li.product .woocommerce-LoopProduct-link {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 12px;
    align-items: start;
}

.yan-shop-layout-list ul.products li.product .woocommerce-LoopProduct-link img {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.yan-shop-layout-list ul.products li.product .woocommerce-loop-product__title {
    grid-column: 2;
    grid-row: 1;
}

.yan-shop-layout-list ul.products li.product .price {
    grid-column: 2;
    grid-row: 2;
}

.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
    display: block;
    width: 100%;
    margin: 0;
    border-radius: 18px;
    background: #f8fafc;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    margin: 0;
    padding: 0;
    color: var(--yan-text);
    font-size: 18px;
    line-height: 1.35;
}

.woocommerce ul.products li.product .price {
    margin: 0;
    color: var(--yan-muted);
    font-size: 15px;
}

.woocommerce ul.products li.product .button {
    align-self: flex-start;
    margin-top: auto;
    border-radius: 999px;
    padding: 10px 16px;
}

@media (max-width: 960px) {
    .posts-with-sidebar,
    .archive-with-sidebar,
    .yan-shop-layout-sidebar {
        grid-template-columns: 1fr;
    }

    .posts-list .post-card > a,
    .archive-list .post-card > a,
    .yan-shop-layout-list ul.products li.product .woocommerce-LoopProduct-link {
        grid-template-columns: 1fr;
    }

    .posts-list .post-image,
    .archive-list .post-image,
    .posts-list .post-title,
    .archive-list .post-title,
    .posts-list .post-excerpt,
    .archive-list .post-excerpt,
    .posts-list .post-date,
    .archive-list .post-date,
    .yan-shop-layout-list ul.products li.product .woocommerce-LoopProduct-link img,
    .yan-shop-layout-list ul.products li.product .woocommerce-loop-product__title,
    .yan-shop-layout-list ul.products li.product .price {
        grid-column: auto;
        grid-row: auto;
    }

    .yan-shop-sidebar .site-sidebar {
        position: static;
    }
}

/* YAN PERF HEADER INLINE CSS */
/* ===== Header CSS ===== */
    
    /* 顶部联系栏 - 深蓝黑色，降低高度 */
    .top-bar-526 {
        background-color: #191C33;
        color: #ffffff;
        font-size: 12px;
        padding: 5px 20px;
        line-height: 1.4;
    }
    .top-bar-inner-526 {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 28px;
    }
    .top-bar-left-526 {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .top-bar-item-526 {
        display: flex;
        align-items: center;
        gap: 5px;
        color: rgba(255,255,255,0.9);
    }
    .top-bar-item-526 svg {
        width: 12px;
        height: 12px;
        fill: #63b3ed;
    }
    .top-bar-item-526 a {
        color: rgba(255,255,255,0.9);
        text-decoration: none;
    }
    .top-bar-item-526 a:hover {
        color: #ffffff;
    }
    .top-bar-right-526 {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .social-icon-526 {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: rgba(255,255,255,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
    }
    .social-icon-526:hover {
        background: rgba(255,255,255,0.25);
    }
    .social-icon-526 svg {
        width: 12px;
        height: 12px;
        fill: #ffffff;
    }
    
    /* 主导航栏 */
    .site-header-wrap {
        background: #ffffff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        position: relative; /* 取消页面滚动时的冻结效果 */
        z-index: 1000;
        padding: 10px 20px; /* PC端内边距 */
        line-height: 1.2;
    }
    .header-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: row; /* 强制水平排列 */
        align-items: center;
        justify-content: space-between; /* 确保子元素分居左右两端 */
        position: relative; 
    }
    
    /* Logo区域 - 强制横向、不换行 */
    .site-branding { 
        display: flex;
        flex-direction: row !important; /* 无论何时都保持水平 */
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        white-space: nowrap; /* 防止文字被挤到下一行 */
    }
    .site-logo, .site-logo a {
        display: flex;
        align-items: center;
    }
    img.site-logo-img {
        max-height: 40px;
        width: auto;
        display: block;
    }
    .site-title-text {
        font-size: 20px;
        font-weight: bold;
        color: #1a365d;
        font-style: italic;
        margin: 0;
        line-height: 1;
    }
    
    /* 导航菜单 - PC端样式 */
    .main-nav ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 3px;
    }
    .main-nav li {
        position: relative;
    }
    .main-nav a {
        display: block;
        padding: 10px 14px;
        color: #1a365d;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s;
        border-radius: 4px;
    }
    .main-nav a:hover,
    .main-nav .current-menu-item > a {
        color: #ffffff;
        background: #1a365d;
    }

    /* 移动端菜单按钮 - 默认隐藏 */
    .mobile-menu-toggle {
        display: none;
        flex-direction: column;
        justify-content: space-around;
        width: 28px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        flex-shrink: 0;
    }
    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: #1a365d;
        border-radius: 2px;
        transition: all 0.3s linear;
    }
    
    /* 移动端响应 */
    @media (max-width: 768px) {
        .site-header-wrap {
            padding: 10px 15px; /* 调整手机端外侧边距 */
        }
        
        .top-bar-inner-526 { 
            flex-direction: column; 
            gap: 5px; 
            text-align: center; 
            padding: 5px 0; 
        }

        .header-inner { 
            justify-content: space-between; /* 再次确认：左边Logo，右边按钮 */
            width: 100%;
        }
        
        .site-title-text { 
            font-size: 16px; /* 手机端稍微缩小文字防止拥挤 */
        }

        /* 开启汉堡包按钮显示 */
        .mobile-menu-toggle {
            display: flex;
        }

        /* 移动端菜单变为下拉折叠样式 */
        .main-nav {
            display: none; /* 默认隐藏 */
            position: absolute;
            top: 100%;
            left: -15px; /* 抵消父容器的padding */
            width: calc(100% + 30px); /* 撑满屏幕宽度 */
            background: #ffffff;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            border-top: 1px solid #f0f0f0;
            padding: 0;
            margin-top: 10px; /* 距离头部留一点空隙 */
        }
        
        /* 激活状态 */
        .main-nav.is-active {
            display: block;
        }

        .main-nav ul { 
            flex-direction: column; 
            width: 100%; 
            gap: 0;
        }
        .main-nav li {
            width: 100%;
        }
        .main-nav a { 
            padding: 15px 20px; 
            font-size: 14px; 
            border-bottom: 1px solid #f5f5f5;
            border-radius: 0; 
        }
        .main-nav a:hover,
        .main-nav .current-menu-item > a {
            background: #f8fafc; 
            color: #1a365d;
        }
    }


/* YAN PERF FOOTER INLINE CSS */
.footer-section-526 {
  width: 100%;
  background-color: #1a365d;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  position: relative;
  overflow: hidden;
}
.footer-section-526::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #2b6cb0;
}
.footer-container-526 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.footer-column-526 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.company-logo-526 {
  max-height: 60px; width: auto; object-fit: contain;
  max-width: 100%;
  width: auto;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
  object-fit: contain;
}
.company-logo-526:hover { transform: scale(1.05); }
.company-name-526 { font-size: 18px; font-weight: bold; margin: 0 0 12px 0; color: #ffffff; }
.company-slogan-526 { font-size: 14px; line-height: 1.6; color: #cbd5e0; margin: 0; }
.column-title-526 {
  font-size: 16px; font-weight: bold; margin: 0 0 24px 0; color: #ffffff;
  position: relative; padding-bottom: 8px;
}
.column-title-526::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background-color: #2563eb;
}
.services-nav-526 { display: flex; flex-direction: column; gap: 12px; }
.service-link-526 {
  display: flex; align-items: center; color: #ffffff; text-decoration: none;
  font-size: 14px; transition: all 0.3s ease; padding: 8px 0;
}
.service-link-526:hover { color: #63b3ed; transform: translateX(5px); }
.arrow-icon-526 { width: 16px; height: 16px; margin-right: 8px; transition: transform 0.3s ease; }
.service-link-526:hover .arrow-icon-526 { transform: translateX(3px); }
.contact-info-526 { display: flex; flex-direction: column; gap: 16px; }
.contact-item-526 { display: flex; align-items: center; font-size: 14px; color: #ffffff; }
.contact-icon-526 { width: 18px; height: 18px; margin-right: 12px; color: #63b3ed; flex-shrink: 0; }
.privacy-link-526 { color: #cbd5e0; text-decoration: none; font-size: 12px; margin-top: 8px; transition: color 0.3s ease; }
.privacy-link-526:hover { color: #63b3ed; }
.social-section-526 { display: flex; flex-direction: column; align-items: center; width: 100%; }
.qr-code-526 { text-align: center; }
.qr-image-526 {
  width: 120px; height: auto; border-radius: 8px; margin-bottom: 12px;
  transition: transform 0.3s ease; border: 2px solid #2b6cb0;
}
.qr-image-526:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(99, 179, 237, 0.3); }
.qr-text-526 { font-size: 12px; color: #cbd5e0; margin: 0; }
.footer-bottom-526 { background-color: #0c2340; padding: 20px 0; position: relative; }
.footer-bottom-526::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #2b6cb0, transparent);
}
.copyright-container-526 {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.copyright-text-526 { font-size: 12px; color: #cbd5e0; }
.footer-links-526 { display: flex; gap: 16px; }
.footer-link-526 { font-size: 12px; color: #cbd5e0; text-decoration: none; transition: color 0.3s ease; }
.footer-link-526:hover { color: #63b3ed; }
@media (max-width: 768px) {
  .footer-container-526 { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px 30px; }
  .footer-column-526 { align-items: center; text-align: center; }
  .company-info-526 { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .services-nav-526, .contact-info-526 { align-items: center; }
  .contact-item-526, .service-link-526 { justify-content: center; font-size: 16px; padding: 4px 0; }
  .copyright-container-526 { flex-direction: column; text-align: center; }
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.footer-column-526 { animation: fadeInUp 0.6s ease-out; }
.footer-column-526:nth-child(1) { animation-delay: 0.1s; }
.footer-column-526:nth-child(2) { animation-delay: 0.2s; }
.footer-column-526:nth-child(3) { animation-delay: 0.3s; }
.footer-column-526:nth-child(4) { animation-delay: 0.4s; }
