/* Memorial Village ER visual restyle. Content stays in WordPress fields. */

:root {
  --red: #c8262e;
  --red-dk: #a91e25;
  --red-tint: #fdecec;
  --navy: #1d2a44;
  --navy-deep: #111a2e;
  --body: #3b4760;
  --text-2: #4a5670;
  --text-3: #5a6680;
  --muted: #8a93a6;
  --link: #1f5fa8;
  --link-tint: #eef4fb;
  --border: #e6e9ef;
  --border-2: #e8ebf0;
  --border-3: #d5d9e2;
  --border-4: #eef0f4;
  --border-5: #e3e7ee;
  --surface: #f3f5f8;
  --surface-2: #f5f7fa;
  --surface-3: #eceef2;
  --surface-4: #fbfbf9;
  --status: #3ccf7a;
  --star: #f2a900;
  --teal: #2e9e8a;
  --font-sans: "Barlow", system-ui, sans-serif;
  --font-display: "Archivo", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --max-width: 1240px;
  --shadow-header: 0 2px 12px rgba(20, 30, 60, 0.04);
  --shadow-sm: 0 8px 24px rgba(20, 30, 60, 0.05);
  --shadow-card: 0 14px 40px rgba(20, 30, 60, 0.07);
  --shadow-dropdown: 0 14px 40px rgba(20, 30, 60, 0.12);
  --shadow-feature: 0 12px 40px rgba(20, 30, 60, 0.1);
}

body {
  font-family: var(--font-sans);
  color: var(--navy);
  background: #fff;
}

h1, h2, h3, h4,
.btn-solid, .btn-outline, button {
  font-family: var(--font-display);
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.utility-bar {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.utility-inner,
.site-header-inner,
.footer-grid,
.footer-bar,
.page-banner-inner,
.page-content-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.utility-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
}

.utility-hours,
.utility-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status);
  box-shadow: 0 0 0 3px rgba(60, 207, 122, 0.25);
}

.utility-phone {
  color: #fff;
  font-weight: 600;
}

.utility-address {
  color: #c9d0de;
  font-weight: 400;
}

.utility-phone:hover,
.utility-address:hover {
  color: #fff;
}

body .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--border-2);
  box-shadow: var(--shadow-header);
  height: auto;
}

body .site-header-inner {
  display: flex;
  align-items: center;
  gap: 14px 28px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
  height: auto;
}

body .site-logo img,
body .footer-logo img {
  display: block;
  width: auto;
  height: 52px;
}

body .site-nav {
  flex: 1 1 280px;
  justify-content: flex-start;
}

body .primary-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

body .primary-menu > li {
  position: relative;
}

body .primary-menu > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 0;
  line-height: normal;
  white-space: nowrap;
}

body .primary-menu > li > a:hover,
body .primary-menu > li > a:focus-visible,
body .primary-menu > li.current-menu-item > a,
body .primary-menu > li.current-menu-ancestor > a {
  color: var(--red);
}

body .primary-menu > .menu-item-has-children > a::after {
  content: "▾";
  font-size: 10px;
  color: var(--muted);
}

body .primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 240px;
  z-index: 50;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 12px;
  box-shadow: var(--shadow-dropdown);
}

body .primary-menu > .menu-item-has-children.open > .sub-menu,
body .primary-menu > .menu-item-has-children:hover > .sub-menu {
  display: block;
}

body .primary-menu .sub-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 6px;
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

body .primary-menu .sub-menu a:hover,
body .primary-menu .sub-menu a:focus-visible {
  background: var(--red-tint);
  color: var(--red);
}

body .header-ctas {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: auto;
}

body .header-checkin,
body a.btn-solid.header-checkin {
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 0;
  line-height: normal;
}

body .header-checkin:hover,
body a.btn-solid.header-checkin:hover {
  background: var(--red-dk);
  color: #fff;
}

body .header-directions {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}

body .header-directions:hover,
body .header-phone:hover {
  color: var(--red);
}

body .header-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--navy);
  white-space: nowrap;
  line-height: normal;
}

body .nav-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

body .nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--navy);
}

body .mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 100%);
  background: #fff;
  z-index: 80;
  transform: translateX(100%);
  transition: transform 0.2s ease;
  overflow: auto;
  padding: 18px 18px 32px;
  box-shadow: var(--shadow-dropdown);
}

body .mobile-nav.open {
  transform: translateX(0);
}

body .mobile-nav-bg {
  position: fixed;
  inset: 0;
  background: rgba(17, 26, 46, 0.4);
  z-index: 70;
  opacity: 0;
  pointer-events: none;
}

