/*
Theme Name: Listeners Blog
Theme URI: https://github.com/listeners-blog/listeners-blog
Author: Hitesh (HKM)
Author URI: https://github.com/HiteshDqot
Description: A premium theme styled exactly like Listeners Connect (listenersconnect.com). Features a dark aesthetic, purple-to-pink gradient accents, Outfit and Inter typography, 4-column responsive homepage blog grids, and styled detail pages with custom sidebar widgets.
Version: 1.1.0  
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: listeners-blog
Tags: blog, dark, custom-menu, featured-images, grid-layout, responsive-layout, two-columns
*/

/* ==========================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================== */
:root {
    /* Color Palette */
    --bg-page: #0C0C0E;
    --bg-card: #13131A;
    --bg-header: rgba(12, 12, 14, 0.85);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-hover: rgba(255, 255, 255, 0.12);
    
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.45);
    
    --gradient-accent: linear-gradient(90deg, #8A2BE2 0%, #FF4D8D 100%);
    --gradient-accent-hover: linear-gradient(90deg, #7020C0 0%, #E03D78 100%);
    --accent-pink: #FF4D8D;
    --accent-purple: #8A2BE2;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1280px;
    --border-radius-card: 16px;
    --border-radius-badge: 100px;
    --border-radius-input: 12px;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

/* ==========================================
   RESET & SYSTEM BASICS
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5em;
    letter-spacing: -0.01em;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================
   HEADER SECTION
   ========================================== */
.site-header {
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.header-right-desktop {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header-mobile-actions {
    display: none;
}

.site-logo {
    display: flex;
    align-items: center;
    position: relative;
}

.site-logo a {
    display: inline-block;
}

.site-logo svg,
.site-logo img,
.footer-logo svg,
.footer-logo img {
    height: 34px;
    width: auto;
    display: block;
}

/* Style the SVG paths: Text is white, Heart is pink */
.site-logo svg path,
.footer-logo svg path {
    fill: #FFFFFF;
}

.site-logo svg g[filter] path,
.footer-logo svg g[filter] path {
    fill: #FF4D8D !important;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

/* Hide navigation menu links on desktop, relying on page actions or custom menu */
.header-menu-container {
    display: flex;
    align-items: center;
}

.header-menu-container ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.header-menu-container a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
}

.header-menu-container a:hover {
    color: #FFFFFF;
}

.header-actions-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.link-download-app {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.link-download-app:hover {
    color: #FFFFFF;
}

.btn-talk-listeners {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #FFFFFF;
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    background: transparent;
}

.btn-talk-listeners:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #FFFFFF;
}

.btn-talk-experts {
    background: var(--gradient-accent);
    color: #FFFFFF;
    padding: 0.7rem 1.6rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 77, 141, 0.2);
}

.btn-talk-experts:hover {
    background: var(--gradient-accent-hover);
    box-shadow: 0 4px 20px rgba(255, 77, 141, 0.35);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.header-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
}

/* Mobile CTA button shown instead of full actions on mobile */
.btn-mobile-download {
    display: none;
    background: var(--gradient-accent);
    color: #FFFFFF !important;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================
   HERO / BANNER SECTION
   ========================================== */
.home-hero {
    text-align: center;
    padding: 6rem 1.5rem 2.5rem;
    max-width: 1050px;
    margin: 0 auto;
}

.home-hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.home-hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ==========================================
   HOMEPAGE CARD GRID
   ========================================== */
.site-main-feed {
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    .site-main-feed {
        padding-bottom: 6rem;
    }
}

.home-posts-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

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

@media (min-width: 992px) {
    .home-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .home-posts-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Card Styling */
.listeners-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.listeners-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-img-wrapper {
    position: relative;
    /* aspect-ratio: 16/10; */
    aspect-ratio: 13/10;
    overflow: hidden;
    background-color: #1a1a24;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.listeners-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

/* Category Badge (bottom-left overlay on image) */
.card-category-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: #8A2BE2;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: var(--border-radius-badge);
    z-index: 10;
    text-transform: capitalize;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.4);
    transition: var(--transition-fast);
}

/* Dynamic Category Badges */
.card-category-badge.badge-relationship {
    background-color: #FF4D8D;
    box-shadow: 0 2px 8px rgba(255, 77, 141, 0.4);
}
.card-category-badge.badge-marriage-guidance {
    background-color: #E91E63;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
}
.card-category-badge.badge-anxiety-support {
    background-color: #8E24AA;
    box-shadow: 0 2px 8px rgba(142, 36, 170, 0.4);
}
.card-category-badge.badge-breakup-recovery {
    background-color: #E91E63;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.4);
}
.card-category-badge.badge-career {
    background-color: #8A2BE2;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.4);
}
.card-category-badge.badge-money {
    background-color: #FF4D8D;
    box-shadow: 0 2px 8px rgba(255, 77, 141, 0.4);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.card-title a {
    color: #FFFFFF;
}

.card-title a:hover {
    color: var(--accent-pink);
}

.card-excerpt {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.6em;
}

.card-readmore-link {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-pink);
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.card-readmore-link:hover {
    color: #FFFFFF;
}

.card-readmore-link::after {
    content: '→';
    transition: var(--transition-fast);
}

.card-readmore-link:hover::after {
    transform: translateX(4px);
}

/* ==========================================
   DETAIL PAGE LAYOUT (single.php)
   ========================================== */
.detail-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 0;
}

@media (min-width: 992px) {
    .detail-layout-grid {
        grid-template-columns: 7fr 3fr;
    }
}

.detail-content-area {
    min-width: 0;
}

.detail-featured-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-color);
}

.detail-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 520px;
}

.detail-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.detail-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.detail-body p {
    margin-bottom: 1.75rem;
}

.detail-body h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.detail-body h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.detail-body blockquote {
    border-left: 4px solid var(--accent-pink);
    padding: 0.75rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    background: rgba(255, 77, 141, 0.03);
    border-radius: 0 12px 12px 0;
    color: #FFFFFF;
}

.detail-body ul, .detail-body ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.detail-body li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* ==========================================
   SIDEBAR & WIDGET CARD DESIGNS
   ========================================== */
.sidebar-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Style all top-level widget containers in the sidebar */
.sidebar-area > *,
.sidebar-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-card);
    padding: 2rem;
    box-sizing: border-box;
}

