/* Featured 产品/方案页（源自 Dev.vue 等，scoped → .portal-featured） */
.portal-featured .news-detail {
    padding: 0 20px;
    color: #fff;
    font-family: sans-serif;
}

.portal-featured .news-detail--after-preview {
    margin-top: 30px;
}

.portal-featured .featured-news {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.portal-featured .featured-image {
    flex: 1;
    position: relative;
}

.portal-featured .featured-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

body.dark .portal-featured .featured-content,
body.dark .portal-featured .featured-content-reverse {
    text-align: left;
}

.portal-featured .featured-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.portal-featured .portal-hero-content {
    position: relative;
}

.portal-featured .featured-content .date {
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.portal-featured .featured-content .title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
    max-width: 100%;
}

.portal-featured .featured-content .desc {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
}

.portal-featured .button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.portal-featured .read-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
}

.portal-featured .read-btn.primary {
    background-color: #26bbff;
    color: #101014;
    font-weight: bold;
}

.portal-featured .read-btn.outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid hsla(0, 0%, 100%, 0.35);
}

.portal-featured .domain-distribution {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 20px;
    background: rgba(16, 16, 20, 0.9);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    animation: portalFeaturedSlideUp 0.3s ease;
    z-index: 2;
    overflow-y: auto;
}

.portal-featured .domain-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
}

.portal-featured .domain-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portal-featured .domain-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portal-featured .domain-name {
    font-size: 16px;
    color: #fff;
    margin-bottom: 4px;
}

.portal-featured .domain-desc {
    font-size: 14px;
    color: #bbb;
    line-height: 1.4;
}

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

.portal-featured .news-preview {
    padding: 0 94px;
}

.portal-featured .news-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.portal-featured .view-all {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    border-radius: 8px;
    transition: all 0.3s;
}

.portal-featured .news-preview-title {
    font-size: 24px;
    color: #ffffff;
    font-weight: 700;
}

.portal-featured .featured-news-reverse {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.portal-featured .featured-image-reverse {
    flex: 1;
    position: relative;
}

.portal-featured .featured-image-reverse img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.portal-featured .featured-content-reverse {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
}

.portal-featured .featured-content-reverse .title-reverse {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.portal-featured .featured-content-reverse .desc-reverse {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* NewsList.vue → _news_preview.html */
.portal-featured .portal-news-preview-list.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.portal-featured .portal-news-preview-list .news-item {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.portal-featured .portal-news-preview-list .news-item:nth-child(n+3) {
    display: none;
}

.portal-featured .portal-news-preview-list .news-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.portal-featured .portal-news-preview-list .news-text {
    padding: 10px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portal-featured .portal-news-preview-list .news-subtitle {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #fff;
}

.portal-featured .portal-news-preview-list .news-desc {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 6px;
    text-align: justify;
}

.portal-featured .portal-news-preview-list .news-tag {
    display: inline-block;
    background-color: #999;
    color: #101014;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 6px;
}

/* 询盘表单见 contact-inquiry.css */

@media (min-width: 768px) {
    .portal-featured .featured-news {
        padding: 64px 32px;
    }

    .portal-featured .featured-content {
        align-self: flex-start;
        padding: 20px 15px;
    }

    .portal-featured .featured-content .title {
        font-size: 36px;
    }

    .portal-featured .news-preview {
        padding: 0 32px 40px;
    }

    .portal-featured .featured-news-reverse {
        padding: 64px 32px;
    }

    .portal-featured .featured-content-reverse {
        padding: 20px 15px;
    }

    .portal-featured .featured-content-reverse .title-reverse {
        font-size: 36px;
    }

    .portal-featured .portal-news-preview-list.news-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-featured .portal-news-preview-list .news-item:nth-child(n+3) {
        display: flex;
    }

    .portal-featured .portal-news-preview-list .news-subtitle {
        font-size: 20px;
    }

    .portal-featured .portal-news-preview-list .news-desc {
        font-size: 15px;
    }
}

@media (min-width: 1280px) {
    .portal-featured .featured-news {
        flex-direction: row;
        align-self: center;
        padding: 66px 64px;
    }

    .portal-featured .featured-image {
        flex: 0 0 648px;
    }

    .portal-featured .featured-image img {
        width: 648px;
        height: 364px;
    }

    .portal-featured .featured-content {
        flex: 1;
        padding: 20px;
        margin-right: 50px;
    }

    .portal-featured .featured-content .title {
        font-size: 40px;
    }

    .portal-featured .news-preview {
        padding: 0 94px;
    }

    .portal-featured .featured-news-reverse {
        flex-direction: row-reverse;
        align-self: center;
        padding: 66px 64px;
    }

    .portal-featured .featured-image-reverse {
        flex: 0 0 648px;
    }

    .portal-featured .featured-image-reverse img {
        width: 648px;
        height: 364px;
    }

    .portal-featured .featured-content-reverse {
        flex: 1;
        padding: 20px;
        margin-left: 50px;
        align-items: flex-end;
    }

    .portal-featured .featured-content-reverse .title-reverse {
        font-size: 40px;
        text-align: right;
    }

    .portal-featured .portal-news-preview-list.news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .portal-featured .portal-news-preview-list .news-item {
        flex-direction: row;
        align-items: stretch;
        height: 200px;
    }

    .portal-featured .portal-news-preview-list .news-img {
        width: 200px;
        height: 100%;
        border-radius: 0;
    }

    .portal-featured .portal-news-preview-list .news-text {
        padding: 20px;
        justify-content: center;
    }
}

body.dark .portal-featured .saas-catalog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 48px;
}

body.dark .portal-featured .saas-catalog-title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 600;
    border-bottom: 2px solid #26bbff;
    display: inline-block;
    padding-bottom: 8px;
}

body.dark .portal-featured .saas-catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

body.dark .portal-featured .saas-catalog-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

body.dark .portal-featured .saas-catalog-image {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 6px;
}

body.dark .portal-featured .saas-catalog-body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
}

body.dark .portal-featured .saas-catalog-body p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
}

/* ===== 解决方案页扩展区块（与 hero / 正文块同一横向节奏） ===== */
.portal-featured .news-detail.portal-featured-band {
    padding-top: 0;
    padding-bottom: 0;
}

.portal-featured .news-detail.portal-featured-band + .news-detail.portal-featured-band {
    margin-top: 0;
}

.portal-featured .news-detail.portal-featured-band--cta {
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: clamp(8px, 2vw, 16px);
}

/* 与 .featured-news 在 hero 内的累计边距一致：news-detail + featured-news horizontal */
.portal-featured .news-detail.portal-featured-band {
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 768px) {
    .portal-featured .news-detail.portal-featured-band {
        padding-left: 52px;
        padding-right: 52px;
    }
}

@media (min-width: 1280px) {
    .portal-featured .news-detail.portal-featured-band {
        padding-left: 84px;
        padding-right: 84px;
    }

    .portal-featured .portal-featured-band .news-preview {
        padding-left: 0;
        padding-right: 0;
    }
}

.portal-featured .solution-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #26bbff;
    margin: 0 0 8px;
}

