/* Conect2health Blog Listing — styles scoped to .blog-list-page */
.blog-list-page {
    --blog-ink: #0a1b2e;
    --blog-ink-soft: #4a5d66;
    --blog-teal: #0e6e66;
    --blog-teal-deep: #0a4f49;
    --blog-coral: #ff5a36;
    --blog-paper: #fdfdfb;
    --blog-mist: #eef3f1;
    --blog-line: #dce3e0;
    --blog-display: "Space Grotesk", "Inter", sans-serif;
    --blog-body: "IBM Plex Sans", "Inter", sans-serif;
    color: var(--blog-ink);
    background: var(--blog-paper);
    font-family: var(--blog-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}
.blog-list-page *,
.blog-list-page *::before,
.blog-list-page *::after { box-sizing: border-box; }
.blog-list-page img { display: block; max-width: 100%; }
.blog-list-page a { color: inherit; text-decoration: none; }
.blog-list-page .wrap { width: min(1280px, 100%); margin: 0 auto; padding: 0 32px; }
.blog-list-page h1,
.blog-list-page h2,
.blog-list-page h3 { color: var(--blog-ink); font-family: var(--blog-display); font-weight: 600; letter-spacing: -.025em; }

/* Hero */
.blog-list-page .hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(58px, 7vw, 94px) 0;
    color: #fff;
    background: linear-gradient(120deg, #091a2d 0%, #0d2b42 62%, #104c49 100%);
}
.blog-list-page .hero::before,
.blog-list-page .hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
    pointer-events: none;
}
.blog-list-page .hero::before {
    width: 440px; height: 440px; right: -90px; top: -210px;
    box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 70px rgba(255,255,255,.02);
}
.blog-list-page .hero::after { width: 250px; height: 250px; right: 18%; bottom: -200px; }
.blog-list-page .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    color: #a7d9c8; font-family: var(--blog-body); font-size: 11px;
    font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
}
.blog-list-page .eyebrow::before {
    content: ""; width: 7px; height: 7px; flex: 0 0 7px;
    border-radius: 50%; background: var(--blog-coral);
    box-shadow: 0 0 0 4px rgba(255,90,54,.16);
}
.blog-list-page .hero h1 {
    max-width: 760px; margin: 17px 0 16px; color: #fff;
    font-size: clamp(34px, 4.5vw, 54px); line-height: 1.1;
    letter-spacing: -.045em;
}
.blog-list-page .hero p {
    max-width: 610px; margin: 0; color: rgba(255,255,255,.76);
    font-size: clamp(14px, 1.5vw, 16px); line-height: 1.85;
}

/* Listing section */
.blog-list-page .section-pad { padding: clamp(42px, 6vw, 76px) 0; }
.blog-list-page .section-pad.mist { background: var(--blog-mist); }
.blog-list-page .blog-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px; align-items: stretch;
}
.blog-list-page .blog-card {
    min-width: 0; display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid var(--blog-line); border-radius: 12px;
    background: #fff; box-shadow: 0 3px 12px rgba(10,27,46,.025);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-list-page .blog-card:hover {
    transform: translateY(-5px);
    border-color: #c4d8d0;
    box-shadow: 0 18px 36px -22px rgba(10,27,46,.3);
}
.blog-list-page .blog-card:focus-visible {
    outline: 3px solid rgba(14,110,102,.35); outline-offset: 4px;
}
.blog-list-page .blog-img {
    position: relative; height: 220px; overflow: hidden;
    background: linear-gradient(135deg, #e8f0ed, #dce9e3);
}
.blog-list-page .blog-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .45s ease;
}
.blog-list-page .blog-card:hover .blog-img img { transform: scale(1.045); }
.blog-list-page .blog-body {
    display: flex; flex: 1; flex-direction: column; align-items: flex-start;
    padding: 23px 24px 25px;
}
.blog-list-page .blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.blog-list-page .blog-date {
    color: #71817a; font-size: 11px; font-weight: 600;
    letter-spacing: .035em;
}
.blog-list-page .blog-card h3 {
    margin: 0 0 20px; font-size: 19px; line-height: 1.42;
    overflow-wrap: anywhere;
}
.blog-list-page .blog-link {
    display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
    color: var(--blog-teal); font-size: 12px; font-weight: 750;
    transition: gap .18s ease, color .18s ease;
}
.blog-list-page .blog-card:hover .blog-link { gap: 12px; color: var(--blog-teal-deep); }

/* Optional featured post styles if used on this page */
.blog-list-page .featured-post {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px; align-items: center; margin-bottom: 48px;
}
.blog-list-page .featured-img { overflow: hidden; border: 1px solid var(--blog-line); border-radius: 14px; }
.blog-list-page .featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-list-page .featured-content h2 { margin: 16px 0 12px; font-size: clamp(26px, 3vw, 34px); }
.blog-list-page .featured-content p { margin: 0 0 20px; color: var(--blog-ink-soft); font-size: 15px; line-height: 1.8; }

/* Responsive */
@media (max-width: 1024px) {
    .blog-list-page .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
    .blog-list-page .blog-img { height: 210px; }
    .blog-list-page .featured-post { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .blog-list-page .wrap { padding-right: 20px; padding-left: 20px; }
    .blog-list-page .hero { padding: 52px 0 56px; }
    .blog-list-page .hero h1 { font-size: clamp(31px, 9vw, 42px); }
    .blog-list-page .hero p { font-size: 14px; }
    .blog-list-page .section-pad { padding: 42px 0 54px; }
    .blog-list-page .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .blog-list-page .blog-img { height: auto; aspect-ratio: 16 / 9; }
    .blog-list-page .blog-body { padding: 20px; }
    .blog-list-page .blog-card h3 { font-size: 18px; margin-bottom: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .blog-list-page *, .blog-list-page *::before, .blog-list-page *::after {
        transition-duration: .01ms !important; animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}