/* Shared shell corrections. Keep selectors narrow so page-family CSS is untouched. */
.park-site .navbarItems .dropdown-menu {
  z-index: 1060;
}

.park-site .navbarItems .dropdown-menu.sectionTwo {
  width: min(700px, calc(100vw - 48px)) !important;
  max-width: calc(100vw - 48px);
}

.park-site .navbarItems .dropdown-menu.sectionImplants {
  width: min(1140px, 96vw) !important;
  max-width: 1140px;
  padding: 4px 12px 12px;
  border-top: 4px solid #e7c9c4 !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgb(0 0 0 / 14%);
}

.park-site .navbarItems .dropdown-menu.sectionOne {
  width: 280px !important;
  max-width: calc(100vw - 48px);
}

/* Services keeps Bootstrap's negative row gutter. Zeroing it made each column 8px narrower. */
.park-site .navbarItems .dropdown-menu.sectionImplants .row {
  margin-right: 0;
  margin-left: 0;
}

.park-site .navbarItems .dropdown-menu.sectionImplants .mega-menu-column {
  padding-right: 10px;
  padding-left: 10px;
}

.park-site a:focus-visible,
.park-site button:focus-visible,
.park-site input:focus-visible,
.park-site select:focus-visible,
.park-site textarea:focus-visible {
  outline: 2px solid #a06665;
  outline-offset: 2px;
}

.park-site .dropdown-item:focus-visible {
  background: #a06665;
  color: #fff;
}

/* One React-owned widget uses the original floating-wpp layout and transitions. */
.park-whatsapp.floating-wpp {
  left: 15px;
  right: auto;
  bottom: 15px;
  width: 55px;
  height: 55px;
  z-index: 100000;
}
.park-whatsapp.floating-wpp:hover { bottom: 17px; }
.park-whatsapp .floating-wpp-button { border: 0; padding: 0; display: block; }
.park-whatsapp .floating-wpp-head .close {
  border: 0; padding: 0; background: transparent; color: #414246;
  font: inherit; font-weight: 700; cursor: pointer;
}
.park-whatsapp .floating-wpp-btn-send { border: 0; padding: 0; background: transparent; }

/* Rich text media and tables must follow the original content grid. */
.park-rich-image {
  display: block;
  max-width: 100%;
  height: auto;
}

.park-table-wrap {
  margin: 0;
  max-width: 100%;
}

.park-content-table {
  margin-top: 15px;
  margin-bottom: 30px;
  width: 100%;
  border-collapse: collapse;
  color: #212529;
  font-family: Merriweather, serif;
  font-size: 15px;
}

.park-content-table th,
.park-content-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  vertical-align: middle;
}

.park-content-table th {
  font-weight: 700;
}

/* Editor-set column widths act as minimum cell widths below the desktop layout, so wide
   tables scroll horizontally inside .table-responsive like the source site. */
@media (max-width: 991.98px) {
  .park-content-table td {
    min-width: var(--park-cell-min, 0);
  }
}

/* The insurance page's first emphasis is a bare strong at body size, not a 14px paragraph. */
.pricing-page .toothache-header-description .payload-richtext > h2.toothache-header + p + p:has(> strong:only-child) {
  margin-top: 0;
  margin-bottom: 0 !important;
  font-size: 16px;
  line-height: 24px;
}

.pricing-page .toothache-header-description .payload-richtext > h2.toothache-header + p + p > strong:only-child {
  font-size: 16px;
  line-height: 24px;
}

/* Branded local 404. */
.park-not-found {
  padding: 80px 0 100px;
  text-align: center;
}

.park-not-found h1 {
  margin-bottom: 10px;
  color: #825a4a;
  font-family: Merriweather, serif;
  font-size: 44px;
  line-height: 1.2;
}

.park-not-found p {
  margin: 0 auto 26px;
  max-width: 620px;
  color: #5d5d5d;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.park-not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.park-not-found__actions a {
  border-radius: 4px;
  background: #a06665;
  padding: 12px 22px;
  color: #fff;
  font-family: Merriweather, serif;
  font-size: 14px;
  text-decoration: none;
}

