/* ==========================================================================
   Rajan Eye Care – UI polish layer
   Loaded last (includes/stylesheet.php). Overrides only; no layout rewrites.
   ========================================================================== */

:root {
  --rec-primary: #bd2527;
  --rec-primary-dark: #9a1d1f;
  --rec-text: #4a4f57;
  --rec-heading: #1d2129;
  --rec-muted: #6b7280;
  --rec-border: #e5e7eb;
  --rec-surface: #ffffff;
  --rec-soft: #f7f8fa;
  --rec-radius: 12px;
  --rec-radius-sm: 8px;
  --rec-shadow: 0 6px 24px rgba(17, 24, 39, .08);
  --rec-shadow-hover: 0 14px 36px rgba(17, 24, 39, .14);
  --rec-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Typography & readability ---------- */
body {
  color: var(--rec-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p {
  margin: 0 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--rec-heading);
  letter-spacing: -.01em;
}

/* Theme's grey descriptive copy was too faint (#888 fails WCAG AA) */
.section-title .title-desc p,
.featured-desc p,
.ttm-list li,
.ttm-list-style-icon li,
.widget-text,
blockquote {
  color: var(--rec-text);
}

/* Keep light text on dark / brand-coloured sections */
.ttm-bgcolor-darkgrey :is(h1, h2, h3, h4, h5, h6, p, li, blockquote),
.ttm-bgcolor-skincolor :is(h1, h2, h3, h4, h5, h6, p, li, blockquote),
.ttm-textcolor-white :is(h1, h2, h3, h4, h5, h6, p, li, blockquote),
footer.footer :is(h1, h2, h3, h4, h5, h6, p, li, .widget-text) {
  color: #fff;
}

.ttm-bgcolor-darkgrey .title-desc p,
.ttm-bgcolor-skincolor .title-desc p,
footer.footer :is(p, li, .widget-text) {
  color: rgba(255, 255, 255, .88);
}

/* White panels nested inside dark sections keep dark text */
.ttm-bgcolor-darkgrey .ttm-bgcolor-white :is(h1, h2, h3, h4, h5, h6),
.ttm-bgcolor-skincolor .ttm-bgcolor-white :is(h1, h2, h3, h4, h5, h6) {
  color: var(--rec-heading);
}

.ttm-bgcolor-darkgrey .ttm-bgcolor-white :is(p, li, blockquote),
.ttm-bgcolor-skincolor .ttm-bgcolor-white :is(p, li, blockquote) {
  color: var(--rec-text);
}

/* Cards sitting on dark sections keep dark text */
.ttm-bgcolor-darkgrey .ttm-testimonial-box-view-style1 :is(h3, blockquote),
.ttm-bgcolor-skincolor .featured-icon-box :is(h3, h5, p) {
  color: var(--rec-heading);
}

a {
  transition: color .2s var(--rec-ease);
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.ttm-btn:focus-visible {
  outline: 3px solid rgba(189, 37, 39, .45) !important;
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.ttm-btn {
  border-radius: 999px;
  letter-spacing: .2px;
  transition: background-color .2s var(--rec-ease), color .2s var(--rec-ease),
              box-shadow .2s var(--rec-ease), transform .2s var(--rec-ease);
}

.ttm-btn.ttm-btn-style-fill:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(189, 37, 39, .28);
}

/* Header CTA keeps the theme's square look aligned with the nav */
.header_extra .ttm-btn {
  border-radius: var(--rec-radius-sm);
}

/* ---------- Header ---------- */
.site-header-menu-inner.ttm-stickable-header.fixed-header {
  box-shadow: 0 4px 18px rgba(17, 24, 39, .08);
}

.main-menu .mega-submenu {
  border-radius: 0 0 var(--rec-radius-sm) var(--rec-radius-sm);
  box-shadow: var(--rec-shadow);
}

/* ---------- Hero quick-link band ---------- */
.bandlinksec .lnk,
.lnk.text-white {
  transition: background-color .2s var(--rec-ease), color .2s var(--rec-ease);
}

.bandlinksec .lnk:hover,
.lnk.text-white:hover {
  background-color: var(--rec-primary) !important;
  color: #fff !important;
}

/* ---------- Cards (services, features, testimonials, blog, doctors) ---------- */
.featured-icon-box,
.ttm-testimonial-box-view-style1,
.custom-testimonial-card,
.featured-imagebox,
.ttm-blog-classic {
  border-radius: var(--rec-radius);
  transition: transform .25s var(--rec-ease), box-shadow .25s var(--rec-ease);
}

.featured-icon-box:hover,
.ttm-testimonial-box-view-style1:hover,
.custom-testimonial-card:hover,
.featured-imagebox:hover {
  transform: translateY(-4px);
  box-shadow: var(--rec-shadow-hover);
}

/* Our Institution: separated highlight boxes, no hover effect */
.institution-highlights > [class*="col-"] {
  margin-bottom: 30px;
}

.institution-highlights .featured-icon-box {
  height: 100%;
  border-radius: var(--rec-radius);
}

.institution-highlights .featured-icon-box:hover {
  transform: none;
  box-shadow: none;
}

.featured-imagebox .featured-thumbnail,
.featured-imagebox .featured-thumbnail img {
  border-radius: var(--rec-radius) var(--rec-radius) 0 0;
}

/* Content images look softer with rounded corners */
.ttm-row .img-fluid:not([src*="logo"]):not([src*="icon"]) {
  border-radius: var(--rec-radius);
}

/* ---------- Testimonials ---------- */
.star-ratings {
  color: #f5a623 !important;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
  margin: 12px 0;
}

.testimonial-img img {
  border-radius: 50%;
}

/* ---------- Forms ---------- */
input[type=text],
input[type=email],
input[type=tel],
input[type=number],
input[type=date],
input[type=password],
input[type=search],
select,
textarea {
  border-radius: var(--rec-radius-sm);
  border-color: var(--rec-border);
  color: var(--rec-heading);
  font-size: 14px;
  min-height: 48px;
}

textarea {
  min-height: 120px;
}

input::placeholder,
textarea::placeholder {
  color: #8a8f98;
  opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rec-primary) !important;
  box-shadow: 0 0 0 3px rgba(189, 37, 39, .12);
}

/* Booking / contact form panels */
.request_quote_form,
.wrap-form {
  border-radius: var(--rec-radius);
}

/* ---------- jQuery Validation messages ---------- */
.form-error {
  display: block;
  margin: 6px 2px 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  color: #c0262d;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #c0262d !important;
  background-color: #fff7f7;
}

/* ---------- Page title band ---------- */
.ttm-page-title-row .page-title-heading h1,
.ttm-page-title-row .title {
  letter-spacing: -.01em;
}

/* ---------- Lists with arrow icons ---------- */
.ttm-list.ttm-list-style-icon li {
  padding-bottom: 6px;
}

/* ---------- Floating contact widgets ---------- */
.whatsapp-button img {
  transition: transform .2s var(--rec-ease);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .2));
}

.whatsapp-button:hover img {
  transform: scale(1.08);
}

.prt_floting_customsett {
  border-radius: var(--rec-radius-sm) 0 0 var(--rec-radius-sm);
  overflow: hidden;
  box-shadow: var(--rec-shadow);
}

/* Mobile sticky action bar */
@media (max-width: 767px) {
  .appoint {
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .15);
  }

  .appoint a {
    font-weight: 500;
  }

  /* keep footer content clear of the sticky bar */
  footer.footer {
    padding-bottom: 70px;
  }
}

/* ---------- Footer ---------- */
footer .widget ul.menu li a {
  transition: color .2s var(--rec-ease), padding-left .2s var(--rec-ease);
}

footer .widget ul.menu li a:hover {
  color: #fff;
  padding-left: 4px;
}

/* ---------- Home popup ---------- */
#imageModal .modal-content {
  border: 0;
  border-radius: var(--rec-radius);
  overflow: visible;
}

#imageModal .modal-body img {
  border-radius: var(--rec-radius);
}

/* ---------- Mobile type scale ---------- */
@media (max-width: 767px) {
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  .section-title h2.title {
    font-size: 28px;
    line-height: 36px;
  }

  .ttm-row {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Our Team page
   ========================================================================== */

/* ---------- Leadership profiles ---------- */
.team-leader-section .ttm-bgcolor-grey {
  border-radius: 16px;
}

.team-leader-section + .team-leader-section {
  padding-bottom: 30px;
}

.team-leader-section .featured-thumbnail {
  padding-top: 65px;
}

.team-leader-section .featured-thumbnail img {
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, .18);
}

.team-leader-section .ttm-team-member-single-title {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 6px;
}

.team-leader-section .ttm-team-member-single-position {
  display: inline-block;
  background: var(--rec-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.team-leader-section .ttm-team-list-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rec-primary) !important;
  margin-bottom: 4px;
}

.team-leader-section .ttm-team-list-value,
.team-leader-section .ttm-list-li-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--rec-text);
}

.team-leader-section .ttm-team-details-list li {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(17, 24, 39, .08);
}

/* ---------- Doctor card grid ---------- */
.team-doctors-section .row:last-child {
  margin-top: 10px;
}

.team-doctor-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
  overflow: hidden;
  transition: transform .25s var(--rec-ease), box-shadow .25s var(--rec-ease),
              border-color .25s var(--rec-ease);
}

.team-doctor-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--rec-shadow-hover);
}

.team-doctor-photo {
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: var(--rec-soft);
}

.team-doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 !important;
  transition: transform .4s var(--rec-ease);
}

.team-doctor-card:hover .team-doctor-photo img {
  transform: scale(1.04);
}

.team-doctor-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.team-doctor-name {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  margin: 0 0 6px;
}

.team-doctor-role {
  font-size: 14px;
  line-height: 1.55;
  color: var(--rec-muted);
  margin: 0 0 16px;
}

.team-doctor-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--rec-primary);
}

.team-doctor-link i {
  margin-left: 6px;
  transition: transform .2s var(--rec-ease);
}

