/* ==========================================================================
   EverSmile Dental — inner pages, design v2 (matches the home page)
   STYLING ONLY: restyles the existing markup, changes no content.
   Loaded by layouts/app.blade.php on every page except home.
   Everything is scoped to body.es2 (inner pages only).
   Undo: remove the stylesheet link + body class in layouts/app.blade.php
   ========================================================================== */

body.es2 {
  --v-blue: #165E84;
  --v-navy: #0E3B55;
  --v-teal: #10C3C8;
  --v-teal-dark: #0A858A;
  --v-orange: #C96B3C;
  --v-soft: #F5F8FA;
  --v-line: #E4EAEE;
  --v-text: #4F5B66;
  --v-head: #13232E;
  --v-r: 12px;
}

/* ==========================================================================
   PAGE BANNER
   ========================================================================== */
body.es2 .pq-breadcrumb {
  padding: 76px 0 72px;
  background-color: var(--v-navy);
  background-position: center right;
  overflow: hidden;
}

body.es2 .pq-breadcrumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 59, 85, .96) 0%, rgba(14, 59, 85, .9) 45%, rgba(14, 59, 85, .45) 100%);
}

body.es2 .pq-breadcrumb .container {
  position: relative;
  z-index: 1;
}

body.es2 .pq-breadcrumb .pq-breadcrumb-title h1 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.15;
  letter-spacing: -.01em;
  max-width: 820px;
}

body.es2 .pq-breadcrumb .breadcrumb {
  margin: 0;
  flex-wrap: wrap;
}

body.es2 .pq-breadcrumb .breadcrumb li,
body.es2 .pq-breadcrumb .breadcrumb li a {
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .85);
}

body.es2 .pq-breadcrumb .breadcrumb li a:hover {
  color: #fff;
}

body.es2 .pq-breadcrumb.pq-breadcrumb-sm {
  padding: 34px 0;
}

/* ==========================================================================
   RHYTHM, TEXT, BUTTONS
   ========================================================================== */
body.es2 section,
body.es2 .all-services {
  padding-top: 88px;
  padding-bottom: 88px;
}

body.es2 section.get-in-touch {
  padding: 0 0 88px !important;
}

body.es2 .pq-contact-us {
  padding-bottom: 40px;
}

body.es2 section.pq-blog-hero {
  padding: 48px 0 0;
}

body.es2 .pq-pb-210 {
  padding-bottom: 96px !important;
}

body.es2 .pq-bg-grey {
  background: var(--v-soft);
}

body.es2 .pq-mt-60 {
  margin-top: 0;
}

/* two stacked sections of one page (doctor bio) read as one */
body.es2 section.single-team.pb-0 {
  padding-bottom: 0 !important;
}

body.es2 section.pq-90.pt-0 {
  padding-top: 28px !important;
}

body.es2 .pq-section-description,
body.es2 .pq-section-description p,
body.es2 .single-team p,
body.es2 .pq-90 p,
body.es2 .servicebox > .container > .row > p {
  color: var(--v-text);
  font-size: 16px;
  line-height: 28px;
}

body.es2 .text-justify {
  text-align: left !important;
}

body.es2 .pq-button:not(.service-cta) {
  border-radius: 8px;
  padding: 15px 26px;
  border: 1px solid transparent;
  background: var(--v-teal);
  transition: background-color .2s ease, color .2s ease;
}

body.es2 .pq-button:not(.service-cta) .pq-button-text {
  font-size: 14px;
  line-height: 1;
  letter-spacing: .06em;
}

body.es2 .pq-button:not(.service-cta):hover {
  background: var(--v-blue);
}

/* ==========================================================================
   SERVICES LIST
   ========================================================================== */
body.es2 .service .pq-service-box.pq-style-1 {
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-r);
  padding: 0;
  overflow: hidden;
  box-shadow: none;
  transition: border-color .2s ease;
}

body.es2 .service .pq-service-box.pq-style-1:hover {
  border-color: var(--v-teal);
}

body.es2 .service .pq-service-box .pq-service-block {
  overflow: visible;
}

body.es2 .service .pq-service-box .pq-service-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
  background: var(--v-soft);
}

body.es2 .service .pq-service-box .pq-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform .6s ease;
}

body.es2 .service .pq-service-box:hover .pq-service-img img {
  transform: scale(1.04);
}

body.es2 .service .pq-service-box .pq-service-box-info {
  position: static;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 20px 22px;
  background: none;
}

