/* Modern USA News Style Guide */
:root {
    --primary-color: #0d1b2a;
    /* Sleek Dark Blue */
    --accent-color: #e63946;
    /* Vibrant Red */
    --accent-blue: #457b9d;
    --text-dark: #1b263b;
    --text-muted: #778da9;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --max-width: 1400px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    font-size: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 95%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Header Styles */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.logo img {
    height: 115px;
    width: auto;
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    width: 180px;
    transition: var(--transition);
}

.search-bar input:focus {
    width: 250px;
    border-color: var(--primary-color);
}

.btn-subscribe {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
}

.btn-subscribe:hover {
    background: var(--accent-color);
}

/* Mobile Nav */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
        /* Hide for mobile */
    }

    .mobile-toggle {
        display: block;
    }
}

/* Hero Section / Slider */
.breaking-news {
    background: var(--text-dark);
    color: var(--white);
    padding: 10px 0;
    margin-bottom: 20px;
}

.breaking-ticker {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ticker-label {
    background: var(--accent-color);
    padding: 8px 20px;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 10px 0 20px rgba(0, 0, 0, 0.2);
}

.ticker-wrap {
    flex: 1;
    overflow: hidden;
    padding-left: 20px;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
    padding-left: 100%;
    /* Start from outside right */
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Hero Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.main-featured {
    position: relative;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
}

.main-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.featured-cat {
    background: var(--accent-color);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: bold;
    width: fit-content;
    margin-bottom: 10px;
}

.featured-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 800;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 5;
}

.slider-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Sidebar Widgets */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.widget {
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-top: 4px solid var(--primary-color);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.slider-dots .dot {
    transition: var(--transition);
}

.slider-dots .dot.active {
    background: var(--accent-color) !important;
    width: 20px !important;
    border-radius: 4px !important;
}

.top-story-mini:hover {
    border-color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.trending-item:last-child {
    border: 0;
    margin-bottom: 0;
}

.trending-num {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    color: #edf2f4;
    -webkit-text-stroke: 1px #dee2e6;
}

.trending-detail a {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-detail a:hover {
    color: var(--accent-color);
}

/* Ad Containers */
.ad-slot {
    background: #fdfdfd;
    border: 1px dashed #ced4da;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 12px;
    font-weight: bold;
    margin: 30px 0;
    min-height: 100px;
    position: relative;
    border-radius: 8px;
}

.ad-slot::before {
    content: 'SPONSORED ADVERTISEMENT';
    position: absolute;
    top: -10px;
    left: 10px;
    background: white;
    padding: 0 10px;
    font-size: 10px;
}

/* News Cards */
.section-title {
    font-size: 1.8rem;
    margin-bottom: 0;
    position: relative;
    padding-bottom: 5px;
}

.view-all {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.news-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card-img {
    height: 200px;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-tag {
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0;
    font-weight: 700;
}

.card-title a {
    color: var(--text-dark);
    transition: var(--transition);
}

.card-title a:hover {
    color: var(--accent-color);
}

.card-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* Category Sections */
.category-section {
    padding: 50px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.section-head .section-title {
    padding-bottom: 0;
}

.section-head .section-title::after {
    display: none;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

footer {
    background: #111;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
    display: block;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border-radius: 4px;
    border: none;
}

.newsletter-form btn {
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 14px;
    color: #888;
}

/* Single Post Page */
.post-header {
    margin-bottom: 30px;
}

.post-cat {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 15px;
}

.post-title-main {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.post-meta-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 20px;
    font-size: 14px;
}

.post-meta-main>span {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.post-featured-img {
    margin: 30px 0;
}

.post-featured-img img {
    width: 100%;
    border-radius: 12px;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 25px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    margin: 30px 0;
}

.btn-share {
    padding: 8px 15px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
}

.fb {
    background: #3b5998;
}

.tw {
    background: #1da1f2;
}

.wa {
    background: #25d366;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .header-top {
        flex-direction: row;
        justify-content: space-between;
    }

    .header-right {
        display: none;
    }

    .mobile-search-toggle {
        display: block !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .main-featured {
        height: 300px;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .post-layout {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .post-title-main {
        font-size: 2.2rem;
    }

    .post-meta-main {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    padding: 40px 20px;
    transition: 0.4s;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-nav-overlay.active {
    left: 0;
}

.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-links li {
    margin-bottom: 20px;
}

.mobile-menu-links a {
    font-size: 20px;
    font-weight: 700;
}

.overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
}

.overlay-bg.active {
    display: block;
}

/* Newsletter Section Home */
.home-newsletter {
    background: #edf2f4;
    padding: 60px 0;
    text-align: center;
    border-radius: 15px;
    margin: 40px 0;
}

.home-newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.home-newsletter p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.home-newsletter form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

@media (max-width: 576px) {
    .home-newsletter form {
        flex-direction: column;
    }

    .home-newsletter h2 {
        font-size: 1.8rem;
    }
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .sidebar {
        margin-top: 40px;
    }

    .news-grid,
    .grid-3,
    .grid-4,
    .top-stories-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 15px 0;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .nav-menu {
        display: none !important;
    }

    .header-right {
        display: none !important;
    }

    .news-grid,
    .grid-3,
    .grid-4,
    .top-stories-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .main-featured-container {
        height: 350px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Specific Section Responsiveness */
@media (max-width: 992px) {
    .all-recent-stories-section .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .trending-reports-section .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .all-recent-stories-section .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    .trending-reports-section .news-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    .category-section .grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .logo img {
        height: 105px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    .category-section .grid-3,
    .grid-3-resp,
    .grid-4-resp {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .logo img {
        height: 75px;
    }
}


/* Enhanced Section Grids */
.grid-2-resp {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 30px;
}

.grid-3-resp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.grid-4-resp {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .grid-2-resp {
        grid-template-columns: 1fr !important;
    }

    .grid-3-resp {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .grid-4-resp {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .market-chart-container {
        height: 400px !important;
    }
}

@media (max-width: 768px) {

    .grid-3-resp,
    .grid-4-resp {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    .top-10-live .grid-2-resp {
        grid-template-columns: 1fr !important;
    }

    .market-chart-container {
        height: 350px !important;
    }
}

/* Clean end of file */

/* Post Page Premium Styles */
.post-container {
    margin-top: 60px;
    padding-bottom: 100px;
}

.post-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 50px;
}

.post-title-main {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #0f172a;
    margin-bottom: 25px;
}

.post-header {
    margin-bottom: 20px;
}

.post-meta-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 0;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #f1f5f9;
}

.author-name {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
}

.post-info {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

.share-btns {
    display: flex;
    gap: 10px;
}

.share-btn {
    border: 0;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: white;
    transition: 0.3s;
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.share-btn.fb {
    background: #1877f2;
}

.share-btn.tw {
    background: #1da1f2;
}

.post-featured-img {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.post-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content {
    color: #334155;
    font-size: 1.25rem;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
}

.post-summary {
    background: #f8fafc;
    border-left: 5px solid var(--accent-color);
    padding: 30px;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    margin-bottom: 40px;
    color: #475569;
    font-weight: 500;
}

/* Post Page Responsiveness */
@media (max-width: 992px) {
    .post-layout {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .post-title-main {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .post-container {
        padding-top: 20px;
        /* slightly less on phones */
    }

    .post-title-main {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .post-meta-main {
        padding: 15px 0;
    }

    .post-content {
        font-size: 1.15rem;
    }

    .post-summary {
        padding: 20px;
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .post-featured-img {
        border-radius: 12px;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .post-title-main {
        font-size: 1.7rem;
    }

    .share-btns {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .share-btn {
        text-align: center;
        padding: 10px 5px;
    }
}

/* Main Content Wrapper Spacing */
.main-content {
    padding-top: 20px;
    min-height: calc(100vh - 400px);
}

@media (max-width: 992px) {
    .main-content {
        padding-top: 15px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding-top: 10px;
    }
}

/* Modern Footer Premium Styles */
.modern-footer {
    background: #011627;
    color: #fff;
    padding: 100px 0 0 0;
    font-family: 'Outfit', sans-serif;
    position: relative;
    overflow: hidden;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e63946, #00A3FF, #e63946);
    background-size: 200% 100%;
    animation: gradientMove 5s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 80px;
}

.footer-logo img {
    height: 120px;
    width: auto;
    margin-bottom: 30px;
    filter: brightness(1.1);
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 35px;
}

.footer-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #fff;
    letter-spacing: -0.5px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 3px;
    background: #00A3FF;
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s !important;
}

.footer-links a:hover {
    color: #00A3FF;
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff !important;
    font-size: 18px;
    transition: 0.4s;
}

.social-icon:hover {
    background: #00A3FF !important;
    border-color: #00A3FF !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 163, 255, 0.2);
}

.footer-newsletter {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s;
}

.footer-newsletter:focus-within {
    border-color: #00A3FF;
    background: rgba(255, 255, 255, 0.05);
}

.footer-newsletter input {
    flex: 1;
    background: transparent;
    border: 0;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.footer-newsletter button {
    background: #00A3FF;
    color: #fff;
    border: 0;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}

.footer-newsletter button:hover {
    background: #0082cc;
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-copyright {
    color: #64748b;
    font-size: 14px;
}

.footer-copyright .brand {
    color: #fff;
    font-weight: 700;
}

.footer-credits {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.footer-credits .dev-link {
    color: #00A3FF;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
}

.footer-credits .dev-link:hover {
    color: #fff;
    text-shadow: 0 0 10px #00A3FF;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Rich Text Editor Content Styles - Override Inline Styles */
.post-content p {
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: normal !important;
    border: none !important;
}

.post-content p br {
    display: block;
    content: "";
    margin-top: 10px;
}

.post-content a {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
    transition: 0.3s;
}

.post-content a:hover {
    color: var(--primary-color) !important;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin: 30px 0 15px 0 !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    font-family: 'Outfit', sans-serif !important;
    line-height: 1.3 !important;
}

.post-content h2 {
    font-size: 1.8rem !important;
}

.post-content h3 {
    font-size: 1.5rem !important;
}

.post-content div,
.post-content span {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

/* Fix sticky header overlap */
body {
    padding-top: 0 !important;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}

/* Ensure main content doesn't hide behind header */
.trending-cats {
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .post-content p {
        font-size: 1.05rem !important;
        line-height: 1.7 !important;
    }
}