.team-doctor-card:hover .team-doctor-link {
  color: var(--rec-primary-dark);
}

.team-doctor-card:hover .team-doctor-link i {
  transform: translateX(4px);
}

/* ---------- In-house staff ---------- */
.team-staff-section .featured-imagebox-procedure img {
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, .14);
}

.team-staff-section .featured-imagebox:hover {
  transform: none;
  box-shadow: none;
}

@media (max-width: 767px) {
  .team-leader-section .ttm-team-member-single-title {
    font-size: 26px;
    line-height: 34px;
  }

  .team-doctor-body {
    padding: 14px 16px 16px;
  }
}

@media (max-width: 575px) {
  .team-doctors-section .row > .col-6 {
    padding-left: 8px;
    padding-right: 8px;
  }

  .team-doctor-body {
    padding: 12px 12px 14px;
  }

  .team-doctor-name {
    font-size: 15px;
  }

  .team-doctor-role {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .team-doctor-link {
    font-size: 13px;
  }
}

/* ==========================================================================
   Academics page
   ========================================================================== */

/* ---------- Top facilities slider ---------- */
.acad-facilities .slick-track {
  display: flex;
}

.acad-facilities .slick-slide {
  height: auto;
  flex: 0 0 auto;
  min-width: 0;
}

.acad-facilities .slick-slide > div,
.acad-facilities .slick-slide .col-lg-4 {
  height: 100%;
}

.acad-facilities .featured-icon-box.style3 {
  height: calc(100% - 20px);
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
  padding: 22px 22px 18px;
  box-shadow: var(--rec-shadow);
}

.acad-facilities .featured-icon-box.style3:hover {
  transform: none;
  box-shadow: var(--rec-shadow-hover);
}

.acad-facilities .featured-title h3 {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 14px;
}

.acad-facility-img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--rec-radius-sm) !important;
  margin-bottom: 16px;
}

.acad-facilities .ttm-list li {
  font-size: 14px;
  line-height: 1.5;
  padding: 6px 0 6px 26px;
  border-bottom: 1px dashed var(--rec-border);
}

.acad-facilities .ttm-list li:last-child {
  border-bottom: 0;
}

/* ---------- Fellowship steps ---------- */
.acad-fellowship .steps-style1 .ttm-steps-desc h3 {
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
}

.acad-fellowship .ttm-static-steps-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  background: #fff;
  color: var(--rec-primary);
  font-size: 13px;
  font-weight: 700;
}

.acad-fellowship .ttm-steps-desc p {
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  line-height: 1.7;
}

.acad-fellowship .ttm-bgcolor-white {
  border-radius: 16px 0 0 16px;
  overflow: hidden;
}

.acad-fellowship .ttm-bgcolor-white h2.fs-28 {
  margin-bottom: 18px;
}

.acad-fellowship .ttm-bgcolor-white .ttm-list li {
  font-size: 15px;
  padding-bottom: 8px;
}

.acad-fellowship .ttm-equal-height-image {
  border-radius: 0 !important;
}

/* ---------- How to apply tables ---------- */
.acad-apply .ttm-bgcolor-grey {
  border-radius: 16px;
}

.acad-apply h4.fs-22 {
  font-size: 20px !important;
  line-height: 1.4 !important;
  margin-top: 26px;
  color: var(--rec-heading);
}

.acad-apply .table.black-border {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--rec-border) !important;
  border-radius: var(--rec-radius);
  overflow: hidden;
  background: #fff;
  margin-top: 14px !important;
  margin-bottom: 26px !important;
}

.acad-apply .table.black-border th,
.acad-apply .table.black-border td {
  border: 0 !important;
  border-bottom: 1px solid var(--rec-border) !important;
  padding: 16px 20px;
  vertical-align: middle;
}

.acad-apply .table.black-border tbody tr:last-child td {
  border-bottom: 0 !important;
}

.acad-apply .table.black-border thead th {
  background: var(--rec-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.acad-apply .table.black-border td:first-child {
  width: 32%;
  font-weight: 600;
  color: var(--rec-heading);
}

/* Programmes shown as chips */
.acad-apply .table .ttm-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.acad-apply .table .ttm-list li {
  padding: 5px 14px !important;
  margin: 0;
  border-radius: 999px;
  background: rgba(189, 37, 39, .08);
  color: var(--rec-primary-dark);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.acad-apply .table .ttm-list li::before {
  display: none;
}

/* ---------- Important information ---------- */
.acad-info .ttm_single_image-wrapper img {
  border-radius: 16px;
}

.acad-info .title-desc a {
  color: var(--rec-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.acad-info .ttm-list li {
  font-size: 15px;
  padding-bottom: 6px;
}

.acad-info .featured-desc p {
  color: var(--rec-text);
}

@media (max-width: 1199px) {
  .acad-fellowship .ttm-bgcolor-white {
    border-radius: 0;
  }
}

@media (max-width: 767px) {
  .acad-apply .table.black-border th,
  .acad-apply .table.black-border td {
    padding: 12px 14px;
  }

  .acad-apply .table.black-border td:first-child {
    width: 38%;
  }
}

/* ==========================================================================
   Blog listing
   ========================================================================== */
.blog-list-section {
  padding-bottom: 30px;
}

.blog-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
  overflow: hidden;
  transition: transform .25s var(--rec-ease), box-shadow .25s var(--rec-ease),
              border-color .25s var(--rec-ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--rec-shadow-hover);
}

.blog-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--rec-soft);
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform .4s var(--rec-ease);
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}

.blog-card-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--rec-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  line-height: 1.5;
}

.blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--rec-muted);
  margin-bottom: 10px;
}

.blog-card-meta i {
  color: var(--rec-primary);
}

.blog-card-title {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--rec-text);
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rec-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--rec-primary);
}

.blog-card-link i {
  margin-left: 6px;
  transition: transform .2s var(--rec-ease);
}

.blog-card:hover .blog-card-link {
  color: var(--rec-primary-dark);
}

.blog-card:hover .blog-card-link i {
  transform: translateX(4px);
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 80px;
  padding: 0 16px;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--rec-border);
  border-radius: 999px;
  background: #fff;
  color: var(--rec-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: background-color .2s var(--rec-ease), color .2s var(--rec-ease),
              border-color .2s var(--rec-ease);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--rec-primary);
  border-color: var(--rec-primary);
  color: #fff;
}

@media (max-width: 767px) {
  .blog-card-body {
    padding: 16px 18px 18px;
  }

  .blog-card-title {
    font-size: 17px;
  }

  .blog-pagination {
    margin-bottom: 50px;
  }
}

/* ==========================================================================
   Blog article (blog-details.php)
   ========================================================================== */
.blog-detail-heading h1.title {
  max-width: 900px;
  margin: 0 auto;
  font-size: 36px;
  line-height: 1.3;
}

.blog-detail-section {
  padding-top: 60px;
  padding-bottom: 70px;
}

/* Meta row */
.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--rec-muted);
}

.blog-article-meta i {
  color: var(--rec-primary);
  margin-right: 4px;
}

.blog-article-tag {
  position: static;
  color: #fff !important;
}

.blog-article-image img {
  width: 100%;
  border-radius: 16px !important;
  margin-bottom: 34px;
}

/* Readable article body */
.blog-article-content {
  font-size: 17px;
  line-height: 1.85;
  color: #374151;
  max-width: 760px;
}

.blog-article-content p,
.blog-article-content li {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.blog-article-content p {
  margin: 0 0 20px;
}

.blog-article-content h1,
.blog-article-content h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 44px 0 16px;
  color: var(--rec-heading);
}

.blog-article-content h3 {
  font-size: 22px;
  line-height: 1.35;
  margin: 34px 0 12px;
  color: var(--rec-heading);
}

.blog-article-content h4,
.blog-article-content h5,
.blog-article-content h6 {
  font-size: 18px;
  line-height: 1.4;
  margin: 26px 0 10px;
  color: var(--rec-heading);
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 0 0 22px;
  padding-left: 0;
  list-style: none;
}

.blog-article-content ol {
  counter-reset: blog-ol;
}

.blog-article-content ul li,
.blog-article-content ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.blog-article-content ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rec-primary);
}

.blog-article-content ol li::before {
  counter-increment: blog-ol;
  content: counter(blog-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: var(--rec-primary);
}

.blog-article-content a {
  color: var(--rec-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-article-content strong,
.blog-article-content b {
  color: var(--rec-heading);
  font-weight: 600;
}

.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--rec-radius);
  margin: 10px 0 24px;
}

.blog-article-content blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  border-left: 4px solid var(--rec-primary);
  border-radius: 0 var(--rec-radius-sm) var(--rec-radius-sm) 0;
  background: rgba(189, 37, 39, .05);
  font-style: italic;
}

.blog-article-content table {
  width: 100%;
  margin: 0 0 24px;
  border-collapse: collapse;
  font-size: 15px;
}

.blog-article-content th,
.blog-article-content td {
  padding: 10px 14px;
  border: 1px solid var(--rec-border);
}

.blog-article-content th {
  background: var(--rec-soft);
  color: var(--rec-heading);
}

/* End-of-article CTA */
.blog-article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 44px 0 26px;
  padding: 26px 30px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(189, 37, 39, .08), rgba(189, 37, 39, .02));
  border: 1px solid rgba(189, 37, 39, .15);
}

.blog-article-cta h3 {
  font-size: 21px;
  line-height: 1.35;
  margin: 0 0 4px;
}

.blog-article-cta p {
  margin: 0;
  font-size: 15px;
  color: var(--rec-text);
}

.blog-article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--rec-primary);
}

.blog-article-back:hover {
  color: var(--rec-primary-dark);
}

/* Sidebar */
.blog-sidebar .widget {
  border-radius: 16px;
  overflow: hidden;
}

.blog-sidebar .widget-banner img {
  border-radius: 16px !important;
}

.blog-sidebar .search-form {
  display: flex;
}

.blog-sidebar .search-form label {
  flex: 1;
  margin: 0;
}

