/* Novix Blog Custom Styles for Source Theme
/* ========================================================== */
/* A modern dark theme inspired by novix.science */

/* Google Fonts - Using distinctive fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    /* Novix Brand Colors */
    --novix-black: #0a0a0a;
    --novix-dark: #111111;
    --novix-darker: #0d0d0d;
    --novix-gray-dark: #1a1a1a;
    --novix-gray: #2a2a2a;
    --novix-gray-light: #3a3a3a;
    --novix-text: #e5e5e5;
    --novix-text-muted: #888888;
    --novix-text-dim: #666666;
    
    /* Accent Gradient - Warm amber/orange */
    --novix-accent-start: #f59e0b;
    --novix-accent-mid: #d97706;
    --novix-accent-end: #92400e;
    --novix-accent: #f59e0b;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Override Ghost variables */
    --background-color: #0a0a0a !important;
    --ghost-accent-color: #f59e0b !important;
}

/* ========================================================== */
/* Base Styles */
/* ========================================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background: var(--novix-black) !important;
    color: var(--novix-text) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animated background gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: 
        radial-gradient(ellipse 80% 55% at 50% -20%, rgba(245, 158, 11, 0.085) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 80% 60%, rgba(245, 158, 11, 0.04) 0%, transparent 48%);
    pointer-events: none;
    z-index: -1;
}

/* Selection */
::selection {
    background: var(--novix-accent);
    color: var(--novix-black);
}

/* Links */
a {
    color: var(--novix-text);
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--novix-accent);
}

/* ========================================================== */
/* Navigation */
/* ========================================================== */

.gh-navigation {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    height: 64px !important;
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border) !important;
    z-index: 9999;
}

.gh-navigation.has-accent-color {
    background: rgba(10, 10, 10, 0.85) !important;
}

.gh-navigation-inner {
    max-width: 1400px;
    height: 64px;
}

.novix-breadcrumb {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
}

.novix-breadcrumb-bar {
    margin-top: 64px;
    padding-top: 10px;
}

.gh-main > .novix-breadcrumb-bar + .gh-container {
    margin-top: 0 !important;
}

.novix-breadcrumb-bar + .gh-container {
    margin-top: 0 !important;
}

.gh-main > .novix-breadcrumb-bar + .gh-article {
    padding-top: 32px !important;
}

.novix-breadcrumb__link {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.novix-breadcrumb__link:hover {
    color: rgba(255, 255, 255, 0.92);
}

.novix-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.28);
    font-size: 18px;
    line-height: 1;
}

.novix-breadcrumb__current {
    color: rgba(255, 255, 255, 0.85);
}

.gh-navigation-logo {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.gh-navigation-logo img {
    max-height: 36px;
}

/* Navigation menu */
.gh-navigation-menu .nav {
    gap: 2rem;
}

.gh-navigation-menu .nav a {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff !important;
    transition: color 0.2s ease;
    position: relative;
}

.gh-navigation-menu .nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--novix-accent-start), var(--novix-accent-mid));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.gh-navigation-menu .nav a:hover {
    color: #fff !important;
}

.gh-navigation-menu .nav a:hover::after {
    width: 100%;
}

/* Hide member actions */
.gh-navigation-members {
    display: none !important;
}

/* Search toggle */
.gh-search-toggle {
    color: var(--novix-text-muted) !important;
}

.gh-search-toggle:hover {
    color: #fff !important;
}

/* Burger menu */
.gh-burger svg {
    color: var(--novix-text) !important;
}

/* ========================================================== */
/* Hero / Header */
/* ========================================================== */

.gh-header {
    padding-top: 120px !important;
    padding-bottom: 5rem !important;
    background: var(--novix-black) !important;
    text-align: center;
    position: relative;
    overflow: visible;
    min-height: 400px;
}

/* Override any accent color backgrounds */
.gh-header.has-accent-color,
.gh-header.is-classic,
.gh-header.is-magazine,
.gh-header.is-highlight {
    background: var(--novix-black) !important;
}

