/* =====================================================================
   Joint Replacement Surgery Hospital India – blog UI layer
   Loaded after the theme so it can refine width, sidebar, mobile menu
   and button colour for every page without touching page markup.
   Palette taken from the theme: teal #033a41, cream #efe8c5, gold #8a7a29
   ===================================================================== */
:root {
  --jr-teal: #033a41;
  --jr-teal-2: #0e7c86;      /* button colour (replaces the old red) */
  --jr-teal-3: #095c64;      /* button hover */
  --jr-cream: #efe8c5;
  --jr-cream-2: #e6dfb5;
  --jr-gold: #8a7a29;
  --jr-ink: #1d3b3f;
}

html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
.entry-content, .entry-summary, .widget { overflow-wrap: anywhere; }
iframe, video, embed, object { max-width: 100%; }

/* ---------------------------------------------------------------------
   1. Page width – same steps as the main website (.wrapper 80/88/96/100%)
   --------------------------------------------------------------------- */
html body .site { padding: 0 !important; margin: 0 auto !important; max-width: none !important; width: 80%; }
@media (min-width: 992px) and (max-width: 1199px) { html body .site { width: 88%; } }
@media (min-width: 768px) and (max-width: 991px)  { html body .site { width: 96%; } }
@media (max-width: 767px)                           { html body .site { width: 100%; } }

/* content + sidebar as a flex row (stacks on tablets / phones) */
html body #main.wrapper {
  display: flex; align-items: flex-start; gap: 30px;
  padding: 26px 28px 10px; border: 0; box-sizing: border-box; width: 100%;
}
html body #main.wrapper::before, html body #main.wrapper::after { display: none !important; }
html body #main #primary.site-content {
  flex: 1 1 0; min-width: 0; float: none; width: auto;
  margin: 0; padding: 0; border: 0;
}
html body #main #secondary.widget-area {
  flex: 0 0 340px; width: 340px; float: none; margin: 0; padding: 0;
}
@media (max-width: 991px) {
  html body #main.wrapper { flex-direction: column; gap: 22px; padding: 18px 16px 6px; }
  html body #main #secondary.widget-area { flex: 1 1 auto; width: 100%; }
}

/* ---------------------------------------------------------------------
   2. Header + top menu (desktop refinements; mobile menu below)
   --------------------------------------------------------------------- */
html body .site-header { margin-bottom: 0; border: 0; background: var(--jr-teal); }
html body .themonic-logo { float: none; width: 100%; text-align: center; background: var(--jr-teal); }
.themonic-logo img { max-width: 100%; height: auto; display: inline-block; vertical-align: top; }
.themonic-nav li ul li a { width: 230px !important; }
.themonic-nav li ul ul { top: 0; left: 100%; }

/* ---------------------------------------------------------------------
   3. Sidebar – search, recent posts, categories
   --------------------------------------------------------------------- */
#secondary .widget {
  background: #fff; border: 1px solid var(--jr-cream-2); border-top: 4px solid var(--jr-teal);
  border-radius: 8px; margin: 0 0 22px; padding: 0; overflow: hidden;
  box-shadow: 0 2px 10px rgba(3, 58, 65, .08); text-align: left;
}
#secondary .widget .widget-title {
  background: var(--jr-teal); color: #fff; margin: 0; padding: 11px 16px;
  font-size: 15px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; line-height: 1.3;
  display: flex; align-items: center; gap: 8px; text-align: left;
}
#secondary .widget .widget-title::before {
  content: ""; width: 4px; height: 16px; background: var(--jr-cream); border-radius: 2px; flex: 0 0 4px;
}
#secondary .widget ul { list-style: none; margin: 0; padding: 4px 16px 10px; }
#secondary .widget li { border-bottom: 1px dashed var(--jr-cream-2); padding: 0; margin: 0; }
#secondary .widget li:last-child { border-bottom: 0; }
#secondary .widget a { color: var(--jr-teal); font-weight: 600; font-size: 14px; line-height: 1.45; text-decoration: none; transition: color .2s, padding .2s; }
#secondary .widget li a:hover { color: var(--jr-gold); }