body .mobile-nav-bg.open {
  opacity: 1;
  pointer-events: auto;
}

body .mobile-nav-close {
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: var(--navy);
  margin-left: auto;
  display: block;
}

body .mobile-menu {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

body .mobile-menu a {
  display: block;
  padding: 12px 4px;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 1px solid var(--border-4);
}

body .mobile-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 8px 12px;
}

body .mobile-menu .sub-menu a {
  font-family: var(--font-sans);
  font-weight: 600;
}

body .mobile-nav-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

body .mob-nav-checkin,
body .mob-nav-directions {
  text-align: center;
  border-radius: 8px;
  padding: 14px;
  font-family: var(--font-display);
  font-weight: 700;
}

body .mob-nav-checkin {
  background: var(--red);
  color: #fff;
}

body .mob-nav-directions {
  border: 1.5px solid var(--border-3);
  color: var(--navy);
}

@media (max-width: 1080px) {
  body .site-nav,
  body .header-ctas {
    display: none;
  }
  body .nav-hamburger {
    display: flex;
    margin-left: auto;
  }
}

body .site-footer {
  background: #fff;
  color: var(--navy);
  border-top: 1px solid var(--border-2);
  padding: 0;
}

body .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 40px;
}

body .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}

body .footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.1;
}

body .footer-wordmark span {
  color: var(--red);
}

body .footer-contact-list li {
  display: block;
}

body .footer-tagline,
body .footer-contact-list,
body .footer-contact-list a {
  color: var(--body);
  line-height: 1.6;
}

body .footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body .footer-contact-list a[href^="tel"] {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: normal;
  color: var(--navy);
}

body .footer-col h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: normal;
}

body .footer-menu,
body .footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
}

body .footer-menu a,
body .footer-col > a {
  color: var(--text-2);
}

body .footer-menu a:hover,
body .footer-col > a:hover,
body .footer-contact-list a:hover {
  color: var(--red);
}

body .footer-bar {
  border-top: 1px solid var(--border-2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 14px;
  color: var(--text-3);
}

body .footer-bar a {
  color: var(--text-3);
}

body .footer-bar a:hover {
  color: var(--red);
}

body .mobile-sticky {
  display: none;
}

@media (max-width: 759px) {
  body .mobile-sticky {
    display: grid;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid var(--border-2);
    box-shadow: 0 -6px 20px rgba(20, 30, 60, 0.08);
  }
  body {
    padding-bottom: 76px;
  }
  body .mob-btn-call,
  body .mob-btn-checkin {
    display: block;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    padding: 14px;
    border-radius: 8px;
    color: #fff;
  }
  body .mob-btn-call {
    background: var(--navy);
  }
  body .mob-btn-checkin {
    background: var(--red);
  }
}

body .page-banner {
  background: var(--surface) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--border-2);
  color: var(--navy);
  min-height: 0;
  padding: 0;
}

body .page-banner-rail,
body .page-banner::before,
body .page-banner::after {
  display: none;
}

body .page-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 36px;
  padding-bottom: 60px;
}

body .page-banner-breadcrumb,
body .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
  background: transparent;
  padding: 0;
}

body .page-banner-breadcrumb a,
body .breadcrumb a {
  color: var(--text-3);
}

body .page-banner-breadcrumb a:hover,
body .breadcrumb a:hover {
  color: var(--red);
}

body .page-banner-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 10px;
}

body .page-banner-accent {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--red);
  margin-top: 10px;
}

body .page-banner h1 {
  margin: 0;
  max-width: 960px;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--navy);
  text-wrap: balance;
}

body .page-banner-sub {
  margin: 0;
  max-width: 720px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
}

body .page-banner-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 6px;
}

body .pb-btn-checkin,
body .pb-btn-dir {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 26px;
  border-radius: 8px;
}

body .pb-btn-checkin {
  background: var(--red);
  color: #fff;
}

body .pb-btn-checkin:hover {
  background: var(--red-dk);
  color: #fff;
}

body .pb-btn-dir {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--border-3);
}

body .pb-btn-dir:hover {
  border-color: var(--navy);
  color: var(--navy);
}

body .page-banner-location-note {
  align-self: flex-start;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

body .page-banner-location-note:hover {
  color: var(--red);
}

body .page-content {
  padding: 0;
}

body .page-content-inner {
  padding-top: 80px;
  padding-bottom: 96px;
}

body .content-grid,
body .contact-grid,
body .online-checkin-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}

body .content-main,
body .online-checkin-main,
body .contact-form-col {
  flex: 1 1 560px;
  min-width: 0;
}