.sidebar-area .widget-title,
.sidebar-area h2,
.sidebar-area h2.wp-block-heading,
.sidebar-widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

/* WP Search Block & Widget Search input styling */
.search-widget-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-widget-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 0.75rem 5.5rem 0.75rem 1.25rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.search-widget-input:focus {
    border-color: rgba(255, 77, 141, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.search-widget-submit {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    background: var(--gradient-accent);
    color: #FFFFFF;
    border: none;
    border-radius: 9999px;
    padding: 0 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-widget-submit:hover {
    background: var(--gradient-accent-hover);
    transform: scale(1.02);
}

/* WordPress Standard Block Search Widget Styles */
.wp-block-search {
    margin-bottom: 0;
}

.wp-block-search .wp-block-search__inside-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: none;
    padding: 0;
    background: transparent;
    width: 100%;
}

.wp-block-search__input {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 9999px !important;
    padding: 0.75rem 5.5rem 0.75rem 1.25rem !important;
    color: #FFFFFF !important;
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    outline: none;
    height: 46px !important;
    transition: var(--transition-fast) !important;
}

.wp-block-search__input:focus {
    border-color: rgba(255, 77, 141, 0.5) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.wp-block-search__button {
    position: absolute !important;
    right: 4px !important;
    top: 4px !important;
    bottom: 4px !important;
    background: var(--gradient-accent) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 0 1.25rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: var(--transition-fast) !important;
    height: 38px !important;
    margin-left: 0 !important;
    line-height: 1 !important;
}

.wp-block-search__button:hover {
    background: var(--gradient-accent-hover) !important;
}

/* List elements in Sidebar Widgets (Categories, Recent Posts, Archives, etc.) */
.sidebar-area ul,
.sidebar-area ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-area ul li,
.sidebar-area ol li {
    margin-bottom: 0 !important;
}

.sidebar-area ul li a,
.sidebar-area ol li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    width: 100%;
    box-sizing: border-box;
}

.sidebar-area ul li a:hover,
.sidebar-area ol li a:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color-hover);
    color: #FFFFFF;
    transform: translateX(4px);
}


/* Recent Insights list */
.recent-insights-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.insight-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.insight-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #1a1a24;
}

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

.insight-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.insight-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-title a {
    color: #FFFFFF;
}

.insight-title a:hover {
    color: var(--accent-pink);
}

.insight-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Categories widget list */
.categories-widget-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
}