/* search */
#secondary .widget_search { padding: 14px; border-top-color: var(--jr-gold); }
#secondary .widget_search form > div { display: flex; }
#secondary .widget_search .screen-reader-text { position: absolute; left: -9999px; }
#secondary .widget_search #s {
  flex: 1 1 auto; min-width: 0; width: auto !important; margin: 0 !important; box-sizing: border-box;
  border: 1px solid #cfc79a; border-right: 0; border-radius: 6px 0 0 6px; padding: 11px 13px; font-size: 14px; background: #fffef7; color: var(--jr-ink);
}
#secondary .widget_search #s:focus { outline: 0; border-color: var(--jr-teal); background: #fff; }
#secondary .widget_search #searchsubmit {
  flex: 0 0 auto; margin: 0 !important; border: 0; border-radius: 0 6px 6px 0; padding: 0 20px;
  background: var(--jr-teal); color: #fff; font-weight: 700; letter-spacing: .4px; cursor: pointer; transition: background .2s;
}
#secondary .widget_search #searchsubmit:hover { background: var(--jr-teal-2); }

/* recent posts with thumbnails */
#secondary .widget_recent_entries li { padding: 10px 0; }
#secondary .widget_recent_entries li a { display: flex; gap: 12px; align-items: flex-start; }
#secondary .widget_recent_entries li img {
  flex: 0 0 72px; width: 72px; height: 54px; object-fit: cover; border-radius: 5px; border: 1px solid var(--jr-cream-2);
}
#secondary .widget_recent_entries li span { flex: 1 1 auto; min-width: 0; }

/* categories with count badge */
#secondary .widget_categories li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; }
#secondary .widget_categories li a:hover { padding-left: 4px; }
#secondary .widget_categories .cnt {
  flex: 0 0 auto; min-width: 26px; text-align: center; background: var(--jr-cream); color: var(--jr-teal);
  border-radius: 12px; font-size: 12px; font-weight: 700; padding: 1px 8px;
}

/* ---------------------------------------------------------------------
   4. Buttons – teal instead of red (WhatsApp stays green)
   --------------------------------------------------------------------- */