.blog-sidebar .search-form .input-text {
  border-radius: var(--rec-radius-sm) 0 0 var(--rec-radius-sm);
  border-right: 0;
}

.blog-sidebar .search-form button.ttm-btn {
  position: static;
  width: 52px;
  min-height: 48px;
  padding: 0;
  border-radius: 0 var(--rec-radius-sm) var(--rec-radius-sm) 0;
  transform: none;
  box-shadow: none;
}

.blog-sidebar #search-suggestions {
  margin: 8px 0 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius-sm);
  box-shadow: var(--rec-shadow);
}

.blog-sidebar #search-suggestions li {
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1.45;
}

.blog-sidebar #search-suggestions li a:hover {
  color: var(--rec-primary);
}

.blog-sidebar .ttm-recent-post-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.blog-sidebar .ttm-recent-post-list li img {
  width: 76px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--rec-radius-sm);
}

.blog-sidebar .ttm-recent-post-list .post-detail a {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--rec-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-sidebar .ttm-recent-post-list .post-detail a:hover {
  color: var(--rec-primary);
}

.blog-sidebar .post-date {
  font-size: 12px;
  color: var(--rec-muted);
}

@media (min-width: 992px) {
  .blog-sidebar {
    position: sticky;
    top: 110px;
    align-self: flex-start;
  }
}

@media (max-width: 991px) {
  .blog-sidebar {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .blog-detail-heading h1.title {
    font-size: 26px;
  }

  .blog-detail-section {
    padding-top: 36px;
  }

  .blog-article-content {
    font-size: 16px;
  }

  .blog-article-content h1,
  .blog-article-content h2 {
    font-size: 23px;
    margin-top: 34px;
  }

  .blog-article-content h3 {
    font-size: 19px;
  }

  .blog-article-cta {
    padding: 22px;
  }
}

/* Articles use h3 for their main sections */
.blog-article .blog-article-content h3 {
  font-size: 25px;
  line-height: 1.35;
  margin: 42px 0 14px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .blog-article .blog-article-content h3 {
    font-size: 21px;
    margin-top: 32px;
  }
}

/* ==========================================================================
   Our Doctors listing + doctor profile
   ========================================================================== */
.doctors-cta-section {
  padding-bottom: 80px;
}

.doctors-cta {
  margin: 10px 0 0;
}

.doctors-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.doctors-cta-call,
.doctor-profile-call {
  font-weight: 600;
  color: var(--rec-primary);
}

.doctors-cta-call:hover,
.doctor-profile-call:hover {
  color: var(--rec-primary-dark);
}

/* Profile */
.doctor-profile-section {
  padding-top: 60px;
  padding-bottom: 50px;
}

.doctor-profile-card {
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--rec-shadow);
}

.doctor-profile-photo {
  aspect-ratio: 5 / 6;
  background: var(--rec-soft);
}

.doctor-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 !important;
}

.doctor-profile-body {
  padding: 22px 24px 24px;
  text-align: center;
}

.doctor-profile-name {
  font-size: 24px;
  line-height: 1.3;
  margin: 0 0 6px;
}

.doctor-profile-role {
  font-size: 15px;
  line-height: 1.55;
  color: var(--rec-muted);
  margin: 0 0 20px;
}

.doctor-profile-call {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
}

.doctor-profile-about {
  padding-left: 20px;
}

.doctor-profile-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--rec-primary);
  margin-bottom: 6px;
}

.doctor-profile-heading {
  font-size: 30px;
  line-height: 1.3;
  margin: 0 0 24px;
}

/* Each paragraph of the bio becomes a highlighted point */
.doctor-profile-content {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
}

.doctor-profile-content p,
.doctor-profile-content li {
  position: relative;
  margin: 0 0 12px;
  padding: 14px 18px 14px 46px;
  background: var(--rec-soft);
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius-sm);
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.doctor-profile-content p::before,
.doctor-profile-content li::before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 18px;
  top: 15px;
  font-size: 14px;
  color: var(--rec-primary);
}

.doctor-profile-content p:empty {
  display: none;
}

.doctor-profile-content ul,
.doctor-profile-content ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.doctor-profile-content strong,
.doctor-profile-content b {
  color: var(--rec-heading);
  font-weight: 600;
}

/* Other specialists */
.doctor-others-section {
  padding-top: 40px;
  border-top: 1px solid var(--rec-border);
}

.doctor-others-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}

.doctor-others-header h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0;
}

.doctor-others-header a {
  font-weight: 600;
  color: var(--rec-primary);
}

@media (min-width: 768px) {
  .doctor-profile-card {
    position: sticky;
    top: 110px;
  }
}

@media (max-width: 767px) {
  .doctor-profile-about {
    padding-left: 0;
  }

  .doctor-profile-heading {
    font-size: 24px;
  }

  .doctor-profile-content {
    font-size: 15px;
  }

  .doctors-cta-section {
    padding-bottom: 50px;
  }
}

/* Keep doctor grids inside a 16px gutter on phones */
@media (max-width: 575px) {
  .team-doctors-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .team-doctors-section .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .doctor-others-header h2 {
    font-size: 23px;
  }
}

/* ==========================================================================
   Publications
   ========================================================================== */
.team-doctor-link-muted {
  color: var(--rec-muted);
  font-weight: 500;
}

.team-doctor-card:hover .team-doctor-link-muted {
  color: var(--rec-text);
}

.publication-empty {
  padding: 40px 32px;
  text-align: center;
  background: var(--rec-soft);
  border: 1px dashed #d1d5db;
  border-radius: 16px;
}

.publication-empty > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
  font-size: 26px;
}

.publication-empty h3 {
  font-size: 21px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.publication-empty p {
  max-width: 460px;
  margin: 0 auto 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rec-text);
}

.publication-empty a {
  font-weight: 600;
  color: var(--rec-primary);
}

.publication-back {
  margin-top: 26px;
}

.team-doctors-section + .blog-pagination {
  margin-top: 10px;
}

/* ---------- Publication detail: citation-style entries ---------- */
.publication-content {
  counter-reset: pub;
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
}

.publication-content p,
.publication-content li {
  counter-increment: pub;
  position: relative;
  margin: 0 0 14px;
  padding: 18px 20px 18px 74px;
  min-height: 72px;
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  border-left: 3px solid var(--rec-primary);
  border-radius: var(--rec-radius-sm);
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  transition: box-shadow .2s var(--rec-ease);
}

.publication-content p:hover,
.publication-content li:hover {
  box-shadow: var(--rec-shadow);
}

/* Document icon with the entry number */
.publication-content p::before,
.publication-content li::before {
  content: "\f0f6";
  font-family: FontAwesome;
  position: absolute;
  left: 20px;
  top: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(189, 37, 39, .08);
  color: var(--rec-primary);
  font-size: 17px;
}

.publication-content p::after,
.publication-content li::after {
  content: counter(pub, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 58px;
  width: 36px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--rec-muted);
}

.publication-content p:empty {
  display: none;
}

.publication-content ul,
.publication-content ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.publication-content a {
  color: var(--rec-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.publication-content strong,
.publication-content b,
.publication-content em,
.publication-content i:not(.fa) {
  color: var(--rec-heading);
}

/* ---------- More publications ---------- */
.publication-more-section {
  padding: 40px 0 70px;
  border-top: 1px solid var(--rec-border);
}

.publication-more-item {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 14px 18px;
  background: var(--rec-surface);
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
  transition: border-color .2s var(--rec-ease), box-shadow .2s var(--rec-ease);
}

.publication-more-item:hover {
  border-color: transparent;
  box-shadow: var(--rec-shadow-hover);
}

.publication-more-item img {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.publication-more-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.publication-more-text strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--rec-heading);
}

.publication-more-text span {
  font-size: 14px;
  color: var(--rec-muted);
}

.publication-more-item > i {
  color: var(--rec-primary);
  transition: transform .2s var(--rec-ease);
}

.publication-more-item:hover > i {
  transform: translateX(4px);
}

/* ---------- Phones: compact profile header, publications first ---------- */
@media (max-width: 767px) {
  .publication-profile-section {
    padding-top: 30px;
  }

  .publication-profile-section .doctor-profile-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
  }

  .publication-profile-section .doctor-profile-photo {
    flex: 0 0 96px;
    width: 96px;
    height: 116px;
    aspect-ratio: auto;
    border-radius: var(--rec-radius-sm);
    overflow: hidden;
  }

  .publication-profile-section .doctor-profile-body {
    flex: 1;
    min-width: 0;
    padding: 0;
    text-align: left;
  }

  .publication-profile-section .doctor-profile-name {
    font-size: 19px;
    margin-bottom: 2px;
  }

  .publication-profile-section .doctor-profile-role {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .publication-profile-section .doctor-profile-body .ttm-btn {
    padding: 9px 14px;
    font-size: 13px;
  }

  .publication-profile-section .doctor-profile-call {
    margin-top: 8px;
    font-size: 13px;
  }

  .publication-content {
    font-size: 15px;
  }

  .publication-content p,
  .publication-content li {
    padding: 14px 14px 14px 62px;
  }

  .publication-content p::before,
  .publication-content li::before,
  .publication-content p::after,
  .publication-content li::after {
    left: 14px;
  }

  .publication-more-section {
    padding-bottom: 50px;
  }
}

/* ==========================================================================
   News & Events listing
   ========================================================================== */
.news-list-section {
  padding-bottom: 60px;
}

.news-card .blog-card-thumb img {
  object-position: center 30%;
}

/* Calendar-style date badge */
.news-card-date {
  position: absolute;
  left: 16px;
  top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 62px;
  padding: 8px 10px 7px;
  border-radius: var(--rec-radius-sm);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  line-height: 1;
  text-align: center;
}

.news-card-day {
  font-size: 24px;
  font-weight: 700;
  color: var(--rec-primary);
}

.news-card-month {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--rec-muted);
}

.news-card .blog-card-title {
  margin-bottom: 18px;
}

/* ==========================================================================
   News & Events detail
   ========================================================================== */

