/* ==========================================================================
   HK DIGITAL EDITORIAL PUBLICATION HERO SYSTEM (Premium Long-Form Style)
   ========================================================================== */

:root {
    --blog-accent: #c5a880;
    --blog-accent-soft: #f3e5ab;
    --blog-bg-dark: #07090e;
    --blog-surface: rgba(18, 24, 38, 0.65);
    --blog-border: rgba(255, 255, 255, 0.08);
    --blog-text-main: #f8fafc;
    --blog-text-muted: #94a3b8;
    --blog-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Editorial Publication Hero Container */
.editorial-blog-hero {
    position: relative;
    padding: 10rem 6vw 4.5rem;
    max-width: 124rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(30rem, 0.78fr);
    gap: clamp(3.5rem, 5vw, 6.5rem);
    align-items: center;
    background: radial-gradient(circle at 15% 15%, rgba(197, 168, 128, 0.06), transparent 40rem),
                linear-gradient(180deg, rgba(14, 19, 31, 0.85), rgba(7, 9, 14, 0.98));
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0 0 28px 28px;
    overflow: hidden;
}

.editorial-blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
    z-index: 1;
}

.hero-copy-column {
    position: relative;
    z-index: 2;
}

.hero-visual-column {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Editorial Kicker & Metadata Bar */
.blog-kicker-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.blog-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    background: rgba(197, 168, 128, 0.1);
    border: 1px solid rgba(197, 168, 128, 0.28);
    color: var(--blog-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.12rem;
    font-weight: 800;
}

.blog-meta-item {
    color: var(--blog-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

/* Editorial Author Bylines Block */
.blog-author-block {
    display: inline-flex;
    align-items: center;
    gap: 1.4rem;
    padding: 0.6rem 1.6rem 0.6rem 0.6rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    margin-bottom: 2.4rem;
    backdrop-filter: blur(12px);
}

.blog-author-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--blog-accent);
}

.blog-author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.blog-author-name {
    color: var(--blog-text-main);
    font-size: 1.4rem;
    font-weight: 800;
}

.blog-author-role {
    color: var(--blog-text-muted);
    font-size: 1.18rem;
    font-weight: 600;
}

/* Editorial Title & Subtitle Typography */
.editorial-blog-hero h1 {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: clamp(3.8rem, 5.5vw, 6.4rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: var(--blog-text-main);
    margin: 0 0 2rem 0;
    font-weight: 800;
}

.editorial-blog-hero h1 span {
    background: linear-gradient(135deg, var(--blog-accent) 0%, var(--blog-accent-soft) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description-text {
    color: var(--blog-text-muted);
    font-size: clamp(1.65rem, 1.85vw, 2rem);
    line-height: 1.68;
    margin: 0 0 3rem 0;
    max-width: 70rem;
    font-weight: 400;
}

/* Publication Reading Actions */
.hero-cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.8rem;
}

.btn-blog-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.3rem 2.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blog-accent), #e6c875);
    color: #05070a;
    font-size: 1.45rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(197, 168, 128, 0.25);
    transition: transform 180ms var(--blog-ease), box-shadow 180ms var(--blog-ease);
}

.btn-blog-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(197, 168, 128, 0.38);
}

.btn-blog-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.3rem 2.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--blog-text-main);
    font-size: 1.45rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(12px);
    transition: transform 180ms var(--blog-ease), background 180ms var(--blog-ease);
}

.btn-blog-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.22);
}

/* Subtle Trust Proof Footer Bar */
.blog-trust-proof-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--blog-text-muted);
    font-size: 1.24rem;
    font-weight: 700;
}

.blog-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.blog-trust-item i {
    color: var(--blog-accent);
}

/* Editorial Vector Graphic Card */
.hero-editorial-card {
    position: relative;
    width: 100%;
    max-width: 44rem;
    background: rgba(18, 24, 38, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.6rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.hero-editorial-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-topic-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--blog-text-main);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card-topic-badge {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--blog-accent);
    background: rgba(197, 168, 128, 0.12);
    padding: 0.3rem 0.9rem;
    border-radius: 99px;
    border: 1px solid rgba(197, 168, 128, 0.22);
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    .editorial-blog-hero *,
    .hero-editorial-card {
        animation: none !important;
        transition: none !important;
    }
}

