 @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: 'Inter', sans-serif;
            background: #f8f9fb;
            color: #111;
            overflow-x: hidden;
        }

        :root {
            --primary: #0a2463;
            --primary-dark: #071940;
            --secondary: #d32f2f;
        }

        /* ===== BRAND HERO ===== */
        .brand-hero {
            background: radial-gradient(ellipse at 30% 50%, #1a3a8f 0%, #0d2060 40%, #071540 100%);
            position: relative;
            overflow: hidden;
            padding: 50px 20px 80px;
        }

        .brand-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
            background-size: 26px 26px;
            pointer-events: none;
        }
        .breadcrumb-link {
            color: rgba(255,255,255,0.6);
            transition: color 0.2s;
            text-decoration: none;
            font-size: 13px;
        }
        .breadcrumb-link:hover { color: #fff; }

        .brand-hero-inner {
            max-width: 1100px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .brand-logo-card {
            background: #fff;
            border-radius: 20px;
            padding: 22px 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 20px 50px rgba(0,0,0,0.25);
            width: 180px;
            height: 110px;
            flex-shrink: 0;
        }

        .brand-logo-card img {
            max-width: 100%;
            max-height: 65px;
            object-fit: contain;
        }

        .brand-hero-name {
            font-family: 'Montserrat', sans-serif;
            font-weight: 800;
            color: #fff;
            font-size: clamp(26px, 4vw, 40px);
            line-height: 1.15;
        }

        .brand-hero-desc {
            color: rgba(255,255,255,0.75);
            font-size: 14px;
            line-height: 1.6;
            max-width: 620px;
            margin-top: 10px;
        }

        .brand-hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255,255,255,0.12);
            border: 1.5px solid rgba(255,255,255,0.25);
            color: rgba(255,255,255,0.9);
            padding: 5px 16px;
            border-radius: 50px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-top: 14px;
        }

        /* ===== PRODUCT CARDS ===== */
        .pgrid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        @media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
        @media (max-width: 768px)  { .pgrid { grid-template-columns: repeat(1, 1fr); gap: 14px; } }
        @media (max-width: 480px)  { .pgrid { grid-template-columns: repeat(1, 1fr); gap: 10px; } }

        .pcard {
            background: #fff;
            border: 2px solid #e8ecf4;
            border-radius: 16px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
            display: flex;
            flex-direction: column;
        }
        .pcard:hover {
            transform: translateY(-6px);
            border-color: var(--primary);
            box-shadow: 0 20px 50px rgba(4, 37, 116, 0.15);
        }

        .pcard .img-wrap {
            background: #f8f9fb61;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 230px;
            padding:16px;
            border-bottom: 1px solid #f0f2f87e;
            position: relative;
        }
        .pcard .img-wrap img {
            max-height: 160px;
            max-width: 100%;
            object-fit: contain;
            transition: transform 0.5s ease;
        }
        .pcard:hover .img-wrap img { transform: scale(1.06); }

        .pcard .brand-tag {
            position: absolute;
            top: 8px;
            left: 10px;
            z-index: 10;
            background: var(--primary);
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 0.4px;
        }

        .pcard .body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }

  .pcard h3{
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);

    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
        .pcard .subtitle {
            font-size: 11px;
            font-weight: 800;
            color: #0c2b62;
            margin-bottom: 8px;
        }

        .pcard .price {
            font-family: 'Montserrat', sans-serif;
            font-size: 16px;
            font-weight: 700;
            color: var(--secondary);
            margin-top: auto;
        }

        .pcard .cat-pill {
            display: inline-block;
            font-size: 10px;
            font-weight: 700;
            color: #374151;
            background: #f3f4f6;
            padding: 3px 10px;
            border-radius: 20px;
            margin-bottom: 8px;
            width: fit-content;
        }

        .pcard .view-btn {
            display: block;
            text-align: center;
            background: var(--primary);
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            padding: 9px;
            border-radius: 8px;
            margin-top: 10px;
            transition: background 0.2s;
        }
        .pcard:hover .view-btn { background: var(--secondary); }

        /* ===== EMPTY STATE ===== */
        .empty-state {
            text-align: center;
            padding: 70px 20px;
        }
        .empty-state svg { width: 64px; height: 64px; color: #d1d5db; margin: 0 auto 16px; }
        .empty-state h3 { font-size: 20px; font-weight: 800; color: #6b7280; margin-bottom: 6px; font-family: 'Montserrat', sans-serif; }
        .empty-state p { color: #9ca3af; font-size: 14px; }

        /* ===== CTA STRIP ===== */
        .cta-strip {
            background: linear-gradient(135deg, #071940 0%, #0a2463 60%, #1e3a8a 100%);
        }


        @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:ital,wght@0,400;0,600;1,400&display=swap');

/* ============================================================
   blog-details.css
   Styles required by blog-details.php (article + sidebar)
   ============================================================ */

/* ===== SIDEBAR (sticky on desktop) ===== */
.blog-aside-sticky { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) {
    .blog-aside-sticky {
        position: sticky;
        top: 104px;                       /* clears the sticky site header */
        max-height: calc(100vh - 124px);
        overflow-y: auto;
        padding-right: 2px;
        scrollbar-width: none;            /* no visible scrollbar (still scrolls with wheel / touch) */
        -ms-overflow-style: none;
    }
    .blog-aside-sticky::-webkit-scrollbar { display: none; width: 0; height: 0; }
}
.blog-aside-sticky p, .blog-aside-sticky a, .blog-aside-sticky li { text-align: left; }

.sidebar-section {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 0;
    box-shadow: 0 2px 10px rgba(10, 36, 99, .05);
}
.sidebar-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: #0a2463;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
    position: relative;
    text-align: left;
}
.sidebar-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px; background: #c0392b; }

/* ===== RECENT POSTS ===== */
.recent-post {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: transform .2s;
}
.recent-post:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post:first-of-type { padding-top: 0; }
.recent-post:hover { text-decoration: none; transform: translateX(3px); }
.recent-post:hover .recent-post-title { color: #c0392b; }
.recent-post-img {
    width: 68px; height: 68px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #f3f4f6;
}
.recent-post-title { transition: color .2s; text-align: left; margin: 0; }

/* ===== CATEGORY CHIPS ===== */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px; background: #f4f6fb; color: #0a2463;
    font-size: 12.5px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s;
}
.cat-chip span { background: #fff; border-radius: 999px; padding: 0 7px; font-size: 11px; color: #64748b; }
.cat-chip:hover { background: #0a2463; color: #fff; }

/* ===== TABLE OF CONTENTS (built from the article's H2/H3) ===== */
.toc-list { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
.toc-list::-webkit-scrollbar { display: none; width: 0; height: 0; }
.toc-list li { margin: 0; }
.toc-list a {
    display: block; padding: 7px 10px; border-left: 3px solid transparent; border-radius: 0 8px 8px 0;
    font-size: 13px; line-height: 1.4; color: #475569; text-decoration: none; transition: all .15s;
}
.toc-list a.toc-h3 { padding-left: 22px; font-size: 12.5px; }
.toc-list a:hover { background: #f8faff; color: #0a2463; }
.toc-list a.is-active { border-left-color: #c0392b; background: #fdf5f4; color: #0a2463; font-weight: 700; }

/* ===== SHARE ===== */
.share-row { display: flex; gap: 8px; }
.share-btn {
    width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: #f4f6fb; color: #0a2463; transition: background .2s, color .2s, transform .2s; border: 0; cursor: pointer;
}
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-btn { width: 46px; height: 46px; }
.share-btn svg { width: 22px; height: 22px; }
.share-wa { background: #e8f9ef; color: #16a34a; }
.share-wa:hover { background: #22c55e; color: #fff; transform: translateY(-2px); }
.share-call { background: #e8eefc; color: #0a2463; }
.share-call:hover { background: #0a2463; color: #fff; transform: translateY(-2px); }

/* ===== ARTICLE CONTENT (admin-authored HTML body: headings, lists, tables, images, videos ...) ===== */
.article-content {
    font-family: 'Open Sans', sans-serif;
    font-size: 16.5px;
    line-height: 1.85;
    color: #374151;
    overflow-wrap: anywhere;
    word-break: normal;
}
.article-content::after { content: ""; display: table; clear: both; }   /* contain floated images */
.article-content > * + * { margin-top: 1.15em; }
.article-content p { margin: 0; text-align: left; font-size: inherit; line-height: inherit; }
.article-content h1, .article-content h2, .article-content h3,
.article-content h4, .article-content h5, .article-content h6 {
    font-family: 'Montserrat', sans-serif; font-weight: 800; color: #0a2463; line-height: 1.3;
    margin-top: 1.9em; margin-bottom: .2em; scroll-margin-top: 110px;
}
.article-content h1 { font-size: 30px; }
.article-content h2 { font-size: 25px; padding-bottom: 8px; border-bottom: 2px solid #eef0f4; }
.article-content h3 { font-size: 20.5px; }
.article-content h4 { font-size: 18px; }
.article-content h5 { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.article-content h6 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: #475569; }
.article-content a { color: #c0392b; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(192,57,43,.35); text-underline-offset: 3px; }
.article-content a:hover { text-decoration-color: #c0392b; }
.article-content strong, .article-content b { color: #111827; font-weight: 700; }
.article-content mark { background: #fff3c4; padding: 0 3px; border-radius: 3px; }
.article-content small { font-size: .85em; color: #64748b; }
.article-content hr { border: 0; border-top: 2px solid #eef0f4; margin: 2em 0; }

/* lists: bullets / numbers must show (Tailwind's reset removes them) */
.article-content ul, .article-content ol { margin: 0; padding-left: 1.6em; }
.article-content ul { list-style: disc outside; }
.article-content ol { list-style: decimal outside; }
.article-content ul ul, .article-content ol ul { list-style: circle outside; }
.article-content ul ul ul { list-style: square outside; }
.article-content ol ol { list-style: lower-alpha outside; }
.article-content li { margin: 0 0 .5em; padding-left: .2em; text-align: left; font-size: inherit; line-height: inherit; }
.article-content li::marker { color: #c0392b; font-weight: 700; }
.article-content li > ul, .article-content li > ol { margin-top: .5em; }
.article-content li:last-child { margin-bottom: 0; }
.article-content dl { margin: 0; }
.article-content dt { font-weight: 700; color: #0a2463; margin-top: .8em; }
.article-content dd { margin-left: 1.4em; }

/* images, figures, embeds */
.article-content img { max-width: 100%; height: auto; border-radius: 12px; margin: .4em 0; }
.article-content figure { margin: 1.4em 0; text-align: center; }
.article-content figure img { margin: 0 auto; }
.article-content figcaption { font-size: 13.5px; color: #64748b; margin-top: .6em; font-style: italic; text-align: center; }
.article-content img.alignleft, .article-content .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.article-content img.alignright, .article-content .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.article-content img.aligncenter, .article-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.article-content iframe, .article-content video, .article-content embed, .article-content object { max-width: 100%; border: 0; border-radius: 12px; }
.article-content iframe[src*="youtube"], .article-content iframe[src*="youtu.be"], .article-content iframe[src*="vimeo"] { width: 100%; aspect-ratio: 16 / 9; height: auto; }

/* quotes and code */
.article-content blockquote {
    border-left: 4px solid #c0392b; background: #fdf5f4; padding: 16px 20px; border-radius: 10px;
    font-style: italic; color: #4b5563; margin-left: 0; margin-right: 0;
}
.article-content blockquote p { text-align: left; }
.article-content code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: .9em; color: #0a2463; }
.article-content pre {
    background: #0f172a; color: #e2e8f0; padding: 16px 18px; border-radius: 12px; overflow-x: auto;
    font-size: 13.5px; line-height: 1.6; white-space: pre; overflow-wrap: normal;
}
.article-content pre code { background: transparent; color: inherit; padding: 0; }

/* tables: wrapped in .table-wrap by blog-details.php so wide tables scroll sideways on phones */
.article-content .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; }
.article-content table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; margin: 0; }
.article-content table caption { caption-side: top; padding: 10px 14px; font-weight: 700; color: #0a2463; text-align: left; }
.article-content table th, .article-content table td {
    border: 0; border-bottom: 1px solid #eef0f4; padding: 11px 14px; text-align: left; vertical-align: top;
    font-size: inherit; line-height: 1.55; overflow-wrap: normal; word-break: normal;
}
.article-content table th { background: #0a2463; color: #fff; font-weight: 700; white-space: nowrap; }
.article-content table thead th:first-child { border-top-left-radius: 11px; }
.article-content table thead th:last-child { border-top-right-radius: 11px; }
.article-content table tbody tr:nth-child(even) td { background: #f8faff; }
.article-content table tbody tr:hover td { background: #fdf5f4; }
.article-content table tr:last-child td { border-bottom: 0; }
.article-content table p { margin: 0; }

@media (max-width: 640px) {
    .article-content { font-size: 16px; line-height: 1.75; }
    .article-content h2 { font-size: 22px; }
    .article-content h3 { font-size: 19px; }
    .article-content img.alignleft, .article-content img.alignright, .article-content .alignleft, .article-content .alignright { float: none; display: block; margin: .6em auto; max-width: 100%; }
}

/* ===== RELATED ARTICLE CARDS ===== */
.related-card {
    transition: box-shadow .25s, transform .25s;
}
.related-card:hover {
    box-shadow: 0 12px 28px rgba(10, 36, 99, .12);
    transform: translateY(-3px);
}

.related-card .img-wrap {
    display: block;
    background: #f3f4f6;
}
.related-card .img-wrap img {
    transition: transform .4s;
}
.related-card:hover .img-wrap img {
    transform: scale(1.06);
}