/* ============================================================
   blog.css — Shared base styles (header, nav, footer, floating widget)
   Also contains blog list page styles (bl-* prefix)
   Used by: blog.txt (list page) and blog1.txt (detail page, with blog1.css)
   ============================================================ */

:root {
    --orange: #F0895E;
    --orange-h: #d9733f;
    --navy: #0F172A;
    --bg-light: #F4F7F9;
    --border: rgba(15, 23, 42, 0.07);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    color: #0F172A;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

.orange {
    color: var(--orange);
}

/* ─── HEADER ─── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    background: #fff;
    box-shadow: 0 1px 0 var(--border);
}

.hdr {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hdr-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.hdr-logo img {
    height: 28px;
    width: auto;
}

.hdr-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 14px;
    height: 64px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #334155;
    white-space: nowrap;
    transition: color 0.15s;
}

.nav-link:hover, .nav-link.active {
    color: var(--navy);
}

.nav-chevron {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.nav-item.open .nav-chevron {
    transform: rotate(180deg);
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px 2px 0 0;
    opacity: 0;
    transition: opacity 0.15s;
}

.nav-item.open .nav-indicator, .nav-item:hover .nav-indicator {
    opacity: 1;
}

.hdr-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.hdr-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
}

.lang-wrap {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #475569;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.15s;
}

.lang-btn:hover {
    background: var(--bg-light);
}

.lang-drop {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.10);
    padding: 6px;
    min-width: 110px;
    display: none;
}

.lang-wrap.open .lang-drop {
    display: block;
}

.lang-opt {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 0.75rem;
    text-align: left;
    border-radius: 6px;
    color: #475569;
    transition: background 0.15s;
}

.lang-opt:hover {
    background: var(--bg-light);
    color: var(--navy);
    font-weight: 600;
}

.lang-opt.sel {
    background: #0C294B;
    color: #fff;
    font-weight: 600;
}

.btn-contact {
    background: var(--orange);
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-contact:hover {
    background: var(--orange-h);
}

.btn-ham {
    display: none;
    padding: 8px;
    border-radius: 6px;
    background: none;
    margin-left: auto;
}

/* Mobile menu */
.mob-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0;
}

.mob-menu.open {
    display: flex;
}

.mob-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    color: #334155;
}

.mob-cta {
    display: block;
    margin-top: 1rem;
    background: var(--orange);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
}

/* ─── MEGA MENU ─── */
.mega-panel {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.10);
    z-index: 99;
    display: none;
    animation: megaFadeIn 0.18s ease;
}

.mega-panel.open {
    display: block;
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.mg-svc {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
}

.mg-svc-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    grid-column: 1/-1;
}

.mg-svc-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFF0E8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.mg-svc-circle-inner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
}

.mg-svc-h {
    font-size: 0.9rem;
    color: #334155;
    font-weight: 500;
}

.mg-svc-h strong {
    color: var(--navy);
}

.mg-close {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #94A3B8;
    padding: 6px 10px;
    border-radius: 6px;
}

.mg-close svg {
    width: 14px;
    height: 14px;
}

.mg-close:hover {
    background: var(--bg-light);
    color: #475569;
}

.mg-svc-links {
    grid-column: 1;
}

.mg-svc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
}

.mg-2col {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
}

.mg-2col-links {
    flex: 1;
}

.mg-2col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
}

.mg-company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0 2rem;
}

.mg-group-title {
    font-size: 0.6rem;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
    padding-top: 4px;
}

.mg-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 2px;
    transition: background 0.15s;
}

.mg-link:hover {
    background: var(--bg-light);
}

.mg-link .t {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
}

.mg-link .s {
    font-size: 0.68rem;
    color: #94A3B8;
}

.mg-link-compact {
    padding: 8px 10px;
}

.mg-link-sm .t {
    font-size: 0.78rem;
}

.mg-cta-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--orange);
    padding: 8px 10px;
}

.mg-card {
    width: 240px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.mg-card-img {
    height: 130px;
    overflow: hidden;
}

.mg-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mg-card > .mg-card-cat, .mg-card > h4, .mg-card > p, .mg-card > .mg-card-read {
    padding: 0 14px;
}

.mg-card-cat {
    font-size: 0.58rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-top: 14px;
    padding-bottom: 6px;
}

.mg-card > h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: 6px;
}

.mg-card > p {
    font-size: 0.68rem;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 10px;
}

