/**
 * Stylesheet Chuyên biệt cho Trang Họp báo Thống kê (Event Landing Page)
 * Hệ thống Cổng thông tin Thống kê TP Hải Phòng (thongkehaiphong.gov.vn)
 */

.hopbao-landing-wrapper,
.hopbao-archive-wrapper {
    --hb-primary: var(--hp-blue-primary, #0079B6);
    --hb-primary-dark: var(--hp-blue-active, #00699D);
    --hb-primary-light: #EBF3FA;
    --hb-hero-bg: #103951;
    --hb-action: #005781;
    --hb-highlight-red: #BE1E2D;
    --hb-bg-highlight: #FFF9DB;
    --hb-border-highlight: #F59E0B;
    --hb-text-dark: #1E293B;
    --hb-text-muted: #64748B;
    --hb-border-light: #E2E8F0;
    --hb-card-bg: #FFFFFF;
}

/* Base Wrapper */
.hopbao-landing-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--hb-text-dark);
    background-color: #F4F6F9;
    overflow-x: hidden;
}

/* ==========================================================================
   1. HERO BANNER
   ========================================================================== */
.hopbao-landing-wrapper .hopbao-hero-section {
    background: var(--hb-hero-bg);
    color: #FFFFFF;
    padding: clamp(24px, 4vw, 44px) clamp(16px, 4vw, 40px);
    text-align: left;
    border-radius: 2px;
    box-shadow: none;
    margin-bottom: 24px;
}

/* The portal theme applies its dark heading color with !important. */
.hopbao-landing-wrapper .hopbao-hero-section #hopbao-hero-title {
    color: #FFFFFF !important;
    font-size: clamp(22px, 3vw, 30px) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-transform: none;
    text-shadow: none;
    text-wrap: pretty;
    overflow-wrap: anywhere;
    margin: 0 0 18px;
    max-width: 43ch;
}

.hopbao-hero-meta {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 14px;
    color: #E8F0F5;
    margin-bottom: 22px;
    max-width: 75ch;
}

.hopbao-hero-meta-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.hopbao-hero-meta-item em,
.hopbao-hero-meta-item i {
    color: inherit;
}

.hopbao-status {
    font-size: 12px;
    font-weight: 600;
    white-space: normal;
    text-transform: none;
}

.hopbao-landing-wrapper .hopbao-status,
.hopbao-archive-wrapper .hopbao-status {
    color: #223B50;
    background-color: #E8F0F5;
    padding: 4px 8px;
    border-radius: 2px;
}

.hopbao-landing-wrapper .hopbao-status.label-danger,
.hopbao-archive-wrapper .hopbao-status.label-danger {
    color: #8C2128;
    background-color: #FBE9E9;
}

.hopbao-hero-cta-group {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.hopbao-landing-wrapper .btn-hopbao-gold,
.hopbao-landing-wrapper .btn-hopbao-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid #AEC3D2;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
}

.hopbao-landing-wrapper .btn-hopbao-gold {
    color: #103951 !important;
    background: #FFFFFF;
}

.hopbao-landing-wrapper .btn-hopbao-outline {
    color: #FFFFFF !important;
    background: transparent;
}

.hopbao-landing-wrapper .btn-hopbao-gold:hover {
    color: #103951 !important;
    background: #E8F0F5;
}

.hopbao-landing-wrapper .btn-hopbao-outline:hover {
    color: #FFFFFF !important;
    background: #204E68;
}

.hopbao-landing-wrapper .hopbao-hero-cta-group a:focus-visible,
.hopbao-landing-wrapper .hopbao-section-archive-bar a:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}

/* ==========================================================================
   2. TIÊU ĐỀ PHÂN ĐOẠN (SECTION HEADERS)
   ========================================================================== */
.hopbao-section {
    padding: 50px 30px;
    position: relative;
    border-radius: 2px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.hopbao-section-title {
    text-align: left;
    font-size: 24px;
    font-weight: 800;
    color: var(--hb-primary);
    margin: 0 0 10px 0;
    letter-spacing: -0.01em;
    position: relative;
}



.hopbao-section-subtitle {
    text-align: left;
    font-size: 14px;
    color: var(--hb-text-muted);
    margin: 0 auto 40px;
    max-width: 650px;
}

/* ==========================================================================
   3. PHÂN ĐOẠN 1: CHƯƠNG TRÌNH & KỊCH BẢN (TIMELINE)
   ========================================================================== */
.hopbao-section-agenda {
    background-color: #FFFFFF;
}

.hopbao-timeline-container {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    padding-left: 20px;
}

.hopbao-timeline-track {
    position: relative;
    border-left: 2px solid #E2E8F0;
    padding-left: 35px;
    margin-left: 15px;
}

.hopbao-timeline-item {
    position: relative;
    margin-bottom: 28px;
}

.hopbao-timeline-item:last-child {
    margin-bottom: 0;
}

/* Chấm tròn biểu tượng trên trục */
.hopbao-timeline-dot {
    position: absolute;
    left: -43px;
    top: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--hb-primary);
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 0 2px var(--hb-primary);
    transition: transform 0.2s ease;
}

