/*
Theme Name: New Home
Theme URI: https://ebot.my.id
Author: Rifan Muazin
Author URI: https://ebot.my.id
Author Email: muazin.asro@gmail.com
Description: New Home is an ultra-fast, modern, and lightweight Standalone WordPress News & Magazine Theme featuring Facebook-style News Stories, Breaking News Ticker, 1+4 Fresh News grid, Big Three top category showcases, Popular News with views counter and rank badges, Editor's Picks, You Missed showcase, 3-column footer, and Graphical Category widgets.
Version: 1.0.0
Requires PHP: 7.4
Requires at least: 6.0
Tested up to: 6.9
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: new-home
Tags: blog, news, grid-layout, one-column, two-columns, three-columns, flexible-header, left-sidebar, right-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, post-formats, theme-options, translation-ready

New Home WordPress Theme - Created by Rifan Muazin (muazin.asro@gmail.com, https://ebot.my.id)
*/

/* ==========================================================================
   1. CSS RESET & VARIABLES
   ========================================================================== */
:root {
    --nh-primary: #e63946;
    --nh-primary-hover: #d62828;
    --nh-secondary: #0f172a;
    --nh-accent: #3b82f6;
    --nh-bg-body: #f8fafc;
    --nh-card-bg: #ffffff;
    --nh-dark: #0f172a;
    --nh-dark-nav: #111827;
    --nh-text-main: #334155;
    --nh-text-muted: #64748b;
    --nh-text-light: #94a3b8;
    --nh-border: #e2e8f0;
    --nh-white: #ffffff;
    --nh-radius-sm: 4px;
    --nh-radius: 8px;
    --nh-radius-lg: 12px;
    --nh-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --nh-shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --nh-shadow-lg: 0 12px 28px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06);
    --nh-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --nh-font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --nh-font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--nh-font-main);
    color: var(--nh-text-main);
    background-color: var(--nh-bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--nh-transition);
}

a:hover {
    color: var(--nh-primary);
    text-decoration: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--nh-font-heading);
    font-weight: 700;
    color: var(--nh-dark);
    line-height: 1.3;
}

/* ==========================================================================
   2. CORE CONTAINER & GRID SYSTEM
   ========================================================================== */
.nh-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.nh-main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 20px;
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    .nh-main-layout {
        grid-template-columns: 2fr 1fr;
    }
}

.nh-main-content {
    min-width: 0; /* Prevents grid breakout */
}

.nh-sidebar {
    min-width: 0;
}

/* ==========================================================================
   3. HEADER BRANDING
   ========================================================================== */
.nh-main-header {
    background: #ffffff;
    padding: 22px 0;
    border-bottom: 1px solid var(--nh-border);
}

.nh-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nh-branding {
    display: flex;
    align-items: center;
}

.nh-logo img {
    max-height: 52px;
    width: auto;
}

.nh-site-name {
    font-size: 32px;
    font-weight: 900;
    margin: 0;
    letter-spacing: -0.5px;
}

.nh-site-name a {
    color: var(--nh-dark);
}

.nh-brand-accent {
    color: var(--nh-primary);
}

.nh-site-desc {
    font-size: 13px;
    color: var(--nh-text-muted);
    margin: 3px 0 0 0;
    font-weight: 500;
}

.nh-header-ad .nh-ad-banner {
    max-height: 80px;
    width: auto;
    border-radius: var(--nh-radius-sm);
}

@media (max-width: 991px) {
    .nh-header-ad {
        display: none;
    }
    .nh-header-inner {
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================================
   4. MODERN NAVIGATION BAR
   ========================================================================== */
.nh-navbar-sticky {
    background: var(--nh-dark-nav);
    border-top: 2px solid var(--nh-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nh-navbar-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
}

.nh-nav-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    font-size: 15px;
    transition: var(--nh-transition);
    flex-shrink: 0;
}

.nh-nav-home-btn:hover {
    background: var(--nh-primary);
    color: #ffffff;
}

.nh-nav-menu-container {
    flex-grow: 1;
    height: 100%;
}

.nh-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 10px;
    height: 100%;
}

.nh-nav-list > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nh-nav-list > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    color: #e2e8f0;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: var(--nh-transition);
}

