/* Home search-first hero & datum refresh — load with ?v= to bust cache */
.navbar-search-lite {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    height: 36px;
    margin: 17px 0 0 12px;
    padding: 0 12px;
    border: 1px solid #d7deea;
    border-radius: 18px;
    color: #5d6775 !important;
    font-size: 14px;
    text-decoration: none !important;
    background: #fff;
}

.navbar-search-lite .svg-icon-search {
    width: 14px;
    height: 14px;
    margin-right: 6px;
}

.navbar-search-lite:hover {
    border-color: #156cff;
    color: #156cff !important;
}

.home-hero {
    position: relative;
    background:
        radial-gradient(1200px 320px at 15% 0%, rgba(21, 108, 255, 0.18), transparent 60%),
        radial-gradient(900px 280px at 90% 20%, rgba(17, 30, 54, 0.12), transparent 55%),
        linear-gradient(180deg, #0f274f 0%, #163a73 48%, #1a4a8c 100%);
    color: #fff;
    padding: 52px 0 46px;
    overflow: hidden;
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -40px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.home-hero .home-hero-wrap {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    gap: 36px;
}

.home-hero .home-hero-main {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.home-hero .home-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.home-hero .home-hero-brand {
    display: inline-block;
    margin: 0 0 14px;
    padding: 4px 14px;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: #d7e6ff;
    border: 1px solid rgba(215, 230, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.home-hero .home-hero-title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff !important;
}

.home-hero .home-hero-desc {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.home-hero .home-hero-search {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
    margin: 28px 0 0;
    max-width: 720px;
    height: 56px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(8, 24, 56, 0.22);
    overflow: hidden;
}

.home-hero .home-hero-search:target,
.home-hero .home-hero-search:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 176, 32, 0.45), 0 10px 30px rgba(8, 24, 56, 0.22);
}

.home-hero .home-hero-search input[type="text"],
.home-hero .home-hero-search input {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    width: auto;
    height: 56px;
    border: 0 !important;
    outline: none;
    box-shadow: none;
    padding: 0 20px;
    margin: 0;
    font-size: 16px;
    line-height: 56px;
    color: #111e36;
    background: transparent;
}

.home-hero .home-hero-search input::placeholder {
    color: #9aa3b2;
}

.home-hero .home-hero-search button,
.home-hero .home-hero-search .home-search-btn {
    display: inline-block !important;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 120px;
    flex: 0 0 120px;
    width: 120px;
    height: 56px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #156cff !important;
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 56px;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
}

.home-hero .home-hero-search button:hover,
.home-hero .home-hero-search .home-search-btn:hover {
    background: #0f5de0 !important;
    color: #fff !important;
}

.home-hero .home-hero-hots {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 8px 10px;
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.home-hero .home-hero-hots a {
    color: #e8f1ff !important;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-transition: background 0.2s ease, color 0.2s ease;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-hero .home-hero-hots a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
}

.home-hero .home-hero-cta {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 22px;
}

.home-hero .home-hero-qr {
    -webkit-flex: 0 0 200px;
    flex: 0 0 200px;
    width: 200px;
    padding: 18px 16px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(8, 24, 56, 0.22);
    text-align: center;
    color: #111e36;
}

.home-hero .home-hero-qr img {
    display: block;
    width: 148px !important;
    height: 148px !important;
    margin: 0 auto 12px;
    border-radius: 8px;
    background: #fff;
}

.home-hero .home-hero-qr strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #111e36;
}

.home-hero .home-hero-qr p {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #5d6775;
}

.home-hero .home-cta-primary,
.home-hero .home-cta-ghost {
    display: inline-block;
    min-width: 168px;
    height: 40px;
    padding: 0 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 40px;
    text-align: center;
    text-decoration: none !important;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.home-hero .home-cta-primary {
    background: #ffb020;
    color: #1a2438 !important;
}

.home-hero .home-cta-primary:hover {
    background: #ffc04a;
    color: #1a2438 !important;
}

.home-hero .home-cta-ghost {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff !important;
    background: transparent;
}

.home-hero .home-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.home-datum .datum-detail-left {
    width: 650px;
}

.home-datum-main {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    gap: 10px;
}

.home-datum .home-datum-card {
    margin-bottom: 0 !important;
    width: calc(50% - 5px) !important;
    height: 200px !important;
    overflow: hidden;
    border-radius: 6px;
}

.home-datum .home-datum-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-filter: brightness(0.72);
    filter: brightness(0.72);
    -webkit-transition: transform 0.35s ease, filter 0.35s ease;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.home-datum .home-datum-card:hover img {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
    -webkit-filter: brightness(0.6);
    filter: brightness(0.6);
}

.home-datum .home-datum-mask {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    padding: 20px 18px;
    background: linear-gradient(180deg, rgba(8, 22, 48, 0.05) 20%, rgba(8, 22, 48, 0.78) 100%);
    color: #fff;
}

.home-datum .home-datum-mask strong {
    display: block;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.home-datum .home-datum-mask span {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.home-datum-subs {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.home-datum .home-sub-card {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    height: 108px;
    overflow: hidden;
    border-radius: 6px;
}

.home-datum .home-sub-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-filter: brightness(0.68);
    filter: brightness(0.68);
    -webkit-transition: transform 0.3s ease, filter 0.3s ease;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.home-datum .home-sub-card:hover img {
    -webkit-transform: scale(1.06);
    transform: scale(1.06);
    -webkit-filter: brightness(0.55);
    filter: brightness(0.55);
}

.home-datum .home-sub-card span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 8px 12px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(8, 22, 48, 0.8));
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.home-update-list {
    width: 550px;
    padding-left: 24px;
}

.home-update-head {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #5d6775;
    letter-spacing: 0.04em;
}

.home-update-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 12px;
    margin-bottom: 6px;
    border-radius: 6px;
    background: #f6f8fb;
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease;
}

.home-update-item:hover {
    background: #eef4ff;
}

.home-update-item:hover .home-update-title {
    color: #156cff;
}

.home-update-title {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 500;
    color: #111e36;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-update-time {
    -webkit-flex: none;
    flex: none;
    font-size: 12px;
    color: #8b93a3;
    font-variant-numeric: tabular-nums;
}

/* Feed / brand / vip card */
.home-feed-list {
    margin-top: 16px;
}

.home-feed-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #f6f8fb;
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease;
}

.home-feed-item:hover {
    background: #eef4ff;
}

.home-feed-item:hover .home-feed-title {
    color: #156cff;
}

.home-feed-cover {
    -webkit-flex: 0 0 72px;
    flex: 0 0 72px;
    width: 72px !important;
    height: 54px !important;
    object-fit: cover;
    border-radius: 4px;
    background: #e8edf5;
}

.home-feed-title {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 500;
    color: #111e36;
    line-height: 1.45;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-feed-time {
    -webkit-flex: none;
    flex: none;
    font-size: 12px;
    color: #8b93a3;
    font-variant-numeric: tabular-nums;
}

.home-brand-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.home-brand-item {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    width: calc(50% - 5px);
    padding: 8px;
    border-radius: 8px;
    background: #f6f8fb;
    color: #111e36 !important;
    text-decoration: none !important;
}

.home-brand-item:hover {
    background: #eef4ff;
    color: #156cff !important;
}

.home-brand-item img {
    width: 36px !important;
    height: 36px !important;
    margin-right: 8px;
    border-radius: 4px;
    object-fit: contain;
    background: #fff;
}

.home-brand-item span {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-vip-card {
    margin-top: 40px;
    padding: 22px 18px 18px;
    border-radius: 12px;
    background: linear-gradient(160deg, #123968 0%, #1a56a8 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 24px rgba(18, 57, 104, 0.25);
}

.home-vip-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.home-vip-card p {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.home-vip-card-btn {
    display: inline-block;
    margin-top: 16px;
    min-width: 140px;
    height: 40px;
    padding: 0 18px;
    border-radius: 6px;
    background: #ffb020;
    color: #1a2438 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 40px;
    text-decoration: none !important;
}

.home-vip-card-btn:hover {
    background: #ffc04a;
    color: #1a2438 !important;
}

.home-vip-card-tip {
    margin-top: 18px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.home-vip-card-qr {
    display: block;
    width: 110px !important;
    height: 110px !important;
    margin: 10px auto 0;
    padding: 6px;
    border-radius: 8px;
    background: #fff;
}

.home-course-row {
    overflow: hidden;
    margin-top: 16px;
    margin-bottom: 20px;
}

.home-course-row .course-list {
    margin-bottom: 16px;
}

.home-vip-strip {
    margin: 10px 0 30px;
}

.home-vip-strip-inner {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px;
    border-radius: 12px;
    background: linear-gradient(160deg, #123968 0%, #1a56a8 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(18, 57, 104, 0.2);
}

.home-vip-strip-copy strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.home-vip-strip-copy span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.home-vip-strip-actions {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    gap: 14px;
    -webkit-flex: none;
    flex: none;
}

.home-vip-strip-qr {
    width: 72px !important;
    height: 72px !important;
    padding: 4px;
    border-radius: 8px;
    background: #fff;
}

.home-feed-wide {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}

.home-feed-wide .home-feed-item {
    width: calc(50% - 5px);
    margin-bottom: 0;
    box-sizing: border-box;
}