body.es2 .service .pq-service-box .pq-info-text {
  flex: 1 1 auto;
  padding: 0;
}

body.es2 .service .pq-service-box .pq-service-sub-title {
  display: block;
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #66737D;
  margin-bottom: 4px;
}

body.es2 .service .pq-service-box .pq-service-title {
  font-size: 18px;
  line-height: 25px;
  font-weight: 700;
  color: var(--v-head);
  margin: 0;
}

body.es2 .service .pq-service-box:hover .pq-service-title {
  color: var(--v-blue);
}

body.es2 .service .pq-service-box .pq-service-icon {
  position: static;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--v-line);
  border-radius: 50%;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.es2 .service .pq-service-box .pq-service-icon img {
  width: 22px !important;
}

/* ==========================================================================
   SERVICE DETAIL + LOCATION CONTENT
   ========================================================================== */
body.es2 .all-services .pq-widget {
  background: none;
  padding: 0;
  margin: 0;
}

body.es2 .pq-widget-port ul.menu {
  border: 1px solid var(--v-line);
  border-radius: var(--v-r);
  overflow: hidden;
  margin: 0;
  padding: 0;
}

body.es2 .pq-widget-port ul.menu li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--v-line);
}

body.es2 .pq-widget-port ul.menu li:last-child {
  border-bottom: 0;
}

body.es2 .pq-widget-port ul.menu li a {
  border-radius: 0;
  margin: 0;
  padding: 14px 44px 14px 20px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  color: var(--v-head);
  background: #fff;
}

body.es2 .pq-widget-port ul.menu li a:hover {
  background: var(--v-soft);
  color: var(--v-blue);
}

body.es2 .pq-widget-port ul.menu li.current-menu-item a {
  background: var(--v-navy);
  color: #fff;
}

body.es2 #media_image img,
body.es2 .pq-menu-content .pq-rhs-img img {
  border-radius: var(--v-r) !important;
}

body.es2 .pq-menu-content .pq-section-title-box h2.pq-section-title {
  color: var(--v-blue) !important;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  margin-bottom: 8px;
}

body.es2 .pq-menu-content h5.pq-section-title,
body.es2 .pq-menu-content h6.pq-section-title {
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
  font-style: normal !important;
  color: var(--v-head);
}

body.es2 .pq-menu-content p {
  color: var(--v-text);
  font-size: 16px;
  line-height: 28px;
}

body.es2 .pq-menu-content .pq-portfolio-list-check li {
  color: var(--v-text);
  line-height: 26px;
}

body.es2 .pq-menu-content .pq-portfolio-list-check li i {
  color: var(--v-teal-dark);
}

/* location page cards */
body.es2 .pq-loc-content ul.pq-portfolio-list-check li,
body.es2 .pq-loc-service-card,
body.es2 .pq-author-box,
body.es2 .pq-share-box,
body.es2 .pq-blog-hero-box {
  box-shadow: none !important;
  border: 1px solid var(--v-line);
  border-radius: var(--v-r);
}

body.es2 .pq-loc-content ul.pq-portfolio-list-check li:hover,
body.es2 .pq-loc-service-card:hover {
  transform: none;
  border-color: var(--v-teal);
}

body.es2 .pq-loc-service-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--v-soft);
  color: var(--v-teal-dark);
  font-size: 18px;
}

body.es2 .pq-loc-service-title,
body.es2 .pq-author-name,
body.es2 .pq-loc-facts strong {
  color: var(--v-head);
}

body.es2 .pq-loc-map {
  background: #fff;
}

body.es2 .pq-loc-map-frame {
  box-shadow: none;
  border-color: var(--v-line);
  border-radius: var(--v-r);
}

body.es2 .pq-loc-facts i {
  border-radius: 10px;
  background: var(--v-soft);
  color: var(--v-teal-dark);
}

/* ==========================================================================
   APPOINTMENT FORM (service + location pages): same panel as home
   ========================================================================== */
body.es2 #serviceappointmentform .row.pq-bg-primary {
  background: #fff !important;
  border: 1px solid var(--v-line);
  border-radius: 16px;
  overflow: hidden;
  align-items: stretch !important;
  margin: 0;
}

body.es2 #serviceappointmentform .pq-blue-section-side-right::before {
  display: none;
}

/* text + form first, photo panel second (as on home) */
body.es2 #serviceappointmentform .col-lg-4 {
  order: 2;
  position: relative;
  padding: 0;
  background: var(--v-blue);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

body.es2 #serviceappointmentform .col-lg-8 {
  order: 1;
  margin: 0 !important;
  padding: 56px;
}

