/* ============================================
   NetworkUstad Astra Child Theme - Custom CSS
   ============================================ */

/* CSS Custom Properties */
:root {
    --nu-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nu-font-serif: 'Merriweather', Georgia, serif;
    --nu-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --nu-primary: hsl(186, 80%, 32%);
    --nu-primary-light: hsl(186, 80%, 42%);
    --nu-primary-foreground: hsl(0, 0%, 100%);

    --nu-background: hsl(200, 20%, 98%);
    --nu-foreground: hsl(200, 25%, 10%);
    --nu-card: hsl(200, 18%, 96%);
    --nu-card-foreground: hsl(200, 25%, 12%);
    --nu-card-border: hsl(200, 16%, 91%);
    --nu-border: hsl(200, 15%, 88%);
    --nu-muted: hsl(200, 14%, 90%);
    --nu-muted-foreground: hsl(200, 12%, 40%);
    --nu-accent: hsl(186, 30%, 90%);
    --nu-accent-foreground: hsl(186, 80%, 25%);
    --nu-secondary: hsl(200, 16%, 86%);
    --nu-secondary-foreground: hsl(200, 25%, 18%);
    --nu-destructive: hsl(0, 84%, 42%);

    --nu-radius: 0.375rem;
    --nu-radius-lg: 0.5rem;
}

/* Dark mode variables */
.nu-dark {
    --nu-background: hsl(200, 25%, 7%);
    --nu-foreground: hsl(200, 15%, 92%);
    --nu-card: hsl(200, 20%, 10%);
    --nu-card-foreground: hsl(200, 15%, 90%);
    --nu-card-border: hsl(200, 16%, 14%);
    --nu-border: hsl(200, 16%, 18%);
    --nu-muted: hsl(200, 14%, 16%);
    --nu-muted-foreground: hsl(200, 12%, 60%);
    --nu-accent: hsl(186, 25%, 16%);
    --nu-accent-foreground: hsl(186, 60%, 70%);
    --nu-secondary: hsl(200, 16%, 18%);
    --nu-secondary-foreground: hsl(200, 15%, 85%);
    --nu-primary: hsl(186, 80%, 42%);
    --nu-primary-light: hsl(186, 80%, 50%);
}

/* ============================================
   Base Styles
   ============================================ */
body.nu-theme {
    font-family: var(--nu-font-sans);
    background-color: var(--nu-background);
    color: var(--nu-foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.nu-theme * {
    box-sizing: border-box;
}

/* Override Astra defaults */
body.nu-theme .site-content,
body.nu-theme .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

body.nu-theme #page {
    overflow-x: hidden;
}

body.nu-theme .site-content {
    padding-top: 0 !important;
}

/* Prevent Astra from adding flex/grid to content that breaks our layout */
body.nu-theme .ast-container {
    display: block !important;
    float: none !important;
}

/* Reset all Astra entry wrappers */
body.nu-theme article.post,
body.nu-theme article.page,
body.nu-theme .ast-article-post,
body.nu-theme .ast-article-single {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* ============================================
   Typography
   ============================================ */
body.nu-theme h1,
body.nu-theme h2,
body.nu-theme h3,
body.nu-theme h4,
body.nu-theme h5,
body.nu-theme h6 {
    font-family: var(--nu-font-sans);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--nu-foreground);
    line-height: 1.2;
}

/* ============================================
   Layout Container
   ============================================ */
.nu-container {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (min-width: 640px) {
    .nu-container {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (min-width: 1024px) {
    .nu-container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

/* ============================================
   Custom Header
   ============================================ */
.nu-header {
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--nu-border);
    background-color: var(--nu-background);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgba(
        from var(--nu-background) r g b / 0.8
    );
}

@supports not (color: rgb(from white r g b)) {
    .nu-header {
        background-color: var(--nu-background);
        opacity: 0.97;
    }
}

.nu-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1rem;
}

.nu-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--nu-foreground);
}

.nu-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--nu-radius);
    background-color: var(--nu-primary);
    color: var(--nu-primary-foreground);
    flex-shrink: 0;
}

