:root {
    --nhri-primary: #0b3d91;
    --nhri-primary-dark: #082d6b;
    --nhri-accent: #f0b429;
    --nhri-text: #1e293b;
    --nhri-muted: #64748b;
    --nhri-bg: #f8fafc;
    --nhri-white: #ffffff;
    --nhri-radius: 16px;
    --nhri-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

body {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    color: var(--nhri-text);
    background: var(--nhri-white);
}

/* ===== Navbar ===== */
.nhri-navbar.bootsnav,
nav.navbar.bootsnav.nhri-navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    min-height: 76px;
}

.nhri-navbar.bootsnav .nhri-nav-container,
nav.navbar.bootsnav.nhri-navbar .nhri-nav-container {
    display: flex;
    align-items: center;
    min-height: 76px;
}

.nhri-navbar .navbar-header {
    float: none;
    display: flex;
    align-items: center;
    min-height: 76px;
}

.nhri-navbar .navbar-brand {
    padding: 10px 0 !important;
    height: auto !important;
    display: flex;
    align-items: center;
}

.nhri-navbar .navbar-brand img {
    max-height: 58px;
    width: auto;
}

.nhri-navbar .navbar-collapse {
    border-top: none !important;
}

.nhri-navbar .nhri-nav-menu {
    display: flex !important;
    align-items: center;
    float: none !important;
    margin: 0 !important;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 2px;
}

.nhri-navbar .nhri-nav-menu > li {
    float: none !important;
    display: flex;
    align-items: center;
}

.nhri-navbar .nhri-nav-menu > li:not(.nhri-nav-cta) > a,
nav.navbar.bootsnav.nhri-navbar ul.nav > li:not(.nhri-nav-cta) > a,
nav.navbar.bootsnav.nhri-navbar.no-background ul.nav > li:not(.nhri-nav-cta) > a,
nav.navbar.bootsnav.nhri-navbar.navbar-transparent ul.nav > li:not(.nhri-nav-cta) > a {
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    text-transform: none !important;
    color: var(--nhri-text) !important;
    padding: 10px 14px !important;
    line-height: 1.4 !important;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nhri-navbar .nhri-nav-menu > li:not(.nhri-nav-cta) > a:hover,
.nhri-navbar .nhri-nav-menu > li:not(.nhri-nav-cta) > a.active,
nav.navbar.bootsnav.nhri-navbar ul.nav > li:not(.nhri-nav-cta) > a:hover,
nav.navbar.bootsnav.nhri-navbar ul.nav > li:not(.nhri-nav-cta) > a.active {
    color: var(--nhri-primary) !important;
    background: rgba(11, 61, 145, 0.06);
}

.nhri-navbar .nhri-nav-cta {
    margin-left: 8px !important;
    padding-left: 8px;
    border-left: 1px solid rgba(15, 23, 42, 0.1);
}

.nhri-navbar .nhri-nav-cta > a,
.nhri-navbar .nhri-user-pill,
nav.navbar.bootsnav.nhri-navbar ul.nav > li.nhri-nav-cta > a.nhri-user-pill {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--nhri-primary), var(--nhri-primary-dark)) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 8px 16px 8px 8px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    box-shadow: 0 4px 14px rgba(11, 61, 145, 0.22);
    max-width: 210px;
    text-decoration: none !important;
    text-transform: none !important;
}

.nhri-navbar .nhri-user-pill:hover,
nav.navbar.bootsnav.nhri-navbar ul.nav > li.nhri-nav-cta > a.nhri-user-pill:hover {
    color: #fff !important;
    background: linear-gradient(135deg, var(--nhri-primary), var(--nhri-primary-dark)) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(11, 61, 145, 0.28);
}

.nhri-navbar .nhri-user-avatar,
nav.navbar.bootsnav.nhri-navbar ul.nav > li.nhri-nav-cta > a.nhri-user-pill .nhri-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
    color: #fff !important;
}

.nhri-navbar .nhri-user-name,
nav.navbar.bootsnav.nhri-navbar ul.nav > li.nhri-nav-cta > a.nhri-user-pill .nhri-user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 130px;
    color: #fff !important;
}

.nhri-navbar .nhri-user-pill-guest {
    padding: 8px 18px 8px 10px !important;
}

.nhri-navbar .nhri-user-pill-active,
nav.navbar.bootsnav.nhri-navbar ul.nav > li.nhri-nav-cta > a.nhri-user-pill-active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--nhri-primary), var(--nhri-primary-dark)) !important;
    box-shadow: 0 4px 14px rgba(11, 61, 145, 0.28);
}

.nhri-navbar .nhri-user-pill-active .nhri-user-avatar,
nav.navbar.bootsnav.nhri-navbar ul.nav > li.nhri-nav-cta > a.nhri-user-pill-active .nhri-user-avatar {
    background: rgba(255, 255, 255, 0.2);
    color: #fff !important;
}

.nhri-navbar .nhri-user-pill-active:hover,
nav.navbar.bootsnav.nhri-navbar ul.nav > li.nhri-nav-cta > a.nhri-user-pill-active:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(11, 61, 145, 0.32);
}

/* Override bootsnav toggle — pakai .nhri-mobile-menu-btn (bukan .navbar-toggle) */
nav.navbar.bootsnav.nhri-navbar .nhri-mobile-menu-btn,
nav.navbar.bootsnav.nhri-navbar .nhri-nav-toggle,
nav.navbar.bootsnav.nhri-navbar .navbar-toggle.nhri-nav-toggle {
    float: none !important;
    margin: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

@media (min-width: 1024px) {
    nav.navbar.bootsnav.nhri-navbar .nhri-mobile-menu-btn,
    nav.navbar.bootsnav.nhri-navbar .nhri-nav-toggle {
        display: none !important;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-toggle {
        display: none !important;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-collapse {
        position: static !important;
        display: block !important;
        visibility: visible !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        pointer-events: auto !important;
        left: auto !important;
    }
}

/* ===== Hero ===== */
.nhri-hero {
    position: relative;
    margin-top: 76px;
    overflow: hidden;
    background: var(--nhri-primary-dark);
    min-height: 420px;
}

/* Fallback: tampilkan slide pertama walau Owl belum init */
.nhri-hero .banner-carousel:not(.owl-loaded) .item:not(:first-child) {
    display: none;
}

.nhri-hero .banner-carousel:not(.owl-loaded) .item:first-child {
    display: block;
}

.nhri-hero .banner-carousel {
    position: relative;
    z-index: 1;
}

.nhri-hero .owl-stage-outer,
.nhri-hero .owl-stage,
.nhri-hero .owl-item {
    height: 100%;
}

.nhri-hero .banner-carousel .item {
    position: relative;
    min-height: 420px;
    max-height: 72vh;
}

.nhri-hero .banner-carousel .item img {
    width: 100%;
    height: 72vh;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.nhri-hero .banner-carousel .item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 45, 107, 0.82) 0%, rgba(11, 61, 145, 0.55) 45%, rgba(15, 23, 42, 0.35) 100%);
}

.nhri-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.nhri-hero-content {
    pointer-events: auto;
    max-width: 680px;
    color: #fff;
    padding: 40px 0;
}

.nhri-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.nhri-hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #fff;
}

.nhri-hero-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
}

.nhri-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nhri-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.nhri-btn-primary {
    background: var(--nhri-accent);
    color: var(--nhri-primary-dark) !important;
    box-shadow: 0 4px 16px rgba(240, 180, 41, 0.35);
}

.nhri-btn-primary:hover {
    background: #ffc107;
    transform: translateY(-2px);
    color: var(--nhri-primary-dark) !important;
}

.nhri-btn-outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.nhri-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
}

.nhri-hero .owl-dots {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    z-index: 3;
}

.nhri-hero .owl-dot span {
    background: rgba(255, 255, 255, 0.45) !important;
}

.nhri-hero .owl-dot.active span {
    background: var(--nhri-accent) !important;
}

/* ===== Stats ===== */
.nhri-stats {
    background: transparent;
    margin-top: -56px;
    position: relative;
    z-index: 5;
    padding-bottom: 8px;
}

.nhri-stats-inner {
    position: relative;
    background: linear-gradient(135deg, #0e7490 0%, #06b6d4 45%, #22d3ee 100%);
    border-radius: calc(var(--nhri-radius) + 4px);
    box-shadow:
        0 20px 50px rgba(6, 182, 212, 0.35),
        0 8px 24px rgba(15, 23, 42, 0.12);
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.nhri-stats-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.22) 0%, transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 38%);
    pointer-events: none;
}

