/* Site-wide typography: one font and one heading style everywhere (matches the "Doctor consult at" section) */

body { font-family: "Inter", sans-serif; font-size: 14px; }
body :not(i):not(.fa):not(.bi):not([class^="fa-"]):not([class^="bi-"]):not([class*=" bi-"]) { font-family: "Inter", sans-serif !important; }

/* ---------- Section headings ---------- */
.home h2.headings,
.home .groupheading h4,
.home .groupheading h2,
.wm-title,
.nh-title,
.dcx-head h2,
section .groupheading h4 {
    font-family: "Inter", sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    font-style: italic !important;
    line-height: 1.3 !important;
    letter-spacing: -.01em;
    color: #2b2f36 !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}
.wm-title { color: #fff !important; }

/* Heading rows: title left, "View all" right, same gap below every heading */
.home .groupheading,
.wm-head, .fq-head, .rv-head {
    display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 4px 12px; text-align: left !important; margin: 0 0 16px !important;
}
.wm-head p, .fq-head p, .rv-head p { flex-basis: 100%; margin: 2px 0 0 !important; font-size: 13px !important; color: #5b7083 !important; text-align: left !important; }
.wm-title { margin-bottom: 16px !important; }

/* "View All" buttons become the same text link as the doctors section */
.home .groupheading a._but_now,
.home .groupheading a.normal {
    background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important;
    width: auto !important; height: auto !important; min-width: 0 !important;
    color: #024a79 !important; font-size: 13px !important; font-weight: 600 !important; text-decoration: none !important;
    position: static !important; float: none !important; display: inline-flex !important; align-items: center;
}
.home .groupheading a._but_now::after, .home .groupheading a.normal::after { content: "\203A"; margin-left: 5px; font-size: 16px; line-height: 1; }
.home .groupheading a._but_now:hover { text-decoration: underline !important; }

/* ---------- Card text sizes ---------- */
.fq-item summary { font-size: 14px !important; font-weight: 600 !important; }
.fq-item p { font-size: 13px !important; }
.nh-txt strong { font-size: 14px !important; }
.nh-txt small { font-size: 12.5px !important; }
.wm-tile strong { font-size: 32px !important; }
.wm-tile span, .wm-text span { font-size: 13.5px !important; }
.home .text-heading { font-size: 13px !important; font-weight: 600 !important; }
.home .rolling .title, .home ._text_card .title { font-size: 15px !important; font-weight: 600 !important; }
.home .call-btn a { font-size: 12.5px !important; }
.home .alldisease h1, .home .alldisease p { font-size: 13px !important; font-weight: 500 !important; }

/* ---------- Inner pages ---------- */
.page-title h1 { font-style: italic; font-weight: 700 !important; letter-spacing: -.01em; }
h3.footer-line { font-size: 15px !important; font-weight: 600 !important; }

@media (max-width: 767px) {
    .home h2.headings,
    .home .groupheading h4,
    .home .groupheading h2,
    .wm-title, .nh-title, .dcx-head h2,
    section .groupheading h4 { font-size: 18px !important; }
    .wm-tile strong { font-size: 26px !important; }
}

/* Inter is a little wider than the old font: keep the test card buttons on one line */
.home .call-btn a { white-space: nowrap !important; padding-left: 10px !important; padding-right: 10px !important; }

/* Line the Targeted Preventive Packages heading up with the other sections */
.b-part-sec-disease .desktop-d-flexs { padding-left: 0 !important; padding-right: 0 !important; }

/* Page intro headings on inner pages use the same heading style */
.bt-intro h2 { font-size: 22px !important; font-weight: 700 !important; font-style: italic !important; color: #2b2f36 !important; letter-spacing: -.01em; }
.bt-intro p { font-size: 13px !important; }
@media (max-width: 767px) { .bt-intro h2 { font-size: 18px !important; } }

/* Headings that are not in a heading row keep their own gap below */
.nh-title { margin-bottom: 16px !important; }

/* Sliders: until slick has started, show the same single row it will show
   (otherwise all 122 tests / 24 doctors render as a long grid while the page loads) */
.items:not(.slick-initialized),
.dcx-row:not(.slick-initialized),
.alldisease:not(.slick-initialized),
.banneers:not(.slick-initialized) { display: flex !important; flex-wrap: nowrap !important; overflow: hidden !important; }
.items:not(.slick-initialized) > * { flex: 0 0 25% !important; max-width: 25% !important; }
.dcx-row:not(.slick-initialized) > * { flex: 0 0 33.333% !important; max-width: 33.333% !important; }
.alldisease:not(.slick-initialized) > * { flex: 0 0 11.111% !important; max-width: 11.111% !important; }
.banneers:not(.slick-initialized) > * { flex: 0 0 50% !important; max-width: 50% !important; }
@media (max-width: 1199px) {
    .dcx-row:not(.slick-initialized) > * { flex-basis: 50% !important; max-width: 50% !important; }
}
@media (max-width: 1023px) {
    .items:not(.slick-initialized) > * { flex-basis: 50% !important; max-width: 50% !important; }
    .alldisease:not(.slick-initialized) > * { flex-basis: 25% !important; max-width: 25% !important; }
    .banneers:not(.slick-initialized) > * { flex-basis: 100% !important; max-width: 100% !important; }
}
@media (max-width: 767px) {
    .items:not(.slick-initialized) > *,
    .dcx-row:not(.slick-initialized) > * { flex-basis: 88% !important; max-width: 88% !important; }
    .alldisease:not(.slick-initialized) > * { flex-basis: 33.333% !important; max-width: 33.333% !important; }
}