.nu-logo-icon svg {
    width: 16px;
    height: 16px;
}

.nu-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.nu-logo-text .nu-highlight {
    color: var(--nu-primary);
}

@media (max-width: 639px) {
    .nu-logo-text {
        display: none;
    }
}

/* Navigation */
.nu-nav {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

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

.nu-nav a {
    padding: 0.5rem 0.75rem;
    border-radius: var(--nu-radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nu-muted-foreground);
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.nu-nav a:hover {
    background-color: var(--nu-muted);
    color: var(--nu-foreground);
}

.nu-nav a.current {
    background-color: var(--nu-accent);
    color: var(--nu-accent-foreground);
}

/* Header Actions */
.nu-header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nu-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--nu-radius);
    border: none;
    background: transparent;
    color: var(--nu-muted-foreground);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    padding: 0;
}

.nu-icon-btn:hover {
    background-color: var(--nu-muted);
    color: var(--nu-foreground);
}

.nu-icon-btn svg {
    width: 18px;
    height: 18px;
}

/* Search form in header */
.nu-search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nu-search-input {
    width: 200px;
    height: 36px;
    padding: 0 0.75rem;
    border: 1px solid var(--nu-border);
    border-radius: var(--nu-radius);
    background-color: var(--nu-background);
    color: var(--nu-foreground);
    font-size: 0.875rem;
    font-family: var(--nu-font-sans);
    outline: none;
    transition: border-color 0.2s;
}

.nu-search-input:focus {
    border-color: var(--nu-primary);
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}

.nu-search-input::placeholder {
    color: var(--nu-muted-foreground);
}

@media (min-width: 640px) {
    .nu-search-input {
        width: 256px;
    }
}

/* Mobile menu */
.nu-mobile-toggle {
    display: inline-flex;
}

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

.nu-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}

.nu-mobile-overlay.active {
    display: block;
    opacity: 1;
}

.nu-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 288px;
    background-color: var(--nu-background);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.nu-mobile-menu.active {
    transform: translateX(0);
}

.nu-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--nu-border);
}

.nu-mobile-nav {
    padding: 1rem;
    flex: 1;
    overflow-y: auto;
}

.nu-mobile-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--nu-radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nu-muted-foreground);
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.nu-mobile-nav a:hover {
    background-color: var(--nu-muted);
    color: var(--nu-foreground);
}

.nu-mobile-nav a.current {
    background-color: var(--nu-accent);
    color: var(--nu-accent-foreground);
}

.nu-mobile-nav a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ============================================
   Hero Section
   ============================================ */
.nu-hero {
    position: relative;
    overflow: hidden;
}

.nu-hero-bg {
    position: absolute;
    inset: 0;
}

.nu-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nu-hero-bg .nu-gradient-r {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

.nu-hero-bg .nu-gradient-t {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent, transparent);
}

.nu-hero-content {
    position: relative;
    padding: 5rem 0;
    max-width: 640px;
}

@media (min-width: 640px) {
    .nu-hero-content {
        padding: 7rem 0;
    }
}

@media (min-width: 1024px) {
    .nu-hero-content {
        padding: 9rem 0;
    }
}

.nu-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: var(--nu-radius);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.nu-hero h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

@media (min-width: 640px) {
    .nu-hero h1 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .nu-hero h1 {
        font-size: 3rem;
    }
}

.nu-hero h1 .nu-gradient-text {
    background: linear-gradient(to right, hsl(176, 60%, 70%), hsl(186, 80%, 65%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nu-hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    max-width: 36rem;
    line-height: 1.7;
}

@media (min-width: 640px) {
    .nu-hero-desc {
        font-size: 1.125rem;
    }
}

.nu-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.nu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--nu-radius);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--nu-font-sans);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.5;
}