.nhri-stat-item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 26px 24px;
    text-align: left;
    min-height: 120px;
    border-radius: 14px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.nhri-stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.nhri-stat-item + .nhri-stat-item {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.nhri-stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #0891b2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nhri-stat-item:hover .nhri-stat-icon {
    transform: scale(1.06);
    box-shadow: 0 10px 24px rgba(8, 145, 178, 0.32);
}

.nhri-stat-body {
    min-width: 0;
}

.nhri-stat-value {
    font-size: 1.875rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(8, 145, 178, 0.35);
    letter-spacing: -0.02em;
}

.nhri-stat-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== Sections ===== */
.nhri-section {
    padding: 72px 0;
}

.nhri-section-alt {
    background: var(--nhri-bg);
}

.nhri-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.nhri-section-label {
    display: inline-block;
    color: var(--nhri-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.nhri-section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--nhri-text);
    margin-bottom: 12px;
}

.nhri-section-head p {
    color: var(--nhri-muted);
    margin: 0;
    line-height: 1.7;
}

/* ===== About ===== */
.nhri-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.nhri-about-image {
    border-radius: var(--nhri-radius);
    overflow: hidden;
    box-shadow: var(--nhri-shadow);
}

.nhri-about-image img {
    width: 100%;
    display: block;
}

.nhri-about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--nhri-text);
}