.categories-widget-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.categories-widget-list li a:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color-hover);
    color: #FFFFFF;
    transform: translateX(4px);
}

/* Tag Cloud Widget */
.tags-widget-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags-widget-cloud a {
    font-size: 0.8rem !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    color: var(--text-secondary);
}

.tags-widget-cloud a:hover {
    background: var(--gradient-accent);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-1px);
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition-fast);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--gradient-accent);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 77, 141, 0.2);
}

/* ==========================================
   COMMENTS SECTION
   ========================================== */
.comments-area {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.comment-list {
    list-style: none;
    margin-bottom: 3rem;
}

.comment-body {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-card);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comment-author-info img {
    border-radius: 50%;
}

.comment-author-info .fn {
    font-weight: 600;
    color: #FFFFFF;
}

.comment-metadata {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comment-content {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-input);
    padding: 0.85rem 1.25rem;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: rgba(255, 77, 141, 0.5);
    background: rgba(255, 255, 255, 0.04);
}

.submit {
    background: var(--gradient-accent);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.85rem 2.25rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 77, 141, 0.2);
    transition: var(--transition-smooth);
}

.submit:hover {
    background: var(--gradient-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 141, 0.35);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
/* .site-footer {
    background: #08080A;
    border-top: none;
    padding: 7rem 0 2.5rem;
    position: relative;
    overflow: hidden;
} */
.comment-author, img{
    margin-bottom: 10px !important;
}
.site-footer {
    /* position: relative; */
    z-index: 10;
    background-color: transparent;

    padding-top: 4rem; /* pt-16 */
    padding-bottom: 0;

    background-image: url('assets/footer-bg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/* sm:pt-20 (640px and above) */
@media (min-width: 640px) {
    .site-footer {
        padding-top: 5rem;
    }
}

/* lg:pt-[320px] (1024px and above) */
@media (min-width: 1024px) {
    .site-footer {
        padding-top: 320px;
    }
}

/* Layered waves decoration at the top of the footer */
.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
}

.footer-waves svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

/* Background nebulous glows */
.site-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.site-footer::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 77, 141, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

.footer-decor-heart {
    position: absolute;
    right: 8% !important;
    left: auto !important;
    bottom: 15% !important;
    opacity: 0.06 !important;
    transform: rotate(20deg);
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

/* Keep the footer container content above the glows */
.site-footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

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

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Footer brand column star and logo styling */
.footer-logo-container {
    position: relative;
    padding-top: 1.75rem;
    margin-bottom: 0.25rem;
}

.footer-decor-star {
    position: absolute;
    top: -15px;
    left: 4px;
    display: inline-block;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: #FFFFFF;
    display: inline-block;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Social Media Buttons */
.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-list a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links-list a:hover {
    /* color: var(--accent-pink); */
    color: #ffffff;
}

/* Triangle Bullet points for footer lists */
.footer-links-list li a {
    display: inline-flex;
    align-items: center;
}

.footer-links-list li a::before {
    content: '▶';
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.55rem;
    margin-right: 0.65rem;
    display: inline-block;
    transition: var(--transition-fast);
}

.footer-links-list li a:hover::before {
    color: var(--accent-pink);
    transform: translateX(3px);
}

/* App badge styling using SVG images - Horizontal layout */
.footer-app-badges {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-app-link {
    display: inline-block;
    transition: var(--transition-smooth);
}

.footer-app-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.footer-app-link img {
    height: 40px;
    width: auto;
    display: block;
}

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

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

.footer-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================== */
@media (max-width: 991px) {
    .site-header {
        height: 70px;
    }
    
    .header-right-desktop {
        display: none;
    }
    
    .header-mobile-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .header-mobile-toggle,
    .btn-mobile-download {
        display: block;
    }
    
    .home-hero-title {
        font-family: 'Inter', sans-serif;
        font-size: 2.5rem;
    }
    
    .detail-title {
        font-size: 2rem;
    }
}

/* ==========================================
   TABLE OF CONTENTS (TOC) DESIGN
   ========================================== */
.toc-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-card);
    padding: 2rem;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.toc-widget .sidebar-widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.toc-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toc-item {
    position: relative;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.toc-item-h2 {
    font-weight: 600;
}

.toc-item-h3 {
    padding-left: 1.25rem;
    font-weight: 500;
}

.toc-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    display: inline-block;
    cursor: pointer;
}

.toc-link:hover {
    color: #FFFFFF;
}

.toc-link.active {
    color: var(--accent-pink) !important;
}

/* Make entire sidebar sticky on desktop */
@media (min-width: 992px) {
    .sidebar-column {
        position: sticky;
        top: 100px;
        align-self: start;
        z-index: 10;
    }
}

/* ==========================================
   AUTHOR PROFILE BOX & POST META
   ========================================== */
.detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-meta .meta-author {
    color: var(--text-secondary);
}

.detail-meta .meta-author img {
    border-radius: 50%;
    border: 1px solid var(--border-color);
    vertical-align: middle;
}

.detail-meta .meta-author strong {
    color: #FFFFFF;
    font-weight: 600;
}

.detail-meta a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.detail-meta a:hover {
    color: var(--accent-pink);
}

.detail-meta svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Author Profile Box Card */
.author-profile-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-card);
    padding: 2rem;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.author-profile-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
}

.author-profile-box:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.author-profile-avatar {
    flex-shrink: 0;
}

.author-profile-avatar img {
    border-radius: 50%;
    border: 2px solid rgba(255, 77, 141, 0.2);
    padding: 4px;
    background: rgba(255, 255, 255, 0.02);
    width: 90px;
    height: 90px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.author-profile-box:hover .author-profile-avatar img {
    border-color: var(--accent-pink);
    transform: scale(1.03);
}

.author-profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.author-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-pink);
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.author-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
}

.author-name a {
    color: #FFFFFF;
}

.author-name a:hover {
    color: var(--accent-pink);
}

.author-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.author-profile-footer {
    margin-top: 0.5rem;
}

.author-posts-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-pink);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-fast);
}