body.es2 #serviceappointmentform .col-lg-4::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}

body.es2 #serviceappointmentform .pq-form-img-overflow {
  position: relative;
  margin: 40px 0 0;
  padding: 0;
  max-height: 440px;
  width: auto;
  object-fit: contain;
}

body.es2 #serviceappointmentform .pq-section.pq-style-1 .pq-section-title.pq-appointment-title {
  color: var(--v-navy) !important;
  font-size: 30px;
  line-height: 40px;
  max-width: 560px;
}

body.es2 #serviceappointmentform .pq-appointment-title br {
  display: none;
}

body.es2 #serviceappointmentform form {
  margin-top: 30px !important;
}

body.es2 .pq-applyform input:not([type="hidden"]),
body.es2 .pq-applyform textarea {
  background: #fff;
  border: 1px solid #D5DEE4;
  border-radius: 8px;
  color: var(--v-head);
  padding: 0 16px;
  height: 54px;
  margin-bottom: 18px;
}

body.es2 .pq-applyform textarea {
  height: 160px;
  padding: 14px 16px;
}

body.es2 .pq-applyform input::placeholder,
body.es2 .pq-applyform textarea::placeholder {
  color: #66737D;
}

body.es2 .pq-applyform input:focus,
body.es2 .pq-applyform textarea:focus {
  border-color: var(--v-teal);
  box-shadow: 0 0 0 3px rgba(16, 195, 200, .15);
  outline: none;
}

body.es2 .pq-applyform .form-btn {
  background: var(--v-teal) !important;
  padding: 17px 34px !important;
  border-radius: 8px;
  line-height: 1;
}

body.es2 .pq-applyform .form-btn span {
  color: #fff !important;
  letter-spacing: .06em;
}

body.es2 .pq-applyform .form-btn:hover {
  background: var(--v-blue) !important;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
body.es2 .pq-contact-box {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-r);
  box-shadow: none;
  padding: 30px 28px;
}

body.es2 .pq-contact-box:hover {
  border-color: var(--v-teal);
  background: #fff;
}

body.es2 .pq-contact-box .pq-contact-box-icon {
  flex: 0 0 52px;
  margin: 0;
}

body.es2 .pq-contact-box .pq-contact-box-icon .icon,
body.es2 .pq-contact-box .pq-contact-box-icon i {
  width: 52px;
  height: 52px;
  line-height: 52px;
  border-radius: 10px;
  text-align: center;
  font-size: 22px;
  background: var(--v-soft);
  color: var(--v-teal-dark);
  display: block;
}

body.es2 .pq-contact-box .pq-contact-box-title {
  font-size: 18px;
  line-height: 26px;
  margin: 0 0 4px;
  color: var(--v-head);
}

body.es2 .pq-contact-box .pq-contact-box-description {
  font-size: 15px;
  line-height: 24px;
  margin: 0;
  color: var(--v-blue);
  overflow-wrap: anywhere;
}

body.es2 .get-in-touch > .container > .row {
  justify-content: center;
}

body.es2 .get-in-touch .pq-form-box {
  flex: 0 0 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 12px;
  background: none;
  box-shadow: none;
}

body.es2 .get-in-touch .pq-form-box .form-container,
body.es2 .get-in-touch .pq-form-box .pq-applyform-whitebg {
  background: #fff;
  border: 1px solid var(--v-line);
  margin: 0;
  box-shadow: none;
}

body.es2 .get-in-touch .pq-form-box .form-container {
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  padding: 52px 56px 0;
}

body.es2 .get-in-touch .pq-form-box .pq-applyform-whitebg {
  border-top: 0;
  border-radius: 0 0 16px 16px;
  padding: 30px 56px 48px;
}

body.es2 .map iframe,
body.es2 .pq-bg-map iframe {
  display: block;
  width: 100%;
  height: 440px;
}

/* ==========================================================================
   MEMBERSHIP
   ========================================================================== */
body.es2 .servicebox h2.pq-section-title,
body.es2 .servicebox h3.pq-section-title {
  font-size: 30px;
  line-height: 38px;
  font-weight: 700;
  color: var(--v-blue);
}

body.es2 .servicebox h5.pq-section-title {
  font-size: 18px;
  line-height: 28px;
  color: var(--v-head);
}

body.es2 .pq-info-box.membership-card-rounded,
body.es2 .pq-info-box.membership-card {
  border-radius: var(--v-r);
  box-shadow: none;
}