.nhri-about-text p {
    color: var(--nhri-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ===== Sponsors ===== */
.nhri-sponsor-strip {
    padding: 40px 0;
    background: var(--nhri-bg);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nhri-sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.nhri-sponsor-grid img {
    max-height: 56px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.25s ease;
}

.nhri-sponsor-grid img:hover {
    filter: none;
    opacity: 1;
}

/* ===== Gallery ===== */
.nhri-gallery .portfolio-items-area {
    width: 100%;
    text-align: center;
}

.nhri-gallery .magnific-mix-gallery {
    margin-left: 0;
    margin-right: 0;
}

.nhri-gallery .mix-item-menu {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    margin-bottom: 32px;
    border: none !important;
    float: none !important;
}

.nhri-gallery .mix-item-menu button {
    border: none;
    background: var(--nhri-bg);
    color: var(--nhri-text) !important;
    padding: 8px 18px;
    border-radius: 999px;
    margin: 0;
    float: none !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nhri-gallery .mix-item-menu button:hover {
    background: rgba(11, 61, 145, 0.12);
    color: var(--nhri-primary) !important;
}

.nhri-gallery .mix-item-menu button.active,
.nhri-gallery .mix-item-menu button.active:hover {
    background: var(--nhri-primary) !important;
    color: #fff !important;
}

.nhri-gallery #portfolio-grid,
.nhri-gallery .nhri-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: 0 auto;
}

.nhri-gallery .pf-item {
    width: auto !important;
    float: none !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    padding: 0;
}

.nhri-gallery .pf-item .item-inner {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--nhri-shadow);
    margin-bottom: 0;
    background: #000;
}

.nhri-gallery .pf-item iframe {
    display: block;
    border: none;
    width: 100%;
}

/* ===== Testimonials & FAQ ===== */
.nhri-section-head-inline {
    text-align: left;
    max-width: none;
    margin: 0 0 28px;
}

.nhri-faq-standalone {
    width: 100%;
}

.nhri-faq-standalone .nhri-section-head {
    max-width: 640px;
}

.nhri-faq-standalone .acd-items {
    max-width: 100%;
}
.nhri-testimonial-card {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    padding: 28px;
    box-shadow: var(--nhri-shadow);
}

.nhri-testimonial-card .thumb img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
}

.nhri-testimonial-card .bio p {
    font-style: italic;
    color: var(--nhri-muted);
    line-height: 1.7;
}

.nhri-testimonial-card .bio h4 {
    font-weight: 700;
    margin: 12px 0 4px;
}

.nhri-faq .panel {
    border: none;
    box-shadow: none;
    background: transparent;
    margin-bottom: 10px;
}

.nhri-faq .panel-heading {
    background: var(--nhri-white);
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0;
}

.nhri-faq .panel-title a {
    display: block;
    padding: 14px 18px;
    font-weight: 600;
    color: var(--nhri-text);
    text-decoration: none;
}

.nhri-faq .panel-body {
    background: var(--nhri-bg);
    border-radius: 0 0 10px 10px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-top: none;
}

/* ===== Events ===== */
.nhri-event-card {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    overflow: hidden;
    box-shadow: var(--nhri-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.nhri-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
}

.nhri-event-card .thumb {
    overflow: hidden;
    aspect-ratio: 16/10;
}

.nhri-event-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.nhri-event-card:hover .thumb img {
    transform: scale(1.05);
}

.nhri-event-card .info {
    padding: 20px;
}

.nhri-event-card .info span {
    display: inline-block;
    background: rgba(11, 61, 145, 0.08);
    color: var(--nhri-primary);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.nhri-event-card .info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nhri-text);
    line-height: 1.4;
    margin: 0;
}

/* ===== Clients ===== */
.nhri-clients .single-item img {
    max-height: 64px;
    width: auto !important;
    margin: 0 auto;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: all 0.25s ease;
}

.nhri-clients .single-item img:hover {
    filter: none;
    opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .nhri-about-grid {
        grid-template-columns: 1fr;
    }

    .nhri-stats-inner {
        grid-template-columns: 1fr;
    }

    .nhri-stat-item {
        justify-content: flex-start;
        padding: 22px 20px;
        min-height: auto;
    }

    .nhri-stat-item + .nhri-stat-item {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.22);
    }

    .nhri-stat-item:hover {
        transform: none;
    }

    .nhri-hero .banner-carousel .item img {
        height: 55vh;
        min-height: 360px;
    }

    .nhri-navbar .nhri-nav-menu {
        width: 100%;
        padding: 12px 0 16px;
        justify-content: flex-start;
    }

    .nhri-navbar .nhri-nav-cta {
        margin-left: 0 !important;
        padding-left: 0;
        border-left: none;
        width: 100%;
        margin-top: 8px;
    }

    .nhri-navbar .nhri-user-pill {
        max-width: 100%;
        width: 100%;
        justify-content: center;
    }

    .nhri-gallery #portfolio-grid,
    .nhri-gallery .nhri-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .nhri-hero {
        margin-top: 64px;
    }

    .nhri-stats {
        margin-top: -32px;
    }

    .nhri-section {
        padding: 48px 0;
    }

    .nhri-navbar.bootsnav,
    nav.navbar.bootsnav.nhri-navbar,
    .nhri-navbar .navbar-header,
    .nhri-navbar.bootsnav .nhri-nav-container {
        min-height: 64px;
    }

    .nhri-stat-value {
        font-size: 1.5rem;
    }

    .nhri-stat-icon {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .nhri-gallery #portfolio-grid,
    .nhri-gallery .nhri-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1023px) {
    nav.navbar.bootsnav.nhri-navbar {
        z-index: 10050 !important;
    }

    nav.navbar.bootsnav.nhri-navbar .nhri-nav-container {
        display: block !important;
        position: relative;
        z-index: 10051;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-header {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        float: none !important;
        text-align: center !important;
        padding: 0 56px 0 15px !important;
        position: relative !important;
        z-index: 10052;
        background: rgba(255, 255, 255, 0.98);
        min-height: 64px;
        overflow: visible !important;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-brand {
        float: none !important;
        margin: 0 auto !important;
        padding: 8px 0 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-brand .logo-display {
        display: none !important;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-brand .logo-scrolled {
        display: block !important;
        max-height: 52px;
        width: auto;
    }

    nav.navbar.bootsnav.nhri-navbar .nhri-mobile-menu-btn,
    nav.navbar.bootsnav.nhri-navbar .nhri-nav-toggle,
    nav.navbar.bootsnav.nhri-navbar .navbar-toggle.nhri-nav-toggle,
    nav.navbar.bootsnav.nhri-navbar .navbar-header > button.nhri-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        float: none !important;
        margin: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        color: var(--nhri-primary) !important;
        font-size: 22px;
        position: absolute !important;
        right: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10053;
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        appearance: none;
        -webkit-appearance: none;
    }

    /* bootsnav.css: .navbar-toggle { margin-right: -200px } — jangan dorong keluar layar */
    nav.navbar.bootsnav.nhri-navbar .navbar-header .navbar-toggle {
        margin-right: 0 !important;
        margin-left: 0 !important;
        float: none !important;
    }

    nav.navbar.bootsnav.nhri-navbar .nhri-nav-toggle.is-open {
        transform: translateY(-50%) !important;
    }

    nav.navbar.bootsnav.nhri-navbar .nhri-hamburger {
        display: block;
        width: 22px;
        height: 16px;
        position: relative;
    }

    nav.navbar.bootsnav.nhri-navbar .nhri-hamburger span {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        border-radius: 2px;
        background: var(--nhri-primary);
        transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
    }

    nav.navbar.bootsnav.nhri-navbar .nhri-hamburger span:nth-child(1) {
        top: 0;
    }

    nav.navbar.bootsnav.nhri-navbar .nhri-hamburger span:nth-child(2) {
        top: 7px;
    }

    nav.navbar.bootsnav.nhri-navbar .nhri-hamburger span:nth-child(3) {
        top: 14px;
    }

    nav.navbar.bootsnav.nhri-navbar .nhri-nav-toggle.is-open .nhri-hamburger span:nth-child(1) {
        top: 7px;
        transform: rotate(45deg);
    }

    nav.navbar.bootsnav.nhri-navbar .nhri-nav-toggle.is-open .nhri-hamburger span:nth-child(2) {
        opacity: 0;
    }

    nav.navbar.bootsnav.nhri-navbar .nhri-nav-toggle.is-open .nhri-hamburger span:nth-child(3) {
        top: 7px;
        transform: rotate(-45deg);
    }

    /* Sembunyikan icon Font Awesome yang bootsnav inject ke tombol toggle */
    nav.navbar.bootsnav.nhri-navbar .nhri-nav-toggle > .fa {
        display: none !important;
    }

    /* Jangan biarkan bootsnav side-menu mendorong layout */
    body.side-right:not(.nhri-nav-open) > .wrapper,
    body.on-side:not(.nhri-nav-open) > .wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-collapse,
    nav.navbar.bootsnav.nhri-navbar.no-full .navbar-collapse,
    nav.navbar.bootsnav.nhri-navbar .navbar-collapse.collapse,
    nav.navbar.bootsnav.nhri-navbar .navbar-collapse.collapsing,
    body > #navbar-menu.nhri-mobile-drawer-panel {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        width: min(320px, 88vw) !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 76px 0 24px !important;
        background: #fff !important;
        z-index: 10049 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        border: none !important;
        box-shadow: 8px 0 32px rgba(15, 23, 42, 0.18);
        transform: translateX(-105%) !important;
        transition: transform 0.28s ease, visibility 0.28s ease !important;
        visibility: hidden !important;
        pointer-events: none !important;
        display: block !important;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-collapse.nhri-drawer-open,
    nav.navbar.bootsnav.nhri-navbar .navbar-collapse.in,
    body > #navbar-menu.nhri-mobile-drawer-panel.nhri-drawer-open,
    body > #navbar-menu.nhri-mobile-drawer-panel.in {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nhri-nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.48);
        z-index: 10048;
    }

    body.nhri-nav-open {
        overflow: hidden;
    }

    body.nhri-nav-open.side-right > .wrapper,
    body.nhri-nav-open > .wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-collapse .nhri-nav-menu,
    nav.navbar.bootsnav.nhri-navbar .navbar-collapse ul.nav,
    body > #navbar-menu.nhri-mobile-drawer-panel .nhri-nav-menu,
    body > #navbar-menu.nhri-mobile-drawer-panel ul.nav {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        float: none !important;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-collapse .nhri-nav-menu > li,
    nav.navbar.bootsnav.nhri-navbar .navbar-collapse ul.nav > li,
    body > #navbar-menu.nhri-mobile-drawer-panel .nhri-nav-menu > li,
    body > #navbar-menu.nhri-mobile-drawer-panel ul.nav > li {
        display: block !important;
        float: none !important;
        width: 100% !important;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-collapse ul.nav > li:not(.nhri-nav-cta) > a,
    nav.navbar.bootsnav.nhri-navbar .navbar-collapse .nhri-nav-menu > li:not(.nhri-nav-cta) > a,
    body > #navbar-menu.nhri-mobile-drawer-panel ul.nav > li:not(.nhri-nav-cta) > a,
    body > #navbar-menu.nhri-mobile-drawer-panel .nhri-nav-menu > li:not(.nhri-nav-cta) > a {
        display: block !important;
        width: 100% !important;
        color: var(--nhri-text) !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
        border-top: none !important;
        border-radius: 0 !important;
        padding: 14px 24px !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        text-transform: none !important;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-collapse ul.nav > li:not(.nhri-nav-cta) > a:hover,
    nav.navbar.bootsnav.nhri-navbar .navbar-collapse ul.nav > li:not(.nhri-nav-cta) > a.active,
    body > #navbar-menu.nhri-mobile-drawer-panel ul.nav > li:not(.nhri-nav-cta) > a:hover,
    body > #navbar-menu.nhri-mobile-drawer-panel ul.nav > li:not(.nhri-nav-cta) > a.active {
        color: var(--nhri-primary) !important;
        background: rgba(11, 61, 145, 0.06) !important;
    }

    nav.navbar.bootsnav.nhri-navbar .navbar-collapse ul.nav > li.nhri-nav-cta > a.nhri-user-pill,
    nav.navbar.bootsnav.nhri-navbar .navbar-collapse ul.nav > li.nhri-nav-cta > a.nhri-user-pill .nhri-user-name,
    nav.navbar.bootsnav.nhri-navbar .navbar-collapse ul.nav > li.nhri-nav-cta > a.nhri-user-pill .nhri-user-avatar,
    body > #navbar-menu.nhri-mobile-drawer-panel ul.nav > li.nhri-nav-cta > a.nhri-user-pill,
    body > #navbar-menu.nhri-mobile-drawer-panel ul.nav > li.nhri-nav-cta > a.nhri-user-pill .nhri-user-name,
    body > #navbar-menu.nhri-mobile-drawer-panel ul.nav > li.nhri-nav-cta > a.nhri-user-pill .nhri-user-avatar {
        color: #fff !important;
    }

    .nhri-navbar .nhri-nav-cta,
    body > #navbar-menu.nhri-mobile-drawer-panel .nhri-nav-cta {
        width: 100%;
        margin-top: 12px;
        padding: 0 24px 12px;
        border-left: none;
    }

    .nhri-navbar .nhri-user-pill,
    body > #navbar-menu.nhri-mobile-drawer-panel .nhri-user-pill {
        width: 100%;
        max-width: none;
        justify-content: center;
    }

    .nhri-nav-placeholder {
        display: none !important;
    }

    .nhri-hero,
    .nhri-hero .banner-carousel,
    .nhri-hero .owl-carousel,
    .nhri-hero .owl-stage-outer,
    .nhri-hero .owl-item,
    .nhri-page-hero,
    .nhri-stats {
        z-index: 1 !important;
    }

    header#home {
        position: relative;
        z-index: 10050;
    }

    .nhri-page-hero {
        padding: 36px 0 40px;
    }

    .nhri-page-hero h1 {
        font-size: 1.75rem;
    }

    .nhri-members-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .nhri-members-search {
        width: 100%;
    }

    .nhri-members-count {
        text-align: left;
    }

    .nhri-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 575px) {
    .nhri-members-grid {
        grid-template-columns: 1fr;
    }

    .nhri-members-search .nhri-btn-reset {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Inner Pages ===== */
.nhri-page-hero {
    margin-top: 76px;
    padding: 48px 0 56px;
    background: linear-gradient(135deg, var(--nhri-primary-dark) 0%, var(--nhri-primary) 55%, #1e5bb8 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.nhri-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 10% 80%, rgba(240, 180, 41, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.nhri-page-hero .container {
    position: relative;
    z-index: 1;
}

.nhri-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.75);
}

.nhri-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nhri-breadcrumb a:hover {
    color: #fff;
}

.nhri-breadcrumb-sep {
    opacity: 0.6;
    font-size: 12px;
}

.nhri-breadcrumb-current {
    color: #fff;
    font-weight: 500;
}

.nhri-page-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
}

.nhri-page-hero p {
    max-width: 640px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.nhri-members-section {
    padding-top: 48px;
    padding-bottom: 80px;
}

.nhri-alert-wrap {
    margin-bottom: 24px;
}

.nhri-members-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 36px;
    padding: 24px;
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    box-shadow: var(--nhri-shadow);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.nhri-members-search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: min(100%, 320px);
}

.nhri-members-search-field {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.nhri-members-search-field i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nhri-muted);
    pointer-events: none;
}

