/* ============================================================
   RESPONSIVE OVERRIDES
============================================================ */

@media (max-width: 1199.98px) {
  .hero-h1 {
    font-size: 48px;
  }
  .fb-card.fb2 {
    top: 45% !important;
    left: -65px !important;
  }
  .fb-card.fc2 {
    top: 55% !important;
    right: -30px !important;
  }
  .fb-card.fd {
    bottom: 0 !important;
    right: -25px !important;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 15px;
  }
  .hero-type {
    display: inline-flex;
  }
  .hero-h1 {
    font-size: 42px;
  }
  .sec-heading {
    font-size: 36px;
  }
  .hero-ring-wrap {
    display: none;
  }
  .hero-desc {
    width: 100%;
    max-width: 80%;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  .hero-buttons {
    display: flex;
    justify-content: center;
  }
  .fb-card.fc2 {
    top: 45% !important;
    right: -60px !important;
  }
  /***Cred-pill Track***/
  .credential-marquee {
    width: 100%;
    overflow: hidden;
    padding: 5px 0;
  }
  .credential-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: credentialMarquee 22s linear infinite;
    will-change: transform;
  }
  .credential-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding-right: 10px;
  }
  .cred-pill {
    flex-shrink: 0;
    white-space: nowrap;
  }
  @keyframes credentialMarquee {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }
  /*CTA Section*/
  .cta-section {
    padding: 90px 0;
  }
  .cta-content-box {
    padding: 42px 28px;
    border-radius: 22px;
  }
  .cta-para {
    font-size: 17px;
  }
}

@media (min-width: 991.99px) {
  .credential-track {
    animation: none;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .credential-track {
    animation: none;
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .topbar {
    display: none;
  }
  .hero-h1 {
    font-size: 36px;
  }
  .hero-section {
    padding: 30px 0 10px 0;
  }
  .hero-desc {
    width: 100%;
    max-width: 100%;
  }
  /* .mobile-sticky-bar {
          display: none;
      } */
  .wa-float {
    bottom: 90px;
  }
  .why-float-badge {
    right: 0;
  }
  .sec-pad,
  .quiz-section {
    padding: 30px 0;
  }
  .stat-num {
    font-size: 28px;
  }
  .trust-strip {
    display: block;
  }
  .trust-fixed {
    text-align: center;
  }
  /* Parent container of cards */
  .hero-right-col {
    position: relative;
    display: block;
    padding-bottom: 20px;
  }
  .fb-card img {
    display: none;
  }
  .fb-card.fb2,
  .fb-card.fe {
    left: -80px !important;
  }
  .cta-section {
    padding: 75px 0;
    background-position: center top;
  }
  .cta-content-box {
    padding: 34px 20px;
    border-radius: 18px;
  }
  .cta-para {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 26px;
  }
  .btn-cta-w,
  .btn-cta-outline {
    width: 100%;
    padding: 14px 22px;
    font-size: 16px;
  }
  .cta-deco-1 {
    width: 240px;
    height: 240px;
    top: -100px;
    right: -80px;
  }
  .cta-deco-2 {
    width: 180px;
    height: 180px;
    bottom: -70px;
    left: -60px;
  }
}

@media (max-width: 767px) {
}

@media (max-width: 575.98px) {
  .fb-card {
    position: relative;
  }
  .fb-card {
    display: none !important;
    position: relative !important;
    top: unset !important;
    left: unset !important;
    right: unset !important;
    bottom: unset !important;
    width: calc(50% - 10px);
    margin: 8px;
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    text-align: center;
  }
  .hero-h1 {
    font-size: 30px;
  }
  .hero-type {
    font-size: 18px;
  }
  .hero-desc {
    font-size: 14px;
  }
  .hero-badge {
    padding: 5px 8px;
    font-size: 10px;
    letter-spacing: 0;
  }
  .quiz-box {
    padding: 28px 20px;
  }
  .quiz-question {
    font-size: 20px;
  }
}
/* Scrollbar */

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--gp);
}

::-webkit-scrollbar-thumb {
  background: var(--gb);
  border-radius: 3px;
}

@media (max-width: 1199.98px) {
  .banner-h1 {
    font-size: 50px;
  }
}

@media (max-width: 991.98px) {
  .banner-h1 {
    font-size: 40px;
  }
  .sec-h {
    font-size: 36px;
  }
  .timeline-wrap::before {
    left: 24px;
  }
  .tl-item.left,
  .tl-item.right {
    flex-direction: row;
    padding-left: 60px;
    padding-right: 0;
  }
  .tl-dot {
    left: 24px;
    top: 22px;
  }
  .tl-year {
    left: 24px;
    transform: translateX(-50%) translateY(28px);
    width: 60px;
    white-space: normal;
  }
  .tl-item.left .tl-card::before,
  .tl-item.right .tl-card::before {
    left: -20px;
    right: auto;
  }
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fact-item:nth-child(2) {
    border-right: none;
  }
  .ed-big-num {
    font-size: 70px;
  }
  .ed-quote-text {
    font-size: 22px;
  }
  .site-footer {
    padding-top: 45px;
  }
}