/* Mobile & Tablet Responsive Layout */
@media (max-width: 992px) {
    .editorial-blog-hero {
        grid-template-columns: 1fr;
        padding: 8.5rem 5vw 3.5rem;
        gap: 3.5rem;
        border-radius: 0 0 24px 24px;
    }
    .hero-visual-column {
        order: -1;
    }
    .hero-editorial-card {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .editorial-blog-hero {
        padding: 7.5rem 4vw 3rem;
    }
    .editorial-blog-hero h1 {
        font-size: clamp(2.8rem, 8vw, 3.6rem);
    }
    .hero-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-blog-primary, .btn-blog-secondary {
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================================================
   BLOG ARTICLE CONTENT & TYPOGRAPHY SYSTEM (Fix CSS layout across all blog pages)
   ========================================================================== */

.service-page-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    padding-top: 8rem;
}

.service-breadcrumb {
    max-width: 124rem;
    margin: 0 auto 2rem auto;
    padding: 0 6vw;
}

.blog-article-wrapper {
    max-width: 960px;
    margin: 4rem auto 8rem auto;
    padding: 0 2.5rem;
    color: #cbd5e1;
}

.article-body,
.content-section {
    font-size: 1.7rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.article-body h2,
.content-section h2 {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #f8fafc;
    margin: 4rem 0 1.8rem 0;
    letter-spacing: -0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
}

.article-body h3,
.content-section h3 {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 2.3rem);
    font-weight: 700;
    color: #c5a880;
    margin: 3rem 0 1.4rem 0;
}

.article-body p,
.content-section p {
    margin-bottom: 2.2rem;
    color: #cbd5e1;
}

.article-body ul,
.article-body ol,
.content-section ul,
.content-section ol {
    margin: 2rem 0 2.8rem 2.5rem;
    color: #cbd5e1;
}

.article-body li,
.content-section li {
    margin-bottom: 1rem;
}

.article-body strong,
.content-section strong {
    color: #f8fafc;
}

.article-body em,
.content-section em {
    color: #f3e5ab;
    font-style: italic;
}

.article-body blockquote,
.content-section blockquote {
    background: rgba(197, 168, 128, 0.06);
    border-left: 4px solid #c5a880;
    margin: 3rem 0;
    padding: 2rem 2.6rem;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: #f8fafc;
}

.article-footer {
    background: rgba(18, 24, 38, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 3.5rem;
    border-radius: 24px;
    text-align: center;
    margin-top: 6rem;
    backdrop-filter: blur(16px);
}

/* Lower Page-Centric Sections & Interlinking Mesh Alignment */
.service-block {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 3.5rem 3rem;
    background: rgba(18, 24, 38, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    backdrop-filter: blur(16px);
}

.service-block h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 1.5rem;
}

.service-block p {
    color: #cbd5e1;
    font-size: 1.6rem;
    line-height: 1.7;
}

.process-list,
.related-services {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
}

.process-list li,
.related-services li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.2rem 1.6rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: transform 180ms var(--blog-ease), background 180ms var(--blog-ease);
}

.process-list li:hover,
.related-services li:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(197, 168, 128, 0.3);
}

.related-services a {
    color: #f8fafc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}

.related-services a:hover {
    color: #c5a880;
}

.hk-authority-mesh-section {
    background: rgba(10, 14, 23, 0.95) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5rem 2rem !important;
}

.hk-mesh-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #cbd5e1 !important;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 180ms var(--blog-ease);
}

/* Executive High-Converting CTA Banner Card */
body.service-page .cta-banner,
.cta-banner {
    width: min(1100px, 92vw) !important;
    max-width: 1100px !important;
    margin: 5rem auto !important;
    padding: 5rem 4rem !important;
    background: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.15), transparent 40rem),
                linear-gradient(135deg, rgba(18, 24, 38, 0.92), rgba(10, 14, 23, 0.98)) !important;
    border: 1px solid rgba(197, 168, 128, 0.28) !important;
    border-radius: 28px !important;
    text-align: center !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(24px) !important;
    position: relative !important;
    overflow: hidden !important;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.4;
}

.cta-kicker {
    display: inline-block;
    color: #c5a880;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    background: rgba(197, 168, 128, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 99px;
    border: 1px solid rgba(197, 168, 128, 0.25);
}

.cta-banner h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 1.6rem;
    letter-spacing: -0.03em;
}

.cta-desc {
    color: #cbd5e1;
    font-size: 1.65rem;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 3rem auto;
}

.cta-grid-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.cta-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3.4rem;
    border-radius: 99px;
    background: #25d366;
    color: #05070a;
    font-size: 1.55rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
    transition: transform 180ms var(--blog-ease), box-shadow 180ms var(--blog-ease);
}

.cta-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5);
    background: #1ebd52;
}

.service-trust-strip {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.4rem;
    color: #94a3b8;
    font-size: 1.3rem;
    font-weight: 700;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
}

.service-trust-strip li {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.service-trust-strip li::before {
    content: '✓';
    color: #33ff8a;
    font-weight: 900;
}




