/**
 * Net Worth Tracker Styles
 * Celebrity net worth profiles with rich visual design
 */

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --nw-dark-1: #1a1a2e;
    --nw-dark-2: #16213e;
    --nw-pink-1: #e97a9c;
    --nw-pink-2: #d4687f;
    --nw-gold: #ffd700;
    --nw-silver: #c0c0c0;
    --nw-bronze: #cd7f32;
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */

/* Single Profile Hero */
.networth-hero {
    background: linear-gradient(135deg, var(--nw-pink-1) 0%, var(--nw-pink-2) 50%, #c55a71 100%);
    padding: 50px 0 70px;
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.networth-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.networth-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.networth-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.networth-breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.networth-breadcrumbs a:hover {
    color: var(--nw-dark-1);
}

.networth-breadcrumbs span {
    color: rgba(255, 255, 255, 0.6);
}

.networth-breadcrumbs .current {
    color: rgba(255, 255, 255, 0.8);
}

.networth-hero-content {
    display: flex;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.networth-hero-photo {
    flex-shrink: 0;
    position: relative;
}

/* Animated glow ring around photo */
.networth-hero-photo::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff, var(--nw-gold), #fff, var(--nw-dark-1));
    background-size: 300% 300%;
    animation: glowRotate 4s ease infinite;
    z-index: -1;
    opacity: 0.9;
}

@keyframes glowRotate {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.networth-hero-photo .profile-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.5),
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.profile-photo-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nw-dark-1), var(--nw-dark-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #fff;
    font-family: 'Beautiful Bloom', cursive;
    border: 5px solid #fff;
    position: relative;
    z-index: 1;
}

.networth-hero-info {
    flex: 1;
}

/* Category badge above name */
.networth-hero-info::before {
    content: 'NET WORTH PROFILE';
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 15px;
}

.networth-hero-info h1 {
    font-family: 'Beautiful Bloom', cursive;
    font-size: 3.8em;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.networth-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 30px;
    letter-spacing: 0.5px;
}

.networth-subtitle::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #fff;
    margin-right: 12px;
    vertical-align: middle;
}

.networth-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--nw-dark-1) 0%, var(--nw-dark-2) 100%);
    padding: 20px 35px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Shine effect on badge */
.networth-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.networth-badge .networth-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.networth-badge .networth-amount {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.networth-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.networth-meta .meta-item {
    font-family: 'Spartan', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.networth-meta .meta-item strong {
    color: #fff;
    font-weight: 600;
}

.networth-social {
    display: flex;
    gap: 12px;
}

.networth-social .social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.networth-social .social-link:hover {
    background: var(--nw-dark-1);
    border-color: var(--nw-dark-1);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Archive Hero */
.networth-archive-hero {
    background: linear-gradient(135deg, var(--nw-pink-1) 0%, var(--nw-pink-2) 100%);
    padding: 60px 0;
}

.networth-archive-hero .hero-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 15px;
}

.networth-archive-hero h1 {
    font-family: 'Beautiful Bloom', cursive;
    font-size: 3.5em;
    color: #fff;
    margin: 0 0 20px;
}

.networth-archive-hero .hero-subtitle {
    font-family: 'Spartan', sans-serif;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Category Hero */
.networth-category-hero {
    background: linear-gradient(135deg, var(--nw-pink-1) 0%, var(--nw-pink-2) 100%);
    padding: 60px 0 50px;
}

.networth-category-hero .hero-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 15px;
}

.networth-category-hero h1 {
    font-family: 'Beautiful Bloom', cursive;
    font-size: 3.5em;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.2;
}

.networth-category-hero .hero-description {
    font-family: 'Spartan', sans-serif;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.networth-category-hero .hero-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.networth-category-hero .meta-count strong {
    color: #fff;
}

.networth-category-hero .meta-divider {
    margin: 0 10px;
}

/* Breadcrumbs Bar */
.networth-breadcrumbs-bar {
    background: var(--nw-pink-2);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: var(--nw-dark-1);
}

.breadcrumb-list .current {
    color: #fff;
    font-weight: 500;
}

/* ==========================================================================
   Filter Bar
   ========================================================================== */
.networth-filter-bar {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: var(--nw-pink-1);
    color: var(--nw-pink-1);
}

.filter-btn.active {
    background: var(--nw-pink-1);
    border-color: var(--nw-pink-1);
    color: #fff;
}

/* ==========================================================================
   Featured Section
   ========================================================================== */
.networth-featured {
    padding: 50px 0;
    background: #fff;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    color: var(--nw-dark-1);
    margin: 0;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--nw-pink-1);
    margin: 15px 0 30px;
}

.section-divider.center {
    margin: 15px auto 30px;
}

.featured-profile {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}

.featured-profile .rank-badge {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.featured-profile.rank-1 .rank-badge {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    box-shadow: 0 3px 15px rgba(255, 215, 0, 0.5);
}

.featured-profile.rank-2 .rank-badge {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
}

.featured-profile.rank-3 .rank-badge {
    background: linear-gradient(135deg, #cd7f32, #b06a28);
}

.profile-image-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.profile-image-wrapper .profile-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.profile-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nw-pink-1), var(--nw-pink-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #fff;
    font-family: 'Beautiful Bloom', cursive;
}

.networth-overlay {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--nw-pink-1), var(--nw-pink-2));
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 3px 15px rgba(233, 122, 156, 0.4);
}

.networth-overlay .networth-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.featured-profile .profile-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    margin: 0 0 5px;
}

