/* 电脑端首页专用样式：提取自 Core/Tpls/App/Index.tpl */

/* 首页固定桌面宽度，内容由服务端直出 */
        html,
        body {
            min-width: 1200px;
        }

        .home-hero {
            position: relative;
            overflow: hidden;
            padding: 86px 0 70px;
            color: #fff;
            background:
                radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.13), transparent 34%),
                radial-gradient(circle at 86% 82%, rgba(16, 185, 129, 0.22), transparent 40%),
                linear-gradient(135deg, #0b3b36 0%, #0f766e 58%, #115e59 100%);
        }

        .home-hero::after {
            content: "";
            position: absolute;
            right: -120px;
            top: -140px;
            width: 420px;
            height: 420px;
            border: 1px solid rgba(255, 255, 255, 0.16);
            border-radius: 50%;
            box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.035), 0 0 0 120px rgba(255, 255, 255, 0.025);
            pointer-events: none;
        }

        .home-hero .container {
            position: relative;
            z-index: 1;
            padding-top: 0;
            padding-bottom: 0;
        }

        .home-eyebrow {
            display: inline-block;
            padding: 6px 12px;
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 9999px;
            color: #d1fae5;
            font-size: 12px;
            letter-spacing: 1.6px;
        }

        .home-hero h1 {
            margin: 22px 0 14px;
            font-size: 46px;
            line-height: 1.15;
            letter-spacing: 1px;
        }

        .home-hero-desc {
            max-width: 680px;
            margin-bottom: 30px;
            color: #d9f2ec;
            font-size: 16px;
            line-height: 1.8;
        }

        .home-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-bottom: 44px;
        }

        .home-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 132px;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 15px;
            text-decoration: none;
            transition: transform 0.2s, background 0.2s, color 0.2s;
        }

        .home-btn-primary {
            background: #fff;
            color: #065f46;
        }

        .home-btn-primary:hover {
            background: #ecfdf5;
            transform: translateY(-1px);
        }

        .home-btn-ghost {
            border: 1px solid rgba(255, 255, 255, 0.55);
            color: #fff;
        }

        .home-btn-ghost:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-1px);
        }

        .home-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 34px;
            padding-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.16);
        }

        .home-stat strong {
            display: block;
            margin-bottom: 4px;
            color: #fff;
            font-size: 26px;
            line-height: 1.2;
        }

        .home-stat span {
            color: #b7e4d9;
            font-size: 13px;
        }

        .home-main {
            flex: 1;
            padding-bottom: 60px;
        }

        .home-section {
            margin-top: 60px;
        }

        /* 区块标题：居中 + 短下划线，参考 Index2 */
        .home-section-head {
            margin-bottom: 20px;
            text-align: center;
        }

        .home-section-head h2 {
            position: relative;
            display: inline-block;
            margin: 0 0 8px;
            color: #065f46;
            font-size: 24px;
            line-height: 1.3;
        }

        .home-section-head h2::after {
            content: "";
            display: block;
            width: 40px;
            height: 3px;
            margin: 8px auto 0;
            background: #0f766e;
        }

        .home-section-head p {
            padding: 10px;
            color: #9ca3af;
            font-size: 14px;
        }

        /* 资讯：左侧图文，右侧列表 */
        .home-news-layout {
            display: flex;
            align-items: flex-start;
            gap: 40px;
            margin-top: 20px;
        }

        .home-feature {
            flex: 0 0 38.2%;
            min-width: 0;
        }

        .home-feature-media {
            display: block;
            overflow: hidden;
            border-radius: 10px;
            background: linear-gradient(135deg, #134e4a, #0f766e);
        }

        .home-feature-media img {
            display: block;
            width: 100%;
            height: 260px;
            object-fit: cover;
        }

        .home-feature-body h3 {
            margin: 15px 0 10px;
            color: #065f46;
            font-size: 18px;
            line-height: 1.5;
        }

        .home-feature-body h3 a {
            color: inherit;
            text-decoration: none;
        }

        .home-feature-body p {
            color: #4b5563;
            font-size: 14px;
            line-height: 1.6;
        }

        .home-feature-meta {
            display: flex;
            gap: 16px;
            margin-top: 8px;
            color: #9ca3af;
            font-size: 12px;
        }

        .home-news-list {
            flex: 1;
            min-width: 0;
        }

        .home-news-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px dashed #e5e7eb;
            font-size: 14px;
        }

        .home-news-item:last-child {
            border-bottom: none;
        }

        .home-news-item a {
            flex: 1;
            overflow: hidden;
            margin-right: 20px;
            color: #374151;
            text-decoration: none;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .home-news-item a:hover {
            color: #0f766e;
        }

        .home-news-item time {
            flex-shrink: 0;
            min-width: 80px;
            color: #9ca3af;
            font-size: 12px;
            text-align: right;
        }

        /* 考场 / 课程四列卡片 */
        .home-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            margin-top: 20px;
        }

        .home-card {
            display: flex;
            flex-direction: column;
            overflow: hidden;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            transition: box-shadow 0.2s, transform 0.2s;
        }

        .home-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(6, 95, 70, 0.12);
        }

        .home-card-media {
            display: block;
            overflow: hidden;
            height: 140px;
            background: linear-gradient(135deg, #134e4a, #0f766e);
        }

        .home-card-media img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .home-card:hover .home-card-media img {
            transform: scale(1.04);
        }

        .home-card-body {
            display: flex;
            flex: 1;
            flex-direction: column;
            padding: 18px 20px 22px;
            text-align: left;
        }

        .home-card-body h3 {
            margin-bottom: 8px;
            color: #065f46;
            font-size: 17px;
            line-height: 1.45;
        }

        .home-card-body h3 a {
            color: inherit;
            text-decoration: none;
        }

        .home-card-body p {
            display: -webkit-box;
            overflow: hidden;
            margin-bottom: 10px;
            color: #4b5563;
            font-size: 14px;
            line-height: 1.6;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .home-card-meta {
            margin-bottom: 10px;
            color: #9ca3af;
            font-size: 12px;
        }

        .home-card-foot {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-top: auto;
        }

        .home-price {
            color: #ef4444;
            font-size: 15px;
            font-weight: 600;
        }

        .home-price.free {
            color: #0f766e;
        }

        .home-card-link {
            color: #0f766e;
            font-size: 13px;
            text-decoration: none;
        }

        .home-card-link:hover {
            text-decoration: underline;
        }

        .home-media-empty {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            color: #d1fae5;
            font-size: 13px;
        }

        .home-feature-media .home-media-empty {
            height: 260px;
        }

        .home-empty {
            padding: 40px 20px;
            border: 1px dashed #d1d5db;
            border-radius: 10px;
            background: #fff;
            color: #9ca3af;
            font-size: 14px;
            text-align: center;
        }

        .home-section-more {
            margin-top: 30px;
            text-align: center;
        }

        .home-section-more a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 180px;
            padding: 11px 24px;
            border: 1px solid #0f766e;
            border-radius: 6px;
            color: #0f766e;
            font-size: 15px;
            text-decoration: none;
            transition: background 0.2s, color 0.2s;
        }

        .home-section-more a:hover {
            background: #0f766e;
            color: #fff;
        }