body.es2 .pq-info-box.membership-card-rounded {
  padding: 40px 36px;
}

body.es2 .pq-info-box.membership-card-rounded.pq-style-1 {
  background: var(--v-blue);
}

body.es2 .pq-info-box.membership-card-rounded.pq-style-2 {
  background: var(--v-navy);
}

body.es2 .membership-card-rounded .pq-info-box-right-icon {
  opacity: .12;
}

body.es2 .pq-info-box.membership-card {
  background: #fff !important;
  border: 1px solid var(--v-line);
  color: var(--v-text);
}

body.es2 .membership-card .membership-card-head {
  background: var(--v-navy) !important;
}

body.es2 .membership-card .membership-card-head h4,
body.es2 .membership-card .membership-card-head h5,
body.es2 .membership-card .membership-card-head h6 {
  color: #fff !important;
}

body.es2 .membership-card .membership-card-head h6[style] {
  color: #7FE7EA !important;
}

body.es2 .membership-card .pq-portfolio-list-check li,
body.es2 .membership-card .pq-portfolio-list-check li span {
  color: var(--v-text);
}

body.es2 .membership-card .pq-portfolio-list-check li i {
  color: var(--v-teal-dark) !important;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
body.es2 .gallery-tabs {
  gap: 10px;
  margin-bottom: 20px !important;
}

body.es2 .gallery-tab {
  border: 1px solid var(--v-line);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--v-blue);
}

body.es2 .gallery-tab:hover,
body.es2 .gallery-tab.active {
  background: var(--v-navy);
  border-color: var(--v-navy);
  color: #fff;
}

body.es2 .gallery-card {
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-r);
  box-shadow: none;
  padding: 10px !important;
}

body.es2 .gallery-card:hover {
  border-color: var(--v-teal);
}

/* ==========================================================================
   TEAM
   ========================================================================== */
body.es2 .single-team .row.align-items-center {
  align-items: flex-start !important;
}

body.es2 .single-team .pq-patient-img img {
  width: 100%;
  border-radius: var(--v-r);
}

body.es2 .single-team p.font-italic {
  border-left: 3px solid var(--v-orange);
  padding-left: 20px;
  color: var(--v-navy);
}

body.es2 .pq-doctor-quote {
  background: none;
  border-left: 3px solid var(--v-orange);
  border-radius: 0;
  padding: 4px 0 4px 22px;
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
body.es2 .es-review-card {
  box-shadow: none;
  border-color: var(--v-line);
  border-radius: var(--v-r);
}

body.es2 .es-review-card:hover {
  box-shadow: none;
  border-color: #CBD6DD;
}

body.es2 .about-us img {
  border-radius: var(--v-r);
}

body.es2 section.about-us + section.testimonial,
body.es2 #serviceappointmentform + section.testimonial {
  background: #fff;
}

/* ==========================================================================
   BLOG LIST + DETAIL
   ========================================================================== */
body.es2 .pq-blog-col-1,
body.es2 .pq-blog-col-1 .pq-blog-post {
  height: 100%;
}

body.es2 .pq-blog-col-1 .pq-blog-post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: var(--v-r);
  overflow: hidden;
  box-shadow: none;
  margin: 0;
  transition: border-color .2s ease;
}

body.es2 .pq-blog-col-1 .pq-blog-post:hover {
  border-color: var(--v-teal);
}

body.es2 .pq-blog-col-1 .pq-post-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
  background: var(--v-soft);
}

body.es2 .pq-blog-col-1 .pq-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

body.es2 .pq-blog-col-1 .pq-post-date {
  left: 14px;
  bottom: 14px;
}

body.es2 .pq-blog-col-1 .pq-post-date a {
  background: #fff;
  color: var(--v-head);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
}

body.es2 .pq-blog-col-1 .pq-blog-contain {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 24px 24px;
  box-shadow: none;
  border: 0;
}

body.es2 .pq-blog-col-1 .pq-post-meta {
  border: 0;
  padding: 0;
  margin: 0 0 8px;
}

body.es2 .pq-blog-col-1 .pq-post-meta ul li {
  font-size: 13px;
  color: #66737D;
  margin-left: 0;
  list-style: none;
}

body.es2 .pq-blog-col-1 .pq-blog-title {
  font-size: 18px;
  line-height: 26px;
  margin-bottom: 10px;
}

body.es2 .pq-blog-col-1 .pq-blog-title a {
  color: var(--v-head);
}

