/* HERO SECTION */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

.hero-section {
    padding: 60px 8%;
    background: #f4f7fb;
}

.hero-container {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr;
    gap: 30px;
}

/* LEFT BIG CARD */

.hero-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.hero-main:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.hero-main:hover img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
}

.hero-overlay h1 {
    margin-top: 15px;
    font-size: 28px;
    line-height: 1.3;
}

.hero-overlay p {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}

/* MIDDLE CARDS */

.hero-middle {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.middle-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    box-shadow: 0 6px 25px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.middle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.middle-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.middle-card h3 {
    padding: 15px;
    font-size: 16px;
    line-height: 1.4;
    color: #1c1c1c;
}

/* RIGHT LATEST NEWS */

.hero-latest {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.hero-latest:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.hero-latest h2 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #0d3b66;
    border-bottom: 3px solid #ff6b35;
    display: inline-block;
    padding-bottom: 5px;
}

.latest-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.latest-item:last-child {
    border-bottom: none;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ff6b35;
    border-radius: 50%;
    margin-top: 6px;
}

.date {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    letter-spacing: 1px;
}

.latest-item p {
    font-size: 14px;
    margin-top: 4px;
    color: #333;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .hero-section {
        padding: 40px 5%;
    }

    .hero-overlay h1 {
        font-size: 22px;
    }

    .hero-overlay p {
        font-size: 13px;
    }

    .middle-card img {
        height: 140px;
    }

}

/* CATEGORY BADGES */

.category {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    background: #000;   /* Black background */
    color: #fff;        /* White text */
    margin-bottom: 8px;
}

.category.small {
    font-size: 10px;
    padding: 3px 10px;
}

/* Smaller badge for right panel */
.category.small {
    font-size: 10px;
    padding: 4px 10px;
}

/* Middle content spacing */
.middle-content {
    padding: 15px;
}

/* POPULAR BLOGS SECTION */

.popular-blogs {
    padding: 70px 8%;
    background: #ffffff;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
}

/* GRID */

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* BLOG CARD */

.blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #ececec;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* IMAGE */

.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
}

/* CONTENT */

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #222;
}

/* META */

.meta {
    display: flex;
    justify-content: center;  /* 👈 Center meta as well */
    gap: 20px;
    font-size: 12px;
    color: #777;
    margin-bottom: 15px;
}


/* BUTTON */

.read-btn {
    display: inline-block;
    padding: 6px 18px;
    font-size: 12px;
    border: 1px solid #000;
    border-radius: 20px;
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
}

/* Center the button */
.blog-content {
    padding: 20px;
    text-align: center;   /* 👈 This centers everything inside */
}

.read-btn:hover {
    background: #000;
    color: #fff;
}


/* RESPONSIVE */

@media (max-width: 1100px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .blogs-grid {
        grid-template-columns: 1fr;
    }
}
/* CATEGORY BADGE ON IMAGE */

.blog-image {
    position: relative;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}
/* CATEGORY SECTION */

/* CATEGORY SECTION - EDITORIAL STYLE */

/* CATEGORY SECTION - PREMIUM EDITORIAL */

.category-section {
    padding: 100px 20px;
    background: #f4f4f4;   /* Light grey background */
}

/* NEW HEADER STYLE */

.category-header-new {
    text-align: center;
    margin-bottom: 70px;
}

.category-header-new .line {
    width: 60px;
    height: 2px;
    background: #000;
    margin: 0 auto 25px;
}

.category-header-new h2 {
    font-size: 48px;
    font-family: Georgia, serif;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.section-subtitle {
    font-size: 14px;
    letter-spacing: 1px;
    color: #777;
}

/* GRID */

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

/* CARD STYLE - CLEAN NO BORDERS */

.editorial-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 18px;
    transition: 0.4s ease;
}

.editorial-card h3 {
    font-size: 22px;
    font-family: Georgia, serif;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #111;
    transition: 0.3s;
}

.editorial-card h3:hover {
    text-decoration: underline;
}

.author {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

/* SEE MORE */

.see-more-wrap {
    text-align: center;
    margin-top: 80px;
}

.see-more-btn {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: #000;
    border-bottom: 1px solid #000;
    padding-bottom: 4px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .editorial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .category-header-new h2 {
        font-size: 34px;
    }
}
/* CTA SECTION */

.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #111, #222);
    color: #fff;
    text-align: center;
}

.cta-container {
    max-width: 700px;
    margin: auto;
}

.cta-section h2 {
    font-size: 36px;
    font-family: Georgia, serif;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 35px;
}

.cta-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-form input {
    padding: 14px 20px;
    width: 300px;
    border-radius: 30px;
    border: none;
    font-size: 14px;
}

.cta-form button {
    padding: 14px 28px;
    border-radius: 30px;
    border: none;
    background: #ffffff;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.cta-form button:hover {
    background: #ddd;
}

.cta-small-text {
    margin-top: 15px;
    font-size: 12px;
    color: #aaa;
}
/* TRENDING SECTION */

.trending-section {
    padding: 100px 20px;
    background: #ffffff;
    border-top: 1px solid #eee;
}

.trending-header h2 {
    font-size: 40px;
    font-family: Georgia, serif;
    margin-bottom: 60px;
    color: #111;
}

/* LAYOUT */

.trending-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

/* FEATURE */

.trending-feature img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
    transition: 0.4s ease;
}

.trending-feature img:hover {
    transform: scale(1.02);
}

.feature-content h3 {
    font-size: 26px;
    font-family: Georgia, serif;
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 14px;
    color: #666;
}

/* LIST */

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.trend-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.trend-item:last-child {
    border-bottom: none;
}