.mg-card-read {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--orange);
    padding-bottom: 14px;
}

.mg-card-read svg {
    width: 12px;
    height: 12px;
}

/* ─── BREADCRUMB (sticky, for blog list page) ─── */
.bl-breadcrumb {
    position: sticky;
    top: 64px;
    z-index: 90;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.bl-bc-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 4rem;
}

.bl-bc-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    font-size: 0.72rem;
}

.bl-bc-home {
    color: #94A3B8;
    transition: color 0.15s;
}

.bl-bc-home:hover {
    color: var(--orange);
}

.bl-bc-chev {
    flex-shrink: 0;
}

.bl-bc-link {
    color: #64748B;
    transition: color 0.15s;
}

.bl-bc-link:hover {
    color: var(--orange);
}

.bl-bc-cur {
    color: #334155;
    font-weight: 500;
}

/* ─── HERO (blog list) ─── */
.blog-page .bl-breadcrumb {
    top: 0 !important;
}

@media (min-width: 1024px) {
    .blog-page .bl-breadcrumb {
        margin-top: 110px !important;
    }
}

.bl-hero {
    position: relative;
    height: 50vh;
    min-height: 460px;
    max-height: 580px;
    overflow: hidden;
}

.bl-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/jp/index/assets/img/company/1499750310107-5fef28a66643.jpg');
    background-size: cover;
    background-position: center;
}

.bl-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.82) 55%, rgba(15, 23, 42, 0.50) 100%);
}

.bl-hero-glow {
    position: absolute;
    bottom: -32px;
    right: 8%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 137, 94, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.bl-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1160px;
    margin: 0 auto;
    padding: 100px 4rem 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 460px;
}

.bl-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.bl-hero-eyebrow-line {
    width: 20px;
    height: 1px;
    background: var(--orange);
    flex-shrink: 0;
}

.bl-hero-eyebrow-txt {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.bl-hero-h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin-bottom: 16px;
    max-width: 560px;
}

.bl-hero-p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.95;
    max-width: 460px;
}

/* ─── MAIN SECTION LAYOUT ─── */
.bl-main {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 64px clamp(2rem, 5vw, 4rem);
}

.bl-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    align-items: start;
}

/* ─── CATEGORY TABS ─── */
.bl-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2.5rem;
}

.bl-cat-btn {
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #475569;
    border-radius: 9999px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    background: #fff;
    transition: all 0.15s;
    cursor: pointer;
}

.bl-cat-btn:hover {
    border-color: rgba(15, 23, 42, 0.35);
}

.bl-cat-btn.active {
    background: #0C294B;
    border-color: #0C294B;
    color: #fff;
}

/* ─── FEATURED CARD ─── */
.bl-featured {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    transition: box-shadow 0.25s, transform 0.25s;
}

.bl-featured:hover {
    background: #0C294B;
    border-color: rgba(244, 122, 42, 0.4);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.bl-clickable {
    cursor: pointer;
}

.bl-feat-img {
    position: relative;
    height: 256px;
    overflow: hidden;
    background: var(--bg-light);
}

.bl-feat-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s;
}

.bl-featured:hover .bl-feat-img img {
    transform: none;
}

.bl-feat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.40) 0%, transparent 100%);
}

.bl-feat-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}

.bl-cat-badge {
    background: var(--orange);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
}

.bl-hot-badge {
    background: rgba(255, 255, 255, 0.85);
    color: #0F172A;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
}

.bl-feat-body {
    padding: 1.75rem;
}

.bl-feat-meta {
    font-size: 0.7rem;
    color: #94A3B8;
    margin-bottom: 10px;
}

.bl-feat-h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.45;
    margin-bottom: 10px;
    transition: color 0.15s;
}

.bl-featured:hover .bl-feat-h2 {
    color: #fff;
}

.bl-featured:hover .bl-feat-meta, .bl-featured:hover .bl-feat-excerpt, .bl-featured:hover .bl-author-name, .bl-featured:hover .bl-author-role, .bl-featured:hover .bl-tag {
    color: rgba(255, 255, 255, .8);
}

.bl-featured:hover .bl-tag {
    background: rgba(255, 255, 255, .25);
    border-color: transparent;
}

