/*
Theme Name: 深港通看牙助手
Theme URI: https://www.sg91.net
Author: WorkBuddy
Author URI: https://www.codebuddy.cn
Description: 专注于牙科健康的资讯平台，提供专业的牙齿护理知识、牙科资讯和就医指导。简洁舒适的设计风格，为用户提供良好的阅读体验。
Version: 1.0.0
License: GPL v2 or later
Text Domain: sg91-theme
Domain Path: /languages
Tags: blog, news, two-columns, right-sidebar, flexible-header, custom-menu, featured-images, theme-options, translation-ready

深港通看牙助手 WordPress Theme, (C) 2026 WorkBuddy
深港通看牙助手 is distributed under the terms of the GNU GPL v2 or later.
*/

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #2C3E50;
    background-color: #F5F7FA;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: #3498DB;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980B9;
}

ul, ol {
    list-style: none;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
    color: #2C3E50;
}

h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p {
    margin-bottom: 20px;
    color: #5A6C7D;
}

strong, b {
    font-weight: 700;
}

small {
    font-size: 12px;
    color: #999999;
}

/* ==========================================================================
   Container & Grid
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
    min-width: 0;
}

.col-3 { flex: 0 0 25%; max-width: 25%; padding: 0 15px; }
.col-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 15px; }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.col-8 { flex: 0 0 66.667%; max-width: 66.667%; padding: 0 15px; }
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }

/* ==========================================================================
   Section Spacing
   ========================================================================== */

.section {
    padding: 50px 0;
}

.section-bg-white {
    background-color: #FFFFFF;
}

.section-bg-light {
    background-color: #F8F9FA;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: #0056A9;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0056A9, #D4A574);
    border-radius: 2px;
}

.section-title p {
    font-size: 16px;
    color: #999999;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    border-bottom: 1px solid #EEEEEE;
    padding: 8px 0;
    font-size: 12px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: #666666;
    margin-left: 15px;
}

.header-top a:hover {
    color: #0056A9;
}

.header-top .welcome-text {
    color: #999999;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    height: 55px;
    width: auto;
}

.site-branding-text {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 26px;
    font-weight: 700;
    color: #3498DB;
    line-height: 1.2;
}

.site-title a {
    color: #3498DB;
}

.site-description {
    font-size: 13px;
    color: #95A5A6;
}

/* Header Quick Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #E74C3C;
    margin-right: 15px;
}

.header-contact .icon-phone {
    width: 38px;
    height: 38px;
    background: #E74C3C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 18px;
    animation: pulse-phone 2s infinite;
}

@keyframes pulse-phone {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ==========================================================================
   Navigation - Updated for Comfortable Theme
   ========================================================================== */

.main-navigation {
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-navigation .container {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    flex-wrap: wrap;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: block;
    padding: 16px 22px;
    color: #2C3E50;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1.5;
}

.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a {
    color: #3498DB;
    background: #F5F7FA;
}

.main-menu > li.menu-item-has-children > a::after {
    content: '\25BE';
    margin-left: 5px;
    font-size: 12px;
    color: #95A5A6;
}

/* Submenu */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    z-index: 999;
    padding: 8px 0;
}

.main-menu > li:hover > .sub-menu {
    display: block;
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #2C3E50;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sub-menu li a:hover {
    color: #3498DB;
    background: #F5F7FA;
    border-left-color: #3498DB;
    padding-left: 25px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #2C3E50;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #0056A9;
    color: #FFFFFF;
    border-color: #0056A9;
}

.btn-primary:hover {
    background-color: #003D7A;
    border-color: #003D7A;
    color: #FFFFFF;
}

.btn-secondary {
    background-color: transparent;
    color: #0056A9;
    border-color: #0056A9;
}

.btn-secondary:hover {
    background-color: #0056A9;
    color: #FFFFFF;
}

.btn-accent {
    background-color: #D4A574;
    color: #FFFFFF;
    border-color: #D4A574;
}