.nu-btn svg {
    width: 16px;
    height: 16px;
}

.nu-btn-primary {
    background-color: var(--nu-primary);
    color: var(--nu-primary-foreground);
    border-color: var(--nu-primary);
}

.nu-btn-primary:hover {
    opacity: 0.9;
}

.nu-btn-outline-light {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.nu-btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.nu-btn-outline {
    background-color: transparent;
    color: var(--nu-foreground);
    border-color: var(--nu-border);
}

.nu-btn-outline:hover {
    background-color: var(--nu-muted);
}

.nu-btn-ghost {
    background-color: transparent;
    color: var(--nu-muted-foreground);
    border-color: transparent;
}

.nu-btn-ghost:hover {
    background-color: var(--nu-muted);
    color: var(--nu-foreground);
}

/* Hero Stats */
.nu-hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .nu-hero-stats {
        gap: 2rem;
    }
}

.nu-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nu-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--nu-radius);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.nu-stat-icon svg {
    width: 16px;
    height: 16px;
    color: hsl(176, 60%, 70%);
}

.nu-stat-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.nu-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Section Headers
   ============================================ */
.nu-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.nu-section-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0;
}

@media (min-width: 640px) {
    .nu-section-header h2 {
        font-size: 1.5rem;
    }
}

.nu-section-header p {
    font-size: 0.875rem;
    color: var(--nu-muted-foreground);
    margin: 0.25rem 0 0;
}

.nu-section-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nu-primary);
    text-decoration: none;
    white-space: nowrap;
}

.nu-section-link:hover {
    color: var(--nu-primary-light);
}

.nu-section-link svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   Cards
   ============================================ */
.nu-card {
    background-color: var(--nu-card);
    border: 1px solid var(--nu-card-border);
    border-radius: var(--nu-radius-lg);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.nu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.nu-dark .nu-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.nu-card a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Article Cards
   ============================================ */
/* Featured Article Card */
.nu-featured-card {
    overflow: hidden;
}

.nu-featured-card .nu-featured-grid {
    display: grid;
    gap: 0;
}

@media (min-width: 768px) {
    .nu-featured-card .nu-featured-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.nu-featured-card .nu-featured-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

@media (min-width: 768px) {
    .nu-featured-card .nu-featured-image {
        aspect-ratio: auto;
        min-height: 300px;
    }
}

.nu-featured-card .nu-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
    max-width: 100%;
}

.nu-card:hover .nu-featured-image img {
    transform: scale(1.05);
}

.nu-featured-card .nu-featured-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}

.nu-featured-card .nu-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.25rem;
}

@media (min-width: 640px) {
    .nu-featured-card .nu-featured-content {
        padding: 1.5rem;
    }
}

.nu-featured-card .nu-featured-content h2 {
    font-size: 1.25rem;
    margin: 0.75rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 640px) {
    .nu-featured-card .nu-featured-content h2 {
        font-size: 1.5rem;
    }
}

.nu-featured-card .nu-featured-content .nu-excerpt {
    font-size: 0.875rem;
    color: var(--nu-muted-foreground);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
}

/* Standard Article Card */
.nu-article-card .nu-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--nu-radius-lg) var(--nu-radius-lg) 0 0;
    width: 100%;
    max-width: 100%;
}

.nu-article-card .nu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
    max-width: 100%;
}

.nu-card:hover .nu-card-image img {
    transform: scale(1.05);
}

.nu-article-card .nu-card-image .nu-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}

.nu-article-card .nu-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
}

.nu-article-card .nu-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nu-article-card .nu-card-body .nu-excerpt {
    font-size: 0.875rem;
    color: var(--nu-muted-foreground);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
    flex: 1;
}

.nu-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--nu-muted-foreground);
}

.nu-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.nu-card-meta svg {
    width: 12px;
    height: 12px;
}

/* ============================================
   Badge
   ============================================ */