.bl-feat-excerpt {
    font-size: 0.8rem;
    color: #64748B;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.bl-feat-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* ─── REGULAR CARD LIST ─── */
.bl-list {
    border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.bl-featured, .bl-card {
    display: flex;
    gap: 24px;
    margin: 0 -16px;
    padding: 28px 16px;
    border: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
    overflow: visible;
    transition: background 0.2s;
}

.bl-featured {
    margin-bottom: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.bl-featured:hover, .bl-card:hover {
    background: #F4F7F9;
    border-color: rgba(15, 23, 42, 0.07);
    box-shadow: none;
}

.bl-feat-img, .bl-card-img {
    width: 128px;
    height: 80px;
    aspect-ratio: auto;
    flex-shrink: 0;
    overflow: hidden;
    align-self: center;
    border-radius: 12px;
    background: #E2E8F0;
}

.bl-feat-img img, .bl-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.bl-featured:hover .bl-feat-img img, .bl-card:hover .bl-card-img img {
    transform: scale(1.05);
}

.bl-feat-body, .bl-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.bl-feat-meta, .bl-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #94A3B8;
}

.bl-feat-badges {
    position: static;
    display: flex;
    gap: 6px;
}

.bl-card-date {
    font-size: 14px;
    color: #94A3B8;
}

.bl-card-read {
    font-size: 0.7rem;
    color: #94A3B8;
}

.bl-feat-h2, .bl-card-h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.45;
    margin-bottom: 8px;
    transition: color 0.15s;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bl-featured:hover .bl-feat-h2, .bl-card:hover .bl-card-h3 {
    color: #0F172A;
}

.bl-feat-excerpt, .bl-card-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 10px;
    font-size: 14px;
    color: #64748B;
    line-height: 1.8;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bl-featured:hover .bl-feat-meta, .bl-featured:hover .bl-feat-excerpt, .bl-card:hover .bl-card-excerpt {
    color: #64748B;
}

.bl-featured:hover .bl-author-name, .bl-featured:hover .bl-author-role, .bl-featured:hover .bl-tag {
    color: inherit;
}

.bl-featured:hover .bl-tag {
    background: var(--bg-light);
    border-color: rgba(15, 23, 42, 0.08);
}

.bl-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bl-card-arrow {
    align-self: center;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.bl-featured:hover .bl-card-arrow, .bl-card:hover .bl-card-arrow {
    opacity: 1;
}

.bl-card-arrow svg {
    width: 16px;
    height: 16px;
    color: var(--orange);
}

.bl-card:hover .bl-card-date, .bl-card:hover .bl-card-read, .bl-card:hover .bl-author-name, .bl-card:hover .bl-author-role, .bl-card:hover .bl-author-xs span, .bl-card:hover .bl-tag, .bl-card:hover .bl-tag-sm {
    color: inherit;
}

.bl-card:hover .bl-tag, .bl-card:hover .bl-tag-sm {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.12);
}

#bl-list .bl-featured:hover .bl-feat-h2,
#bl-list .bl-list .bl-card:hover .bl-card-h3 {
    color: #0F172A !important;
}

#bl-list .bl-featured:hover .bl-feat-meta,
#bl-list .bl-list .bl-card:hover .bl-card-date {
    color: #94A3B8 !important;
}

#bl-list .bl-featured:hover .bl-feat-excerpt,
#bl-list .bl-list .bl-card:hover .bl-card-excerpt {
    color: #64748B !important;
}

#bl-list .bl-featured:hover .bl-author-name,
#bl-list .bl-featured:hover .bl-author-role,
#bl-list .bl-list .bl-card:hover .bl-author-xs span,
#bl-list .bl-featured:hover .bl-tag,
#bl-list .bl-list .bl-card:hover .bl-tag-sm {
    color: #475569 !important;
}

#bl-list .bl-featured:hover .bl-tag,
#bl-list .bl-list .bl-card:hover .bl-tag-sm {
    background: var(--bg-light);
    border-color: rgba(15, 23, 42, 0.08);
}

/* ─── PAGINATION ─── */
.bl-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.bl-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #DDE5ED;
    border-radius: 8px;
    color: #1B293C;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    transition: color .2s, background .2s, border-color .2s;
}

.bl-page-btn:hover,
.bl-page-btn.is-active {
    border-color: #0C294B;
    color: #fff;
    background: #0C294B;
}

.bl-page-btn.is-disabled {
    color: #94A3B8;
    background: #F8FAFC;
    cursor: not-allowed;
}

.bl-page-arrow,
.bl-page-ellipsis {
    font-size: 20px;
}