.btn-accent:hover {
    background-color: #C08C5A;
    border-color: #C08C5A;
    color: #FFFFFF;
}

.btn-danger {
    background-color: #E54D42;
    color: #FFFFFF;
    border-color: #E54D42;
}

.btn-danger:hover {
    background-color: #C0392B;
    border-color: #C0392B;
    color: #FFFFFF;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   Hero Banner / Carousel
   ========================================================================== */

.hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-carousel-wrapper {
    position: relative;
    width: 100%;
}

.hero-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    display: block;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #FFFFFF;
    max-width: 500px;
    z-index: 2;
}

.hero-slide-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero-slide-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.8;
}

.hero-slide-content .btn {
    font-size: 16px;
    padding: 12px 32px;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.4);
}

.carousel-control.prev {
    left: 30px;
}

.carousel-control.next {
    right: 30px;
}

.carousel-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #FFFFFF;
    border-color: #FFFFFF;
    transform: scale(1.2);
}

/* ==========================================================================
   Quick Access Bar
   ========================================================================== */

.quick-access-bar {
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 20px 0;
}

.quick-access-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-access-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #333333;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.quick-access-item:hover {
    color: #0056A9;
    background: #F0F7FF;
}

.quick-access-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.quick-access-icon.blue {
    background: linear-gradient(135deg, #E8F4FD, #B8DFFC);
    color: #0056A9;
}

.quick-access-icon.gold {
    background: linear-gradient(135deg, #FDF5E6, #F5DEB3);
    color: #D4A574;
}

.quick-access-icon.green {
    background: linear-gradient(135deg, #E8F8F0, #B8E6CC);
    color: #27AE60;
}

.quick-access-icon.red {
    background: linear-gradient(135deg, #FDECEA, #F5B7B1);
    color: #E54D42;
}

.quick-access-icon.purple {
    background: linear-gradient(135deg, #F4ECF7, #D7BDE2);
    color: #8E44AD;
}

.quick-access-text {
    display: flex;
    flex-direction: column;
}

.quick-access-title {
    font-size: 14px;
    font-weight: 600;
}

.quick-access-desc {
    font-size: 11px;
    color: #999999;
}

/* ==========================================================================
   Department Grid
   ========================================================================== */

.department-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.department-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.department-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0056A9, #D4A574);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.department-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.department-card:hover::before {
    transform: scaleX(1);
}

.department-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F0F7FF, #E0EFFF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #0056A9;
    transition: all 0.3s ease;
}

.department-card:hover .department-icon {
    background: linear-gradient(135deg, #0056A9, #003D7A);
    color: #FFFFFF;
    transform: rotateY(180deg);
}

.department-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: #333333;
}

.department-card p {
    font-size: 13px;
    color: #999999;
    margin-bottom: 15px;
    line-height: 1.6;
}

.department-card .btn {
    font-size: 12px;
    padding: 6px 18px;
}

/* ==========================================================================
   Doctor Cards
   ========================================================================== */

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.doctor-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
}

.doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.doctor-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 25px auto 15px;
    border: 3px solid #F0F7FF;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.doctor-title {
    font-size: 13px;
    color: #D4A574;
    font-weight: 500;
    margin-bottom: 10px;
}

.doctor-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 0 15px;
    margin-bottom: 15px;
}

.doctor-tag {
    background: #F0F7FF;
    color: #0056A9;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    border: 1px solid #D6E8FB;
}

.doctor-card .card-actions {
    display: flex;
    border-top: 1px solid #EEEEEE;
}

.doctor-card .card-actions .btn {
    flex: 1;
    border-radius: 0;
    border: none;
    padding: 12px;
    font-size: 13px;
}

.doctor-card .card-actions .btn-secondary {
    border-right: 1px solid #EEEEEE;
}

/* ==========================================================================
   Content Cards (通用)
   ========================================================================== */