.nhri-members-search-field .form-control {
    height: 48px;
    padding: 0 16px 0 44px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    font-size: 14px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nhri-members-search-field .form-control:focus {
    border-color: var(--nhri-primary);
    box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.12);
}

.nhri-members-search .nhri-btn {
    height: 48px;
    padding: 0 24px;
    white-space: nowrap;
}

.nhri-members-search .nhri-btn-outline {
    border: 1px solid rgba(15, 23, 42, 0.14);
    color: var(--nhri-text);
    background: var(--nhri-white);
}

.nhri-members-search .nhri-btn-outline:hover {
    border-color: var(--nhri-primary);
    color: var(--nhri-primary);
    background: rgba(11, 61, 145, 0.04);
}

.nhri-members-count {
    text-align: right;
    color: var(--nhri-muted);
    font-size: 14px;
    white-space: nowrap;
}

.nhri-members-count strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nhri-primary);
    line-height: 1.2;
}

.nhri-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.nhri-member-card {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
}

.nhri-member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(11, 61, 145, 0.15);
}

.nhri-member-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px 22px;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
}

.nhri-member-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;
    border: 3px solid rgba(11, 61, 145, 0.12);
    box-shadow: 0 4px 16px rgba(11, 61, 145, 0.12);
    flex-shrink: 0;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.nhri-member-card:hover .nhri-member-photo {
    border-color: rgba(11, 61, 145, 0.35);
    box-shadow: 0 6px 20px rgba(11, 61, 145, 0.18);
}

.nhri-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nhri-member-body {
    flex: 1;
    width: 100%;
    min-width: 0;
}

.nhri-member-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nhri-text);
    margin: 0 0 8px;
    line-height: 1.35;
    word-break: break-word;
}

.nhri-member-role {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--nhri-primary);
    margin: 0 0 6px;
    line-height: 1.4;
}

.nhri-member-company {
    font-size: 13px;
    color: var(--nhri-muted);
    margin: 0;
    line-height: 1.5;
    word-break: break-word;
}

.nhri-member-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--nhri-primary);
    opacity: 0.85;
    transition: opacity 0.22s ease;
}

.nhri-member-card:hover .nhri-member-action {
    opacity: 1;
}

.nhri-members-empty {
    text-align: center;
    padding: 64px 24px;
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px dashed rgba(15, 23, 42, 0.12);
}

.nhri-members-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(11, 61, 145, 0.08);
    color: var(--nhri-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.nhri-members-empty h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nhri-text);
    margin-bottom: 8px;
}

.nhri-members-empty p {
    color: var(--nhri-muted);
    max-width: 420px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

/* ===== Member Detail (Public) ===== */
.nhri-member-detail-toolbar {
    margin-bottom: 24px;
}

.nhri-member-public-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.nhri-member-detail-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--nhri-text);
    margin: 0 0 4px;
}

.nhri-member-detail-company {
    font-size: 13px;
    color: var(--nhri-muted);
    margin: 0 0 16px;
}

.nhri-member-detail-points {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(11, 61, 145, 0.06) 100%);
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.nhri-member-detail-points-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--nhri-primary);
    line-height: 1.1;
}

.nhri-member-detail-points-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--nhri-muted);
}

.nhri-page-member-detail .nhri-profile-row dt {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nhri-page-member-detail .nhri-profile-row dt i {
    color: #0891b2;
    width: 14px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .nhri-member-public-grid {
        grid-template-columns: 1fr;
    }

    .nhri-member-public-grid .nhri-member-profile-card {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .nhri-page-member-detail .nhri-profile-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* ===== Gallery Page ===== */
.nhri-gallery-page {
    padding-top: 48px;
}

/* ===== Events Page ===== */
.nhri-events-section {
    padding-top: 48px;
    padding-bottom: 80px;
}

.nhri-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* ===== Event Detail ===== */
.nhri-event-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 12px;
}

.nhri-event-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.nhri-event-hero-meta i {
    opacity: 0.85;
}

.nhri-event-detail-toolbar {
    margin-bottom: 24px;
}

.nhri-event-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.nhri-event-detail-card {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--nhri-shadow);
    padding: 28px;
    margin-bottom: 20px;
}

.nhri-event-status-alert {
    border-radius: 12px;
    margin-bottom: 20px;
}

.nhri-event-status-alert a {
    font-weight: 600;
    text-decoration: underline;
}

.nhri-event-detail-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.nhri-event-stat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.12);
}

.nhri-event-stat i {
    color: #0891b2;
    font-size: 18px;
    margin-top: 2px;
}

.nhri-event-stat strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nhri-muted);
    margin-bottom: 2px;
}

.nhri-event-stat span,
.nhri-event-stat a {
    font-size: 14px;
    font-weight: 600;
    color: var(--nhri-text);
    text-decoration: none;
}

.nhri-event-stat a:hover {
    color: #0891b2;
}

.nhri-event-detail-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--nhri-text);
    margin-bottom: 24px;
}

.nhri-event-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.nhri-event-map {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.nhri-event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.nhri-event-register-bar {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--nhri-shadow);
    padding: 20px;
}

.nhri-event-register-bar .nhri-btn-block {
    justify-content: center;
    padding: 14px 26px;
    font-size: 15px;
}

/* ===== Event Registration Success ===== */
.nhri-page-event-reg {
    background: var(--nhri-bg);
    min-height: 100vh;
    padding: 32px 16px 48px;
}

.nhri-event-reg-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.nhri-event-reg-card {
    background: var(--nhri-white);
    border-radius: calc(var(--nhri-radius) + 4px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    padding: 32px 28px;
}

.nhri-event-reg-success {
    text-align: center;
    margin-bottom: 28px;
}

.nhri-event-reg-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(52, 195, 143, 0.12);
    color: #1ea87a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.nhri-event-reg-success h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--nhri-text);
    margin: 0 0 10px;
}

.nhri-event-reg-success p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--nhri-muted);
    margin: 0 0 8px;
}

.nhri-event-reg-note {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.nhri-event-reg-steps,
.nhri-event-reg-detail,
.nhri-event-reg-bank {
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
}

.nhri-event-reg-steps h2,
.nhri-event-reg-detail h2,
.nhri-event-reg-bank h2 {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--nhri-text);
    margin: 0 0 14px;
}

.nhri-event-reg-steps ol {
    margin: 0;
    padding-left: 20px;
}

.nhri-event-reg-steps li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--nhri-muted);
    margin-bottom: 10px;
}

.nhri-event-reg-steps li.is-done {
    color: var(--nhri-text);
}

.nhri-event-reg-steps li.is-current {
    color: var(--nhri-primary);
    font-weight: 600;
}

.nhri-event-reg-detail dl {
    margin: 0;
}

.nhri-event-reg-detail dl > div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 8px 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nhri-event-reg-detail dl > div:last-child {
    border-bottom: none;
}

.nhri-event-reg-detail dt {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--nhri-muted);
    margin: 0;
}

.nhri-event-reg-detail dd {
    font-size: 14px;
    font-weight: 600;
    color: var(--nhri-text);
    margin: 0;
}

.nhri-event-reg-bank p {
    font-size: 14px;
    color: var(--nhri-muted);
    margin: 0 0 12px;
}

.nhri-event-reg-bank ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nhri-event-reg-bank li {
    font-size: 14px;
    padding: 6px 0;
    color: var(--nhri-text);
}

.nhri-event-reg-status {
    text-align: center;
    margin-bottom: 20px;
}

.nhri-reg-badge {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.nhri-reg-badge-warning {
    background: rgba(241, 180, 76, 0.15);
    color: #c98a1a;
}

.nhri-reg-badge-info {
    background: rgba(85, 110, 230, 0.12);
    color: #556ee6;
}

.nhri-reg-badge-success {
    background: rgba(52, 195, 143, 0.14);
    color: #1ea87a;
}

.nhri-event-reg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.nhri-event-reg-actions .nhri-btn-block {
    width: 100%;
    justify-content: center;
}

.nhri-event-reg-footnote {
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
    color: var(--nhri-muted);
    margin: 0 0 20px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(85, 110, 230, 0.06);
    border: 1px dashed rgba(85, 110, 230, 0.2);
}

.nhri-event-reg-footer {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--nhri-muted);
    padding-top: 8px;
    border-top: 1px solid #eef2f7;
}

@media (max-width: 575px) {
    .nhri-event-reg-card {
        padding: 24px 18px;
    }

    .nhri-event-reg-detail dl > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .nhri-event-reg-actions .nhri-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Registration panel inside event detail page */
.nhri-event-reg-panel {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--nhri-shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.nhri-event-reg-panel-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f7;
}

.nhri-event-reg-panel-head .nhri-event-reg-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    margin: 0;
    font-size: 28px;
}

