/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding-top: 80px; /* Space for fixed navbar */
}

@media (max-width: 768px) {
    body {
        padding-top: 60px; /* Smaller space for mobile navbar */
    }
}

/* Header and Navbar Styles */
header {
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007bff;
}

/* ================================
   Browse Topics – Manual Carousel
   ================================ */

.category-browse {
    background-color: #f8f9fa;
    padding: 2rem 5%;
    border-bottom: 3px solid #FFD700;
    position: relative;
}

/* Header */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Controls */
.carousel-controls {
    display: flex;
    gap: 0.4rem;
}

.carousel-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #FFD700;
    background-color: #ffffff;
    color: #FFD700;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.25s ease;
}

.carousel-btn:hover {
    background-color: #FFD700;
    color: #1a1a1a;
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* ================================
   TRUE Carousel (NO slider)
   ================================ */

.category-carousel {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.6rem 0;
    scroll-behavior: smooth;

    /* Disable snapping */
    scroll-snap-type: none;

    /* Hide scrollbar */
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE / Edge */
}

.category-carousel::-webkit-scrollbar {
    display: none;               /* Chrome / Safari */
}

/* ================================
   Topic Pills
   ================================ */

.category-pill {
    flex-shrink: 0;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    border: 2px solid #e6e6e6;
    background-color: #ffffff;

    display: flex;
    align-items: center;
    gap: 0.5rem;

    white-space: nowrap;
    text-decoration: none;

    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;

    transition: all 0.25s ease;
}

.category-pill:hover {
    border-color: #FFD700;
    background: linear-gradient(135deg, #ffffff 0%, #fffbe6 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(255, 215, 0, 0.25);
}

/* Text */
.cat-name {
    font-size: 0.9rem;
}

.cat-count {
    font-size: 0.75rem;
    color: #777;
    font-weight: 600;
}

/* ================================
   Edge Fade (Premium UX)
   ================================ */

.category-browse::before,
.category-browse::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 2;
}

.category-browse::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.category-browse::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

/* ================================
   Mobile Tweaks
   ================================ */

@media (max-width: 768px) {
    .carousel-controls {
        display: none;
    }

    .category-pill {
        font-size: 0.85rem;
        padding: 0.55rem 1rem;
    }
}

/* Hero Introduction Section */
.intro-hero {
    position: relative;
    min-height: 700px;
    overflow: hidden;
}

/* Slides */
.hero-carousel {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

.hero-slide.active {
    opacity: 1;
}

/* Overlay Content */
.intro-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 6rem 5%;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dots .dot.active {
    background: #FFD700;
    transform: scale(1.2);
}
    
.intro-hero {
    position: relative;
    min-height: 700px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-pattern.png');
    opacity: 0.1;
    z-index: 1;
}

.intro-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 6rem 5%;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.intro-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: capitalize;
    letter-spacing: 1px;
    animation: titleFade 1s ease-out;
    line-height: 1.3;
}

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

.intro-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.4;
    animation: subtitleFade 1s ease-out 0.2s backwards;
}

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

.intro-description {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #e5e5e5;
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    animation: descFade 1s ease-out 0.4s backwards;
}

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

.intro-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    animation: ctaFade 1s ease-out 0.6s backwards;
}

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

.cta-button {
    background-color: #FFD700;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    background-color: #FFA500;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.cta-button-outline {
    background-color: transparent;
    color: #FFD700;
    padding: 1rem 2.5rem;
    border: 2px solid #FFD700;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button-outline:hover {
    background-color: #FFD700;
    color: #000;
    transform: translateY(-3px);
}

/* Home Page Styles */
.home-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #FFD700, #FFA500);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    margin-top: 1.5rem;
}

/* Two Column Layout */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Latest Blogs - Full Width Grid */
.latest-blogs-full {
    width: 100%;
    margin-bottom: 3rem;
}

.latest-blogs-full .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.latest-blogs-full .section-header h2 {
    font-size: 2.5rem;
}

/* Blog Grid - Responsive Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Blog Cards in Grid - Vertical Layout */
.blog-grid .blog-card {
    flex-direction: column;
    height: 100%;
}

.blog-grid .blog-image {
    width: 100%;
    height: 220px;
}

.blog-grid .blog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-grid .blog-content h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 2.8em;
}

.blog-grid .blog-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Latest Blogs - Left Column */
.latest-blogs {
    width: 100%;
}

.latest-blogs .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.latest-blogs .section-header h2 {
    font-size: 2rem;
}