/* Add orange glow effect - Novix style from bottom */
.gh-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(ellipse 120% 80% at 50% 120%, rgba(180, 100, 20, 0.9) 0%, transparent 60%),
        radial-gradient(ellipse 100% 60% at 50% 110%, rgba(245, 158, 11, 0.7) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 50% 105%, rgba(255, 180, 50, 0.5) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Orange line at bottom of header - use the header element itself */
.gh-header {
    position: relative;
}

.gh-header > .gh-header-inner::after {
    content: '';
    position: absolute;
    bottom: -5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 800px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.8), transparent);
    border-radius: 2px;
    z-index: 100;
}


.gh-header-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Remove any background image from header */
.gh-header-image {
    display: none !important;
}

.gh-header-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, var(--novix-text) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #fff !important;
}

.gh-header-description {
    font-family: 'DM Sans', sans-serif !important;
    font-size: clamp(1.3rem, 3vw, 1.75rem) !important;
    color: #ffffff !important;
    max-width: 800px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

/* Hide subscribe form in header */
.gh-header-signup,
.gh-header-form {
    display: none !important;
}

/* ========================================================== */
/* CTA Section - Hidden */
/* ========================================================== */

.gh-cta {
    display: none !important;
}

/* ========================================================== */
/* Post Feed / Cards */
/* ========================================================== */

.gh-feed {
    background: transparent !important;
}

.gh-container.is-list.gh-outer {
    position: relative;
}

.gh-container.is-list.gh-outer::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(1400px, 140vw);
    height: 980px;
    background:
        radial-gradient(ellipse 60% 45% at 50% 45%, rgba(245, 158, 11, 0.32) 0%, rgba(245, 158, 11, 0) 70%),
        radial-gradient(ellipse 70% 55% at 50% 72%, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0) 74%);
    filter: blur(24px);
    pointer-events: none;
    z-index: 0;
}

.gh-container.is-list.gh-outer > .gh-container-inner {
    position: relative;
    z-index: 1;
}

.home-template .gh-container-title,
.tag-template .gh-container-title,
.author-template .gh-container-title,
.paged .gh-container-title {
    display: none !important;
}

.home-template .gh-container.gh-outer,
.tag-template .gh-container.gh-outer,
.author-template .gh-container.gh-outer,
.paged .gh-container.gh-outer {
    padding-bottom: 64px;
}

.gh-feed-inner {
    max-width: 1280px;
}

.gh-feed-title {
    font-family: 'DM Sans', sans-serif !important;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Post cards */
.gh-card {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.gh-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3) !important;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(245, 158, 11, 0.1) !important;
}

.gh-card-link {
    color: var(--novix-text) !important;
}

.gh-card-link:hover .gh-card-title {
    color: rgba(255, 255, 255, 1) !important;
}

.gh-card-image {
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden;
}

.gh-card-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

.gh-card:hover .gh-card-image img {
    transform: scale(1.05);
    filter: brightness(1);
}

.gh-card-content {
    padding: 1.5rem !important;
}

.gh-card-tag {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--novix-accent) !important;
}

.gh-card-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.98) !important;
    letter-spacing: -0.02em;
}

.gh-card-excerpt {
    color: var(--novix-text-muted) !important;
    font-size: 1.2rem !important;
    line-height: 1.65;
}

.gh-card-meta {
    color: var(--novix-text-dim) !important;
    font-size: 1.05rem !important;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.gh-card-author-image {
    border-color: var(--novix-gray) !important;
}

/* Featured posts */
.gh-featured {
    background: transparent !important;
}

.gh-featured-card {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
}

.gh-featured-card:hover {
    border-color: rgba(245, 158, 11, 0.3) !important;
}

/* ========================================================== */
/* Single Post / Article */
/* ========================================================== */

.gh-article {
    background: transparent !important;
    padding-top: 72px;
}

.gh-article-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.25rem 0 1.5rem;
}

.post-template .gh-article-tag {
    display: none !important;
}

.gh-article-tag {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--novix-accent) !important;
    padding: 0.5rem 1rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.gh-article-tag a {
    color: var(--novix-accent) !important;
}

