/* ============================================================
   templatein18 - Style Sheet
   Generated: 2026-08-27 (revised)
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f5f7fa;
    color: #1a2a3a;
    line-height: 1.6;
    padding: 0;
}

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

/* ----- Header ----- */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

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

.logo a {
    display: inline-block;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #1a2a3a;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: #e67e22;
    border-bottom-color: #e67e22;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #1a2a3a;
    border-radius: 2px;
    transition: 0.3s;
}

/* ----- Main Content (full-width, no sidebar) ----- */
.site-main {
    padding: 2rem 0;
}

.content-area {
    background: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.content-area h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.content-area h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a2a3a;
    margin: 2rem 0 1rem;
    padding-bottom: 0.3rem;
    border-bottom: 3px solid #e67e22;
    display: inline-block;
}

.content-area h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a2a3a;
    margin: 1.5rem 0 0.8rem;
}

.content-area p {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.content-area a {
    color: #e67e22;
    text-decoration: underline;
}

.content-area a:hover {
    text-decoration: none;
}

.content-area ul,
.content-area ol {
    margin: 0 0 1.5rem 1.5rem;
}

.content-area li {
    margin-bottom: 0.3rem;
}

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

/* Feature box (from content) */
.feature-box {
    background: #f0f4f8;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid #e67e22;
    margin: 1.5rem 0;
}

.feature-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-box li {
    padding: 0.3rem 0 0.3rem 1.8rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e67e22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") left center no-repeat;
    background-size: 1.2rem;
}

/* Table */
.content-area table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.content-area th,
.content-area td {
    border: 1px solid #dde1e6;
    padding: 0.7rem 1rem;
    text-align: left;
}

.content-area th {
    background: #eef2f6;
    font-weight: 600;
}

/* Details / FAQ */
.content-area details {
    background: #f8f9fb;
    border-radius: 8px;
    margin: 0.5rem 0;
    padding: 0.2rem 1rem;
    border: 1px solid #e9ecef;
}

.content-area details summary {
    cursor: pointer;
    font-weight: 600;
    padding: 0.8rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-area details summary::-webkit-details-marker {
    display: none;
}

.content-area details summary::after {
    content: "+";
    font-size: 1.4rem;
    color: #e67e22;
}

.content-area details[open] summary::after {
    content: "−";
}

.content-area details p {
    padding: 0.5rem 0 1rem;
    margin: 0;
}

/* ----- App Card (download page) ----- */
.app-card {
    display: flex;
    gap: 1.5rem;
    background: #f0f4f8;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid #e9ecef;
}

.app-icon {
    border-radius: 16px;
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: white;
    padding: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.app-details {
    flex: 1;
}

.app-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
}

.app-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #4a5a6a;
    margin-bottom: 0.8rem;
}

.meta-item {
    background: white;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    border: 1px solid #dde1e6;
}

/* ----- Buttons (forced colors) ----- */
.btn {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-download {
    background: #e67e22 !important;
    color: #ffffff !important;
}

.btn-download:hover {
    background: #cf711f !important;
    transform: translateY(-1px);
}

/* ----- Footer ----- */
.site-footer {
    background: #1a2a3a;
    color: #cbd5e0;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-info p {
    margin: 0.2rem 0;
}

.footer-info a {
    color: #e67e22;
    text-decoration: none;
}

.footer-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: #e67e22;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .main-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        padding: 1rem 0;
        gap: 0.5rem;
    }
    .main-nav ul.open {
        display: flex;
    }
    .header-inner {
        flex-wrap: wrap;
    }
    .main-nav {
        width: 100%;
    }
    .main-nav ul {
        padding: 0;
    }
    .main-nav li {
        width: 100%;
        text-align: center;
    }
    .content-area {
        padding: 1.5rem;
    }
    .app-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .app-meta {
        justify-content: center;
    }
}

/* ----- Utilities ----- */
.text-center {
    text-align: center;
}
/* ----- 新增：kb-row-layout-wrap 模块样式 ----- */
.kb-row-layout-wrap {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.kt-row-column-wrap {
    max-width: 600px;
    margin: 0 auto;
}

.wp-block-kadence-column .kt-inside-inner-col {
    text-align: center;
}

.wp-block-kadence-column h2 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem;
    border-bottom: none;
    display: block;
}

.wp-block-image {
    margin: 0.5rem 0;
}

.wp-block-image img {
    border-radius: 12px;
}

.wp-block-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.wp-block-button .wp-block-button__link {
    display: inline-block;
    padding: 0.7rem 2.5rem;
    border-radius: 6px;
    background: #e67e22;
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.wp-block-button .wp-block-button__link:hover {
    background: #cf711f;
}

.wp-block-kadence-column h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a2a3a;
    margin: 0.5rem 0;
}

/* 移动端适配 */
@media (max-width: 600px) {
    .kb-row-layout-wrap {
        padding: 1.5rem 1rem;
    }
    .wp-block-button .wp-block-button__link {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
}
/* 信息表格样式（下载页） */
.wp-block-table {
    margin: 1.5rem 0;
    overflow-x: auto;
}

.wp-block-table table.has-fixed-layout {
    table-layout: fixed;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
    border: 1px solid #dde1e6;
    padding: 0.6rem 1rem;
    text-align: center;
}

.wp-block-table th {
    background: #f0f4f8;
    font-weight: 600;
}
/* 确保图片居中 */
.wp-caption.aligncenter {
    margin: 1rem auto;
    text-align: center;
    display: block;
    max-width: 100%;
}

.wp-caption.aligncenter img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

/* 如果 figure 使用了内联 style="width:800px"，确保它自适应 */
.wp-caption.aligncenter {
    width: auto !important;
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}