.bl-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #1B293C;
    font-weight: 700;
}

/* ─── AUTHOR SHARED ─── */
.bl-author-sm {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bl-author-sm img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bl-author-name {
    font-size: 0.73rem;
    font-weight: 600;
    color: #334155;
}

.bl-author-role {
    font-size: 0.65rem;
    color: #94A3B8;
}

.bl-author-xs {
    display: flex;
    align-items: center;
    gap: 7px;
}

.bl-author-xs img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bl-author-xs span {
    font-size: 0.7rem;
    font-weight: 500;
    color: #475569;
}

/* ─── TAGS ─── */
.bl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.bl-tag {
    font-size: 0.62rem;
    color: #475569;
    background: var(--bg-light);
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.bl-tags-sm {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.bl-tag-sm {
    font-size: 0.6rem;
    color: #475569;
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

/* ─── AUTHOR SECTION ─── */
.bl-authors {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.bl-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.bl-section-eyebrow-line {
    width: 20px;
    height: 1px;
    background: var(--orange);
    flex-shrink: 0;
}

.bl-section-eyebrow-txt {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bl-authors-h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1.5rem;
}

.bl-authors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.bl-author-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: border-color 0.2s, transform 0.2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bl-author-card:hover {
    background: #0C294B;
    border-color: rgba(244, 122, 42, 0.4);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.bl-author-card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
    ring-color: transparent;
    transition: box-shadow 0.2s;
}

.bl-author-card:hover .bl-author-card-avatar {
    box-shadow: none;
}

.bl-author-card-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 3px;
    transition: color 0.15s;
}

.bl-author-card:hover .bl-author-card-name {
    color: #fff;
}

.bl-author-card-role {
    font-size: 0.68rem;
    color: var(--orange);
    margin-bottom: 10px;
}

.bl-author-card-divider {
    width: 24px;
    height: 1px;
    background: rgba(15, 23, 42, 0.12);
    margin-bottom: 10px;
}

.bl-author-card-specialty {
    font-size: 0.72rem;
    color: #64748B;
    line-height: 1.75;
    margin-bottom: 10px;
}

.bl-author-card:hover .bl-author-card-role, .bl-author-card:hover .bl-author-card-specialty {
    color: rgba(255, 255, 255, .8);
}

.bl-author-card:hover .bl-author-card-divider {
    background: rgba(255, 255, 255, .25);
}

.bl-author-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bl-author-card-count {
    font-size: 0.65rem;
    color: #94A3B8;
}

.bl-author-card-link {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--orange);
    opacity: 0;
    transition: opacity 0.2s;
}

.bl-author-card:hover .bl-author-card-link {
    color: #fff;
    opacity: 1;
}

.bl-author-card:hover .bl-author-card-count {
    color: rgba(255, 255, 255, .8);
}

/* ─── FAQ (inline) ─── */
.bl-faq {
    margin-top: 92px;
}

.bl-faq-h2 {
    margin: 0 0 40px;
    color: #071b35;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: -.035em;
    text-align: center;
}

.bl-faq-list {
    border-top: 1px solid #d9e2e7;
}

.bl-faq-item {
    border-bottom: 1px solid #d9e2e7;
}

.bl-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    gap: 24px;
    cursor: pointer;
}

.bl-faq-q-text {
    color: #071b35;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.15s;
}

.bl-faq-item:hover .bl-faq-q-text,
.bl-faq-item.open .bl-faq-q-text {
    color: #f0895e;
}

.bl-faq-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #dce4ea;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    color: #9fb2c2;
    transition: background 0.2s, border-color 0.2s;
}

.bl-faq-circle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.bl-faq-item.open .bl-faq-circle {
    color: #fff;
    background: #071b35;
    border-color: #071b35;
}

.bl-faq-item.open .bl-faq-circle svg {
    transform: rotate(90deg);
}

.bl-faq-a {
    display: none;
    padding: 0 64px 22px 0;
}

.bl-faq-item.open .bl-faq-a {
    display: block;
}

.bl-faq-a p {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
}

.bl-faq-detail {
    display: inline-flex;
    margin-top: 16px;
    color: #f0895e;
    font-size: 16px;
    font-weight: 750;
    text-decoration: none;
    align-items: center;
    gap: 12px;
}

.bl-faq-detail span {
    font-size: 20px;
    transition: transform 0.2s;
}

.bl-faq-detail:hover span {
    transform: translateX(4px);
}

/* ─── SIDEBAR ─── */
.bl-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

/* Related Services box */
.bl-sb-services {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.bl-sb-services-hdr {
    background: #071B35;
    padding: 14px 16px 13px;
}

.bl-sb-services-eyebrow {
    font-size: 14px;
    font-weight: 700;
    color: #F0895E;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.bl-sb-services-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.bl-sb-service-item {
    display: block;
    padding: 14px 16px 12px;
    border-bottom: 1px solid #E5E7EB;
    transition: background 0.15s;
    cursor: pointer;
}

.bl-sb-service-item:last-child {
    border-bottom: none;
}

.bl-sb-service-item:hover {
    background: #0C294B;
}

.bl-sb-service-name {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.45;
    margin-bottom: 4px;
    transition: color 0.15s;
}

.bl-sb-service-item:hover .bl-sb-service-name, .bl-sb-service-item:hover .bl-sb-service-link {
    color: #fff;
}

.bl-sb-service-desc {
    font-size: 12px;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 5px;
}

.bl-sb-service-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--orange);
}

