/* ============================================================
   PRAVIN GULLAK THEME - custom.css
   Author: Kirali Web Services
   Color: Red (#E53935) | White | Dark (#1a1a1a)
   Font: Hind (Hindi support) + Inter
   ============================================================ */

:root {
    --accent:      #E53935;
    --accent-dark: #b71c1c;
    --accent-light:#ffebee;
    --text:        #1a1a1a;
    --text-mid:    #444;
    --text-light:  #777;
    --bg:          #ffffff;
    --bg-soft:     #f8f8f8;
    --border:      #e5e5e5;
    --card-shadow: 0 2px 16px rgba(0,0,0,.07);
    --card-hover:  0 8px 28px rgba(0,0,0,.13);
    --radius:      10px;
    --radius-sm:   6px;
    --font-body:   'Hind', 'Inter', sans-serif;
    --font-heading:'Hind', 'Inter', sans-serif;
    --transition:  .22s ease;
    --container:   1180px;
    --header-h:    68px;
    --topbar-h:    34px;
}
body.dark-mode {
    --text:      #f0f0f0;
    --text-mid:  #ccc;
    --text-light:#999;
    --bg:        #121212;
    --bg-soft:   #1e1e1e;
    --border:    #2e2e2e;
}
html, body { overflow-x: hidden !important; }
/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Noto Sans Devanagari", sans-serif; color: var(--text); background: var(--bg); line-height: 1.75; transition: background .2s, color .2s; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, textarea { font-family: var(--font-body); }

/* ---- CONTAINER ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---- TOP BAR ---- */
.topbar { background: #111; color: rgba(255,255,255,.85); height: var(--topbar-h); font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.topbar-tagline { font-size: .78rem; color: rgba(255,255,255,.7); letter-spacing: .02em; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-follow { font-size: .75rem; color: rgba(255,255,255,.6); }
.topbar-right a { color: rgba(255,255,255,.8); font-size: .85rem; transition: color var(--transition); }
.topbar-right a:hover { color: var(--accent); }

/* ---- SITE HEADER ---- */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    transition: background .2s, box-shadow .2s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

/* Logo */
.site-logo-img { max-height: 48px; width: auto; }
.site-logo-icon { max-height: 44px; width: auto; }
.site-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 48px; width: auto; }

/* Primary Nav */
.primary-nav { flex: 1; }
.primary-menu { display: flex; align-items: center; justify-content: center; gap: 2px; }
.primary-menu > li > a {
    padding: 6px 13px; border-radius: var(--radius-sm);
    font-size: .88rem; font-weight: 500; color: var(--text-mid);
    transition: all var(--transition); position: relative;
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a { color: var(--accent); }
.primary-menu > li.current-menu-item > a::after {
    content: ''; position: absolute; bottom: -2px; left: 13px; right: 13px;
    height: 2px; background: var(--accent); border-radius: 2px;
}
/* Dropdown */
.primary-menu li { position: relative; }
.primary-menu .sub-menu {
    display: none; position: absolute; top: calc(100% + 6px); left: 0;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-sm); box-shadow: var(--card-shadow);
    min-width: 170px; z-index: 100; padding: 5px 0;
}
.primary-menu li:hover > .sub-menu { display: block; }
.primary-menu .sub-menu a { display: block; padding: 8px 16px; font-size: .84rem; color: var(--text-mid); }
.primary-menu .sub-menu a:hover { color: var(--accent); background: var(--bg-soft); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-toggle, .dark-mode-toggle {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mid); background: var(--bg-soft); font-size: .88rem;
    transition: all var(--transition);
}
.search-toggle:hover, .dark-mode-toggle:hover { color: var(--accent); background: var(--accent-light); }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 2px 0; }
.mobile-menu-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* AJAX Search Bar */
.search-bar-wrap { display: none; background: var(--bg); border-top: 1px solid var(--border); padding: 10px 0; box-shadow: 0 4px 12px rgba(0,0,0,.09); }
.search-bar-wrap.active { display: block; }
.search-bar-inner { display: flex; align-items: center; border: 2px solid var(--accent); border-radius: 50px; padding: 3px 14px; gap: 8px; }
.ajax-search-input { flex: 1; border: none; outline: none; font-size: .95rem; background: transparent; color: var(--text); padding: 6px 0; }
.search-bar-close { color: var(--text-light); }
.search-bar-close:hover { color: var(--accent); }
.ajax-results { margin-top: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ajax-result-item { display: flex; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); transition: background var(--transition); }
.ajax-result-item:last-child { border-bottom: none; }
.ajax-result-item:hover { background: var(--bg-soft); }
.ajax-result-thumb { width: 58px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.ajax-result-title { font-weight: 600; font-size: .88rem; }
.ajax-result-excerpt { font-size: .78rem; color: var(--text-light); }
.ajax-no-results { padding: 14px; text-align: center; color: var(--text-light); font-size: .88rem; }

/* Mobile Overlay */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 998; }

/* ---- PAGE WRAPPER ---- */
.page-wrapper { min-height: 60vh; }