.nu-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border-radius: var(--nu-radius);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.nu-badge-primary {
    background-color: var(--nu-primary);
    color: var(--nu-primary-foreground);
}

.nu-badge-secondary {
    background-color: var(--nu-secondary);
    color: var(--nu-secondary-foreground);
}

.nu-badge-glass {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(4px);
}

.nu-badge-muted {
    background-color: rgba(from var(--nu-background) r g b / 0.8);
    backdrop-filter: blur(4px);
    color: var(--nu-foreground);
}

@supports not (color: rgb(from white r g b)) {
    .nu-badge-muted {
        background-color: var(--nu-card);
    }
}

/* ============================================
   Trend Cards
   ============================================ */
.nu-trend-card .nu-trend-inner {
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.nu-trend-rank {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--nu-primary);
    opacity: 0.3;
    flex-shrink: 0;
    line-height: 1;
}

.nu-trend-body {
    flex: 1;
    min-width: 0;
}

.nu-trend-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.nu-trend-meta .nu-date {
    font-size: 0.75rem;
    color: var(--nu-muted-foreground);
}

.nu-trend-content {
    display: flex;
    gap: 0.75rem;
}

.nu-trend-text {
    flex: 1;
    min-width: 0;
}

.nu-trend-text h3 {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nu-trend-text .nu-excerpt {
    font-size: 0.75rem;
    color: var(--nu-muted-foreground);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.nu-trend-thumb {
    width: 96px;
    height: 64px;
    border-radius: var(--nu-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.nu-trend-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nu-trend-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nu-trend-stat {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
}

.nu-trend-stat svg {
    width: 12px;
    height: 12px;
}

.nu-trend-stat .nu-stat-up {
    color: var(--nu-primary);
}

.nu-trend-stat .nu-stat-down {
    color: var(--nu-destructive);
}

.nu-trend-stat strong {
    font-weight: 500;
}

.nu-trend-stat span {
    color: var(--nu-muted-foreground);
}

/* ============================================
   Category Cards
   ============================================ */
.nu-category-card .nu-cat-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--nu-radius-lg) var(--nu-radius-lg) 0 0;
}

.nu-category-card .nu-cat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.nu-card:hover .nu-cat-image img {
    transform: scale(1.05);
}

.nu-category-card .nu-cat-image .nu-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2), transparent);
}

.nu-category-card .nu-cat-image .nu-cat-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
}

.nu-category-card .nu-cat-image .nu-cat-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.25rem;
}

.nu-category-card .nu-cat-image .nu-cat-info .nu-cat-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.nu-category-card .nu-cat-body {
    padding: 1rem;
}

.nu-category-card .nu-cat-body p {
    font-size: 0.875rem;
    color: var(--nu-muted-foreground);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 0.75rem;
}

.nu-browse-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--nu-primary);
    text-decoration: none;
}

.nu-browse-link svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.nu-card:hover .nu-browse-link svg {
    transform: translateX(4px);
}

/* ============================================
   Tool Cards
   ============================================ */
.nu-tool-card .nu-tool-inner {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nu-tool-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.nu-tool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--nu-radius);
    background-color: rgba(from var(--nu-primary) r g b / 0.1);
    flex-shrink: 0;
}

@supports not (color: rgb(from white r g b)) {
    .nu-tool-icon {
        background-color: var(--nu-accent);
    }
}

.nu-tool-icon svg {
    width: 20px;
    height: 20px;
    color: var(--nu-primary);
}

.nu-tool-card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.nu-tool-card .nu-tool-desc {
    font-size: 0.75rem;
    color: var(--nu-muted-foreground);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
    flex: 1;
}

.nu-tool-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--nu-primary);
    text-decoration: none;
}

.nu-tool-link svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.nu-card:hover .nu-tool-link svg {
    transform: translateX(4px);
}

/* ============================================
   Grids
   ============================================ */
.nu-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
}

@media (min-width: 640px) {
    .nu-grid-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.nu-grid-3 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
}