html body a.btn.btn-primary:not([href*="whatsapp"]),
html body button.btn-primary,
html body input.btn-primary,
html body a.btn.cta-btn-main {
  background: var(--jr-teal-2) !important; border-color: var(--jr-teal-2) !important; color: #fff !important;
}
html body a.btn.btn-primary:not([href*="whatsapp"]):hover,
html body a.btn.btn-primary:not([href*="whatsapp"]):focus,
html body a.btn.btn-primary:not([href*="whatsapp"]):active,
html body button.btn-primary:hover, html body input.btn-primary:hover,
html body a.btn.cta-btn-main:hover, html body a.btn.cta-btn-main:focus, html body a.btn.cta-btn-main:active {
  background: var(--jr-teal-3) !important; border-color: var(--jr-teal-3) !important; color: #fff !important;
}
html body a.btn.cta-btn-main, html body a.btn.cta-btn-main:hover { border: 1.5px solid #fff !important; }
html body a.btn[href*="whatsapp"] { background: #25d366 !important; border-color: #25d366 !important; color: #fff !important; }

/* ---------------------------------------------------------------------
   5. Mobile menu (button added by site-ui.js) – hamburger below 769px
   --------------------------------------------------------------------- */
.nav-toggle { display: none; }
.selectnav { display: none !important; }              /* old <select> menu replaced */
@media (max-width: 768px) {
  html body .site-header { text-align: center; height: auto; }
  html body .themonic-logo { float: none; text-align: center; margin: 0; padding: 10px 12px; }
  html body .themonic-logo img { max-width: 86%; height: auto; }
  html body .themonic-nav { float: none; width: 100%; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
    background: var(--jr-cream); color: var(--jr-teal); border: 0; border-bottom: 4px solid var(--jr-teal);
    padding: 13px 16px; font-size: 15px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; cursor: pointer;
  }
  html body .nav-toggle, html body .nav-toggle .label { color: var(--jr-teal) !important; text-shadow: none; }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
    display: block; width: 22px; height: 3px; background: var(--jr-teal); border-radius: 2px; position: relative; content: ""; transition: transform .25s, opacity .25s;
  }
  .nav-toggle .bars::before { position: absolute; top: -7px; left: 0; }
  .nav-toggle .bars::after  { position: absolute; top: 7px; left: 0; }
  .nav-open .nav-toggle .bars { background: transparent; }
  .nav-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle .bars::after  { transform: translateY(-7px) rotate(-45deg); }

  html body .themonic-nav ul.nav-menu { display: none !important; background: var(--jr-cream) !important; border: 0 !important; width: 100%; }
  html body .themonic-nav.nav-open ul.nav-menu { display: block !important; }
  html body .themonic-nav.nav-open ul.nav-menu li { display: block !important; position: relative; width: 100%; text-align: left; background: none; border-top: 1px solid var(--jr-cream-2); }
  html body .themonic-nav.nav-open ul.nav-menu li::before { content: none !important; }
  html body .themonic-nav.nav-open ul.nav-menu li a {
    display: block !important; width: 100% !important; box-sizing: border-box; white-space: normal !important;
    padding: 13px 52px 13px 18px !important; line-height: 1.4 !important; color: var(--jr-teal) !important; font-weight: 700 !important; background: none !important;
  }
  html body .themonic-nav.nav-open ul.nav-menu li li a { padding-left: 34px !important; font-weight: 600 !important; font-size: 13px; background: rgba(255,255,255,.55) !important; }
  html body .themonic-nav.nav-open ul.nav-menu li li li a { padding-left: 50px !important; background: rgba(255,255,255,.8) !important; }
  html body .themonic-nav.nav-open ul.nav-menu ul.sub-menu {
    display: none !important; position: static !important; width: 100% !important; box-shadow: none; left: auto; top: auto;
  }
  html body .themonic-nav.nav-open ul.nav-menu li.sub-open > ul.sub-menu { display: block !important; }
  .sub-toggle {
    position: absolute; right: 0; top: 0; width: 48px; height: 46px; border: 0; background: transparent; color: var(--jr-teal);
    font-size: 18px; cursor: pointer; border-left: 1px solid var(--jr-cream-2);
  }
  .sub-toggle::after { content: "\25BE"; display: inline-block; transition: transform .2s; }
  li.sub-open > .sub-toggle::after { transform: rotate(180deg); }
}
@media (min-width: 769px) { .sub-toggle { display: none; } }

/* ---------------------------------------------------------------------
   6. General mobile responsiveness (all pages)
   --------------------------------------------------------------------- */
@media (max-width: 991px) {
  .well .wp-image-662, .well img.MobRespo { float: none !important; margin: 0 auto 12px !important; display: block; width: 260px; max-width: 100% !important; height: auto; }
}
@media (max-width: 768px) {
  html body .entry-header .entry-title { font-size: 21px; line-height: 1.3; }
  html body .entry-content h2 { font-size: 20px; }
  html body .entry-content h3 { font-size: 18px; }
  img.alignleft, img.alignright, .wp-caption.alignleft, .wp-caption.alignright { float: none !important; display: block; margin: 10px auto !important; }
  .wp-caption { max-width: 100% !important; width: auto !important; }
  .entry-content table { display: block; overflow-x: auto; max-width: 100%; }
  .excerpt-thumb { float: none; text-align: center; margin-bottom: 8px; }
  .excerpt-thumb img { float: none !important; margin: 0 auto !important; }
  /* "Consult Now / WhatsApp" rows are inline nowrap flex rows – let them wrap */
  html body p[style*="display: flex"] { flex-wrap: wrap !important; gap: 10px !important; }
  html body .cta-banner { padding: 18px 14px; }
  html body .cta-banner-title { font-size: 15px !important; }
  html body .cta-contact-badge { white-space: normal !important; word-break: break-all; text-align: left; }
  html body .cta-banner-contacts { flex-direction: column !important; align-items: stretch !important; }
  html body .cta-banner-contacts .cta-contact-badge { justify-content: center; }
  html body .loginmodal-container { padding: 14px; }
  .modal-dialog { margin: 10px !important; left: 0 !important; width: auto !important; }
  footer[role="contentinfo"] .col-sm-4 { text-align: left; }
  .navigation .nav-previous, .navigation .nav-next { float: none; display: block; width: 100%; margin: 6px 0; }
  .author-avatar { float: none; text-align: center; margin: 0 0 8px; }
  .author-avatar img { margin: 0 auto; }
  .author-description { float: none; width: 100%; }
}
@media (max-width: 480px) {
  html body #main.wrapper { padding: 14px 12px 4px; }
  html body .entry-header .entry-title { font-size: 19px; }
  html body .themonic-logo img { max-width: 94%; }
}

/* language flag row: centre it on small screens so nothing touches the edge */
@media (max-width: 768px) {
  html body div[style*="float: right; padding-bottom: 15px"] { float: none !important; display: flex !important; flex-direction: row-reverse; justify-content: center; flex-wrap: wrap; padding: 8px 6px 4px !important; }
  html body div[style*="float: right; padding-bottom: 15px"] > div { float: none !important; display: inline-block; margin: 0 7px 6px !important; }
  html body div[style*="float: right; padding-bottom: 15px"] > div[style*="clear: both"] { display: none; }
}

/* =====================================================================
   7. Enquiry form (sidebar + popup), patient-story popup, doctor photos
   ===================================================================== */
.jr-form { font-size: 14px; color: var(--jr-ink); }
.jr-form * { box-sizing: border-box; }
.jr-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.jr-field { position: relative; min-width: 0; }
.jr-field label { display: block; margin: 0 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .3px; color: var(--jr-teal); }
.jr-field label b { color: #b3261e; font-weight: 700; }
.jr-field input, .jr-field select, .jr-field textarea {
  display: block; width: 100%; margin: 0; padding: 11px 13px; font: inherit; font-size: 14.5px; color: var(--jr-ink);
  background: #fffef7; border: 1px solid #cfc79a; border-radius: 7px; box-shadow: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.jr-field input, .jr-field select { height: 44px; }
.jr-field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.jr-field select {
  -webkit-appearance: none; appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23033a41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
[dir="rtl"] .jr-field select { padding-right: 13px; padding-left: 36px; background-position: left 13px center; }
.jr-field input:focus, .jr-field select:focus, .jr-field textarea:focus { outline: 0; background: #fff; border-color: var(--jr-teal-2); box-shadow: 0 0 0 3px rgba(14, 124, 134, .18); }
.jr-field.jr-bad input, .jr-field.jr-bad select, .jr-field.jr-bad textarea { border-color: #b3261e; background: #fff8f7; }
.jr-field.jr-bad input:focus, .jr-field.jr-bad select:focus, .jr-field.jr-bad textarea:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, .16); }
.jr-field.jr-ok input, .jr-field.jr-ok select, .jr-field.jr-ok textarea { border-color: #2e8b57; }
.jr-err { display: block; min-height: 0; margin-top: 4px; font-size: 12.5px; line-height: 1.35; color: #b3261e; font-weight: 600; }
.jr-err:empty { display: none; }
.jr-honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.jr-captcha-wrap { margin: 14px 0 4px; display: flex; flex-direction: column; align-items: center; min-height: 78px; }
.jr-captcha { max-width: 100%; }
.jr-submit {
  display: block; width: 100%; margin-top: 10px; padding: 13px 18px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--jr-teal-2); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(14, 124, 134, .3); transition: background .2s, transform .15s;
}
.jr-submit:hover { background: var(--jr-teal-3); transform: translateY(-1px); }
.jr-submit:focus-visible { outline: 3px solid rgba(14, 124, 134, .4); outline-offset: 2px; }
.jr-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.jr-secure { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: #5b6f72; text-align: center; }

/* sidebar widget */
#secondary .widget_enquiry { border-top-color: var(--jr-teal-2); }
#secondary .widget_enquiry .jr-enquiry { padding: 14px 16px 16px; }
#secondary .widget_enquiry .jr-captcha-wrap { align-items: flex-start; overflow: hidden; }

/* popup */
html body #connect-modal .modal-dialog { width: auto !important; max-width: 660px; margin: 24px auto !important; left: auto !important; }
html body #connect-modal .loginmodal-container.jr-modal { padding: 0 !important; max-width: none; width: 100% !important; background: #fff; border: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(3, 58, 65, .35); }
.jr-modal-head { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px 60px 18px 22px; color: #fff; background: linear-gradient(135deg, var(--jr-teal) 0%, #0b5560 100%); }
.jr-modal-ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--jr-cream); color: var(--jr-teal); font-size: 30px; font-weight: 700; line-height: 1; }
html body .jr-modal-title { margin: 0; padding: 0; color: #fff; font-size: 22px; line-height: 1.2; font-weight: 700; background: none; text-align: inherit; }
.jr-modal-sub { margin: 4px 0 0 !important; padding: 0 !important; color: #d6ecee; font-size: 13.5px; line-height: 1.45; }
.jr-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s; }
.jr-close:hover { background: rgba(255, 255, 255, .3); }
[dir="rtl"] .jr-modal-head { padding: 20px 22px 18px 60px; }
[dir="rtl"] .jr-close { right: auto; left: 12px; }
.jr-modal-body { padding: 20px 22px 22px; max-height: calc(100vh - 150px); overflow-y: auto; }
@media (min-width: 576px) {
  .jr-form.jr-modal .jr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
  .jr-form.jr-modal .jr-full { grid-column: 1 / -1; }
  .jr-form.jr-modal .jr-submit { width: auto; min-width: 240px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 575px) {
  html body #connect-modal .modal-dialog { margin: 10px !important; }
  .jr-modal-head { padding: 16px 52px 14px 16px; }
  [dir="rtl"] .jr-modal-head { padding: 16px 16px 14px 52px; }
  .jr-modal-ic { display: none; }
  .jr-modal-title { font-size: 19px; }
  .jr-modal-body { padding: 16px; max-height: calc(100vh - 120px); }
}

/* patient-story popup */
html body .modal.jr-story .modal-dialog { max-width: 860px; width: auto; margin: 26px auto; left: auto !important; }
html body .modal.jr-story .modal-content { border: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(3, 58, 65, .35); }
html body .modal.jr-story .modal-header { position: relative; display: flex; align-items: center; min-height: 64px; padding: 16px 62px 16px 24px; border: 0; background: linear-gradient(135deg, var(--jr-teal) 0%, #0b5560 100%); }
html body .jr-story-title { margin: 0; padding: 0; color: #fff; font-size: 21px; line-height: 1.3; font-weight: 700; text-align: left; }
html body .modal.jr-story .modal-header .close { position: absolute; top: 14px; right: 14px; float: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; opacity: 1; font-size: 24px; line-height: 34px; text-shadow: none; }
html body .modal.jr-story .modal-header .close:hover { background: rgba(255, 255, 255, .3); }
html body .modal.jr-story .modal-body { max-height: calc(100vh - 230px); overflow-y: auto; padding: 22px 26px 8px; background: #fffef7; }
.jr-story-chip { display: inline-block; margin: 0 0 14px !important; padding: 5px 14px !important; border-radius: 20px; background: var(--jr-cream); color: var(--jr-teal) !important; font-size: 13px !important; font-weight: 700; text-align: left !important; }
html body .modal.jr-story .modal-body img { display: block; width: 100%; height: auto; margin: 0 auto 16px; border-radius: 10px; border: 3px solid var(--jr-teal); box-shadow: 0 6px 18px rgba(3, 58, 65, .18); }
html body .modal.jr-story .modal-body p.testi2 { margin: 0 0 14px; padding: 0; color: #1d3b3f !important; font-size: 15.5px; line-height: 1.75; text-align: justify; font-weight: 400; }
html body .modal.jr-story .modal-body p.testi2 em { display: block; padding: 12px 16px; border-left: 4px solid var(--jr-teal-2); background: #f1f8f8; border-radius: 0 8px 8px 0; font-style: italic; }
.jr-story-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 24px 18px; background: #fffef7; border-top: 1px solid var(--jr-cream-2); }
.jr-story-close { padding: 10px 20px; border: 1px solid #cfc79a; border-radius: 6px; background: #fff; color: var(--jr-teal); font-weight: 700; cursor: pointer; }
.jr-story-close:hover { background: var(--jr-cream); }
@media (max-width: 575px) {
  html body .modal.jr-story .modal-dialog { margin: 8px; }
  html body .jr-story-title { font-size: 17px; }
  html body .modal.jr-story .modal-header { padding: 14px 52px 14px 16px; }
  html body .modal.jr-story .modal-body { padding: 16px 16px 6px; }
  html body .modal.jr-story .modal-body p.testi2 { font-size: 14.5px; text-align: left; }
  .jr-story-foot { padding: 12px 16px 16px; }
  .jr-story-foot .btn, .jr-story-close { width: 100%; }
}

/* doctor photos: same framed look on every list page (city pages already have it inline) */
html body .well img.wp-image-662 {
  width: 260px !important; height: 260px !important; max-width: 100% !important; object-fit: cover !important; object-position: center top !important;
  border: 3px solid #1c5a67 !important; border-radius: 4px !important; display: block; margin: 0 auto 10px auto !important; float: none !important;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .2), 0 4px 20px 0 rgba(0, 0, 0, .19);
}

/* popup header: force opaque teal + readable subtitle */
html body #connect-modal .jr-modal-head { background: linear-gradient(135deg, #033a41 0%, #0b5560 100%) !important; opacity: 1 !important; }
html body #connect-modal .jr-modal-head .jr-modal-sub { color: #d6ecee !important; opacity: 1 !important; }
html body #connect-modal .jr-modal-head .jr-modal-title { color: #fff !important; }
html body #connect-modal .jr-modal-ic { color: #033a41 !important; }

/* mobile: logo artwork has wide empty margins - crop/zoom so it reads larger */
@media (max-width: 768px) {
  html body .themonic-logo { padding: 0 !important; overflow: hidden; line-height: 0; }
  html body .themonic-logo a { display: block; }
  html body .themonic-logo img { max-width: none !important; width: 150% !important; height: auto; margin-left: -25% !important; display: block; }
}

/* ---- 8. top contact bar, h1 colour, mobile burger, doctor card spacing ---- */
.jr-topbar { background: #fff; }
.jr-topbar-in { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 8px 18px; }
.jr-tb-ic { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; text-decoration: none; }
.jr-wa { background: #25d366; }
.jr-ph { background: #8bc34a; }
html body .jr-tb-num { color: #033a41; font-weight: 700; font-size: 14px; letter-spacing: .2px; text-decoration: none; margin-left: 2px; }
html body .jr-tb-num:hover { color: #0e7c86; }

html body .entry-header .entry-title, html body h1.entry-title { color: #033a41 !important; }

html body .well.well-lg:has(img.wp-image-662) { padding-top: 28px !important; }

@media (max-width: 768px) {
  .jr-topbar-in { padding: 8px 12px; }
  html body .nav-toggle { justify-content: flex-end !important; padding: 12px 20px !important; }
  html body .nav-toggle .label { display: none !important; }
}
@media (max-width: 380px) {
  html body .jr-tb-num { font-size: 13px; }
}

/* ---- 9. bold h1, doctor card spacing on phones (city + India pages) ---- */
html body .entry-header .entry-title, html body h1.entry-title { font-weight: 700 !important; }
@media (max-width: 768px) {
  html body .well.well-lg { padding: 26px 16px 12px !important; margin-bottom: 20px; }
  html body .well.well-lg .row { margin-left: 0; margin-right: 0; }
  html body .well.well-lg img.wp-image-662 { margin: 0 auto 18px !important; }
  html body .well.well-lg .headTagmargin { margin-top: 0 !important; padding-top: 6px !important; }
  html body .well.well-lg .headTagmargin h3 { margin-top: 0; line-height: 1.5; }
}
