 :root {
     --bg: #f5f7fb;
     --card: #ffffff;
     --text: #212529;
     --muted: #64748b;
     --line: #e2e8f0;
     --accent: #0173B5;
     --white: #fff;
     --accent-weak: #e6f2ff;
     --light-blue: #83F7FF;
     --radius: 16px;
     --radius-sm: 10px;
     --shadow: 0 6px 20px rgba(15, 23, 42, .06);
 }



 /* Layout */
 body {
     background-color: var(--white);
     color: var(--color-text-dark);
     font-family: 'Manrope', sans-serif;
     font-size: 16px;
     line-height: 1.6;
     font-weight: 400;
     color: var(--text);
 }

 /* blog hero img */

 .page_container {
     margin: 28px auto;
     padding: 0 16px;
 }

 /* Hero banner */
 .hero_banner {
     position: relative;
     border-radius: var(--radius);
     overflow: hidden;
     box-shadow: var(--shadow);
     color: var(--text);
     /* Aspect ratio keeps the pill look on all screens */
     aspect-ratio: 21/7;
     min-height: 220px;
     /* ensures readable height on very small screens */
     display: grid;
     place-items: center;
     text-align: center;
     isolation: isolate;
     /* keep overlay above image */
 }

 /* Background image */
 .hero_media {
     position: absolute;
     inset: 0;
     background-image: url("./assets/blogs/blog_img.jpg");
     /* replace with your image */
     background-size: cover;
     background-position: center;
     filter: saturate(.95);
     z-index: -2;
 }

 /* Dark gradient overlay for contrast */
 .hero_overlay {
     position: absolute;
     inset: 0;
     background: linear-gradient(180deg, rgba(2, 6, 23, .55), rgba(2, 6, 23, .35));
     z-index: -1;
 }

 /* Content */
 .hero_content {
     padding: clamp(18px, 2vw, 28px);
 }

 .hero_title1 {
     font-family: Manrope;
     font-weight: 400;
     font-size: 64px;
     line-height: 58px;
     letter-spacing: -0.56px;
     text-align: center;
     vertical-align: middle;
     text-transform: capitalize;
     color: var(--white);
     margin: 0 0 16px;
     font-size: 64px;
 }

 .hero_cta {
     font-weight: 500;
     font-style: Medium;
     font-size: 14px;
     line-height: 11.65px;
     letter-spacing: -0.22px;
     vertical-align: middle;
     display: inline-flex;
     align-items: center;
     border: 0;
     margin: 1.5rem 0 0;
     justify-content: center;
     padding: 12px 18px;
     border-radius: 6px;
     background: var(--light-blue);
     color: var(--button-text);
     cursor: pointer;
     box-shadow: 0 6px 18px rgba(6, 51, 68, .18);

 }

 .hero_cta:hover {
     transform: translateY(-1px);
     box-shadow: 0 10px 22px rgba(6, 51, 68, .22);
 }

 .hero_cta:focus-visible {
     outline: 3px solid rgba(110, 231, 243, .55);
     outline-offset: 2px;
 }

 .title_blog_tabs {
     font-weight: 600;
     font-size: 44px;
     line-height: 54px;
     letter-spacing: 0;
     color: #201C44;
     margin: 1rem 0 2rem;
 }

 /* Small tweaks for narrow screens */


 /* Respect reduced motion */
 @media (prefers-reduced-motion: reduce) {
     .hero_cta {
         transition: none
     }
 }

 /* blog hero img end */

 .blog_container {
     margin-inline: auto;
     padding: 24px;
 }

 .blog_header {
     display: flex;
     gap: 16px;
     align-items: center;
     justify-content: space-between;
     flex-wrap: wrap;
 }

 /* Filter pills */
 .blog_filters {
     display: flex;
     gap: 10px;
     overflow: auto;
     padding-bottom: 6px;
 }

 .filter_chip {
     font-weight: 500;
     font-size: 14px;
     line-height: 100%;
     letter-spacing: 0%;
     text-transform: uppercase;
     appearance: none;
     border: 1px solid #26252266;
     background: var(--white);
     padding: 8px 14px;
     border-radius: 12px;
     color: #26252266;
     cursor: pointer;
     white-space: nowrap;
     transition: .2s ease;
 }

 .filter_chip:hover {
     border-color: #cbd5e1;
     background: #fff;
 }

 .filter_chip.is-active {
     background: var(--accent);
     border-color: var(--accent);
     color: #fff;
     box-shadow: 0 6px 20px rgba(30, 144, 255, .22);
 }

 .filter_chip:focus-visible {
     outline: 3px solid var(--accent-weak);
     outline-offset: 2px;
 }

 /* Pagination (top-right like the screenshot) */
 .pagination_nav {
     display: flex;
     gap: 8px;
     align-items: center;
 }

 .page_btn {
     font-weight: 600;
     font-size: 16px;
     line-height: 100%;
     letter-spacing: 0;
     text-align: center;
     border: 0;
     background: #fff;
     border-radius: 10px;
     min-width: 36px;
     height: 36px;
     display: grid;
     place-items: center;
     cursor: pointer;
     transition: .15s ease;
 }

 .page_btn:hover {
     border-color: #cbd5e1;
     transform: translateY(-1px);
 }

 .page_btn.is-active {
     /* background: var(--text); */
     color: var(--accent);
     border-color: var(--text);
 }

 .page_btn.is-disabled {
     opacity: .4;
     pointer-events: none;
 }

 .page_ellipsis {
     padding: 0 4px;
     color: var(--muted);
 }

 /* Grid */
 .blog_grid {
     margin-top: 30px;
     display: grid;
     gap: 18px;
 }



 /* Card */
 .blog_card {
     background: var(--card);
     border: 1px solid var(--line);
     border-radius: var(--radius);
     /* box-shadow: var(--shadow); */
     overflow: hidden;
     display: flex;
     flex-direction: column;
     transition: .2s ease;
     height: 100%;
 }

 .blog_card:hover {
     transform: translateY(-3px);
 }

 .blog_card_media {
     height: 180px;
     background: linear-gradient(180deg, #D5D5D5, #D5D5D5);
     display: block;
     position: relative;
 }

 .blog_card_media::after {
     /* image placeholder shimmer */
     content: "";
     position: absolute;
     inset: 0;
     background:
         linear-gradient(110deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .6) 45%, rgba(255, 255, 255, 0) 60%);
     transform: translateX(-100%);
     animation: shimmer 2s infinite;
 }

 @keyframes shimmer {
     to {
         transform: translateX(100%);
     }
 }

 .blog_card_body {
     padding: 14px 16px 16px;
     display: flex;
     flex-direction: column;
     gap: 10px;
     flex: 1;
 }

 .blog_badges {
     display: flex;
     gap: 8px;
     align-items: center;
 }

 .blog_badge {
     font-size: 11px;
     border-radius: 999px;
     padding: 6px 8px;
     line-height: 1;
     border: 1px solid var(--line);
     color: #334155;
     background: #fff;
 }

 .blog_badge--category {
     background: var(--accent-weak);
     color: #0b63c8;
     border-color: #cfe5ff;
 }

 .blog_badge--read {
     background: #eef2f6;
     color: #334155;
 }

 .blog_title {
     font-size: 15px;
     font-weight: 700;
     letter-spacing: .2px;
     margin: 0;
 }

 .blog_excerpt {
     font-size: 13px;
     color: var(--muted);
     line-height: 1.6;
     margin: 0;
 }

 .blog_cta {
     margin-top: auto;
     display: inline-flex;
     justify-content: center;
     align-items: center;
     gap: 8px;
     height: 38px;
     color: #262522;
     border-radius: 6px;
     border: 1px solid #262522;
     background: #fff;
     cursor: pointer;
     text-transform: uppercase;
     font-weight: 700;
     font-size: 12px;
     letter-spacing: .4px;
     transition: .2s ease;
 }

 .blog_cta:hover {
     border-color: var(--accent);
     color: var(--accent);
     box-shadow: 0 6px 18px rgba(30, 144, 255, .12);
 }

 .sr_only {
     position: absolute !important;
     height: 1px;
     width: 1px;
     overflow: hidden;
     clip: rect(1px, 1px, 1px, 1px);
     white-space: nowrap;
 }


@media (max-width: 767px) {
    .blog_grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .hero_banner {
        border-radius: 16px;
        aspect-ratio: 7/7;
    }

    .hero_cta {
        padding: 11px 16px;
        font-size: 13px;
    }
    .hero_title1{
        font-size: 32px;
        line-height: 36px;
    }
    .title_blog_tabs{
        font-size: 32px;
        line-height: 36px;
    }
    .blog_container,.page_container{
        padding: 0;
    }
    
}

@media (min-width:1024px) {
    .blog_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}