.park-not-found__actions a:hover,
.park-not-found__actions a:focus-visible {
  background: #2b2a28;
}

/* Gallery lightbox. */
.park-gallery-grid {
  margin-top: 32px;
}

.park-gallery-grid .img-wrapper {
  overflow: hidden;
  border-radius: 8px;
  cursor: zoom-in;
}

.park-gallery-grid img {
  transition: transform 0.25s ease;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.park-gallery-grid .img-wrapper:hover img,
.park-gallery-grid .img-wrapper:focus-within img {
  transform: scale(1.04);
}

.park-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 88%);
  padding: 24px;
}

.park-lightbox__image {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  object-fit: contain;
}

.park-lightbox__close,
.park-lightbox__prev,
.park-lightbox__next {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

.park-lightbox__close {
  top: 14px;
  right: 22px;
}

.park-lightbox__prev {
  left: 18px;
}

.park-lightbox__next {
  right: 18px;
}

.park-lightbox__close:focus-visible,
.park-lightbox__prev:focus-visible,
.park-lightbox__next:focus-visible {
  outline: 2px solid #fff;
}


/* Shared related-treatment carousel, matching the source Splide composition. */
.park-related {
  position: relative;
  margin: 0 auto;
  padding: 20px 40px;
  max-width: 77%;
}

.park-related__track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.park-related__track::-webkit-scrollbar {
  display: none;
}

.park-related__card {
  flex: 0 0 calc((100% - 1rem) / 3);
  min-width: 0;
  scroll-snap-align: start;
  text-decoration: none;
}

.park-related__card .splide__slide__container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: rgb(0 0 0 / 87%) !important;
  aspect-ratio: 0.79;
  height: auto;
}

.park-related__card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.park-related__card:hover img,
.park-related__card:focus-visible img {
  transform: scale(1.04);
}

.park-related__card .item-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgb(0 0 0 / 35%);
  padding: 13px 18px 18px;
  text-align: left;
}

.park-related__card .item-content h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 22px;
}

.park-related__card .item-content p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.park-related__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #825a4a;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
}

.park-related__arrow--prev { left: 0; }
.park-related__arrow--next { right: 0; }

@media (max-width: 991.98px) {
  .park-related { padding: 16px 28px; }
}

@media (max-width: 575.98px) {
  .park-related { padding: 12px 18px; }
  .park-related__card .item-content { padding: 8px 8px 10px; }
  .park-related__card .item-content h4 { font-size: 13px; }
  .park-related__card .item-content p { font-size: 10px; }
}

.park-gallery-button {
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  text-align: inherit;
}