.bl-sb-service-item:hover .bl-sb-service-desc {
    color: rgba(255, 255, 255, .8);
}

/* Popular tags */
.bl-sb-tags {
}

.bl-sb-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.bl-sb-section-eyebrow-line {
    width: 16px;
    height: 1px;
    background: var(--orange);
    flex-shrink: 0;
}

.bl-sb-section-eyebrow-txt {
    font-size: 14px;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.bl-sb-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bl-sb-tag {
    font-size: 14px;
    color: #475569;
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.bl-sb-tag.active {
    background: #0C294B;
    border-color: #0C294B;
    color: #fff;
}

.bl-sb-tag:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: #FFF0E8;
}

/* CTA sidebar */
.bl-sb-cta {
    background: #071B35;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.bl-sb-cta-glow {
    position: absolute;
    top: -32px;
    right: -32px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle, #F0895E, transparent);
    opacity: 0.10;
    pointer-events: none;
}

.bl-sb-cta-eyebrow {
    font-size: 14px;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 8px;
    position: relative;
}

.bl-sb-cta-h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.55;
    margin-bottom: 8px;
    position: relative;
}

.bl-sb-cta-p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    margin-bottom: 1rem;
    position: relative;
}

.bl-sb-cta-btn {
    width: 100%;
    background: var(--orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    padding: 12px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.bl-sb-cta-btn:hover {
    background: var(--orange-h);
}

/* ─── DARK CTA SECTION ─── */
.bl-cta-dark {
    position: relative;
    overflow: hidden;
    height: 470px;
    min-height: 470px;
    max-height: 470px;
    flex: 0 0 470px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bl-cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.bl-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: rgba(7, 27, 53, 0.8);
}

.bl-cta-dots {
    display: none;
}

.bl-cta-bottom-glow {
    display: none;
}

.bl-cta-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.bl-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(240, 137, 94, 0.15);
    border: 1px solid rgba(240, 137, 94, 0.30);
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.bl-cta-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
}

.bl-cta-pill-txt {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--orange);
}

.bl-cta-h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.bl-cta-h2 .orange {
    color: var(--orange);
}

.bl-cta-p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.95;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.bl-cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.bl-cta-btn-primary {
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: inherit;
    padding: 14px 40px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(240, 137, 94, 0.45);
    transition: background 0.2s, transform 0.15s;
}

.bl-cta-btn-primary:hover {
    background: var(--orange-h);
    transform: translateY(-1px);
}

