/* -----------------------------------------
   Updated style.css (your original + improved Blog section)
   Paste this whole file or replace the old blog block with the new one below.
   ----------------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #f7f8fc;
    color: #333;
}

/* SITE HEADER */
.site-header {
    background: #1a1444;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Devotion box */
.devotion-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    /* change to #fff if you want white pill behind */
    padding: 4px 8px;
    border-radius: 10px;
    /* subtle shadow to lift it like screenshot 2 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ram image */
.devotion-box .ram-img {
    height: 40px;
    /* desktop default */
    width: auto;
    display: block;
    object-fit: contain;
    border-radius: 6px;
    /* small rounding */
}

/* optional small text next to image */
.devotion-box .ram-text {
    color: #ffb84d;
    /* warm color — change as needed */
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}


.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    flex: 0 0 72px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef6ff
}

/* Desktop nav */
.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #ff9800;
}

/* Toggle */
.menu-toggle {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 22px;
    padding: 6px;
    display: none;
    cursor: pointer;
}

/* Mobile nav */
.mobile-nav {
    overflow: hidden;
    max-height: 0;
    transition: max-height 280ms ease;
    background: #1a1444;
    display: flex;
    flex-direction: column;
    padding: 0 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Responsive */
@media (max-width: 699px) {
    .menu-toggle {
        display: inline-block;
    }

    .nav-links {
        display: none;
    }
}

.site-header.open .mobile-nav {
    max-height: 320px;
}


/* Trending Section */
.trending {
    text-align: center;
    padding: 50px 20px 0 20px;
}

.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
}

/* Podium Base */
.podium-block {
    position: relative;
    width: 200px;
    border-radius: 12px 12px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 15px 15px;
    /* ऊपर space कम */
}

.podium-block img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.podium-block h3 {
    margin: 6px 0;
    font-size: 1.1rem;
    color: #fff;
}