body.es2 .pq-blog-col-1 .pq-blog-title a:hover {
  color: var(--v-blue);
}

body.es2 .pq-blog-col-1 .pq-blog-info {
  margin-bottom: 16px;
}

body.es2 .pq-blog-col-1 .pq-blog-info p {
  color: var(--v-text);
  font-size: 15px;
  line-height: 25px;
}

/* quiet text link, as on home */
body.es2 .pq-blog-col-1 .pq-button {
  background: none !important;
  padding: 0 !important;
  border: 0;
  margin-top: auto;
}

body.es2 .pq-blog-col-1 .pq-button .pq-button-text,
body.es2 .pq-blog-col-1 .pq-button i {
  color: var(--v-teal-dark) !important;
  font-size: 13px !important;
}

body.es2 .pq-blog-col-1 .pq-button:hover .pq-button-text,
body.es2 .pq-blog-col-1 .pq-button:hover i {
  color: var(--v-blue) !important;
}

body.es2 .pq-blog-hero-title {
  color: var(--v-head);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

body.es2 .pq-blog-hero-desc {
  color: var(--v-text);
}

body.es2 .pq-summarise-btn,
body.es2 .pq-share-btn {
  border-color: var(--v-line);
  border-radius: 8px;
}

body.es2 .blog-single .pq-post-media img {
  width: 100%;
  border-radius: var(--v-r);
}

body.es2 .blog-single > .container > .row > .col-xl-8 > .pq-blog-post {
  box-shadow: none;
}

body.es2 #pq-article {
  border: 0;
  box-shadow: none;
  padding: 34px 0 0;
  color: var(--v-text);
  font-size: 16px;
  line-height: 28px;
}

body.es2 #pq-article h2 {
  font-size: 26px;
  line-height: 34px;
  color: var(--v-blue);
  margin: 34px 0 12px;
}

body.es2 #pq-article h3 {
  color: var(--v-head);
  margin: 24px 0 10px;
}

body.es2 .pq-toc-widget {
  background: #fff !important;
  border: 1px solid var(--v-line);
  border-radius: var(--v-r);
  padding: 26px 24px !important;
}

body.es2 .blog-single h3.pq-section-title {
  color: var(--v-blue);
  font-weight: 700;
}

body.es2 .pq-other-blogs {
  border-top: 0;
  margin-top: 40px;
}

body.es2 .owl-carousel .pq-blog-col-1 {
  padding: 1px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {
  body.es2 section,
  body.es2 .all-services {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  body.es2 #serviceappointmentform .col-lg-8 {
    padding: 44px 40px;
  }
}

@media (max-width: 991px) {
  body.es2 .pq-breadcrumb {
    padding: 52px 0;
  }
  body.es2 section,
  body.es2 .all-services {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  body.es2 #serviceappointmentform .row.pq-bg-primary {
    flex-direction: column !important;
  }
  body.es2 #serviceappointmentform .col-lg-4 {
    min-height: 300px;
  }
  body.es2 #serviceappointmentform .pq-form-img-overflow {
    max-height: 300px;
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  body.es2 .pq-menu-content .pq-section-title-box h2.pq-section-title {
    font-size: 24px;
    line-height: 32px;
  }
  body.es2 .servicebox h2.pq-section-title,
  body.es2 .servicebox h3.pq-section-title {
    font-size: 24px;
    line-height: 32px;
  }
  body.es2 #serviceappointmentform .col-lg-8 {
    padding: 32px 22px;
  }
  body.es2 #serviceappointmentform .pq-section.pq-style-1 .pq-section-title.pq-appointment-title {
    font-size: 24px;
    line-height: 33px;
  }
  body.es2 .pq-applyform .form-btn {
    width: 100%;
  }
  body.es2 .get-in-touch .pq-form-box .form-container {
    padding: 34px 22px 0;
  }
  body.es2 .get-in-touch .pq-form-box .pq-applyform-whitebg {
    padding: 24px 22px 32px;
  }
  body.es2 .pq-info-box.membership-card-rounded {
    padding: 30px 22px;
  }
  body.es2 .map iframe,
  body.es2 .pq-bg-map iframe {
    height: 320px;
  }
}

/* ==========================================================================
   REFINEMENTS
   ========================================================================== */
/* service page: sub-headings, buttons, sidebar */
body.es2 .pq-menu-content .pq-section-title-box:not(.pt-4) .pq-section-title,
body.es2 .pq-menu-content h3,
body.es2 .pq-menu-content h5,
body.es2 .pq-menu-content h6 {
  font-size: 22px !important;
  line-height: 30px !important;
  font-weight: 700;
  font-style: normal !important;
  color: var(--v-head);
  margin-top: 26px !important;
  margin-bottom: 10px !important;
}