.gh-article-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: clamp(2rem, 5vw, 3.2rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff !important;
}

.gh-article-excerpt {
    font-size: 1.4rem !important;
    color: var(--novix-text-muted) !important;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

/* Article byline */
.gh-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding-top: 0;
    border-top: 0;
}

.gh-article-author-image {
    display: none !important;
}

.gh-article-meta-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gh-article-author-name {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    margin: 0;
    display: inline;
    line-height: 1.2;
}

.gh-article-author-name::after {
    content: "·";
    margin-left: 10px;
    color: var(--novix-text-dim);
    font-weight: 400;
}

.gh-article-meta-content {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.gh-article-meta-date {
    color: var(--novix-text-dim) !important;
    font-size: 1rem !important;
}

.gh-article-meta-length {
    color: var(--novix-text-dim) !important;
    font-size: 1rem !important;
}

.gh-article-meta-length .bull {
    display: none;
}

.gh-article-meta-length::before {
    content: "·";
    margin: 0 10px;
    color: var(--novix-text-dim);
    font-weight: 400;
}

@media (max-width: 767px) {
    .gh-main > .novix-breadcrumb-bar + .gh-article {
        padding-top: 24px !important;
    }

    .gh-article-meta-wrapper {
        flex-direction: column;
        gap: 4px;
    }

    .gh-article-author-name::after {
        content: "";
        margin-left: 0;
    }

    .gh-article-meta-length::before {
        content: " · ";
        margin: 0;
    }
}

/* Article image */
.gh-article-image {
    border-radius: 16px !important;
    overflow: hidden;
    margin-top: 3rem !important;
}

.gh-article-image img {
    border-radius: 16px;
}

/* Article content */
.gh-content {
    font-family: 'DM Sans', sans-serif !important;
}

.gh-content p,
.gh-content ul,
.gh-content ol,
.gh-content blockquote {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1.25rem !important;
    line-height: 1.8;
    color: var(--novix-text) !important;
}

.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4,
.gh-content h5,
.gh-content h6 {
    font-family: 'DM Sans', sans-serif !important;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gh-content a {
    color: var(--novix-accent) !important;
    text-decoration: underline;
    text-decoration-color: rgba(245, 158, 11, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.gh-content a:hover {
    text-decoration-color: var(--novix-accent);
}

.gh-content blockquote {
    border-left-color: var(--novix-accent) !important;
    background: var(--glass-bg);
    padding: 1.5rem 2rem !important;
    border-radius: 0 12px 12px 0;
    font-style: normal !important;
}

.gh-content pre {
    background: var(--novix-darker) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 12px !important;
}

.gh-content code {
    background: var(--novix-gray) !important;
    color: var(--novix-accent) !important;
}

.gh-content hr {
    border-color: var(--glass-border) !important;
}

/* Figcaption */
figcaption {
    color: var(--novix-text-dim) !important;
}

/* ========================================================== */
/* Footer */
/* ========================================================== */

.gh-footer {
    background: var(--novix-darker) !important;
    border-top: 1px solid var(--glass-border) !important;
    margin-top: 4rem;
}

.gh-footer.has-accent-color {
    background: var(--novix-darker) !important;
}

.gh-footer-inner {
    max-width: 1280px;
}

.gh-footer-bar {
    padding: 2rem 0;
}

.gh-footer-logo {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.gh-footer-menu .nav a {
    color: var(--novix-text-dim) !important;
    font-size: 1.05rem;
}

.gh-footer-menu .nav a:hover {
    color: var(--novix-accent) !important;
}

.gh-footer-copyright {
    font-size: 1rem !important;
    color: var(--novix-text-dim) !important;
}

.gh-footer-copyright a {
    color: var(--novix-text-muted) !important;
}

/* Hide signup section in footer */
.gh-footer-signup {
    display: none !important;
}

/* Hide Sign up link in footer menu */
.gh-footer-menu .nav a[href="#/portal/"],
.gh-footer-menu .nav a[href*="portal"] {
    display: none !important;
}

/* ========================================================== */
/* Sidebar */
/* ========================================================== */

.gh-sidebar {
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
}

.gh-sidebar-title {
    color: #fff !important;
    font-weight: 700 !important;
}

.gh-sidebar-description {
    color: var(--novix-text-muted) !important;
}

/* Hide subscribe form in sidebar */
.gh-sidebar-signup {
    display: none !important;
}

/* ========================================================== */
/* Tag & Author Templates */
/* ========================================================== */

.gh-author,
.gh-tag {
    padding-top: 100px;
}

.gh-author-image {
    border: 3px solid var(--glass-border) !important;
}

.gh-author-name,
.gh-tag-name {
    color: #fff !important;
    font-family: 'DM Sans', sans-serif !important;
}

.gh-author-bio,
.gh-tag-description {
    color: var(--novix-text-muted) !important;
}

.gh-author-social a {
    color: var(--novix-text-dim) !important;
}

.gh-author-social a:hover {
    color: var(--novix-accent) !important;
}

/* ========================================================== */
/* Pagination */
/* ========================================================== */

.gh-pagination a {
    color: var(--novix-text) !important;
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 8px !important;
    transition: all 0.2s ease;
}

.gh-pagination a:hover {
    background: rgba(245, 158, 11, 0.1) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
    color: var(--novix-accent) !important;
}

.gh-pagination .page-number {
    color: var(--novix-text-dim) !important;
}

/* ========================================================== */
/* Search Modal */
/* ========================================================== */

.gh-search {
    background: rgba(10, 10, 10, 0.95) !important;
}

.gh-search-input {
    background: var(--novix-gray) !important;
    border-color: var(--glass-border) !important;
    color: var(--novix-text) !important;
}

/* ========================================================== */
/* Buttons */
/* ========================================================== */

.gh-button {
    background: linear-gradient(135deg, var(--novix-accent-start), var(--novix-accent-mid)) !important;
    color: var(--novix-black) !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.gh-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3) !important;
}

/* ========================================================== */
/* Animations */
/* ========================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gh-card {
    animation: fadeInUp 0.6s ease forwards;
}

.gh-card:nth-child(1) { animation-delay: 0.1s; }
.gh-card:nth-child(2) { animation-delay: 0.2s; }
.gh-card:nth-child(3) { animation-delay: 0.3s; }
.gh-card:nth-child(4) { animation-delay: 0.4s; }
.gh-card:nth-child(5) { animation-delay: 0.5s; }
.gh-card:nth-child(6) { animation-delay: 0.6s; }

/* ========================================================== */
/* Scrollbar */
/* ========================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--novix-black);
}

::-webkit-scrollbar-thumb {
    background: var(--novix-gray);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--novix-gray-light);
}

/* ========================================================== */
/* Post List Improvements */
/* ========================================================== */

.gh-feed-title {
    font-size: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--novix-text-muted) !important;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

/* Improved card hover effects */
.gh-card {
    position: relative;
    overflow: hidden;
}

.gh-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--novix-accent-start), var(--novix-accent-mid), var(--novix-accent-end));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.gh-card:hover::before {
    transform: scaleX(1);
}

/* Card wrapper padding */
.gh-card-wrapper {
    padding: 1.5rem !important;
}

.gh-container.is-list .gh-card {
    background: rgba(14, 14, 16, 0.42) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 24px !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.gh-container.is-list .gh-feed {
    gap: 28px;
    padding-top: 18px;
}

.gh-container.is-list .gh-card + .gh-card::before {
    display: none;
}

.gh-container.is-list .gh-card-link {
    flex-direction: row-reverse;
    align-items: stretch;
    gap: 0;
}

.gh-container.is-list .gh-card.no-image .gh-card-link {
    flex-direction: row;
    justify-content: flex-start;
}

.gh-container.is-list .gh-card.no-image .gh-card-wrapper {
    max-width: none;
    width: 100%;
}

.gh-container.is-list .gh-card-image {
    position: relative;
    width: min(520px, 46%);
    aspect-ratio: auto;
    border-radius: 0 24px 24px 0 !important;
    overflow: hidden;
    margin-left: -1px;
}

.gh-container.is-list .gh-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 14, 16, 0.82) 0%, rgba(14, 14, 16, 0.22) 22%, rgba(14, 14, 16, 0) 48%);
    pointer-events: none;
}