.nh-nav-list > li > a:hover,
.nh-nav-list > li.current-menu-item > a {
    color: #ffffff;
    background: rgba(255,255,255,0.08);
}

.nh-nav-list > li.current-menu-item > a {
    box-shadow: inset 0 -3px 0 var(--nh-primary);
}

/* Dropdown sub-menus */
.nh-nav-list ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    box-shadow: var(--nh-shadow-lg);
    border-radius: var(--nh-radius-sm);
    display: none;
    border: 1px solid var(--nh-border);
    z-index: 999;
}

.nh-nav-list li:hover > ul.sub-menu {
    display: block;
    animation: nh-fade-in 0.2s ease forwards;
}

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

.nh-nav-list ul.sub-menu li a {
    display: block;
    padding: 8px 18px;
    color: var(--nh-dark);
    font-size: 13px;
    font-weight: 500;
    transition: var(--nh-transition);
}

.nh-nav-list ul.sub-menu li a:hover {
    background: #f8fafc;
    color: var(--nh-primary);
    padding-left: 22px;
}

/* Search Bar in Navbar */
.nh-nav-search {
    flex-shrink: 0;
}

.nh-search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.nh-search-input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    color: #ffffff;
    padding: 6px 36px 6px 14px;
    font-size: 13px;
    width: 160px;
    outline: none;
    transition: var(--nh-transition);
}

.nh-search-input::placeholder {
    color: #94a3b8;
}

.nh-search-input:focus {
    width: 210px;
    background: rgba(255,255,255,0.15);
    border-color: var(--nh-primary);
}

.nh-search-btn {
    position: absolute;
    right: 4px;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-size: 13px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--nh-transition);
}

.nh-search-btn:hover {
    color: var(--nh-primary);
}

/* Mobile Toggle */
.nh-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nh-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: var(--nh-transition);
}

@media (max-width: 991px) {
    .nh-mobile-toggle {
        display: flex;
    }
    .nh-nav-menu-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--nh-dark-nav);
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: var(--nh-shadow-lg);
        height: auto;
    }
    .nh-nav-menu-container.active {
        display: block;
    }
    .nh-nav-list {
        flex-direction: column;
        padding: 10px 0;
        height: auto;
    }
    .nh-nav-list > li {
        width: 100%;
        height: auto;
    }
    .nh-nav-list > li > a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        width: 100%;
    }
    .nh-nav-list ul.sub-menu {
        position: static;
        background: #090e17;
        box-shadow: none;
        border: none;
    }
    .nh-nav-list ul.sub-menu li a {
        color: #94a3b8;
        padding-left: 32px;
    }
    .nh-nav-search {
        display: none;
    }
}

/* ==========================================================================
   5. BREAKING NEWS TICKER
   ========================================================================== */
.nh-breaking-bar {
    background: #0b1120;
    color: #ffffff;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nh-breaking-flex {
    display: flex;
    align-items: center;
    height: 38px;
    overflow: hidden;
}