/* Event photos are often portrait with baked-in black bars: crop to a landscape frame */
.news-article-image {
  aspect-ratio: 4 / 3;
  margin-bottom: 34px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--rec-soft);
}

.news-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  margin: 0 !important;
  border-radius: 0 !important;
}

.blog-sidebar .widget-banner img {
  width: 100%;
}

.news-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 36px 0 26px;
  padding-top: 22px;
  border-top: 1px solid var(--rec-border);
}

.news-share-label {
  margin-right: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rec-heading);
}

.news-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rec-border);
  color: var(--rec-heading);
  font-size: 16px;
  transition: background-color .2s var(--rec-ease), color .2s var(--rec-ease),
              border-color .2s var(--rec-ease);
}

.news-share-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.news-share-btn:hover {
  background: var(--rec-primary);
  border-color: var(--rec-primary);
  color: #fff;
}

@media (max-width: 767px) {
  .news-article-image {
    aspect-ratio: 1 / 1;
  }
}

/* ==========================================================================
   Testimonials page
   ========================================================================== */
.testimonials-page-section {
  padding-bottom: 40px;
  background: var(--rec-soft);
}

.testimonial-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: fit-content;
  margin: -10px auto 44px;
  padding: 14px 26px;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: 999px;
  box-shadow: var(--rec-shadow);
}

.testimonial-summary-score {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--rec-heading);
}

.testimonial-summary-detail {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--rec-muted);
}

.testimonial-stars {
  color: #f5a623;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1.2;
}

/* Masonry columns: cards of any length pack without gaps */
.testimonial-masonry {
  column-count: 3;
  column-gap: 24px;
}

.testimonial-card {
  break-inside: avoid;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 24px;
  padding: 26px 26px 22px;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  transition: box-shadow .25s var(--rec-ease), transform .25s var(--rec-ease);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rec-shadow-hover);
}

.testimonial-stars-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--rec-primary);
}

.testimonial-text {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  font-style: normal;
  line-height: 1.75;
  color: #374151;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--rec-border);
}

.testimonial-avatar {
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
  font-size: 15px;
  font-weight: 700;
}

.testimonial-author-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.testimonial-author-text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--rec-heading);
}

.testimonial-author-text span {
  font-size: 13px;
  color: var(--rec-muted);
}

.testimonial-quote {
  font-size: 22px;
  color: rgba(189, 37, 39, .2);
}

.testimonials-page-section + .blog-pagination,
.testimonials-page-section + .doctors-cta-section {
  padding-top: 40px;
}

@media (max-width: 991px) {
  .testimonial-masonry {
    column-count: 2;
  }
}

/* ==========================================================================
   Infrastructure
   ========================================================================== */
.infra-services-section {
  padding-bottom: 50px;
}

.infra-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  height: 100%;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  transition: transform .25s var(--rec-ease), box-shadow .25s var(--rec-ease),
              border-color .25s var(--rec-ease);
}

.infra-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--rec-shadow-hover);
}

.infra-card-img {
  position: relative;
  flex: 0 0 96px;
}

.infra-card-img img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px !important;
}

.infra-card-num {
  position: absolute;
  right: -8px;
  bottom: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--rec-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.infra-card-body h3 {
  margin: 4px 0 6px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
}

.infra-card-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--rec-text);
}

/* Technology / Quality */
.infra-feature-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.infra-feature-alt {
  background: var(--rec-soft);
}

.infra-feature-img img {
  width: 100%;
  height: auto;
  border-radius: 16px !important;
  box-shadow: 0 18px 40px rgba(17, 24, 39, .14);
}

.infra-feature-text h2 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.25;
}

.infra-feature-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--rec-text);
}

.infra-feature-lead {
  padding-left: 16px;
  border-left: 3px solid var(--rec-primary);
  font-size: 16px !important;
  font-weight: 500;
  color: var(--rec-heading) !important;
}

.infra-partners-label {
  margin-bottom: 10px !important;
}

.infra-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.infra-partners li {
  padding: 6px 16px;
  border: 1px solid var(--rec-border);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--rec-heading);
}

.infra-highlights {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.infra-highlights li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rec-text);
}

.infra-highlights li i {
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
  font-size: 12px;
}

@media (max-width: 767px) {
  .infra-services-section .container,
  .infra-feature-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .infra-card {
    padding: 16px;
    gap: 16px;
  }

  .infra-card-img {
    flex-basis: 80px;
  }

  .infra-card-img img {
    width: 80px;
    height: 80px;
  }

  .infra-feature-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .infra-feature-text h2 {
    font-size: 26px;
  }
}

/* ==========================================================================
   Rajan Eye Bank
   ========================================================================== */
.eyebank-intro-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.eyebank-heading {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.25;
}

.eyebank-intro-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--rec-text);
}

.eyebank-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.eyebank-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  box-shadow: var(--rec-shadow);
}

.eyebank-stat-value {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--rec-primary);
}

.eyebank-stat-label {
  font-size: 14px;
  line-height: 1.55;
  color: var(--rec-text);
}

.eyebank-stat-accent {
  background: var(--rec-primary);
  border-color: var(--rec-primary);
}

.eyebank-stat-accent .eyebank-stat-value,
.eyebank-stat-accent .eyebank-stat-label {
  color: #fff;
}

.eyebank-image img {
  width: 100%;
  height: auto;
  border-radius: 16px !important;
}

.eyebank-donate-section .infra-highlights li span {
  flex: 1;
}

.eyebank-cta-section {
  padding: 70px 0 80px;
}

.eyebank-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--rec-primary), var(--rec-primary-dark));
  box-shadow: 0 18px 40px rgba(189, 37, 39, .25);
}

.eyebank-cta h3 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.3;
  color: #fff;
}

.eyebank-cta p {
  max-width: 560px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
}

.eyebank-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--rec-primary) !important;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s var(--rec-ease), box-shadow .2s var(--rec-ease);
}

.eyebank-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

@media (max-width: 767px) {
  .eyebank-intro-section .container,
  .eyebank-cta-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .eyebank-intro-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .eyebank-heading {
    font-size: 28px;
  }

  .eyebank-stats {
    gap: 12px;
  }

  .eyebank-stat {
    padding: 18px 16px;
  }

  .eyebank-stat-value {
    font-size: 26px;
  }

  .eyebank-stat-label {
    font-size: 13px;
  }

  .eyebank-cta-section {
    padding: 50px 0 60px;
  }

  .eyebank-cta {
    padding: 26px 22px;
  }

  .eyebank-cta h3 {
    font-size: 22px;
  }
}

/* ==========================================================================
   Corporate Social Responsibility
   ========================================================================== */
.csr-intro-section {
  padding-top: 80px;
  padding-bottom: 60px;
}

.csr-facts {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.csr-facts li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--rec-soft);
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
}

.csr-facts li > i {
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
  font-size: 15px;
}

.csr-facts li span {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.5;
  color: var(--rec-text);
}

.csr-facts li strong {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--rec-muted);
}

/* Impact numbers */
.csr-impact-section {
  padding-top: 70px;
  padding-bottom: 50px;
  background: var(--rec-soft);
}

.csr-impact-card {
  height: 100%;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  box-shadow: var(--rec-shadow);
}

.csr-impact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
  font-size: 20px;
}

.csr-impact-value {
  display: block;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--rec-primary);
}

.csr-impact-card h3 {
  margin: 10px 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.csr-impact-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rec-text);
}

.csr-impact-accent {
  background: var(--rec-primary);
  border-color: var(--rec-primary);
}

.csr-impact-accent .csr-impact-icon {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.csr-impact-accent .csr-impact-value,
.csr-impact-accent h3,
.csr-impact-accent p {
  color: #fff;
}

/* Team */
.csr-team-section {
  padding-top: 70px;
  padding-bottom: 50px;
}

.csr-team-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--rec-border);
  border-left: 3px solid var(--rec-primary);
  border-radius: var(--rec-radius);
  background: #fff;
}

.csr-team-icon {
  display: inline-flex;
  color: var(--rec-primary);
  font-size: 20px;
  margin-bottom: 10px;
}

.csr-team-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.csr-team-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rec-text);
}

/* Press */
.csr-press-section {
  padding-top: 70px;
  padding-bottom: 80px;
}

.csr-press-quote {
  margin: 10px 0 24px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 26px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.4;
  color: var(--rec-heading);
}

.csr-press-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: var(--rec-muted);
}

.csr-press-original {
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
}

.csr-press-original summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--rec-primary);
}

.csr-press-original summary::marker {
  color: var(--rec-primary);
}

.csr-press-original-body {
  padding: 0 20px 8px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--rec-text);
}

.csr-press-clip {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(17, 24, 39, .16);
}

.csr-press-clip img {
  width: 100%;
  height: auto;
  border-radius: 0 !important;
}

.csr-press-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, .8);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .csr-intro-section .container,
  .csr-impact-section .container,
  .csr-team-section .container,
  .csr-press-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .csr-intro-section {
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .csr-impact-section,
  .csr-team-section,
  .csr-press-section {
    padding-top: 50px;
  }

  .csr-impact-value {
    font-size: 38px;
  }

  .csr-press-quote {
    font-size: 21px;
  }
}

/* ==========================================================================
   Contact Us
   ========================================================================== */
.contact-quick-section {
  padding-top: 60px;
}

.contact-quick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  transition: transform .2s var(--rec-ease), box-shadow .2s var(--rec-ease),
              border-color .2s var(--rec-ease);
}

.contact-quick-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--rec-shadow-hover);
}

.contact-quick-icon {
  flex: 0 0 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
  font-size: 22px;
}

.contact-quick-whatsapp {
  background: rgba(37, 211, 102, .12);
  color: #128c4b;
}

.contact-quick-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-quick-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--rec-muted);
}

.contact-quick-text strong {
  font-size: 17px;
  font-weight: 600;
  color: var(--rec-heading);
  overflow-wrap: anywhere;
}

/* Form */
.contact-form-section {
  padding-top: 40px;
  padding-bottom: 70px;
}

