/**
 * Bangladeshi Professional News Portal Stylesheet
 * Custom Crafted for vknews24.com
 * Authentic Human Newspaper Design - Zero AI vibe
 */

/* 1. Global Typography: Hind Siliguri for authentic Bengali news reading */
body, 
button, 
input, 
select, 
textarea, 
.font-1, 
.font-text, 
.post-content, 
.post-text, 
.post-summary, 
.newsticker, 
.top-bar, 
.main-menu, 
.nav-main {
    font-family: 'Hind Siliguri', 'SolaimanLipi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings: Crisp Bengali Newspaper Serif / Semi-Bold Sans */
h1, h2, h3, h4, h5, h6,
.title, 
.post-title, 
.widget-title, 
.section-head .title, 
.category-label {
    font-family: 'Hind Siliguri', 'Noto Serif Bengali', serif, sans-serif !important;
    letter-spacing: -0.01em;
}

/* 2. Top Info Bar (Bangladeshi News Standard) */
.bd-news-top-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
    padding: 7px 0;
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.5;
}

body.dark-mode .bd-news-top-bar {
    background-color: #1a1e24;
    border-bottom: 1px solid #2d3748;
    color: #cbd5e1;
}

.top-bar-left-side {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-news-date-widget {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.top-date-item i, .top-edition-item i {
    margin-right: 4px;
    color: #dc2626;
}

.top-date-sep {
    color: #9ca3af;
    font-weight: 300;
}

.top-gnews-pill {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #1f2937 !important;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2px 9px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

body.dark-mode .top-gnews-pill {
    background: #242b35;
    border-color: #374151;
    color: #e5e7eb !important;
}

.top-gnews-pill:hover {
    background: #fee2e2;
    border-color: #ef4444;
    color: #b91c1c !important;
    transform: translateY(-1px);
}

/* 3. Header Branding & Banner Area */
.logo-banner {
    padding: 16px 0;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

body.dark-mode .logo-banner {
    background: #14171c;
    border-bottom: 1px solid #232832;
}

.logo-banner .logo {
    max-height: 65px;
    width: auto;
    object-fit: contain;
}

/* 4. Breaking News Ticker (সদ্যপ্রাপ্ত সংবাদ / শিরোনাম) */
.section-newsticker, .news-ticker-cnt {
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
    border-bottom: 2px solid #e5e7eb;
    padding: 8px 0;
}

body.dark-mode .section-newsticker, body.dark-mode .news-ticker-cnt {
    background: #181d24;
    border-color: #2b3340;
}

.newsticker-title, .news-ticker-title {
    background: #dc2626 !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14.5px;
    padding: 5px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    text-transform: none !important;
}

.newsticker li a {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    transition: color 0.15s ease;
}

body.dark-mode .newsticker li a {
    color: #e2e8f0;
}

.newsticker li a:hover {
    color: #dc2626 !important;
    text-decoration: underline;
}

/* 5. Single Article Page: Authentic Bangladeshi Journalism Layout */
.post-title {
    font-size: 32px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 15px 0 12px 0 !important;
}

body.dark-mode .post-title {
    color: #f9fafb !important;
}

/* Post Summary (Description) - Clean newspaper lead style without any red line */
.post-summary,
.post-content .post-summary,
.post-content .post-summary h2,
.post-content h2.post-summary,
h2.post-summary,
.post-text blockquote.post-summary {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #374151 !important;
    font-weight: 500 !important;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: none !important;
    padding: 0 0 8px 0 !important;
    margin: 10px 0 16px 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.dark-mode .post-summary,
body.dark-mode .post-content .post-summary,
body.dark-mode .post-content .post-summary h2,
body.dark-mode .post-content h2.post-summary {
    background: transparent !important;
    color: #cbd5e1 !important;
    border: none !important;
    border-left: none !important;
}

@media (max-width: 767px) {
    .post-summary,
    .post-content .post-summary,
    .post-content .post-summary h2,
    .post-content h2.post-summary {
        font-size: 16.5px !important;
        line-height: 1.55 !important;
        margin: 8px 0 14px 0 !important;
        padding: 0 !important;
        border: none !important;
        border-left: none !important;
    }
}

.post-details-meta {
    padding: 10px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 22px;
}

body.dark-mode .post-details-meta {
    border-color: #2b3340;
    color: #94a3b8;
}

.post-author-meta a, .item-meta-author a {
    color: #111827;
    font-weight: 600;
}

body.dark-mode .post-author-meta a, body.dark-mode .item-meta-author a {
    color: #f1f5f9;
}

/* Article Reading Typography - Human Journalism Professional Spacing */
.post-text {
    font-size: 17.5px !important;
    line-height: 1.68 !important;
    color: #1f2937 !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
}

body.dark-mode .post-text {
    color: #e2e8f0 !important;
}

.post-text p {
    margin-bottom: 14px !important;
    text-align: left !important;
    text-justify: none !important;
    line-height: 1.68 !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
}

@media (max-width: 767px) {
    .post-text {
        font-size: 16.5px !important;
        line-height: 1.65 !important;
    }
    .post-text p {
        margin-bottom: 13px !important;
        text-align: left !important;
        line-height: 1.65 !important;
    }
}

.post-text h2, .post-text h3 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 30px 0 14px 0 !important;
    padding-bottom: 6px;
    border-bottom: 2px solid #fee2e2;
}

body.dark-mode .post-text h2, body.dark-mode .post-text h3 {
    color: #f3f4f6 !important;
    border-bottom-color: #374151;
}

.post-text blockquote {
    border-left: 4px solid #dc2626;
    padding: 12px 20px;
    margin: 22px 0;
    background: #fff5f5;
    font-size: 19px;
    font-style: italic;
    color: #991b1b;
    border-radius: 0 8px 8px 0;
}

body.dark-mode .post-text blockquote {
    background: #251c1c;
    color: #fca5a5;
    border-left-color: #ef4444;
}

/* 6. High-Converting Google News Follow Banner inside Articles */
.google-news-follow-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

body.dark-mode .google-news-follow-card {
    background: linear-gradient(135deg, #1b2028 0%, #161a20 100%);
    border-color: #333c4a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.google-news-follow-card:hover {
    border-color: #ea4335;
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.12);
    transform: translateY(-1px);
}

.gnews-card-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gnews-icon-badge {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

body.dark-mode .gnews-icon-badge {
    background: #242c37;
}

.gnews-text-content h4 {
    margin: 0 0 3px 0;
    font-size: 16.5px;
    font-weight: 700;
    color: #111827;
}

body.dark-mode .gnews-text-content h4 {
    color: #f9fafb;
}

.gnews-text-content p {
    margin: 0;
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.4;
}

body.dark-mode .gnews-text-content p {
    color: #94a3b8;
}

.gnews-btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #b91c1c !important;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(185, 28, 28, 0.35);
    transition: all 0.2s ease;
}

.gnews-btn-action:hover {
    background: #991b1b !important;
    transform: scale(1.03);
    color: #ffffff !important;
}

@media (max-width: 600px) {
    .google-news-follow-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .gnews-btn-action {
        width: 100%;
        justify-content: center;
    }
}

/* 7. Bangladeshi Newspaper Professional Human Newsroom Footer */
.bd-newspaper-footer {
    background: #111827;
    color: #d1d5db;
    padding: 40px 0 0 0;
    border-top: 4px solid #dc2626;
    font-size: 14px;
    line-height: 1.7;
}

.bd-newspaper-footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s ease;
}

.bd-newspaper-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-editor-card {
    background: #1f2937;
    border-left: 3px solid #dc2626;
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 24px;
}

.footer-editor-card h4 {
    color: #ffffff;
    font-size: 16.5px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.footer-editor-card p {
    margin: 0;
    font-size: 14px;
    color: #cbd5e1;
}

.footer-address-block {
    margin-bottom: 24px;
}

.footer-address-block h5 {
    color: #f3f4f6;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-address-block h5 i {
    color: #ef4444;
}

.footer-trust-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid #374151;
    border-bottom: 1px solid #374151;
}

.footer-trust-links a {
    color: #e5e7eb;
    font-weight: 500;
}

.footer-bottom-copyright {
    background: #0b0f17;
    padding: 18px 0;
    margin-top: 30px;
    font-size: 13px;
    color: #9ca3af;
    border-top: 1px solid #1f2937;
}

/* 8. Bangladeshi Newspaper Grid Highlights */
.lead-news-headline {
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #111827 !important;
}

body.dark-mode .lead-news-headline {
    color: #f9fafb !important;
}

.lead-news-headline:hover {
    color: #dc2626 !important;
}

.badge-category {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 3px !important;
}

/* 9. Modern Professional Share Bar - Guaranteed 1-Line on Mobile & Desktop */
.bd-modern-share-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 16px 0 22px 0;
    padding: 10px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.bd-modern-share-bar::-webkit-scrollbar {
    display: none;
}

body.dark-mode .bd-modern-share-bar {
    border-top-color: #262f3d;
    border-bottom-color: #262f3d;
}

.bd-modern-share-bar .share-label {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

body.dark-mode .bd-modern-share-bar .share-label {
    color: #94a3b8;
}

.share-buttons-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap !important;
    flex-shrink: 0;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: relative;
    flex-shrink: 0;
    padding: 0 !important;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    color: #ffffff !important;
}

.share-facebook { background-color: #1877f2; }
.share-whatsapp { background-color: #25d366; }
.share-twitter { background-color: #0f1419; }
.share-linkedin { background-color: #0a66c2; }
.share-copy { background-color: #475569; }

.share-copy.copied {
    background-color: #10b981 !important;
}

.share-copy .copy-tooltip {
    display: none;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: #ffffff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

/* 10. Centered Verified Author Profile Box */
.bd-author-profile-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 26px 20px 22px 20px;
    margin: 28px 0;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    width: 100%;
}

body.dark-mode .bd-author-profile-box {
    background: #1a202c;
    border-color: #2d3748;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.bd-author-avatar-wrap {
    margin: 0 auto 12px auto;
    width: 95px;
    height: 95px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bd-author-img {
    width: 95px;
    height: 95px;
    border-radius: 50% !important;
    object-fit: cover;
    border: 3px solid #f1f5f9;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: block;
    margin: 0 auto;
}

.bd-author-img:hover {
    transform: scale(1.03);
    border-color: #0284c7;
}

.bd-author-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bd-author-name {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bd-author-name a {
    color: #0f172a;
    text-decoration: none;
}

body.dark-mode .bd-author-name a {
    color: #f8fafc;
}

.bd-author-name a:hover {
    color: #dc2626;
}

.bd-verified-badge {
    vertical-align: middle;
    flex-shrink: 0;
}

.bd-author-role {
    font-size: 13.5px;
    font-weight: 600;
    color: #0369a1 !important;
    margin-bottom: 10px;
}

body.dark-mode .bd-author-role {
    color: #38bdf8 !important;
}

.bd-author-bio {
    font-size: 14.5px;
    line-height: 1.65;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 14px auto;
    text-align: center !important;
}

body.dark-mode .bd-author-bio {
    color: #94a3b8;
}

.bd-author-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

.bd-author-social-links .social-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

body.dark-mode .bd-author-social-links .social-icon-btn {
    background: #2a3340;
    color: #cbd5e1;
}

.bd-author-social-links .social-icon-btn:hover {
    background: #0284c7;
    color: #ffffff;
    transform: translateY(-2px);
}

/* 11. Subtle Rounded Corners for Featured & Post Images (হালকা রাউন্ড সেইভ) */
.post-image,
.post-image img,
.post-image-inner,
.post-image-inner img,
.post-content .post-image,
.post-content .post-image img,
.post-details-image,
.post-details-image img,
.post-item-image,
.post-item-image img,
.post-item .image,
.post-item .image img,
.section-featured .item,
.section-featured .item img,
.section-featured .col-featured-left .item,
.section-featured .col-featured-left .item img,
.section-featured .col-featured-right .item,
.section-featured .col-featured-right .item img,
.post-item-mid .post-item-image,
.post-item-mid .post-item-image img,
.post-item-small .post-item-image,
.post-item-small .post-item-image img,
.top-headlines .item img,
.f-random-list .list-left img,
.section-videos .video-large .image img,
.slider-container img {
    border-radius: 8px !important;
}

/* 12. Hide Next & Prev Article section */
#postNextPrevContainer,
.post-next-prev,
.bn-post-nav,
.post-navigation {
    display: none !important;
}

/* 13. WCAG AA High Contrast Color Rules (Accessibility Optimization) */
.post-meta,
.post-meta span,
.post-meta a,
.small-post-meta,
.small-post-meta span,
.small-post-meta a,
.post-details-meta,
.post-details-meta span,
.post-details-meta a,
.item-meta,
.item-meta span,
.item-meta a,
.post-meta .m-r-0,
.f-random-list .title,
.post-author-meta a {
    color: #475569 !important;
}

.bd-author-bio {
    color: #334155 !important;
}

/* High contrast on image overlay banners & sliders */
.main-slider .caption .post-meta,
.main-slider .caption .post-meta span,
.main-slider .caption .post-meta a,
.col-featured-right .caption .post-meta,
.col-featured-right .caption .post-meta span,
.col-featured-right .caption .post-meta a {
    color: #f8fafc !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9) !important;
}

/* Dark mode accessible contrast */
body.dark-mode .post-meta,
body.dark-mode .post-meta span,
body.dark-mode .post-meta a,
body.dark-mode .small-post-meta,
body.dark-mode .small-post-meta span,
body.dark-mode .small-post-meta a,
body.dark-mode .post-details-meta,
body.dark-mode .post-details-meta span,
body.dark-mode .post-details-meta a,
body.dark-mode .item-meta,
body.dark-mode .item-meta span,
body.dark-mode .item-meta a,
body.dark-mode .post-meta .m-r-0 {
    color: #cbd5e1 !important;
}

body.dark-mode .bd-author-bio {
    color: #e2e8f0 !important;
}