body .content-sidebar,
body .online-checkin-sidebar,
body .contact-info-col {
  flex: 1 1 320px;
  max-width: 420px;
}

body .content-body,
body .entry-content {
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
}

body .content-body h2,
body .content-body h3,
body .entry-content h2,
body .entry-content h3 {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

body .content-body a:not(.btn-solid):not(.btn-outline):not(.bill-pay-button),
body .entry-content a:not(.btn-solid):not(.btn-outline):not(.bill-pay-button),
body .single-post-content a:not(.btn-solid):not(.btn-outline):not(.bill-pay-button) {
  color: var(--red);
  font-weight: 700;
  text-underline-offset: 3px;
}

body .content-body a:hover,
body .entry-content a:hover,
body .single-post-content a:hover {
  color: var(--red-dk);
}

body .content-body img,
body .entry-content img,
body .single-post-featured img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

body .content-body table,
body .entry-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

body .content-body th,
body .entry-content th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  padding: 14px 16px;
}

body .content-body td,
body .entry-content td {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}

body .sidebar-card,
body .mver-location-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

body .sidebar-card-map iframe,
body .mver-location-card iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

body .sidebar-card-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
}

body .sidebar-card-name {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

body .sidebar-card-name img {
  height: 40px;
  width: auto;
}

body .sidebar-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 13px 0;
  border-top: 1px solid var(--border-4);
  font-size: 16px;
}

body .sidebar-row strong {
  font-size: 14px;
}

body .sidebar-row a {
  color: var(--body);
}

body .sidebar-phone {
  color: var(--red) !important;
  font-weight: 600;
}

body .sidebar-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 16px;
}

body .sb-btn-dir,
body .sb-btn-call {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 13px;
  border-radius: 8px;
  text-align: center;
}

body .sb-btn-dir {
  background: var(--red);
  color: #fff;
}

body .sb-btn-dir:hover {
  background: var(--red-dk);
  color: #fff;
}

body .sb-btn-call {
  border: 1.5px solid var(--border-3);
  color: var(--navy);
}

body .doctors-grid,
body .blog-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}

body .dr-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

body .dr-card-inner:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-feature);
  color: var(--navy);
}

body .dr-card-photo {
  aspect-ratio: 1;
  background: var(--surface-3);
  overflow: hidden;
}

body .dr-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

body .dr-card-body {
  padding: 18px 20px 20px;
}

body .dr-card-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

body .dr-card-cred {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--red);
}

body .doctor-profile {
  display: grid;
  grid-template-columns: minmax(220px, 380px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

body .doctor-profile-photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

body .blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

body .blog-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
}

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

body .blog-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

body .blog-card h2 a {
  color: var(--navy);
}

body .blog-card h2 a:hover {
  color: var(--red);
}

body .single-post-inner {
  max-width: 800px;
}

body .faq-item,
body .accordionfaqs .accordionrow {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

body .faq-question,
body .accordionfaqs .acclink {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: transparent;
  border: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

body .faq-answer,
body .accordionfaqs .accord-detail {
  display: none;
  padding: 0 24px 22px;
  color: var(--body);
  line-height: 1.7;
}

body .faq-item.is-open .faq-answer,
body .accordionfaqs .accordionrow.is-open .accord-detail {
  display: block;
}

body .wpcf7 input[type="text"],
body .wpcf7 input[type="email"],
body .wpcf7 input[type="tel"],
body .wpcf7 input[type="url"],
body .wpcf7 textarea,
body .wpcf7 select {
  width: 100%;
  border: 1px solid var(--border-3);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--navy);
  background: #fff;
}

body .wpcf7 input[type="submit"],
body .wpcf7 button {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
}

body .wpcf7 input[type="submit"]:hover {
  background: var(--red-dk);
}

body .band-247 {
  background: var(--red);
  color: #fff;
}

body .band-247-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
}

body .band-247 h2,
body .band-247 .eyebrow,
body .band-247 p {
  color: #fff;
}

body .contact-info-block,
body .contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

body .contact-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: 16px;
}

body .tribe-events-header,
body .tribe-events .tribe-events-header__events-bar,
body .tribe-events-c-events-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

body .tribe-events-c-search__input,
body .tribe-events-c-view-selector__list-item-link,
body .tribe-common-c-btn {
  font-family: var(--font-sans);
  border-radius: 8px;
}