.contact-form-wrap {
  border: 1px solid var(--rec-border);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--rec-shadow);
}

.contact-form-aside {
  background: linear-gradient(160deg, rgba(189, 37, 39, .08), rgba(189, 37, 39, .02));
}

.contact-form-aside-inner {
  position: relative;
  height: 100%;
  padding: 40px 40px 0;
  display: flex;
  flex-direction: column;
}

.contact-form-aside h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.25;
}

.contact-form-aside p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--rec-text);
}

.contact-form-points {
  margin: 4px 0 24px;
  padding: 0;
  list-style: none;
}

.contact-form-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--rec-heading);
}

.contact-form-points li i {
  color: var(--rec-primary);
}

.contact-form-points a {
  font-weight: 600;
  color: var(--rec-primary);
}

.contact-form-family {
  display: block;
  width: 78%;
  max-width: 320px;
  margin: auto auto 0;
  border-radius: 0 !important;
}

.contact-form {
  padding: 40px;
}

.contact-field {
  position: relative;
  margin-bottom: 18px;
}

.contact-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rec-heading);
}

.contact-field label span {
  color: var(--rec-primary);
}

.contact-field input,
.contact-field textarea {
  background: var(--rec-soft);
  font-size: 15px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  background: #fff;
}

.contact-field textarea {
  resize: vertical;
}

.contact-counter {
  position: absolute;
  right: 26px;
  bottom: 10px;
  font-size: 12px;
  color: var(--rec-muted);
}

.contact-form .ttm-btn {
  padding: 15px 24px;
  font-size: 15px;
}

/* Centres */
.contact-centers-section {
  padding-top: 70px;
  padding-bottom: 60px;
  background: var(--rec-soft);
}

.contact-center-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s var(--rec-ease), box-shadow .25s var(--rec-ease);
}

.contact-center-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rec-shadow-hover);
}

.contact-center-img {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.contact-center-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform .4s var(--rec-ease);
}

.contact-center-card:hover .contact-center-img img {
  transform: scale(1.04);
}

.contact-center-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.contact-center-body h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.3;
}

.contact-center-body h3 a:hover {
  color: var(--rec-primary);
}

.contact-center-line {
  display: flex;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--rec-text);
}

.contact-center-line i {
  flex: 0 0 14px;
  margin-top: 4px;
  color: var(--rec-primary);
  text-align: center;
}

.contact-center-line a:hover {
  color: var(--rec-primary);
}

.contact-center-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rec-border);
}

.contact-center-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--rec-primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  transition: background-color .2s var(--rec-ease);
}

.contact-center-btn:hover {
  background: var(--rec-primary-dark);
}

.contact-center-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--rec-primary);
}

@media (max-width: 991px) {
  .contact-form-aside-inner {
    padding: 32px 28px 0;
  }

  .contact-form-family {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .contact-quick-section .container,
  .contact-form-section .container,
  .contact-centers-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-quick-section {
    padding-top: 40px;
  }

  .contact-form {
    padding: 26px 20px;
  }

  /* Get to the form sooner on phones */
  .contact-form-family {
    display: none;
  }

  .contact-form-aside-inner {
    padding-bottom: 8px;
  }

  .contact-form-aside h2 {
    font-size: 25px;
  }

  .contact-centers-section {
    padding-top: 50px;
  }
}

/* ==========================================================================
   Book Appointment
   ========================================================================== */
.booking-section {
  padding-top: 70px;
  padding-bottom: 80px;
  background: var(--rec-soft);
}

.booking-card {
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: 20px;
  box-shadow: var(--rec-shadow);
  overflow: hidden;
}

.booking-card-head {
  padding: 28px 36px 22px;
  border-bottom: 1px solid var(--rec-border);
}

.booking-card-head h2 {
  margin: 0 0 4px;
  font-size: 26px;
  line-height: 1.3;
}

.booking-card-head p {
  margin: 0;
  font-size: 14px;
  color: var(--rec-muted);
}

.booking-form {
  padding: 26px 36px 32px;
}

.booking-group {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}

.booking-group legend {
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--rec-heading);
}

.booking-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rec-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.booking-field {
  margin-bottom: 16px;
}

.booking-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rec-heading);
}

.booking-req {
  color: var(--rec-primary);
}

.booking-optional {
  font-weight: 400;
  color: var(--rec-muted);
}

.booking-field input,
.booking-field select {
  background-color: var(--rec-soft);
  font-size: 15px;
}

.booking-field input:focus,
.booking-field select:focus {
  background-color: #fff;
}

.booking-input-icon {
  position: relative;
}

.booking-input-icon input {
  padding-right: 42px;
  cursor: pointer;
}

.booking-input-icon i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rec-primary);
  pointer-events: none;
}

.booking-hint {
  display: flex;
  gap: 8px;
  margin: -4px 0 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--rec-muted);
}

.booking-hint i {
  margin-top: 3px;
  color: var(--rec-primary);
}

.booking-submit {
  padding: 15px 24px !important;
  font-size: 16px !important;
}

.booking-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--rec-muted);
}

/* Left panel */
.booking-aside-img img {
  width: 100%;
  border-radius: 16px !important;
  box-shadow: 0 18px 40px rgba(17, 24, 39, .14);
}

.booking-aside h3 {
  margin: 30px 0 16px;
  font-size: 21px;
}

.booking-steps {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.booking-steps li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--rec-text);
}

.booking-steps li > span {
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
  font-weight: 700;
}

.booking-steps strong {
  display: block;
  font-size: 15px;
  color: var(--rec-heading);
}

.booking-call {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  transition: box-shadow .2s var(--rec-ease);
}

.booking-call:hover {
  box-shadow: var(--rec-shadow-hover);
}

/* Datepicker to match the site */
.datepicker {
  padding: 10px;
  border-radius: var(--rec-radius) !important;
  box-shadow: var(--rec-shadow-hover);
  font-family: Poppins, sans-serif;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.active {
  background: var(--rec-primary) !important;
  border-color: var(--rec-primary) !important;
  color: #fff !important;
}

.datepicker table tr td.today {
  background: rgba(189, 37, 39, .12) !important;
}

.datepicker table tr td.disabled {
  color: #c4c7cc !important;
}

@media (max-width: 767px) {
  .booking-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .booking-section {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .booking-card-head,
  .booking-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  .booking-card-head h2 {
    font-size: 22px;
  }
}

/* ==========================================================================
   Terms & Conditions (legal pages)
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

.legal-section {
  padding-top: 60px;
  padding-bottom: 80px;
}

.legal-toc {
  position: sticky;
  top: 110px;
  padding: 22px 20px;
  background: var(--rec-soft);
  border: 1px solid var(--rec-border);
  border-radius: 16px;
}

.legal-toc-title {
  display: block;
  margin: 0 0 12px 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--rec-muted);
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--rec-radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--rec-heading);
  transition: background-color .2s var(--rec-ease), color .2s var(--rec-ease);
}

.legal-toc a span {
  font-size: 12px;
  font-weight: 700;
  color: var(--rec-primary);
}

.legal-toc a:hover {
  background: #fff;
  color: var(--rec-primary);
}

.legal-doc {
  max-width: 780px;
}

.legal-doc-title {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.3;
}

.legal-intro {
  margin-bottom: 34px;
  padding: 18px 22px;
  border-left: 3px solid var(--rec-primary);
  border-radius: 0 var(--rec-radius-sm) var(--rec-radius-sm) 0;
  background: rgba(189, 37, 39, .05);
  font-size: 16px;
  line-height: 1.8;
  color: var(--rec-heading);
}

.legal-block {
  padding: 26px 0;
  border-top: 1px solid var(--rec-border);
  scroll-margin-top: 110px;
}

.legal-block h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.legal-block h2 span {
  font-size: 14px;
  font-weight: 700;
  color: var(--rec-primary);
}

.legal-block p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #374151;
}

.legal-points {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.legal-points > div {
  padding: 16px 20px;
  background: var(--rec-soft);
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
}

.legal-points dt {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--rec-heading);
}

.legal-points dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--rec-text);
}

.legal-contact {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--rec-soft);
  border: 1px solid var(--rec-border);
}

.legal-contact > i {
  font-size: 26px;
  color: var(--rec-primary);
}

.legal-contact strong {
  display: block;
  font-size: 16px;
  color: var(--rec-heading);
}

.legal-contact span {
  font-size: 15px;
  color: var(--rec-text);
}

.legal-contact a {
  font-weight: 600;
  color: var(--rec-primary);
}

@media (max-width: 991px) {
  .legal-toc {
    position: static;
  }

  .legal-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .legal-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .legal-section {
    padding-top: 36px;
    padding-bottom: 50px;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-doc-title {
    font-size: 25px;
  }

  .legal-block h2 {
    font-size: 19px;
  }

  .legal-block p,
  .legal-intro {
    font-size: 15px;
  }
}

/* ==========================================================================
   Home page
   ========================================================================== */
.home-h1,
.home-h2 {
  margin: 0 0 18px;
  line-height: 1.2;
}

.home-h1 {
  font-size: 44px;
}

.home-h2 {
  font-size: 34px;
}

.home-h1 span,
.home-h2 span {
  color: var(--rec-primary);
}

.home-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--rec-text);
}

.home-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.home-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--rec-border);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--rec-heading);
}

.home-pills li i {
  color: var(--rec-primary);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.home-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--rec-heading);
}

.home-call span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
}

.home-call:hover {
  color: var(--rec-primary);
}

.home-intro-section {
  padding-top: 80px;
  padding-bottom: 60px;
}

.home-intro-img,
.home-rounded-img {
  width: 100%;
  border-radius: 20px !important;
}

/* Stats strip */
.home-stats-section {
  padding-bottom: 20px;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: 20px;
  background: linear-gradient(135deg, var(--rec-primary), var(--rec-primary-dark));
  box-shadow: 0 18px 40px rgba(189, 37, 39, .22);
  overflow: hidden;
}

.home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 16px;
  text-align: center;
  color: #fff;
}