.featured-profile .profile-info h3 a {
    color: var(--nw-dark-1);
    text-decoration: none;
}

.featured-profile .profile-info h3 a:hover {
    color: var(--nw-pink-1);
}

.featured-profile .professions {
    font-family: 'Spartan', sans-serif;
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* ==========================================================================
   Grid Section
   ========================================================================== */
.networth-grid-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.networth-grid {
    margin-bottom: 40px;
}

.networth-card-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.networth-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.networth-card-item .card-link {
    display: block;
}

.networth-card-item .card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.networth-card-item .card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s;
}

.networth-card-item:hover .card-photo {
    transform: scale(1.05);
}

.networth-card-item .card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--nw-dark-1), var(--nw-dark-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Beautiful Bloom', cursive;
}

.networth-card-item .card-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--nw-pink-1), var(--nw-pink-2));
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 2px 10px rgba(233, 122, 156, 0.4);
}

.networth-card-item .card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 10px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.networth-card-item .card-body {
    padding: 20px;
}

.networth-card-item .card-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    margin: 0 0 8px;
    line-height: 1.3;
}

.networth-card-item .card-body h3 a {
    color: var(--nw-dark-1);
    text-decoration: none;
}

.networth-card-item .card-body h3 a:hover {
    color: var(--nw-pink-1);
}

.networth-card-item .card-professions {
    font-family: 'Spartan', sans-serif;
    font-size: 13px;
    color: #666;
    margin: 0 0 4px;
}

.networth-card-item .card-nationality {
    font-family: 'Spartan', sans-serif;
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ==========================================================================
   Main Content Cards
   ========================================================================== */
.networth-content {
    background: #f8f9fa;
}

.networth-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.networth-card .card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: var(--nw-dark-1);
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0c7bf;
}

/* Quick Facts Grid */
.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.quick-fact {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--nw-pink-1);
}

.quick-fact .fact-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 5px;
}

.quick-fact .fact-value {
    font-family: 'Spartan', sans-serif;
    font-size: 15px;
    color: var(--nw-dark-1);
    font-weight: 500;
}

/* Chart Container */
.networth-chart-container {
    height: 300px;
    position: relative;
}

/* Biography */
.networth-biography {
    font-family: 'Spartan', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.networth-biography p {
    margin-bottom: 1.5em;
}

.networth-article-content {
    font-family: 'Spartan', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

/* Career Timeline */
.career-timeline {
    position: relative;
    padding-left: 30px;
}

.career-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #eee;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--nw-pink-1);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--nw-pink-1);
}

.timeline-year {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: var(--nw-dark-1);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.timeline-content p {
    font-family: 'Spartan', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* FAQ */
.networth-faq .faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.networth-faq .faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.networth-faq .faq-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--nw-pink-1);
    margin: 0 0 10px;
}

.networth-faq .faq-item p {
    font-family: 'Spartan', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ==========================================================================
   Related Profiles
   ========================================================================== */
.networth-related {
    margin-top: 40px;
}

.networth-related h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: var(--nw-dark-1);
    margin-bottom: 25px;
}

.related-profile {
    text-align: center;
    margin-bottom: 30px;
}

.related-profile a {
    display: block;
    position: relative;
    margin-bottom: 15px;
}

.related-profile .related-photo {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
}

.related-profile .related-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--nw-pink-1), var(--nw-pink-2));
    padding: 5px 12px;
    border-radius: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.related-profile h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    margin: 0;
}

