/*
 Theme Name:   GP News Pro
 Theme URI:    https://design.arofficial.org/gpnews/
 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 A(R)Official
 Author:       AROfficial.org
 Author URI:   https://design.arofficial.org
 Template:     generatepress
 Version:      1.3
*/

/* Main Navigation */
.main-navigation {
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.16);
}

/* Page Header Image */
.page-header-image-single .attachment-full {
    box-shadow: 0 7px 28px rgba(23, 43, 99, 0.3);
    border-radius: 16px;
    margin-bottom: -5px;
    transition: opacity 0.3s ease-in-out;
}

/* Entry Content */
.entry-content h2 {
    color: #fff;
    font-size: 20px !important;
    font-weight: bold;
    line-height: 1.4em;
    background-color: #d11919;
    padding: 10px 15px;
    border-radius: 8px;
}

/* Banner Ads */
.wplite-banner-ads {
    margin-bottom: 15px;
}

/* Breadcrumbs */
.rank-math-breadcrumb p {
    background: #e5e8ec;
    color: #000;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

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

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

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

/* Table of Contents */
#toc_container {
    background: #f9f9f9;
    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;
}

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

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

.wplitetheme-float-social-sharing {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 40px;
    font-size: 12px;
    padding: 5px 10px;
}

.wplitetheme-float-social-sharing svg {
    position: relative;
    top: 0.5em;
}

.wplitetheme-social-facebook,
.wplitetheme-social-twitter,
.wplitetheme-social-whatsapp {
    fill: #fff;
}

.wplitetheme-social-facebook {
    background-color: rgba(59, 89, 152, 1);
}

.wplitetheme-social-facebook:hover {
    background-color: rgba(59, 89, 152, 0.8);
}

.wplitetheme-social-twitter {
    background-color: #0f1419;
}

.wplitetheme-social-twitter:hover {
    background-color: #0f1419;
}

.wplitetheme-social-whatsapp {
    background-color: rgba(37, 211, 102, 1);
}

.wplitetheme-social-whatsapp:hover {
    background-color: rgba(37, 211, 102, 0.8);
}

/* Social Share */
.wpjankari-social-wrapper {
    margin: 5px;
    font-size: 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
}

.wpjankari-social-sharing {
    padding: 8px;
    margin: 4px;
    border-radius: 3px;
    flex: 1;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
}

.wpjankari-social-sharing:hover {
    transform: translateY(-3px);
    border: none;
    box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1), 0px 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media only screen and (max-width: 600px) {
    .wpjankari-social-sharing {
        display: inline-block;
    }
}

.wpjankari-social-sharing svg {
    position: relative;
    top: 0.15em;
}

.wpjankari-social-facebook,
.wpjankari-social-twitter,
.wpjankari-social-whatsapp,
.wpjankari-social-telegram,
.wpjankari-social-more {
    fill: #fff;
}

.wpjankari-social-facebook {
    background-color: rgba(59, 89, 152, 1);
}

.wpjankari-social-twitter {
    background-color: rgba(0, 0, 0);
}

.wpjankari-social-whatsapp {
    background-color: rgba(37, 211, 102, 1);
}

.wpjankari-social-telegram {
    background-color: rgb(2, 126, 189);
}

.wpjankari-social-more {
    background-color: rgba(0, 0, 0);
}

/* Tag Cloud */
.widget_epcl_tag_cloud a,
.widget_tag_cloud a,
.wp-block-tag-cloud a,
div.tags a {
    font-size: 12px !important;
    margin-bottom: 8px;
    margin-right: 8px;
    color: #333;
    display: inline-block;
    padding: 4px 15px;
    line-height: 1.2;
    background: #fff;
    border: 1px solid #333;
    border-radius: 25px;
}

/* Sticky Footer Menu */
@media only screen and (min-width: 960px) {
    .sticky-footer-menu {
        display: none !important;
    }
}

.sticky-footer-menu {
    position: fixed;
    height: 60px;
    width: 100%;
    bottom: 0;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.35);
}

/* Separator line between categories in off-canvas menu */
#generate-slideout-menu .menu-item {
    padding-bottom: 1px; /* Adjust spacing as needed */
    margin-bottom: 1px; /* Adjust spacing as needed */
}

#generate-slideout-menu .menu-item::after {
    content: '';
    display: block;
    width: calc(100% - -40px); /* Adjust width minus padding */
    border-bottom: 1px solid #FE2322; /* Adjust the color and style as needed */
    margin-top: 0px; /* Adjust spacing as needed */
    margin-left: -20px; /* Adjust spacing as needed */
}

#generate-slideout-menu .menu-item:last-child::after {
    display: none; /* Hide separator line on last item */
}