.home-stat + .home-stat {
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.home-stat i {
  font-size: 22px;
  opacity: .85;
}

.home-stat strong {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.home-stat span {
  font-size: 14px;
  color: rgba(255, 255, 255, .9);
}

/* Services */
.home-services-section {
  padding-top: 80px;
  padding-bottom: 50px;
}

.home-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  transition: transform .25s var(--rec-ease), box-shadow .25s var(--rec-ease),
              border-color .25s var(--rec-ease);
}

.home-service-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--rec-shadow-hover);
}

.home-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
  font-size: 30px;
  transition: background-color .25s var(--rec-ease), color .25s var(--rec-ease);
}

.home-service-icon i::before {
  margin: 0;
  font-size: 30px;
}

.home-service-card:hover .home-service-icon {
  background: var(--rec-primary);
  color: #fff;
}

.home-service-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.35;
}

.home-service-card p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--rec-text);
}

.home-service-card .team-doctor-link {
  margin-top: auto;
}

.home-service-card:hover .team-doctor-link i {
  transform: translateX(4px);
}

/* Why us */
.home-why-section {
  padding-top: 60px;
  padding-bottom: 70px;
  background: var(--rec-soft);
}

.home-why-img img {
  width: 100%;
  border-radius: 20px !important;
}

.home-reason {
  display: flex;
  gap: 14px;
  height: 100%;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
}

.home-reason-icon {
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
  font-size: 17px;
}

.home-reason h3 {
  margin: 2px 0 4px;
  font-size: 16px;
}

.home-reason p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--rec-text);
}

/* NABH */
.home-nabh-section {
  padding: 60px 0 10px;
}

.home-nabh {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px 34px;
  border: 1px solid var(--rec-border);
  border-left: 4px solid var(--rec-primary);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--rec-shadow);
}

.home-nabh img {
  flex: 0 0 auto;
  width: 96px;
  height: auto;
}

.home-nabh h2 {
  margin: 0 0 4px;
  font-size: 26px;
  line-height: 1.3;
}

.home-nabh p {
  margin: 0;
  font-size: 15px;
  color: var(--rec-muted);
}

/* International / team */
.home-intl-section {
  padding-top: 70px;
  padding-bottom: 70px;
}

.home-team-section {
  padding-top: 20px;
  padding-bottom: 70px;
}

.home-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: 20px;
  overflow: hidden;
}

.home-panel-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0 !important;
}

.home-panel-accent .home-panel-img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--rec-soft);
}

.home-panel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 30px 30px;
}

.home-panel-body .ttm-btn {
  margin-top: auto;
}

.home-panel-body .home-h2 {
  font-size: 28px;
}

.home-panel-accent {
  background: var(--rec-soft);
}

/* News + testimonials + gallery */
.home-news-section {
  padding-top: 70px;
  padding-bottom: 50px;
}

.home-testimonials-section {
  padding-top: 70px;
  padding-bottom: 70px;
  background: var(--rec-soft);
}

.home-testimonial-slider .slick-track {
  display: flex;
}

.home-testimonial-slider .slick-slide {
  height: auto;
  flex: 0 0 auto;
  min-width: 0;
}

/* The column class must not shrink the card inside its slide */
.home-testimonial-slider .slick-slide .col-lg-4 {
  flex: none;
  width: 100%;
  max-width: 100%;
}

.home-testimonial-slider .slick-slide > div,
.home-testimonial-slider .slick-slide .col-lg-4 {
  height: 100%;
}

.home-testimonial-card {
  height: calc(100% - 10px);
  margin-bottom: 10px;
}

.home-testimonial-card .testimonial-text {
  flex: 1;
}

.home-testimonial-slider .slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.home-testimonial-slider .slick-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d1d5db;
  font-size: 0;
}

.home-testimonial-slider .slick-dots .slick-active button {
  width: 26px;
  border-radius: 999px;
  background: var(--rec-primary);
}

.home-gallery-section {
  padding-top: 70px;
  padding-bottom: 80px;
}

/* Original two-column layout (8 + 4), every photo shown whole */
.home-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.home-gallery-item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--rec-soft);
}

@media (max-width: 991px) {
  /* Columns stack: drop the row gutter so photos align with the heading */
  .home-gallery {
    margin-left: 0;
    margin-right: 0;
  }

  .home-gallery-col {
    padding-left: 0;
    padding-right: 0;
  }

  .home-gallery-col + .home-gallery-col {
    margin-top: 24px;
  }
}

.home-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 !important;
  transition: transform .4s var(--rec-ease);
}

.home-gallery-item:hover img {
  transform: scale(1.03);
}

.home-gallery-item:hover .gallery-zoom {
  opacity: 1;
}


@media (max-width: 991px) {
  .home-h1 {
    font-size: 34px;
  }

  .home-h2 {
    font-size: 28px;
  }

  .home-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-stat:nth-child(3) {
    border-left: 0;
  }

  .home-stat:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, .18);
  }
}

@media (max-width: 767px) {
  .home-intro-section .container,
  .home-stats-section .container,
  .home-services-section .container,
  .home-why-section .container,
  .home-nabh-section .container,
  .home-intl-section .container,
  .home-team-section .container,
  .home-news-section .container,
  .home-testimonials-section .container,
  .home-gallery-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-intro-section,
  .home-services-section,
  .home-intl-section,
  .home-news-section,
  .home-testimonials-section,
  .home-gallery-section {
    padding-top: 50px;
  }

  .home-h1 {
    font-size: 30px;
  }

  .home-h2 {
    font-size: 25px;
  }

  .home-stat {
    padding: 20px 10px;
  }

  .home-stat strong {
    font-size: 27px;
  }

  .home-nabh {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
  }

  .home-nabh h2 {
    font-size: 21px;
  }

  .home-panel-body {
    padding: 22px;
  }

  .home-gallery-col {
    gap: 14px;
  }

  .home-gallery-col + .home-gallery-col {
    margin-top: 14px;
  }

  .home-gallery-item {
    border-radius: 12px;
  }
}

/* ==========================================================================
   Wavelight Plus
   ========================================================================== */
.wl-intro-section {
  padding-top: 80px;
  padding-bottom: 70px;
}

.wl-why-section {
  padding-top: 70px;
  padding-bottom: 50px;
  background: var(--rec-soft);
}

.wl-why-section .home-service-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--rec-heading);
}

.wl-why-section .home-service-icon i {
  font-size: 24px;
}

.wl-results-section {
  padding-top: 80px;
  padding-bottom: 70px;
}

.wl-subhead {
  margin: 26px 0 14px;
  font-size: 17px;
  line-height: 1.4;
}

/* 20/20 vs better comparison */
.wl-compare {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.wl-compare-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px;
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
  background: #fff;
  font-size: 14px;
  color: var(--rec-muted);
}

.wl-compare-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.wl-compare-item strong {
  font-size: 26px;
  line-height: 1.25;
  color: var(--rec-heading);
}

.wl-compare-better {
  border-color: var(--rec-primary);
  background: rgba(189, 37, 39, .05);
}

.wl-compare-better strong,
.wl-compare-better .wl-compare-label {
  color: var(--rec-primary);
}

.wl-compare-arrow {
  display: flex;
  align-items: center;
  font-size: 22px;
  color: var(--rec-primary);
}

/* Clinical result bars */
.wl-results {
  display: grid;
  gap: 16px;
}

.wl-result-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.wl-result-top strong {
  min-width: 58px;
  font-size: 26px;
  line-height: 1;
  color: var(--rec-primary);
}

.wl-result-top span {
  font-size: 15px;
  color: var(--rec-heading);
}

.wl-bar {
  height: 10px;
  border-radius: 999px;
  background: #eceef1;
  overflow: hidden;
}

.wl-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rec-primary-dark), var(--rec-primary));
}

.wl-device-img {
  display: block;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 0 !important;
}

/* How it works / eligibility */
.wl-how-section {
  padding-top: 10px;
  padding-bottom: 70px;
}

.wl-info-card {
  height: 100%;
  padding: 32px;
  border: 1px solid var(--rec-border);
  border-radius: 20px;
  background: #fff;
}

.wl-info-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.3;
}

.wl-info-card p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--rec-text);
}

.wl-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
  font-size: 22px;
}

.wl-info-accent {
  border-color: transparent;
  background: linear-gradient(135deg, var(--rec-primary), var(--rec-primary-dark));
}

.wl-info-accent h2,
.wl-info-accent p {
  color: #fff;
}

.wl-info-accent .wl-info-icon {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.wl-info-accent .ttm-btn {
  margin-top: 8px;
  background: #fff;
  color: var(--rec-primary) !important;
}

/* FAQs */
.wl-faq-section {
  padding-top: 70px;
  padding-bottom: 50px;
  background: var(--rec-soft);
}

.wl-faq {
  margin-bottom: 14px;
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
  background: #fff;
  transition: box-shadow .2s var(--rec-ease), border-color .2s var(--rec-ease);
}

.wl-faq[open] {
  border-color: rgba(189, 37, 39, .35);
  box-shadow: var(--rec-shadow);
}

.wl-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 54px 18px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--rec-heading);
}

.wl-faq summary::-webkit-details-marker {
  display: none;
}

.wl-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: var(--rec-soft);
  color: var(--rec-primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.wl-faq[open] summary::after {
  content: "−";
  background: var(--rec-primary);
  color: #fff;
}

.wl-faq-num {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--rec-primary);
}

.wl-faq p {
  margin: 0;
  padding: 0 20px 20px 49px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--rec-text);
}

@media (max-width: 767px) {
  .wl-intro-section .container,
  .wl-why-section .container,
  .wl-results-section .container,
  .wl-how-section .container,
  .wl-faq-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .wl-intro-section,
  .wl-results-section,
  .wl-why-section,
  .wl-faq-section {
    padding-top: 50px;
  }

  .wl-compare {
    flex-direction: column;
  }

  .wl-compare-arrow {
    justify-content: center;
    transform: rotate(90deg);
  }

  .wl-info-card {
    padding: 24px;
  }

  .wl-faq p {
    padding-left: 20px;
  }
}

