/*
 Theme Name:   GP Samachar Pro
 Theme URI:    https://wplitetheme.com/gp-samachar-pro/
 Description:  GeneratePress Child Theme for Mobile responsive News Website. Using this child theme you can easily create any type of News Website. This GeneratePress Child theme design by wplitetheme.com
 Author:       WPLiteTheme.com
 Author URI:   https://wplitetheme.com
 Template:     generatepress
 Version:      1.1
*/

/* -------------------------------------------------------------
 * 0. Global CSS Variables
 * ----------------------------------------------------------- */
:root {
    --gb-container-width: 1200px;
}

/* -------------------------------------------------------------
 * 1. Base Layout & Fluid Sizing
 * ----------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}
body {
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.main-navigation {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 4px;
}
.site-content .content-area {
    margin-top: 35px;
}
.offside-js--is-open .slideout-overlay {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
}

/* -------------------------------------------------------------
 * 2. Horizontal Scroll Menu (Category Chips)
 * ----------------------------------------------------------- */
.inb-scroll-menu {
    background: #ffffff;
    display: block !important;
    color: #111111;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    position: relative;
    z-index: 999;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.inb-scroll-menu::-webkit-scrollbar {
    display: none;
}
.inb-scroll-menu a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.inb-scroll-menu a:active {
    transform: scale(0.96);
}

/* -------------------------------------------------------------
 * 3. Sticky Sidebar & Containers
 * ----------------------------------------------------------- */
.auto-width.gb-query-loop-wrapper {
    flex: 1;
}
@media (min-width: 768px) {
    .sticky-container > .gb-inside-container,
    .sticky-container {
        position: sticky;
        top: 150px;
    }
    #right-sidebar .inside-right-sidebar {
        height: 100%;
    }
}
select#wp-block-categories-1 {
    width: 100%;
}

/* -------------------------------------------------------------
 * 4. Touch Targets & Accessibility (Min 44px Standard)
 * ----------------------------------------------------------- */
.menu-toggle {
    z-index: 10003;
    position: relative;
    min-height: 44px;
    min-width: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    cursor: pointer;
}
.menu-toggle .custom-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.menu-toggle .custom-menu-icon svg {
    height: 1.6em;
    width: 1.6em;
}