.nh-breaking-label {
    background: var(--nh-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0 12px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.nh-live-dot {
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
    animation: nh-beacon 1.4s infinite;
}

@keyframes nh-beacon {
    0% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 5px rgba(255,255,255,0); }
    100% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.nh-ticker-container {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-left: 15px;
}

.nh-ticker-marquee {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    animation: nh-marquee 40s linear infinite;
}

.nh-ticker-marquee:hover {
    animation-play-state: paused;
}

.nh-marquee-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-weight: 500;
}

.nh-marquee-link:hover {
    color: #ff8a96;
}

.nh-marquee-bullet {
    color: var(--nh-primary);
    font-size: 14px;
}

.nh-marquee-time {
    color: #94a3b8;
    font-size: 11px;
}

@keyframes nh-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   6. NEWS STORIES (FACEBOOK / INSTAGRAM STYLE)
   ========================================================================== */
.nh-stories-section {
    padding: 20px 0 10px 0;
}

.nh-stories-wrapper {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 14px 2px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.nh-stories-wrapper::-webkit-scrollbar {
    height: 4px;
}
.nh-stories-wrapper::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}
.nh-stories-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.nh-story-card {
    flex: 0 0 125px;
    height: 200px;
    position: relative;
    border-radius: var(--nh-radius-lg);
    overflow: hidden;
    box-shadow: var(--nh-shadow-sm);
    cursor: pointer;
    transition: var(--nh-transition);
    display: block;
    background-color: #1e293b;
    border: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .nh-story-card {
        flex: 0 0 135px;
        height: 220px;
    }
}

.nh-story-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--nh-shadow-lg);
}

.nh-story-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nh-story-card:hover .nh-story-bg {
    transform: scale(1.1);
}

.nh-story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    z-index: 2;
}

.nh-story-avatar-wrap {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.nh-story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #ffffff;
    object-fit: cover;
}

.nh-story-title {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   7. SECTION HEADERS & BADGES
   ========================================================================== */
.nh-section-title {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nh-section-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nh-section-title h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 45px;
    height: 2px;
    background-color: var(--nh-primary);
}

.nh-section-title .nh-sec-icon {
    color: var(--nh-primary);
}

.nh-category-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--nh-radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background-color: var(--nh-primary);
    margin-bottom: 8px;
    z-index: 3;
    position: relative;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.nh-category-badge a {
    color: #fff !important;
}

/* ==========================================================================
   8. 1 BIG + 4 SMALL GRID (FRESH NEWS & POPULAR NEWS)
   ========================================================================== */
.nh-grid-1-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .nh-grid-1-4 {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.nh-box-large {
    position: relative;
    border-radius: var(--nh-radius);
    overflow: hidden;
    min-height: 380px;
    height: 100%;
    box-shadow: var(--nh-shadow-sm);
    background-color: #1e293b;
    transition: var(--nh-transition);
}

@media (min-width: 992px) {
    .nh-box-large {
        min-height: 440px;
    }
}

.nh-box-large:hover {
    box-shadow: var(--nh-shadow-lg);
}

.nh-thumb-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nh-box-large:hover .nh-thumb-cover,
.nh-box-small:hover .nh-thumb-cover,
.nh-editors-card:hover .nh-thumb-cover,
.nh-missed-card:hover .nh-thumb-cover {
    transform: scale(1.06);
}

.nh-box-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 45%, rgba(15, 23, 42, 0.05) 100%);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.nh-box-large .nh-box-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    margin: 6px 0 10px 0;
}

@media (min-width: 768px) {
    .nh-box-large .nh-box-title {
        font-size: 24px;
    }
}

.nh-box-large .nh-box-title a {
    color: #ffffff;
}

.nh-box-large .nh-box-title a:hover {
    color: #fca5a5;
}

.nh-box-excerpt {
    color: #cbd5e1;
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nh-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #94a3b8;
    font-size: 12px;
}

.nh-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nh-post-meta a {
    color: #94a3b8;
}

.nh-post-meta a:hover {
    color: #ffffff;
}

