/* ==========================================================
 * NestroHub - Master Review System Stylesheet
 * File: /public/assets/css/reviews.css
 * Core Theme: Dark Luxury Architecture
 * Framework: 100% Custom (Zero Bootstrap Dependencies)
 * ========================================================== */

/* ==========================================================
 * 1. Typography & Root Variables
 * ========================================================== */

@font-face {
    font-family: 'Outfit';
    src: url('/assets/fonts/Outfit/static/Outfit-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('/assets/fonts/Outfit/static/Outfit-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('/assets/fonts/Outfit/static/Outfit-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/assets/fonts/Playfair_Display/static/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/assets/fonts/Playfair_Display/static/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('/assets/fonts/Playfair_Display/static/PlayfairDisplay-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --nh-bg: #020617;
    --nh-surface: #0f172a;
    --nh-card: #1e293b;
    --nh-primary: #2563eb;
    --nh-primary-hover: #1d4ed8;
    --nh-gold: #fbbf24;
    --nh-text: #f8fafc;
    --nh-muted: #94a3b8;
    --nh-border: rgba(255, 255, 255, 0.08);
    --nh-cyan: #38bdf8;
}

/* ==========================================================
 * 2. Master Layout Framework & Global Backgrounds
 * ========================================================== */

html, body {
    font-family: 'Outfit', sans-serif;
    background: #020617;
    color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

.reviews-page { background: #020617; width: 100%; }
.reviews-content { background: #020617; padding: 70px 0; }

.reviews-wrapper {
    width: 100%;
    max-width: 1320px;
    margin: auto;
    padding: 0 24px;
}

/* Explicit Section Transparency & Consistent Padding */
.nh-review-feed-wrapper,
.nh-categories-section,
.nh-top-rated,
.nh-recent-properties,
.nh-trending,
.nh-review-faq,
.nh-newsletter {
    background: transparent;
    padding: 80px 0;
}

.hero-title, .feed-title, .nh-section-title, .nh-cat-title, .nh-sidebar-title, .nh-empty-title {
    font-family: 'Playfair Display', serif;
}

h1, h2, h3, h4, h5, h6, p, span, a, label, input, select, textarea, button {
    font-family: 'Outfit', sans-serif;
}

/* Global Section Headers */
.nh-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.nh-section-header-center {
    justify-content: center;
    text-align: center;
}

.nh-header-text { max-width: 800px; }
.nh-section-header-center .nh-header-text { margin: 0 auto; max-width: 760px; }

.nh-section-title {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.nh-section-subtitle {
    color: var(--nh-muted);
    font-size: 16px;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================
 * 3. Reusable UI Components (Buttons, Badges, Empty States)
 * ========================================================== */

/* Buttons */
.nh-btn-primary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--nh-primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

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

.nh-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    background: transparent;
    transition: all 0.2s ease;
}

.nh-btn-outline:hover {
    background: #ffffff;
    color: #000000;
}

.nh-btn-small {
    padding: 8px 18px;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Badges */
.nh-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.nh-badge-danger { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.25); }
.nh-badge-warning { background: rgba(251, 191, 36, 0.1); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.25); }
.nh-badge-primary { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.25); }

.nh-count-badge {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.nh-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(251, 191, 36, 0.1);
    color: var(--nh-gold);
    border: 1px solid rgba(251, 191, 36, 0.25);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    align-self: flex-start;
}

/* Empty States */
.nh-empty-state {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.20);
    margin-bottom: 30px;
}

.nh-empty-icon {
    font-size: 4rem;
    color: var(--nh-primary);
    opacity: 0.8;
    margin-bottom: 20px;
    display: block;
}

.nh-empty-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.nh-empty-subtitle {
    color: var(--nh-muted);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

/* ==========================================================
 * 4. Hero Section
 * ========================================================== */

.reviews-hero {
    /* Premium subtle blue radial gradient overlay */
    background: linear-gradient(rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.98)), 
                radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 60%), 
                url("/assets/images/real-estate-bg.webp") center/cover no-repeat;
    padding: 100px 0 80px; 
    color: var(--nh-text); 
    position: relative; 
    overflow: hidden;
}

.reviews-hero * {
    box-sizing: border-box;
}

.trust-badge {
    display: inline-block; padding: 8px 20px; border-radius: 999px; background: rgba(212, 175, 55, 0.15);
    color: var(--nh-gold); border: 1px solid rgba(212, 175, 55, 0.25); font-weight: 700; margin-bottom: 30px;
}

.hero-title { 
    max-width: 1000px; 
    width: 100%; 
    margin: 0 auto 30px; 
    font-size: 56px; 
    line-height: 1.15; 
    font-weight: 800; 
    text-align: center; 
}

.hero-desc { 
    max-width: 900px; 
    margin: 0 auto 40px; 
    font-size: 18px; 
    line-height: 1.8; 
    color: var(--nh-muted); 
    text-align: center; 
}

/* Trust Messages */
.trust-message {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 30px 0;
}

.trust-message span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--nh-border);
    border-radius: 999px;
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.trust-message span:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.trust-message i {
    color: #22c55e;
}

/* Hero Search */
.search-card { 
    width: 100%; 
    max-width: 1320px; 
    margin: 50px auto; 
    padding: 40px;
    background: var(--nh-card); 
    border: 1px solid var(--nh-border); 
    border-radius: 22px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.search-form-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr auto; 
    gap: 20px; 
    align-items: center; 
}

.nh-input, .nh-select {
    width: 100%; height: 56px; background: var(--nh-surface); border: 1px solid var(--nh-border);
    border-radius: 14px; color: #fff; padding: 0 18px; font-size: 15px;
}
.nh-input:focus, .nh-select:focus { outline: none; border-color: var(--nh-primary); }

.search-form-grid button {
    width: 220px; 
    height: 56px;
    border: none; border-radius: 14px; background: var(--nh-primary); color: #fff;
    font-size: 16px; font-weight: 700; cursor: pointer; transition: background 0.2s ease;
}
.search-form-grid button:hover { background: var(--nh-primary-hover); }

.empty-search-state {
    text-align: center;
    margin-top: 20px;
    color: var(--nh-muted);
    font-size: .95rem;
}

/* Trending Tags (Hero) */
.trending-tags { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 50px; }
.trending-label { color: var(--nh-muted); font-weight: 600; }
.trending-tags a { text-decoration: none; padding: 8px 18px; border-radius: 999px; background: #111827; color: #cbd5e1; border: 1px solid var(--nh-border); transition: all 0.2s ease; }
.trending-tags a:hover { background: var(--nh-primary); color: #fff; }

/* Hero Stats Grid */
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    margin: 60px 0; 
    align-items: stretch;
}

.stat-item { 
    background: var(--nh-card); 
    border: 1px solid var(--nh-border); 
    border-radius: 18px; 
    padding: 28px; 
    text-align: center; 
    height: 100%;
}
.stat-item h3 { font-size: 34px; margin-bottom: 10px; color: #fff; font-weight: 700; }
.stat-item p { color: var(--nh-muted); font-size: 14px; margin-bottom: 0; }

/* Hero Bottom Grids */
.reviews-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.featured-review {
    background: var(--nh-card);
    border: 1px solid var(--nh-border);
    border-radius: 20px;
    padding: 32px;
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.stars { color: #fbbf24; font-size: 18px; }
.review-date { color: var(--nh-muted); font-size: .9rem; }
.location { color: var(--nh-cyan); margin-bottom: 18px; display: block; }
.review-text { line-height: 1.8; color: #cbd5e1; margin-bottom: 24px; }
.review-user { display: flex; align-items: center; gap: 15px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--nh-primary); color: #fff; display: flex; justify-content: center; align-items: center; font-weight: 700; }
.review-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--nh-border); }
.review-footer a { color: #60a5fa; text-decoration: none; }

.community-trust-score {
    background: var(--nh-card);
    border: 1px solid var(--nh-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.score-stars { color: #fbbf24; font-size: 22px; margin-bottom: 10px; }
.score-number { font-size: 60px; font-weight: 700; }

.bottom-trust-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.trust-card {
    background: var(--nh-card);
    border: 1px solid var(--nh-border);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}

/* ==========================================================
 * 5. Shared Grid Components (Trending, Recent, Top Rated)
 * ========================================================== */

.nh-trending-grid, .nh-recent-grid, .nh-top-rated-grid, .nh-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Explicit Declarations - No wildcards */
.nh-trending-card, .nh-recent-card, .nh-top-rated-card {
    background: #1e293b;
    border: 1px solid var(--nh-border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nh-trending-card:hover, .nh-recent-card:hover, .nh-top-rated-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
}

.nh-trending-image, .nh-recent-image, .nh-top-rated-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: var(--nh-surface); 
    border-bottom: 1px solid var(--nh-border);
    transition: transform 0.35s ease;
}

.nh-trending-card:hover .nh-trending-image, 
.nh-recent-card:hover .nh-recent-image, 
.nh-top-rated-card:hover .nh-top-rated-image {
    transform: scale(1.05);
}

.nh-trending-content, .nh-recent-content, .nh-top-rated-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    background: #1e293b;
}

.nh-trending-title, .nh-recent-title, .nh-top-rated-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 14px;
}

.nh-trending-link, .nh-recent-link, .nh-top-rated-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.nh-trending-link:hover, .nh-recent-link:hover, .nh-top-rated-link:hover {
    color: var(--nh-primary);
}

/* Meta Data Contexts */
.nh-property, .nh-recent-location, .nh-top-rated-location {
    color: var(--nh-muted);
    font-size: 0.9rem;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nh-property i, .nh-recent-location i, .nh-top-rated-location i { color: var(--nh-cyan); }
.nh-author { color: var(--nh-muted); font-size: 0.9rem; margin: 0 0 20px; display: flex; align-items: center; gap: 8px; }
.nh-author i { color: var(--nh-cyan); }
.nh-recent-price { font-size: 1.2rem; font-weight: 700; color: var(--nh-cyan); margin-bottom: 16px; }

/* Component Footers */
.nh-trending-footer, .nh-recent-footer, .nh-top-rated-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--nh-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.nh-recent-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

.nh-review-stats, .nh-review-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--nh-muted);
    font-size: 0.9rem;
}

.nh-recent-footer .nh-btn-primary, .nh-top-rated-footer .nh-btn-primary {
    text-align: center;
    white-space: nowrap;
}

/* ==========================================================
 * 6. Category Portfolio Module
 * ========================================================== */

.nh-large-cat-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 340px;
    text-decoration: none;
    border: 1px solid var(--nh-border);
    background-color: #1e293b;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nh-large-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.nh-cat-bg {
    width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
    transition: transform 0.4s ease; z-index: 1;
}

.nh-large-cat-card:hover .nh-cat-bg { transform: scale(1.05); }

.nh-cat-overlay {
    position: absolute; inset: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.1) 0%, rgba(2, 6, 23, 0.95) 100%);
    z-index: 2;
}

.nh-cat-content {
    position: relative; z-index: 3; padding: 28px; height: 100%;
    display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1;
}

.nh-cat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }

.nh-cat-icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px);
    border-radius: 12px; color: #ffffff; font-size: 1.4rem; border: 1px solid rgba(255, 255, 255, 0.15);
}