.park-video-embed {
  position: relative;
  margin: 20px 0;
  padding-top: 56.25%;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.park-video-embed iframe {
  position: absolute;
  inset: 0;
  border: 0;
  width: 100%;
  height: 100%;
}

/* Blog and implant article shell, matching the source template inline styles. */
.park-site .blogdetails_section {
  margin-bottom: 5px;
  border-bottom-left-radius: 55px;
  border-bottom-right-radius: 55px;
  background: #f4e7e5;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Legacy resource articles use this heading treatment; CMS blog articles load their own presets. */
.park-site:not(:has(.park-blog-article)) .blog-content h2,
.park-site:not(:has(.park-blog-article)) .blog-content h3,
.park-site:not(:has(.park-blog-article)) .blog-content h4,
.park-site:not(:has(.park-blog-article)) .blog-content h5,
.park-site:not(:has(.park-blog-article)) .blog-content h6 {
  margin-top: 25px;
  margin-bottom: 12px;
  color: #825a4a;
  font-weight: 600;
}

.park-site .container.blog-detail-container h1.blog-title {
  padding-bottom: 20px;
  color: #825a4a;
  font-size: 28px;
  font-weight: 600;
}

.park-site .blog-content p {
  margin-top: 6px;
  margin-bottom: 12px;
  color: #5d5d5d;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.park-site .blog-content a {
  color: #825a4a;
  text-decoration: underline;
}

.park-site .blog-content ul,
.park-site .blog-content ol {
  margin-top: 10px;
  margin-bottom: 15px;
  padding-left: 20px;
  list-style-position: outside;
}

.park-site .blog-content ul { list-style-type: disc; }
.park-site .blog-content ol { list-style-type: decimal; }

.park-site .blog-content ul li,
.park-site .blog-content ol li {
  padding-bottom: 7px;
  color: #5d5d5d;
  font-size: 15px;
  line-height: 1.7;
}

.park-site img.img-fluid.rounded {
  margin-bottom: 40px;
  border-radius: 20px !important;
  width: 100% !important;
}

/* Keep semantic email/tel controls visually identical to the source text inputs. */
.park-site .get-a-quote input[type='email'],
.park-site .get-a-quote input[type='tel'] {
  margin-bottom: 20px;
  outline: 0;
  border: 1px solid #c1c1c1;
  border-radius: 45px;
  padding: 21px;
  width: 100%;
  height: 50px;
  color: #444;
  font-size: 14px;
}

/* Clinic landing pages. */
.park-site section.aboutdentalcarekondapur_section {
  background: #f4e7e5;
  padding: 60px 0 !important;
}

.park-site .aboutsectioncontent p {
  margin: auto;
  width: 60%;
  color: #5c5f66;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7rem;
  text-align: center;
}

.park-site .aboutsectioncontent h2 {
  color: #825a4a;
}

.park-site .serviceslist {
  margin: auto;
  width: 70%;
}

.park-site .serviceslist ul li {
  padding-bottom: 9px;
  color: #5d5d5d;
  font-size: 15px;
  line-height: 1.7;
}

.park-site .serviceslist ul li strong {
  padding-right: 5px;
  color: #825a4a;
  font-size: 16px;
}

.park-site .kondapurcontact_details {
  background: #f4e7e5;
  padding: 50px 0;
}

.park-site .lastcontact_section {
  max-width: 900px;
}

.park-site .lastcontact_section h2 {
  margin-bottom: 20px;
  color: #825a4a;
}

.park-site .kondapurcontact_details p {
  color: #5d5d5d;
  font-size: 15px;
  line-height: 1.8;
}

.park-site .kondapur-map-section {
  padding: 30px 0;
}

.park-site .smile_paragraph {
  margin: 0 auto 16px;
  width: 60%;
  color: #5d5d5d;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .park-site .aboutsectioncontent p,
  .park-site .smile_paragraph,
  .park-site .serviceslist {
    width: 90%;
  }
}
.text-justify { text-align: justify; }

.park-site .video-background-holder video {
  aspect-ratio: auto 16 / 9;
}
/* Reserve this source video's native 848x480 frame while its metadata loads. */
.park-site .video-background-holder video:has(source[src*="banner-video-2"]) {
  aspect-ratio: auto 53 / 30;
}

/* Live numbered implant lists are weight 400, so their strong text stays 700 instead of bolder 900. */
.park-site:not(:has(.park-blog-article)) .blogdetails_section .blog-content ol,
.park-site:not(:has(.park-blog-article)) .blogdetails_section .blog-content ol li {
  font-weight: 400;
}

.park-site:not(:has(.park-blog-article)) .blogdetails_section .blog-content ol li strong {
  font-weight: 700;
}

/* Contact instructions inherit the description color. The global strong color is darker. */
.contact-page .malocclusionHeader.toothache-header-description p:not(.contact-bold-lead) strong {
  color: #5c5f66;
}

.park-site .clinic-page .service-title {
  margin-bottom: 16px;
  color: #333;
}

.pricing-page.pricing-insurance .toothache-header-description.malocclusionHeader > .payload-richtext > p:first-child {
  padding-top: 1rem;
}

.gallery-page h1.problemsHeader {
  font-family: var(--bs-font-sans-serif);
}

.park-site:has(.gallery-page) {
  overflow-wrap: break-word;
}

/* Spotlight uses the body's viewport height to calculate swipe thresholds. */
html.hide-scrollbars body { height: 100vh; }
#spotlight .header .close { width: 36px; color: #000; font-size: 24px; font-weight: 700; line-height: 1; }
#spotlight .header .page { width: 40px; pointer-events: none; }
/* The mobile navbar is z-index 100000; the modal toolbar must receive taps above it. */
body > #spotlight { z-index: 100001; }