.gh-container.is-list .gh-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) brightness(0.75);
}

.gh-container.is-list .gh-card-wrapper {
    max-width: none;
    max-width: 460px;
    padding: 28px 32px !important;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    min-height: 252px;
}

.gh-container.is-list .gh-feed > .gh-card:first-child .gh-card-wrapper {
    padding-top: 60px !important;
}

.gh-container.is-list .gh-feed > .gh-card:first-child .gh-card-wrapper::before {
    content: 'LATEST';
    position: absolute;
    top: 26px;
    left: 34px;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--novix-accent);
    margin: 0;
    pointer-events: none;
}

.gh-container.is-list .gh-card-meta {
    margin-top: auto;
    padding-top: 0;
    border-top: 0;
    opacity: 0.8;
    font-size: 16px !important;
    line-height: 24px;
    margin-bottom: 0;
}

.gh-container.is-list .gh-card-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 32px;
    letter-spacing: -0.01em;
    margin: 0;
}

.gh-container.is-list .gh-card-excerpt {
    max-width: 44rem;
    font-size: 16px !important;
    line-height: 24px;
    margin: 0;
}

/* Featured badge styling */
.gh-card-featured {
    color: var(--novix-accent) !important;
}

/* ========================================================== */
/* Mobile Adjustments */
/* ========================================================== */