/* Small 4 Boxes */
.nh-subgrid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 576px) {
    .nh-subgrid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.nh-box-small {
    position: relative;
    border-radius: var(--nh-radius);
    overflow: hidden;
    min-height: 195px;
    height: 100%;
    box-shadow: var(--nh-shadow-sm);
    background-color: #1e293b;
    transition: var(--nh-transition);
}

@media (min-width: 992px) {
    .nh-box-small {
        min-height: 212px;
    }
}

.nh-box-small:hover {
    box-shadow: var(--nh-shadow-md);
}

.nh-box-small .nh-box-overlay {
    padding: 14px;
}

.nh-box-small .nh-box-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 4px 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nh-box-small .nh-box-title a {
    color: #ffffff;
}

.nh-box-small .nh-box-title a:hover {
    color: #fca5a5;
}

/* ==========================================================================
   9. BIG THREE SECTION
   ========================================================================== */
.nh-big-three-section {
    margin-bottom: 35px;
}

.nh-big-three-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 768px) {
    .nh-big-three-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.nh-category-col {
    background: #ffffff;
    border-radius: var(--nh-radius);
    padding: 16px;
    box-shadow: var(--nh-shadow-sm);
    border-top: 3px solid var(--nh-primary);
    border-left: 1px solid var(--nh-border);
    border-right: 1px solid var(--nh-border);
    border-bottom: 1px solid var(--nh-border);
}

.nh-category-col:nth-child(2) {
    border-top-color: #0284c7;
}

.nh-category-col:nth-child(3) {
    border-top-color: #16a34a;
}

.nh-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.nh-cat-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.nh-cat-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

.nh-cat-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.nh-cat-posts-grid .nh-box-small {
    min-height: 160px;
}

.nh-cat-posts-grid .nh-box-small .nh-box-title {
    font-size: 12px;
}

/* ==========================================================================
   10. POPULAR NEWS & RANK BADGES
   ========================================================================== */
.nh-popular-section {
    margin-bottom: 35px;
}

.nh-rank-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--nh-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 3;
}

/* ==========================================================================
   11. EDITOR'S PICK & YOU MISSED
   ========================================================================== */
.nh-editors-pick-section {
    margin-bottom: 35px;
}

.nh-editors-grid,
.nh-missed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 576px) {
    .nh-editors-grid,
    .nh-missed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .nh-editors-grid,
    .nh-missed-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.nh-editors-card,
.nh-missed-card {
    position: relative;
    border-radius: var(--nh-radius);
    overflow: hidden;
    min-height: 220px;
    box-shadow: var(--nh-shadow-sm);
    background-color: #1e293b;
    transition: var(--nh-transition);
}

.nh-editors-card:hover,
.nh-missed-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nh-shadow-lg);
}

.nh-editors-card .nh-box-overlay,
.nh-missed-card .nh-box-overlay {
    padding: 14px;
}

.nh-editors-card .nh-box-title,
.nh-missed-card .nh-box-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 4px 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nh-editors-card .nh-box-title a,
.nh-missed-card .nh-box-title a {
    color: #ffffff;
}

.nh-editors-card .nh-box-title a:hover,
.nh-missed-card .nh-box-title a:hover {
    color: #fca5a5;
}

.nh-you-missed-section {
    background: #ffffff;
    padding: 35px 0;
    margin-top: 40px;
    border-top: 1px solid var(--nh-border);
    border-bottom: 1px solid var(--nh-border);
}

/* ==========================================================================
   12. 3-COLUMN FOOTER & BOTTOM BAR
   ========================================================================== */
.nh-site-footer {
    background-color: #080d1a;
    color: #94a3b8;
    font-size: 14px;
    padding-top: 50px;
    border-top: 3px solid var(--nh-primary);
}

.nh-footer-top {
    padding-bottom: 35px;
}

.nh-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .nh-footer-grid {
        grid-template-columns: 1.2fr 0.9fr 1fr;
    }
}

.nh-footer-col h4.nh-footer-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.nh-footer-col h4.nh-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--nh-primary);
}

.nh-footer-about .nh-footer-logo img {
    max-height: 48px;
    width: auto;
    margin-bottom: 15px;
}