/* ==========================================================================
   Treatment pages (PRK; reusable for SMILE / Femto LASIK)
   ========================================================================== */
.treatment-section {
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Sidebar */
.treatment-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 20px;
}

.treatment-nav {
  padding: 20px;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  background: var(--rec-soft);
}

.treatment-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius-sm);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--rec-heading);
  transition: background-color .2s var(--rec-ease), color .2s var(--rec-ease),
              border-color .2s var(--rec-ease);
}

.treatment-nav a:hover {
  border-color: var(--rec-primary);
  color: var(--rec-primary);
}

.treatment-nav a.is-active {
  border-color: var(--rec-primary);
  background: var(--rec-primary);
  color: #fff;
}

.treatment-book {
  padding: 26px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--rec-primary), var(--rec-primary-dark));
  box-shadow: 0 18px 40px rgba(189, 37, 39, .22);
}

.treatment-book h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #fff;
}

.treatment-book p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
}

.treatment-book .eyebank-cta-btn {
  width: 100%;
  justify-content: center;
}

.treatment-book-call {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff !important;
}

/* Content */
.treatment-hero {
  display: block;
  width: 100%;
  border-radius: 20px !important;
}

.treatment-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 36px;
  padding: 0;
  list-style: none;
}

.treatment-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
  background: #fff;
}

.treatment-facts li > i {
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
  font-size: 15px;
}

.treatment-facts span {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.35;
  color: var(--rec-muted);
}

.treatment-facts strong {
  font-size: 14px;
  color: var(--rec-heading);
}

.treatment-h {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.treatment-h i {
  margin-right: 6px;
  color: var(--rec-primary);
}

.treatment-content > .treatment-h {
  margin-top: 40px;
}

.treatment-text,
.treatment-card p,
.treatment-callout p,
.treatment-conclusion p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--rec-text);
}

/* Numbered process */
.treatment-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.treatment-steps li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
  color: var(--rec-text);
}

.treatment-steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rec-primary);
  color: #fff;
  font-weight: 700;
}

.treatment-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--rec-heading);
}

.treatment-callout {
  display: flex;
  gap: 18px;
  margin: 36px 0;
  padding: 26px;
  border-left: 4px solid var(--rec-primary);
  border-radius: 0 16px 16px 0;
  background: rgba(189, 37, 39, .05);
}

.treatment-callout .wl-info-icon {
  flex: 0 0 52px;
  margin: 0;
}

.treatment-callout p {
  margin: 0;
}

.treatment-split {
  margin-bottom: 36px;
}

.treatment-pills {
  margin: 4px 0 36px;
}

/* SMILE: treatable range + results + safety note */
.smile-range {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 20px;
}

.smile-range-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--rec-border);
  border-top: 3px solid var(--rec-primary);
  border-radius: var(--rec-radius);
  background: #fff;
  color: var(--rec-muted);
}

.smile-range-item strong {
  font-size: 19px;
  color: var(--rec-heading);
}

.smile-results {
  margin: 6px 0 22px;
}

.smile-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid #f3d38a;
  border-radius: var(--rec-radius);
  background: #fff8e6;
}

.smile-alert i {
  margin-top: 4px;
  color: #b7791f;
}

.smile-alert p {
  margin: 0 !important;
  font-size: 14px !important;
  color: #7a4f0e !important;
}

@media (max-width: 575px) {
  .smile-range {
    grid-template-columns: 1fr;
  }
}

.treatment-img {
  width: 100%;
  border-radius: 16px !important;
}

.treatment-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  background: var(--rec-soft);
}

.treatment-card .treatment-h {
  font-size: 19px;
}

.treatment-card p {
  margin: 0;
}

.treatment-conclusion {
  margin-top: 12px;
  padding: 28px;
  border: 1px solid var(--rec-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--rec-shadow);
}

.treatment-conclusion p {
  margin-bottom: 18px;
}

@media (max-width: 991px) {
  .treatment-sidebar {
    position: static;
  }

  .treatment-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .treatment-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .treatment-section {
    padding-top: 36px;
    padding-bottom: 50px;
  }

  .treatment-steps {
    grid-template-columns: 1fr;
  }

  .treatment-callout {
    flex-direction: column;
    padding: 22px;
  }

  .treatment-h {
    font-size: 20px;
  }
}

/* ==========================================================================
   Specialty pages (Retina; reusable for other specialties)
   ========================================================================== */
.spec-intro-section {
  padding-top: 80px;
  padding-bottom: 70px;
}

.spec-conditions-section {
  padding-top: 70px;
  padding-bottom: 50px;
  background: var(--rec-soft);
}

.spec-condition {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  background: #fff;
  transition: transform .25s var(--rec-ease), box-shadow .25s var(--rec-ease);
}

.spec-condition:hover {
  transform: translateY(-3px);
  box-shadow: var(--rec-shadow-hover);
}

.spec-condition .home-service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 14px;
  font-size: 20px;
}

.spec-condition h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
}

.spec-condition p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--rec-text);
}

.spec-poster-section {
  padding: 70px 0 0;
}

.spec-poster {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(17, 24, 39, .14);
}

.spec-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 !important;
}

.spec-facilities-section {
  padding-top: 70px;
  padding-bottom: 50px;
}

.spec-facility {
  height: 100%;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.spec-facility-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--rec-border);
  background: var(--rec-soft);
}

.spec-facility-head .wl-info-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin: 0;
  font-size: 19px;
}

.spec-facility-head h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.spec-facility dl {
  margin: 0;
  padding: 6px 22px 10px;
}

.spec-facility dl > div {
  padding: 14px 0;
}

.spec-facility dl > div + div {
  border-top: 1px dashed var(--rec-border);
}

.spec-facility dt {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--rec-heading);
}

.spec-facility dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--rec-text);
}

.spec-clinics-section {
  padding-top: 30px;
  padding-bottom: 70px;
}

.spec-clinics-section .infra-highlights li {
  font-size: 14px;
}

.spec-macular {
  margin-top: 40px;
}

/* Glaucoma */
.glaucoma-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.glaucoma-fact-wide {
  grid-column: span 2;
}

.glaucoma-fact-wide .eyebank-stat-value {
  font-size: 24px;
}

.glaucoma-type {
  height: 100%;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.glaucoma-type .infra-highlights {
  padding: 20px 22px 8px;
}

.glaucoma-type .infra-highlights li {
  font-size: 14px;
}

.glaucoma-type-tag {
  display: inline-block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--rec-primary);
}

.glaucoma-type-urgent {
  border-color: rgba(189, 37, 39, .35);
}

.glaucoma-type-urgent .spec-facility-head {
  background: rgba(189, 37, 39, .06);
}

.glaucoma-pressure {
  margin: 16px 0 0;
}

/* Keratoconus: symptom tiles + treatment ladder (mild → severe) */
.spec-facilities-section .home-reason p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rec-heading);
}

.spec-facilities-section .home-reason {
  align-items: center;
}

.kc-scale {
  display: flex;
  justify-content: space-between;
  max-width: 860px;
  margin: 0 auto 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(189, 37, 39, .12), var(--rec-primary));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--rec-primary);
}

.kc-scale span:last-child {
  color: #fff;
}

.kc-ladder {
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.kc-ladder li {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 18px 0;
}

.kc-ladder li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 58px;
  bottom: -18px;
  width: 2px;
  background: var(--rec-border);
}

.kc-step {
  position: relative;
  z-index: 1;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rec-primary);
  color: #fff;
  font-weight: 700;
}

.kc-ladder h3 {
  margin: 6px 0 6px;
  font-size: 18px;
  line-height: 1.4;
}

.kc-ladder p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rec-text);
}

.kc-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(189, 37, 39, .1);
  font-size: 12px;
  font-weight: 600;
  color: var(--rec-primary);
  vertical-align: middle;
}

.spec-clinics-section .treatment-conclusion p:last-child {
  margin-bottom: 0;
}

/* Vitreo retina: urgent symptom cards */
.vr-symptom {
  border-top: 3px solid var(--rec-primary);
}

.spec-facilities-section .smile-alert {
  max-width: 760px;
  margin: 6px auto 0;
}

.smile-alert a {
  color: #7a4f0e;
  text-decoration: underline;
}

/* Cornea */
.cd-techniques {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 8px 0 0;
}

.cd-techniques .smile-range-item span:last-child {
  font-size: 13px;
  line-height: 1.45;
}

.cd-prk {
  margin-top: 40px;
}

.cd-mookp {
  margin: 4px 0 12px;
}

.cd-mookp li {
  padding: 10px 0;
}

.cd-mookp li:not(:last-child)::before {
  top: 50px;
  bottom: -10px;
}

.cd-mookp h3 {
  font-size: 16px;
}

.cd-mookp p {
  font-size: 14px;
}

/* Pediatric ophthalmology */
.po-signs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.po-signs > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  border-radius: var(--rec-radius);
  background: var(--rec-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--rec-heading);
}

.po-signs i {
  font-size: 22px;
  color: var(--rec-primary);
}

.spec-intro-section .home-reason .po-treatment {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--rec-heading);
}

.spec-intro-section .home-reason {
  align-items: center;
}

@media (max-width: 575px) {
  .po-signs {
    grid-template-columns: 1fr;
  }
}

/* Oculoplasty */
.op-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.op-areas > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--rec-radius-sm);
  background: var(--rec-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--rec-heading);
}

.op-areas span {
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rec-primary);
  color: #fff;
  font-size: 12px;
}

@media (max-width: 575px) {
  .op-areas {
    grid-template-columns: 1fr;
  }
}

/* Strabismus */
.st-causes > div {
  background: #fff;
  border: 1px solid var(--rec-border);
}

.st-steps li strong {
  font-size: 16px;
}

.st-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0 16px;
  padding: 16px 18px;
  border-radius: var(--rec-radius);
  background: rgba(189, 37, 39, .06);
}