.nhri-event-reg-panel-head h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--nhri-text);
    margin: 0 0 8px;
}

.nhri-event-reg-panel-head p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--nhri-muted);
    margin: 0 0 6px;
}

.nhri-event-reg-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.nhri-event-reg-panel .nhri-event-reg-steps,
.nhri-event-reg-panel .nhri-event-reg-bank {
    margin-bottom: 0;
}

.nhri-event-reg-panel .nhri-event-reg-steps h3,
.nhri-event-reg-panel .nhri-event-reg-bank h3 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--nhri-text);
    margin: 0 0 12px;
}

.nhri-event-reg-panel-actions {
    margin-top: 16px;
}

.nhri-event-reg-panel-actions .nhri-btn-block {
    justify-content: center;
    padding: 14px 20px;
}

.nhri-event-reg-link-note {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
    color: var(--nhri-muted);
    word-break: break-all;
}

.nhri-event-reg-link-note a {
    color: var(--nhri-primary);
    font-weight: 600;
}

.nhri-event-reg-done-note {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(52, 195, 143, 0.1);
    border: 1px solid rgba(52, 195, 143, 0.25);
    font-size: 13px;
    line-height: 1.6;
    color: #1ea87a;
    text-align: center;
}

@media (max-width: 767px) {
    .nhri-event-reg-panel-grid {
        grid-template-columns: 1fr;
    }

    .nhri-event-reg-panel-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ===== Payment Confirmation Page ===== */
.nhri-payment-confirm-section {
    padding-top: 32px;
    padding-bottom: 64px;
}

.nhri-payment-confirm-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.nhri-payment-form-card {
    padding: 28px;
}

.nhri-payment-form-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f7;
}

.nhri-payment-form-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(11, 61, 145, 0.1);
    color: var(--nhri-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.nhri-payment-form-head .nhri-card-title {
    margin: 0 0 6px;
    font-size: 1.25rem;
}

.nhri-payment-form-sub {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--nhri-muted);
}

.nhri-form-grid-single {
    grid-template-columns: 1fr;
}

.nhri-file-upload-payment .nhri-file-label {
    min-height: 120px;
    flex-direction: column;
    text-align: center;
}

.nhri-payment-file-preview {
    margin-top: 14px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #eef2f7;
    background: #f8fafc;
    text-align: center;
}

.nhri-payment-file-preview img {
    display: block;
    max-width: 100%;
    max-height: 220px;
    margin: 0 auto 12px;
    border-radius: 10px;
    object-fit: contain;
}

.nhri-payment-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eef2f7;
}

.nhri-payment-form-actions .nhri-btn-primary {
    padding: 14px 24px;
    font-size: 15px;
}

.nhri-payment-bank-card {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(11, 61, 145, 0.04);
    border: 1px solid rgba(11, 61, 145, 0.12);
}

.nhri-payment-bank-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 13px;
}

.nhri-payment-bank-row:last-child {
    border-bottom: none;
}

.nhri-payment-bank-row span {
    color: var(--nhri-muted);
}

.nhri-payment-bank-row strong {
    color: var(--nhri-text);
    text-align: right;
}

.nhri-payment-steps {
    margin: 0;
    padding-left: 18px;
}

.nhri-payment-steps li {
    font-size: 13px;
    line-height: 1.6;
    color: var(--nhri-muted);
    margin-bottom: 8px;
}

.nhri-payment-steps li:last-child {
    margin-bottom: 0;
}

.nhri-payment-flash {
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .nhri-payment-confirm-layout {
        grid-template-columns: 1fr;
    }

    .nhri-payment-confirm-sidebar {
        order: -1;
    }
}

@media (max-width: 575px) {
    .nhri-payment-form-card {
        padding: 20px 18px;
    }

    .nhri-payment-form-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nhri-payment-form-actions {
        flex-direction: column;
    }

    .nhri-payment-form-actions .nhri-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Event Ticket Page ===== */
.nhri-event-ticket-section {
    padding-top: 24px;
    padding-bottom: 64px;
}

.nhri-event-ticket-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.nhri-event-ticket-preview {
    max-width: 720px;
    margin: 0 auto;
}

.nhri-event-ticket-preview > div {
    border-radius: var(--nhri-radius);
    overflow: hidden;
}

.nhri-event-ticket-actions {
    margin-top: 16px;
}

.nhri-member-events-grid .nhri-member-event-card {
    display: flex;
    flex-direction: column;
}

.nhri-member-event-card .nhri-member-event-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.nhri-member-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 12px 16px 16px;
    border-top: 1px solid #eef2f7;
}

.nhri-member-event-meta .nhri-reg-badge {
    margin-right: auto;
}

.nhri-event-detail-sidebar {
    position: sticky;
    top: 96px;
}

.nhri-event-poster-card {
    border-radius: var(--nhri-radius);
    overflow: hidden;
    box-shadow: var(--nhri-shadow);
    margin-bottom: 20px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.nhri-event-poster-card img {
    width: 100%;
    display: block;
}

.nhri-event-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nhri-event-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--nhri-text);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nhri-event-info-list li:last-child {
    border-bottom: none;
}

.nhri-event-info-list i {
    color: #0891b2;
    width: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .nhri-event-detail-layout {
        grid-template-columns: 1fr;
    }

    .nhri-event-detail-sidebar {
        position: static;
        order: -1;
    }

    .nhri-event-poster-card {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .nhri-event-detail-card {
        padding: 20px 18px;
    }

    .nhri-event-hero-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* ===== Files Page ===== */
.nhri-files-section {
    padding-top: 48px;
    padding-bottom: 80px;
}

.nhri-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.nhri-file-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    height: 100%;
}

.nhri-file-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    border-color: rgba(11, 61, 145, 0.15);
}

.nhri-file-icon {
    position: relative;
    width: 64px;
    height: 72px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex-shrink: 0;
    background: rgba(11, 61, 145, 0.1);
    color: var(--nhri-primary);
    border: 1px solid rgba(11, 61, 145, 0.12);
}

.nhri-file-icon i {
    font-family: "Font Awesome 5 Free", FontAwesome, sans-serif;
    font-weight: 900;
    font-size: 28px;
    line-height: 1;
}

.nhri-file-icon-svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nhri-file-ext {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    opacity: 0.9;
}

.nhri-file-icon-pdf {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.2);
}

.nhri-file-icon-doc {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.2);
}

.nhri-file-icon-xls {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
    border-color: rgba(22, 163, 74, 0.2);
}

.nhri-file-icon-ppt {
    background: rgba(234, 88, 12, 0.12);
    color: #ea580c;
    border-color: rgba(234, 88, 12, 0.2);
}

.nhri-file-icon-archive {
    background: rgba(107, 114, 128, 0.12);
    color: #4b5563;
    border-color: rgba(107, 114, 128, 0.2);
}

.nhri-file-icon-image {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.2);
}

.nhri-file-body {
    min-width: 0;
    flex: 1;
}

.nhri-file-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--nhri-text);
    margin: 0 0 10px;
    line-height: 1.4;
    word-break: break-word;
}

.nhri-file-action {
    font-size: 13px;
    font-weight: 600;
    color: var(--nhri-primary);
}

/* ===== Forum Page ===== */
.nhri-forum-section {
    padding-top: 48px;
    padding-bottom: 80px;
}

.nhri-forum-toolbar {
    flex-wrap: wrap;
}

.nhri-forum-create {
    white-space: nowrap;
    flex-shrink: 0;
}

.nhri-forum-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.nhri-forum-card {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    padding: 24px 28px;
    margin-bottom: 16px;
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.nhri-forum-card:hover {
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
    border-color: rgba(11, 61, 145, 0.12);
}

.nhri-forum-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.35;
}

.nhri-forum-card h3 a {
    color: var(--nhri-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nhri-forum-card h3 a:hover {
    color: var(--nhri-primary);
}

.nhri-forum-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--nhri-muted);
}

.nhri-forum-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nhri-forum-meta i {
    color: var(--nhri-primary);
    opacity: 0.75;
}

.nhri-forum-card p {
    color: var(--nhri-muted);
    line-height: 1.7;
    margin: 0 0 14px;
    font-size: 14px;
}

.nhri-forum-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--nhri-primary);
    text-decoration: none !important;
}

.nhri-forum-readmore:hover {
    color: var(--nhri-primary-dark);
}