.nh-footer-about .nh-footer-site-title {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.nh-footer-about .nh-footer-desc {
    color: #94a3b8;
    line-height: 1.6;
}

.nh-footer-pages ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nh-footer-pages ul li {
    margin-bottom: 10px;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
    padding-bottom: 8px;
}

.nh-footer-pages ul li a {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nh-footer-pages ul li a:hover {
    color: var(--nh-primary);
    transform: translateX(4px);
}

.nh-footer-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nh-footer-categories ul li {
    display: inline-block;
}

.nh-footer-categories ul li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    color: #cbd5e1;
    padding: 6px 12px;
    border-radius: var(--nh-radius-sm);
    font-size: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}

.nh-footer-categories ul li a:hover {
    background: var(--nh-primary);
    color: #fff;
    border-color: var(--nh-primary);
}

.nh-footer-bottom {
    background-color: #04070e;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
}

.nh-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 767px) {
    .nh-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

.nh-copyright a {
    color: #e2e8f0;
    font-weight: 600;
}

.nh-copyright a:hover {
    color: var(--nh-primary);
}

.nh-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nh-footer-socials li a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.nh-footer-socials li a:hover {
    background: var(--nh-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ==========================================================================
   13. SIDEBAR & CUSTOM WIDGETS
   ========================================================================== */
.nh-widget-box {
    background: #ffffff;
    border-radius: var(--nh-radius);
    padding: 22px;
    margin-bottom: 25px;
    box-shadow: var(--nh-shadow-sm);
    border: 1px solid var(--nh-border);
}

.nh-widget-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.nh-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--nh-primary);
}

.nh-widget-posts-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nh-widget-post-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nh-widget-post-thumb {
    flex: 0 0 85px;
    height: 65px;
    border-radius: var(--nh-radius-sm);
    overflow: hidden;
    position: relative;
    background-color: #1e293b;
}

.nh-widget-post-thumb .nh-thumb-cover {
    transition: transform 0.4s ease;
}

.nh-widget-post-item:hover .nh-widget-post-thumb .nh-thumb-cover {
    transform: scale(1.08);
}

.nh-widget-post-info {
    flex-grow: 1;
}

.nh-widget-post-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nh-widget-post-title a {
    color: var(--nh-dark);
}

.nh-widget-post-title a:hover {
    color: var(--nh-primary);
}

.nh-widget-post-meta {
    font-size: 11px;
    color: var(--nh-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nh-widget-rank-badge {
    flex: 0 0 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nh-widget-post-item:nth-child(1) .nh-widget-rank-badge {
    background: #e63946;
    color: #fff;
}
.nh-widget-post-item:nth-child(2) .nh-widget-rank-badge {
    background: #f97316;
    color: #fff;
}
.nh-widget-post-item:nth-child(3) .nh-widget-rank-badge {
    background: #eab308;
    color: #fff;
}

.nh-graphical-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.nh-graphical-cat-card {
    position: relative;
    border-radius: var(--nh-radius-sm);
    overflow: hidden;
    height: 85px;
    display: block;
}

.nh-graphical-cat-card .nh-thumb-cover {
    transition: transform 0.5s ease;
}

.nh-graphical-cat-card:hover .nh-thumb-cover {
    transform: scale(1.1);
}

.nh-graphical-cat-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-align: center;
    transition: var(--nh-transition);
}

.nh-graphical-cat-card:hover .nh-graphical-cat-overlay {
    background: rgba(230, 57, 70, 0.75);
}

.nh-graphical-cat-name {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.nh-graphical-cat-count {
    color: #e2e8f0;
    font-size: 10px;
    margin-top: 2px;
}

/* ==========================================================================
   14. SINGLE POST, PAGE, & BLOG ARCHIVE STYLING
   ========================================================================== */
.nh-single-article,
.nh-page-article {
    background: #ffffff;
    border-radius: var(--nh-radius);
    padding: 32px;
    box-shadow: var(--nh-shadow-sm);
    border: 1px solid var(--nh-border);
    margin-bottom: 30px;
}

.nh-single-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--nh-border);
}

.nh-single-title {
    font-size: 30px;
    line-height: 1.3;
    margin: 10px 0;
}

.nh-single-thumb {
    border-radius: var(--nh-radius);
    overflow: hidden;
    margin-bottom: 25px;
}

.nh-entry-content {
    font-size: 16.5px;
    line-height: 1.8;
    color: #334155;
}

.nh-entry-content p {
    margin-bottom: 1.5em;
}

.nh-entry-content blockquote {
    border-left: 4px solid var(--nh-primary);
    padding: 12px 22px;
    margin: 20px 0;
    background: #f8fafc;
    font-style: italic;
    color: #475569;
}

.nh-author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #f8fafc;
    border-radius: var(--nh-radius);
    padding: 20px;
    margin: 30px 0;
    border: 1px solid var(--nh-border);
}

.nh-author-avatar img {
    border-radius: 50%;
    width: 70px;
    height: 70px;
}

.nh-author-bio h5 {
    margin: 0 0 6px 0;
    font-size: 16px;
}

.nh-author-bio p {
    margin: 0;
    font-size: 13px;
    color: var(--nh-text-muted);
}

/* ==========================================================================
   AESTHETIC MODERN COMMENTS AREA & FORM (UNIVERSAL WORDPRESS COMPATIBLE)
   ========================================================================== */
.nh-comments-area,
#comments {
    background: #ffffff;
    border-radius: var(--nh-radius);
    padding: 32px;
    box-shadow: var(--nh-shadow-sm);
    border: 1px solid var(--nh-border);
    margin-top: 35px;
}