@media (min-width: 640px) {
    .nu-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .nu-grid-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.nu-grid-4 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
}

@media (min-width: 640px) {
    .nu-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .nu-grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    }
}

/* ============================================
   Sections
   ============================================ */
.nu-section {
    padding: 2rem 0;
}

@media (min-width: 640px) {
    .nu-section {
        padding: 3rem 0;
    }
}

/* ============================================
   Category Page Hero
   ============================================ */
.nu-category-hero {
    position: relative;
    overflow: hidden;
}

.nu-category-hero .nu-cat-hero-bg {
    position: absolute;
    inset: 0;
}

.nu-category-hero .nu-cat-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nu-category-hero .nu-cat-hero-bg .nu-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.7), rgba(0,0,0,0.5));
}

.nu-category-hero .nu-cat-hero-content {
    position: relative;
    padding: 4rem 0;
}

@media (min-width: 640px) {
    .nu-category-hero .nu-cat-hero-content {
        padding: 5rem 0;
    }
}

.nu-cat-hero-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.nu-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--nu-radius);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.nu-cat-icon svg {
    width: 20px;
    height: 20px;
    color: hsl(176, 60%, 70%);
}

.nu-category-hero h1 {
    font-size: 1.875rem;
    color: white;
    margin: 0 0 0.75rem;
}

@media (min-width: 640px) {
    .nu-category-hero h1 {
        font-size: 2.25rem;
    }
}

.nu-category-hero .nu-cat-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 36rem;
}

/* ============================================
   Single Article
   ============================================ */
.nu-article-single {
    max-width: 896px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
    .nu-article-single {
        padding: 2rem 1.5rem;
    }
}

/* Breadcrumbs */
.nu-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--nu-muted-foreground);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.nu-breadcrumbs a {
    color: var(--nu-muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.nu-breadcrumbs a:hover {
    color: var(--nu-foreground);
}

.nu-breadcrumbs svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.nu-breadcrumbs .nu-current {
    color: var(--nu-foreground);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nu-article-single h1 {
    font-size: 1.5rem;
    margin: 1rem 0;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .nu-article-single h1 {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .nu-article-single h1 {
        font-size: 2.25rem;
    }
}

.nu-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--nu-muted-foreground);
    margin-bottom: 1.5rem;
}

.nu-article-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.nu-article-meta svg {
    width: 16px;
    height: 16px;
}

/* Share buttons */
.nu-share-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

/* Article featured image */
.nu-article-hero-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--nu-radius-lg);
    margin-bottom: 2rem;
}

.nu-article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Content */
.nu-article-content-card {
    background-color: var(--nu-card);
    border: 1px solid var(--nu-card-border);
    border-radius: var(--nu-radius-lg);
    margin-bottom: 3rem;
}

.nu-article-content-card .nu-content-inner {
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .nu-article-content-card .nu-content-inner {
        padding: 2rem;
    }
}

/* Prose styling for article content */
.nu-prose {
    font-family: var(--nu-font-sans);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--nu-card-foreground);
}

.nu-prose h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.nu-prose h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.nu-prose h4 {
    font-size: 1.125rem;
    margin: 1.25rem 0 0.5rem;
    font-weight: 600;
}

.nu-prose p {
    margin: 0 0 1.25rem;
    line-height: 1.8;
}

.nu-prose a {
    color: var(--nu-primary);
    text-decoration: none;
}

.nu-prose a:hover {
    text-decoration: underline;
}

.nu-prose ul,
.nu-prose ol {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}

.nu-prose li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.nu-prose img {
    border-radius: var(--nu-radius);
    max-width: 100%;
    height: auto;
}

.nu-prose pre,
.nu-prose code {
    font-family: var(--nu-font-mono);
}

.nu-prose pre {
    background-color: var(--nu-muted);
    padding: 1rem;
    border-radius: var(--nu-radius);
    overflow-x: auto;
    margin: 0 0 1.25rem;
}