@media (max-width: 767.98px) {
  .topbar {
    display: none;
  }
  .banner-h1 {
    font-size: 34px;
  }
  .hero-img-outer {
    display: none;
  }
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .fact-item {
    border-right: none;
    border-bottom: 1px solid rgba(200, 134, 10, 0.1);
  }
  .fact-item:last-child {
    border-bottom: none;
  }
  /* .mobile-sticky-bar {
          display: block
      } */
  .wa-float {
    bottom: 20px;
  }
  .call-float {
    bottom: 20px;
  }
  .ed-big-num {
    font-size: 60px;
  }
  .ed-quote-text {
    font-size: 18px;
  }
  .visit-header-strip {
    flex-direction: column;
    text-align: center;
  }
  .fc-stat-row {
    grid-template-columns: 1fr 1fr;
  }
  .img-frame {
    width: 86%;
  }
  .cred-pill {
    padding: 5px 10px;
    font-size: 12px;
  }
  .site-footer {
    padding-top: 30px;
    padding-bottom: 100px;
  }
}

@media (max-width: 575.98px) {
  .banner-h1 {
    font-size: 28px;
  }
  .sec-h {
    font-size: 28px;
  }
  .ed-big-num {
    font-size: 52px;
  }
  .vhs-title {
    font-size: 26px;
  }
}


/* ============================================================
   PAGE-SPECIFIC RESPONSIVE OVERRIDES (merged in from separate
   page CSS files on 2026-07-23)
============================================================ */

/* ============================================================
   BLOG & BLOG DETAILS PAGES (BLOG.HTML, BLOG-DETAILS.HTML)
   (merged from blog-page.css)
============================================================ */
/* ============================================================
   BLOG PAGE — TABLET
============================================================ */