body .tribe-events-calendar-list__event {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

body .tribe-events .tribe-events-calendar-list__event-title-link {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
}

body .tribe-events .tribe-events-calendar-list__event-title-link:hover {
  color: var(--red);
}

@media (max-width: 760px) {
  body .doctor-profile,
  body .content-sidebar,
  body .online-checkin-sidebar,
  body .contact-info-col {
    max-width: none;
  }
  body .doctor-profile {
    grid-template-columns: 1fr;
  }
  body .sidebar-btns {
    grid-template-columns: 1fr;
  }
}

/* Templates and Past Events. Copy, headings, and saved fields stay as they are. */

body.post-type-archive-tribe_events,
body.single-tribe_events {
  --tec-color-text-primary: #1d2a44;
  --tec-color-text-secondary: #5a6680;
  --tec-color-text-events-title: #1d2a44;
  --tec-color-text-event-title: #1d2a44;
  --tec-color-text-event-date: #3b4760;
  --tec-color-accent-primary: #c8262e;
  --tec-color-accent-primary-hover: #a91e25;
  --tec-color-accent-primary-active: #a91e25;
  --tec-color-accent-primary-background: #fdecec;
  --tec-color-accent-secondary: #1d2a44;
  --tec-color-accent-secondary-hover: #c8262e;
  --tec-color-accent-secondary-active: #a91e25;
  --tec-color-button-primary: #c8262e;
  --tec-color-button-primary-hover: #a91e25;
  --tec-color-button-primary-active: #a91e25;
  --tec-color-link-accent: #c8262e;
  --tec-color-link-accent-hover: #a91e25;
  --tec-color-border-default: #e6e9ef;
  --tec-color-border-secondary: #e8ebf0;
  --tec-color-border-events-bar: #e6e9ef;
  --tec-color-icon-primary: #1d2a44;
  --tec-color-icon-active: #c8262e;
  --tec-color-background: #fff;
  --tec-color-background-secondary: #f5f7fa;
  --tec-color-background-events-bar: #f5f7fa;
  --tec-color-background-events-bar-submit-button: #c8262e;
  --tec-color-background-events-bar-submit-button-hover: #a91e25;
  --tec-color-background-events-bar-submit-button-active: #a91e25;
  --tec-color-text-events-bar-submit-button: #fff;
  --tec-color-text-events-bar-submit-button-hover: #fff;
  --tec-color-text-events-bar-input: #1d2a44;
  --tec-font-family-sans-serif: "Barlow", system-ui, sans-serif;
  --tec-font-family-base: "Barlow", system-ui, sans-serif;
  --tec-border-radius-default: 8px;
}

body.post-type-archive-tribe_events .tribe-common-l-container,
body.post-type-archive-tribe_events .tribe-events-l-container {
  max-width: var(--max-width);
  padding-left: 24px;
  padding-right: 24px;
}

body.post-type-archive-tribe_events .tribe-events-header {
  margin-bottom: 28px;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-events-bar,
body.post-type-archive-tribe_events .tribe-events-c-events-bar {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
}

body.post-type-archive-tribe_events .tribe-events-c-search__input {
  font-family: var(--font-sans);
  color: var(--navy);
  border-radius: 8px;
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__button,
body.post-type-archive-tribe_events .tribe-events button.tribe-events-c-search__button {
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-search__button:hover,
body.post-type-archive-tribe_events .tribe-events button.tribe-events-c-search__button:hover {
  background: var(--red-dk);
  color: #fff;
}

body.post-type-archive-tribe_events .tribe-events-c-view-selector__list-item-link,
body.post-type-archive-tribe_events .tribe-events-c-view-selector__list-item-text {
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 8px;
}

body.post-type-archive-tribe_events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link {
  background: var(--navy);
  color: #fff;
}

body.post-type-archive-tribe_events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-text {
  color: #fff;
}

body.post-type-archive-tribe_events .tribe-events-c-top-bar__nav-link,
body.post-type-archive-tribe_events .tribe-events-c-top-bar__today-button,
body.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__button {
  border: 1.5px solid var(--border-3);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
}

body.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__list {
  border-radius: 12px;
  box-shadow: var(--shadow-dropdown);
}

body.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__list-item-link:hover,
body.post-type-archive-tribe_events .tribe-events-c-subscribe-dropdown__list-item-link:focus-visible {
  background: var(--red-tint);
  color: var(--red);
}

body.post-type-archive-tribe_events .tribe-events-calendar-list__month-separator-text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

body.post-type-archive-tribe_events .tribe-events-calendar-list__event-row {
  align-items: flex-start;
  margin-bottom: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

body.post-type-archive-tribe_events .tribe-events-calendar-list__event-date-tag {
  width: 68px;
  background: var(--red-tint);
  border-radius: 12px;
}

body.post-type-archive-tribe_events .tribe-events-calendar-list__event-date-tag-weekday {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.06em;
}

body.post-type-archive-tribe_events .tribe-events-calendar-list__event-date-tag-daynum {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-title,
body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-title-link {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-title-link:hover,
body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-title-link:focus-visible {
  color: var(--red);
}

body.post-type-archive-tribe_events .tribe-events-calendar-list__event-description,
body.post-type-archive-tribe_events .tribe-events-calendar-list__event-datetime {
  color: var(--body);
}

body.post-type-archive-tribe_events .tribe-events-c-small-cta__price {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e8f7ee;
  color: #1c7a45;
  font-weight: 700;
}

body.post-type-archive-tribe_events .tribe-events-c-nav {
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-weight: 700;
}

body.post-type-archive-tribe_events .tribe-events-c-nav__next {
  color: var(--red);
}

@media (max-width: 760px) {
  body.post-type-archive-tribe_events .tribe-events-calendar-list__event-row {
    padding: 16px;
  }
}

body .content-body .doctorssection .row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

body .content-body .doctorssection .row > [class*="col-"] {
  flex: none;
  width: auto;
  max-width: none;
  padding: 0;
}

body .content-body .doctorssection .dr-img {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: var(--shadow-feature);
}

body .content-body .doctorssection .dr-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}

body .content-body .doctorssection .dr-profile h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--navy);
}

body .content-body .doctorssection .specialties {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--red);
}

body .content-body .doctorssection .specialties::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 18px;
  border-radius: 2px;
  background: var(--red);
}

body .content-body .doctorssection .dr-profile p {
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
}

body .content-body .doctorssection .profile-button {
  color: var(--navy);
  font-weight: 600;
}

body .content-body .doctorssection .row > div:last-child > p {
  margin: 18px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--navy);
}

@media (max-width: 760px) {
  body .content-body .doctorssection .row {
    grid-template-columns: 1fr;
  }
}

body .page-slug-meet-our-nurses .meet-nurses {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 24px;
}

body .page-slug-meet-our-nurses .meet-nurses > [class*="col-"] {
  flex: none;
  width: auto;
  max-width: none;
  padding: 0;
}

body .page-slug-meet-our-nurses .item {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

body .page-slug-meet-our-nurses .dr-img {
  aspect-ratio: 1;
  border: 0;
  border-radius: 0;
  background: var(--surface-3);
}

body .page-slug-meet-our-nurses .dr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

body .page-slug-meet-our-nurses .dr-dis {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 22px;
}

body .page-slug-meet-our-nurses .dr-dis h2,
body .page-slug-meet-our-nurses .dr-dis h2 a {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

body .page-slug-meet-our-nurses .dr-dis h2 a:hover {
  color: var(--red);
}

body .page-slug-meet-our-nurses .dr-dis p {
  margin: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

body .mver-svc {
  margin: 48px 0;
}

body .mver-svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}

body .mver-svc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}

body .mver-svc-card h3,
body .mver-svc-card h3 a {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

body .mver-svc-card h3 a:hover {
  color: var(--red);
}

body .mver-svc-card p {
  margin: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

body .mver-svc-card .mver-svc-more {
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

body .page-slug-news-segments .content-body .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 28px;
}

body .page-slug-news-segments .covid-ii {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 20px;
  align-items: center;
  margin: 0;
  padding: 0 0 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

body .page-slug-news-segments .covid-ii h2 {
  min-height: 0;
  margin: 0;
  padding: 24px 0 0 26px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

body .page-slug-news-segments .covid-ii p {
  min-height: 0;
  margin: 0;
  padding: 24px 26px 0 0;
}

body .page-slug-news-segments .covid-ii img {
  height: 44px;
  max-width: 110px;
  max-height: 44px;
  object-fit: contain;
  border-radius: 0;
}

body .page-slug-news-segments .secondvd {
  grid-column: 1 / -1;
  margin: 0;
  border-radius: 0;
  background: var(--navy-deep);
  aspect-ratio: 16 / 9;
}

body .page-slug-news-segments .secondvd video,
body .page-slug-news-segments .secondvd iframe {
  min-height: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: var(--navy-deep);
}

body .about-page-content .mver-comparison {
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: none;
}

body .about-page-content .mver-comparison thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body .about-page-content .mver-comparison thead th:first-child {
  color: #fff;
}

body .about-page-content .mver-comparison thead th:nth-child(2) {
  background: var(--red);
}

body .about-page-content .mver-comparison tbody th {
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 600;
}

body .about-page-content .mver-comparison tbody td:nth-child(2) {
  border-left: 0;
  border-right: 0;
  background: #fdf5f5;
}

body .about-page-content .mver-comparison__icon--check {
  background: var(--red-tint);
  color: var(--red);
}

body .about-page-content .mver-comparison__icon--x {
  background: var(--surface-3);
  color: var(--text-3);
}

body .google-reviews-panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

body .google-reviews-copy h2 {
  color: var(--navy);
  font-family: var(--font-display);
}

body .google-reviews-copy p:not(.eyebrow) {
  color: var(--body);
}

@media (max-width: 760px) {
  body .google-reviews-panel,
  body .page-slug-news-segments .content-body .row {
    grid-template-columns: 1fr;
  }

  body .page-slug-news-segments .covid-ii {
    grid-template-columns: 1fr;
  }

  body .page-slug-news-segments .covid-ii h2,
  body .page-slug-news-segments .covid-ii p {
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* Shared 1240px content column: 24px padding sits outside that width. */
body .utility-inner,
body .site-header-inner,
body .footer-grid,
body .footer-bar,
body .page-banner-inner,
body .page-content-inner,
body .mver-dc-shell,
body .mver-dc-hero .mver-dc-shell {
  box-sizing: border-box;
  width: min(1288px, 100%);
  max-width: 1288px;
}

body .doctors-page-heading .section-bar {
  display: none;
}

body .doctors-page-heading p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--navy);
}

body .blog-index-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 28px;
}

body .dr-card-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

body .dr-card-id {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

body .dr-card-body::after {
  content: "\2192";
  font-size: 20px;
  line-height: 1;
  color: var(--red);
}

body .dr-card-spec {
  flex: 1 0 100%;
  color: var(--body);
  font-size: 15px;
}

body .blog-card-body {
  padding: 22px 24px 24px;
  gap: 12px;
}

body .blog-card time {
  order: -1;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--red);
}

body .blog-card h2 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

body .blog-card p {
  margin: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

body .single-post-inner {
  max-width: 820px;
}

body .single-post-date,
body .single-post-content .blog-date {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--red);
}

body .single-post-content {
  font-size: 17px;
  line-height: 1.75;
}

body .page-slug-faqs .page-content-inner,
body .faq-page .page-content-inner {
  max-width: 920px;
  padding-top: 72px;
}

body .insurance-page-content .page-content-inner {
  max-width: 860px;
}

body .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 32px;
}

body .contact-info-col,
body .contact-form-col {
  flex: none;
  max-width: none;
}

body .contact-info-icon {
  display: none;
}

body .contact-form-wrap {
  background: var(--surface-2);
}

body .contact-info-value a[href^="tel"] {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
}

body .content-sidebar,
body .online-checkin-sidebar {
  position: sticky;
  top: 110px;
}

body .online-checkin-layout {
  gap: 40px;
}

body .page-slug-online-bill-payment .online-bill-content {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-card);
}

body .bill-pay-button {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 8px;
  text-decoration: none;
}

body .bill-pay-button:hover {
  background: var(--red-dk);
  color: #fff !important;
}

body .related-services {
  margin-top: 36px;
}

body .related-services h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
}

body .related-services ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body .related-services a {
  color: var(--navy);
  font-weight: 700;
}

body .related-services a:hover {
  color: var(--red);
}

@media (max-width: 1100px) {
  body .content-sidebar,
  body .online-checkin-sidebar {
    position: static;
  }
}


/* Public template visual pass */
body .content-body p,
body .entry-content p,
body .content-body li,
body .entry-content li {
  color: #3b4760;
  max-width: none;
  line-height: 1.7;
}

body .content-body h2,
body .entry-content h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

body .content-body .doctorssection .dr-profile h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

body .medical-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e3e7ee;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: #3b4760;
}

body .medical-review-badge-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ccf7a;
  flex: none;
}