@media (max-width: 767px) {
    .gh-navigation {
        height: 64px;
    }
    
    .gh-header {
        padding-top: 100px !important;
    }
    
    .gh-article {
        padding-top: 80px;
    }
    
    .gh-card-content {
        padding: 1.25rem !important;
    }
    
    .gh-card-title {
        font-size: 1.15rem !important;
    }

    .gh-container.is-list .gh-card-link {
        gap: 0;
    }

    .gh-container.is-list .gh-card-image {
        width: 100%;
        border-radius: 24px 24px 0 0 !important;
    }

    .gh-container.is-list .gh-card-wrapper {
        padding: 22px 22px !important;
        gap: 16px;
        min-height: 0;
    }

    .gh-container.is-list .gh-feed > .gh-card:first-child .gh-card-wrapper {
        padding-top: 54px !important;
    }

    .gh-container.is-list .gh-feed > .gh-card:first-child .gh-card-wrapper::before {
        font-size: 11px;
        top: 18px;
        left: 24px;
    }
}

/* ========================================================== */
/* Dark mode overrides - ensure dark theme is always active */
/* ========================================================== */

.has-dark-text body,
.has-light-text body {
    background: var(--novix-black) !important;
    color: var(--novix-text) !important;
}

.has-dark-text .gh-navigation,
.has-light-text .gh-navigation {
    background: rgba(10, 10, 10, 0.85) !important;
}

.has-dark-text .gh-card-title,
.has-light-text .gh-card-title,
.has-dark-text .gh-article-title,
.has-light-text .gh-article-title {
    color: #fff !important;
}

/* ========================================================== */
/* Social Links for Header */
/* ========================================================== */

.novix-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.novix-social a {
    color: var(--novix-text-muted);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.novix-social a:hover {
    color: #fff;
}

.novix-social svg {
    width: 18px;
    height: 18px;
}

/* ========================================================== */
/* Custom Novix Button */
/* ========================================================== */

.novix-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--novix-accent-start), var(--novix-accent-mid));
    color: #1a1a1a !important;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    margin-top: 2rem;
}

.novix-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    color: #1a1a1a !important;
}

.novix-cta-button svg {
    width: 16px;
    height: 16px;
    stroke: #1a1a1a !important;
    fill: none;
}

.novix-header-spacer {
    height: 64px;
}

.novix-site-header {
    padding: 0 2rem;
}

.novix-site-header__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 64px;
    background: rgba(10, 10, 10, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.novix-site-header__inner {
    position: relative;
}

.novix-site-header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.novix-site-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none !important;
    color: #fff !important;
}

