/**
 * Touch Screen 系列（Hub + PCAP/RTS/IRTS 子页）：与 Open Frame 类目 hero 区分，但与全站顶栏/面包屑体系一致。
 */
.page-interior.site-interior-shell {
    background: #edf1f7;
}

.tss-shell-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.tss-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 48%, #0c4a6e 100%);
    color: #f1f5f9;
    padding: 28px 0 36px;
    border-bottom: 1px solid #0c1929;
}

.tss-hero .tss-shell-inner {
    padding-top: 0;
    padding-bottom: 0;
}

.tss-hero-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7dd3fc;
    margin: 0 0 10px;
    font-weight: 600;
}

.tss-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.tss-hero-lead {
    margin: 0;
    max-width: 52rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #cbd5e1;
}

.tss-body {
    padding-top: 28px;
}

.tss-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .tss-hub-grid {
        grid-template-columns: 1fr;
    }
}

.tss-tile {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tss-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.tss-tile-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 16px;
    color: #fff;
}

.tss-tile--pcap .tss-tile-badge { background: linear-gradient(90deg, #0369a1, #0ea5e9); }
.tss-tile--rts .tss-tile-badge { background: linear-gradient(90deg, #92400e, #d97706); }
.tss-tile--irts .tss-tile-badge { background: linear-gradient(90deg, #4c1d95, #7c3aed); }

.tss-tile-body {
    padding: 1rem 1.1rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.tss-tile-body h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.tss-tile-body p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.55;
    color: #475569;
    flex: 1;
}

.tss-tile-cta {
    margin-top: 0.65rem;
    font-size: 0.78rem;
    font-weight: 650;
    color: #0369a1;
}

.tss-tile:hover .tss-tile-cta {
    text-decoration: underline;
}

/* —— 技术子页 —— */
.tss-tech-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 2rem;
    align-items: start;
}

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

.tss-tech-main h1 {
    margin: 0 0 14px;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.tss-prose--rich h1 {
    margin: 0 0 14px;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.tss-tech-rail {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 1rem 1rem 1.1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.tss-tech-rail h2 {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.tss-tech-rail ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tss-tech-rail li + li {
    margin-top: 6px;
}

.tss-tech-rail a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: normal;
}

.tss-tech-rail a:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.tss-tech-rail a.is-current {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.tss-prose {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #334155;
}

.tss-prose p {
    margin: 0 0 14px;
}

.tss-feature {
    margin: 22px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.tss-feature img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
}

/* —— Touch 子页：其它触控显示器推荐轮播 —— */
.tss-rec-wrap {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid #e2e8f0;
}

.tss-rec-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.tss-rec-lead {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #64748b;
    max-width: 52rem;
}

.tss-rec-marquee {
    overflow: hidden;
    position: relative;
    margin: 0 -8px;
    padding: 0 8px;
}

.tss-rec-marquee-track {
    display: flex;
    width: max-content;
    animation: tss-rec-marquee-x 48s linear infinite;
}

.tss-rec-marquee:hover .tss-rec-marquee-track {
    animation-play-state: paused;
}

.tss-rec-marquee-chunk {
    display: flex;
    gap: 1rem;
    padding-right: 1rem;
    flex-shrink: 0;
    align-items: stretch;
}

@keyframes tss-rec-marquee-x {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tss-rec-marquee {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .tss-rec-marquee-track {
        animation: none;
    }
}

.tss-rec-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 220px;
    width: 220px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.tss-rec-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.tss-rec-card--mirror {
    pointer-events: none;
}

.tss-rec-card-media {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.tss-rec-card-media img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: contain;
    padding: 8px;
}

.tss-rec-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 10px 12px 12px;
    min-height: 4.5rem;
}

.tss-rec-card-cat {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.tss-rec-card-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.tss-rec-card-spec {
    font-size: 0.72rem;
    line-height: 1.35;
    color: #475569;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 富文本主体（后台 TinyMCE BodyHtml） */
.tss-prose--rich {
    margin-top: 4px;
}

.tss-prose--rich > *:first-child {
    margin-top: 0;
}

.tss-prose--rich p {
    margin: 0 0 14px;
}

.tss-prose--rich h2,
.tss-prose--rich h3,
.tss-prose--rich h4 {
    margin: 1.1rem 0 0.5rem;
    color: #0f172a;
    line-height: 1.25;
}

.tss-prose--rich h2 {
    font-size: 1.15rem;
}

.tss-prose--rich h3 {
    font-size: 1.02rem;
}

.tss-prose--rich ul,
.tss-prose--rich ol {
    margin: 0 0 14px 1.1rem;
    padding: 0;
}

.tss-prose--rich img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

.tss-prose--rich table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.88rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.tss-prose--rich th,
.tss-prose--rich td {
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    vertical-align: top;
}

.tss-prose--rich th {
    background: #f1f5f9;
    font-weight: 700;
    color: #0f172a;
}

.tss-prose--rich figure {
    margin: 16px 0;
}

.tss-prose--rich figcaption {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 6px;
}