.author-posts-link:hover {
    color: #FFFFFF;
}

/* Tablet & Desktop Layout for Author Box */
@media (min-width: 640px) {
    .author-profile-box {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
        padding: 2.5rem;
    }
}

/* ==========================================
   POST DETAIL NAVIGATION (PREV/NEXT)
   ========================================== */
.post-navigation-section {
    margin-top: 3.5rem;
    margin-bottom: 2rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.post-navigation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.post-navigation-col {
    display: flex;
    flex-direction: column;
}

.navigation-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-pink);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.next-col .navigation-label {
    text-align: right;
}

.navigation-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    height: 100%;
    transition: var(--transition-smooth);
}

.navigation-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.navigation-thumb {
    position: relative;
    aspect-ratio: 16/7;
    overflow: hidden;
    background-color: #1a1a24;
}

.navigation-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.navigation-card:hover .navigation-thumb img {
    transform: scale(1.05);
}

.nav-placeholder-gradient {
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0.15;
    position: absolute;
    top: 0;
    left: 0;
}

.nav-placeholder-text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.navigation-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 1.25rem;
    margin: 0;
    color: #FFFFFF;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.8em;
    transition: var(--transition-fast);
}

.navigation-card:hover .navigation-title {
    color: var(--accent-pink);
}

/* ==========================================
   CATEGORY PAGE LAYOUT
   ========================================== */
.category-header-section,
.tag-header-section {
    padding: 4rem 0 2rem;
}

.category-header-card,
.tag-header-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.08) 0%, rgba(255, 77, 141, 0.08) 100%);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.category-header-card:hover,
.tag-header-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Background nebulous glow specifically for category/tag header */
.category-header-card::before,
.tag-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 77, 141, 0.12) 0%, rgba(138, 43, 226, 0.04) 70%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.category-header-left,
.tag-header-left {
    position: relative;
    z-index: 1;
    max-width: 75%;
}

.category-header-title,
.tag-header-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    text-transform: capitalize;
}

.category-header-description,
.tag-header-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.category-header-description p:last-child,
.tag-header-description p:last-child {
    margin-bottom: 0;
}

.category-header-right,
.tag-header-right {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.category-post-count-badge,
.tag-post-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 0.65rem 1.35rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.category-post-count-badge:hover,
.tag-post-count-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.category-post-count-badge svg,
.tag-post-count-badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent-pink);
    stroke-width: 2px;
    display: block;
}

/* Category & Tag Posts Grid */
.category-posts-grid,
.tag-posts-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 5rem;
}

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