.nh-comments-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.comments-title,
#comments > h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--nh-dark);
}

/* Comment List */
.nh-comment-list,
ol.comment-list,
ul.comment-list,
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.nh-comment-item,
li.comment {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e2e8f0;
    list-style: none;
}

li.comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.children {
    list-style: none;
    padding-left: 20px;
    margin-top: 18px;
    border-left: 3px solid #e2e8f0;
}

/* Comment Cards */
.nh-comment-body,
article.comment-body,
.comment-body {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: #f8fafc;
    border-radius: var(--nh-radius);
    padding: 16px 20px;
    border: 1px solid #f1f5f9;
}

.nh-comment-avatar,
.comment-author {
    flex-shrink: 0;
}

.nh-comment-avatar img,
.comment-author img.avatar,
.avatar {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.nh-comment-content,
.comment-content {
    flex-grow: 1;
}

.nh-comment-meta,
.comment-meta,
.comment-metadata {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.nh-comment-author,
.comment-author .fn,
.comment-author b {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--nh-dark);
    font-style: normal;
}

.nh-comment-date,
.comment-metadata,
.comment-metadata a,
.comment-meta time {
    font-size: 12px;
    color: var(--nh-text-muted);
}

.nh-comment-text,
.comment-content p {
    font-size: 14px;
    color: var(--nh-text-main);
    line-height: 1.6;
    margin: 6px 0;
}

.nh-comment-reply,
.reply {
    margin-top: 10px;
    text-align: right;
}

.nh-comment-reply a,
.comment-reply-link,
a.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--nh-primary) !important;
    background: #ffffff;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid var(--nh-border);
    transition: var(--nh-transition);
}

.nh-comment-reply a:hover,
.comment-reply-link:hover,
a.comment-reply-link:hover {
    background: var(--nh-primary);
    color: #ffffff !important;
    border-color: var(--nh-primary);
}

/* Beautiful Comment Form Wrapper */
.nh-comment-form-wrap,
.comment-respond,
#respond {
    background: #f8fafc;
    border-radius: var(--nh-radius);
    padding: 26px;
    border: 1px solid var(--nh-border);
    margin-top: 30px;
}

.nh-reply-title,
.comment-reply-title,
#reply-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--nh-dark);
}