.hopbao-timeline-item:hover .hopbao-timeline-dot {
    transform: scale(1.3);
    background-color: var(--hb-highlight-red);
    box-shadow: 0 0 0 2px var(--hb-highlight-red);
}

.hopbao-timeline-card {
    background-color: #FFFFFF;
    border: 1px solid var(--hb-border-light);
    border-radius: 2px;
    padding: 16px 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.hopbao-timeline-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hopbao-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.hopbao-timeline-time {
    color: var(--hb-highlight-red);
    font-weight: 700;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
}

.hopbao-timeline-speaker {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--hb-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hopbao-timeline-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--hb-text-dark);
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.hopbao-timeline-desc {
    font-size: 13.5px;
    color: var(--hb-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ==========================================================================
   4. PHÂN ĐOẠN 2: THÔNG CÁO BÁO CHÍ
   ========================================================================== */
.hopbao-section-press {
    background-color: #F8FAFC;
}

.hopbao-press-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.hopbao-press-left {
    flex: 0 0 340px;
    max-width: 340px;
}

.hopbao-press-right {
    flex: 1 1 0;
    min-width: 0;
}

/* Card Vàng Kim bên trái */
.hopbao-press-highlight-card {
    background-color: var(--hb-bg-highlight);
    border: 1px solid #FDE68A;
    border-left: 5px solid var(--hb-border-highlight);
    border-radius: 2px;
    padding: 24px 22px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
}

.hopbao-press-highlight-title {
    font-size: 16px;
    font-weight: 700;
    color: #92400E;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hopbao-press-metrics-list {
    margin: 16px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hopbao-press-metric-item {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 4px;
    padding: 10px 12px;
}

.hopbao-metric-label {
    font-size: 12px;
    font-weight: 600;
    color: #78350F;
    display: block;
    margin-bottom: 2px;
}

.hopbao-metric-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--hb-primary);
    font-variant-numeric: tabular-nums;
}

.btn-press-download-pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--hb-highlight-red);
    color: #FFFFFF !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 11px 18px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(190, 30, 45, 0.3);
}

.btn-press-download-pdf:hover {
    background-color: #A31825;
    box-shadow: 0 4px 10px rgba(190, 30, 45, 0.4);
}

/* Card Toàn văn bên phải */
.hopbao-press-article-card {
    background-color: #FFFFFF;
    border: 1px solid var(--hb-border-light);
    border-radius: 2px;
    padding: 32px 36px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.hopbao-press-article-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--hb-primary);
    margin: 0 0 16px 0;
    line-height: 1.4;
    border-bottom: 2px solid #F1F5F9;
    padding-bottom: 12px;
}

.hopbao-press-content-body {
    font-size: 14.5px;
    line-height: 1.8;
    color: #334155;
    word-break: break-word;
}

.hopbao-press-content-body p {
    margin-bottom: 16px;
}

.hopbao-press-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 12px 0;
}

.hopbao-press-content-body table {
    width: 100%;
    margin-bottom: 18px;
    border-collapse: collapse;
}

.hopbao-press-content-body table th,
.hopbao-press-content-body table td {
    padding: 8px 12px;
    border: 1px solid #CBD5E1;
    font-size: 13.5px;
}

.hopbao-press-content-body table th {
    background-color: #F8FAFC;
    color: var(--hb-primary);
    font-weight: 700;
}

/* ==========================================================================
   5. PHÂN ĐOẠN 3: LƯỚI INFOGRAPHIC SỐ LIỆU
   ========================================================================== */
.hopbao-section-infographics {
    background-color: #FFFFFF;
}

.hopbao-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hopbao-info-card {
    background-color: #FFFFFF;
    border: 1px solid var(--hb-border-light);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hopbao-info-card:hover {
    box-shadow: 0 10px 24px rgba(var(--hp-blue-highlight-rgb, 0, 145, 216), 0.12);
    border-color: #CBD5E1;
}

.hopbao-info-img-box {
    position: relative;
    height: 220px;
    background-color: #0F172A;
    overflow: hidden;
}

.hopbao-info-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hopbao-info-card:hover .hopbao-info-img-box img {
    transform: scale(1.06);
}

.hopbao-info-badge-slide {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(var(--hp-blue-highlight-rgb, 0, 145, 216), 0.9);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.hopbao-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 34, 68, 0.95), transparent);
    color: #FFFFFF;
    padding: 20px 12px 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.hopbao-info-card:hover .hopbao-info-overlay {
    transform: translateY(0);
}

