/*
 * ============================================================================
 * 🚀 CODE BLOCK START: heroSwiper
 * ============================================================================
 * Purpose: 轮播图区域 - 模仿Human Protein Atlas风格
 * Design Decision: 左侧主轮播 + 右侧3个小卡片布局
 * Style Reference: HPA网站轮播图设计（左右箭头、分层标题、指示点、侧边卡片）
 */

.hero-swiper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
}

/* 主容器：左侧大卡片 + 右侧小卡片 */
.hero-layout {
    display: flex;
    gap: 20px;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
}

/* 左侧大卡片 */
.carousel-wrapper {
    position: relative;
    width: 480px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    background: #333;
}

.major-card {
    display: block;
    height: 100%;
    text-decoration: none;
    color: #fff;
}

.major-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.major-card-body {
    padding: 15px;
    background: #333;
}

.major-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #fff;
}

.major-card-title:hover {
    text-decoration: underline;
}

.major-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.major-card-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.major-card-meta span {
    margin-right: 15px;
}

.major-card-type {
    color: #f39c12;
}

/* 右侧小卡片容器 */
.side-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    flex: 1;
}

/* 右侧小卡片样式 - Nature风格 */
.side-card {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.side-card:hover .side-card-title {
    text-decoration: underline;
}

/* 卡片图片区 */
.side-card-image {
    height: 140px;
    overflow: hidden;
}

.side-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 卡片内容区 */
.side-card-content {
    padding: 10px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.side-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin-bottom: auto;
}

.side-card-meta {
    font-size: 11px;
    color: #666;
    margin-top: 8px;
}

.side-card-meta span {
    margin-right: 10px;
}

.side-card-type {
    color: #c00;
}

/* 轮播导航箭头 - HPA风格 */
.carousel-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s;
}

.carousel-wrapper:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav.prev { left: 0; }
.carousel-nav.next { right: 0; }

.carousel-nav svg {
    width: 24px;
    height: 48px;
}

.carousel-nav .nav-bg {
    fill: rgba(0,0,0,0.5);
    transition: fill 0.2s;
}

.carousel-nav:hover .nav-bg {
    fill: rgba(0,0,0,0.7);
}

.carousel-nav .nav-arrow {
    fill: #fff;
}

/* 轮播slides容器 */
.swiper-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    cursor: pointer;
}

.swiper-slide.active {
    opacity: 1;
    z-index: 10;
}