.nh-rating-pill {
    background: rgba(2, 6, 23, 0.6); backdrop-filter: blur(4px); color: var(--nh-gold);
    font-weight: 600; font-size: 0.85rem; padding: 6px 14px; border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08); display: inline-flex; align-items: center; gap: 6px;
}

.nh-cat-body { margin-top: auto; }
.nh-cat-title { font-size: 24px; font-weight: 700; line-height: 1.3; color: #ffffff; margin: 0 0 10px; font-family: 'Playfair Display', serif;}
.nh-cat-description { color: var(--nh-muted); font-size: 0.95rem; line-height: 1.7; margin: 0 0 24px; }
.nh-cat-footer { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.nh-cat-count { color: #f8fafc; font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 6px; }

.nh-large-cat-card:hover .nh-btn-small {
    background: var(--nh-primary); color: #ffffff; border-color: var(--nh-primary);
}

/* ==========================================================
 * 7. Main Review Feed Framework
 * ========================================================== */

.nh-review-feed-wrapper { width: 100%; margin: 0; padding: 80px 0; background: transparent;}
.nh-feed-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nh-sort-form { margin: 0; }

.nh-select {
    min-width: 200px; height: 44px; border-radius: 10px;
    background-color: var(--nh-card); border: 1px solid var(--nh-border);
    color: #cbd5e1; font-size: 0.875rem; transition: border-color 0.25s ease; padding: 0 16px;
}

.nh-select:focus { border-color: var(--nh-primary); outline: none; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25); }

.nh-layout-switch {
    display: inline-flex; background: var(--nh-surface); padding: 4px;
    border-radius: 10px; border: 1px solid var(--nh-border);
}

.nh-layout-btn {
    background: transparent; border: none; color: var(--nh-muted); padding: 6px 16px;
    font-size: 0.875rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.2s ease;
}

.nh-layout-btn:hover { color: var(--nh-text); }
.nh-layout-btn.active { background: var(--nh-primary); color: #ffffff !important; }

/* Filter Ribbon */
.nh-filter-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }

.nh-filter-btn {
    display: inline-flex; align-items: center; text-decoration: none;
    background: rgba(30, 41, 59, 0.6); color: var(--nh-muted); border: 1px solid var(--nh-border);
    border-radius: 30px; padding: 8px 18px; font-size: 0.875rem; font-weight: 500; transition: all 0.2s ease;
}

.nh-filter-btn:hover { background: var(--nh-card); border-color: rgba(255, 255, 255, 0.2); color: var(--nh-text); }
.nh-filter-btn.active { background: var(--nh-primary); border-color: var(--nh-primary); color: #ffffff; }

/* Review Grid Layout */
.nh-review-list { display: grid; gap: 24px; transition: all 0.35s ease; margin-bottom: 40px; }
.nh-review-list.list-layout { grid-template-columns: 1fr; }
.nh-review-list.grid-layout { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.nh-review-item { width: 100%; min-width: 0; }

/* Individual Review Card Structure */
.nh-review-card {
    background: var(--nh-card); border: 1px solid var(--nh-border); border-radius: 18px; padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nh-review-card:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); border-color: rgba(255, 255, 255, 0.15); }
.nh-avatar { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; border: 2px solid var(--nh-primary); }

/* Skeleton Loaders */
.nh-review-skeleton { display: none; grid-template-columns: 1fr; gap: 24px; margin-bottom: 35px; }
.nh-review-skeleton.active { display: grid; }
.nh-skeleton-card { background: var(--nh-card); border: 1px solid var(--nh-border); border-radius: 18px; padding: 24px; }
.nh-skeleton-glow { opacity: 0.4; animation: nhSkeletonGlow 1.5s ease-in-out infinite; }
.nh-skeleton-line { height: 12px; background-color: rgba(255, 255, 255, 0.1); margin-bottom: 12px; border-radius: 4px; }
.nh-skeleton-divider { height: 1px; background-color: var(--nh-border); margin: 16px 0; }

@keyframes nhSkeletonGlow { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.6; } }

/* ==========================================================
 * 8. Sidebar Architecture
 * ========================================================== */

.nh-sidebar { position: -webkit-sticky; position: sticky; top: 80px; z-index: 1020; }

.nh-sidebar-widget {
    background: var(--nh-card); border: 1px solid var(--nh-border); border-radius: 22px;
    padding: 32px; margin-bottom: 30px; color: var(--nh-text);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
}

.nh-sidebar-title {
    font-size: 1.45rem; color: #ffffff; margin: 0 0 20px 0; padding-bottom: 12px;
    border-bottom: 1px solid var(--nh-border); letter-spacing: 0; font-family: 'Playfair Display', serif;
}

.nh-sidebar-cta { background: rgba(37, 99, 235, 0.05); text-align: center; border-color: rgba(37, 99, 235, 0.25); }
.nh-sidebar-cta-title { font-size: 1.45rem; font-weight: 700; color: #ffffff; margin: 0 0 8px 0; font-family: 'Playfair Display', serif; }
.nh-sidebar-cta-desc { color: var(--nh-muted); font-size: 0.875rem; margin: 0 0 16px 0; }

.nh-trust-badge {
    background: linear-gradient(135deg, var(--nh-primary) 0%, var(--nh-primary-hover) 100%);
    border-radius: 22px; padding: 32px; text-align: center; color: #ffffff;
    margin-bottom: 30px; box-shadow: 0 15px 25px -5px rgba(37, 99, 235, 0.25);
}

.nh-trust-title { font-size: 1.25rem; font-weight: 700; color: #ffffff; margin: 0 0 10px 0; font-family: 'Playfair Display', serif;}
.nh-stars { color: var(--nh-gold); font-size: 1.3rem; letter-spacing: 2px; }
.nh-trust-score { font-size: 3rem; font-weight: 700; margin: 0; }
.nh-trust-count { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); margin-top: 8px; }

.nh-sidebar-list { display: flex; flex-direction: column; gap: 24px; }
.nh-entity-item { display: flex; align-items: center; gap: 16px; text-decoration: none; transition: opacity 0.2s ease; }
.nh-entity-item:hover { opacity: 0.85; }

.nh-entity-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.1); }
.nh-entity-thumb-circle { border-radius: 50%; }
.nh-entity-thumb-contain { background: #ffffff; object-fit: contain; padding: 4px; }

.nh-entity-content { overflow: hidden; }
.nh-entity-title { color: #ffffff; font-weight: 700; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nh-entity-meta { color: var(--nh-muted); font-size: 0.875rem; margin-top: 4px; }

.nh-sidebar-nav { display: flex; flex-direction: column; }
.nh-sidebar-link {
    color: #cbd5e1; text-decoration: none; display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.05); font-size: 0.95rem; transition: all 0.2s ease;
}
.nh-sidebar-link:last-child { border-bottom: none; padding-bottom: 0; }
.nh-sidebar-link:hover { color: var(--nh-primary); padding-left: 6px; }

.nh-tags-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.nh-tag {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: #cbd5e1;
    padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; text-decoration: none; transition: all 0.2s ease;
}
.nh-tag:hover { background: var(--nh-primary); color: #ffffff; border-color: var(--nh-primary); }

/* ==========================================================
 * 9. FAQ Custom Accordion
 * ========================================================== */

.nh-faq-list { width: 100%; max-width: 100%; margin: 0 auto; }

.nh-faq-item {
    background: var(--nh-card); border: 1px solid var(--nh-border); border-radius: 18px;
    margin-bottom: 18px; overflow: hidden; transition: all 0.3s ease;
}
.nh-faq-item:hover { border-color: rgba(59, 130, 246, 0.35); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25); transform: translateY(-2px); }

.nh-faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    background: transparent; color: var(--nh-text); font-family: 'Outfit', sans-serif;
    font-size: 1.05rem; font-weight: 600; padding: 22px 24px; border: none; cursor: pointer; text-align: left; transition: all 0.3s ease;
}
.nh-faq-question:hover { color: var(--nh-primary); }

.nh-faq-icon { font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--nh-muted); transition: transform 0.3s ease, color 0.3s ease; }

.nh-faq-answer {
    max-height: 0; padding: 0 24px; opacity: 0; color: var(--nh-muted);
    font-size: 0.98rem; line-height: 1.9; transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
}

.nh-faq-item.active .nh-faq-question { background: rgba(59, 130, 246, 0.05); color: var(--nh-primary); border-bottom: 1px solid var(--nh-border); }
.nh-faq-item.active .nh-faq-icon { transform: rotate(45deg); color: var(--nh-primary); }
.nh-faq-item.active .nh-faq-answer { max-height: 800px; padding: 24px; opacity: 1; }

/* ==========================================================
 * 10. Pagination & Newsletter
 * ========================================================== */

.nh-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.nh-pagination-btn { background: var(--nh-card); color: var(--nh-text); border: 1px solid var(--nh-border); padding: 8px 16px; border-radius: 8px; text-decoration: none; transition: 0.2s ease; }
.nh-pagination-btn:hover, .nh-pagination-btn.active { background: var(--nh-primary); border-color: var(--nh-primary); color: #fff; }

.nh-newsletter { background: transparent; border-top: 1px solid var(--nh-border); padding: 80px 0; text-align: center; }

/* ==========================================================
 * 11. Core Utility Classes
 * ========================================================== */

.nh-w-25 { width: 25%; }
.nh-w-50 { width: 50%; height: 16px; }
.nh-w-75 { width: 75%; }
.nh-w-100 { width: 100%; }

.nh-btn-full { width: 100%; justify-content: center; }

.nh-text-center { text-align: center; }
.nh-fw-bold { font-weight: 700; }
.nh-small { font-size: 0.875rem; }
.nh-opacity-75 { opacity: 0.75; }
.nh-text-white { color: #ffffff; }
.nh-text-muted { color: var(--nh-muted); }
.nh-text-info { color: var(--nh-cyan); }
.nh-text-warning { color: var(--nh-gold); }
.nh-text-primary { color: var(--nh-primary); }

.nh-divider-top { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--nh-border); }

/* Animations & Focus Accessibility */
.transition-fade { animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

:focus-visible { outline: 2px solid var(--nh-primary); outline-offset: 3px; }

/* ==========================================================
 * 12. Global Responsive Breakpoints
 * ========================================================== */

@media (max-width: 1200px) {
    .search-form-grid { grid-template-columns: 1fr 1fr; }
    .search-form-grid button { grid-column: 1 / 3; width: 100%; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .nh-section-title { font-size: 32px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .bottom-trust-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Layout & Utilities */
    .nh-section-header { flex-direction: column; align-items: flex-start; }
    .nh-layout-switch { display: none !important; }
    .nh-feed-actions, .nh-sort-form, .nh-select { width: 100%; }
    
    /* Hero */
    .hero-title { font-size: 36px; }
    .hero-desc { font-size: 16px; }
    .search-form-grid, .stats-grid { grid-template-columns: 1fr; }
    .search-form-grid button { grid-column: auto; }
    .trust-message { flex-direction: column; }
    .bottom-trust-bar { grid-template-columns: 1fr; }
    
    /* Components */
    .nh-large-cat-card { min-height: 300px; }
    .nh-faq-question { padding: 18px 20px; font-size: 1rem; }
    .nh-faq-item.active .nh-faq-answer { padding: 20px; }
}

@media (max-width: 576px) {
    .nh-trending-grid, .nh-recent-grid, .nh-top-rated-grid, .nh-category-grid, .nh-review-list.grid-layout {
        grid-template-columns: 1fr;
    }
}