/* Pagination touch friendly targets */
.gb-query-loop-pagination a,
.gb-query-page-numbers nav a,
.page-numbers {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

/* Off-canvas Slideout menu touch targets */
.slideout-navigation {
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
}
.slideout-navigation.main-navigation .main-nav ul li a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* -------------------------------------------------------------
 * 5. Mobile Typography & Overflow Safety
 * ----------------------------------------------------------- */
@media (max-width: 768px) {
    .site-content .content-area {
        margin-top: 15px;
    }
    h1 {
        font-size: clamp(1.35rem, 5.2vw, 1.95rem) !important;
        line-height: 1.3 !important;
    }
    h2 {
        font-size: clamp(1.15rem, 4.4vw, 1.55rem) !important;
        line-height: 1.35 !important;
    }
    h3 {
        font-size: clamp(1.02rem, 3.6vw, 1.25rem) !important;
        line-height: 1.4 !important;
    }
    p, li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    /* Prevent iOS auto-zoom on input focus */
    input[type="text"],
    input[type="search"],
    input[type="email"],
    input[type="url"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px !important;
        border-radius: 6px;
    }
}

/* -------------------------------------------------------------
 * 5b. Homepage Mobile Layout — Full Optimization
 * ----------------------------------------------------------- */

/* --- Hero top 3-col grid: force single column on mobile --- */
@media (max-width: 767px) {
    /* Outer container: full width, no horizontal overflow */
    .gb-element-38636a97,
    .gb-element-bc796142,
    .gb-element-426c532a,
    .gb-element-93520488 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Inner container: full width, consistent padding */
    .gb-element-eb6603fc,
    .gb-element-78da646c,
    .gb-element-3ec89a06,
    .gb-element-38db6f8f {
        max-width: 100% !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
        width: auto !important;
    }

    /* Hero grid — 3 columns → 1 column */
    .gb-element-16055061 {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
        row-gap: 16px !important;
    }

    /* Hero child cards full width */
    .gb-element-c5c95cfe,
    .gb-element-99dbcb5c,
    .gb-element-cc345e1a {
        width: 100% !important;
    }

    /* Top featured post query block spacing */
    .gb-query-12c7daf7 {
        margin-bottom: 12px !important;
    }

    /* Post cards inside loops: stack image + text vertically */
    .gb-loop-item-3ffc365c {
        flex-direction: column !important;
        row-gap: 8px !important;
        column-gap: 0 !important;
    }

    /* --- Politics section: 2-col loop → 1 col on mobile --- */
    .gb-looper-a54d4543 {
        grid-template-columns: 1fr !important;
        row-gap: 12px !important;
        column-gap: 0 !important;
    }

    /* --- Entertainment section: 4-col → 1 col on mobile --- */
    .gb-looper-0f2d717a {
        grid-template-columns: 1fr !important;
        row-gap: 12px !important;
        column-gap: 0 !important;
    }

    /* --- Sports/Business 66%+33% flex → full width column --- */
    .gb-element-3ad17031 {
        flex-direction: column !important;
        row-gap: 16px !important;
    }
    .gb-element-adcd43e6,
    .gb-element-cf4d0f94 {
        width: 100% !important;
    }

    /* Sports 2-col grid → 1 col */
    .gb-element-274e69af {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
        row-gap: 12px !important;
    }

    /* Section headings row: keep flex but reduce font */
    .gb-element-fafc60fe,
    .gb-element-017085a6,
    .gb-element-8825ebab,
    .gb-element-1a159ea5 {
        margin-bottom: 12px !important;
        padding-bottom: 8px !important;
    }

    /* Section title H2 font size */
    .gb-text-0888954a,
    .gb-text-dab9d964,
    .gb-text-cc926752,
    .gb-text-d2d578ad {
        font-size: 18px !important;
    }

    /* "See All" button — smaller on mobile */
    .gb-text-7b203d25,
    .gb-text-5f20c0bb,
    .gb-text-d1013cc9,
    .gb-text-c427d5be {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }

    /* Post thumbnails: full width, consistent height */
    .gb-media-c3d26401,
    .gb-media-566c198a,
    .gb-media-8b660fb8,
    .gb-media-f7733f93,
    .gb-media-eb49d517,
    .gb-media-299c265a,
    .gb-media-83248410,
    .gb-media-1bc34869 {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        flex-shrink: 0 !important;
    }
    .gb-media-c3d26401 img,
    .gb-media-566c198a img,
    .gb-media-8b660fb8 img,
    .gb-media-f7733f93 img,
    .gb-media-eb49d517 img,
    .gb-media-299c265a img,
    .gb-media-83248410 img,
    .gb-media-1bc34869 img {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover !important;
    }

    /* Prevent any block from causing horizontal scroll */
    .gb-element-9f5b33df,
    .gb-element-20dc34b3 {
        max-width: 100vw !important;
    }

    /* General section margin reduction on mobile */
    .gb-element-38636a97 { margin-top: 16px !important; margin-bottom: 16px !important; }
    .gb-element-bc796142 { margin-bottom: 16px !important; }
    .gb-element-426c532a { margin-bottom: 16px !important; }
    .gb-element-93520488 { margin-bottom: 16px !important; }
}

/* Tablet: 768px–1024px — 2-col adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .gb-element-16055061 {
        grid-template-columns: 1fr 1fr !important;
        column-gap: 16px !important;
    }
    .gb-element-eb6603fc,
    .gb-element-78da646c,
    .gb-element-3ec89a06,
    .gb-element-38db6f8f {
        margin-left: 16px !important;
        margin-right: 16px !important;
    }
    .gb-looper-0f2d717a {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* -------------------------------------------------------------
 * 6. Responsive Media, Embeds & Tables
 * ----------------------------------------------------------- */
img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}
table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
pre, code {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* -------------------------------------------------------------
 * 7. Social Share Buttons
 * ----------------------------------------------------------- */
.wpjankari-social-wrapper {
    margin: 20px 5px;
    font-size: 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.wpjankari-social-sharing {
    padding: 8px 12px;
    margin: 2px;
    border-radius: 4px;
    flex: 1;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.2s;
    touch-action: manipulation;
}
.wpjankari-social-sharing:hover,
.wpjankari-social-sharing:active {
    transform: translateY(-2px);
    border: none;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 8px 16px -2px;
}
@media only screen and (max-width: 600px) {
    .wpjankari-social-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(65px, 1fr));
        gap: 6px;
        margin: 15px 0;
    }
    .wpjankari-social-sharing {
        margin: 0;
        padding: 10px;
    }
}
.wpjankari-social-sharing svg {
    position: relative;
    top: 0.05em;
    display: inline-block;
}
.wpjankari-social-facebook {
    fill: #fff;
    background-color: rgba(59, 89, 152, 1);
}
.wpjankari-social-twitter {
    fill: #fff;
    background-color: rgba(0, 0, 0, 1);
}
.wpjankari-social-whatsapp {
    fill: #fff;
    background-color: rgba(37, 211, 102, 1);
}
.wpjankari-social-telegram {
    fill: #fff;
    background-color: rgb(2, 126, 189);
}
.wpjankari-social-more {
    fill: #fff;
    background-color: rgba(0, 0, 0, 1);
}