.nhri-forum-sidebar {
    position: sticky;
    top: 96px;
}

.nhri-sidebar-widget {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    padding: 22px;
    margin-bottom: 20px;
}

.nhri-sidebar-widget h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--nhri-text);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nhri-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nhri-sidebar-list li + li {
    margin-top: 4px;
}

.nhri-sidebar-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--nhri-text);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nhri-sidebar-list a:hover,
.nhri-sidebar-list a.active {
    background: rgba(11, 61, 145, 0.08);
    color: var(--nhri-primary);
}

.nhri-sidebar-list a i {
    opacity: 0.7;
}

.nhri-recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nhri-recent-posts li + li {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.nhri-recent-date {
    display: block;
    font-size: 12px;
    color: var(--nhri-muted);
    margin-bottom: 6px;
}

.nhri-recent-posts a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--nhri-text);
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nhri-recent-posts a:hover {
    color: var(--nhri-primary);
}

/* ===== Forum Detail ===== */
.nhri-forum-detail-toolbar {
    margin-bottom: 24px;
}

.nhri-forum-detail-card,
.nhri-forum-comments-card {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--nhri-shadow);
    padding: 28px;
    margin-bottom: 24px;
}

.nhri-forum-detail-meta {
    margin-bottom: 16px;
}

.nhri-forum-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.nhri-forum-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.1);
    color: #0891b2;
    font-size: 12px;
    font-weight: 600;
}

.nhri-forum-detail-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--nhri-text);
    margin-bottom: 24px;
}

.nhri-forum-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 12px 0;
}

.nhri-forum-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
}

.nhri-forum-share > span {
    font-size: 13px;
    font-weight: 600;
    color: var(--nhri-muted);
}

.nhri-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(11, 61, 145, 0.08);
    color: var(--nhri-primary) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.nhri-share-btn:hover {
    background: var(--nhri-primary);
    color: #fff !important;
}

.nhri-share-wa:hover {
    background: #25d366;
}

.nhri-forum-author {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.03);
}

.nhri-forum-author-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(11, 61, 145, 0.12);
}

.nhri-forum-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nhri-forum-author-body h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--nhri-text);
}

.nhri-forum-author-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--nhri-muted);
}

.nhri-forum-comments-card .nhri-card-title {
    margin-bottom: 20px;
}

.nhri-comment-item {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nhri-comment-item:last-child {
    border-bottom: none;
}

.nhri-comment-reply {
    margin-left: 48px;
    padding-left: 16px;
    border-left: 3px solid rgba(6, 182, 212, 0.35);
}

.nhri-comment-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
}

.nhri-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nhri-comment-body {
    flex: 1;
    min-width: 0;
}

.nhri-comment-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 8px;
}

.nhri-comment-head strong {
    font-size: 14px;
    color: var(--nhri-text);
}

.nhri-comment-head span {
    font-size: 12px;
    color: var(--nhri-muted);
}

.nhri-comment-body > p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--nhri-text);
}

.nhri-comment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nhri-comment-actions a {
    font-size: 12px;
    font-weight: 600;
    color: var(--nhri-primary);
    text-decoration: none;
}

.nhri-comment-actions a:hover {
    text-decoration: underline;
}

.nhri-comment-reply-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.nhri-comment-reply-form .nhri-form-control {
    flex: 1 1 200px;
}

.nhri-comments-empty {
    margin: 0;
    padding: 24px 0;
    text-align: center;
    color: var(--nhri-muted);
    font-size: 14px;
}

.nhri-comment-form-wrap {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.nhri-comment-form-wrap h4 {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--nhri-text);
}

.nhri-comment-form textarea.nhri-form-control {
    min-height: 120px;
    margin-bottom: 14px;
    resize: vertical;
}

.nhri-comment-login-prompt {
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(11, 61, 145, 0.06);
    text-align: center;
}

.nhri-comment-login-prompt p {
    margin: 0;
    font-size: 14px;
    color: var(--nhri-muted);
}

.nhri-comment-login-prompt a {
    color: var(--nhri-primary);
    font-weight: 600;
}

.nhri-page-forum-detail .nhri-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    font-size: 14px;
    color: var(--nhri-text);
    background: var(--nhri-white);
}

.nhri-page-forum-detail .nhri-form-control:focus {
    outline: none;
    border-color: rgba(11, 61, 145, 0.45);
    box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.1);
}

@media (max-width: 767px) {
    .nhri-forum-detail-card,
    .nhri-forum-comments-card {
        padding: 20px 18px;
    }

    .nhri-comment-reply {
        margin-left: 20px;
        padding-left: 12px;
    }

    .nhri-forum-author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ===== Pagination ===== */
.nhri-pagination {
    margin-top: 36px;
    text-align: center;
}

.nhri-pagination .pagination {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}

.nhri-pagination .pagination > li > a,
.nhri-pagination .pagination > li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    color: var(--nhri-text) !important;
    background: var(--nhri-white) !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.nhri-pagination .pagination > li > a:hover {
    background: rgba(11, 61, 145, 0.08) !important;
    border-color: rgba(11, 61, 145, 0.2) !important;
    color: var(--nhri-primary) !important;
}

.nhri-pagination .pagination > .active > a,
.nhri-pagination .pagination > .active > span {
    background: var(--nhri-primary) !important;
    border-color: var(--nhri-primary) !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    .nhri-forum-layout {
        grid-template-columns: 1fr;
    }

    .nhri-forum-sidebar {
        position: static;
    }

    .nhri-forum-create {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Member Dashboard ===== */
.nhri-page-hero-compact {
    padding: 36px 0 44px;
}

.nhri-member-dashboard {
    padding-top: 40px;
    padding-bottom: 80px;
}

.nhri-member-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    border: none;
}

.nhri-member-tabs > li {
    float: none;
    margin: 0;
}

.nhri-member-tabs > li > a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    color: var(--nhri-muted) !important;
    background: var(--nhri-white);
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.nhri-member-tabs > li > a:hover {
    color: var(--nhri-primary) !important;
    border-color: rgba(11, 61, 145, 0.25) !important;
    background: rgba(11, 61, 145, 0.04);
}

.nhri-member-tabs > li.active > a,
.nhri-member-tabs > li.active > a:hover,
.nhri-member-tabs > li.active > a:focus {
    color: #fff !important;
    background: var(--nhri-primary) !important;
    border-color: var(--nhri-primary) !important;
}

.nhri-member-tab-content {
    background: transparent;
    border: none;
    padding: 0;
}

.nhri-member-profile-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 260px;
    gap: 24px;
    align-items: start;
}

.nhri-member-profile-card,
.nhri-member-details-card,
.nhri-member-ecard-card {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--nhri-shadow);
    padding: 24px;
}

.nhri-member-profile-card {
    text-align: center;
}

.nhri-member-profile-photo {
    width: 100%;
    margin: 0 0 16px;
    border-radius: var(--nhri-radius);
    overflow: hidden;
    border: 3px solid rgba(11, 61, 145, 0.12);
    box-shadow: 0 4px 16px rgba(11, 61, 145, 0.12);
    background: var(--nhri-bg);
}

.nhri-member-profile-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center center;
}

.nhri-member-profile-card h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--nhri-text);
}

.nhri-member-type-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(11, 61, 145, 0.08);
    color: var(--nhri-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.nhri-member-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nhri-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nhri-text);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nhri-profile-details {
    margin: 0;
}

.nhri-profile-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nhri-profile-row:last-child {
    border-bottom: none;
}

.nhri-profile-row dt {
    font-size: 13px;
    font-weight: 600;
    color: var(--nhri-muted);
    margin: 0;
}

.nhri-profile-row dd {
    font-size: 14px;
    font-weight: 500;
    color: var(--nhri-text);
    margin: 0;
    word-break: break-word;
}

.nhri-star-rating {
    margin-bottom: 4px;
}

.nhri-star-filled {
    color: #f0b429;
}

.nhri-star-empty {
    color: rgba(15, 23, 42, 0.2);
}

.nhri-point-label {
    font-size: 13px;
    color: var(--nhri-muted);
}

.nhri-ecard-preview {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--nhri-bg);
}

.nhri-ecard-preview img {
    width: 100%;
    display: block;
}

.nhri-ecard-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--nhri-muted);
}

.nhri-ecard-empty i {
    font-size: 36px;
    color: var(--nhri-primary);
    opacity: 0.4;
    margin-bottom: 12px;
}

.nhri-tab-panel-head {
    margin-bottom: 24px;
}