@media (max-width: 991.98px) {
  .featured-blog {
    grid-template-columns: 1fr;
  }
  .featured-blog-image {
    min-height: 360px;
  }
  .featured-blog-content {
    padding: 38px;
  }
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  /*
     * Completely disable JavaScript fixed positioning
     * on tablet and mobile.
     */
  .blog-sidebar,
  .blog-sidebar.is-fixed,
  .blog-sidebar.is-bottom {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    z-index: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .blog-sidebar-placeholder,
  .blog-sidebar-placeholder.is-active {
    display: none !important;
    height: 0 !important;
  }
  .sidebar-card,
  .sidebar-doctor-card {
    margin: 0;
  }
}

/* ============================================================
   BLOG PAGE — MOBILE
============================================================ */


@media (max-width: 767.98px) {
  .featured-blog-image {
    min-height: 260px;
  }
  .featured-blog-content {
    padding: 26px;
  }
  .featured-blog-content h2 {
    font-size: 31px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-sidebar,
  .blog-sidebar.is-fixed,
  .blog-sidebar.is-bottom {
    grid-template-columns: 1fr;
  }
  .blog-card-image {
    height: 225px;
  }
}

/* ============================================================
   BLOG DETAILS — TABLET
============================================================ */


@media (max-width: 991.98px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-content {
    max-width: none;
  }
  .article-sidebar,
  .article-sidebar.is-fixed,
  .article-sidebar.is-bottom {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    width: 100% !important;
    max-height: none !important;
    padding-right: 0 !important;
    overflow: visible !important;
    z-index: auto;
  }
  .article-sidebar-placeholder,
  .article-sidebar-placeholder.is-active {
    display: none !important;
    height: 0 !important;
  }
  .article-recent-posts-card {
    grid-column: 1 / -1;
  }
  .article-recent-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-recent-post:nth-last-child(2) {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

/* ============================================================
   BLOG DETAILS — MOBILE
============================================================ */


@media (max-width: 767.98px) {
  .blog-detail-banner .pb-title {
    font-size: 34px;
  }
  .article-content > p,
  .article-content li {
    font-size: 15px;
  }
  .article-content h2 {
    font-size: 30px;
  }
  .article-keypoints > div {
    grid-template-columns: 1fr;
  }
  .article-sidebar,
  .article-sidebar.is-fixed,
  .article-sidebar.is-bottom {
    grid-template-columns: 1fr;
  }
  .article-recent-posts-card {
    grid-column: auto;
  }
  .article-recent-posts {
    grid-template-columns: 1fr;
  }
  .article-recent-post:nth-last-child(2) {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(200, 134, 10, 0.12);
  }
  .article-author {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .article-author img {
    margin: auto;
  }
  .article-author > div > div {
    justify-content: center;
  }
}


/* ============================================================
   CASE STUDIES PAGE (CASE-STUDIES.HTML)
   (merged from case-studies-page.css)
============================================================ */
/* ---------- Tablet ---------- */


@media (max-width: 991.98px) {
  .hero-banner[style*="min-height:auto"] .page-banner {
    padding: 68px 0 54px;
  }
  .cs-case {
    padding: 30px;
  }
  .cs-image-grid-three,
  .cs-image-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cs-image-grid img {
    height: 280px;
  }
}

/* ---------- Mobile ---------- */


@media (max-width: 767.98px) {
  .hero-banner[style*="min-height:auto"] .page-banner {
    padding: 52px 0 44px;
  }
  .cs-case {
    padding: 25px 21px;
    margin-bottom: 22px;
    border-radius: 22px;
  }
  .cs-case-head {
    gap: 12px;
  }
  .cs-no {
    min-width: 42px;
    font-size: 35px;
  }
  .cs-case h3 {
    font-size: 26px;
  }
  .cs-image-grid,
  .cs-image-grid-three,
  .cs-image-grid-four {
    grid-template-columns: 1fr;
  }
  .cs-image-grid img {
    height: auto;
    min-height: 220px;
    max-height: 390px;
  }
}

@media (max-width: 575.98px) {
  .cs-case {
    padding: 22px 17px;
  }
  .cs-case-head {
    gap: 9px;
  }
  .cs-no {
    min-width: 36px;
    font-size: 31px;
  }
  .cs-tag {
    font-size: 9.5px;
    letter-spacing: 0.06em;
  }
  .cs-case h3 {
    font-size: 23px;
  }
  .cs-lead {
    font-size: 14px !important;
  }
  .cs-outcome,
  .cs-note {
    padding: 17px 16px;
  }
}

@media (max-width: 991.98px) {
  body.case-studies-page .cs-image-grid.cs-image-grid-three,
  body.case-studies-page .cs-image-grid.cs-image-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767.98px) {
  body.case-studies-page .cs-image-grid,
  body.case-studies-page .cs-image-grid.cs-image-grid-three,
  body.case-studies-page .cs-image-grid.cs-image-grid-four {
    grid-template-columns: 1fr !important;
  }
  body.case-studies-page .cs-image-grid img {
    height: auto !important;
    min-height: 220px;
    max-height: 420px;
  }
}


/* ============================================================
   GALLERY PAGE (GALLERY.HTML)
   (merged from gallery-page.css)
============================================================ */
@media(max-width:991.98px){.gallery-page .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-page .gallery-filter-wrap{top:74px}.gallery-page .gallery-lightbox-dialog{width:calc(100vw - 100px)}.gallery-page .gallery-count-card{justify-content:flex-start}}

@media(max-width:767.98px){.gallery-page .gallery-filter-wrap{top:74px;display:block;padding:10px}.gallery-page .gallery-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.gallery-page .gallery-filters::-webkit-scrollbar{display:none}.gallery-page .gallery-filter{flex:0 0 auto;padding:9px 15px}.gallery-page .gallery-result-count{padding:8px 5px 0;text-align:right}.gallery-page .gallery-grid{gap:14px}.gallery-page .gallery-lightbox{padding:16px}.gallery-page .gallery-lightbox-dialog{width:100%;max-height:calc(100vh - 32px)}.gallery-page .gallery-lightbox-nav{top:auto;bottom:88px;width:44px;height:44px;border-radius:50%}.gallery-page .gallery-lightbox-prev{left:26px}.gallery-page .gallery-lightbox-next{right:26px}.gallery-page .gallery-lightbox-content h3{font-size:23px}}

@media(max-width:575.98px){.gallery-page .gallery-grid{grid-template-columns:1fr}.gallery-page .gallery-image-wrap{aspect-ratio:16/11}.gallery-page .gallery-count-card{padding:18px}.gallery-page .gallery-count-num{font-size:42px}}


/* ============================================================
   PUBLICATIONS & PRESENTATIONS PAGE (PUBLICATION.HTML)
   (merged from publication-page.css)
============================================================ */
/* ---------- Tablet ---------- */


@media (max-width: 991.98px) {
  .hero-banner[style*="min-height:auto"] .page-banner {
    padding: 68px 0 54px;
  }
  .pp-summary {
    min-height: 280px;
  }
  .pp-entry {
    grid-template-columns: 50px 42px minmax(0, 1fr);
  }
}

/* ---------- Mobile ---------- */


@media (max-width: 767.98px) {
  .hero-banner[style*="min-height:auto"] .page-banner {
    padding: 52px 0 44px;
  }
  .pp-intro .sec-sub {
    font-size: 14px;
  }
  .pp-summary {
    min-height: 250px;
    padding: 30px 23px;
  }
  .pp-summary strong {
    font-size: 52px;
  }
  .pp-anchor-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 12px;
    scrollbar-width: none;
  }
  .pp-anchor-nav::-webkit-scrollbar {
    display: none;
  }
  .pp-anchor-nav a {
    flex: 0 0 auto;
  }
  .pp-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .pp-entry {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 19px;
  }
  .pp-icon {
    display: none;
  }
  .pp-num {
    font-size: 28px;
  }
  .pp-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .pp-entry {
    padding: 17px 15px;
    border-radius: 15px;
  }
  .pp-entry p,
  .pp-feature-card p {
    font-size: 13px;
  }
  .pp-feature-card {
    padding: 23px 20px;
  }
  .pp-feature-card h3 {
    font-size: 23px;
  }
}

@media (max-width: 767.98px) {
  body.publication-page .pp-entry {
    grid-template-columns: 42px minmax(0, 1fr) !important;
  }
  body.publication-page .pp-feature-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   PRESENTATION & PUBLICATION PAGE
   RESPONSIVE FIXED NAVIGATION
============================================================ */


@media (max-width: 991.98px) {
  body.publication-page .pp-anchor-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 11px 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body.publication-page .pp-anchor-nav::-webkit-scrollbar {
    display: none;
  }
  body.publication-page .pp-anchor-nav a {
    flex: 0 0 auto;
  }
}

@media (max-width: 767.98px) {
  body.publication-page .pp-nav-section {
    padding: 7px 0;
  }
  body.publication-page .pp-anchor-nav {
    border-radius: 14px;
  }
  body.publication-page .pp-anchor-nav a {
    min-height: 38px;
    padding: 9px 16px;
    font-size: 12px;
  }
  body.publication-page #publications,
  body.publication-page #presentations,
  body.publication-page #uk-worldwide {
    scroll-margin-top: 145px;
  }
}


/* ============================================================
   TREATMENT DETAILS PAGE (TREATMENT-TOTAL-KNEE-REPLACEMENT.HTML)
   (merged from treatment-details-page.css)
============================================================ */
/* ============================================================
   RESPONSIVE
============================================================ */


@media (max-width: 1199.98px) {
  .treatment-intro-grid {
    gap: 45px;
  }
  .treatment-experience-badge {
    right: 18px;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .recovery-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991.98px) {
  .treatment-intro-grid,
  .treatment-process-grid,
  .treatment-doctor-card,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .treatment-intro-image,
  .treatment-intro-image > img {
    min-height: 450px;
    height: 450px;
  }
  .section-heading-row,
  .treatment-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-heading-row > p {
    max-width: 650px;
  }
  .treatment-doctor-image {
    min-height: 390px;
  }
  .treatment-doctor-image img {
    height: 390px;
  }
  .treatment-doctor-content {
    padding: 0 40px 45px;
  }
  .faq-intro {
    position: static;
  }
  .treatment-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .treatment-detail-banner {
    padding: 72px 0 60px;
  }
  .treatment-intro-grid {
    gap: 36px;
  }
  .treatment-intro-image,
  .treatment-intro-image > img {
    min-height: 340px;
    height: 340px;
  }
  .treatment-experience-badge {
    right: 14px;
    bottom: 14px;
    max-width: 200px;
  }
  .treatment-highlight-grid,
  .benefit-grid,
  .recovery-timeline,
  .doctor-stat-grid {
    grid-template-columns: 1fr;
  }
  .candidate-panel,
  .process-panel {
    padding: 27px 22px;
  }
  .candidate-panel h2,
  .process-panel h2 {
    font-size: 31px;
  }
  .process-step {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 16px;
  }
  .process-number {
    width: 48px;
    height: 48px;
    font-size: 17px;
  }
  .treatment-doctor-content {
    padding: 0 23px 32px;
  }
  .treatment-doctor-content h2 {
    font-size: 34px;
  }
  .treatment-cta-inner {
    padding: 34px 24px;
  }
  .treatment-cta-inner h2 {
    font-size: 32px;
  }
  .treatment-cta-actions,
  .treatment-actions {
    width: 100%;
  }
  .treatment-cta-actions a,
  .treatment-actions a {
    width: 100%;
  }
  .faq-question {
    padding: 18px;
    font-size: 17px;
  }
  .faq-answer {
    padding: 0 18px 18px;
  }
}