.bl-cta-btn-ghost {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: rgba(255, 255, 255, 0.70);
    font-weight: 500;
    font-size: 0.88rem;
    font-family: inherit;
    padding: 14px 40px;
    border-radius: 9999px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.bl-cta-btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .bl-layout {
        grid-template-columns: 1fr;
    }

    .bl-sidebar {
        display: none;
    }

    .bl-authors-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .bl-pagination {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .bl-pagination::-webkit-scrollbar {
        display: none;
    }

    .bl-page-btn,
    .bl-page-ellipsis {
        flex: 0 0 48px;
    }

    .hdr-nav, .hdr-right {
        display: none;
    }

    .btn-ham {
        display: flex;
    }

    .bl-hero-content {
        padding: 80px 1.5rem 32px;
    }

    .bl-main {
        padding: 2.5rem 1.5rem;
    }

    .bl-faq {
        margin-top: 68px;
    }

    .bl-faq-h2 {
        margin-bottom: 28px;
    }

    .bl-faq-q {
        padding: 19px 0;
        gap: 16px;
    }

    .bl-faq-q-text,
    .bl-faq-a p,
    .bl-faq-detail {
        font-size: 15px;
    }

    .bl-faq-circle {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .bl-faq-a {
        padding-right: 0;
    }

    .bl-authors-grid {
        grid-template-columns: 1fr;
    }

    .bl-cta-content {
        padding: 0 1.5rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   hd-* HEADER / MEGA MENU / MOBILE / FOOTER / FLOAT WIDGET
   Used by: whitepaper.txt, author0.txt, knowledge.txt, kb1.txt
   ═══════════════════════════════════════════════════════════════ */

/* ─── Site Header ─── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.07);
}

.hd-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hd-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    flex-shrink: 0;
}

.hd-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #F0895E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
}

.hd-logo-txt {
    font-size: 0.9rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.02em;
}

.hd-nav {
    display: flex;
    align-items: center;
    flex: 1;
}

.hd-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0 0.875rem;
    height: 64px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #334155;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s;
    font-family: inherit;
}

.hd-nav-btn:hover, .hd-nav-btn.active {
    color: #0F172A;
}

.hd-nav-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.hd-nav-btn.active svg {
    transform: rotate(180deg);
}

.hd-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.hd-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #64748B;
    transition: all 0.15s;
    background: none;
    border: none;
    cursor: pointer;
}

.hd-search-btn:hover {
    background: #F4F7F9;
    color: #0F172A;
}

.hd-search-btn svg {
    width: 18px;
    height: 18px;
}

.hd-cta {
    display: inline-flex;
    align-items: center;
    background: #F0895E;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.2s;
    text-decoration: none;
}

.hd-cta:hover {
    background: #d9733f;
}

.hd-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.hd-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #334155;
    border-radius: 1px;
    transition: all 0.2s;
}

/* ─── Mega menu backdrop & column layouts ─── */
.mega-backdrop {
    position: fixed;
    inset: 0;
    z-index: 98;
    display: none;
}

.mega-backdrop.show {
    display: block;
}

.mega-col3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mega-col2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mega-group {
    display: flex;
    flex-direction: column;
}

.mega-group-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.mega-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.15s;
    text-decoration: none;
}

.mega-link:hover {
    background: #F4F7F9;
}

.mega-link-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: #0F172A;
}

.mega-link-sub {
    font-size: 0.68rem;
    color: #94A3B8;
}

/* ─── Mobile menu ─── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 97;
    overflow-y: auto;
    padding: 1.5rem;
}

.mobile-menu.open {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-group {
    margin-bottom: 1.5rem;
}

.mobile-nav-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #94A3B8;
    text-transform: uppercase;
    padding: 0.5rem 0;
    margin-bottom: 0.25rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.625rem 0;
    font-size: 0.88rem;
    color: #334155;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: color 0.15s;
    text-decoration: none;
}

.mobile-nav-link:hover {
    color: #F0895E;
}

.mobile-cta {
    display: block;
    margin-top: 1.5rem;
    background: #F0895E;
    color: #fff;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
}

/* ─── Floating widget ─── */
.float-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.float-bubble {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #F0895E;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(240, 137, 94, 0.45);
    transition: all 0.2s;
    color: #fff;
}

.float-bubble:hover {
    transform: scale(1.08);
    background: #d9733f;
}

.float-label {
    font-size: 0.52rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 3px;
}

.float-icon {
    width: 18px;
    height: 18px;
}

.float-panel {
    display: none;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 60px rgba(15, 23, 42, 0.18);
    width: 280px;
    padding: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.float-panel.open {
    display: block;
}

.float-panel-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.float-panel-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0F172A;
}

.float-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F4F7F9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: #64748B;
    transition: all 0.15s;
}

.float-close:hover {
    background: #e2e8f0;
}

.float-close svg {
    width: 14px;
    height: 14px;
}

.float-panel-desc {
    font-size: 0.78rem;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.float-panel-btn {
    display: block;
    background: #F0895E;
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    transition: background 0.2s;
}

.float-panel-btn:hover {
    background: #d9733f;
}

/* ─── Responsive for hd-* system ─── */
@media (max-width: 1024px) {
    .hd-nav {
        display: none;
    }

    .hd-hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .hd-inner {
        padding: 0 1.5rem;
    }
}

/* ─── HEADER OVERRIDES (exact React match) ─── */
/* Fixed position (override sticky) */
.site-header {
    position: fixed !important;
}

/* Nav items */
.hd-nav-item {
    position: relative;
    height: 64px;
    display: flex;
    align-items: center;
}

.hd-nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #0F172A;
    white-space: nowrap;
    transition: color 0.15s;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.hd-nav-link:hover, .hd-nav-item.open .hd-nav-link {
    color: #F0895E;
}

.hd-nav-chevron {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.hd-nav-item.open .hd-nav-chevron {
    transform: rotate(180deg);
}

.hd-nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0.875rem;
    right: 0.875rem;
    height: 2px;
    background: #F0895E;
    opacity: 0;
    pointer-events: none;
}

.hd-nav-item.open .hd-nav-indicator {
    opacity: 1;
}

/* Right side */
.hd-right {
    display: none;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
    padding-left: 1rem;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .hd-right {
        display: flex;
    }
}

.hd-phone {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.78rem;
    color: #64748B;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.15s;
}

.hd-phone:hover {
    color: #F0895E;
}

.hd-lang {
    position: relative;
    flex-shrink: 0;
}

.hd-lang-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748B;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
    white-space: nowrap;
    font-family: inherit;
}

.hd-lang-btn:hover {
    color: #F0895E;
}

.hd-lang-chev {
    transition: transform 0.2s;
}

.hd-lang.open .hd-lang-chev {
    transform: rotate(180deg);
}

.hd-lang-drop {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 4px;
    width: 120px;
    z-index: 50;
    display: none;
}

.hd-lang.open .hd-lang-drop {
    display: block;
}

.hd-lang-opt {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-size: 0.78rem;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    color: #374151;
    transition: all 0.15s;
    font-family: inherit;
}

.hd-lang-opt:hover {
    background: #FFF5F0;
    color: #F0895E;
}

/* CTA: sharp corners */
.hd-cta {
    display: inline-flex;
    align-items: center;
    background: #F0895E;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 0 !important;
    transition: background 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.hd-cta:hover {
    background: #e07848;
}

/* Mobile toggle */
.hd-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    color: #0F172A;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
}

@media (min-width: 1024px) {
    .hd-mobile-btn {
        display: none;
    }
}

/* Mega menu panels */
.hd-mega {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    z-index: 49;
}

.hd-mega-heading {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 0.5rem;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hd-mega-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    text-decoration: none;
    transition: padding-left 0.15s;
}

.hd-mega-link:last-child {
    border-bottom: none;
}

.hd-mega-link:hover {
    padding-left: 6px;
}

.hd-mega-link-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1E293B;
    transition: color 0.15s;
}