.hopbao-info-card-body {
    padding: 14px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hopbao-info-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--hb-text-dark);
    margin: 0 0 10px 0;
    line-height: 1.45;
    min-height: 40px;
}

.hopbao-info-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--hb-text-muted);
}

/* ==========================================================================
   6. PHÂN ĐOẠN 4: TÀI LIỆU & BÁO CÁO TẢI VỀ
   ========================================================================== */
.hopbao-section-docs {
    background-color: #F4F6F9;
}

.hopbao-docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    max-width: 1040px;
    margin: 0 auto;
}

.hopbao-doc-card {
    background-color: #FFFFFF;
    border: 1px solid var(--hb-border-light);
    border-radius: 2px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.hopbao-doc-card:hover {
    border-color: var(--hb-primary);
    background-color: #F0F7FF;
    box-shadow: 0 4px 12px rgba(var(--hp-blue-highlight-rgb, 0, 145, 216), 0.08);
}

.hopbao-doc-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.hopbao-doc-icon-wrap.pdf {
    background-color: #FEE2E2;
    color: var(--hb-highlight-red);
}

.hopbao-doc-icon-wrap.excel {
    background-color: #DCFCE7;
    color: #15803D;
}

.hopbao-doc-icon-wrap.word {
    background-color: #DBEAFE;
    color: var(--hp-blue-link, #005781);
}

.hopbao-doc-icon-wrap.ppt {
    background-color: #FFEDD5;
    color: #C2410C;
}

.hopbao-doc-icon-wrap.zip {
    background-color: #FEF3C7;
    color: #B45309;
}

.hopbao-doc-info {
    flex-grow: 1;
    min-width: 0;
}

.hopbao-doc-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--hb-text-dark);
    margin: 0 0 4px 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hopbao-doc-meta {
    font-size: 12px;
    color: var(--hb-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hopbao-doc-meta .file-badge {
    font-weight: 700;
    color: var(--hb-primary);
}

.btn-doc-download {
    background-color: #FFFFFF;
    color: var(--hb-primary) !important;
    border: 1px solid var(--hb-border-light);
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-doc-download:hover {
    background-color: var(--hb-primary);
    color: #FFFFFF !important;
    border-color: var(--hb-primary);
}

/* ==========================================================================
   7. PHÂN ĐOẠN 5: CÂU HỎI BÁO CHÍ & FORM TƯƠNG TÁC
   ========================================================================== */
.hopbao-section-qa {
    background-color: #FFFFFF;
}

.hopbao-qa-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.hopbao-qa-feed-col {
    flex: 1 1 0;
    min-width: 0;
}

.hopbao-qa-form-col {
    flex: 0 0 380px;
    max-width: 380px;
}

/* Thẻ câu hỏi đã hiển thị */
.hopbao-q-card {
    background-color: #FFFFFF;
    border: 1px solid var(--hb-border-light);
    border-radius: 2px;
    padding: 18px 22px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.hopbao-q-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 13px;
}

.hopbao-q-author {
    font-weight: 700;
    color: var(--hb-primary);
}

.hopbao-q-agency {
    color: var(--hb-text-muted);
    font-weight: 400;
}

.hopbao-q-time {
    font-size: 12px;
    color: var(--hb-text-muted);
    font-variant-numeric: tabular-nums;
}

.hopbao-q-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--hb-text-dark);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.hopbao-q-question-box {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-left: 3px solid var(--hb-primary);
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 13.5px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 12px;
}

.hopbao-q-answer-box {
    background-color: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-left: 3px solid #16A34A;
    padding: 14px 18px;
    border-radius: 4px;
}

.hopbao-q-answer-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #15803D;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hopbao-q-answer-content {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-size: 13.5px;
    color: #1E293B;
    line-height: 1.65;
}

.hopbao-q-pending-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #78350F;
    background-color: #FEF3C7;
    padding: 5px 12px;
    border-radius: 4px;
}

.hopbao-qa-feed-title {
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #CDD9E3;
    font-size: 16px;
}

.hopbao-qa-signin {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 16px 20px;
    margin-top: 16px;
    color: #223B50;
    background: #F1F6FA;
    border: 1px solid #CDD9E3;
    border-left: 3px solid var(--hb-action);
}

.hopbao-qa-signin p {
    flex: 1 1 auto;
    margin: 0;
}

.hopbao-landing-wrapper .hopbao-qa-signin .hopbao-login-link {
    background-color: var(--hb-action) !important;
    border-color: var(--hb-action) !important;
    color: #FFFFFF;
}

.hopbao-landing-wrapper .hopbao-qa-signin .hopbao-login-link:hover,
.hopbao-landing-wrapper .hopbao-qa-signin .hopbao-login-link:focus-visible {
    background-color: #103951 !important;
}

.hopbao-qa-feed-title,
.hopbao-ask-form-title,
.hopbao-ask-label,
.hopbao-ask-input,
.hopbao-ask-textarea,
.btn-hopbao-submit-q,
.hopbao-archive-wrapper form :is(label, input, select, button) {
    text-transform: none;
}

/* Thẻ Form gửi câu hỏi */
.hopbao-ask-form-card {
    background-color: #FFFFFF;
    border: 1px solid var(--hb-border-light);
    
    border-radius: 2px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.hopbao-ask-form-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--hb-primary-dark);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hopbao-ask-form-desc {
    font-size: 14px;
    color: var(--hb-text-muted);
    margin-bottom: 18px;
    line-height: 1.5;
}

.hopbao-ask-form-group {
    margin-bottom: 14px;
}

.hopbao-ask-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--hb-text-dark);
    margin-bottom: 5px;
}