body .medical-review-badge-icon svg {
  display: none;
}

body .about-page-content .hmemergency-section .emergencysmcdec {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}

body .about-page-content .hmemergency-section .emergencysmcdec > p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #1d2a44;
}

body .about-page-content .emergencydec {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body .about-page-content .emergencydec p {
  margin: 0;
}

body .about-page-content .emergencydec p:last-child {
  padding: 18px 22px;
  border-radius: 12px;
  background: #fdecec;
  color: #1d2a44;
  font-weight: 700;
  line-height: 1.5;
}

body .about-page-content .galleryslidersection {
  margin: 56px 0 0;
}

body .about-page-content .galleryslidersection .slider-for {
  display: block;
}

body .about-page-content .galleryslidersection .slider-for > div:not(:first-child) {
  display: none;
}

body .about-page-content .galleryslidersection .slider-for img,
body .about-page-content .galleryslidersection .slider-nav img {
  border: 0;
  border-radius: 16px;
}

body .about-page-content .galleryslidersection .slider-for img {
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 520;
  object-fit: cover;
}

body .about-page-content .galleryslidersection .slider-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

body .about-page-content .galleryslidersection .slider-nav img {
  height: 88px;
  border-radius: 8px;
}

body .about-page-content .hmurgentcare-section {
  max-width: 1040px;
  margin: 56px auto 0;
}

body .about-page-content .hmurgentcare-section h2 {
  font-size: clamp(28px, 3.2vw, 40px);
}

body.page-id-10 .content-body .accordionfaqs {
  max-width: 920px;
  gap: 12px;
}

body.page-id-10 .content-body .accordionfaqs .accordionrow {
  border: 1px solid #e6e9ef;
  border-radius: 14px;
  background: #fff;
}

body.page-id-10 .content-body .accordionfaqs .acclink {
  padding: 22px 56px 22px 24px;
  font-family: "Archivo", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: #1d2a44;
}

body.page-id-10 .content-body .accordionfaqs .acclink::after {
  content: "+";
  background: transparent;
  color: #c8262e;
  border-radius: 0;
  width: auto;
  height: auto;
  font-size: 24px;
  font-weight: 400;
}

body.page-id-10 .content-body .accordionfaqs .accord-detail {
  padding: 0 64px 24px 24px;
  color: #3b4760;
  font-size: 17px;
  line-height: 1.7;
}

body .service-page-content .content-body .serviceinner ul,
body .service-page-content .content-body .servicedesc ul,
body .service-page-content .content-body > ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 8px 0 0;
  padding: 8px 28px;
  list-style: none;
  background: #f5f7fa;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  max-width: none;
}

