/* ================= LUXURY BLOG STYLES ================= */
.blog-hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    background: grey;
    display: flex;
    align-items: center;
    margin-top: 70px;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1613977257363-707ba9348227?ixlib=rb-4.0.3&w=1200') center/cover;
    opacity: 0.1;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: grey;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #0f2c59;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 50px;
    line-height: 1.6;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Featured Post */
.featured-post {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.featured-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f2c59;
    color: #ffd700;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(15, 44, 89, 0.3);
    z-index: 3;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-text {
    padding-right: 40px;
}

.featured-category {
    color: #ffd700;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.featured-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: black;
}

.featured-text p {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 30px;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd700;
}

.author-name {
    font-weight: 600;
    color: black;
    display: block;
    font-size: 1rem;
}

.author-title {
    font-size: 0.9rem;
    color: #6b7280;
}

.read-time {
    color: #6b7280;
    font-weight: 500;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0f2c59, #1a3d7c);
    color: white;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 44, 89, 0.3);
}

.featured-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 44, 89, 0.4);
    gap: 15px;
}

.featured-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: translateY(-5px);
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #0f2c59;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-overlay:hover {
    background: #0f2c59;
    color: white;
    transform: translateY(-2px);
}

/* Main Blog Content */
.blog-main {
    padding: 80px 20px;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: black;
    margin-bottom: 30px;
    position: relative;
}

.blog-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid #e6e6e6;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: grey;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 44, 89, 0.3);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.blog-card.premium {
    border: 2px solid #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #0f2c59;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.3) 100%);
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .card-overlay {
    opacity: 1;
}

.bookmark-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #0f2c59;
    font-size: 1rem;
}

.bookmark-btn:hover {
    background: #0f2c59;
    color: white;
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.category {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category.investment {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
}

.category.lifestyle {
    background: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #e1bee7;
}

.category.legal {
    background: #e8f5e8;
    color: #388e3c;
    border: 1px solid #c8e6c9;
}

.category.market {
    background: #fff3e0;
    color: #f57c00;
    border: 1px solid #ffe0b2;
}

.date {
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 500;
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #0f2c59;
    font-family: 'Playfair Display', serif;
}

.card-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 15px;
}

.author-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-mini img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd700;
}

.author-mini span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0f2c59;
}

.post-stats {
    display: flex;
    gap: 15px;
    color: #9ca3af;
    font-size: 0.85rem;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    background: linear-gradient(135deg, #0f2c59, #1a3d7c);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(15, 44, 89, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 44, 89, 0.4);
    gap: 12px;
}

/* Newsletter CTA */
.newsletter-cta {
    background: grey;
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 20px 40px rgba(15, 44, 89, 0.2);
}

.newsletter-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
}

.cta-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-form input {
    flex: 1;
    min-width: 250px;
    padding: 16px 20px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #0f2c59;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-form input:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}


.cta-form a{
    text-decoration: none;
}

.cta-form button {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #0f2c59;
    border: none;
    padding: 16px 30px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    gap: 12px;
}

.cta-content small {
    opacity: 0.7;
    font-size: 0.85rem;
}


.cta-content img{
    width: 50px;
    height: 50px;
    border-radius: 100px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .featured-text {
        padding-right: 0;
        text-align: center;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }
    
    .featured-meta {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        height: auto;
        min-height: 500px;
        padding: 100px 20px 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .blog-header h2 {
        font-size: 2.5rem;
    }
    
    .blog-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .cta-form {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-form input {
        min-width: 100%;
    }
    
    .newsletter-cta {
        padding: 40px 20px;
        border-radius: 20px;
    }
    
    .cta-content h3 {
        font-size: 2rem;
    }
    
    .featured-text h2 {
        font-size: 2rem;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badge {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .blog-header h2 {
        font-size: 2rem;
    }
    
    .featured-text h2 {
        font-size: 1.8rem;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
}

/* Animation for premium cards */
@keyframes premiumGlow {
    0%, 100% { box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4); }
}

.blog-card.premium {
    animation: premiumGlow 3s ease-in-out infinite;
}