.logged-in-as {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.logged-in-as a {
    color: var(--nh-primary);
    font-weight: 600;
}

.comment-notes,
.must-log-in {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 16px;
}

.nh-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .nh-form-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.nh-form-group,
.comment-form p {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.nh-form-group label,
.comment-form label {
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 2px;
}

/* Inputs & Textareas */
.nh-input,
.nh-textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
#comment,
textarea#comment {
    width: 100%;
    padding: 12px 14px;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--nh-text-main);
    background: #ffffff;
    border: 1.5px solid var(--nh-border);
    border-radius: var(--nh-radius-sm);
    outline: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: var(--nh-transition);
    display: block;
}

.nh-textarea,
textarea#comment {
    min-height: 120px;
    resize: vertical;
}

.nh-input:focus,
.nh-textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus,
#comment:focus {
    border-color: var(--nh-primary);
    box-shadow: 0 0 0 3.5px rgba(230, 57, 70, 0.15);
    background: #ffffff;
}

/* Cookies Consent */
.comment-form-cookies-consent {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748b;
    margin: 12px 0 18px 0;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--nh-primary);
}

/* Submit Buttons */
.form-submit {
    margin-top: 15px;
    margin-bottom: 0 !important;
}

.nh-submit-btn,
.form-submit #submit,
.form-submit input[type="submit"],
input[type="submit"]#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--nh-primary);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--nh-radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(230, 57, 70, 0.28);
    transition: var(--nh-transition);
    width: auto;
}

.nh-submit-btn:hover,
.form-submit #submit:hover,
.form-submit input[type="submit"]:hover,
input[type="submit"]#submit:hover {
    background: var(--nh-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.38);
}

/* Blog List (Page 2+) */
.nh-blog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.nh-blog-item {
    background: #ffffff;
    border-radius: var(--nh-radius);
    padding: 18px;
    box-shadow: var(--nh-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: var(--nh-transition);
    border: 1px solid var(--nh-border);
}

@media (min-width: 768px) {
    .nh-blog-item {
        flex-direction: row;
        align-items: center;
    }
}

.nh-blog-item:hover {
    box-shadow: var(--nh-shadow-md);
    transform: translateY(-2px);
}

.nh-blog-thumb {
    flex: 0 0 240px;
    height: 160px;
    border-radius: var(--nh-radius-sm);
    overflow: hidden;
    position: relative;
    background-color: #1e293b;
}

@media (max-width: 767px) {
    .nh-blog-thumb {
        width: 100%;
        height: 200px;
    }
}

.nh-blog-thumb .nh-thumb-cover {
    transition: transform 0.5s ease;
}

.nh-blog-item:hover .nh-blog-thumb .nh-thumb-cover {
    transform: scale(1.06);
}

.nh-blog-content {
    flex-grow: 1;
}

.nh-blog-title {
    font-size: 18px;
    font-weight: 700;
    margin: 6px 0 8px 0;
    line-height: 1.35;
}

.nh-blog-title a {
    color: var(--nh-dark);
}

.nh-blog-title a:hover {
    color: var(--nh-primary);
}

.nh-blog-excerpt {
    color: var(--nh-text-muted);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Pagination */
.nh-pagination {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.nh-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: #ffffff;
    color: var(--nh-dark);
    border-radius: var(--nh-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--nh-shadow-sm);
    border: 1px solid var(--nh-border);
    transition: var(--nh-transition);
}

.nh-pagination .page-numbers.current,
.nh-pagination .page-numbers:hover {
    background: var(--nh-primary);
    color: #ffffff;
    border-color: var(--nh-primary);
}

/* Back to top */
.nh-scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--nh-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--nh-shadow-md);
    cursor: pointer;
    z-index: 999;
    transition: var(--nh-transition);
    display: none;
}

.nh-scroll-top:hover {
    background: var(--nh-primary-hover);
    transform: translateY(-3px);
    color: #ffffff;
}