body .service-page-content .content-body .serviceinner ul li,
body .service-page-content .content-body .servicedesc ul li,
body .service-page-content .content-body > ul li {
  display: block;
  position: relative;
  min-height: 0;
  margin: 0;
  padding: 9px 0 9px 16px;
  border: 0;
  border-bottom: 1px solid #e8ebf0;
  border-radius: 0;
  background: transparent;
  font-family: "Barlow", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: #3b4760;
  overflow-wrap: normal;
  word-break: normal;
}

body .service-page-content .content-body .serviceinner ul li::before,
body .service-page-content .content-body .servicedesc ul li::before,
body .service-page-content .content-body > ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 6px;
  height: 6px;
  margin-top: 0;
  border-radius: 50%;
  background: #c8262e;
  transform: none;
}

body .service-page-content .content-body .serviceinner ul li a,
body .service-page-content .content-body .servicedesc ul li a,
body .service-page-content .content-body > ul li a {
  display: inline;
  overflow-wrap: normal;
  word-break: normal;
}

body .service-page-content .sidebar-btns,
body .page-slug-online-check-in .sidebar-btns {
  grid-template-columns: 1fr 1fr;
}

body .page-slug-online-check-in .content-body {
  background: #f5f7fa;
  border: 1px solid #e6e9ef;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 44px);
}