.st-stat strong {
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1.1;
  color: var(--rec-primary);
}

.st-stat span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--rec-text);
}

/* Computer vision syndrome */
.cvs-rule {
  padding: 34px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--rec-primary), var(--rec-primary-dark));
  box-shadow: 0 18px 40px rgba(189, 37, 39, .25);
  color: #fff;
}

.cvs-rule-label {
  display: inline-block;
  margin-bottom: 20px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.cvs-rule-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cvs-rule-steps > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 14px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.cvs-rule-steps strong {
  font-size: 46px;
  line-height: 1;
  color: var(--rec-primary);
}

.cvs-rule-steps span {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--rec-heading);
}

.cvs-rule p {
  margin: 18px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, .92);
}

.cvs-symptom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 22px 12px;
  border: 1px solid var(--rec-border);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.cvs-symptom i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(189, 37, 39, .1);
  color: var(--rec-primary);
  font-size: 20px;
}

.cvs-symptom span {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--rec-heading);
}

.glaucoma-facts .eyebank-stat-value i {
  font-size: 26px;
}

@media (max-width: 575px) {
  .cvs-rule {
    padding: 24px 18px;
  }

  .cvs-rule-steps {
    grid-template-columns: 1fr;
  }

  .cvs-rule-steps strong {
    font-size: 38px;
  }
}

/* Nethra optics / contact lens */
.cl-ramp {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  height: 160px;
  margin-top: 8px;
}

.cl-ramp > div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  padding-bottom: 22px;
}

.cl-ramp span {
  width: 100%;
  border-radius: 8px 8px 4px 4px;
  background: rgba(189, 37, 39, .25);
}

.cl-ramp .is-full span {
  background: var(--rec-primary);
}

.cl-ramp strong {
  order: -1;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--rec-heading);
}

.cl-ramp em {
  position: absolute;
  bottom: 0;
  font-size: 11px;
  font-style: normal;
  color: var(--rec-muted);
  white-space: nowrap;
}

.cl-adaptive li i {
  font-size: 8px;
  margin-top: 7px;
}

.cl-adaptive {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cl-supplies {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 26px;
  padding: 16px 20px;
  border: 1px dashed #d1d5db;
  border-radius: var(--rec-radius);
  background: #fff;
}

.cl-supplies .legal-toc-title {
  margin: 0;
}

.cl-never {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0 !important;
  padding: 10px 14px;
  border-radius: var(--rec-radius-sm);
  background: rgba(189, 37, 39, .06);
  font-size: 14px !important;
  font-weight: 600;
  color: var(--rec-primary-dark) !important;
}

.cl-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cl-photos a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

.cl-photos img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform .4s var(--rec-ease);
}

.cl-photos a:hover img {
  transform: scale(1.03);
}

@media (max-width: 991px) {
  .cl-adaptive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .cl-ramp strong {
    font-size: 10px;
  }

  .cl-ramp em {
    font-size: 9px;
  }

  .cl-adaptive {
    grid-template-columns: 1fr;
  }
}

/* Cataract */
.ct-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.ct-types > div {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: var(--rec-radius-sm);
  background: var(--rec-soft);
}

.ct-types strong {
  font-size: 14px;
  line-height: 1.35;
  color: var(--rec-heading);
}

.ct-types span {
  font-size: 13px;
  color: var(--rec-muted);
}

.ct-sticky {
  position: sticky;
  top: 110px;
}

.ct-sticky .home-rounded-img {
  margin-top: 10px;
}

.ct-stages {
  max-width: none;
}

.ct-stage {
  flex: 1;
  padding: 18px 20px;
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
  background: #fff;
}

.ct-stage h3 {
  margin-top: 0 !important;
}

.ct-stage p + p {
  margin-top: 8px !important;
}

.ct-when {
  margin: 0 0 10px;
  font-size: 18px;
}

.ct-when i {
  margin-right: 6px;
  color: var(--rec-muted);
}

.ct-when-yes {
  border-color: rgba(189, 37, 39, .3);
  background: rgba(189, 37, 39, .05);
}

.ct-when-yes .ct-when i {
  color: var(--rec-primary);
}

.ct-advantages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-advantages li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--rec-heading);
}

.ct-advantages li i {
  margin-top: 3px;
  color: var(--rec-primary);
}

@media (max-width: 1199px) {
  .ct-advantages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ct-sticky {
    position: static;
  }
}

@media (max-width: 767px) {
  .ct-types {
    grid-template-columns: 1fr;
  }

  .ct-advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Refractive surgery */
.rs-links-section {
  margin-top: -30px;
  padding-bottom: 40px;
}

.rs-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 16px 40px 16px 18px;
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
  background: #fff;
  transition: border-color .2s var(--rec-ease), box-shadow .2s var(--rec-ease);
}

.rs-link strong {
  font-size: 15px;
  color: var(--rec-heading);
}

.rs-link span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--rec-muted);
}

.rs-link i {
  position: absolute;
  right: 16px;
  top: 50%;
  margin-top: -7px;
  color: var(--rec-primary);
  transition: transform .2s var(--rec-ease);
}

.rs-link:hover {
  border-color: var(--rec-primary);
  box-shadow: var(--rec-shadow);
}

.rs-link:hover i {
  transform: translateX(4px);
}

.rs-facilities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding: 28px;
  border: 1px solid var(--rec-border);
  border-radius: 20px;
  background: #fff;
}

.rs-facilities-text {
  flex: 1 1 380px;
}

.rs-facilities-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--rec-text);
}

.rs-facilities-stats {
  flex: 1 1 380px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rs-facilities-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: var(--rec-radius);
  background: var(--rec-soft);
  text-align: center;
}

.rs-facilities-stats strong {
  font-size: 24px;
  line-height: 1.1;
  color: var(--rec-primary);
}

.rs-facilities-stats span {
  font-size: 12px;
  line-height: 1.4;
  color: var(--rec-muted);
}

.rs-steps {
  margin: 0;
}

.rs-aftercare-section {
  background: var(--rec-soft);
}

.rs-aftercare-section .home-reason {
  align-items: flex-start;
}

.rs-aftercare-section .home-reason p {
  font-size: 14px;
}

.rs-aftercare-note {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--rec-heading);
  text-align: center;
}

.rs-aftercare-note i {
  margin-top: 4px;
  color: var(--rec-primary);
}

@media (max-width: 767px) {
  .rs-links-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rs-links-section .row {
    margin-left: -6px;
    margin-right: -6px;
  }

  .rs-links-section .row > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
  }

  .rs-facilities {
    padding: 22px;
  }

  .rs-facilities-stats {
    grid-template-columns: 1fr;
  }
}

.glaucoma-info-section {
  padding-top: 20px;
  padding-bottom: 40px;
}

.glaucoma-info-section .spec-poster {
  height: 100%;
  background: var(--rec-soft);
  box-shadow: var(--rec-shadow);
}

@media (max-width: 767px) {
  .glaucoma-info-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 767px) {
  .spec-intro-section .container,
  .spec-conditions-section .container,
  .spec-poster-section .container,
  .spec-facilities-section .container,
  .spec-clinics-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .spec-intro-section,
  .spec-conditions-section,
  .spec-facilities-section {
    padding-top: 50px;
  }

  .spec-poster-section {
    padding-top: 50px;
  }

  .spec-poster {
    border-radius: 14px;
  }
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-section {
  padding-bottom: 50px;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -6px 0 34px;
}

.gallery-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1px solid var(--rec-border);
  border-radius: 999px;
  background: #fff;
  color: var(--rec-heading);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: background-color .2s var(--rec-ease), color .2s var(--rec-ease),
              border-color .2s var(--rec-ease);
}

.gallery-filter:hover {
  border-color: var(--rec-primary);
  color: var(--rec-primary);
}

.gallery-filter.is-active {
  background: var(--rec-primary);
  border-color: var(--rec-primary);
  color: #fff;
}

.gallery-item[hidden] {
  display: none !important;
}

.gallery-tile {
  height: 100%;
  margin: 0;
  background: #fff;
  border: 1px solid var(--rec-border);
  border-radius: var(--rec-radius);
  overflow: hidden;
  transition: box-shadow .25s var(--rec-ease), transform .25s var(--rec-ease);
}

.gallery-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--rec-shadow-hover);
}

.gallery-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #111;
  overflow: hidden;
  cursor: pointer;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform .4s var(--rec-ease), opacity .3s var(--rec-ease);
}

.gallery-tile:hover .gallery-media img {
  transform: scale(1.05);
}

.gallery-zoom,
.gallery-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--rec-ease), opacity .25s var(--rec-ease),
              background-color .25s var(--rec-ease);
}

.gallery-zoom {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, .95);
  color: var(--rec-primary);
  font-size: 20px;
  opacity: 0;
}

.gallery-tile:hover .gallery-zoom,
.gallery-media:focus-visible .gallery-zoom {
  opacity: 1;
}

.gallery-play {
  width: 64px;
  height: 64px;
  background: rgba(189, 37, 39, .92);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.gallery-play i {
  margin-left: 4px;
}

.gallery-tile:hover .gallery-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--rec-primary);
}

.gallery-video img {
  opacity: .88;
}

.gallery-iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
}

.gallery-caption {
  padding: 14px 18px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--rec-heading);
}

.gallery-type {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--rec-primary);
}

.gallery-type i {
  margin-right: 4px;
}

@media (max-width: 575px) {
  .gallery-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 575px) {
  .testimonials-page-section .container,
  .doctors-cta-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .testimonial-masonry {
    column-count: 1;
  }

  .testimonial-summary {
    gap: 12px;
    padding: 12px 20px;
  }

  .testimonial-summary-score {
    font-size: 28px;
  }

  .testimonial-card {
    padding: 22px 20px 18px;
  }
}

/* Academics "Register Now" buttons: red text on hover */
.ttm-btn.register-now-btn:hover,
.ttm-btn.register-now-btn:focus {
  background-color: #fff !important;
  border-color: #bd2527 !important;
  color: #bd2527 !important;
}