/* 学术配色渐变背景 - 蓝/绿/青色系 */
.swiper-slide:nth-child(1) {
    background: linear-gradient(135deg, #0d3b5c 0%, #1a5276 50%, #2874a6 100%);
}
.swiper-slide:nth-child(2) {
    background: linear-gradient(135deg, #145a32 0%, #1e8449 50%, #27ae60 100%);
}
.swiper-slide:nth-child(3) {
    background: linear-gradient(135deg, #0e6655 0%, #16a085 50%, #1abc9c 100%);
}
.swiper-slide:nth-child(4) {
    background: linear-gradient(135deg, #154360 0%, #1f618d 50%, #2874a6 100%);
}
.swiper-slide:nth-child(5) {
    background: linear-gradient(135deg, #1a5276 0%, #2874a6 50%, #3498db 100%);
}

/* HPA风格的slide内容布局 */
.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 25px 30px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slide-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.slide-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slide-desc {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 400px;
}

.slide-link {
    position: absolute;
    bottom: 20px;
    left: 30px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.slide-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* 底部指示点 - HPA风格 */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 50;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator:hover {
    background: rgba(255,255,255,0.7);
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* ============================================================================
 * 🏁 CODE BLOCK END: heroSwiper
 * ============================================================================ */

/*
 * ============================================================================
 * 🚀 CODE BLOCK START: svgHoneycomb
 * ============================================================================
 * Purpose: SVG蜂窝状导航样式 (完整保留原始样式)
 */

.svg-honeycomb-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px;
    scroll-margin-top: 50px;
}

.svg-honeycomb-section .section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.svg-honeycomb-section .section-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.svg-honeycomb-section .section-header h2 a {
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.svg-honeycomb-section .section-header h2 a:hover {
    text-decoration: underline;
}

.section-header .arrow {
    margin-left: 8px;
    font-size: 14px;
}

/* 功能卡片网格 */
.func-list-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.func-list-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.func-list-card:hover .func-list-title {
    text-decoration: underline;
}

.func-list-card-image {
    height: 100px;
    overflow: hidden;
    background: #f5f5f5;
}

.func-list-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.func-list-card-body {
    padding: 12px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.func-list-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin-bottom: 8px;
}

.func-list-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.func-list-meta {
    font-size: 11px;
    color: #666;
    margin-top: 10px;
}

.func-list-meta span {
    margin-right: 10px;
}

.func-list-type {
    color: #c00;
}

.func-list-oa {
    color: #f68212;
}

.initSvg {
    max-width: 100%;
    height: auto;
}

/* ============================================================================
 * 🏁 CODE BLOCK END: svgHoneycomb
 * ============================================================================ */

/*
 * ============================================================================
 * 🚀 CODE BLOCK START: funcNavigation
 * ============================================================================
 */

.func-nav {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

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

.section-header h2 {
    font-size: 20px;
    color: var(--text-dark);
}

.section-header .links {
    display: flex;
    gap: 15px;
}

.section-header .links a {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

.section-header .links a:hover {
    text-decoration: underline;
}

.func-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.func-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.func-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26,82,118,0.15);
    border-color: var(--primary);
}

.func-card .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
}

.func-card h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.func-card p {
    font-size: 12px;
    color: var(--text-muted);
}

.func-card.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.func-card.highlight h3,
.func-card.highlight p {
    color: #fff;
}

.func-card.highlight .icon {
    background: rgba(255,255,255,0.2);
}

/* ============================================================================
 * 🏁 CODE BLOCK END: funcNavigation
 * ============================================================================ */

/*
 * ============================================================================
 * 🚀 CODE BLOCK START: recommendations
 * ============================================================================
 * Purpose: 今日推荐区域 - Nature风格
 * Layout: 顶部Hero横幅 + 底部4卡片+1封面
 */

.recommendations {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--bg-white);
    scroll-margin-top: 50px;
}

/* Hero横幅 */
.rec-hero {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    background: #f5f5f5;
    overflow: hidden;
}

.rec-hero-image {
    width: 50%;
    flex-shrink: 0;
}

.rec-hero-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.rec-hero-content {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rec-hero-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
    margin-bottom: 15px;
}

.rec-hero-title a {
    color: inherit;
    text-decoration: none;
}

.rec-hero-title a:hover {
    text-decoration: underline;
}

.rec-hero-summary {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* 底部卡片行 */
.rec-grid {
    display: flex;
    gap: 20px;
}

/* 普通卡片 */
.rec-card {
    flex: 1;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.rec-card:hover .rec-card-title {
    text-decoration: underline;
}

.rec-card-image {
    height: 100px;
    overflow: hidden;
}

.rec-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-card-body {
    padding: 12px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rec-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin-bottom: 8px;
}

.rec-card-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rec-card-meta {
    font-size: 11px;
    color: #666;
    margin-top: 10px;
}

.rec-card-meta span {
    margin-right: 10px;
}

.rec-card-type {
    color: #c00;
}

.rec-card-oa {
    color: #f68212;
}

/* 当期封面卡片 */
.rec-card--issue {
    width: 180px;
    flex-shrink: 0;
    flex-grow: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.rec-card--issue .rec-card-image {
    height: auto;
}

.rec-card--issue .rec-card-image img {
    height: auto;
}

.rec-card--issue .rec-card-buttons {
    display: flex;
    gap: 8px;
    padding: 10px 0;
}

.rec-card--issue .rec-btn {
    flex: 1;
    padding: 8px 12px;
    text-align: center;
    font-size: 12px;
    text-decoration: none;
    border-radius: 0;
}

.rec-btn--outline {
    border: 1px solid #000;
    color: #000;
    background: #fff;
}

.rec-btn--outline:hover {
    background: #f5f5f5;
}

.rec-btn--primary {
    border: 1px solid #c00;
    color: #fff;
    background: #c00;
}

.rec-btn--primary:hover {
    background: #a00;
}

/* ============================================================================
 * 🏁 CODE BLOCK END: recommendations
 * ============================================================================ */

/*
 * ============================================================================
 * 🚀 CODE BLOCK START: features
 * ============================================================================
 * Purpose: 特色功能区 - Nature竖向列表样式
 */

.features {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px;
    scroll-margin-top: 50px;
}

.features .section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.features .section-header h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.features .section-header h2 a {
    color: #000;
    text-decoration: none;
}

.features .section-header h2 a:hover {
    text-decoration: underline;
}

/* 竖向列表 */
.features-list {
    display: flex;
    flex-direction: column;
}

.feature-row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
}

.feature-row:hover .feature-row-title {
    text-decoration: underline;
}

/* 左侧meta */
.feature-row-meta {
    width: 120px;
    flex-shrink: 0;
    padding-right: 20px;
}

.feature-row-type {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    display: block;
    margin-bottom: 4px;
}

.feature-row-oa {
    font-size: 12px;
    color: #f68212;
    display: block;
    margin-bottom: 4px;
}

.feature-row-date {
    font-size: 12px;
    color: #666;
}

/* 中间内容 */
.feature-row-content {
    flex: 1;
    padding-right: 30px;
}

.feature-row-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin-bottom: 10px;
}

.feature-row-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 12px;
}

.feature-row-author {
    font-size: 13px;
    color: #666;
}

/* 右侧图片 */
.feature-row-image {
    width: 200px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.feature-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================================
 * 🏁 CODE BLOCK END: features
 * ============================================================================ */

/*
 * ============================================================================
 * 🚀 CODE BLOCK START: highlightBar
 * ============================================================================
 */

/* ============================================================================
 * 🚀 CODE BLOCK START: highlightBar - Nature风格快捷入口
 * ============================================================================ */

.highlight-bar {
    background: #fff;
    padding: 30px 20px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.highlight-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.highlight-item {
    flex: 1;
    padding: 20px;
    background: #f8f8f8;
    border-left: 3px solid #c00;
}

.highlight-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

.highlight-item h3 a {
    color: #000;
    text-decoration: none;
}

.highlight-item h3 a:hover {
    color: #c00;
    text-decoration: underline;
}

.highlight-item p {
    font-size: 13px;
    line-height: 1.7;
    color: #666;
}

/* ============================================================================
 * 🏁 CODE BLOCK END: highlightBar
 * ============================================================================ */

/* ============================================================================
 * 🚀 CODE BLOCK START: heroLanding
 * ============================================================================
 * Purpose: 10x Genomics风格首屏轮播
 * Design: 左文右图 + 自动轮播 + 白色背景
 */
.hero-landing {
    height: calc(100vh - 50px);
    min-height: 600px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px 60px 80px;
    max-width: 600px;
}

.hero-slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(192, 0, 0, 0.06);
    border-radius: 20px;
    margin-bottom: 24px;
    width: fit-content;
}

.hero-slide-badge-dot {
    width: 6px;
    height: 6px;
    background: #c00;
    border-radius: 50%;
}

.hero-slide-badge-text {
    font-size: 12px;
    color: #c00;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-slide-title {
    font-size: 42px;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-slide-title strong {
    font-weight: 600;
}

.hero-slide-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 32px;
}

.hero-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #c00;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    width: fit-content;
}

.hero-slide-btn:hover {
    background: #a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(192, 0, 0, 0.3);
}

.hero-slide-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.hero-slide-btn:hover svg {
    transform: translateX(4px);
}

.hero-slide-image {
    position: relative;
    overflow: hidden;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, transparent 100%);
    z-index: 1;
}

.hero-carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 80px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-carousel-dot:hover {
    background: #999;
}

.hero-carousel-dot.active {
    background: #c00;
    width: 24px;
    border-radius: 4px;
}

.hero-carousel-nav {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-carousel-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-carousel-arrow:hover {
    background: #f5f5f5;
    border-color: #c00;
}

.hero-carousel-arrow svg {
    width: 18px;
    height: 18px;
    color: #333;
}

.hero-carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #eee;
}

.hero-carousel-progress-bar {
    height: 100%;
    background: #c00;
    width: 0%;
    transition: width 0.1s linear;
}

.hero-landing-canvas,
.hero-landing-deco,
.hero-landing-dots,
.hero-landing-mask,
.hero-landing-container,
.hero-landing-scroll {
    display: none;
}

/* ============================================================================
 * 🏁 CODE BLOCK END: heroLanding
 * ============================================================================ */

/*
 * ============================================================================
 * 🚀 CODE BLOCK START: responsiveIndex
 * ============================================================================
 * Purpose: 首页所有区块的移动端响应式适配
 */

/* --- Tablet: <=1024px --- */
@media screen and (max-width: 1024px) {
    /* Hero Landing */
    .hero-slide-content {
        padding: 40px 30px 40px 50px;
    }

    .hero-slide-title {
        font-size: 32px;
    }

    /* Hero Swiper */
    .hero-layout {
        flex-direction: column;
    }

    .carousel-wrapper {
        width: 100%;
    }

    .side-cards {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }

    /* Bio cards */
    .func-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Func grid */
    .func-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Recommendations */
    .rec-grid {
        flex-wrap: wrap;
    }

    .rec-card {
        flex: 1 1 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    /* Features */
    .feature-row-image {
        width: 150px;
        height: 100px;
    }

    /* Highlight */
    .highlight-content {
        flex-wrap: wrap;
    }

    .highlight-item {
        flex: 1 1 calc(50% - 15px);
    }
}

/* --- Mobile: <=768px --- */
@media screen and (max-width: 768px) {
    /* Hero Landing */
    section.hero-landing {
        height: auto;
        min-height: unset;
        max-height: none;
    }

    .hero-carousel {
        height: auto;
        position: relative;
    }

    .hero-slide {
        position: relative;
        grid-template-columns: 1fr;
        height: auto;
        opacity: 0;
        visibility: hidden;
        display: none;
    }

    .hero-slide.active {
        position: relative;
        display: grid;
        opacity: 1;
        visibility: visible;
    }

    .hero-slide-content {
        padding: 28px 20px 20px;
        max-width: 100%;
        order: 1;
    }

    .hero-slide-badge {
        margin-bottom: 12px;
        padding: 4px 10px;
    }

    .hero-slide-badge-text {
        font-size: 11px;
    }

    .hero-slide-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero-slide-desc {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 16px;
    }

    .hero-slide-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .hero-slide-image {
        order: 2;
        height: 180px;
        min-height: 180px;
    }

    .hero-slide-image::before {
        display: none;
    }

    .hero-carousel-dots {
        position: relative;
        bottom: auto;
        left: auto;
        justify-content: center;
        padding: 12px 0;
        background: #fff;
    }

    .hero-carousel-nav {
        display: none;
    }

    .hero-carousel-progress {
        display: none;
    }

    /* Hero Swiper */
    .hero-swiper {
        padding: 16px;
    }

    .hero-layout {
        flex-direction: column;
        gap: 16px;
    }

    .carousel-wrapper {
        width: 100%;
    }

    .major-card-image {
        height: 160px;
    }

    .side-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .side-card-image {
        height: 70px;
    }

    .side-card-title {
        font-size: 13px;
    }

    /* Bio service cards */
    .svg-honeycomb-section {
        padding: 16px;
    }

    .func-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .func-list-card-image {
        height: 80px;
    }

    .func-list-title {
        font-size: 13px;
    }

    .func-list-desc {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }

    /* Func nav cards */
    .func-nav {
        padding: 0 16px 30px;
    }

    .func-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .func-card {
        padding: 16px;
    }

    .func-card .icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .func-card h3 {
        font-size: 14px;
    }

    /* Recommendations */
    .recommendations {
        padding: 24px 16px;
    }

    .rec-hero {
        flex-direction: column;
    }

    .rec-hero-image {
        width: 100%;
    }

    .rec-hero-image img {
        height: 180px;
    }

    .rec-hero-content {
        padding: 20px;
    }

    .rec-hero-title {
        font-size: 18px;
    }

    .rec-hero-summary {
        font-size: 13px;
    }

    .rec-grid {
        flex-direction: column;
        gap: 16px;
    }

    .rec-card {
        flex: 1 1 100%;
        flex-direction: row;
        gap: 12px;
    }

    .rec-card-image {
        width: 100px;
        height: 80px;
        flex-shrink: 0;
    }

    .rec-card-body {
        padding: 4px 0;
    }

    /* Features */
    .features {
        padding: 16px;
    }

    .feature-row {
        flex-direction: column;
        gap: 12px;
        padding: 16px 0;
    }

    .feature-row-meta {
        width: 100%;
        display: flex;
        gap: 10px;
        padding-right: 0;
    }

    .feature-row-content {
        padding-right: 0;
    }

    .feature-row-title {
        font-size: 16px;
    }

    .feature-row-desc {
        font-size: 13px;
    }

    .feature-row-image {
        width: 100%;
        height: 160px;
    }

    /* Highlight */
    .highlight-bar {
        padding: 20px 16px;
    }

    .highlight-content {
        flex-direction: column;
        gap: 16px;
    }

    .highlight-item {
        flex: 1 1 100%;
    }

    /* Section headers */
    .section-header {
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 18px;
    }
}

/* --- Small phone: <=480px --- */
@media screen and (max-width: 480px) {
    .hero-slide-content {
        padding: 20px 16px 16px;
    }

    .hero-slide-title {
        font-size: 20px;
    }

    .hero-slide-desc {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .hero-slide-image {
        height: 140px;
        min-height: 140px;
    }

    .side-cards {
        grid-template-columns: 1fr;
    }

    .func-list-grid {
        grid-template-columns: 1fr;
    }

    .func-grid {
        grid-template-columns: 1fr;
    }

    .rec-hero-title {
        font-size: 16px;
    }

    .feature-row-title {
        font-size: 15px;
    }
}

/* ============================================================================
 * 🏁 CODE BLOCK END: responsiveIndex
 * ============================================================================ */
