/* =========================================================
   首页轮播图（5秒自动切换，SCMP主题配色）
   ========================================================= */
.home-carousel .carousel-item {
    min-height: 560px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.home-carousel .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(20, 56, 112, .92) 0%, rgba(30, 75, 143, .85) 48%, rgba(44, 95, 168, .42) 100%);
    z-index: 1;
}
.home-carousel .carousel-inner {
    box-shadow: 0 6px 22px rgba(0, 0, 0, .14);
}
.hc-content {
    position: relative;
    z-index: 2;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    max-width: 760px;
    padding: 60px 0;
}
.hc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 3px;
    color: #9ec5ff;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
}
.hc-eyebrow::before { content: ""; width: 30px; height: 2px; background: #ff6b35; }
.hc-title {
    font-size: 46px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.25;
    margin: 0 0 18px;
    color: #fff;
}
.hc-title em {
    font-style: normal;
    color: #ffb48f;
}
.hc-sub {
    font-size: 17px;
    color: #dce8f7;
    margin: 0 0 30px;
    line-height: 1.8;
    max-width: 620px;
}
.hc-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hc-btn { min-width: 150px; padding: 12px 28px; font-size: 16px; font-weight: 600; border-radius: 6px; }
.hc-btn.btn-primary { background: #2c5fa8; border-color: #2c5fa8; }
.hc-btn.btn-primary:hover { background: #1e4b8f; border-color: #1e4b8f; }
.hc-btn.btn-outline-light { border-width: 2px; }
.hc-btn.btn-outline-light:hover { background: #ff6b35; border-color: #ff6b35; color: #fff; }
/* 指示点 */
.home-carousel .carousel-indicators { margin-bottom: 22px; }
.home-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background-color: rgba(255, 255, 255, .55);
    opacity: 1;
    transition: .25s;
}
.home-carousel .carousel-indicators .active {
    width: 28px;
    border-radius: 6px;
    background-color: #ff6b35;
}
/* 左右箭头 */
.home-carousel .carousel-control-prev,
.home-carousel .carousel-control-next {
    width: 7%;
    opacity: 0;
    transition: opacity .25s;
}
.home-carousel:hover .carousel-control-prev,
.home-carousel:hover .carousel-control-next { opacity: 1; }
.home-carousel .carousel-control-prev-icon,
.home-carousel .carousel-control-next-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background-color: rgba(15, 45, 90, .5);
    background-size: 55% 55%;
    border: 1px solid rgba(255, 255, 255, .35);
}
.home-carousel .carousel-control-prev-icon:hover,
.home-carousel .carousel-control-next-icon:hover { background-color: rgba(255, 107, 53, .85); }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .home-carousel .carousel-item,
    .hc-content { min-height: 440px; }
    .hc-title { font-size: 36px; }
}
@media (max-width: 768px) {
    .home-carousel .carousel-item,
    .hc-content { min-height: 340px; }
    .hc-content { padding: 44px 0; }
    .hc-eyebrow { font-size: 11px; letter-spacing: 2px; margin-bottom: 12px; }
    .hc-title { font-size: 26px; letter-spacing: 1px; margin-bottom: 12px; }
    .hc-sub { font-size: 14px; margin-bottom: 20px; line-height: 1.7; }
    .hc-btns { gap: 10px; }
    .hc-btn { min-width: 120px; padding: 10px 18px; font-size: 14.5px; }
    .home-carousel .carousel-indicators { margin-bottom: 14px; }
    .home-carousel .carousel-control-prev,
    .home-carousel .carousel-control-next { display: none; }
}
/* ========== 首页 FAQ 常见问题 ========== */
.faq-wrap { width: 100%; }
.faq-accordion .accordion-item {
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(44, 95, 168, .05);
}
.faq-accordion .accordion-button {
    font-size: 15px;
    font-weight: 600;
    color: #2b2f36;
    background: #fff;
    padding: 14px 18px;
    box-shadow: none;
}
.faq-accordion .accordion-button .fa-question-circle { color: #2c5fa8; margin-right: 14px; font-size: 16px; }
.faq-accordion .accordion-button:not(.collapsed) {
    color: #2c5fa8;
    background: #f2f6fc;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232c5fa8'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }
.faq-accordion .accordion-body {
    font-size: 14px;
    color: #55607a;
    line-height: 1.85;
    padding: 12px 22px 18px;
    border-top: 1px dashed #edf0f4;
    margin: 0 8px;
}
.faq-accordion .accordion-body ul { margin: 8px 0 0; padding-left: 20px; }
.faq-accordion .accordion-body li { margin-bottom: 4px; }
.faq-more { display: flex; justify-content: center; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.faq-more .btn { font-size: 14px; padding: 8px 22px; }
@media (max-width: 768px) {
    .faq-accordion .accordion-button { font-size: 14px; padding: 13px 14px; }
    .faq-accordion .accordion-button .fa-question-circle { margin-right: 12px; font-size: 15px; }
    .faq-accordion .accordion-body { font-size: 13px; padding: 10px 16px 14px; }
    .faq-more { margin-top: 32px; gap: 12px; }
    .faq-more .btn { width: 100%; }
}

/* ========== 首页资讯中心（无图，与资讯页风格统一） ========== */
.home-news-picks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: hnpick;
    margin-bottom: 26px;
}
.hn-pick {
    counter-increment: hnpick;
    position: relative;
    display: block;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-top: 3px solid #2c5fa8;
    border-radius: 10px;
    padding: 26px 24px 20px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: .25s;
}
.hn-pick:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(44, 95, 168, .14);
    color: inherit;
}
.hn-pick .hn-num {
    position: absolute;
    right: 14px;
    top: 8px;
    font-size: 48px;
    font-weight: 800;
    color: #eef2f8;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    pointer-events: none;
}
.hn-pick .hn-num:after { content: counter(hnpick, decimal-leading-zero); }
.hn-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #6c757d;
    margin-bottom: 12px;
}
.hn-tag {
    display: inline-block;
    background: #eaf1fb;
    color: #2c5fa8;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 600;
}
.hn-pick h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 10px;
    color: #2b2f36;
    transition: .2s;
}
.hn-pick:hover h3 { color: #2c5fa8; }
.hn-pick p {
    font-size: 13.5px;
    color: #6c757d;
    line-height: 1.7;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hn-foot {
    font-size: 13px;
    color: #2c5fa8;
    font-weight: 600;
    padding-top: 12px;
    border-top: 1px dashed #edf0f4;
    transition: .2s;
}
.hn-pick:hover .hn-foot { color: #ff6b35; }
.home-news-list {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 10px;
    padding: 6px 24px;
}
.hn-item {
    display: block;
    padding: 20px 6px;
    border-bottom: 1px solid #e8ecf1;
    color: inherit;
    text-decoration: none;
    transition: .2s;
}
.hn-item:last-child { border-bottom: none; }
.hn-item:hover { color: inherit; }
.hn-item:hover h3 { color: #2c5fa8; }
.hn-item h3 {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 6px;
    color: #2b2f36;
    transition: .2s;
}
.hn-item p {
    font-size: 13.5px;
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 首页资讯：移动端适配 */
@media (max-width: 992px) {
    .home-news-picks { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 768px) {
    .home-news-picks { grid-template-columns: 1fr; gap: 14px; margin-bottom: 20px; }
    .hn-pick { padding: 20px 18px 16px; }
    .hn-pick h3 { font-size: 15.5px; }
    .hn-item h3 { font-size: 15px; }
    .hn-item p { font-size: 13px; }
    .home-news-list { padding: 4px 16px; }
}