.nhri-tab-panel-head h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--nhri-text);
}

.nhri-tab-panel-head p {
    margin: 0;
    color: var(--nhri-muted);
    font-size: 14px;
}

.nhri-table-wrap {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--nhri-shadow);
    padding: 8px 16px 16px;
    overflow-x: auto;
}

.nhri-member-table {
    margin: 0;
}

.nhri-member-table thead th {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--nhri-muted);
    padding: 14px 12px !important;
}

.nhri-member-table tbody td {
    padding: 14px 12px !important;
    vertical-align: middle !important;
    font-size: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.05) !important;
}

.nhri-table-actions {
    white-space: nowrap;
}

.nhri-table-actions .nhri-btn + .nhri-btn {
    margin-left: 6px;
}

/* ===== Button variants ===== */
.nhri-btn-block {
    width: 100%;
    justify-content: center;
}

.nhri-btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.nhri-btn-danger {
    background: #ef4444 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.nhri-btn-danger:hover {
    background: #dc2626 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.nhri-btn-warning {
    background: #f59e0b !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.nhri-btn-warning:hover {
    background: #d97706 !important;
    color: #fff !important;
}

.nhri-btn-info {
    background: var(--nhri-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(11, 61, 145, 0.22);
}

.nhri-btn-info:hover {
    background: var(--nhri-primary-dark) !important;
    color: #fff !important;
}

@media (max-width: 767px) {
    .nhri-profile-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .nhri-member-tabs > li > a {
        padding: 8px 16px;
        font-size: 13px;
    }

    .nhri-member-tabs {
        justify-content: center;
    }

    .nhri-member-tabs > li {
        flex: 1 1 calc(33.333% - 8px);
        min-width: 0;
    }

    .nhri-member-tabs > li > a {
        width: 100%;
        text-align: center;
        padding: 10px 8px;
    }
}

/* ===== Edit Profile ===== */
.nhri-page-edit-profile {
    background: var(--nhri-bg);
}

.nhri-edit-profile-section {
    padding-top: 40px;
    padding-bottom: 80px;
}

.nhri-edit-profile-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.nhri-edit-profile-photo-card {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--nhri-shadow);
    padding: 24px;
    text-align: center;
    position: sticky;
    top: 96px;
}

.nhri-edit-profile-photo-card h2 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--nhri-text);
}

.nhri-edit-profile-aside-note {
    font-size: 13px;
    line-height: 1.6;
    color: var(--nhri-muted);
    margin: 0 0 20px;
}

.nhri-edit-profile-card {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--nhri-shadow);
    padding: 24px 28px;
    margin-bottom: 20px;
}

.nhri-edit-profile-card:last-of-type {
    margin-bottom: 0;
}

.nhri-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.nhri-form-field {
    min-width: 0;
}

.nhri-form-field-full {
    grid-column: 1 / -1;
}

.nhri-form-field-half {
    grid-column: span 1;
}

.nhri-form-field-2-3 {
    grid-column: span 1;
}

.nhri-form-field-1-3 {
    grid-column: span 1;
}

.nhri-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--nhri-text);
    margin-bottom: 8px;
}

.nhri-required {
    color: #ef4444;
}

.nhri-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--nhri-text);
    background: var(--nhri-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 48px;
}

.nhri-form-control:focus {
    outline: none;
    border-color: rgba(11, 61, 145, 0.45);
    box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.1);
}

.nhri-form-control[readonly] {
    background: rgba(15, 23, 42, 0.04);
    color: var(--nhri-muted);
    cursor: not-allowed;
}

.nhri-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.nhri-form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--nhri-muted);
}

.nhri-form-hint-warn {
    color: #b45309;
}

.nhri-file-upload {
    position: relative;
}

.nhri-file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.nhri-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 24px;
    border: 2px dashed rgba(11, 61, 145, 0.2);
    border-radius: 14px;
    background: rgba(11, 61, 145, 0.03);
    color: var(--nhri-primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.nhri-file-label:hover {
    border-color: rgba(11, 61, 145, 0.4);
    background: rgba(11, 61, 145, 0.06);
}

.nhri-file-label i {
    font-size: 18px;
}

.nhri-cropper-panel {
    margin-top: 20px;
}

.nhri-crop-container {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.04);
    max-width: 100%;
}

.nhri-crop-container img {
    max-width: 100%;
    display: block;
}

.nhri-crop-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.nhri-crop-preview-wrap {
    margin-top: 16px;
}

.nhri-crop-preview-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--nhri-muted);
    margin: 0 0 10px;
}

.nhri-crop-preview-img {
    max-width: 180px;
    border-radius: 12px;
    border: 2px solid rgba(11, 61, 145, 0.15);
    box-shadow: 0 4px 16px rgba(11, 61, 145, 0.1);
}

.nhri-edit-profile-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 8px;
}

.nhri-btn-outline-dark {
    background: var(--nhri-white) !important;
    color: var(--nhri-text) !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
    box-shadow: none;
}

.nhri-btn-outline-dark:hover {
    background: rgba(15, 23, 42, 0.04) !important;
    color: var(--nhri-primary) !important;
    border-color: rgba(11, 61, 145, 0.25) !important;
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .nhri-form-grid-company {
        grid-template-columns: 2fr 1fr;
    }
}

@media (max-width: 1023px) {
    .nhri-edit-profile-layout {
        grid-template-columns: 1fr;
    }

    .nhri-edit-profile-photo-card {
        position: static;
    }

    .nhri-edit-profile-aside .nhri-btn-block {
        display: none;
    }
}

@media (max-width: 767px) {
    .nhri-edit-profile-section {
        padding-top: 32px;
        padding-bottom: 64px;
    }

    .nhri-edit-profile-card {
        padding: 20px 18px;
    }

    .nhri-form-grid {
        grid-template-columns: 1fr;
    }

    .nhri-form-field-half,
    .nhri-form-field-2-3,
    .nhri-form-field-1-3 {
        grid-column: 1 / -1;
    }

    .nhri-edit-profile-actions {
        flex-direction: column-reverse;
    }

    .nhri-edit-profile-actions .nhri-btn {
        width: 100%;
        justify-content: center;
    }

    .nhri-crop-actions {
        flex-direction: column-reverse;
    }

    .nhri-crop-actions .nhri-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Auth (Login / Register) ===== */
.nhri-page-auth {
    background: var(--nhri-bg);
}

.nhri-auth-section {
    padding-top: 48px;
    padding-bottom: 88px;
}

.nhri-auth-wrap {
    max-width: 440px;
    margin: 0 auto;
}

.nhri-auth-card {
    background: var(--nhri-white);
    border-radius: calc(var(--nhri-radius) + 4px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    padding: 36px 32px 28px;
}

.nhri-auth-card-head {
    text-align: center;
    margin-bottom: 28px;
}

.nhri-auth-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11, 61, 145, 0.1), rgba(11, 61, 145, 0.04));
    color: var(--nhri-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.nhri-auth-card-head h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--nhri-text);
    margin: 0 0 8px;
}

.nhri-auth-card-head p {
    margin: 0;
    font-size: 14px;
    color: var(--nhri-muted);
    line-height: 1.6;
}

.nhri-auth-form .nhri-form-field {
    margin-bottom: 18px;
}

.nhri-auth-form .nhri-form-field:last-of-type {
    margin-bottom: 24px;
}

.nhri-input-icon-wrap {
    position: relative;
}

.nhri-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nhri-muted);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.nhri-form-control-icon {
    padding-left: 44px !important;
}

.nhri-auth-submit {
    margin-top: 4px;
    font-size: 15px;
    padding: 14px 26px;
}

.nhri-auth-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.nhri-auth-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--nhri-muted);
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.nhri-auth-link i {
    margin-right: 4px;
    opacity: 0.75;
}

.nhri-auth-link:hover {
    color: var(--nhri-primary);
}

.nhri-auth-link-accent {
    color: var(--nhri-primary);
}

.nhri-auth-link-accent:hover {
    color: var(--nhri-primary-dark);
}

.nhri-auth-divider {
    color: rgba(15, 23, 42, 0.2);
    font-size: 13px;
}

.nhri-auth-note {
    text-align: center;
    margin: 20px 0 0;
    font-size: 13px;
    color: var(--nhri-muted);
    line-height: 1.6;
}

.nhri-auth-note a {
    color: var(--nhri-primary);
    font-weight: 600;
    text-decoration: none;
}

.nhri-auth-note a:hover {
    text-decoration: underline;
}

.nhri-auth-section .nhri-alert-wrap {
    margin-bottom: 20px;
}