.content-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.content-card .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.content-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-card:hover .card-image img {
    transform: scale(1.05);
}

.content-card .card-body {
    padding: 20px;
}

.content-card .card-body h3 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.content-card .card-body h3 a {
    color: #333333;
}

.content-card .card-body h3 a:hover {
    color: #0056A9;
}

.content-card .card-body p {
    font-size: 13px;
    color: #999999;
    margin-bottom: 12px;
    line-height: 1.6;
}

.content-card .card-footer {
    padding: 12px 20px;
    border-top: 1px solid #EEEEEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-card .card-meta {
    font-size: 12px;
    color: #999999;
}

/* ==========================================================================
   Stats / Numbers Section
   ========================================================================== */

.stats-section {
    background: linear-gradient(135deg, #0056A9, #003D7A);
    color: #FFFFFF;
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #FFFFFF 0%, #B8DFFC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 15px;
    opacity: 0.9;
    color: #FFFFFF;
}

.stat-divider {
    width: 40px;
    height: 3px;
    background: #D4A574;
    margin: 10px auto;
    border-radius: 2px;
}

/* ==========================================================================
   News / Article Section
   ========================================================================== */

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.news-main .news-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px dashed #E8E8E8;
    transition: all 0.3s ease;
}

.news-main .news-item:hover {
    padding-left: 8px;
}