body.es2 .pq-menu-content .pq-section-title-box.pt-4 + * > *:first-child > h6:first-child {
  margin-top: 4px !important;
}

body.es2 .pq-menu-content .pq-loc-service-card h3 {
  font-size: 17px !important;
  line-height: 24px !important;
  margin: 0 0 8px !important;
}

body.es2 .pq-menu-content .pq-author-box h3,
body.es2 .pq-menu-content .pq-author-box h5,
body.es2 .pq-menu-content .pq-author-box h6 {
  margin-top: 0 !important;
}

body.es2 .pq-menu-content .pq-accordion-details h5,
body.es2 .pq-menu-content .pq-accordion-details h6 {
  font-size: 16px !important;
  line-height: 24px !important;
  margin: 0 0 6px !important;
}

body.es2 .pq-menu-content .pq-button {
  border-radius: 8px;
  padding: 15px 26px !important;
  background: var(--v-teal);
}

body.es2 .pq-menu-content .pq-button:hover {
  background: var(--v-blue);
}

body.es2 .pq-widget-port,
body.es2 .pq-widget-port ul.menu,
body.es2 .pq-widget-port ul.menu li {
  float: none;
  display: block;
  width: 100%;
  height: auto;
}

body.es2 .pq-widget-port ul.menu li a {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}

body.es2 .pq-widget-port ul.menu li a::before,
body.es2 .pq-widget-port ul.menu li a::after {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%);
  line-height: 1 !important;
}

body.es2 .all-services #media_image {
  margin-top: 24px !important;
}

/* membership */
body.es2 .servicebox h2.pq-section-title[style*="red"] {
  color: var(--v-orange) !important;
}

body.es2 .servicebox h3.pq-section-title[style*="green"] {
  color: var(--v-blue) !important;
}

@media (min-width: 768px) {
  body.es2 .membership-card .membership-card-head {
    min-height: 178px;
  }
}

body.es2 .servicebox .container > .row > .pq-portfolio-list-check {
  padding: 0 12px;
  margin: 0;
}

/* contact */
body.es2 .pq-contact-box {
  gap: 14px;
  padding: 26px 22px;
}

body.es2 .pq-contact-box .pq-contact-box-info {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  text-align: left;
}

body.es2 .pq-contact-box .pq-contact-box-description {
  font-size: 14px;
  text-align: left;
  overflow-wrap: break-word;
}

body.es2 .get-in-touch .pq-form-box {
  flex: 0 0 calc(100% - 24px);
  max-width: calc(100% - 24px);
  width: calc(100% - 24px);
  margin: 0 12px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: 16px;
  overflow: hidden;
}

body.es2 .get-in-touch .pq-form-box .form-container,
body.es2 .get-in-touch .pq-form-box .pq-applyform-whitebg {
  border: 0;
  border-radius: 0;
}

/* blog cards */
body.es2 .pq-blog-col-1 .pq-post-date {
  background: none;
  padding: 0;
}

body.es2 .pq-blog-col-1 .pq-post-meta ul {
  border: 0;
  padding: 0;
  margin: 0;
}

/* team */
body.es2 .single-team p.mb-1,
body.es2 .pq-90 p.mb-1 {
  margin-bottom: 16px !important;
}

body.es2 .single-team p.font-italic {
  margin: 0 !important;
  padding-top: 4px;
  padding-bottom: 4px;
}

body.es2 .single-team p.font-italic + p:not(.font-italic) {
  margin-top: 18px;
}

body.es2 .single-team .pq-section .pq-section-title {
  margin-bottom: 14px !important;
}

body.es2 .all-services .pq-widget {
  float: none;
  width: 100%;
}

@media (min-width: 1200px) {
  body.es2 .pq-contact-box {
    gap: 12px;
    padding: 26px 18px;
  }
  body.es2 .pq-contact-box .pq-contact-box-icon {
    flex-basis: 44px;
  }
  body.es2 .pq-contact-box .pq-contact-box-icon .icon,
  body.es2 .pq-contact-box .pq-contact-box-icon i {
    width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 19px;
  }
  body.es2 .pq-contact-box .pq-contact-box-description {
    font-size: 13.5px;
  }
}

@media (max-width: 767px) {
  body.es2 .pq-applyform .form-btn .pq-button-block {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}