@media (min-width: 992px) {
    .category-posts-grid,
    .tag-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Search Posts Grid */
.search-posts-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 5rem;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-header-card,
    .tag-header-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.25rem;
    }
    
    .category-header-left,
    .tag-header-left {
        max-width: 100%;
    }
    
    .category-header-title,
    .tag-header-title {
        font-size: 1.75rem;
    }
    
    .category-header-description,
    .tag-header-description {
        font-size: 0.95rem;
    }
    
    .category-post-count-badge,
    .tag-post-count-badge {
        padding: 0.5rem 1.1rem;
        font-size: 0.85rem;
    }
}

/* ==========================================
   MOBILE SLIDE-OUT DRAWER MENU
   ========================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
}

.mobile-menu-drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 380px;
    height: 100%;
    background-color: #0C0C0E;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem 2rem 1.75rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

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

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-logo img {
    height: 24px;
    width: auto;
    display: block;
}

.drawer-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-drawer-download {
    background: var(--gradient-accent);
    color: #FFFFFF !important;
    text-decoration: none;
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255, 77, 141, 0.2);
}

.btn-drawer-download:hover {
    background: var(--gradient-accent-hover);
    transform: translateY(-1px);
}

.mobile-drawer-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.mobile-drawer-close:hover {
    opacity: 1;
}

.drawer-nav {
    margin: 2rem 0;
}

.drawer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.drawer-link {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    display: block;
    transition: var(--transition-fast);
}

.drawer-link:hover {
    color: var(--accent-pink);
    padding-left: 4px;
}

.drawer-link.font-bold-link {
    font-weight: 700;
}

.drawer-link.text-secondary-link {
    color: #B8B8C5;
}

.drawer-footer-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-talk-listeners-pill,
.btn-talk-experts-pill {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 0.85rem 1.5rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.btn-talk-listeners-pill {
    background: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-talk-listeners-pill:hover {
    border-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-talk-experts-pill {
    background: var(--gradient-accent);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 77, 141, 0.3);
}

.btn-talk-experts-pill:hover {
    background: var(--gradient-accent-hover);
    box-shadow: 0 6px 20px rgba(255, 77, 141, 0.45);
    transform: translateY(-1px);
}

/* ==========================================
   GUTENBERG LATEST POSTS WIDGET OVERRIDES
   ========================================== */
.sidebar-area .wp-block-latest-posts {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    padding-left: 0 !important;
    list-style: none !important;
    margin: 0 !important;
}

.sidebar-area .wp-block-latest-posts li {
    display: grid !important;
    grid-template-columns: 64px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 1rem !important;
    row-gap: 0.25rem !important;
    align-items: center !important;
    margin-bottom: 0 !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Ensure no transitions or list borders apply to latest posts list items on hover */
.sidebar-area .wp-block-latest-posts li:hover {
    transform: none !important;
}

/* Reset links inside latest posts widget so they don't get category-style borders/backgrounds */
.sidebar-area .wp-block-latest-posts li a {
    display: inline !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    width: auto !important;
    transition: none !important;
    box-shadow: none !important;
}

.sidebar-area .wp-block-latest-posts li a:hover {
    background: transparent !important;
    transform: none !important;
    color: var(--accent-pink) !important;
}

/* Styling for the featured image container */
.sidebar-area .wp-block-latest-posts .wp-block-latest-posts__featured-image {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 64px !important;
    height: 64px !important;
    border-radius: 12px !important; /* Rounded corners like reference image */
    overflow: hidden !important;
    margin: 0 !important;
    background-color: #1a1a24 !important;
    display: block !important;
    float: none !important; /* Remove WordPress float */
}

.sidebar-area .wp-block-latest-posts .wp-block-latest-posts__featured-image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.sidebar-area .wp-block-latest-posts .wp-block-latest-posts__featured-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

/* Styling for the post title */
.sidebar-area .wp-block-latest-posts .wp-block-latest-posts__post-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #FFFFFF !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
    text-decoration: none !important;
    font-family: var(--font-body) !important;
}

.sidebar-area .wp-block-latest-posts .wp-block-latest-posts__post-title:hover {
    color: var(--accent-pink) !important;
}

/* Styling for the post date */
.sidebar-area .wp-block-latest-posts .wp-block-latest-posts__post-date {
    grid-column: 2 !important;
    grid-row: 2 !important;
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    display: block !important;
}

/* ==========================================
   AUTHOR PAGE LAYOUT
   ========================================== */
.author-header-section {
    padding: 4rem 0 2rem;
}