.hd-mega-link:hover .hd-mega-link-title {
    color: #F0895E;
}

.hd-mega-link-sm {
    padding: 0.375rem 0;
}

.hd-mega-link-title-sm {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1E293B;
    transition: color 0.15s;
}

.hd-mega-link-sm:hover .hd-mega-link-title-sm {
    color: #F0895E;
}

.hd-mega-link-sub {
    font-size: 0.63rem;
    color: #94A3B8;
    margin-top: 1px;
}

/* Featured card */
.hd-featured {
    background: #F8F9FA;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.hd-featured-img-wrap {
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 16/9;
    margin-bottom: 1rem;
}

.hd-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.hd-featured-img:hover {
    transform: scale(1.05);
}

.hd-featured-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hd-featured-cat {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 0.5rem;
}

.hd-featured-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.hd-featured-desc {
    font-size: 0.73rem;
    color: #64748B;
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hd-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #F0895E;
    text-decoration: none;
    margin-top: 1rem;
    transition: gap 0.15s;
}

.hd-featured-link:hover {
    gap: 0.625rem;
}

/* Mobile menu (lg:hidden) */
.hd-mobile-menu {
    display: none;
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    padding: 0.5rem 1.5rem 1.5rem;
}

.hd-mobile-menu.open {
    display: block;
}

.hd-mob-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0F172A;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    text-decoration: none;
    transition: color 0.15s;
}

.hd-mob-link:hover {
    color: #F0895E;
}

.hd-mob-chev {
    flex-shrink: 0;
    stroke: #94A3B8;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