.news-thumb {
    width: 180px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info h4 {
    font-size: 16px;
    margin-bottom: 6px;
}

.news-info h4 a {
    color: #333333;
}

.news-info h4 a:hover {
    color: #0056A9;
}

.news-info p {
    font-size: 13px;
    color: #999999;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info .news-date {
    font-size: 12px;
    color: #BBBBBB;
}

/* News Sidebar */
.news-sidebar {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.news-sidebar h3 {
    font-size: 18px;
    padding-bottom: 12px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0056A9;
}

.news-sidebar .tab-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #E8E8E8;
}

.news-sidebar .tab-list li a {
    color: #333333;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.news-sidebar .tab-list li a:hover {
    color: #0056A9;
}

.news-sidebar .tab-list li .news-tab-date {
    color: #BBBBBB;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 10px;
}

/* ==========================================================================
   Sidebar Floating Quick Buttons
   ========================================================================== */

.sidebar-quick-btns {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-quick-btn {
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 4px;
}

.sidebar-quick-btn .sqb-icon {
    font-size: 24px;
    line-height: 1;
}

.sidebar-quick-btn.sqb-consult {
    background: #0056A9;
}

.sidebar-quick-btn.sqb-consult:hover {
    background: #003D7A;
}

.sidebar-quick-btn.sqb-appointment {
    background: #E54D42;
}

.sidebar-quick-btn.sqb-appointment:hover {
    background: #C0392B;
}

.sidebar-quick-btn.sqb-phone {
    background: #27AE60;
}

.sidebar-quick-btn.sqb-phone:hover {
    background: #1E8449;
}

.sidebar-quick-btn.sqb-map {
    background: #D4A574;
}

.sidebar-quick-btn.sqb-map:hover {
    background: #C08C5A;
}

.sidebar-quick-btn.sqb-back-top {
    background: #666666;
}

.sidebar-quick-btn.sqb-back-top:hover {
    background: #333333;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #1A1A2E;
    color: rgba(255, 255, 255, 0.7);
}

.footer-main {
    padding: 50px 0 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h3 {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 18px;
    padding-bottom: 10px;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #D4A574;
}

.footer-col p,
.footer-col li {
    font-size: 13px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
    color: #D4A574;
}

.footer-info .footer-logo {
    margin-bottom: 15px;
}

.footer-info .footer-logo img {
    height: 45px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-contact-item .icon {
    color: #D4A574;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-hotline {
    font-size: 22px;
    font-weight: 700;
    color: #E54D42 !important;
    letter-spacing: 1px;
}

.footer-qrcode {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.footer-qrcode-item {
    text-align: center;
}

.footer-qrcode-item img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 6px;
}

.footer-qrcode-item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    font-size: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
    color: #D4A574;
}

/* ==========================================================================
   Page Templates
   ========================================================================== */

.page-header {
    background: linear-gradient(135deg, #0056A9, #003D7A);
    padding: 50px 0;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 32px;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.page-header .breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
}

.page-header .breadcrumb span {
    margin: 0 8px;
}

.page-content {
    padding: 0 0 50px;
}

.page-content .container {
    display: flex;
    gap: 30px;
}

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

.content-area article {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    line-height: 1.8;
}

.content-area article h2 { font-size: 22px; margin: 25px 0 15px; }
.content-area article h3 { font-size: 18px; margin: 20px 0 12px; }
.content-area article ul,
.content-area article ol {
    margin: 10px 0 10px 20px;
    list-style: disc;
}

.content-area article ol {
    list-style: decimal;
}

.content-area article li {
    margin-bottom: 6px;
    color: #666666;
}

.content-area article img {
    border-radius: 8px;
    margin: 15px 0;
}

.content-area article table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.content-area article table th,
.content-area article table td {
    border: 1px solid #E8E8E8;
    padding: 10px 15px;
    text-align: left;
}

.content-area article table th {
    background: #F0F7FF;
    color: #0056A9;
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    width: 300px;
    flex-shrink: 0;
}

.sidebar .widget {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.sidebar .widget-title {
    font-size: 18px;
    padding-bottom: 12px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0056A9;
    color: #333333;
}

.sidebar .widget ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #E8E8E8;
}

.sidebar .widget ul li a {
    color: #666666;
}

.sidebar .widget ul li a:hover {
    color: #0056A9;
    padding-left: 5px;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact-form {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333333;
    font-size: 14px;
}

.contact-form label .required {
    color: #E54D42;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    font-size: 14px;
    color: #333333;
    transition: border-color 0.3s ease;
    background: #FAFAFA;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0056A9;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(0, 86, 169, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-submit {
    text-align: center;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb-nav {
    padding: 15px 0;
    font-size: 13px;
    color: #999999;
}

.breadcrumb-nav a {
    color: #0056A9;
}

.breadcrumb-nav .separator {
    margin: 0 8px;
    color: #CCCCCC;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404 {
    text-align: center;
    padding: 80px 0;
}

.error-404 .error-number {
    font-size: 120px;
    font-weight: 700;
    color: #0056A9;
    line-height: 1;
    opacity: 0.2;
    margin-bottom: 20px;
}

.error-404 h1 {
    font-size: 28px;
    margin-bottom: 15px;
}

.error-404 p {
    font-size: 16px;
    color: #999999;
    margin-bottom: 30px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #DDDDDD;
    color: #666666;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.pagination .page-numbers.current {
    background: #0056A9;
    border-color: #0056A9;
    color: #FFFFFF;
}

.pagination .page-numbers:hover:not(.current) {
    background: #F0F7FF;
    border-color: #0056A9;
    color: #0056A9;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: #0056A9; }
.text-accent { color: #D4A574; }
.text-danger { color: #E54D42; }
.text-muted { color: #999999; }

.bg-white { background: #FFFFFF; }
.bg-light { background: #F8F9FA; }
.bg-primary { background: #0056A9; color: #FFFFFF; }

.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Hero Section (New Homepage)
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
    padding: 80px 0;
    color: #FFFFFF;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Articles Grid
   ========================================================================== */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.article-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-thumb img {
    transform: scale(1.05);
}

.article-body {
    padding: 20px;
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
}

.article-title a {
    color: #2C3E50;
}

.article-title a:hover {
    color: #3498DB;
}

.article-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #95A5A6;
    margin-bottom: 12px;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.article-excerpt {
    font-size: 14px;
    color: #7F8C8D;
    line-height: 1.8;
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #3498DB;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #2980B9;
    gap: 8px;
}

/* ==========================================================================
   Hot Articles List
   ========================================================================== */

.hot-articles-list {
    max-width: 800px;
    margin: 0 auto;
}

.hot-article-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ECF0F1;
    transition: all 0.3s ease;
}

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

.hot-article-item:hover {
    padding-left: 10px;
}

.hot-rank {
    width: 32px;
    height: 32px;
    background: #3498DB;
    color: #FFFFFF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.hot-article-content {
    flex: 1;
}

.hot-article-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.5;
}

.hot-article-title a {
    color: #2C3E50;
}

.hot-article-title a:hover {
    color: #3498DB;
}

.hot-article-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #95A5A6;
}

.hot-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    background: #FFFFFF;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-info-card {
    text-align: center;
    padding: 30px 20px;
    background: #F5F7FA;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498DB, #2980B9);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

.contact-info-card h3 {
    font-size: 18px;
    color: #2C3E50;
    margin-bottom: 10px;
}

.contact-detail {
    font-size: 15px;
    color: #3498DB;
    font-weight: 500;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */

.newsletter-section {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: #FFFFFF;
    padding: 60px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 30px;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

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

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 15px;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #3498DB;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    padding: 14px 30px;
    font-size: 15px;
}

/* ==========================================================================
   Updated Button Styles for Comfortable Theme
   ========================================================================== */

.btn-primary {
    background-color: #3498DB;
    color: #FFFFFF;
    border-color: #3498DB;
}

.btn-primary:hover {
    background-color: #2980B9;
    border-color: #2980B9;
    color: #FFFFFF;
}

.btn-secondary {
    background-color: transparent;
    color: #3498DB;
    border-color: #3498DB;
}

.btn-secondary:hover {
    background-color: #3498DB;
    color: #FFFFFF;
}

/* ==========================================================================
   Responsive CSS
   ========================================================================== */

@media (max-width: 1200px) {
    .container { max-width: 960px; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
    .container { max-width: 720px; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 32px; }
    .hero-description { font-size: 16px; }

    .page-content .container { flex-direction: column; }
    .sidebar { width: 100%; }

    .sidebar-quick-btns { display: none; }
}

@media (max-width: 768px) {
    .container { max-width: 100%; padding: 0 15px; }
    .col-3, .col-4, .col-6, .col-8 { flex: 0 0 100%; max-width: 100%; }

    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }

    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        padding: 10px 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu > li > a {
        padding: 12px 20px;
        color: #2C3E50;
    }

    .main-menu > li > a:hover {
        background: #F5F7FA;
        color: #3498DB;
    }

    .sub-menu {
        position: static;
        background: #F5F7FA;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .sub-menu li a {
        color: #2C3E50;
        padding-left: 40px;
    }

    .sub-menu li a:hover {
        color: #3498DB;
        background: #ECF0F1;
        border-left-color: #3498DB;
    }

    .header-main .container {
        flex-wrap: wrap;
    }

    .header-contact {
        font-size: 14px;
    }

    .site-title { font-size: 18px; }
    .site-description { font-size: 11px; }

    /* Hero */
    .hero-section { padding: 50px 0; }
    .hero-title { font-size: 24px; }
    .hero-description { font-size: 14px; display: block; }
    .hero-actions { flex-direction: column; align-items: center; }

    /* Grids */
    .articles-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 15px; }

    /* Newsletter */
    .newsletter-form { flex-direction: column; }
    .newsletter-form input[type="email"] { width: 100%; }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .section-title h2 { font-size: 22px; }
    .section { padding: 35px 0; }
}

@media (max-width: 480px) {
    .hero-section { padding: 40px 0; }
    .hero-title { font-size: 20px; }
    .articles-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .hot-article-item { flex-direction: column; }
    .hot-rank { align-self: flex-start; }
    .footer-qrcode { flex-direction: column; align-items: center; }
}