.author-header-card {
    background: linear-gradient(135deg, rgba(255, 77, 141, 0.08) 0%, rgba(138, 43, 226, 0.08) 100%);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.author-header-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Background nebulous glow specifically for author header */
.author-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.12) 0%, rgba(255, 77, 141, 0.04) 70%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.author-header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    max-width: 75%;
}

.author-header-avatar {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    background: #1a1a24;
}

.author-header-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-header-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.author-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: var(--gradient-accent);
    color: #FFFFFF;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(255, 77, 141, 0.25);
}

.author-header-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.author-header-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.author-header-right {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.author-post-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    padding: 0.65rem 1.35rem;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.author-post-count-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .author-header-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
    }
    .author-header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        max-width: 100%;
    }
    .author-header-avatar {
        width: 90px;
        height: 90px;
    }
    .author-header-title {
        font-size: 1.75rem;
    }
    .author-post-count-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1.15rem;
    }
}

/* ==========================================
   404 ERROR PAGE STYLING
   ========================================== */
.site-main-404 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px - 400px); /* Centers between header and footer */
    padding: 5rem 1.5rem;
    background-color: #0C0C0E;
}

.error404-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
}

.error404-icon-container {
    position: relative;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.error404-heart-crack {
    width: 112px;
    height: 112px;
    color: #FF4D8D;
    display: block;
    margin: 0 auto;
}

.absolute-heart-1 {
    position: absolute;
    top: -24px;
    left: -48px;
    opacity: 0.3;
}

.absolute-sparkle {
    position: absolute;
    top: -32px;
    right: -64px;
    opacity: 0.2;
}

.absolute-heart-2 {
    position: absolute;
    bottom: -16px;
    right: 0;
    opacity: 0.25;
}

.error404-heart-pulse-1,
.error404-heart-pulse-2,
.error404-sparkle {
    width: 24px;
    height: 24px;
}

.error404-heart-pulse-1 {
    color: #F472B6;
    animation: error-pulse 2s infinite ease-in-out;
}

.error404-heart-pulse-2 {
    color: #F9A8D4;
    animation: error-pulse 2s infinite ease-in-out;
    animation-delay: 1s;
}

.error404-sparkle {
    color: #C084FC;
    animation: error-pulse 2s infinite ease-in-out;
    animation-delay: 0.5s;
}

@keyframes error-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.error404-code-title {
    font-size: 6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    background: linear-gradient(90deg, #F472B6 0%, #C084FC 50%, #FF4D8D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

@media (min-width: 768px) {
    .error404-code-title {
        font-size: 8rem;
    }
}

.error404-heading {
    font-size: 1.875rem;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

@media (min-width: 1024px) {
    .error404-heading {
        font-size: 2.25rem;
        margin-top: 1.25rem;
    }
}

.error404-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.625;
    max-width: 448px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .error404-text {
        font-size: 1.25rem;
        margin-top: 1.25rem;
    }
}

.btn-home-404 {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    background: var(--gradient-accent);
    color: #FFFFFF;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 77, 141, 0.3);
    transition: var(--transition-smooth);
    text-decoration: none;
    margin-bottom: 2rem;
}

.btn-home-404:hover {
    background: var(--gradient-accent-hover);
    box-shadow: 0 8px 25px rgba(255, 77, 141, 0.5);
    transform: translateY(-2px) scale(1.03);
    color: #FFFFFF;
}

.btn-home-404 .arrow-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.btn-home-404:hover .arrow-icon {
    transform: translateX(-4px);
}

.error404-quote-box {
    margin-top: 0.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 77, 141, 0.2);
    border-radius: 16px;
    background: rgba(255, 77, 141, 0.04);
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5rem;
    box-sizing: border-box;
}

.error404-quote-text {
    color: #FDA4AF;
    font-style: italic;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.error404-app-download {
    width: 100%;
    max-width: 448px;
    margin: 0 auto;
}

.app-download-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
    text-align: center;
}

.app-download-badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .app-download-badges {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.app-badge-link {
    display: block;
    width: 100%;
    max-width: 180px;
    transition: var(--transition-smooth);
}

.app-badge-img {
    height: 52px;
    width: auto;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.app-badge-link:hover {
    transform: translateY(-2px);
}

.app-badge-link:hover .app-badge-img {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Post Details - Tag Links Styling */
.post-tags {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-tag-link {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.post-tag-link:hover {
    background: var(--gradient-accent);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 77, 141, 0.15);
}