.related-profile h5 a {
    color: var(--nw-dark-1);
    text-decoration: none;
}

.related-profile h5 a:hover {
    color: var(--nw-pink-1);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.networth-sidebar .sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.networth-sidebar .sidebar-widget h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--nw-dark-1);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0c7bf;
}

.networth-summary-widget .summary-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--nw-pink-1);
    margin-bottom: 10px;
}

.networth-summary-widget .summary-date {
    font-family: 'Spartan', sans-serif;
    font-size: 13px;
    color: #888;
    margin: 0 0 15px;
}

.networth-summary-widget .summary-source {
    font-family: 'Spartan', sans-serif;
    font-size: 14px;
    color: #555;
    margin: 0;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li:last-child {
    margin-bottom: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.category-list a:hover {
    background: var(--nw-pink-1);
    color: #fff;
}

.category-list a:hover .count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.category-list .count {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    background: #eee;
    padding: 3px 8px;
    border-radius: 10px;
    color: #666;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */
.networth-newsletter {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--nw-dark-1), var(--nw-dark-2));
}

.newsletter-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-box h3 {
    font-family: 'Beautiful Bloom', cursive;
    font-size: 2.5em;
    color: #fff;
    margin: 0 0 15px;
}

.newsletter-box p {
    font-family: 'Spartan', sans-serif;
    font-size: 16px;
    color: #ccc;
    margin: 0 0 25px;
}

.newsletter-form .input-group {
    display: flex;
    gap: 10px;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-family: 'Spartan', sans-serif;
    font-size: 15px;
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--nw-pink-1);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--nw-pink-2);
}

/* ==========================================================================
   Categories Section
   ========================================================================== */
.networth-categories {
    padding: 60px 0;
    background: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    display: block;
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: var(--nw-pink-1);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.category-card .category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--nw-pink-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card .category-icon i {
    font-size: 24px;
    color: #fff;
}

.category-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--nw-dark-1);
    margin: 0 0 8px;
}

.category-card .category-count {
    font-family: 'Spartan', sans-serif;
    font-size: 13px;
    color: #888;
    margin: 0 0 5px;
}

.category-card .category-top {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--nw-pink-1);
    margin: 0;
}

/* Related Categories */
.networth-related-categories {
    padding: 50px 0;
    background: var(--nw-dark-1);
}

.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.categories-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: #fff;
    margin: 0;
}

.view-all-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--nw-pink-1);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all-link:hover {
    color: #fff;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--nw-pink-1);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.category-tag:hover {
    background: var(--nw-pink-1);
}

.category-tag .tag-name {
    font-family: 'Spartan', sans-serif;
    font-size: 14px;
}

.category-tag .tag-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    background: var(--nw-pink-1);
    padding: 2px 8px;
    border-radius: 10px;
}

.category-tag:hover .tag-count {
    background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.networth-pagination {
    margin-top: 40px;
    text-align: center;
}

.networth-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 8px;
}

.networth-pagination li {
    display: inline-block;
}

.networth-pagination a,
.networth-pagination span {
    display: inline-block;
    padding: 10px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.networth-pagination a {
    background: #fff;
    color: var(--nw-dark-1);
    border: 1px solid #ddd;
}

.networth-pagination a:hover {
    background: var(--nw-pink-1);
    color: #fff;
    border-color: var(--nw-pink-1);
}

.networth-pagination .current {
    background: var(--nw-pink-1);
    color: #fff;
    border: 1px solid var(--nw-pink-1);
}

.networth-pagination .dots {
    background: transparent;
    border: none;
    color: #999;
}

/* ==========================================================================
   Magazine Articles Section
   ========================================================================== */
.magazine-articles-card .card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.magazine-articles-card .title-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--nw-pink-1), var(--nw-pink-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magazine-articles-card .title-icon i {
    color: #fff;
    font-size: 16px;
}

.magazine-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.magazine-article-card {
    display: block;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #eee;
}

.magazine-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--nw-pink-1);
}

.magazine-article-card .article-thumbnail {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.magazine-article-card .article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.magazine-article-card:hover .article-img {
    transform: scale(1.05);
}

.magazine-article-card .article-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--nw-dark-1), var(--nw-dark-2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.magazine-article-card .article-placeholder i {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.3);
}

.magazine-article-card .article-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--nw-pink-1);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 12px;
}

