/* ===== ARTICLE SYSTEM CSS ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    background: #f8fafc;
    color: #0b1120;
    line-height: 1.7;
}

.article-container {
    max-width: 780px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* ----- HEADER ----- */
.article-header {
    text-align: center;
    padding: 2rem 1rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}
.article-header h1 {
    font-size: 2.4rem;
    background: linear-gradient(135deg, #0b1120, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.article-header p {
    color: #64748b;
    font-size: 1.05rem;
    margin-top: 0.3rem;
}

/* ----- BACK LINK ----- */
.back-link {
    display: inline-block;
    color: #f59e0b;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.back-link:hover { text-decoration: underline; }

/* ----- ARTICLE HEADER (Single) ----- */
.article-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: #0b1120;
}
.article-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.article-category {
    background: #fef9e7;
    color: #b45309;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* ----- ARTICLE BODY ----- */
.article-body {
    font-size: 1.08rem;
    color: #1e293b;
}
.article-body p {
    margin-bottom: 1.2rem;
}
.article-body h2 {
    font-size: 1.5rem;
    margin: 2rem 0 0.8rem;
    color: #0b1120;
    border-left: 4px solid #f59e0b;
    padding-left: 0.8rem;
}
.article-body h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
    color: #1e293b;
}
.article-body ul, .article-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
}
.article-body li {
    margin-bottom: 0.5rem;
}
.article-body blockquote {
    border-left: 4px solid #2563eb;
    background: #eff6ff;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #1e40af;
}
.article-body strong {
    color: #0b1120;
    font-weight: 700;
}

/* ----- ARTICLE FOOTER ----- */
.article-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ----- ARTICLES LIST ----- */
.articles-list {
    display: grid;
    gap: 1.5rem;
}
.article-item {
    background: #fff;
    border-radius: 20px;
    padding: 1.8rem;
    border: 1px solid #e2e8f0;
    transition: 0.25s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.article-item:hover {
    border-color: #f59e0b;
    box-shadow: 0 8px 30px rgba(245,158,11,0.10);
    transform: translateY(-3px);
}
.article-item .item-category {
    background: #fef9e7;
    color: #b45309;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.article-item h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #0b1120;
    line-height: 1.3;
}
.article-item p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}
.article-item .item-meta {
    display: flex;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.8rem;
}
.article-item .read-more {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: inline-block;
}
/* ===== ARTICLE SHARE ===== */
.article-share {
    margin: 2.5rem 0 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 20px;
    text-align: center;
}
.article-share h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.share-btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
}
.share-wa { background: #25D366; }
.share-fb { background: #1877F2; }
.share-tw { background: #000; }
.share-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ===== RELATED ARTICLES ===== */
.related-articles-section {
    margin: 2rem 0;
}
.related-articles-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.related-list {
    display: grid;
    gap: 0.8rem;
}
.related-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: #fff;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}
.related-item:hover {
    border-color: #f59e0b;
    transform: translateX(4px);
}
.related-item span {
    font-size: 1.8rem;
}
.related-item h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.related-item p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* ===== ARTICLE SUBTITLE ===== */
.article-subtitle {
    font-size: 1rem;
    color: #64748b;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}
/* ===== FOOTER ===== */
.footer {
    margin-top: 60px;
    padding: 35px 20px 25px;
    background: #f7f3eb;
    color: #4b5563;
    text-align: center;
    border-top: 1px solid #e5ddd0;
    font-family: 'Outfit', sans-serif;
}

/* Footer Main Links */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 22px;
}

.footer-links a {
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #b45309;
    text-decoration: underline;
}

/* Footer Categories */
.footer-categories {
    max-width: 900px;
    margin: 0 auto 22px;
    padding: 15px 12px;
    font-size: 14px;
    line-height: 2;
    border-top: 1px solid #e5ddd0;
    border-bottom: 1px solid #e5ddd0;
}

.footer-categories a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-categories a:hover {
    color: #b45309;
    text-decoration: underline;
}

/* Copyright */
.footer p {
    margin: 8px auto;
    font-size: 13px;
    line-height: 1.7;
    color: #6b7280;
}

.footer p strong {
    color: #374151;
}

/* Description */
.footer .copy {
    max-width: 850px;
    margin: 12px auto 0;
    font-size: 12px;
    line-height: 1.8;
    color: #6b7280;
}
.homepage-sticky-ad {
    width: fit-content;
    max-width: 100%;

    margin: 28px auto;
    padding: 10px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #ffffff;

    border: 1px solid #ead9c8;
    border-radius: 16px;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.08),
        0 1px 4px rgba(181, 101, 59, 0.08);

    box-sizing: border-box;

    position: relative;

    /* Ad जितना space लेगा, box उतना ही रहेगा */
    height: auto;
}


/* हल्का ADVERTISEMENT label */
.homepage-sticky-ad::before {
    content: "ADVERTISEMENT";

    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;

    color: #aaa;
    background: #fff;

    padding: 0 7px;

    z-index: 2;
}


/* Mobile */
@media (max-width: 480px) {

    .homepage-sticky-ad {
        width: fit-content;
        max-width: calc(100% - 20px);

        margin: 24px auto;

        padding: 8px;

        border-radius: 14px;
    }
}

@media (max-width: 600px) {
    .footer {
        margin-top: 40px;
        padding: 30px 15px 22px;
    }

    .footer-links {
        gap: 7px 14px;
        margin-bottom: 18px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-categories {
        padding: 13px 8px;
        font-size: 13px;
        line-height: 2.2;
    }

    .footer p {
        font-size: 12px;
        line-height: 1.7;
    }

    .footer .copy {
        font-size: 11.5px;
        line-height: 1.8;
    }
}

/* ----- RESPONSIVE ----- */
@media (max-width: 600px) {
    .article-header h1 { font-size: 1.8rem; }
    .article-title { font-size: 1.5rem; }
    .article-body { font-size: 1rem; }
    .article-body h2 { font-size: 1.25rem; }
}