.nhri-auth-section .alert {
    border-radius: 12px;
    border: none;
    font-size: 14px;
}

.nhri-auth-icon-key {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(6, 182, 212, 0.06));
    color: #0891b2;
}

.nhri-captcha-box {
    margin-bottom: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px dashed rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}

.nhri-captcha-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.nhri-captcha-input-wrap {
    margin-bottom: 6px;
}

.nhri-auth-form .nhri-form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--nhri-muted);
}

/* ===== Register ===== */
.nhri-register-section {
    padding-top: 40px;
    padding-bottom: 80px;
}

.nhri-register-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.nhri-register-form .nhri-edit-profile-card {
    margin-bottom: 20px;
}

.nhri-form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid rgba(6, 182, 212, 0.15);
}

.nhri-form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: #0891b2;
    cursor: pointer;
}

.nhri-form-check label {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--nhri-text);
    font-weight: 500;
    cursor: pointer;
}

.nhri-form-check label a {
    color: #0891b2;
    font-weight: 600;
    text-decoration: none;
}

.nhri-form-check label a:hover {
    text-decoration: underline;
}

.nhri-form-field-captcha {
    margin-top: 4px;
}

.nhri-register-actions {
    margin-top: 8px;
}

.nhri-register-actions .nhri-btn-block {
    padding: 14px 26px;
    font-size: 15px;
}

.nhri-register-login-note {
    text-align: center;
    margin: 18px 0 0;
    font-size: 14px;
    color: var(--nhri-muted);
}

.nhri-register-login-note a {
    color: var(--nhri-primary);
    font-weight: 600;
    text-decoration: none;
}

.nhri-register-login-note a:hover {
    text-decoration: underline;
}

.nhri-page-register .nhri-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--nhri-text);
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .nhri-register-section {
        padding-top: 32px;
        padding-bottom: 64px;
    }
}

@media (max-width: 767px) {
    .nhri-auth-section {
        padding-top: 32px;
        padding-bottom: 64px;
    }

    .nhri-auth-card {
        padding: 28px 22px 24px;
    }

    .nhri-auth-footer {
        flex-direction: column;
        gap: 12px;
    }

    .nhri-auth-divider {
        display: none;
    }
}

@media (max-width: 1023px) {
    .nhri-page-member,
    .nhri-page-edit-profile,
    .nhri-page-auth,
    .nhri-member-dashboard {
        overflow-x: hidden;
    }

    .nhri-member-dashboard {
        padding-top: 32px;
        padding-bottom: 64px;
        overflow-x: hidden;
    }

    .nhri-member-dashboard .container {
        max-width: 100%;
        overflow-x: hidden;
    }

    .nhri-member-profile-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .nhri-member-profile-card,
    .nhri-member-details-card,
    .nhri-member-ecard-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .nhri-member-tab-content {
        overflow-x: hidden;
    }

    .nhri-table-wrap {
        padding: 8px 8px 12px;
        -webkit-overflow-scrolling: touch;
    }

    .nhri-member-table {
        min-width: 520px;
    }
}

/* ===== Footer ===== */
.nhri-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: rgba(255, 255, 255, 0.88);
}

.nhri-footer-main {
    padding: 64px 0 48px;
}

.nhri-footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.25fr 0.85fr 0.85fr;
    gap: 40px 32px;
    align-items: start;
}

.nhri-footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: 0.02em;
}

.nhri-footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.nhri-footer-logo img {
    max-height: 64px;
    width: auto;
}

.nhri-footer-tagline {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 260px;
}

.nhri-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.nhri-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.nhri-footer-contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nhri-accent);
    font-size: 16px;
}

.nhri-footer-contact-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.nhri-footer-contact-body strong {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}

.nhri-footer-contact-body a,
.nhri-footer-contact-body span {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    word-break: break-word;
}

.nhri-footer-contact-body a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.nhri-footer-contact-body a:hover {
    color: var(--nhri-accent);
}

.nhri-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nhri-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nhri-footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nhri-accent);
    opacity: 0.7;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.nhri-footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.nhri-footer-links a:hover::before {
    opacity: 1;
}

.nhri-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nhri-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 18px;
    text-decoration: none !important;
    transition: all 0.22s ease;
}

.nhri-social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.nhri-social-btn:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

.nhri-social-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.35);
}

.nhri-social-yt:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.35);
}

.nhri-social-li:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 6px 18px rgba(10, 102, 194, 0.35);
}

.nhri-social-ig:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(220, 39, 67, 0.35);
}

.nhri-footer-sponsor {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nhri-sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.nhri-sponsor-item {
    flex: 0 1 200px;
    max-width: 220px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nhri-sponsor-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.nhri-sponsor-item img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.nhri-footer-bottom {
    padding: 18px 0;
    background: rgba(0, 0, 0, 0.22);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nhri-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
}

.nhri-footer-bottom p,
.nhri-footer-bottom a {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.nhri-footer-bottom a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nhri-footer-bottom a:hover {
    color: var(--nhri-accent);
}

/* WhatsApp float */
.nhri-wa-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 28px;
    left: 28px;
    background: #25d366;
    color: #fff !important;
    border-radius: 50%;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    text-decoration: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nhri-wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
    color: #fff !important;
}

.nhri-wa-float svg {
    width: 34px;
    height: 34px;
    fill: #fff;
}

@media (max-width: 1199px) {
    .nhri-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;
    }

    .nhri-footer-brand {
        grid-column: 1 / -1;
    }

    .nhri-footer-tagline {
        max-width: 480px;
    }
}

@media (max-width: 767px) {
    .nhri-footer-main {
        padding: 48px 0 36px;
    }

    .nhri-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nhri-footer-brand {
        text-align: center;
    }

    .nhri-footer-logo {
        display: flex;
        justify-content: center;
    }

    .nhri-footer-tagline {
        max-width: none;
        text-align: center;
    }

    .nhri-footer-social {
        justify-content: flex-start;
    }

    .nhri-footer-sponsor {
        margin-top: 36px;
        padding-top: 28px;
    }

    .nhri-sponsor-grid {
        gap: 14px;
    }

    .nhri-sponsor-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 140px;
        max-width: none;
        padding: 14px 16px;
        min-height: 76px;
    }

    .nhri-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .nhri-wa-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        left: 16px;
    }

    .nhri-wa-float svg {
        width: 30px;
        height: 30px;
    }
}

/* ===== Forum Create / Edit Post ===== */
.nhri-forum-create-section {
    padding-top: 32px;
    padding-bottom: 64px;
}

.nhri-forum-create-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.nhri-forum-create-card {
    padding: 28px;
}

.nhri-forum-create-card .nhri-card-title.nhri-forum-create-card-title {
    margin: 0 0 6px;
    padding: 0;
    border: none;
    font-size: 1.25rem;
}

.nhri-forum-create-flash {
    margin-bottom: 20px;
}

.nhri-forum-create-sidebar .nhri-sidebar-widget {
    background: var(--nhri-white);
    border-radius: var(--nhri-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--nhri-shadow);
    padding: 22px 24px;
    margin-bottom: 16px;
}

.nhri-forum-create-sidebar .nhri-sidebar-widget:last-child {
    margin-bottom: 0;
}

.nhri-forum-create-sidebar h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--nhri-text);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nhri-forum-create-sidebar h4 i {
    color: var(--nhri-primary);
}

.nhri-forum-create-tips ol {
    margin: 0;
    padding-left: 18px;
    color: var(--nhri-muted);
    font-size: 13px;
    line-height: 1.7;
}

.nhri-forum-create-tips li + li {
    margin-top: 8px;
}

.nhri-forum-create-help p {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--nhri-muted);
}

.nhri-forum-create-actions {
    justify-content: flex-start;
}

.nhri-page-forum-create .note-editor.note-frame {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.nhri-page-forum-create .note-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 8px 10px;
}

.nhri-page-forum-create .note-editable {
    min-height: 280px;
    font-size: 14px;
    line-height: 1.65;
    padding: 16px;
    color: var(--nhri-text);
}

.nhri-page-forum-create .note-statusbar {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: #f8fafc;
}

.nhri-forum-editor-field .note-editor {
    margin-top: 4px;
}

@media (max-width: 991px) {
    .nhri-forum-create-layout {
        grid-template-columns: 1fr;
    }

    .nhri-forum-create-sidebar {
        order: -1;
    }

    .nhri-forum-create-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nhri-forum-create-actions .nhri-btn {
        width: 100%;
        justify-content: center;
    }
}