.nu-prose code {
    background-color: var(--nu-muted);
    padding: 0.125rem 0.375rem;
    border-radius: 3px;
    font-size: 0.875em;
}

.nu-prose pre code {
    background-color: transparent;
    padding: 0;
}

.nu-prose blockquote {
    border-left: 3px solid var(--nu-primary);
    margin: 0 0 1.25rem;
    padding: 0.5rem 1rem;
    color: var(--nu-muted-foreground);
    font-style: italic;
}

/* Author box */
.nu-author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--nu-radius-lg);
    background-color: var(--nu-card);
    border: 1px solid var(--nu-card-border);
    margin-bottom: 3rem;
}

.nu-author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(from var(--nu-primary) r g b / 0.1);
    flex-shrink: 0;
}

@supports not (color: rgb(from white r g b)) {
    .nu-author-avatar {
        background-color: var(--nu-accent);
    }
}

.nu-author-avatar svg {
    width: 24px;
    height: 24px;
    color: var(--nu-primary);
}

.nu-author-info .nu-author-name {
    font-weight: 600;
    font-size: 0.875rem;
    margin: 0;
}

.nu-author-info .nu-author-role {
    font-size: 0.75rem;
    color: var(--nu-muted-foreground);
    margin: 0;
}

/* ============================================
   Search Page
   ============================================ */
.nu-search-header {
    border-bottom: 1px solid var(--nu-border);
    background-color: var(--nu-card);
}

.nu-search-header-inner {
    padding: 2.5rem 0;
}

@media (min-width: 640px) {
    .nu-search-header-inner {
        padding: 3.5rem 0;
    }
}

.nu-search-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.nu-search-title-row svg {
    width: 24px;
    height: 24px;
    color: var(--nu-primary);
}

.nu-search-title-row h1 {
    font-size: 1.5rem;
    margin: 0;
}

@media (min-width: 640px) {
    .nu-search-title-row h1 {
        font-size: 1.875rem;
    }
}

.nu-search-query-info {
    color: var(--nu-muted-foreground);
}

.nu-search-query-info strong {
    color: var(--nu-foreground);
}

/* ============================================
   404 Page
   ============================================ */
.nu-404 {
    text-align: center;
    padding: 6rem 1rem;
}

.nu-404 h1 {
    font-size: 4rem;
    color: var(--nu-primary);
    margin: 0 0 1rem;
    opacity: 0.3;
}

.nu-404 h2 {
    font-size: 1.5rem;
    margin: 0 0 0.75rem;
}

.nu-404 p {
    color: var(--nu-muted-foreground);
    margin: 0 0 1.5rem;
}

/* ============================================
   Empty State
   ============================================ */
.nu-empty-state {
    text-align: center;
    padding: 4rem 1rem;
}

.nu-empty-state svg {
    width: 48px;
    height: 48px;
    color: var(--nu-muted-foreground);
    opacity: 0.3;
    margin: 0 auto 1rem;
}

.nu-empty-state h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.nu-empty-state p {
    font-size: 0.875rem;
    color: var(--nu-muted-foreground);
}

/* ============================================
   Custom Footer
   ============================================ */
.nu-footer {
    border-top: 1px solid var(--nu-border);
    background-color: var(--nu-card);
}

.nu-footer-inner {
    padding: 3rem 0;
}

.nu-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .nu-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .nu-footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.nu-footer-brand p {
    font-size: 0.875rem;
    color: var(--nu-muted-foreground);
    margin: 0 0 1rem;
    max-width: 300px;
}

.nu-footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nu-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--nu-radius);
    color: var(--nu-muted-foreground);
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.nu-footer-social a:hover {
    background-color: var(--nu-muted);
    color: var(--nu-foreground);
}

.nu-footer-social a svg {
    width: 16px;
    height: 16px;
}

.nu-footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--nu-foreground);
}

.nu-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nu-footer-col ul li {
    margin-bottom: 0.625rem;
}