body .page-slug-online-check-in .content-body h1 {
  margin: 8px 0 0;
  max-width: none;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

body .page-slug-online-check-in .content-body h3 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8262e;
}

body .page-slug-meet-our-nurses .meet-nurses,
body .page-slug-meet-our-nurses .doctorssection {
  width: 100%;
  max-width: none;
}

body .page-slug-meet-our-nurses .content-body h1 {
  margin: 0 0 8px;
  max-width: none;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

body .page-slug-guidelines .serviceblock .wrap-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 56px;
  align-items: start;
}

body .page-slug-guidelines .twocol {
  flex: none;
  width: auto;
}

body .page-slug-guidelines .serviceimg {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(20, 30, 60, 0.1);
}

body .single-post-content ul,
body .insurance-cost-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body .single-post-content ul li,
body .insurance-cost-content ul li {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

body .single-post-content ul li::before,
body .insurance-cost-content ul li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8262e;
  transform: translateY(-2px);
}

body .contact-form-wrap {
  background: #f5f7fa;
  border: 1px solid #e6e9ef;
}

body .wpcf7 label,
body .wpcf7 .wpcf7-form-control-wrap {
  font-size: 15px;
  font-weight: 600;
}

body .wpcf7 input,
body .wpcf7 textarea {
  font-weight: 400;
}


/* Past Events closer */
body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-common-l-container,
body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
  box-sizing: border-box;
  width: min(1040px, 100%);
  max-width: 1040px;
  padding: 56px 24px 96px;
}

