/**
 * seedz1 解决方案详情：对齐素材 show 页布局，不依赖 Tailwind prose / 任意值类
 */

.seedz1-sol-detail {
    background: #fff;
}

/* Hero：固定高度，避免 min-h-[…] 未编入预构建 CSS */
.seedz1-sol-detail__hero {
    position: relative;
    margin-bottom: 2.5rem;
    height: 16rem; /* h-64 */
    overflow: hidden;
    background: #0b1220;
}

@media (min-width: 768px) {
    .seedz1-sol-detail__hero {
        height: 20rem; /* md:h-80 */
    }
}

@media (min-width: 1024px) {
    .seedz1-sol-detail__hero {
        height: 24rem; /* lg:h-96 */
        margin-bottom: 3rem;
    }
}

.seedz1-sol-detail__hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.seedz1-sol-detail__hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 18, 32, 0.95) 0%, rgba(29, 32, 135, 0.72) 55%, rgba(29, 32, 135, 0.4) 100%);
}

.seedz1-sol-detail__hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 100%;
}

/* 主体：主栏 + 侧栏 */
.seedz1-sol-detail__grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .seedz1-sol-detail__grid {
        grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
        gap: 3rem;
        align-items: start;
    }
}

.seedz1-sol-detail__aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .seedz1-sol-detail__aside {
        position: sticky;
        top: 6.5rem;
    }
}

.seedz1-sol-detail__aside-card {
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    padding: 1.5rem;
}

.seedz1-sol-detail__aside-media {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.seedz1-sol-detail__aside-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.seedz1-sol-detail__aside-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.seedz1-sol-detail__aside-list li {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #64748b;
}

.seedz1-sol-detail__aside-list li:first-child {
    margin-top: 0;
}

.seedz1-sol-detail__check {
    color: #e85d04;
    font-weight: 700;
}

/* 正文：导入内容已带 utility class；此处只做兜底与冲突修复 */
.seedz1-sol-detail__body {
    min-width: 0;
}

.seedz1-sol-detail__body > :first-child {
    margin-top: 0;
}

.seedz1-sol-detail__body section {
    margin-top: 2.75rem;
}

.seedz1-sol-detail__body section:first-child {
    margin-top: 0;
}

.seedz1-sol-detail__body h2 {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
    color: #1d2087;
}

.seedz1-sol-detail__body h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
}

.seedz1-sol-detail__body p {
    margin: 1rem 0 0;
    line-height: 1.7;
    color: #64748b;
}

.seedz1-sol-detail__body ul {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
    color: #64748b;
}

.seedz1-sol-detail__body li {
    margin-top: 0.35rem;
}

.seedz1-sol-detail__body img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 导入内容里的卡片网格：补上 surface/60 等可能缺失的任意透明度类 */
.seedz1-sol-detail__body .bg-surface\/60,
.seedz1-sol-detail__body [class*="bg-surface"] {
    background-color: #f8fafc;
}

.seedz1-sol-detail__body .grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .seedz1-sol-detail__body .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.seedz1-sol-detail__body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.seedz1-sol-detail__body th,
.seedz1-sol-detail__body td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: top;
}

.seedz1-sol-detail__body th {
    background: #f8fafc;
    font-weight: 600;
    color: #1d2087;
}

/* 底部 CTA 与页脚间距 */
.seedz1-sol-detail__cta {
    margin-top: 4rem;
    margin-bottom: 0;
}

.seedz1-sol-detail__related {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}