/* ==========================================================================
   15. REMAINING FRESH HEADLINES LIST
   ========================================================================== */
.nh-fresh-headlines-box {
    background: var(--nh-card-bg);
    border-radius: var(--nh-radius);
    padding: 16px 20px;
    border: 1px solid var(--nh-border);
    box-shadow: var(--nh-shadow-sm);
    margin-top: 15px;
    margin-bottom: 25px;
}

.nh-headlines-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.nh-headlines-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--nh-primary);
    letter-spacing: 0.5px;
}

.nh-headlines-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nh-headline-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #f1f5f9;
}

.nh-headline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nh-headline-num {
    flex: 0 0 22px;
    height: 22px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.nh-headline-text {
    flex-grow: 1;
}

.nh-headline-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--nh-dark);
    line-height: 1.4;
    display: block;
    transition: var(--nh-transition);
}

.nh-headline-link:hover {
    color: var(--nh-primary);
}

.nh-headline-meta {
    font-size: 11px;
    color: var(--nh-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
}

/* ==========================================================================
   16. FLOATING BOX (CTA / WIDGET)
   ========================================================================== */
.nh-floating-box {
    position: fixed;
    z-index: 1050;
    width: 290px;
    background: var(--nh-card-bg);
    border-radius: var(--nh-radius);
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.06);
    border: 1px solid var(--nh-border);
    animation: nh-float-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@keyframes nh-float-in {
    from { opacity: 0; transform: scale(0.9) translateY(15px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.nh-floating-bottom-right {
    bottom: 30px;
    right: 30px;
}

.nh-floating-bottom-left {
    bottom: 30px;
    left: 30px;
}

.nh-floating-top-right {
    top: 70px;
    right: 30px;
}

.nh-floating-top-left {
    top: 70px;
    left: 30px;
}

.nh-floating-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--nh-transition);
}

.nh-floating-close:hover {
    background: var(--nh-primary);
    color: #ffffff;
}

.nh-floating-title {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: var(--nh-dark);
    padding-right: 20px;
}

.nh-floating-desc {
    font-size: 12.5px;
    color: var(--nh-text-muted);
    line-height: 1.45;
    margin: 0 0 12px 0;
}

.nh-floating-btn {
    display: block;
    text-align: center;
    background: var(--nh-primary);
    color: #ffffff !important;
    padding: 8px 14px;
    border-radius: var(--nh-radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    transition: var(--nh-transition);
}

.nh-floating-btn:hover {
    background: var(--nh-primary-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   17. CLASSIC FACEBOOK-STYLE LIVE NOTIFICATION TOAST
   ========================================================================== */
.nh-fb-toast-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1060;
    display: none;
    max-width: 330px;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nh-fb-toast-container.nh-toast-active {
    opacity: 1;
    transform: translateY(0);
}

.nh-fb-toast-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 12px 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid #1877f2;
    border-top: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.nh-fb-toast-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    transition: var(--nh-transition);
}

.nh-fb-toast-close:hover {
    color: var(--nh-primary);
}

.nh-fb-toast-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 11px;
}

.nh-fb-icon {
    color: #1877f2;
    font-size: 14px;
}

.nh-fb-toast-badge {
    font-weight: 800;
    text-transform: uppercase;
    color: #1877f2;
    letter-spacing: 0.4px;
}

.nh-fb-toast-time {
    color: #94a3b8;
    margin-left: auto;
    padding-right: 14px;
}

.nh-fb-toast-body {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nh-fb-toast-avatar {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #1e293b;
}

.nh-fb-toast-content {
    flex-grow: 1;
    min-width: 0;
}

.nh-fb-toast-subtitle {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nh-fb-toast-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #1877f2;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--nh-transition);
}

.nh-fb-toast-title:hover {
    color: var(--nh-primary);
    text-decoration: underline;
}