.novix-site-header__brand img {
    border-radius: 8px;
    width: 3.6rem;
    height: 3.6rem;
}

.novix-site-header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}

.novix-site-header__icon {
    width: 3.6rem;
    height: 3.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    transition: background 0.2s ease, filter 0.2s ease;
}

.novix-site-header__icon:hover {
    background: rgba(255, 255, 255, 0.06);
    filter: brightness(1.1);
}

.novix-site-header__icon-img {
    display: block;
    height: 1.6rem;
    width: auto;
}

.novix-site-header__icon-img--x {
    height: 1.2rem;
}

.novix-footer-cta {
    position: relative;
    padding: 48px 16px;
    background: transparent;
    overflow: hidden;
    color: #fff;
}

.novix-footer-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.novix-footer-cta__title {
    max-width: 1240px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.novix-footer-cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.novix-footer-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    height: 40px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    color: rgba(17, 17, 17, 1) !important;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.7));
    border: 1px solid transparent;
    border-top-color: rgba(255, 255, 255, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.102), 0 1px 2px -1px rgba(0, 0, 0, 0.102);
    backface-visibility: hidden;
    will-change: transform;
    transform: translateZ(0);
    transition: none;
}

.novix-footer-cta__glow {
    position: absolute;
    inset: 0;
    opacity: 0.7;
    transform: translateY(1rem);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
}

.novix-footer-cta:hover .novix-footer-cta__glow {
    transform: translateY(-2rem);
    opacity: 1;
}

.novix-footer-cta__glow::before,
.novix-footer-cta__glow::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(10px);
}

.novix-footer-cta__glow::before {
    width: 60%;
    height: 256px;
    background: radial-gradient(ellipse at center, rgba(251, 146, 60, 0.72) 10%, rgba(251, 146, 60, 0) 60%);
    transform: translateX(-50%) scale(2.5);
    opacity: 1;
}

.novix-footer-cta__glow::after {
    width: 40%;
    height: 128px;
    background: radial-gradient(ellipse at center, rgba(253, 186, 114, 0.45) 10%, rgba(251, 146, 60, 0) 60%);
    transform: translateX(-50%) scale(2);
    opacity: 1;
}

@media (min-width: 640px) {
    .novix-footer-cta {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .novix-footer-cta__inner {
        gap: 32px;
    }

    .novix-footer-cta__title {
        font-size: 48px;
        line-height: 1.25;
    }

    .novix-footer-cta__glow::before {
        height: 512px;
        opacity: 1;
    }

    .novix-footer-cta__glow::after {
        height: 256px;
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .novix-footer-cta {
        padding-top: 128px;
        padding-bottom: 128px;
    }
}

.novix-footer {
    padding: 0 2rem 0;
    background: transparent;
}

.novix-footer__inner {
    padding: 5rem 0 2rem;
}

.novix-footer__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.2rem;
}

.novix-footer__brand {
    grid-column: 1 / -1;
}

.novix-footer__brand-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.novix-footer__brand-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.novix-footer__heading {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    padding-top: 0.75rem;
    color: #fff;
}

.novix-footer__column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.novix-footer__link {
    color: var(--novix-text-muted) !important;
    font-size: 1.4rem;
    text-decoration: none !important;
}

.novix-footer__link:hover {
    color: #fff !important;
}

.novix-footer__bottom {
    margin-top: 3.2rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
    color: var(--novix-text-muted);
}

.novix-footer__legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.novix-footer__legal-link {
    color: var(--novix-text-muted) !important;
    text-decoration: none !important;
}

.novix-footer__legal-link:hover {
    color: #fff !important;
}

@media (min-width: 640px) {
    .novix-footer__content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .novix-footer__brand {
        grid-column: 1 / -1;
    }

    .novix-footer__bottom {
        flex-direction: row;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .novix-footer__content {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .novix-footer__brand {
        grid-column: auto;
        grid-row: 1;
    }
}

@media (min-width: 1024px) {
    .novix-footer__content {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .novix-footer__brand {
        grid-column: span 1;
    }
}
