/*
 Theme Name:   GP News Pro Enhanced
 Theme URI:    https://samastipurnews.in/gp-news-pro/
 Description:  GeneratePress Child theme for mobile responsive news blog website. Using this child theme you can easily create a news website. This GeneratePress Child theme design by samastipurnews.in.
 Author:       SamastipurNews.in
 Author URI:   https://samastipurnews.in/author/
 Template:     generatepress
 Version:      1.5
*/

/* ✅ Advanced Typography: हिंदी + English Blend */
body, p, li, td, span {
    font-family: 'Hind', 'Noto Sans Devanagari', 'Mukta', 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #111;
    word-spacing: 0.05em;
    letter-spacing: 0.2px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Tiro Devanagari Hindi', 'Source Serif 4', 'Georgia', serif;
    font-weight: 700;
    color: #202020;
    line-height: 1.4;
    letter-spacing: 0.3px;
    background: none !important;
}

/* Title */
.entry-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    color: #111;
    margin-bottom: 20px;
    background: none !important;
}

/* Navigation */
.main-navigation {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    font-family: 'Hind', sans-serif;
}

/* Featured Image – Hover effect removed */
.page-header-image-single .attachment-full {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 15px;
    border-radius: 0;
    margin-bottom: 12px;
}

/* Post Headings */
.entry-content h2 {
    color: #111;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
    margin: 30px 0 20px;
    background: none !important;
    padding: 0;
    border-radius: 0;
}

.entry-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px;
    background: none !important;
}

/* Breadcrumb */
.rank-math-breadcrumb p {
    background: #e5e8ec;
    color: #000;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .rank-math-breadcrumb p {
        margin: 0 10px;
    }
}

/* Block Images – Hover effect removed */
.wp-block-image {
    padding: 10px 0 20px;
}

.wp-block-image img {
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #cfcfcf;
    padding: 4px;
    border-radius: 4px;
}

/* TOC */
#toc_container {
    background: #f8f9fa;
    border: 1px solid #aaa;
    padding: 0;
}

#toc_container li a {
    display: block;
    width: 100%;
    color: var(--link-text);
    padding: 10px 1em;
    border-top: 1px solid #aaa;
    transition: background 0.2s ease;
}
#toc_container li a:hover {
    background: #f1f1f1;
}

#toc_container span.toc_toggle {
    font-weight: 500;
    background: #fff;
    padding: 4px 20px;
    font-size: 18px;
    text-transform: capitalize;
    text-align: center;
    display: block;
}

/* Floating Social Share */
.samastipurnews-float-social-wrapper {
    position: fixed;
    top: 60%;
    transform: translateY(-50%);
    z-index: 9999;
}

.samastipurnews-float-social-sharing {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
    padding: 8px 12px;
    gap: 10px;
}

.samastipurnews-float-social-sharing svg {
    top: 0.4em;
}

/* Tag Cloud */
.widget_epcl_tag_cloud a,
.widget_tag_cloud a,
.wp-block-tag-cloud a {
    font-size: 13px !important;
    margin: 0 6px 8px 0;
    color: #444;
    display: inline-block;
    padding: 5px 16px;
    background: #fff;
    border: 1px solid #555;
    border-radius: 20px;
    transition: background 0.3s;
}
.widget_tag_cloud a:hover {
    background: #eee;
}

/* Responsive Typography */
@media only screen and (max-width: 768px) {
    body {
        font-size: 17px;
    }
    .entry-title {
        font-size: 24px;
    }
    .entry-content h2 {
        font-size: 20px !important;
    }
    .entry-content h3 {
        font-size: 17px;
    }
}