/* ---- HERO SECTION ---- */
.hero-section { width: 100%; }
.hero-bg { background: #333 center/cover no-repeat; position: relative; min-height: 360px; display: flex; align-items: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.78) 42%,rgba(0,0,0,.08) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 560px; padding: 56px 20px; color: #fff; }
.hero-cat a { background: var(--accent); color: #fff; font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; padding: 3px 11px; border-radius: 50px; display: inline-block; margin-bottom: 14px; }
.hero-title { font-size: 2rem; color: #fff; margin-bottom: 12px; line-height: 1.28; }
.hero-title a { color: #fff; }
.hero-excerpt { color: rgba(255,255,255,.82); font-size: .92rem; margin-bottom: 16px; }
.hero-meta { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.75); margin-bottom: 22px; flex-wrap: wrap; }
.meta-dot { opacity: .5; }
.hero-btn { background: var(--accent); color: #fff; padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 7px; transition: background var(--transition); }
.hero-btn:hover { background: var(--accent-dark); color: #fff; }

/* ---- MAIN GRID ---- */
.main-grid { display: grid; grid-template-columns: 1fr 310px; gap: 36px; padding: 36px 0 56px; align-items: start; }

/* ---- SECTION HEADING ---- */
.section-heading { font-size: 1.25rem; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }
.heading-line { flex: 1; height: 0; }

/* ---- POST CARD ---- */
.post-card {
    display: grid; grid-template-columns: 280px 1fr; gap: 0;
    background: var(--bg); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--card-shadow);
    border: 1px solid var(--border); margin-bottom: 22px;
    transition: box-shadow var(--transition), transform var(--transition);
}
.post-card:hover { box-shadow: var(--card-hover); transform: translateY(-2px); }
.post-card-thumb { position: relative; height: 190px; overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-cat-badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; padding: 2px 9px; border-radius: 50px; }
.post-cat-badge a { color: #fff; }
.post-card-content { padding: 18px 18px 18px 18px; display: flex; flex-direction: column; justify-content: center; }
.post-card-title { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.45; }
.post-card-title a:hover { color: var(--accent); }
.post-card-excerpt { color: var(--text-mid); font-size: .86rem; margin-bottom: 12px; line-height: 1.6; }
.post-card-meta { display: flex; align-items: center; gap: 12px; font-size: .76rem; color: var(--text-light); flex-wrap: wrap; margin-bottom: 12px; }
.post-author { display: flex; align-items: center; gap: 5px; }
.author-avatar { border-radius: 50% !important; object-fit: cover; }
.post-author a { color: var(--text-mid); font-weight: 600; }
.post-author a:hover { color: var(--accent); }
.post-date i, .post-reading-time i { margin-right: 3px; color: var(--accent); }
.read-more-link { color: var(--accent); font-size: .83rem; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; transition: gap var(--transition); }
.read-more-link:hover { gap: 9px; }

/* Load More */
.load-more-wrap { text-align: center; margin-top: 8px; }
.btn-load-more { background: var(--accent); color: #fff; padding: 11px 34px; border-radius: 50px; font-size: .92rem; font-weight: 600; transition: background var(--transition); display: inline-flex; align-items: center; gap: 7px; }
.btn-load-more:hover { background: var(--accent-dark); }
.btn-load-more:disabled { opacity: .6; cursor: not-allowed; }

/* ===== SIDEBAR ===== */
.site-sidebar { position: sticky; top: calc(var(--topbar-h) + var(--header-h) + 16px); }
.widget { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 22px; box-shadow: var(--card-shadow); }
.widget-title { font-size: .98rem; font-weight: 700; color: var(--text); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); }

/* Popular Posts - Numbered */
.popular-numbered-list { display: flex; flex-direction: column; gap: 14px; }
.popular-numbered-item { display: flex; gap: 10px; align-items: flex-start; }
.popular-num { font-size: 1.5rem; font-weight: 700; color: var(--border); line-height: 1; min-width: 28px; }
.popular-info { display: flex; gap: 10px; align-items: flex-start; flex: 1; }
.popular-thumb-link img { width: 68px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.popular-text { flex: 1; }
.popular-title { display: block; font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 4px; }
.popular-title:hover { color: var(--accent); }
.popular-date { font-size: .73rem; color: var(--text-light); }
.popular-date i { margin-right: 3px; }

/* Categories */
.cat-list li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.cat-list li:last-child { border-bottom: none; }
.cat-folder { color: var(--accent); font-size: .82rem; }
.cat-list a { color: var(--text-mid); font-weight: 500; flex: 1; }
.cat-list a:hover { color: var(--accent); }
.cat-count { background: var(--bg-soft); color: var(--text-light); font-size: .72rem; padding: 1px 7px; border-radius: 50px; font-weight: 600; }

/* Newsletter */
.widget-newsletter p { font-size: .84rem; color: var(--text-light); margin-bottom: 10px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input[type="email"] { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 9px 12px; font-size: .86rem; outline: none; background: var(--bg-soft); color: var(--text); transition: border-color var(--transition); }
.newsletter-form input[type="email"]:focus { border-color: var(--accent); }
.btn-subscribe { background: var(--accent); color: #fff; padding: 9px 18px; border-radius: 6px; font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background var(--transition); cursor: pointer; border: none; }
.btn-subscribe:hover { background: var(--accent-dark); color: #fff; }
.btn-block { width: 100%; }

/* Recent Posts */
.recent-sidebar-list { display: flex; flex-direction: column; gap: 12px; }
.recent-sidebar-item { display: flex; gap: 10px; align-items: flex-start; }
.recent-sidebar-thumb img { width: 68px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); }
.recent-sidebar-title { display: block; font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.8; margin-bottom: 4px; }
.recent-sidebar-title:hover { color: var(--accent); }
.recent-sidebar-date { font-size: .72rem; color: var(--text-light); }

/* Tag Cloud */
.tag-cloud-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud-item { background: var(--bg-soft); border: 1px solid var(--border); color: var(--text-mid); font-size: .78rem; padding: 4px 10px; border-radius: 4px; transition: all var(--transition); }
.tag-cloud-item:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Social Media Widget */
.social-media-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.sm-btn { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; transition: transform var(--transition), opacity var(--transition); }
.sm-btn:hover { transform: translateY(-2px); opacity: .88; color: #fff; }
.sm-fb { background: #1877f2; }
.sm-x  { background: #000; }
.sm-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sm-yt { background: #ff0000; }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 8px 0; font-size: .8rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 20px; max-width: var(--container); margin: 0 auto; }
.breadcrumb li { display: flex; align-items: center; gap: 5px; color: var(--text-light); }
.breadcrumb li::after { content: '>'; color: var(--border); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--text-mid); }
.breadcrumb a:hover { color: var(--accent); }

/* ===== SINGLE POST ===== */
.single-main .main-grid { grid-template-columns: 1fr 300px; }
.single-cats { margin-bottom: 10px; }
.single-cat-badge { background: var(--accent); color: #fff; font-size: .73rem; font-weight: 700; padding: 3px 11px; border-radius: 50px; display: inline-block; }
.single-title { font-size: 1.9rem; line-height: 1.3; margin-bottom: 10px; }
.single-intro { color: var(--text-mid); font-size: .95rem; line-height: 1.7; margin-bottom: 14px; }
.single-meta { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--text-light); flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.single-meta .post-author-meta { display: flex; align-items: center; gap: 6px; }
.single-meta .post-author-meta a { color: var(--text-mid); font-weight: 600; }
.single-meta i { color: var(--accent); margin-right: 3px; }
.meta-sep { color: var(--border); }
.single-featured-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.single-featured-img img { width: 100%; max-height: 460px; object-fit: cover; }

/* Social Share (above content) */
.social-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; padding: 12px 16px; background: var(--bg-soft); border-radius: var(--radius); border: 1px solid var(--border); }
.share-label { font-weight: 600; font-size: .83rem; color: var(--text-mid); }
.share-btn { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .88rem; color: #fff; transition: transform var(--transition), opacity var(--transition); border: none; cursor: pointer; }
.share-btn:hover { transform: translateY(-2px); opacity: .88; }
.share-fb { background: #1877f2; }
.share-tw { background: #000; }
.share-wa { background: #25d366; }
.share-li { background: #0a66c2; }
.share-copy { background: #666; }

/* Post Content */
.single-content { color: var(--text-mid); line-height: 1.9; margin-bottom: 22px; }
.single-content h2, .single-content h3, .single-content h4 { color: var(--text); margin: 26px 0 10px; font-weight: 700; }
.single-content h2 { font-size: 1.3rem; }
.single-content h3 { font-size: 1.1rem; }
.single-content p { margin-bottom: 16px; }
.single-content a { color: var(--accent); text-decoration: underline; }
.single-content ul, .single-content ol { padding-left: 22px; margin-bottom: 16px; }
.single-content li { margin-bottom: 5px; }
.single-content blockquote { border-left: 4px solid var(--accent); background: var(--bg-soft); padding: 14px 18px; margin: 20px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--text-mid); }
.single-content img { border-radius: var(--radius-sm); margin: 14px 0; }
.single-content code { background: var(--bg-soft); padding: 2px 5px; border-radius: 3px; font-size: .86em; color: var(--accent); }
.single-content pre { background: #1e1e1e; color: #f8f8f2; padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; margin-bottom: 16px; }
.single-content pre code { background: none; color: inherit; padding: 0; }
.single-content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.single-content th, .single-content td { border: 1px solid var(--border); padding: 9px 13px; }
.single-content th { background: var(--bg-soft); font-weight: 700; }

/* Disclaimer Box */
.disclaimer-box { display: flex; align-items: flex-start; gap: 10px; background: #fff8f0; border: 1px solid #ffc87a; border-radius: var(--radius-sm); padding: 12px 16px; margin: 20px 0; font-size: .84rem; color: #7a4800; }
.disclaimer-box i { color: #e67e00; margin-top: 2px; flex-shrink: 0; }
body.dark-mode .disclaimer-box { background: #2a2210; border-color: #7a5500; color: #f0c060; }

/* Author Box */
.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 24px 0; }
.author-box-avatar { border-radius: 50% !important; flex-shrink: 0; }
.author-box-name { font-size: .98rem; margin-bottom: 5px; }
.author-box-name a:hover { color: var(--accent); }
.author-box-bio { font-size: .85rem; color: var(--text-light); line-height: 1.65; margin-bottom: 10px; }
.author-social { display: flex; gap: 8px; }
.author-social a { width: 30px; height: 30px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: .78rem; color: var(--text-mid); transition: all var(--transition); }
.author-social a:hover { background: var(--accent); color: #fff; }

/* Post Navigation */
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.nav-prev, .nav-next { display: flex; flex-direction: column; gap: 4px; }
.nav-next { text-align: right; }
.nav-label { font-size: .75rem; color: var(--text-light); font-weight: 500; }
.nav-prev a, .nav-next a { font-size: .88rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.nav-prev a:hover, .nav-next a:hover { color: var(--accent); }

/* Related Posts */
.related-posts { margin-top: 32px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.related-grid .post-card { grid-template-columns: 1fr; margin-bottom: 0; }
.related-grid .post-card-thumb { height: 140px; }
.related-grid .post-card-content { padding: 12px; }
.related-grid .post-card-title { font-size: .9rem; }
.related-grid .post-card-excerpt { display: none; }

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section { background: var(--accent); color: #fff; padding: 44px 20px; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.newsletter-text h3 { color: #fff; font-size: 1.4rem; margin-bottom: 5px; }
.newsletter-text p { color: rgba(255,255,255,.82); font-size: .88rem; }
.newsletter-section .newsletter-form { flex-direction: row; gap: 8px; }
.newsletter-section .newsletter-form input[type="email"] { width: 280px; border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; border-radius: 6px; padding: 10px 14px; }
.newsletter-section .newsletter-form input::placeholder { color: rgba(255,255,255,.65); }
.newsletter-section .newsletter-form input:focus { border-color: #fff; outline: none; }
.newsletter-section .btn-subscribe { background: #fff; color: var(--accent); border-radius: 6px; }
.newsletter-section .btn-subscribe:hover { background: var(--accent-dark); color: #fff; }

/* ===== FOOTER ===== */
.site-footer { background: #111; color: rgba(255,255,255,.68); }
.footer-top { padding: 52px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-heading { color: #fff; font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; padding-bottom: 7px; border-bottom: 2px solid var(--accent); display: inline-block; }
.footer-col .site-logo-img { max-height: 44px; filter: brightness(0) invert(1); opacity: .9; }
.footer-desc { font-size: .85rem; line-height: 1.7; margin: 12px 0 16px; color: rgba(255,255,255,.55); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.75); font-size: .82rem; transition: background var(--transition), color var(--transition); }
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-menu, .footer-cats { display: flex; flex-direction: column; gap: 9px; }
.footer-menu a, .footer-cats a { color: rgba(255,255,255,.58); font-size: .85rem; transition: color var(--transition); display: inline-flex; align-items: center; gap: 5px; }
.footer-menu a::before, .footer-cats a::before { content: '›'; color: var(--accent); }
.footer-menu a:hover, .footer-cats a:hover { color: #fff; }
/* Footer social grid buttons */
.footer-social-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .95rem; transition: transform var(--transition), opacity var(--transition); }
.footer-social-btn:hover { transform: translateY(-2px); opacity: .85; color: #fff; }
.fb-btn { background: #1877f2; }
.x-btn  { background: #000; }
.ig-btn { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.yt-btn { background: #ff0000; }
/* Footer Bottom */
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.copyright { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-credit { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-credit span { color: var(--accent); }
.footer-credit a { color: rgba(255,255,255,.6); }
.footer-credit a:hover { color: var(--accent); }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 24px; right: 24px; z-index: 999; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .9rem; opacity: 0; visibility: hidden; transition: all var(--transition); transform: translateY(4px); box-shadow: 0 3px 10px rgba(229,57,53,.4); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-dark); }

/* ===== PAGINATION ===== */
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); font-size: .86rem; color: var(--text-mid); font-weight: 500; transition: all var(--transition); }
.nav-links .page-numbers:hover, .nav-links .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.nav-links .prev, .nav-links .next { width: auto; padding: 0 14px; border-radius: 50px; }

/* ===== ARCHIVE ===== */
.archive-header { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.archive-title { font-size: 16px; }
.archive-title span { color: var(--text-light); font-weight: 400; margin-right: 8px; font-size: .95rem; }

/* ===== COMMENTS ===== */
.comments-area { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.comments-title { font-size: 1.2rem; margin-bottom: 20px; }
.comment-list { display: flex; flex-direction: column; gap: 14px; }
.comment-body { background: var(--bg-soft); border-radius: var(--radius); padding: 16px; border: 1px solid var(--border); }
.comment-form-wrap { margin-top: 28px; }
.comment-form-wrap .comment-reply-title { font-size: 1.1rem; margin-bottom: 18px; }
.comment-form label { font-size: .83rem; font-weight: 600; color: var(--text-mid); display: block; margin-bottom: 5px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 9px 12px; font-size: .88rem; color: var(--text); background: var(--bg); outline: none; transition: border-color var(--transition); margin-bottom: 14px; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--accent); }
.comment-form textarea { resize: vertical; min-height: 130px; }
.submit-btn { background: var(--accent); color: #fff; padding: 10px 28px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600; transition: background var(--transition); }
.submit-btn:hover { background: var(--accent-dark); }

/* ===== 404 ===== */
.error-404-wrap { text-align: center; padding: 70px 20px; }
.error-404-num { font-size: 6rem; color: var(--accent); line-height: 1; margin-bottom: 8px; font-weight: 700; }
.error-404-title { font-size: 1.6rem; margin-bottom: 14px; }
.error-404-wrap p { color: var(--text-light); margin-bottom: 24px; }

/* ===== DARK MODE ===== */
body.dark-mode .site-header, body.dark-mode .widget, body.dark-mode .post-card, body.dark-mode .author-box, body.dark-mode .social-share { background: #1e1e1e; }
body.dark-mode .topbar { background: #0a0a0a; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .main-grid { grid-template-columns: 1fr; }
    .site-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    :root { --header-h: 58px; --topbar-h: 32px; }
    .topbar-tagline { font-size: .7rem; max-width: 50%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .primary-nav { display: none; position: fixed; top: calc(var(--topbar-h) + var(--header-h)); left: 0; width: 250px; height: calc(100vh - var(--topbar-h) - var(--header-h)); background: var(--bg); border-right: 1px solid var(--border); overflow-y: auto; z-index: 999; padding: 16px 0; box-shadow: 4px 0 18px rgba(0,0,0,.1); }
    .primary-nav.open { display: block; }
    .primary-menu { flex-direction: column; align-items: flex-start; gap: 0; }
    .primary-menu > li > a { padding: 11px 18px; display: block; width: 100%; border-radius: 0; font-size: .95rem; }
    .primary-menu .sub-menu { position: static; box-shadow: none; border: none; background: var(--bg-soft); border-radius: 0; }
    .primary-menu .sub-menu a { padding: 9px 30px; }
    .mobile-menu-toggle { display: flex; }
    .mobile-overlay.open { display: block; }
    .hero-title { font-size: 1.45rem; }
    .hero-bg { min-height: 260px; }
    .post-card { grid-template-columns: 1fr; }
    .post-card-thumb { height: 190px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .newsletter-inner { flex-direction: column; }
    .newsletter-section .newsletter-form { flex-direction: column; }
    .newsletter-section .newsletter-form input[type="email"] { width: 100%; }
    .related-grid { grid-template-columns: 1fr; }
    .post-navigation { grid-template-columns: 1fr; }
    .nav-next { text-align: left; }
    .single-title { font-size: 1.45rem; }
}
@media (max-width: 480px) {
    .topbar-tagline { display: none; }
    .single-meta { gap: 6px; font-size: .74rem; }
    .social-share { gap: 6px; }
}
/* ============================================================
   MOBILE RESPONSIVE FIX - Post Card
   Paste this at the bottom of custom.css
   ============================================================ */

@media (max-width: 700px) {

    /* Post Card: stack image on top, text below */
    .latest-article,
    .post-card {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        border-radius: 10px;
        margin-bottom: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Image - full width on top */
    .latest-image,
    .post-card-thumb {
        width: 100% !important;
        height: 180px !important;
        overflow: hidden;
        border-radius: 10px 10px 0 0;
    }
    .latest-image img,
    .latest-image a,
    .post-card-thumb img {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* Content below image - no overflow cut */
    .latest-content,
    .post-card-content {
        padding: 12px 14px 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Title: limit to 2 lines */
    .latest-content h3,
    .post-card-title {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 6px !important;
    }

    /* Excerpt: ~22 words = ~3 lines */
    .latest-content p,
    .post-card-excerpt {
        font-size: .84rem !important;
        line-height: 1.55 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 10px !important;
        word-break: break-word !important;
    }

    /* Meta row: wrap if needed */
    .latest-meta,
    .post-card-meta {
        flex-wrap: wrap !important;
        gap: 6px !important;
        font-size: .74rem !important;
    }

    /* No horizontal overflow anywhere */
    .latest-articles-list,
    .posts-list {
        overflow: hidden !important;
        width: 100% !important;
    }

    /* Fix container padding */
    .container {
        padding: 0 14px !important;
    }
}

/* ---- WORD LIMIT FIX - latest-content p ---- */
.latest-content p {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    white-space: normal !important;
}

.header-actions{
	display: flex
}


.header-inner{
	height:100px;
}
.custom-logo{
	max-height:70px;
}
.header-inner {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
/* ========================================
   NEW HEADER LAYOUT
======================================== */

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
    gap: 30px;
    width: 100%;
	background:white;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu li {
    margin: 20px;
    padding: 0;
}

.header-menu a {
    text-decoration: none;
    white-space: nowrap;
	    font-weight: 600;

}

/* Left Menu */
.header-nav-left {
    justify-content: flex-end;
}

/* Logo */
.site-branding {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-branding img {
    display: block;
    max-width: 180px;
    height: auto;
}

/* Right Menu */
.header-nav-right {
    justify-content: flex-start;
}

/* Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 900px) {

    .header-inner {
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }

    .header-nav-left,
    .header-nav-right {
        display: none;
    }

    .site-branding {
        margin-right: auto;
		margin-left:30px;
    }

    .site-branding img {
        max-width: 150px;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}
/*/////////////////*/
/* =========================================================
   HOMEPAGE
========================================================= */

.homepage {
    padding: 35px 0 70px;
}

.homepage .container {
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================================
   SECTION 1
   FEATURED + POPULAR
========================================================= */

.home-featured-section {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(320px, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}


/* Featured */

.featured-card {
    position: relative;
    min-height: 550px;
    overflow: hidden;
    border-radius: 5px;
    background: #111;
}

.featured-image {
    position: absolute;
    inset: 0;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.92) 0%,
            rgba(0,0,0,.55) 45%,
            rgba(0,0,0,.05) 100%
        );
}

.featured-content {
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 24px;
    z-index: 2;
    color: #fff;
}

.featured-category {
    display: inline-block;
    background: #ed1c24;
    color: #fff;
    padding: 7px 13px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-date {
    font-size: 13px;
    margin-bottom: 8px;
    opacity: .9;
}

.featured-date i {
    margin-right: 5px;
}

.featured-title {
    font-size: 28px;
    line-height: 1.35;
    margin: 0 0 8px;
    max-width: 650px;
}

.featured-title a {
    color: #fff;
    text-decoration: none;
}

.featured-excerpt {
    font-size: 16px;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 0 15px;
    color: rgba(255,255,255,.88);
}

.featured-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ed1c24;
    color: #fff;
    padding: 9px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.featured-button:hover {
    color: #fff;
}


/* =========================================================
   POPULAR POSTS
========================================================= */

.popular-posts {
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    background: #fff;
    padding: 20px 16px;
}

.section-title-row {
    margin-bottom: 12px;
}

.section-title-row h2 {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
}

.section-title-row span {
    display: block;
    width: 50px;
    height: 3px;
    background: #ed1c24;
    margin-top: 8px;
}

.popular-item {
    display: grid;
    grid-template-columns: 28px 78px 1fr;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #eeeeee;
}

.popular-item:last-child {
    border-bottom: 0;
}

.popular-number {
    font-size: 18px;
    color: #555;
    font-weight: 500;
}

.popular-thumb {
    display: block;
}

.popular-thumb img {
    width: 78px;
    height: 58px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.popular-content h3 {
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 5px;
}

.popular-content h3 a {
    color: #222;
    text-decoration: none;
}

.popular-date {
    font-size: 10px;
    color: #555;
}

.popular-date i {
    margin-right: 3px;
}


/* =========================================================
   SECTION 2 - CATEGORY CARDS
========================================================= */

.category-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 35px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 20px;
    min-height: 125px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    text-decoration: none;
    transition: .25s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.category-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 27px;
}

.category-content {
    flex: 1;
}

.category-content h3 {
    margin: 0 0 7px;
    font-size: 17px;
}

.category-content p {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 30px;
    color: #666;
}

.category-link {
    font-size: 14px;
    font-weight: 600;
}

.category-link span {
    margin-left: 5px;
}


/* Tech */

.category-tech {
    background: #f4f4f4;
}

.category-tech .category-icon {
    background: #ed1c24;
    color: #ffffff;
}

.category-tech .category-link {
    color: #555;
}


/* Social */

.category-social {
    background: #f4f4f4;
}

.category-social .category-icon {
    background: #ed1c24;
    color: #ffffff;
}

.category-social .category-link {
    color: #555;
}


/* Satire */

.category-satire {
    background: #f4f4f4;
}

.category-satire .category-icon {
    background: #ed1c24;
    color: #ffffff;
}

.category-satire .category-link {
    color: #555;
}


/* =========================================================
   SECTION 3 - LATEST ARTICLES
========================================================= */

.latest-articles-section {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 35px;
}

.latest-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 16px;
    border-bottom: 1px solid #eeeeee;
}

.latest-heading h2 {
    margin: 0;
    font-size: 22px;
}

.latest-heading a {
    color: #ed1c24;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.latest-heading a span {
    margin-left: 5px;
}

.latest-article {
    display: grid;
    grid-template-columns: 185px 1fr 145px;
    gap: 25px;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eeeeee;
}

.latest-article:last-child {
    border-bottom: 0;
}

.latest-image img,
.no-thumbnail {
    width: 185px;
    height: 170px;
    object-fit: cover;
    border-radius: 7px;
    display: block;
}

.no-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    color: #999;
    font-size: 25px;
}

.latest-category {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 20px;
    background: #ed1c24;
    color: #f9fcff;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
}

.latest-content h3 {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 5px;
}

.latest-content h3 a {
    color: #222;
    text-decoration: none;
}

.latest-content p {
    margin: 0;
    color: #777;
    font-size: 18px;
    line-height: 36px;
}

.latest-meta {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 14px;
    color: #424242;
}

.latest-meta i {
    width: 16px;
    margin-right: 4px;
}

.latest-meta a {
    margin-top: 5px;
    color: #222;
    font-weight: 600;
    text-decoration: none;
}


/* Category colors */

.latest-category.satire {
    background: #fff0dc;
    color: #e87900;
}

.latest-category.social-issues {
    background: #e4f7e8;
    color: #23843b;
}


/* =========================================================
   SECTION 4 - AUTHOR
========================================================= */

.author-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 45px;
    align-items: center;
    padding: 45px;
    background: #f7f9fb;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    margin-bottom: 20px;
}

.author-photo {
    display: flex;
    justify-content: center;
}
.pravin-img img {
    border-radius: 10px;
}
.author-avatar {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 7px solid #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,.10);
}

.author-label {
    display: inline-block;
    color: #ed1c24;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

.author-content h2 {
    font-size: 30px;
    margin: 0 0 12px;
}

.author-description {
    max-width: 700px;
    color: #424242;
    font-size: 17px;
    line-height: 30px;
}

.author-description p {
    margin-top: 0;
}

.author-button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 10px 18px;
    background: #ed1c24;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.author-button:hover {
    color: #fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .home-featured-section {
        grid-template-columns: 1fr;
    }

    .popular-posts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 15px;
    }

    .section-title-row {
        grid-column: 1 / -1;
    }

    .category-section {
        grid-template-columns: 1fr;
    }

    .author-section {
        grid-template-columns: 220px 1fr;
        gap: 30px;
        padding: 30px;
    }

}


@media (max-width: 700px) {

    .homepage {
        padding: 20px 0 40px;
    }

    .featured-card {
        min-height: 430px;
    }

    .featured-content {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .featured-title {
        font-size: 23px;
    }

    .featured-excerpt {
        font-size: 14px;
    }

    .popular-posts {
        display: block;
    }

    .category-card {
        min-height: auto;
    }

    .latest-heading {
        padding: 17px;
    }

    .latest-heading h2 {
        font-size: 19px;
    }

    .latest-heading a {
        font-size: 11px;
    }

    .latest-article {
        grid-template-columns: 105px 1fr;
        gap: 14px;
        padding: 14px;
    }

    .latest-image img,
    .no-thumbnail {
        width: 105px;
        height: 80px;
    }

    .latest-content h3 {
        font-size: 14px;
    }

    .latest-content p {
        font-size: 11px;
    }

    .latest-meta {
        grid-column: 2;
        flex-direction: row;
        flex-wrap: wrap;
        
    }

    .latest-meta a {
        margin-top: 0;
    }

    .author-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
    }

    .author-avatar {
        width: 170px !important;
        height: 170px !important;
    }

    .author-description {
        font-size: 13px;
    }

}
/*////////////*/

/* =========================================================
   FOOTER - 3 COLUMN
========================================================= */

.footer-main {
    background: #111;
    color: #fff;
    padding: 55px 0 45px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.4fr;
    gap: 70px;
    align-items: start;
}


/* Logo */

.footer-logo {
    margin-bottom: 18px;
}

.footer-logo .custom-logo {
    max-width: 180px;
    height: auto;
}

.footer-logo .site-logo-img {
    max-width: 180px;
    height: auto;
}


/* About */

.footer-desc {
    max-width: 420px;
    margin: 0;
    color: #bdbdbd;
    font-size: 15px;
    line-height: 1.8;
}


/* Heading */

.footer-heading {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 10px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.footer-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 2px;
    background: #ed1c24;
}


/* Categories */

.footer-cats {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-cats li {
    margin: 0px;
    padding: 0;
}

.footer-cats a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 16px;
    transition: .2s ease;
}

.footer-cats a::before {
    content: "→";
    margin-right: 8px;
    color: #ed1c24;
}

.footer-cats a:hover {
    color: #fff;
}


/* Disclaimer */

.footer-disclaimer p {
    margin: 0 0 13px;
    color: #bdbdbd;
    font-size: 16px;
    line-height: 1.8;
}

.footer-disclaimer strong {
    color: #fff;
    font-weight: 600;
}

.disclaimer-note {
    font-size: 12px !important;
    color: #888 !important;
}


/* Social */

.footer-social {
    display: flex;
    gap: 9px;
    margin-top: 22px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #444;
    border-radius: 50%;
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
    transition: .2s ease;
}

.footer-social a:hover {
    color: #fff;
    border-color: #ed1c24;
    background: #ed1c24;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    background: #0b0b0b;
    border-top: 1px solid #292929;
}

.footer-bottom-inner {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.copyright {
    margin: 0;
    color: #888;
    font-size: 14px;
}

.copyright strong {
    color: #bbb;
    font-weight: 600;
}


/* Bottom Navigation */

.footer-bottom-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-nav a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

.footer-bottom-nav a:hover {
    color: #fff;
}

.footer-separator {
    color: #444;
    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 800px) {

    .footer-main {
        padding: 40px 0 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 18px 0;
    }

}


@media (max-width: 550px) {

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-about {
        grid-column: auto;
    }

    .footer-bottom-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

}

/* =========================================
   MOBILE MENU ONLY
========================================= */

.mobile-navigation {
    display: none;
}

@media (max-width: 900px) {

    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 38px;
        height: 38px;
        padding: 7px;
        border: 0;
        background: transparent;
        cursor: pointer;
        position: relative;
        z-index: 10001;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        transition: .25s ease;
    }

    .mobile-navigation {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 8px 20px rgba(0,0,0,.10);
        z-index: 10000;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .25s ease;
    }

    body.mobile-menu-open .mobile-navigation {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu-list {
        list-style: none;
        margin: 0;
        padding: 5px 20px;
    }

    .mobile-menu-list li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu-list li:last-child {
        border-bottom: 0;
    }

    .mobile-menu-list a {
        display: block;
        padding: 14px 0;
        color: #222;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
    }

    /* Hamburger → X */

    body.mobile-menu-open
    .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    body.mobile-menu-open
    .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.mobile-menu-open
    .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}
/*///////////*/
/* =========================================================
   MOBILE MENU - FINAL FIX
========================================================= */

@media (max-width: 900px) {

    /* -----------------------------------------
       HEADER
    ----------------------------------------- */

    .site-header {
        position: relative !important;
    }


    /* -----------------------------------------
       SHOW HEADER ACTIONS ONLY ON MOBILE
    ----------------------------------------- */

    .header-actions {
        display: flex !important;
        align-items: center;
        gap: 6px;
    }


    /* -----------------------------------------
       HAMBURGER
    ----------------------------------------- */

    .mobile-menu-toggle {
        display: flex !important;

        width: 38px;
        height: 38px;

        padding: 7px;
        margin-right: 30px;

        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 4px;

        border: 0;
        background: transparent;

        cursor: pointer;

        position: relative;
        z-index: 10002;
		box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
    }


    .mobile-menu-toggle span {
        display: block;

        width: 22px;
        height: 2px;

        background: currentColor;

        border-radius: 2px;

        transition: all .25s ease;
    }


    /* -----------------------------------------
       MOBILE NAVIGATION
    ----------------------------------------- */

    .mobile-navigation {

        display: block !important;

        position: absolute;

        top: 100px;
        left: 0;
        right: 0;

        width: 100%;

        background: #fff;

        border-top: 1px solid #eee;

        box-shadow: 0 8px 20px rgba(0,0,0,.10);

        z-index: 10001;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-8px);

        transition:
            opacity .25s ease,
            visibility .25s ease,
            transform .25s ease;
    }


    /* OPEN */

    body.mobile-menu-open .mobile-navigation {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }


    /* -----------------------------------------
       MENU LIST
    ----------------------------------------- */

    .mobile-menu-list {

        list-style: none;

        margin: 0;

        padding: 5px 20px 10px;
    }


    .mobile-menu-list li {

        margin: 0;

        padding: 0;

        border-bottom: 1px solid #eee;
    }


    .mobile-menu-list li:last-child {
        border-bottom: 0;
    }


    .mobile-menu-list a {

        display: block;

        width: 100%;

        padding: 14px 0;

        color: #222;

        text-decoration: none;

        font-size: 15px;

        font-weight: 500;
    }


    .mobile-menu-list a:hover {
        color: #ed1c24;
    }


    /* -----------------------------------------
       HAMBURGER → X
    ----------------------------------------- */

    body.mobile-menu-open
    .mobile-menu-toggle span:nth-child(1) {

        transform:
            translateY(6px)
            rotate(45deg);
    }


    body.mobile-menu-open
    .mobile-menu-toggle span:nth-child(2) {

        opacity: 0;
    }


    body.mobile-menu-open
    .mobile-menu-toggle span:nth-child(3) {

        transform:
            translateY(-6px)
            rotate(-45deg);
    }

}

/*///////*/

/* Single post mobile fix */
@media (max-width: 768px) {
  /* Stack content and sidebar vertically */
  .site-main,
  .content-area,
  #primary,
  #secondary,
  .widget-area {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Remove any fixed left/right margins */
  #primary {
    margin-right: 0 !important;
  }

  /* Make post content images responsive */
  .entry-content img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Fix the container if it has fixed width */
  .container,
  .site-content {
    width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box;
  }
}
@media (max-width: 1024px) {
    .single-main .main-grid {
        grid-template-columns: 1fr !important;
    }
    .site-sidebar {
        position: static !important;
    }
}
/* =========================================
   SINGLE POST - MOBILE ALIGNMENT FIX
========================================= */
@media (max-width: 768px) {

    /* Main grid single column */
    .single-main .main-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 20px 0 40px !important;
    }

    /* Content ko container ke andar rakho */
    .single-main .container {
        padding: 0 16px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Article content overflow band karo */
    .single-content,
    .single-title,
    .single-meta,
    .single-intro,
    .social-share,
    .author-box,
    .post-navigation,
    .related-posts {
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Featured image full width */
    .single-featured-img {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 8px !important;
    }

    /* Sidebar neeche aaye */
    .site-sidebar {
        position: static !important;
        width: 100% !important;
    }

    /* Content text wrap ho */
    .single-content p,
    .single-content h2,
    .single-content h3 {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
}

/* =========================================
   SINGLE POST - COMPLETE MOBILE FIX
========================================= */

/* Horizontal scroll band karo */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {

    /* Container tight rakho */
    .container {
        padding: 0 16px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    /* Single post grid - 1 column */
    .single-main .main-grid,
    .main-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        overflow: hidden !important;
    }

    /* Sidebar neeche */
    .site-sidebar {
        position: static !important;
        width: 100% !important;
    }

    /* Har element ko boundary mein rakho */
    .single-content,
    .single-title,
    .single-meta,
    .single-intro,
    .social-share,
    .author-box,
    .post-navigation,
    .related-posts,
    .single-featured-img,
    .single-cats,
    .comments-area {
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Author meta row fix - date cut ho rahi thi */
    .single-meta {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        font-size: .78rem !important;
    }

    /* Author avatar size fix */
    .single-meta .author-avatar,
    .post-author-meta img,
    .author-avatar {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        flex-shrink: 0 !important;
    }

    /* Author box layout fix */
    .author-box {
        flex-direction: column !important;
        padding: 14px !important;
    }

    .author-box-avatar {
        width: 60px !important;
        height: 60px !important;
    }

    /* Featured image */
    .single-featured-img img {
        width: 100% !important;
        height: auto !important;
        max-height: 260px !important;
        object-fit: cover !important;
    }

    /* Social share buttons */
    .social-share {
        padding: 10px 12px !important;
        gap: 6px !important;
    }

    .share-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: .78rem !important;
    }

    /* Text content */
    .single-content p,
    .single-content h2,
    .single-content h3,
    .single-content li {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }

    /* Tables scroll karne do */
    .single-content table {
        display: block !important;
        overflow-x: auto !important;
    }
}

/*/////////////*/
.single-meta img,
.post-author-meta img {
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
.single-meta {
    flex-wrap: wrap !important;
    gap: 6px 12px !important;
}
.post-card-content {
   width: auto;
    min-width: 0;
    overflow: hidden;
}
/* Desktop pe single content padding */
@media (min-width: 769px) {
    .single-content {
        padding: 0 !important;
        max-width: 100% !important;
    }
}
/* =========================================
   POST CARD - CONTENT FIX
========================================= */

/* Card content overflow band */
.post-card-content {
    overflow: hidden !important;
    min-width: 0 !important; /* Grid overflow fix */
}

/* Title - max 2 lines */
.post-card-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

/* Excerpt - max 3 lines */
.post-card-excerpt {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

/* Grid column overflow fix - sabse important */
.post-card {
    min-width: 0;
}

/* ============================================================
   CONTACT PAGE - page-contact.php
   ============================================================ */

.contact-main { padding: 0 0 60px; }

/* Page Title */
.contact-page-header { text-align: center; padding: 40px 0 32px; }
.contact-page-title  { font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.contact-title-line  {
    display: block; width: 48px; height: 3px;
    background: var(--accent); margin: 0 auto; border-radius: 2px;
}

/* Two-column wrapper */
.contact-wrapper {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: start;
}

/* ---- LEFT INFO COLUMN ---- */
.contact-info-col { display: flex; flex-direction: column; gap: 20px; }

.contact-intro-box {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.contact-intro-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: #ffebee; color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.contact-intro-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.contact-intro-box p  { font-size: 16px; color: var(--text-mid); line-height: 1.7; }

/* Dot divider */
.contact-divider-dot { padding-left: 4px; }
.contact-divider-dot span {
    display: inline-block; width: 8px; height: 8px;
    background: var(--accent); border-radius: 50%;
}

/* Email row */
.contact-detail-row {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 4px 0;
}
.contact-detail-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: #ffebee; color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem; flex-shrink: 0;
}
.contact-detail-row strong { display: block; font-size: .82rem; color: var(--text-light); margin-bottom: 2px; }
.contact-email-link { color: var(--accent); font-size: .92rem; font-weight: 600; }
.contact-email-link:hover { text-decoration: underline; color: var(--accent-dark); }

/* Social */
.contact-social-section strong { display: block; font-size: .88rem; margin-bottom: 10px; }
.contact-social-icons { display: flex; gap: 10px; }
.cs-icon {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: .9rem;
    transition: transform var(--transition), opacity var(--transition);
}
.cs-icon:hover { transform: translateY(-2px); opacity: .88; color: #fff; }
.cs-fb { background: #1877f2; }
.cs-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.cs-x  { background: #000; }
.cs-li { background: #0a66c2; }

/* Quote */
.contact-quote {
    font-size: 14px; font-style: italic;
    color: var(--text-mid); line-height: 1.7;
    border-left: 3px solid var(--accent);
    padding: 10px 16px;
    background: var(--bg-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.contact-quote .fa-quote-left  { color: var(--accent); margin-right: 6px; font-size: .8rem; }
.contact-quote .fa-quote-right { color: var(--accent); margin-left:  6px; font-size: .8rem; }

/* ---- RIGHT FORM COLUMN ---- */
.contact-form-col { display: flex; flex-direction: column; gap: 16px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }

/* Name + Email two-column */
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-field-wrap { display: flex; flex-direction: column; gap: 6px; }
.contact-field-wrap label { font-size: .85rem; font-weight: 600; color: var(--text-mid); }
.req { color: var(--accent); }

.contact-input-inner {
    position: relative;
    display: flex; align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    transition: border-color var(--transition);
    overflow: hidden;
}
.contact-input-inner:focus-within { border-color: var(--accent); }

.contact-input-inner > i {
    padding: 0 12px;
    color: var(--text-light);
    font-size: .85rem;
    flex-shrink: 0;
    pointer-events: none;
}

.contact-input-inner input,
.contact-input-inner textarea {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 12px 11px 0;
    font-size: .9rem;
    font-family: var(--font-body);
    color: var(--text);
    background: transparent;
    width: 100%;
}
.contact-input-inner textarea { resize: vertical; min-height: 130px; align-self: stretch; }
.contact-textarea-wrap { align-items: flex-start; }
.contact-textarea-wrap > i { padding-top: 13px; }

/* Submit button */
.contact-submit-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    width: 100%;
}
.contact-submit-btn:hover   { background: var(--accent-dark); transform: translateY(-1px); }
.contact-submit-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* Response messages */
.contact-response {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
}
.contact-response--success {
    background: #e8f5e9; color: #2e7d32;
    border: 1px solid #a5d6a7;
}
.contact-response--error {
    background: #ffebee; color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Privacy note */
.contact-privacy-note {
    display: flex; align-items: flex-start; gap: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}
.contact-privacy-note .fa-shield-alt { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.contact-privacy-note p { font-size: 16px; color: var(--text-light); line-height: 1.6; }

/* Dark mode */
body.dark-mode .contact-intro-box,
body.dark-mode .contact-privacy-note,
body.dark-mode .contact-quote { background: #1e1e1e; }
body.dark-mode .contact-intro-icon,
body.dark-mode .contact-detail-icon { background: #2d1515; }
body.dark-mode .contact-input-inner { background: #1e1e1e; border-color: #2e2e2e; }
body.dark-mode .contact-input-inner input,
body.dark-mode .contact-input-inner textarea { color: #f0f0f0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 28px; }
    .contact-info-col { order: 2; }
    .contact-form-col { order: 1; }
}
@media (max-width: 600px) {
    .contact-form-row { grid-template-columns: 1fr; }
    .contact-page-title { font-size: 1.5rem; }
}

/* Single post content - layout ke andar rakho */
.single-content {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

/* Images bhi overflow na karein */
.single-content img,
.single-content figure {
    max-width: 100% !important;
    height: auto !important;
}

/* Tables scroll karein overflow hone par */
.single-content table {
    display: block !important;
    overflow-x: auto !important;
    max-width: 100% !important;
}

.contact-detail-icon .fa-whatsapp {
    color: #25d366 !important;
}

/* Ya puri icon div ko green karo */
.contact-whatsapp-icon {
    background: #e8f8f0 !important;
    color: #25d366 !important;
}
.whatsapp-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
    margin-top: 4px;
}
.whatsapp-contact-btn i {
    font-size: 1.2rem;
}
.whatsapp-contact-btn:hover {
    background: #1da851;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37,211,102,.35);
}