.trend-number {
    font-size: 28px;
    font-weight: 700;
    color: #ddd;
    font-family: Georgia, serif;
}

.trend-item h4 {
    font-size: 16px;
    line-height: 1.5;
    color: #111;
    transition: 0.3s;
}

.trend-item h4:hover {
    text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .trending-container {
        grid-template-columns: 1fr;
    }
}
/* EDITOR'S PICK SECTION */

.editors-section {
    padding: 110px 8%;
    background: #ffffff;
    border-top: 1px solid #eee;
}

/* HEADER */

.editors-header {
    text-align: center;
    margin-bottom: 70px;
}

.editors-header .line {
    width: 60px;
    height: 2px;
    background: #000;
    margin: 0 auto 25px;
}

.editors-header h2 {
    font-size: 44px;
    font-family: Georgia, serif;
    font-weight: 700;
    margin-bottom: 10px;
}

.editors-header p {
    font-size: 14px;
    color: #777;
    letter-spacing: 1px;
}

/* LAYOUT */

.editors-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

/* MAIN FEATURE */

.editors-main img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    margin-bottom: 25px;
}

.editors-main h3 {
    font-size: 28px;
    font-family: Georgia, serif;
    margin-bottom: 15px;
}

.editors-main p {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

/* SIDE ITEMS */

.editors-side {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.side-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.side-item img {
    width: 120px;
    height: 90px;
    object-fit: cover;
}

.side-item h4 {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.author {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .editors-container {
        grid-template-columns: 1fr;
    }

    .editors-main img {
        height: 250px;
    }
}
/* HEADER */

.main-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    color: #000;
    font-family: Georgia, serif;
}

/* NAVIGATION */

.nav-menu {
    display: flex;
}

.nav-menu a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #555;
}

/* MOBILE MENU */

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .header-container {
        padding: 15px 6%;
    }

    .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 30px 20px;
    transition: 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.08);
    overflow-y: auto;
}

    .nav-menu.active {
        right: 0;
    }

    .nav-menu > ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
    }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
        padding-left: 15px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
    }

}

/* FOOTER */

.main-footer {
    background: #111;
    color: #fff;
    padding: 80px 8% 40px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 14px;
    color: #bbb;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: #bbb;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #fff;
}

.social-icons a {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #bbb;
    font-size: 14px;
}

.social-icons a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 13px;
    color: #aaa;
}

@media (max-width: 768px) {

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .main-footer {
        padding: 50px 20px 30px;
    }

}

/* RESPONSIVE */

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* ========================= */
/* DROPDOWN FIXED VERSION */
/* ========================= */

.dropdown {
    position: relative;
}

/* Attach directly under parent */
.dropdown-menu {
    position: absolute;
    top: 100%;  /* THIS FIXES THE GAP */
    left: 0;
    background: #ffffff;
    list-style: none;
    padding: 15px 0;
    min-width: 220px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: none;
    flex-direction: column;
    z-index: 9999;
}

/* Remove extra padding gap */

.nav-menu > ul {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;   /* 🔥 This fixes vertical alignment */
}

.nav-menu > ul li {
    display: flex;
    align-items: center;   /* 🔥 Ensures perfect alignment */
}
.dropdown-menu li {
    padding: 8px 20px;
}

.dropdown-menu li a {
    display: block;
    text-decoration: none;
    color: #111;
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background: #f4f4f4;
}

/* SHOW DROPDOWN */
@media (min-width: 901px) {
    .dropdown:hover .dropdown-menu {
        display: flex;
    }
}
@media (max-width: 768px) {

    .trending-section {
        padding: 60px 5%;
    }

    .trending-header h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .trending-feature img {
        height: 200px;
    }

}
@media (max-width: 768px) {

    .editors-section {
        padding: 60px 5%;
    }

    .editors-header h2 {
        font-size: 28px;
    }

}
@media (max-width: 768px) {
    .category-section {
        padding: 60px 5%;
    }
}
@media (max-width: 768px) {

    .cta-section {
        padding: 60px 5%;
    }

    .cta-section h2 {
        font-size: 26px;
    }

    .cta-form input {
        width: 100%;
    }

}
/* ================= BREAKING TICKER ================= */

.breaking-ticker {
    background: #111;
    color: #fff;
    overflow: hidden;
    border-bottom: 1px solid #222;
}

.ticker-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 8%;
}

.breaking-label {
    background: #e10600;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    white-space: nowrap;
}

.ticker-wrapper {
    overflow: hidden;
    flex: 1;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: tickerScroll 25s linear infinite;
}

.ticker-content a {
    color: #fff;
    margin-right: 50px;
    text-decoration: none;
    font-size: 14px;
}

.ticker-content a:hover {
    text-decoration: underline;
}

/* Animation */
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile */
@media (max-width: 768px) {
    .ticker-container {
        padding: 10px 5%;
    }
}
/* ================= NEWSLETTER SECTION ================= */

.newsletter-section {
    padding: 120px 8%;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    text-align: center;
}

.newsletter-container {
    max-width: 700px;
    margin: auto;
}

.newsletter-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.newsletter-content p {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 16px 20px;
    width: 350px;
    border-radius: 40px;
    border: none;
    font-size: 14px;
    outline: none;
}

.newsletter-form button {
    padding: 16px 30px;
    border-radius: 40px;
    border: none;
    background: #3b82f6;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.newsletter-form button:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.newsletter-note {
    display: block;
    margin-top: 18px;
    font-size: 13px;
    color: #94a3b8;
}

/* Responsive */

@media (max-width: 768px) {

    .newsletter-section {
        padding: 80px 5%;
    }

    .newsletter-content h2 {
        font-size: 28px;
    }

    .newsletter-form input {
        width: 100%;
    }
}
.newsletter-message {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}