body.post-type-archive-tribe_events .tribe-events-header.tribe-events-header--has-event-search {
  margin: 0 0 22px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-header__events-bar.tribe-events-c-events-bar {
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #f5f7fa;
  border: 1px solid #e6e9ef;
  border-radius: 14px;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__input-control {
  border: 0;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-events-c-search__input.tribe-common-form-control-text__input {
  height: auto;
  min-height: 46px;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid #d5d9e2;
  border-radius: 8px;
  background: #fff;
  color: #1d2a44;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

body.post-type-archive-tribe_events .tribe-events button.tribe-events-c-search__button.tribe-common-c-btn,
body.post-type-archive-tribe_events .tribe-events button.tribe-events-c-search__button.tribe-common-c-btn:hover,
body.post-type-archive-tribe_events .tribe-events button.tribe-events-c-search__button.tribe-common-c-btn:focus {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: #c8262e;
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

body.post-type-archive-tribe_events .tribe-events button.tribe-events-c-search__button.tribe-common-c-btn:hover,
body.post-type-archive-tribe_events .tribe-events button.tribe-events-c-search__button.tribe-common-c-btn:focus {
  background: #a91e25;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common button.tribe-events-c-top-bar__datepicker-button {
  color: #1d2a44;
  font-family: "Archivo", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-top-bar__nav-link,
body.post-type-archive-tribe_events .tribe-events .tribe-events-c-top-bar__today-button {
  border: 1.5px solid #d5d9e2;
  border-radius: 8px;
  background: #fff;
  color: #1d2a44;
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-link,
body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector__list-item-text {
  border-radius: 8px;
  color: #1d2a44;
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item-link {
  padding: 10px 14px;
}

@media (min-width: 768px) {
  body.post-type-archive-tribe_events .tribe-events .tribe-events-c-view-selector--tabs.tribe-events-c-view-selector--labels .tribe-events-c-view-selector__list-item--active {
    display: list-item;
  }
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link,
body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-text {
  background: #1d2a44;
  color: #fff;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-view-selector--tabs .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link:after {
  content: none;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-events-calendar-list__month-separator-text.tribe-common-h6--min-medium {
  color: #5a6680;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row,
body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__month-separator + .tribe-events-calendar-list__event-row,
body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row:last-child {
  align-items: flex-start;
  gap: 22px;
  width: auto;
  margin: 0 0 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 30, 60, 0.05);
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row > .tribe-common-g-col {
  padding-left: 0;
  padding-right: 0;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-date-tag {
  flex: none;
  box-sizing: border-box;
  width: 68px;
  min-width: 68px;
  max-width: 68px;
  padding: 10px 0;
  background: #fdecec;
  border-radius: 12px;
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-date-tag-weekday {
  color: #c8262e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-events-calendar-list__event-date-tag-daynum.tribe-common-h4--min-medium {
  color: #1d2a44;
  font-family: "Archivo", sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-datetime,
body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-datetime span {
  color: #3b4760;
  font-size: 15px;
  font-weight: 600;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-events-calendar-list__event-description.tribe-common-b2,
body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-events-calendar-list__event-description.tribe-common-b2 p {
  color: #3b4760;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-events-calendar-list__event-venue.tribe-common-b2,
body.post-type-archive-tribe_events .tribe-events .tribe-events-calendar-list__event-venue-address {
  color: #5a6680;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

body.post-type-archive-tribe_events .tribe-common .tribe-events-calendar-list__event-venue-title.tribe-common-b2--bold {
  color: #1d2a44;
  font-size: 15px;
  font-weight: 700;
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-small-cta__price {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e8f7ee;
  color: #1c7a45;
  font-size: 14px;
  font-weight: 700;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-events-c-nav__next.tribe-common-b1--min-medium,
body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-events-c-nav__prev.tribe-common-b1--min-medium,
body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-common .tribe-events-c-nav__today.tribe-common-b1--min-medium {
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

body.post-type-archive-tribe_events .tribe-common--breakpoint-medium.tribe-events a.tribe-events-c-nav__next {
  color: #c8262e;
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-nav__next:disabled,
body.post-type-archive-tribe_events .tribe-events button.tribe-events-c-nav__next:disabled,
body.post-type-archive-tribe_events .tribe-events .tribe-events-c-nav__prev:disabled,
body.post-type-archive-tribe_events .tribe-events button.tribe-events-c-nav__prev:disabled {
  color: #8a93a6;
}

body.post-type-archive-tribe_events .tribe-events .tribe-events-c-subscribe-dropdown__button.tribe-common-c-btn-border {
  padding: 12px 20px;
  border: 1.5px solid #d5d9e2;
  border-radius: 8px;
  background: #fff;
  color: #1d2a44;
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
}