.podium-block .rank-label {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Different podium heights */
.first {
    height: 240px;
    background: linear-gradient(135deg, #fbc02d, #ffeb3b);
}

.second {
    height: 220px;
    background: linear-gradient(135deg, #9e9e9e, #e0e0e0);
}

.third {
    height: 210px;
    background: linear-gradient(135deg, #ff7043, #ffab91);
}

/* Crown */
.crown {
    position: absolute;
    top: -40px;
    /* card से बाहर */
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
}

.gold {
    color: #fbc02d;
}

.silver {
    color: #c0c0c0;
}

.bronze {
    color: #d2691e;
}

/* Ribbons */
.ribbon {
    position: absolute;
    top: 15px;
    left: -5px;
    background: #ff0066;
    color: #fff;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    transform: rotate(-45deg);
}

.ribbon.best {
    background: #ff9800;
}

.ribbon.new {
    background: #4CAF50;
}

.notice-banner {
    margin: 20px auto;
    max-width: 900px;
    padding: 12px 18px;
    border-radius: 12px;
    background: linear-gradient(90deg, #ff3c97, #ff6a3d, #ff9b00);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.notice-banner .pulse {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

.notice-banner marquee {
    flex: 1;
    color: #fff;
}


/* Button */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #ff3c97, #ff6a00);
    transition: 0.3s;
}

.btn:hover {
    opacity: 0.85;
}

.container {
    max-width: 1400px;
    margin: 30px auto 0;
    /* center the whole page container */
    padding: 0 16px;
    box-sizing: border-box;
}

.apps {
    display: grid;
    gap: 24px;
    /* Use fixed-ish column sizing so grid doesn't stretch items to fill row
       and then center the whole grid within its container */
    grid-template-columns: repeat(4, minmax(220px, 260px));
    justify-content: center;
    /* <-- centers the whole grid in the container */
    align-items: start;
    width: 100%;
    max-width: 1400px;
    /* keep same container max as your .container */
    margin: 0 auto;
    /* center within parent */
    padding: 0 8px;
    /* small side padding so cards don't touch edges */
}


/* Large desktops (optional slightly larger columns) */
@media (min-width: 1400px) {

    .apps,
    .referral-cards {
        grid-template-columns: repeat(4, minmax(240px, 300px));
        gap: 28px;
    }
}

/* Tablet: 3 columns and centered */
@media (max-width: 1200px) {

    .apps,
    .referral-cards {
        grid-template-columns: repeat(3, minmax(220px, 300px));
        justify-content: center;
    }
}

/* Small tablets / large phones: 2 columns */
@media (max-width: 900px) {

    .apps,
    .referral-cards {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        gap: 18px;
        padding: 0 12px;
    }
}

/* Mobile: single column, full width */
@media (max-width: 768px) {

    .apps,
    .referral-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 10px;
    }
}

.app-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


.app-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.app-header img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.app-header h3 {
    font-size: 1.2rem;
    color: #ff6a00;
}

.app-desc {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

.referral-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #ff3c97, #ff6a00);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.referral-code {
    font-weight: bold;
    color: #333;
    font-size: 0.95rem;
}

.copy-btn {
    position: relative;
    background: linear-gradient(135deg, #ff3c97, #ff6a00);
    border: none;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.copy-btn:hover {
    opacity: 0.9;
}

.copy-btn::after {
    content: "Copied!";
    position: absolute;
    top: -25px;
    right: 0;
    background: #333;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(5px);
    transition: 0.3s;
}

.copy-btn.active::after {
    opacity: 1;
    transform: translateY(0);
}

.join-btn {
    display: block;
    text-align: center;
    margin-top: 16px;
    background: linear-gradient(135deg, #ff3c97, #ff6a00);
    padding: 14px;
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.join-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75px;
    width: 50px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transform: skewX(-20deg);
}

.join-btn:hover::before {
    left: 120%;
    transition: 0.7s;
}

.app-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0 12px;
    font-size: 0.9rem;
}

.rating {
    color: #ff9800;
    font-weight: bold;
}


.tag {
    margin-left: auto;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #fff;
}

.tag.cashback {
    background: linear-gradient(135deg, #ff6a00, #ff3c97);
}

.tag.popular {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.tag.new {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.tag.editor {
    background: linear-gradient(135deg, #8e2de2, #4a00e0);
}


.features {
    margin: 8px 0 15px;
    padding-left: 15px;
    font-size: 0.85rem;
    color: #444;
}

.features li {
    margin-bottom: 4px;
}


/* Progress bar */
.progress {
    position: relative;
    height: 10px;
    border-radius: 8px;
    overflow: hidden;
    margin: 12px 0;
}

.progress .progress-track {
    position: absolute;
    inset: 0;
    background: #eee;
    border-radius: 8px;
}

.progress .progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    border-radius: 8px;
    background: linear-gradient(90deg, #ff6fa4 0%, #ff8a3d 70%);
    transition: width .6s ease;
}

.features li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.features li span {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* star svg container */
.star-row {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.star-svg {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
}

.star-number {
    margin-left: 8px;
    font-weight: 600;
    color: #333;
}

.stars {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 0.95rem;
}

.stars i {
    color: #ffb400;
    /* Golden yellow */
}

.stars .far.fa-star {
    color: #ddd;
    /* Empty star */
}

.score {
    margin-left: 6px;
    font-size: 0.85rem;
    color: #444;
    font-weight: bold;
}

/* ------- SAFE NOVA SEARCH ------- */
/* ------- SEARCH WRAP ------- */
.search-wrap {
    position: relative;
    width: min(880px, 92%);
    margin: 16px auto 10px;

    /* static gradient border (no overlay) */
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, #ff3c97, #ff6a3d, #ff9b00) border-box;
    border: 2px solid transparent;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

/* input */
.search-input {
    width: 100%;
    border: 0;
    outline: 0;
    background: #fff;
    color: #1e1e22;
    font-size: 16px;
    padding: 14px 52px 14px 58px;
    /* left padding ↑ circle के लिए */
    border-radius: 999px;
}

/* left circle with icon */
.search-dot {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ff4e86, #ff9b00);
    box-shadow: 0 6px 16px rgba(255, 78, 134, .25);
    pointer-events: none;
    /* input क्लिक को block न करे */
}

.search-dot i {
    color: #fff;
    font-size: 14px
}

/* clear button */
.search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 0;
    background: #f7f7f7;
    color: #444;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

/* chips row */
.search-chips {
    width: min(880px, 92%);
    margin: 8px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-chips button {
    border: 0;
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 700;
    font-size: 13px;
    color: #333;
    background: #f0f3f6;
}

.search-chips button:hover {
    background: #e8edf3
}

@media (max-width:640px) {
    .search-input {
        padding: 13px 46px 13px 56px;
        font-size: 15px;
    }

    .search-clear {
        right: 8px
    }

    .search-dot {
        width: 34px;
        height: 34px;
        left: 10px
    }
}


/* ===== Improved Responsive Blog Section (replaces old blog rules) ====== */
/* ================================
   BLOG SECTION – FINAL RESPONSIVE FIX
   ================================ */
.blog-section {
    position: relative;
    padding-top: 36px;
    /* safe top spacing so pill has room */
}

/* Pill (Latest Blog Posts) — center and lift on larger screens */
.blog-section .section-title {
    display: inline-block;
    margin: 18px auto 28px;
    /* default spacing for small screens */
    padding: 10px 22px;
    border-radius: 999px;
    border: 3px solid #f6a623;
    background: #fff8f2;
    color: #d35400;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(12, 38, 63, 0.06);
    position: relative;
    z-index: 5;
    /* make sure it sits above cards */
    transition: all .18s ease;
}

/* Blog grid layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* default desktop */
    gap: 26px;
    max-width: 1200px;
    margin: 16px auto 0;
}

/* Force 4 columns on very large desktops */
@media (min-width: 1280px) {
    .blog-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
    }
}

/* Medium screens (laptops/tablets) – 3 columns */
@media (min-width: 900px) and (max-width: 1279px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets/small screens – 2 columns */
@media (min-width: 600px) and (max-width: 899px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile – 1 column */
@media (max-width: 599px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog card */
.blog-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(12, 38, 63, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
    min-height: 320px;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px rgba(12, 38, 63, 0.09);
}

/* Thumbnail fix – supports both <img class="thumb"> and <div class="thumb"> */

.blog-card .thumb {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 170px;
}

@media (max-width: 700px) {

    img.thumb,
    .blog-card .thumb {
        height: 200px;
        /* taller thumbnail on mobile */
    }
}

/* Blog card body */
.blog-card .card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .badge {
    display: inline-block;
    background: linear-gradient(90deg, #ff6b6b, #ff4d8b);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    box-shadow: 0 6px 12px rgba(255, 107, 107, 0.12);
}

.blog-card h5 {
    margin: 6px 0 8px 0;
    font-size: 18px;
    color: #0f172a;
}

.blog-card p.excerpt {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 14px 0;
    flex: 1;
}

/* Read more button */
.btn-read {
    display: inline-block;
    background: linear-gradient(90deg, #ff5e86, #ff8a3d);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(255, 94, 134, 0.12);
    transition: transform .12s ease;
}

.btn-read:hover {
    transform: translateY(-2px);
}

/* Blog-tag */
.blog-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff3c97;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.footer {
    background: #1a1444;
    color: #fff;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer h3 {
    margin-bottom: 10px;
    color: #ffcc00;
}

.footer-about p {
    margin-top: 10px;
    font-size: 14px;
    color: #ddd;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
}

.footer-links ul li a:hover {
    color: #ffcc00;
}

.footer-social .social-icons a {
    font-size: 20px;
    margin-right: 15px;
    color: #ddd;
    transition: color 0.3s;
}

.footer-social .social-icons a:hover {
    color: #ffcc00;
}

.footer-disclaimer {
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    text-align: center;
    border-radius: 6px;
    color: #bbb;
}

.footer-bottom {
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
}

.footer .logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer .logo {
    height: 36px;
    flex: 0 0 72px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef6ff;
}


/* ---------- Responsive Additions ---------- */

/* Desktop Defaults are already defined */

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {

    .blog-cards {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }

    .header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .header .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobiles (max-width: 600px) */
@media (max-width: 600px) {
    .blog-cards {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1,
    h2,
    h3 {
        font-size: 90%;
    }

    .join-btn,
    .copy-btn {
        font-size: 14px;
        padding: 8px 12px;
    }

    .search-box input {
        width: 100%;
    }
}

/* ----- Responsiveness ----- */
/* Slightly smaller on tablets */
@media (max-width: 1024px) {
    .devotion-box .ram-img {
        height: 36px;
    }

    .devotion-box .ram-text {
        font-size: 0.88rem;
    }
}

/* Mobile: compact — hide text and shrink image if needed */
@media (max-width: 699px) {
    .devotion-box {
        padding: 3px 6px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    }

    .devotion-box .ram-img {
        height: 30px;
    }

    .devotion-box .ram-text {
        display: none;
    }

    /* keep header compact on small phones */
}

/* ============================
   MOBILE FIXES FOR BLOG SECTION
   ============================ */

/* Ensure pill doesn't overlap on small screens and cards stack nicely */
@media (max-width: 768px) {
    .blog-section {
        padding-top: 28px !important;
        /* give top space for pill */
    }

    .blog-section .section-title {
        display: inline-block;
        margin: 12px auto 18px !important;
        /* normal flow on mobile */
        position: relative;
        z-index: 6;
        box-shadow: 0 8px 18px rgba(12, 38, 63, 0.06);
        font-size: 15px;
        padding: 10px 18px;
    }

    /* Grid: single column so cards use full width */
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        padding: 0 12px;
        margin: 10px auto 0;
        max-width: 680px;
    }

    /* Make cards comfortable on mobile */
    .blog-card {
        min-height: auto;
        border-radius: 12px;
        padding: 0;
        overflow: hidden;
        box-shadow: 0 12px 28px rgba(12, 38, 63, 0.06);
    }

    .blog-card .card-body {
        padding: 14px;
    }

    /* Thumbnails: taller & full-width crop for mobile */
    img.thumb,
    .blog-card .thumb {
        height: 220px !important;
        object-fit: cover;
        width: 100%;
        display: block;
    }

    /* Title and excerpt sizes tuned for mobile */
    .blog-card h5 {
        font-size: 18px;
        margin-top: 6px;
        line-height: 1.2;
    }

    .blog-card p.excerpt {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    /* Read More button — full width-ish and easier to tap */
    .btn-read {
        display: inline-block;
        padding: 10px 16px;
        font-size: 15px;
        border-radius: 28px;
    }

    /* Give bottom spacing so footer not jam into cards */
    /* .load-more-blogs {
        margin-bottom: 18px;
    } */

    /* Remove large negative margins or lifts that affect mobile */
    .blog-section .section-title {
        transform: none !important;
        margin-top: 12px !important;
    }

    /* reduce outer container side padding for small phones */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Extra small phones (<= 420px): small tweaks */
@media (max-width: 420px) {
    .blog-grid {
        max-width: 420px;
        gap: 12px;
    }

    img.thumb,
    .blog-card .thumb {
        height: 200px !important;
    }

    .blog-card .card-body {
        padding: 12px;
    }

    .blog-section .section-title {
        font-size: 14px;
        padding: 9px 14px;
    }

    .btn-read {
        padding: 10px 14px;
        font-size: 14px;
        min-width: 120px;
    }
}

/* Accessibility: ensure pill focus-visible looks good on mobile */
.blog-section .section-title:focus,
.blog-section .section-title:focus-visible {
    outline: 3px solid rgba(11, 94, 215, 0.12);
    box-shadow: 0 12px 28px rgba(12, 38, 63, 0.08);
}

.views-badge,
.likes-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 22px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 6px 18px rgba(12, 38, 63, 0.03);
}

.likes-badge i {
    color: #e11d48;
}

.views-badge i {
    color: #64748b;
}

/* FAQ section */

.faq-list {
    max-width: 100%;
    margin: 0 auto;
}

.faq-item {
    border-radius: 12px;
    background: #fff;
    padding: 0;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(12, 38, 63, 0.04);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

.faq-q .chev {
    font-weight: 900;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
    color: #0f172a;
}

.faq-a {
    padding: 12px 18px 18px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid #f3f4f6;
}

.faq-item .faq-q[aria-expanded="true"] {
    background: linear-gradient(90deg, #fff, #fff);
}

/* =========================
   PROFESSIONAL FAQ STYLES
   ========================= */

.faq-section {
    background: transparent;
    padding: 26px 8px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.faq-inner {
    width: 100%;
    max-width: 1100px;
    /* center width like your blog grid */
    margin: 0 auto;
    box-sizing: border-box;
}

/* pill title centered */
.faq-top {
    text-align: center;
    margin-bottom: 18px;
}

.section-pill {
    display: inline-block;
    padding: 10px 26px;
    border-radius: 999px;
    border: 3px solid #f6a623;
    background: #fff8f2;
    color: #d35400;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(12, 38, 63, 0.06);
    cursor: default;
    font-size: 16px;
}

/* Grid of FAQ items */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}


/* FAQ item box */
.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(12, 38, 63, 0.06);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.03);
}

/* Question button */
.faq-q {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 16px 18px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    transition: background .18s ease;
}

.faq-q:hover {
    background: linear-gradient(90deg, rgba(255, 106, 0, 0.03), rgba(255, 60, 151, 0.02));
}

/* icon rotate when open */
.faq-q[aria-expanded="true"] .faq-q-meta svg {
    transform: rotate(180deg);
    transition: transform .22s ease;
}

/* question text */
.faq-q-text {
    display: block;
    max-width: calc(100% - 40px);
}

/* Answer panel */
.faq-a {
    padding: 12px 18px 18px;
    background: #fff;
    border-top: 1px solid #f3f4f6;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

/* inner wrapper for answer (for nice padding/typography) */
.faq-a-inner {
    max-width: 100%;
}

/* Hide button */
.faq-footer {
    text-align: center;
    margin-top: 14px;
}

.faq-hidebtn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(90deg, #ff5e86, #ff8a3d);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(255, 94, 134, 0.12);
}

/* small screens: make single column and comfortable padding */
@media(max-width:520px) {
    .faq-q {
        padding: 14px;
        font-size: 15px;
    }

    .faq-a {
        padding: 12px;
        font-size: 15px;
    }

    .section-pill {
        font-size: 14px;
        padding: 9px 18px;
    }
}

/* Accessibility focus */
.faq-q:focus {
    outline: 3px solid rgba(11, 94, 215, 0.12);
    border-radius: 6px;
}

.faq-hidebtn:focus {
    outline: 3px solid rgba(11, 94, 215, 0.12);
    border-radius: 8px;
}

/* ensure faq appears visually separate from footer */
.faq-section+footer,
.faq-section+.site-footer {
    margin-top: 28px;
}

/* small helper: if faq panel hidden, don't show space */
.faq-a[hidden] {
    display: none !important;
    height: auto;
}

.no-more-msg {
    margin-top: 12px;
    color: #6b7280;
    font-weight: 600;
    display: none;
    font-size: 15px;
}

/* ===== Strong centering for all "Load More" wrappers ===== */
.load-more-wrapper,
.load-more-wrapper .load-more-container,
.load-more-blogs,
.load-more-blogs .load-more-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    clear: both !important;
    margin-top: 28px !important;
    padding: 0 12px !important;
}

/* If the grid forces the wrapper into a column, allow it to span full grid */
.apps .load-more-wrapper,
.apps+.load-more-wrapper,
.blog-grid~.load-more-blogs,
.blog-grid+.load-more-blogs {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* Buttons themselves: center and keep visual style */
#loadMoreReferrals,
#loadMoreBlogs {
    margin: 0 auto !important;
    background: linear-gradient(45deg, #ff0077, #ff6600) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 26px !important;
    font-size: 15px !important;
    border-radius: 28px !important;
    cursor: pointer !important;
    min-width: 140px;
    box-shadow: 0 10px 22px rgba(255, 102, 102, 0.12) !important;
    text-align: center !important;
}

/* ensure no accidental left margins from parent rules */
#loadMoreReferrals,
#loadMoreBlogs {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Responsive: full-width on small screens for easy tapping */
@media (max-width: 640px) {

    #loadMoreReferrals,
    #loadMoreBlogs {
        width: 100% !important;
        max-width: 520px !important;
        padding: 12px 18px !important;
    }
}

/* Blog-style look for pages */
.container.page-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 18px;
}

.row.grid {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.col-main {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
}

.col-side {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

.card.page-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(13, 20, 41, 0.06);
    overflow: hidden;
}

.card .card-body {
    padding: 28px;
}

.page-title {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 15px;
}

.page-meta-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-left img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.meta-left .name {
    font-weight: 600;
}

.meta-left .date {
    font-size: 14px;
    color: #6b7280;
}

.meta-right {
    display: flex;
    gap: 12px;
    font-size: 14px;
}

.meta-right span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #f9fafb;
}

.meta-right i {
    color: #ef4444;
}

.page-content {
    font-size: 16px;
    line-height: 1.9;
    color: #111827;
}

.page-content h2 {
    font-size: 20px;
    margin-top: 1.2rem;
    margin-bottom: .6rem;
    font-weight: 600;
}

.page-content h3 {
    font-size: 18px;
    margin-top: 1rem;
    margin-bottom: .5rem;
    font-weight: 600;
}

.page-content p {
    margin-bottom: 1.05rem;
}

.page-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1rem 0;
}

.card.toc-card {
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
}

.card.toc-card .card-body {
    padding: 18px;
}

.toc-title {
    font-weight: 700;
    margin: 0 0 10px;
    font-size: 15px;
}

#toc {
    list-style: disc;
    padding-left: 18px;
}

#toc li {
    margin-bottom: 8px;
    font-size: 14px;
}

#toc li.toc-h3 {
    margin-left: 14px;
}

@media(min-width:992px) {
    .toc-sticky {
        position: sticky;
        top: 110px
    }
}

@media(max-width:991px) {
    .row.grid {
        flex-direction: column
    }

    .col-main,
    .col-side {
        flex: 0 0 100%;
        max-width: 100%
    }

    .page-title {
        font-size: 28px
    }
}

/* devotion */
.devotion-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.devotion-box .ram-img {
    height: 40px;
}

/* Dropdown desktop */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    color: #111;
    min-width: 200px;
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(10, 12, 20, 0.18);
    overflow: hidden;
    z-index: 10000;
    transform-origin: top left;
    transition: transform .12s ease, opacity .12s ease;
    opacity: 0;
    transform: translateY(-6px) scale(.98);
}

.dropdown.open .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.dropdown-content a {
    display: block;
    color: #111 !important;
    /* ensures dark text on white background */
    background: #fff !important;
    padding: 10px 14px;
    color: #111;
    text-decoration: none;
}

.dropdown-content a:hover {
    background: #f6f7fb !important;
    color: #000 !important;
}

/* overall container */
.footer {
    background: #1b1339;
    /* deep purple */
    color: #e6e6ee;
    padding: 36px 20px 18px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.footer-container {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

/* columns */
.footer-about {
    flex: 0 0 40%;
    max-width: 40%;
}

.footer-links {
    flex: 0 0 28%;
    max-width: 28%;
}

.footer-social {
    flex: 0 0 28%;
    max-width: 28%;
    text-align: right;
}

.footer-about .logo {
    display: block;
    margin-bottom: 12px;
}

.footer-about p {
    color: #f3eedd;
    margin: 0;
}

.footer-links h3,
.footer-social h3 {
    color: #ffd24d;
    margin: 0 0 12px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #f3e6ff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #fff;
}

/* Social icons (flex) */
.footer .social-icons {
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #ffffff;
    color: #1b1339;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform .14s ease, box-shadow .14s ease;
}

.footer .social-icons a:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.footer .social-icons a[aria-disabled="true"] {
    opacity: 0.45;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.footer-disclaimer {
    max-width: 1180px;
    margin: 18px auto 8px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    color: #cfcfe2;
}

.footer-bottom {
    max-width: 1180px;
    margin: 8px auto 0;
    text-align: center;
    color: #b9b0d1;
    padding: 18px 0 6px;
}

/* responsive - stack columns on small screens */
@media (max-width: 880px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding-bottom: 12px;
    }

    .footer-about,
    .footer-links,
    .footer-social {
        max-width: 100%;
        flex: 0 0 100%;
        text-align: left;
    }

    .footer-social {
        text-align: left;
    }

    .footer .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .footer .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 8px;
    }
}

/* base: use Hind Siliguri with sensible fallbacks */
:root {
    --toc-top-offset: 92px;
}

html,
body {
    font-family: 'Hind Siliguri', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: #111827;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
}

/* like button styles + pulse animation */
.like-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    font-weight: 700;
    color: #111827;
    transition: transform .08s ease, box-shadow .12s ease;
}

.like-btn .heart {
    font-size: 18px;
    color: #6b7280;
    transition: transform .14s cubic-bezier(.2, .8, .2, 1), color .14s ease, text-shadow .14s ease;
    display: inline-block;
    line-height: 1;
}

.like-btn.liked {
    color: #e11d48;
    border-color: rgba(225, 29, 72, 0.12);
    background: rgba(225, 29, 72, 0.03);
}

.like-btn.liked .heart {
    color: #e11d48;
}

/* pulse animation (small) */
@keyframes heartPulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(225, 29, 72, 0));
    }

    30% {
        transform: scale(1.22);
        filter: drop-shadow(0 6px 14px rgba(225, 29, 72, 0.18));
    }

    60% {
        transform: scale(0.98);
        filter: drop-shadow(0 4px 10px rgba(225, 29, 72, 0.12));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(225, 29, 72, 0));
    }
}

.heart.pulse {
    animation: heartPulse 520ms cubic-bezier(.2, .9, .2, 1);
}

.like-count {
    font-weight: 700;
}

.article-card {
    max-width: 1100px;
    margin: 28px auto;
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(8, 15, 30, 0.04);
}

.page-title {
    font-size: 34px;
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 12px;
}

@media (max-width:760px) {
    .page-title {
        font-size: 24px;
    }
}

.post-meta {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid #eee;
}

/* Heading sizes (SEO + UX best-practices) */
.post-body h1 {
    font-size: 28px;
    margin: 20px 0 12px;
    line-height: 1.25;
    font-weight: 700;
}

.post-body h2 {
    font-size: 22px;
    margin: 18px 0 12px;
    line-height: 1.28;
    font-weight: 700;
}

.post-body h3 {
    font-size: 18px;
    margin: 16px 0 10px;
    line-height: 1.28;
    font-weight: 700;
}

.post-body h4 {
    font-size: 16px;
    margin: 14px 0 10px;
    line-height: 1.3;
    font-weight: 700;
}

@media (max-width:760px) {
    .post-body h2 {
        font-size: 20px;
    }

    .post-body h3 {
        font-size: 17px;
    }

    .post-body h4 {
        font-size: 15.5px;
    }
}

.post-body p {
    line-height: 1.75;
    font-size: 16px;
    color: #111827;
}

.post-body img,
.post-body figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 12px 0;
    border-radius: 8px;
}

/* tables */
.post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
    overflow: auto;
    white-space: nowrap;
    border-radius: 6px;
}

.post-body table th,
.post-body table td {
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    text-align: left;
}

.post-body caption {
    caption-side: top;
    font-weight: 600;
    padding: 6px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
}

.post-body ul,
.post-body ol {
    margin: 12px 0 12px 28px;
    padding-left: 12px;
}

.post-body li {
    margin-bottom: 8px;
    line-height: 1.7;
    font-size: 15px;
}

/* TOC */
.article-with-toc {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

@media (max-width:979px) {
    .article-with-toc {
        display: block;
    }
}

.toc-widget {
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 12px;
}

.toc-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fbfe;
    border: 1px solid #eef6fb;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

.toc-count {
    margin-left: auto;
    background: #e6f3ff;
    color: #0b5ed7;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}

.toc-list {
    margin: 10px 0 0 0;
    padding: 0;
    list-style: none;
}

.toc-list li {
    padding: 6px 6px;
    border-radius: 6px;
    margin-bottom: 6px;
    transition: background .12s ease;
}

.toc-list li a {
    color: #0b5ed7;
    text-decoration: none;
    display: block;
    padding: 6px;
    border-radius: 6px;
    font-weight: 600;
}

.tlvl-1 {
    padding-left: 6px;
}

.tlvl-2 {
    padding-left: 14px;
}

.tlvl-3 {
    padding-left: 24px;
    font-size: 13px;
    color: #374151;
}

.tlvl-4 {
    padding-left: 34px;
    font-size: 13px;
    color: #475569;
}

.toc-list li.active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), rgba(37, 99, 235, 0.02));
}

.toc-list li.active a {
    color: #0b5ed7;
}

.toc-desktop {
    display: none;
}

@media (min-width:980px) {
    .toc-desktop {
        display: block;
        position: sticky;
        top: calc(var(--toc-top-offset));
        max-height: calc(100vh - var(--toc-top-offset) - 28px);
        overflow: auto;
        background: #fbfdff;
        border: 1px solid #eef6fb;
        padding: 12px;
        border-radius: 8px;
        box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
    }

    .toc-mobile {
        display: none;
    }
}

/* share buttons */
.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.share-buttons a {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: #111827;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
    transition: transform .08s ease, box-shadow .08s ease;
    white-space: nowrap;
}

.share-buttons a.whatsapp {
    background: #25D366;
    color: #fff;
}

.share-buttons a.facebook {
    background: #1877F2;
    color: #fff;
}

.share-buttons a.telegram {
    background: #2AABEE;
    color: #fff;
}

.share-buttons a.x {
    background: #1DA1F2;
    color: #fff;
}

@media (max-width:560px) {
    .share-buttons a {
        padding: 8px;
        width: 44px;
        height: 44px;
        justify-content: center;
        border-radius: 10px;
        font-size: 0;
    }

    .share-buttons a i {
        font-size: 18px;
        display: block;
        color: inherit;
    }
}

/* comments */
.comment-form input,
.comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e6eef6;
    margin-bottom: 10px;
    font-size: 15px;
}

.btn-primary {
    background: #0b5ed7;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

.comments-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.comment-author {
    font-weight: 700;
}

.comment-meta {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 6px;
}

.admin-reply {
    margin-top: 8px;
    padding: 10px;
    border-left: 3px solid #0b5ed7;
    background: #f7f9fc;
    border-radius: 6px;
}

.comments-wrap {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-top: 12px;
}

.comment-form-area {
    width: 340px;
}

@media (max-width:880px) {
    .comments-wrap {
        flex-direction: column-reverse;
    }

    .comment-form-area {
        width: 100% !important;
    }
}

.share-buttons a:focus,
.toc-toggle:focus {
    outline: 3px solid rgba(11, 94, 215, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ------- Post meta & like/views styles (add to your CSS) ------- */

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* author avatar already exists but ensure size */
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(2, 6, 23, 0.06);
}

/* Views pill (small rounded badge with icon + number) */
.views-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff5f6;
    /* very pale pink */
    border: 1px solid rgba(235, 87, 87, 0.12);
    /* color: #e11d48; */
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.04);
    font-size: 13px;
}

/* small eye icon */
.views-pill .fa-eye {
    font-size: 14px;
    color: #e11d48;
}


/* responsive: stack meta nicely on small screens */
@media (max-width: 760px) {
    .post-meta {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .article-with-toc {
        /* ensure content above toc on mobile */
        display: block;
    }
}

/* ===== Mobile Pages dropdown improvements (for <details><summary>) ===== */
.mobile-dropdown {
  width: 100%;
  margin: 8px 0;
  box-sizing: border-box;
}

/* style the summary so it is full-width, big touch target */
.mobile-dropdown summary {
  list-style: none;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  cursor: pointer;
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg,#1a1444,#20134d); /* matches header */
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  position: relative;
}

/* custom arrow on the right */
.mobile-dropdown summary::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #ddd;
  font-size: 14px;
}

/* when open, change arrow and slightly different background */
.mobile-dropdown[open] summary {
  background: linear-gradient(90deg,#20134d,#2a1a60);
}
.mobile-dropdown[open] summary::after {
  content: "▴";
}

/* the dropdown content (links) */
.mobile-dropdown .mobile-dropdown-content {
  display: block;
  background: #fff;
  color: #111;
  border-radius: 0 0 10px 10px;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 12px 28px rgba(8,15,30,0.06);
}

/* each link in dropdown */
.mobile-dropdown .mobile-dropdown-content a {
  display: block;
  padding: 12px 14px;
  font-size: 15px;
  color: #111;
  text-decoration: none;
  border-top: 1px solid rgba(0,0,0,0.03);
}
.mobile-dropdown .mobile-dropdown-content a:first-child {
  border-top: 0;
}

/* touch target */
.mobile-dropdown .mobile-dropdown-content a {
  min-height: 44px;
}

/* ensure mobile nav shows full content when header open */
.site-header.open .mobile-nav {
  max-height: 1000px; /* big enough to allow dropdown expand */
  overflow: visible;
}

/* small screens tweak: summary text color & size */
@media (max-width: 420px) {
  .mobile-dropdown summary {
    font-size: 15px;
    padding: 10px 12px;
  }
  .mobile-dropdown .mobile-dropdown-content a {
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* If your theme previously set .mobile-nav a styles for white text,
   ensure dropdown links are visible on white background by forcing color: */
.mobile-nav .mobile-dropdown .mobile-dropdown-content a { color: #111 !important; }