.magazine-article-card .article-content {
    padding: 15px;
}

.magazine-article-card .article-content h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    line-height: 1.4;
    color: var(--nw-dark-1);
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.magazine-article-card .article-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #888;
    margin: 0;
}

.view-all-articles {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--nw-pink-1);
    text-decoration: none;
    transition: color 0.2s;
}

.view-all-articles:hover {
    color: var(--nw-dark-1);
}

.view-all-articles i {
    font-size: 12px;
}

@media (max-width: 767px) {
    .magazine-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    font-family: 'Spartan', sans-serif;
    font-size: 16px;
    color: #888;
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */
.networth-toc {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--nw-pink-1);
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toc-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--nw-pink-1), var(--nw-pink-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.toc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--nw-dark-1);
    flex: 1;
}

.toc-toggle {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    color: #666;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toc-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.toc-nav {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.toc-list li {
    counter-increment: toc-counter;
    margin-bottom: 10px;
}

.toc-list li:last-child {
    margin-bottom: 0;
}

.toc-list a {
    display: flex;
    align-items: center;
    font-family: 'Spartan', sans-serif;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.toc-list a::before {
    content: counter(toc-counter);
    width: 24px;
    height: 24px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.toc-list a:hover {
    background: #f8f9fa;
    color: var(--nw-pink-1);
}

.toc-list a:hover::before {
    background: var(--nw-pink-1);
    color: #fff;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.networth-faq-accordion .faq-item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 1px solid #eee;
}

.networth-faq-accordion .faq-item:last-child {
    border-bottom: none;
}

.networth-faq-accordion .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.networth-faq-accordion .faq-question span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--nw-dark-1);
    flex: 1;
    padding-right: 15px;
    transition: color 0.2s;
}

.networth-faq-accordion .faq-question i {
    color: var(--nw-pink-1);
    font-size: 14px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.networth-faq-accordion .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.networth-faq-accordion .faq-question:hover span {
    color: var(--nw-pink-1);
}

.networth-faq-accordion .faq-answer {
    padding-bottom: 20px;
}

.networth-faq-accordion .faq-answer p {
    font-family: 'Spartan', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.networth-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--nw-pink-1), var(--nw-pink-2));
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(233, 122, 156, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
}

.networth-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.networth-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(233, 122, 156, 0.5);
}

.networth-back-to-top i {
    color: #fff;
    font-size: 20px;
}

/* ==========================================================================
   Sticky Sidebar (Desktop)
   ========================================================================== */
@media (min-width: 992px) {
    .networth-sidebar {
        position: sticky;
        top: 30px;
    }
}

/* ==========================================================================
   Enhanced Biography Styling
   ========================================================================== */
.networth-biography p:first-of-type::first-letter {
    float: left;
    font-family: 'Cormorant Garamond', serif;
    font-size: 60px;
    line-height: 1;
    padding: 0 12px 0 0;
    color: var(--nw-pink-1);
    font-weight: 600;
}

/* ==========================================================================
   Smooth Scroll for TOC
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 991px) {
    .networth-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .networth-hero-info::before {
        margin-left: auto;
        margin-right: auto;
    }

    .networth-subtitle::before {
        display: none;
    }

    .networth-hero-photo .profile-photo,
    .profile-photo-placeholder {
        width: 180px;
        height: 180px;
    }

    .networth-hero-info h1 {
        font-size: 2.8em;
    }

    .networth-meta {
        justify-content: center;
    }

    .networth-social {
        justify-content: center;
    }

    .quick-facts-grid {
        grid-template-columns: 1fr;
    }

    .networth-badge {
        align-items: center;
    }
}

@media (max-width: 767px) {
    .networth-archive-hero h1,
    .networth-category-hero h1 {
        font-size: 2.5em;
    }

    .networth-hero-info h1 {
        font-size: 2em;
    }

    .networth-badge .networth-amount {
        font-size: 24px;
    }

    .filter-wrapper {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .categories-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .profile-image-wrapper .profile-image,
    .profile-placeholder {
        width: 140px;
        height: 140px;
    }

    .networth-card-item .card-image {
        height: 220px;
    }
}

@media (max-width: 575px) {
    .networth-hero {
        padding: 30px 0 40px;
    }

    .networth-archive-hero,
    .networth-category-hero {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .networth-card {
        padding: 20px;
    }

    .networth-card .card-title {
        font-size: 20px;
    }

    .career-timeline {
        padding-left: 25px;
    }
}