.hopbao-ask-label .req {
    color: var(--hb-highlight-red);
}

.hopbao-ask-input,
.hopbao-ask-textarea {
    width: 100%;
    border: 1px solid var(--hb-border-light);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--hb-text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hopbao-ask-input:focus,
.hopbao-ask-textarea:focus {
    outline: none;
    border-color: var(--hb-primary);
    box-shadow: 0 0 0 3px rgba(var(--hp-blue-highlight-rgb, 0, 145, 216), 0.12);
}

.hopbao-landing-wrapper .btn-hopbao-submit-q {
    width: 100%;
    background-color: var(--hb-action) !important;
    border-color: var(--hb-action) !important;
    color: #FFFFFF !important;
    border-style: solid;
    border-width: 1px;
    font-size: 13.5px;
    font-weight: 700;
    padding: 11px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hopbao-landing-wrapper .btn-hopbao-submit-q:hover,
.hopbao-landing-wrapper .btn-hopbao-submit-q:focus-visible {
    background-color: #103951 !important;
    border-color: #103951 !important;
}

/* ==========================================================================
   8. PHÂN ĐOẠN 6: KHO LƯU TRỮ CÁC KỲ TRƯỚC (ARCHIVE BAR)
   ========================================================================== */
.hopbao-section-archive-bar {
    background: var(--hb-hero-bg);
    color: #FFFFFF;
    padding: 35px 25px;
    text-align: center;
    border-radius: 2px;
    margin-bottom: 30px;
}

.hopbao-archive-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.hopbao-landing-wrapper .hopbao-section-archive-bar h3.hopbao-archive-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #FFFFFF !important;
}

.hopbao-landing-wrapper .hopbao-archive-desc,
.hopbao-archive-desc {
    font-size: 13.5px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 4px 0 0 !important;
}

/* ==========================================================================
   9. MODAL LIGHTBOX XEM ẢNH INFOGRAPHIC PHÓNG TO
   ========================================================================== */
.hopbao-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 15, 30, 0.92);
    animation: hbFadeIn 0.25s ease;
}

@keyframes hbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hopbao-modal-content {
    position: relative;
    margin: 40px auto;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hopbao-modal-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 2px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.hopbao-modal-caption {
    margin-top: 15px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    max-width: 800px;
}

.hopbao-modal-close {
    position: absolute;
    top: 18px;
    right: 28px;
    color: #FFFFFF;
    font-size: 36px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 100000;
}

.hopbao-modal-close:hover {
    color: #FFFFFF;
    transform: scale(1.15);
}

/* ==========================================================================
   10. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .hopbao-press-grid {
        flex-direction: column;
    }
    
    .hopbao-press-left {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .hopbao-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hopbao-docs-grid {
        grid-template-columns: 1fr;
    }
    
    .hopbao-qa-grid {
        flex-direction: column;
    }
    
    .hopbao-qa-form-col {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .hopbao-hero-meta {
        flex-direction: column;
    }

    .hopbao-hero-cta-group {
        align-items: stretch;
        flex-direction: column;
    }

    .hopbao-qa-signin {
        align-items: flex-start;
        flex-direction: column;
    }

    .hopbao-section {
        padding: 35px 16px;
    }
    
    .hopbao-section-title {
        font-size: 19px;
    }
    
    .hopbao-info-grid {
        grid-template-columns: 1fr;
    }
    
    .hopbao-timeline-track {
        padding-left: 20px;
        margin-left: 5px;
    }
    
    .hopbao-timeline-dot {
        left: -28px;
    }
    
    .hopbao-archive-bar-content {
        flex-direction: column;
        text-align: center;
    }
}
