/*
Theme Name: Bootstart
Theme URI: https://cd1024.com/
Author: Bootstart Team
Author URI: https://cd1024.com
Description: 基于 Bootstrap 5 的现代化企业主题，采用清新绿色系设计，适用于网站建设、小程序开发、软件定制等企业官网。
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bootstart
*/

/* ================================
   全局变量与基础样式
   ================================ */
:root {
    --bs-primary: #61B803;
    --bs-primary-rgb: 97, 184, 3;
    --bs-secondary: #378601;
    --bs-secondary-rgb: 55, 134, 1;
    --bs-dark: #1a1a1a;
    --bs-light: #f8f9fa;
    --bs-body-color: #333333;
    --bs-heading-color: #1a1a1a;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--bs-body-color);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--bs-heading-color);
    font-weight: 600;
}

a {
    color: var(--bs-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--bs-primary);
}

/* ================================
   顶部工具栏
   ================================ */
.top-bar {
    background-color: #F8F9FA;
    color: #333333;
    font-size: 0.875rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    /* border-bottom: 1px solid #e9ecef; */
}

.top-bar a {
    color: #333333;
}

.top-bar a:hover {
    color: var(--bs-primary);
}

@media (max-width: 767.98px) {
    .top-bar {
        display: none;
    }
}

/* ================================
   导航栏
   ================================ */
.navbar-bootstart {
    background-color: #ffffff;
    /* background-color: #F8F9FA; */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}
.navbar-bootstart .navbar-brand {
    padding: 0;
}
.navbar-bootstart .navbar-brand img {
    max-height: 60px;
    width: auto;
}

.navbar-bootstart .nav-link {
    color: #333333;
    font-weight: 400;
    white-space: nowrap;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    position: relative;
}

.navbar-bootstart .nav-link:hover,
.navbar-bootstart .nav-link.active {
    color: var(--bs-primary);
}

.navbar-bootstart .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--bs-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-bootstart .nav-link:hover::after,
.navbar-bootstart .nav-link.active::after {
    transform: scaleX(1);
}

.btn-quote {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(97, 184, 3, 0.3);
    color: #ffffff;
}