.portal-featured .solution-section-title {
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.35;
}

.portal-featured .solution-section-lead {
    font-size: 15px;
    line-height: 1.75;
    color: #aaa;
    margin: 0 0 28px;
    max-width: 640px;
}

.portal-featured .solution-highlights {
    padding: clamp(36px, 5vw, 48px) 0 clamp(28px, 4vw, 36px);
    margin-bottom: clamp(20px, 3vw, 32px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.portal-featured .solution-highlights-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.portal-featured .solution-highlight-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 18px 20px;
}

.portal-featured .solution-highlight-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.portal-featured .solution-highlight-card p {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

/* SATRI（方案页垂类版，视觉语言对齐首页） */
.portal-featured .solution-satri {
    margin-bottom: clamp(32px, 5vw, 48px);
}

.portal-featured .solution-satri-rail {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.portal-featured .solution-satri-rail-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    font-family: inherit;
}

.portal-featured .solution-satri-rail-btn.is-active,
.portal-featured .solution-satri-rail-btn:hover {
    border-color: #26bbff;
    background: rgba(38, 187, 255, 0.15);
    color: #26bbff;
}

.portal-featured .solution-satri-panels {
    position: relative;
}

.portal-featured .solution-satri-panel {
    display: none;
    padding: 20px 0 22px;
    border-radius: 0;
    background: transparent;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portal-featured .solution-satri-panel.is-active {
    display: block;
}

.portal-featured .solution-satri-en {
    display: flex;
    align-items: baseline;
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
    line-height: 1.15;
}

.portal-featured .solution-satri-en-leading {
    color: #fff;
    border-bottom: 3px solid #26bbff;
    margin-right: 0.06em;
    padding-bottom: 0.05em;
}

.portal-featured .solution-satri-en-rest {
    color: #26bbff;
}

.portal-featured .solution-satri-cn {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.portal-featured .solution-satri-summary {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 12px;
}

.portal-featured .solution-satri-context {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 16px;
    padding-top: 12px;
}

.portal-featured .solution-satri-scope {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
}

.portal-featured .solution-satri-items {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}

.portal-featured .solution-satri-items li {
    position: relative;
    padding-left: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #aaa;
}

.portal-featured .solution-satri-items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #26bbff;
}

/* 移动端 / 平板：五步纵向排列，环节之间留间距 */
@media (max-width: 1279px) {
    .portal-featured .solution-satri-rail {
        gap: 12px;
        margin-bottom: 24px;
    }

    .portal-featured .solution-satri-panels {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .portal-featured .solution-satri-panel {
        display: block;
        margin: 0;
        padding: 20px 16px 22px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.02);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        scroll-margin-top: 88px;
    }

    .portal-featured .solution-satri-panel.is-active {
        display: block;
        border-color: rgba(38, 187, 255, 0.35);
        background: rgba(38, 187, 255, 0.06);
    }
}

@media (min-width: 1280px) {
    .portal-featured .solution-satri-panel {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 18px 16px;
    }

    .portal-featured .solution-satri-panel.is-active {
        display: flex;
    }

    .portal-featured .solution-satri-panels {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
        align-items: stretch;
    }

    .portal-featured .solution-satri-summary,
    .portal-featured .solution-satri-context {
        font-size: 13px;
    }

    .portal-featured .solution-satri-panel {
        border-top: none;
        padding: 16px 12px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.02);
    }

    .portal-featured .solution-satri-items li {
        font-size: 13px;
    }
}

.portal-featured .solution-deliverables {
    padding: clamp(32px, 4vw, 44px) 0 clamp(28px, 4vw, 36px);
    margin-bottom: clamp(8px, 2vw, 16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.portal-featured .solution-deliverables-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.portal-featured .solution-deliverables-list li {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: none;
}

.portal-featured .solution-deliverables-list strong {
    font-size: 15px;
    color: #fff;
    font-weight: 700;
}

.portal-featured .solution-deliverables-list span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.55;
}

.portal-featured .solution-content-block .title,
.portal-featured .solution-content-block .title-reverse {
    font-size: clamp(26px, 4vw, 34px);
}

.portal-featured .solution-block-eyebrow {
    font-size: 13px;
    font-weight: 700;
    color: #26bbff;
    margin: 0 0 8px;
}

.portal-featured .solution-block-bullets {
    margin: 8px 0 0;
    padding-left: 1.2em;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.7;
}

.portal-featured .solution-block-bullets li {
    margin-bottom: 6px;
}

.portal-featured .solution-block-bullets li::marker {
    color: #26bbff;
}

.portal-featured .solution-media-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.04),
        rgba(255, 255, 255, 0.04) 8px,
        rgba(255, 255, 255, 0.07) 8px,
        rgba(255, 255, 255, 0.07) 16px
    );
    border: 1px dashed rgba(38, 187, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-featured .solution-media-placeholder-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.04em;
}

.portal-featured .solution-news-preview {
    margin-top: 12px;
    padding-top: clamp(24px, 4vw, 40px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-featured .solution-cta-band {
    margin-bottom: clamp(24px, 4vw, 40px);
    padding: clamp(28px, 4vw, 36px) 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.portal-featured .solution-cta-band-inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.portal-featured .solution-cta-band-inner h2 {
    font-size: clamp(22px, 3.5vw, 26px);
    color: #fff;
    margin: 0 0 10px;
}

.portal-featured .solution-cta-band-inner p {
    font-size: 15px;
    color: #aaa;
    max-width: 520px;
    margin: 0 auto 22px;
    line-height: 1.65;
}

.portal-featured .solution-cta-band-inner .button-group {
    justify-content: center;
}

@media (min-width: 768px) {
    .portal-featured .solution-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-featured .solution-deliverables-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 32px;
    }
}

@media (min-width: 1024px) {
    .portal-featured .solution-highlights-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .portal-featured .solution-deliverables-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
    }

    .portal-featured .solution-deliverables-list li {
        padding: 0 24px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .portal-featured .solution-deliverables-list li:last-child {
        border-right: none;
        padding-right: 0;
    }

    .portal-featured .solution-deliverables-list li:first-child {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .portal-featured .saas-catalog-card {
        grid-template-columns: 1fr;
    }

    .portal-featured .featured-content {
        margin: 0;
        padding: 20px 0 40px;
    }

    .portal-featured .news-detail {
        padding: 16px 16px 50px;
    }

    .portal-featured .featured-image {
        height: 200px;
    }

    .portal-featured .news-preview {
        padding: 0 16px 40px;
    }

    .portal-featured .featured-content-reverse {
        padding: 20px 0 40px;
    }

    .portal-featured .portal-news-preview-list .news-subtitle {
        font-size: 18px;
    }

    .portal-featured .portal-news-preview-list .news-desc {
        font-size: 14px;
    }
}