.nu-footer-col ul li a {
    font-size: 0.875rem;
    color: var(--nu-muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.nu-footer-col ul li a:hover {
    color: var(--nu-foreground);
}

.nu-footer-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--nu-muted-foreground);
}

.nu-footer-email svg {
    width: 16px;
    height: 16px;
}

.nu-footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--nu-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 640px) {
    .nu-footer-bottom {
        flex-direction: row;
    }
}

.nu-footer-bottom p {
    font-size: 0.75rem;
    color: var(--nu-muted-foreground);
    margin: 0;
}

/* ============================================
   Pagination
   ============================================ */
.nu-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 0;
}

.nu-pagination a,
.nu-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    border-radius: var(--nu-radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.nu-pagination a {
    color: var(--nu-muted-foreground);
    border: 1px solid var(--nu-border);
}

.nu-pagination a:hover {
    background-color: var(--nu-muted);
    color: var(--nu-foreground);
}

.nu-pagination span.current {
    background-color: var(--nu-primary);
    color: var(--nu-primary-foreground);
    border: 1px solid var(--nu-primary);
}

/* ============================================
   Astra Overrides - COMPREHENSIVE
   ============================================ */

/* Hide all Astra header elements */
body.nu-theme #masthead,
body.nu-theme .ast-above-header,
body.nu-theme .ast-below-header,
body.nu-theme .ast-main-header-wrap,
body.nu-theme .ast-above-header-wrap,
body.nu-theme .ast-below-header-wrap,
body.nu-theme .main-header-bar-wrap,
body.nu-theme .ast-header-break-point .main-header-bar,
body.nu-theme .ast-mobile-header-wrap,
body.nu-theme header.site-header {
    display: none !important;
}

/* Hide all Astra footer elements */
body.nu-theme .ast-footer-overlay,
body.nu-theme .ast-small-footer,
body.nu-theme .site-footer .ast-small-footer,
body.nu-theme footer.site-footer > .ast-small-footer,
body.nu-theme .ast-footer-copyright,
body.nu-theme .ast-above-footer,
body.nu-theme .ast-above-footer-wrap {
    display: none !important;
}

/* Hide Astra sidebar */
body.nu-theme #secondary,
body.nu-theme .widget-area,
body.nu-theme aside.widget-area {
    display: none !important;
}

/* Force all Astra containers to full width */
body.nu-theme .ast-container,
body.nu-theme .site-content .ast-container,
body.nu-theme .ast-separate-container .ast-container,
body.nu-theme .ast-plain-container .ast-container,
body.nu-theme .ast-page-builder-template .ast-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Force primary content to full width */
body.nu-theme #primary,
body.nu-theme .site-main,
body.nu-theme .site-content,
body.nu-theme #content,
body.nu-theme .content-area {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

/* Remove Astra's page wrapper constraints */
body.nu-theme #page,
body.nu-theme .site {
    overflow-x: hidden;
    max-width: 100% !important;
}

/* Override Astra entry content */
body.nu-theme .entry-content,
body.nu-theme .entry-header,
body.nu-theme .ast-article-single,
body.nu-theme .ast-article-post {
    margin: 0 !important;
    padding: 0 !important;
}

/* Override Astra's post/page layout wrapper */
body.nu-theme .ast-separate-container .ast-article-single,
body.nu-theme .ast-separate-container .ast-article-post,
body.nu-theme .ast-separate-container .ast-comment-list li,
body.nu-theme .ast-plain-container .site-content .ast-article-single {
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove Astra's separate container styling */
body.nu-theme.ast-separate-container .site-content .ast-container,
body.nu-theme.ast-separate-container #primary {
    background-color: transparent !important;
    padding: 0 !important;
}

/* Hide Astra archive description */
body.nu-theme .ast-archive-description {
    display: none !important;
}

/* Hide default post navigation from Astra */
body.nu-theme .ast-single-post-order .ast-post-navigation,
body.nu-theme .post-navigation {
    display: none !important;
}

/* Override Astra Pro header builder if active */
body.nu-theme .ast-hfb-header,
body.nu-theme [data-section="section-header-builder"],
body.nu-theme .ast-builder-header-row {
    display: none !important;
}

/* Override any Astra max-width constraints on images/content */
body.nu-theme .site-content img {
    max-width: 100%;
    height: auto;
}

/* Remove Astra Pro's content max-width if set */
body.nu-theme .site-content .ast-container,
body.nu-theme .ast-container .site-main {
    max-width: 100% !important;
}

/* Fix Astra's default grid/flex on content area */
body.nu-theme .ast-container {
    display: block !important;
}

/* Remove Astra separate container borders/shadows */
body.nu-theme.ast-separate-container .ast-article-single,
body.nu-theme.ast-separate-container .ast-article-post {
    border: none !important;
    box-shadow: none !important;
}

/* Reset Astra entry title spacing */
body.nu-theme .entry-title {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure our custom header/footer render above Astra wrappers */
body.nu-theme .nu-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

body.nu-theme .nu-footer {
    position: relative !important;
    z-index: 1 !important;
}

/* Target Astra body class variations that control container */
body.nu-theme.ast-plain-container .site-content,
body.nu-theme.ast-separate-container .site-content,
body.nu-theme.ast-page-builder-template .site-content,
body.nu-theme.ast-box-layout .site-content,
body.nu-theme.ast-full-width-layout .site-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.nu-theme.ast-plain-container .site-content > .ast-container,
body.nu-theme.ast-separate-container .site-content > .ast-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.nu-theme .site-content > .ast-container > #primary {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* Override Astra Pro inline container max-width */
body.nu-theme .ast-container,
body.nu-theme .site-content .ast-container {
    max-width: 100% !important;
    width: 100% !important;
}

/* Ensure images within our cards/grids stay properly sized */
body.nu-theme .nu-grid-2 img,
body.nu-theme .nu-grid-3 img,
body.nu-theme .nu-grid-4 img {
    max-width: 100% !important;
    height: auto;
}

/* Fix any Astra inline-style max-width overrides */
body.nu-theme .ast-container[style] {
    max-width: 100% !important;
}

/* ============================================
   Trending Shortcode Override (trends-publisher plugin)
   ============================================
   Plugin HTML structure:
   <div class="trends-publisher-trending">
     <div class="trends-publisher-trending-grid">
       <article class="trends-publisher-trending-item">
         <a class="trends-publisher-trending-link" href="...">
           <span class="trends-publisher-trending-thumb"><img></span>
           <span class="trends-publisher-trending-title">Title</span>
         </a>
       </article>
     </div>
   </div>
   ============================================ */

.nu-trending-grid {
    width: 100% !important;
}

.trends-publisher-trending {
    width: 100% !important;
}

.trends-publisher-trending-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (min-width: 640px) {
    .trends-publisher-trending-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .trends-publisher-trending-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.trends-publisher-trending-item {
    display: flex !important;
    flex-direction: column !important;
    background: var(--nu-card) !important;
    border: 1px solid var(--nu-border) !important;
    border-radius: var(--nu-radius-lg) !important;
    overflow: hidden !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    max-width: 100% !important;
}

.trends-publisher-trending-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

.nu-dark .trends-publisher-trending-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

.trends-publisher-trending-link {
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    color: inherit !important;
    height: 100% !important;
}

.trends-publisher-trending-thumb {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.trends-publisher-trending-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s !important;
}

.trends-publisher-trending-item:hover .trends-publisher-trending-thumb img {
    transform: scale(1.05) !important;
}

.trends-publisher-trending-title {
    display: block !important;
    padding: 1rem !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    color: var(--nu-foreground) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* ============================================
   SVG Icons (inline)
   ============================================ */
.nu-svg-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nu-svg-icon svg {
    width: 1em;
    height: 1em;
}