/* -------------------------------------------------------------
 * 8. Sticky Footer Menu & iOS Safe Areas
 * ----------------------------------------------------------- */
@media only screen and (min-width: 960px) {
    .sticky-footer-menu {
        display: none !important;
    }
}
@media only screen and (max-width: 959px) {
    body {
        padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
        
    }
    .sticky-footer-menu {
        position: relative;
        min-height: 56px;
        height: auto;
        width: 100%;
        bottom: 0;
        left: 0;
        box-shadow: rgba(0, 0, 0, 0.15) 0px -2px 10px;
        z-index: 23235;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
    /* Ensure site footer clears the sticky bottom nav bar */
    .site-footer {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* -------------------------------------------------------------
 * 9. Footer Text Visibility Fix
 * ----------------------------------------------------------- */
/* The footer has a dark background (#292929). Several GB text elements
   use color:var(--background) which renders as the site's light/white
   background color — invisible on dark. Force all footer text to white. */
.site-footer {
    color: #f0f0f0;
}
.site-footer .gb-text-5584e0c9,
.site-footer .gb-text-7d255ee5,
.site-footer .gb-text-5a6748a2,
.site-footer .gb-text-08080186,
.site-footer .gb-text-1fc7a474 {
    color: #f0f0f0 !important;
}
/* Description text under logo */
.gb-element-d9989368 {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.7;
}
/* All plain text nodes inside footer */
.site-footer p,
.site-footer span,
.site-footer div {
    color: inherit;
}

/* -------------------------------------------------------------
 * 10. Animations & Highlights
 * ----------------------------------------------------------- */
.whatsapphighlight {
    animation: WPLiteTheme-GreenBorderAnimation 1s infinite;
}
@keyframes WPLiteTheme-GreenBorderAnimation {
    0% { border-color: transparent; }
    50% { border-color: #25d366; }
    100% { border-color: transparent; }
}
.telegramhighlight {
    animation: WPLiteTheme-BlueBorderAnimation 1s infinite;
}
@keyframes WPLiteTheme-BlueBorderAnimation {
    0% { border-color: transparent; }
    50% { border-color: #0086ce; }
    100% { border-color: transparent; }
}

/* -------------------------------------------------------------
 * 12. Breaking News Ticker
 * ----------------------------------------------------------- */
.lr-ticker-wrap {
    background: #c51f1f;
    display: flex;
    align-items: center;
    height: 42px;
    overflow: hidden;
    width: 100%;
    z-index: 9998;
    position: relative;
    flex-shrink: 0;
}
.lr-ticker-label {
    background: #8b0000;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    border-right: 2px solid rgba(255,255,255,0.25);
}
.lr-ticker-viewport {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}
.lr-ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: lr-ticker-scroll 45s linear infinite;
    will-change: transform;
}
.lr-ticker-track:hover {
    animation-play-state: paused;
}
.lr-ticker-item {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 0 28px;
    border-right: 1px solid rgba(255,255,255,0.3);
    white-space: nowrap;
    transition: opacity 0.2s;
    line-height: 42px;
}
.lr-ticker-item:hover {
    opacity: 0.82;
    text-decoration: underline;
    color: #fff;
}
@keyframes lr-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 767px) {
    .lr-ticker-label { font-size: 11px; padding: 0 12px; }
    .lr-ticker-item  { font-size: 13px; padding: 0 18px; }
}
/* Adjust body padding-top to account for ticker height on mobile */
@media (max-width: 959px) {
    body { padding-top: 84px !important; } /* 42px ticker + 42px scroll menu */
}

/* -------------------------------------------------------------
 * 13. Hero Section — Gradient Overlay & Badges (Concept 1 + 2)
 * ----------------------------------------------------------- */

/* First featured card: large image with overlay headline */
.gb-element-c5c95cfe .gb-media:first-child,
.gb-element-c5c95cfe .gb-media-c3d26401 {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.gb-element-c5c95cfe .gb-media img,
.gb-element-c5c95cfe .gb-media-c3d26401 img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
}
.gb-element-c5c95cfe:hover .gb-media img {
    transform: scale(1.03);
}

/* Category badge on all post thumbnails */
.gb-loop-item .gb-media {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
.gb-loop-item .gb-media img {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    transition: transform 0.35s ease;
}
.gb-loop-item:hover .gb-media img {
    transform: scale(1.04);
}

/* Hero top large post image */
.gb-query-12c7daf7 .gb-media {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.gb-query-12c7daf7 .gb-media::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
    border-radius: 0 0 8px 8px;
    pointer-events: none;
}
.gb-query-12c7daf7 .gb-media img {
    height: 320px;
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Desktop: 60%/20%/20% hero grid */
@media (min-width: 1025px) {
    .gb-element-16055061 {
        grid-template-columns: 2fr 1fr 1fr !important;
        column-gap: 20px !important;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .gb-query-12c7daf7 .gb-media img { height: 220px; }
}
@media (max-width: 767px) {
    .gb-query-12c7daf7 .gb-media img { height: 200px; }
}

/* Section title styles — left red border accent */
.gb-element-fafc60fe,
.gb-element-017085a6,
.gb-element-8825ebab,
.gb-element-1a159ea5 {
    border-left: 4px solid #c51f1f !important;
    padding-left: 12px !important;
}

/* -------------------------------------------------------------
 * 14. Trending Today Section
 * ----------------------------------------------------------- */
.lr-trending-wrap {
    background: #fff;
    border-top: 3px solid #c51f1f;
    padding: 28px 0 32px;
    width: 100%;
}
.lr-trending-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.lr-trending-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid #e4e4e4;
}
.lr-trending-fire {
    font-size: 24px;
    line-height: 1;
}
.lr-trending-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 !important;
    color: #1d1d1d;
    line-height: 1.2;
}
.lr-trending-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.lr-trending-card {
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: #1d1d1d;
    background: #f7f7f7;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ebebeb;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.lr-trending-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    transform: translateY(-3px);
    color: #c51f1f;
    text-decoration: none;
}
.lr-trending-num {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: #c51f1f;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(197,31,31,0.4);
}
.lr-trending-img-wrap {
    width: 100%;
    height: 130px;
    overflow: hidden;
    flex-shrink: 0;
}
.lr-trending-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.lr-trending-card:hover .lr-trending-thumb {
    transform: scale(1.05);
}
.lr-trending-body {
    padding: 10px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.lr-trending-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #c51f1f;
    background: rgba(197,31,31,0.08);
    border-radius: 4px;
    padding: 2px 7px;
    display: inline-block;
    width: fit-content;
}
.lr-trending-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Tablet: 3 columns */
@media (min-width: 768px) and (max-width: 1024px) {
    .lr-trending-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Mobile: horizontal scroll */
@media (max-width: 767px) {
    .lr-trending-list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding-bottom: 4px;
    }
    .lr-trending-list::-webkit-scrollbar { display: none; }
    .lr-trending-card {
        min-width: 155px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    .lr-trending-img-wrap { height: 105px; }
    .lr-trending-title { font-size: 18px; }
}

/* -------------------------------------------------------------
 * 15. Post Card Hover Effects & Overall Polish
 * ----------------------------------------------------------- */

/* Card hover lift for all GB loop items */
.gb-loop-item {
    border-radius: 8px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}
.gb-loop-item:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

/* Post titles inside cards */
.gb-loop-item .gb-text a,
.gb-loop-item a.gb-text {
    transition: color 0.2s;
}
.gb-loop-item:hover .gb-text a,
.gb-loop-item:hover a.gb-text {
    color: #c51f1f !important;
}

/* Section wrapper card backgrounds */
.gb-element-c5c95cfe,
.gb-element-99dbcb5c,
.gb-element-cc345e1a {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* Consistent image height in side columns on desktop */
@media (min-width: 768px) {
    .gb-element-99dbcb5c .gb-media img,
    .gb-element-cc345e1a .gb-media img {
        height: 140px;
        width: 100%;
        object-fit: cover;
    }
    .gb-element-b876c7db,
    .gb-loop-item-521ddd1e,
    .gb-loop-item-70b4ae5c,
    .gb-loop-item-9713cb97 {
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: flex-start;
    }
    .gb-element-99dbcb5c .gb-media,
    .gb-element-cc345e1a .gb-media {
        width: 90px;
        flex-shrink: 0;
    }
    .gb-element-99dbcb5c .gb-media img,
    .gb-element-cc345e1a .gb-media img {
        width: 90px;
        height: 70px;
    }
}

/* All section images consistent aspect ratio */
.gb-looper-a54d4543 .gb-media img,
.gb-looper-f76cf92c .gb-media img,
.gb-looper-94714ce5 .gb-media img,
.gb-looper-b2ecd048 .gb-media img {
    height: 160px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px 6px 0 0;
}
@media (max-width: 767px) {
    .gb-looper-a54d4543 .gb-media img,
    .gb-looper-f76cf92c .gb-media img,
    .gb-looper-94714ce5 .gb-media img,
    .gb-looper-b2ecd048 .gb-media img {
        height: 180px;
    }
}

/* ---------------------------------------------------------------
 * 11. Related Articles Block (Internal Links)
 * ----------------------------------------------------------- */
.lr-related-articles {
    background: #f8f9fa;
    border-left: 4px solid #e63946;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 30px 0;
}
.lr-related-articles h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a2e;
}
.lr-related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.lr-related-articles ul li {
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}
.lr-related-articles ul li:last-child {
    border-bottom: none;
}
.lr-related-articles ul li a {
    color: #1a73e8;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}
.lr-related-articles ul li a::before {
    content: "\2192";
    margin-right: 8px;
    color: #e63946;
    flex-shrink: 0;
}
.lr-related-articles ul li a:hover {
    color: #e63946;
    text-decoration: underline;
}
/* -------------------------------------------------------------
 * 16. Static Pages (About, Contact, Privacy, Disclaimer, Vision, Feedback) - Scoped
 * ----------------------------------------------------------- */
.lr-static-page{font-family:Arial,Helvetica,sans-serif;color:#222;line-height:1.8;max-width:900px;margin:0 auto;padding:0 20px 40px}
.lr-static-page header{background:#b80035;color:#fff;padding:60px 20px;text-align:center;border-radius:10px;margin:20px 0 30px}
.lr-static-page header.lr-header-gradient{background:linear-gradient(135deg,#b80035,#8f0028);padding:70px 20px}
.lr-static-page header h1{font-size:42px;margin-bottom:10px;color:#fff;line-height:1.2}
.lr-static-page header p{font-size:16px;opacity:.92;max-width:750px;margin:0 auto}
.lr-static-page h2{font-size:24px;margin:28px 0 12px;color:#b80035;border-left:4px solid #b80035;padding-left:12px}
.lr-static-page h3{font-size:18px;margin:16px 0 8px;color:#1a1a2e}
.lr-static-page p{margin:0 0 14px}
.lr-static-page .container{max-width:900px;margin:0 auto}
.lr-static-page ul,.lr-static-page ol{margin:0 0 16px 20px}
.lr-static-page a{color:#b80035}
.lr-static-page .lr-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:20px;margin:16px 0;box-shadow:0 2px 8px rgba(0,0,0,.06)}
@media(max-width:768px){.lr-static-page header h1{font-size:28px}.lr-static-page header{padding:36px 16px}}




/* =============================================================
 * CLEAN RESPONSIVE & MOBILE-FIRST OPTIMIZATIONS
 * ============================================================= */

/* -------------------------------------------------------------
 * 1. Global & Variables
 * ----------------------------------------------------------- */
:root {
    --gb-container-width: 1200px;
    --lr-red: #c51f1f;
    --lr-red-dark: #a81414;
    --lr-dark: #1d1d1d;
    --lr-text: #2c2c2c;
    --lr-gray-bg: #f8f9fa;
    --lr-border: #e9ecef;
}

/* Reset any unwanted body padding-top that caused white gaps */
html body {
    padding-top: 0 !important;
}

/* -------------------------------------------------------------
 * 2. Mobile & Sticky Navigation Header
 * ----------------------------------------------------------- */
.main-navigation {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    position: sticky !important;
    top: 0;
    z-index: 10002;
    background: #ffffff !important;
}

/* On mobile, neatly space Logo, Menu Notification, Toggle, Search */
@media (max-width: 959px) {
    .main-navigation .inside-navigation {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 12px !important;
        min-height: 54px !important;
        height: 54px !important;
        box-sizing: border-box !important;
    }

    .main-navigation .navigation-branding {
        margin-right: auto !important;
        margin-left: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .navigation-branding img, 
    .site-logo img {
        max-height: 38px !important;
        height: 38px !important;
        width: auto !important;
        display: block !important;
    }

    /* Menu Notification bell button */
    .main-navigation a.gb-text-2b0825ab {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #c51f1f !important;
        color: #ffffff !important;
        padding: 8px !important;
        border-radius: 6px !important;
        margin-right: 8px !important;
        height: 36px !important;
        width: 36px !important;
        box-sizing: border-box !important;
    }

    .main-navigation a.gb-text-2b0825ab svg {
        width: 18px !important;
        height: 18px !important;
        fill: #ffffff !important;
        color: #ffffff !important;
    }

    /* Hamburger Menu Toggle */
    .main-navigation .menu-toggle {
    z-index: 10003;
    position: relative;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #1d1d1d !important;
        padding: 8px !important;
        margin: 0 !important;
        min-width: 40px !important;
        min-height: 40px !important;
        height: 40px !important;
        background: transparent !important;
        border: none !important;
    }

    .main-navigation .menu-toggle .custom-menu-icon svg path,
    .main-navigation .menu-toggle svg {
        fill: #1d1d1d !important;
    }

    /* Menu search button */
    .main-navigation .menu-bar-items {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
    }

    .main-navigation .menu-bar-items a {
        color: #1d1d1d !important;
        padding: 8px !important;
        display: flex !important;
        align-items: center !important;
    }

    .main-navigation .menu-bar-items svg {
        fill: #1d1d1d !important;
        width: 20px !important;
        height: 20px !important;
    }
}

/* -------------------------------------------------------------
 * 3. Breaking News Ticker
 * ----------------------------------------------------------- */
.lr-ticker-wrap {
    background: #c51f1f;
    display: flex;
    align-items: center;
    height: 40px;
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 999;
}
.lr-ticker-label {
    background: #9b0f0f;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.lr-ticker-viewport {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}
.lr-ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: lr-ticker-scroll 45s linear infinite;
    will-change: transform;
}
.lr-ticker-track:hover {
    animation-play-state: paused;
}
.lr-ticker-item {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13.5px;
    font-weight: 500;
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    white-space: nowrap;
    line-height: 40px;
}
.lr-ticker-item:hover {
    text-decoration: underline !important;
    color: #ffffff !important;
}
@keyframes lr-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 767px) {
    .lr-ticker-wrap { height: 36px; }
    .lr-ticker-label { font-size: 11.5px; padding: 0 10px; }
    .lr-ticker-item { font-size: 12.5px; line-height: 36px; padding: 0 16px; }
}

/* -------------------------------------------------------------
 * 4. Headline Links & Card Typography Fix (Restoring Black/Dark)
 * ----------------------------------------------------------- */
/* Headline links must be dark (#1d1d1d) on cards, never red! */
.gb-query-loop-wrapper a,
.gb-looper a,
.gb-loop-item a,
.gb-text a,
h1.entry-title a,
h2.entry-title a,
h3.gb-text a,
h2.gb-text a,
.site-main article a {
    color: #1d1d1d !important;
    text-decoration: none !important;
}

.gb-query-loop-wrapper a:hover,
.gb-looper a:hover,
.gb-loop-item a:hover,
h3.gb-text a:hover,
h2.gb-text a:hover {
    color: #c51f1f !important;
    text-decoration: none !important;
}

/* Section Titles: Red accent border on left */
.gb-element-fafc60fe,
.gb-element-017085a6,
.gb-element-8825ebab,
.gb-element-1a159ea5 {
    border-left: 4px solid #c51f1f !important;
    padding-left: 10px !important;
    margin-bottom: 14px !important;
}

/* "See All" button in section header */
a.gb-text-7b203d25,
a.gb-text-5f20c0bb,
a.gb-text-d1013cc9,
a.gb-text-c427d5be {
    color: #ffffff !important;
    background-color: #c51f1f !important;
    font-size: 11px !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
}
a.gb-text-7b203d25:hover,
a.gb-text-5f20c0bb:hover,
a.gb-text-d1013cc9:hover,
a.gb-text-c427d5be:hover {
    background-color: #a81414 !important;
    color: #ffffff !important;
}

/* -------------------------------------------------------------
 * 5. Mobile News Cards Layout (Compact & Proper Indian News Portal Flow)
 * ----------------------------------------------------------- */
@media (max-width: 767px) {
    /* Hero featured post: clean full-width card */
    .gb-query-12c7daf7 {
        margin-bottom: 16px !important;
    }
    .gb-query-12c7daf7 .gb-media img {
        width: 100% !important;
        height: 190px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    /* Standard news list cards: Clean horizontal row layout */
    .gb-loop-item-3ffc365c,
    .gb-looper-a54d4543 .gb-loop-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }

    /* Fixed thumbnail size for horizontal news items */
    .gb-loop-item-3ffc365c .gb-element-eeb3be5b,
    .gb-looper-a54d4543 .gb-media,
    .gb-loop-item-3ffc365c img {
        width: 95px !important;
        min-width: 95px !important;
        max-width: 95px !important;
        height: 72px !important;
        object-fit: cover !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
    }

    /* Headlines inside horizontal news items */
    .gb-loop-item-3ffc365c .gb-element-61936655,
    .gb-loop-item-3ffc365c .gb-text {
        flex: 1 !important;
        font-size: 14.5px !important;
        line-height: 1.35 !important;
        font-weight: 600 !important;
    }

    /* Spacing between sections on mobile */
    .site-content .content-area {
        margin-top: 12px !important;
    }
    .gb-element-38636a97,
    .gb-element-bc796142,
    .gb-element-426c532a,
    .gb-element-93520488 {
        margin-bottom: 20px !important;
        margin-top: 0 !important;
    }
}

/* -------------------------------------------------------------
 * 6. Trending Today Section
 * ----------------------------------------------------------- */
.lr-trending-wrap {
    background: #ffffff;
    border-top: 3px solid #c51f1f;
    padding: 24px 0 28px;
    width: 100%;
}
.lr-trending-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.lr-trending-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #e9ecef;
}
.lr-trending-fire {
    font-size: 22px;
    line-height: 1;
}
.lr-trending-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 !important;
    color: #1d1d1d;
}
.lr-trending-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.lr-trending-card {
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none !important;
    color: #1d1d1d !important;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.lr-trending-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    color: #c51f1f !important;
}
.lr-trending-num {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    background: #c51f1f;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.lr-trending-img-wrap {
    width: 100%;
    height: 110px;
    overflow: hidden;
}
.lr-trending-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lr-trending-body {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.lr-trending-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #c51f1f;
    background: rgba(197,31,31,0.08);
    border-radius: 3px;
    padding: 2px 6px;
    width: fit-content;
}
.lr-trending-text {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    color: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767px) {
    .lr-trending-list {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 10px;
    }
    .lr-trending-list::-webkit-scrollbar { display: none; }
    .lr-trending-card {
        min-width: 145px;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    .lr-trending-img-wrap { height: 95px; }
}

/* -------------------------------------------------------------
 * 7. Article Typography & Prose Links (Scoped to single articles only!)
 * ----------------------------------------------------------- */
.single .entry-content p {
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 1.2em;
    color: #2c2c2c;
}
.single .entry-content > p a,
.single .entry-content > ul a,
.single .entry-content > ol a {
    color: #c51f1f !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}
.single .entry-content > p a:hover {
    color: #9b0f0f !important;
}

/* -------------------------------------------------------------
 * 8. Compact Table of Contents (ez-TOC)
 * ----------------------------------------------------------- */
#ez-toc-container {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-left: 4px solid #c51f1f !important;
    border-radius: 6px !important;
    padding: 12px 16px !important;
    margin: 20px 0 !important;
}
#ez-toc-container .ez-toc-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1d1d1d !important;
}
#ez-toc-container ul.ez-toc-list li a {
    color: #c51f1f !important;
    font-size: 13.5px !important;
}

/* -------------------------------------------------------------
 * 9. Compact AI Summary Buttons
 * ----------------------------------------------------------- */
.single .entry-content p:has(> a[href*="chatgpt.com"]),
.single .entry-content p:has(> a[href*="perplexity.ai"]),
.single .entry-content p:has(> a[href*="claude.ai"]) {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 8px 12px !important;
    font-size: 12px !important;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.single .entry-content p > a[href*="chatgpt.com"],
.single .entry-content p > a[href*="perplexity.ai"],
.single .entry-content p > a[href*="claude.ai"] {
    font-size: 11.5px !important;
    font-weight: 600;
    color: #444 !important;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 3px 8px;
    text-decoration: none !important;
}
.single .entry-content p > a[href*="chatgpt.com"]:hover,
.single .entry-content p > a[href*="perplexity.ai"]:hover,
.single .entry-content p > a[href*="claude.ai"]:hover {
    background: #c51f1f;
    color: #ffffff !important;
    border-color: #c51f1f;
}

/* -------------------------------------------------------------
 * 10. Webpushr Bell Floating Icon adjustment
 * ----------------------------------------------------------- */
.webpushr-bell-icon,
[class*="webpushr-bell"],
[id*="webpushr"] {
    bottom: 75px !important;
    z-index: 9990 !important;
}
/* Fix: ensure mobile menu toggle visible and tappable */
@media(max-width:768px){.menu-toggle{display:flex !important;visibility:visible !important;opacity:1 !important;pointer-events:auto !important;z-index:10003;position:relative}}