/* ================================
   Jumbotron / Hero 区域
   ================================ */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f1f0f 100%);
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(97, 184, 3, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section.hero-has-bg {
    background-color: #1a1a1a;
}

.hero-section.hero-has-bg::before {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-title .text-primary {
    color: #a8e063 !important;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 640px;
}

.hero-has-bg .hero-title {
    color: #ffffff;
}

.hero-has-bg .hero-title .text-primary {
    color: #a8e063 !important;
}

.hero-has-bg .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    color: #ffffff;
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(97, 184, 3, 0.35);
    color: #ffffff;
}

.btn-hero-outline {
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    padding: 0.8rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-hero-outline:hover {
    background: var(--bs-primary);
    color: #ffffff;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--bs-primary);
    border-radius: 1rem;
    z-index: 0;
}

.hero-image {
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    background: #ffffff;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================
   服务功能区域
   ================================ */
.services-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: #666666;
    font-size: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(97, 184, 3, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--bs-primary);
    margin-bottom: 1.5rem;
    transition: all 0.35s ease;
}

.service-card:hover .service-icon {
    background: var(--bs-primary);
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.service-list li {
    padding: 0.4rem 0;
    color: #555555;
    position: relative;
    padding-left: 1.25rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bs-primary);
    font-weight: 700;
}

/* ================================
   员工 / AI 工具展示区域
   ================================ */
.team-section {
    background-color: #f8f9fa;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.team-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
    border: 1px solid #e9ecef;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.team-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, #e9f5db 0%, #d4e9c7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--bs-primary);
}

.team-body {
    padding: 1.5rem;
}

.team-body h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.team-body p {
    color: #666666;
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ================================
   联系我们 CTA 区域
   ================================ */
.cta-section {
    background: linear-gradient(135deg, var(--bs-secondary) 0%, var(--bs-primary) 100%);
    padding-top: 5rem;
    padding-bottom: 5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .section-title {
    color: #ffffff;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.btn-cta-light {
    background: #ffffff;
    color: var(--bs-secondary);
    border: none;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-cta-light:hover {
    background: #ffffff;
    color: var(--bs-secondary);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ================================
   页脚
   ================================ */
.site-footer {
    background-color: #1a1a1a;
    color: #aaaaaa;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.site-footer h5 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #aaaaaa;
}

.footer-links a:hover {
    color: var(--bs-primary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #333333;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* 页脚小工具样式 */
.site-footer .widget {
    color: #aaaaaa;
}

.site-footer .widget p {
    color: #aaaaaa;
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

.site-footer .widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #2a2a2a;
}

.site-footer .widget li:last-child {
    border-bottom: none;
}

.site-footer .widget li a {
    color: #aaaaaa;
    display: block;
    transition: all 0.2s ease;
}

.site-footer .widget li a:hover {
    color: var(--bs-primary);
    padding-left: 5px;
}

.site-footer .widget .tagcloud a,
.site-footer .widget .wp-block-tag-cloud a {
    display: inline-block;
    background: #2a2a2a;
    color: #aaaaaa;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.875rem !important;
    margin: 0 0.4rem 0.5rem 0;
    border: 1px solid #333333;
    transition: all 0.2s ease;
    text-decoration: none;
}

.site-footer .widget .tagcloud a:hover,
.site-footer .widget .wp-block-tag-cloud a:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border-color: var(--bs-primary);
}

.site-footer .widget form input[type="text"],
.site-footer .widget form input[type="email"],
.site-footer .widget form input[type="search"],
.site-footer .widget form textarea {
    background: #2a2a2a;
    border: 1px solid #333333;
    color: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: 0.375rem;
    width: 100%;
    margin-bottom: 0.75rem;
}

.site-footer .widget form input[type="text"]::placeholder,
.site-footer .widget form input[type="email"]::placeholder,
.site-footer .widget form input[type="search"]::placeholder,
.site-footer .widget form textarea::placeholder {
    color: #777777;
}

.site-footer .widget form input[type="submit"],
.site-footer .widget form button {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.site-footer .widget form input[type="submit"]:hover,
.site-footer .widget form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(97, 184, 3, 0.3);
}

/* ================================
   博客列表页
   ================================ */
.page-header {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f1f0f 100%);
    color: #ffffff;
    min-height: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(97, 184, 3, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-header.page-header-has-bg::before {
    display: none;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.page-header .section-title {
    color: #ffffff;
}

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

.page-header .breadcrumb-item a:hover {
    color: #a8e063;
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

.page-header .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

.blog-card {
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.blog-card .h4 a:hover {
    color: var(--bs-primary);
}

.blog-card .object-fit-cover {
    object-fit: cover;
    min-height: 200px;
}

/* ================================
   案例分类页
   ================================ */
.case-card {
    transition: all 0.35s ease;
    border: 1px solid #e9ecef;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
    border-color: transparent;
}

.case-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #1a1a1a;
}

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

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

.case-image-placeholder {
    background: linear-gradient(135deg, #333333 0%, #1a1a1a 100%);
    height: 220px;
}

.case-body h2 .text-dark {
    transition: color 0.3s ease;
}

.case-card:hover .case-body h2 .text-dark {
    color: var(--bs-primary) !important;
}

/* 分页导航 */
.pagination {
    justify-content: center;
    gap: 0.5rem;
}

.page-link {
    color: var(--bs-secondary);
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
    font-weight: 500;
}

.page-link:hover {
    background-color: var(--bs-primary);
    color: #ffffff;
    border-color: var(--bs-primary);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    border-color: var(--bs-primary);
    color: #ffffff;
}

.page-item.disabled .page-link {
    color: #adb5bd;
    background-color: #f8f9fa;
    border-color: #e9ecef;
}

/* paginate_links 样式兼容 */
.page-numbers {
    display: inline-block;
    color: var(--bs-secondary);
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.6rem 1rem;
    font-weight: 500;
    text-decoration: none;
    margin: 0 0.25rem;
}

.page-numbers:hover {
    background-color: var(--bs-primary);
    color: #ffffff;
    border-color: var(--bs-primary);
}

.page-numbers.current {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    border-color: var(--bs-primary);
    color: #ffffff;
}

.page-numbers.dots {
    border-color: transparent;
    color: #adb5bd;
}

.page-numbers.dots:hover {
    background-color: transparent;
    color: #adb5bd;
}

/* ================================
   博客内容页 / 普通页面内容
   ================================ */
.post-content,
.page-content {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: #333333;
}

/* 标题层级 */
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.4;
}

.post-content h2,
.page-content h2 {
    font-size: 1.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.post-content h3,
.page-content h3 {
    font-size: 1.5rem;
}

.post-content h4,
.page-content h4 {
    font-size: 1.25rem;
}

.post-content h5,
.page-content h5 {
    font-size: 1.125rem;
}

.post-content h6,
.page-content h6 {
    font-size: 1rem;
    color: #555555;
}

/* 段落 */
.post-content p,
.page-content p {
    margin-bottom: 1.5rem;
}

/* 图片与题注 */
.post-content img,
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.post-content figure,
.page-content figure {
    margin: 2rem 0;
    text-align: center;
}

.post-content figcaption,
.page-content figcaption {
    font-size: 0.875rem;
    color: #777777;
    margin-top: 0.75rem;
    text-align: center;
}

/* 引用块 - 中文不用斜体 */
.post-content blockquote,
.page-content blockquote {
    border-left: 4px solid var(--bs-primary);
    margin: 2rem 0;
    color: #444444;
    background: #f8f9fa;
    padding: 1.5rem 1.75rem;
    border-radius: 0 0.5rem 0.5rem 0;
    position: relative;
}

.post-content blockquote::before,
.page-content blockquote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 0.75rem;
    font-size: 3rem;
    color: rgba(97, 184, 3, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.post-content blockquote p:last-child,
.page-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content blockquote cite,
.page-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #777777;
    font-style: normal;
}

.post-content blockquote cite::before,
.page-content blockquote cite::before {
    content: '—— ';
}

/* 列表 - 符合中文阅读习惯 */
.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style-position: inside;
}

.post-content ul,
.page-content ul {
    list-style-type: disc;
}

.post-content ul ul,
.page-content ul ul {
    list-style-type: circle;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.post-content ol,
.page-content ol {
    list-style-type: decimal;
}

.post-content ol ol,
.page-content ol ol {
    list-style-type: lower-alpha;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.post-content li,
.page-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.post-content li > p,
.page-content li > p {
    display: inline;
    margin-bottom: 0;
}

/* 代码 */
.post-content code,
.page-content code {
    font-family: 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'Microsoft YaHei', monospace;
    font-size: 0.9em;
    background: #f1f3f5;
    color: #c7254e;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    word-break: break-word;
}

.post-content pre,
.page-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1.25rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 2rem 0;
    font-size: 0.9375rem;
    line-height: 1.7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-content pre code,
.page-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    word-break: normal;
}

/* 表格 */
.post-content table,
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-radius: 0.5rem;
    overflow: hidden;
}

.post-content th,
.post-content td,
.page-content th,
.page-content td {
    padding: 0.875rem 1rem;
    border: 1px solid #e9ecef;
    text-align: left;
}

.post-content th,
.page-content th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1a1a1a;
}

.post-content tr:nth-child(even),
.page-content tr:nth-child(even) {
    background: #fafbfc;
}

.post-content tr:hover,
.page-content tr:hover {
    background: #f1f3f5;
}

/* 链接 */
.post-content a,
.page-content a {
    color: var(--bs-secondary);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: color 0.2s ease;
}

.post-content a:hover,
.page-content a:hover {
    color: var(--bs-primary);
    text-decoration-thickness: 2px;
}

/* 分隔线 */
.post-content hr,
.page-content hr {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 2.5rem 0;
    position: relative;
}

.post-content hr::after,
.page-content hr::after {
    content: '§';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    color: #cccccc;
    padding: 0 0.75rem;
    font-size: 1.25rem;
}

/* 强调 */
.post-content strong,
.page-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

.post-content em,
.page-content em {
    font-style: normal;
    background: linear-gradient(transparent 60%, rgba(97, 184, 3, 0.2) 60%);
    padding: 0 0.15rem;
}

.post-content mark,
.page-content mark {
    background: rgba(97, 184, 3, 0.2);
    color: #1a1a1a;
    padding: 0.15rem 0.35rem;
    border-radius: 0.25rem;
}

/* 定义列表 */
.post-content dl,
.page-content dl {
    margin-bottom: 1.5rem;
}

.post-content dt,
.page-content dt {
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 1rem;
}

.post-content dd,
.page-content dd {
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555555;
}

.post-thumbnail img {
    border-radius: 0.5rem 0.5rem 0 0;
    margin: 0;
}

/* 作者信息框 */
.author-box {
    transition: all 0.3s ease;
}

/* 评论区域 */
.comments-area .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comments-area .comment {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 0;
}

.comments-area .comment:last-child {
    border-bottom: none;
}

.comments-area .comment-meta {
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 0.75rem;
}

.comments-area .comment-author img {
    border-radius: 50%;
    margin-right: 0.75rem;
}

.comments-area .reply a {
    color: var(--bs-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.comments-area .reply a:hover {
    color: var(--bs-primary);
}

.comments-area .comment-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333333;
}

.comments-area .comment-form input[type="text"],
.comments-area .comment-form input[type="email"],
.comments-area .comment-form input[type="url"],
.comments-area .comment-form textarea {
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    width: 100%;
    transition: border-color 0.3s ease;
}

.comments-area .comment-form input:focus,
.comments-area .comment-form textarea:focus {
    outline: none;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(97, 184, 3, 0.1);
}

.comments-area .comment-form .form-submit input[type="submit"] {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comments-area .comment-form .form-submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(97, 184, 3, 0.3);
}

/* ================================
   侧边栏小工具
   ================================ */
.widget-area .widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    border-bottom-color: #e9ecef;
}

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

.widget-area li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f3f5;
}

.widget-area li:last-child {
    border-bottom: none;
}

.widget-area li a {
    color: #444444;
    display: block;
    transition: all 0.2s ease;
}

.widget-area li a:hover {
    color: var(--bs-primary);
    padding-left: 5px;
}

.widget-area .tagcloud a {
    display: inline-block;
    background: #f8f9fa;
    color: #555555;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.875rem !important;
    margin: 0 0.4rem 0.5rem 0;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.widget-area .tagcloud a:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border-color: var(--bs-primary);
}

/* ================================
   响应式调整
   ================================ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .navbar-bootstart .navbar-collapse {
        background: #ffffff;
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .navbar-bootstart .nav-link::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-header {
        min-height: 220px;
        height: 220px;
    }
}