.latest-blogs .section-header h2::after {
    left: 0;
    transform: translateX(0);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-item, .blog-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.blog-item:hover, .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-image {
    width: 280px;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-item:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.blog-meta span {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta i {
    color: #FFD700;
}

.read-more-link {
    display: none;
}

/* Featured Editorials - Right Column */
.featured-editorials {
    position: sticky;
    top: 2rem;
    height: fit-content;
    border-left: 2px solid #e0e0e0;
    padding-left: 2.5rem;
}

.featured-editorials .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.featured-editorials .section-header h2 {
    font-size: 1.6rem;
}

.featured-editorials .section-header h2::after {
    left: 0;
    transform: translateX(0);
}

.editorial-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.editorial-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.editorial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.editorial-image {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.editorial-card:hover .editorial-image img {
    transform: scale(1.08);
}

.editorial-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.editorial-content {
    padding: 1.2rem;
}

.editorial-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.editorial-content p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.editorial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
    border-top: 1px solid #eee;
}

.editorial-footer .date {
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.editorial-footer i {
    color: #FFD700;
}

.read-link {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.read-link:hover {
    color: #FFD700;
    transform: translateX(3px);
}

.read-link i {
    transition: transform 0.3s ease;
}

.read-link:hover i {
    transform: translateX(3px);
}

/* Latest News Section - Light Theme */
.news-section {
    margin-top: 5rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.news-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.news-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.news-header-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.news-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.news-header-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}

.news-header-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.view-all-news {
    background-color: #FFD700;
    color: #1a1a1a;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.view-all-news:hover {
    background-color: #FFA500;
    color: #1a1a1a;
    border-color: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.news-ticker-container {
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.featured-news {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.featured-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #FFD700;
}

.featured-news-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-news:hover .featured-news-image img {
    transform: scale(1.1);
}

.news-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.featured-news-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.featured-news-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #1a1a1a;
}

.featured-news-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

.news-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.news-date, .news-read-time {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-date i, .news-read-time i {
    color: #FFD700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.news-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #FFD700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
}

.news-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-left-color: #FFA500;
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-tag.launch {
    background-color: #e3f2fd;
    color: #1976d2;
}

.category-tag.policy {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.category-tag.industry {
    background-color: #e8f5e9;
    color: #388e3c;
}

.category-tag.technology {
    background-color: #fff3e0;
    color: #f57c00;
}

.news-time {
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
}

.news-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.quick-read {
    display: none;
}

/* Bottom Trio: Popular + Newsletter + Social */
.bottom-trio {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
    align-items: start;
}

/* Sponsored Posts */
.sponsored-posts {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.sponsored-posts h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
    justify-content: center;
}

.sponsored-posts h3 i {
    color: #FFD700;
    font-size: 2rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sponsored-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sponsored-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 0;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid #e9ecef;
    background: #ffffff;
    overflow: hidden;
}

.sponsored-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sponsored-item:hover::before {
    transform: scaleX(1);
}

.sponsored-item:hover {
    background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
}

.sponsored-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 3px 8px rgba(255, 165, 0, 0.3);
    z-index: 2;
}

.sponsored-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sponsored-item:hover img {
    transform: scale(1.05);
}

.sponsored-info {
    padding: 1.2rem;
    position: relative;
    z-index: 1;
}

.sponsored-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.sponsored-by {
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-style: normal;
    font-weight: 500;
}

.sponsored-by i {
    color: #FFD700;
    font-size: 0.8rem;
}

/* Newsletter Box - Home Page Styling */
.newsletter-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    padding: 2.5rem 2rem !important;
    border-radius: 12px !important;
    text-align: center !important;
    color: #1a1a1a !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    margin-top: 2rem !important;
    border: 2px solid #FFD700 !important;
    position: relative !important;
    overflow: hidden !important;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% 100%;
    animation: slide-shine 3s linear infinite;
}

@keyframes slide-shine {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.newsletter-box .newsletter-icon {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1.5rem !important;
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4) !important;
    position: relative !important;
    z-index: 10 !important;
    transition: all 0.3s ease;
}

.newsletter-box .newsletter-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.6) !important;
}

.newsletter-box .newsletter-icon i {
    font-size: 2rem !important;
    color: #1a1a1a !important;
}

.newsletter-box h3 {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.7rem !important;
    color: #1a1a1a !important;
    position: relative !important;
    z-index: 1 !important;
}

.newsletter-box p {
    font-size: 0.95rem !important;
    margin-bottom: 1.5rem !important;
    color: #6c757d !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    position: relative !important;
    z-index: 1 !important;
}

.newsletter-box .newsletter-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
    position: relative !important;
    z-index: 1 !important;
}

.newsletter-box .newsletter-form input {
    width: 100% !important;
    padding: 1rem 1.3rem !important;
    border: 2px solid #dee2e6 !important;
    border-radius: 50px !important;
    font-size: 0.95rem !important;
    background: white !important;
    color: #1a1a1a !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.newsletter-box .newsletter-form input::placeholder {
    color: #adb5bd !important;
}

.newsletter-box .newsletter-form input:focus {
    border-color: #FFD700 !important;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.15) !important;
    transform: none !important;
}

.newsletter-box .newsletter-form button {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #1a1a1a !important;
    border: none !important;
    width: 100% !important;
    padding: 1rem !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3) !important;
}

.newsletter-box .newsletter-form button:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5) !important;
}

.newsletter-box .newsletter-form button:active {
    transform: translateY(0) !important;
}

.newsletter-box .newsletter-note {
    font-size: 0.85rem !important;
    color: #6c757d !important;
    font-weight: 400 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Newsletter Responsive Styles */
@media (max-width: 768px) {
    .newsletter-box .newsletter-icon {
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .newsletter-box {
        padding: 2rem 1.5rem !important;
    }

    .newsletter-box h3 {
        font-size: 1.5rem !important;
    }

    .newsletter-box .newsletter-icon {
        width: 65px !important;
        height: 65px !important;
    }

    .newsletter-box .newsletter-icon i {
        font-size: 2rem !important;
    }

    .newsletter-box .newsletter-form {
        flex-direction: column !important;
        gap: 0.8rem !important;
    }

    .newsletter-box .newsletter-form button {
        width: 100% !important;
        height: 50px !important;
        border-radius: 50px !important;
        padding: 1rem !important;
    }
}

/* Responsive Styles for Sponsored and Social Sections */
@media (max-width: 768px) {
    .sponsored-posts,
    .social-feed {
        padding: 2rem;
    }

    .sponsored-posts h3,
    .social-feed h3 {
        font-size: 1.5rem;
    }

    .sponsored-item img {
        height: 180px;
    }

    .sponsored-info {
        padding: 1rem;
    }
}

    .sponsored-item img {
        height: 160px;
    }

    .sponsored-info {
        padding: 0.8rem;
    }

    .sponsored-badge {
        top: 10px;
        right: 10px;
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }
}

/* Social Feed Section */
.social-feed {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.social-feed h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.social-feed h3 i {
    color: #FFD700;
    margin-right: 0.5rem;
}

.social-links {
    display: block;
    width: 100%;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-card:last-child {
    margin-bottom: 2rem;
}

.social-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #dee2e6;
}

.social-card i {
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-card > div {
    flex: 1;
}

.social-card strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.social-card span {
    display: block;
    font-size: 0.875rem;
    color: #6c757d;
}

.social-card.instagram i {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    color: #fff;
}

.social-card.instagram strong {
    color: #e1306c;
}

.social-card.youtube i {
    background: #ff0000;
    color: #fff;
}

.social-card.youtube strong {
    color: #ff0000;
}

.social-card.twitter i {
    background: #1DA1F2;
    color: #fff;
}

.social-card.twitter strong {
    color: #1DA1F2;
}

.social-card.facebook i {
    background: #1877f2;
    color: #fff;
}

.social-card.facebook strong {
    color: #1877f2;
}


/* Responsive Design for Social Cards */
@media (max-width: 768px) {
    .social-links {
        grid-template-columns: 1fr;
    }

    .social-feed {
        padding: 1.5rem;
    }

    .social-feed h3 {
        font-size: 1.5rem;
    }

    .social-card {
        padding: 1rem;
    }
}

/* Instagram Feed Section */
.instagram-feed-section {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    padding: 4rem 5%;
    margin-top: 4rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.instagram-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.instagram-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.instagram-title-wrapper i {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.instagram-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.instagram-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.instagram-follow-btn i {
    font-size: 1.2rem;
}

.instagram-subtitle {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.instagram-content-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.content-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.content-tag:nth-child(1) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.content-tag:nth-child(2) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.content-tag:nth-child(3) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.content-tag:nth-child(4) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.content-tag:nth-child(5) {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.content-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.content-tag i {
    font-size: 1rem;
}

/* Instagram Embed Styles */
.instagram-main-embed {
    width: 100%;
    max-width: 100%;
    min-height: 600px;
    margin: 0 auto;
}

.instagram-main-embed .instagram-media {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

.instagram-main-embed img,
.instagram-main-embed video {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Blog List Page Styles */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.blog-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-form {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.search-form input,
.search-form select,
.search-form button {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.blog-list {
    display: grid;
    gap: 2rem;
}

.blog-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

/* Blog Details Page Styles */
.blog-details-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.post-comments, 
.related-posts {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.related-post-card {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        margin-top: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .search-form {
        flex-direction: column;
        align-items: center;
    }

    .intro-hero {
        min-height: 850px;
    }

    .intro-overlay {
        padding: 5rem 5%;
        min-height: 850px;
    }

    .intro-title {
        font-size: 2rem;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    .intro-subtitle {
        font-size: 1.5rem;
    }

    .intro-description {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .intro-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button, .cta-button-outline {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Blog Grid - Tablet: 2 columns */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .blog-grid .blog-image {
        height: 200px;
    }

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

    .blog-item {
        flex-direction: column;
        height: 100%;
    }

    .blog-image {
        width: 100%;
        height: 180px;
    }

    .blog-content {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .blog-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-meta {
        gap: 0.8rem;
        margin-bottom: 0.8rem;
        flex-wrap: wrap;
    }

    .blog-meta span {
        font-size: 0.75rem;
    }

    .read-more-link {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        margin-top: auto;
    }

    .featured-editorials {
        position: static;
        border-left: none;
        padding-left: 0;
        border-top: 2px solid #e0e0e0;
        padding-top: 2rem;
    }

    .news-header-content h2 {
        font-size: 1.5rem;
    }

    .news-header-content p {
        font-size: 0.85rem;
    }

    .news-header-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .view-all-news {
        align-self: stretch;
        justify-content: center;
        font-size: 0.9rem;
    }

    .featured-news {
        grid-template-columns: 1fr;
    }

    .featured-news-image {
        height: 250px;
    }

    .featured-news-content {
        padding: 1.5rem;
    }

    .featured-news-content h3 {
        font-size: 1.3rem;
    }

    .featured-news-content p {
        font-size: 0.9rem;
    }

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

    .news-card {
        padding: 1rem;
    }

    .news-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card p {
        font-size: 0.85rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .category-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-trio {
        grid-template-columns: 1fr;
    }

    .instagram-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .instagram-title-wrapper {
        width: 100%;
    }

    .instagram-follow-btn {
        width: 100%;
        justify-content: center;
    }

    .instagram-main-embed {
        min-height: 400px;
    }

    .content-tag {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .content-tag i {
        font-size: 0.85rem;
    }
}

/* Medium tablets 600px-768px */
@media screen and (min-width: 600px) and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .news-header-content h2 {
        font-size: 1.3rem;
    }

    .news-header-content p {
        font-size: 0.8rem;
    }

    .featured-news-content h3 {
        font-size: 1.1rem;
    }

    .featured-news-content p {
        font-size: 0.85rem;
    }

    .news-date, .news-read-time {
        font-size: 0.75rem;
    }

    .cta-button, .cta-button-outline {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        max-width: 250px;
    }

    /* Blog Grid - Mobile: 1 column for very small screens */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .blog-grid .blog-image {
        height: 180px;
    }

    .blog-grid .blog-content {
        padding: 1rem;
    }

    .blog-grid .blog-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .blog-grid .blog-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .blog-grid .blog-meta {
        flex-direction: row;
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .blog-grid .blog-meta span {
        font-size: 0.75rem;
    }

    .blog-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .blog-item {
        flex-direction: column;
        height: 100%;
    }

    .blog-image {
        height: 140px;
    }

    .blog-content {
        padding: 0.8rem;
    }

    .blog-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        -webkit-line-clamp: 2;
    }

    .blog-content p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
        -webkit-line-clamp: 2;
    }

    .blog-meta {
        flex-direction: column;
        gap: 0.3rem;
        align-items: flex-start;
    }

    .blog-meta span {
        font-size: 0.7rem;
    }

    .read-more-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        width: 100%;
        justify-content: center;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .news-card {
        padding: 0.8rem;
    }

    .news-card h4 {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .news-card p {
        font-size: 0.75rem;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }

    .news-card-header {
        margin-bottom: 0.6rem;
    }

    .category-tag {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }

    .quick-read {
        font-size: 0.75rem;
    }

    .instagram-header h2 {
        font-size: 1.5rem;
    }

    .instagram-subtitle {
        font-size: 0.95rem;
    }
}

/* Desktop - Larger screens 1024px+ */
@media screen and (min-width: 1024px) {
    /* Blog Grid - Desktop: 3-4 columns based on space */
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }

    .blog-grid .blog-image {
        height: 240px;
    }

    .blog-grid .blog-content h3 {
        font-size: 1.2rem;
    }

    .blog-grid .blog-content p {
        font-size: 0.95rem;
    }

    .news-header-content h2 {
        font-size: 2.2rem;
    }

    .news-header-content p {
        font-size: 1rem;
    }

    .featured-news-content h3 {
        font-size: 1.8rem;
    }

    .featured-news-content p {
        font-size: 1rem;
    }

    .news-card h4 {
        font-size: 1.05rem;
    }

    .news-card p {
        font-size: 0.9rem;
    }
}

/* Ultra-wide screens 1400px+ */
@media screen and (min-width: 1400px) {
    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}
