.feature-image img {
  max-height: 380px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.feature-image,
.hero,
.page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}
/* FORCE HIDE featured image on single posts (FSE/themes included) */
.single-post .wp-block-post-featured-image,
.single-post figure.wp-block-post-featured-image,
.single-post .wp-post-image,
.single-post .post-thumbnail,
.single-post .entry-header .wp-post-image {
  display: none !important;
}
/* DEFINITIVE FIX: hide featured images on single posts */
.single-post .wp-block-post-featured-image,
.single-post .wp-post-image,
.single-post .post-thumbnail,
.single-post figure.wp-block-post-featured-image {
  display: none !important;
}
.svc-media-grid{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  gap:22px !important;
  margin-top:30px;
}

.svc-video-card{
  flex: 0 1 calc(33.333% - 22px) !important;
  max-width: calc(33.333% - 22px) !important;
}

.svc-media-grid > p{
  margin:0 !important;
  padding:0 !important;
  flex: 0 1 calc(33.333% - 22px) !important;
  max-width: calc(33.333% - 22px) !important;
}

.svc-media-grid > p > .svc-video-card{
  width:100% !important;
}

@media (max-width: 980px){
  .svc-video-card,
  .svc-media-grid > p{
    flex: 0 1 calc(50% - 22px) !important;
    max-width: calc(50% - 22px) !important;
  }
}

@media (max-width: 640px){
  .svc-video-card,
  .svc-media-grid > p{
    flex: 0 1 100% !important;
    max-width: 100% !important;
  }
}
/* Hide post meta under title (category, author, comments) */
.entry-meta,
.post-meta,
.cat-links,
.posted-on,
.byline,
.comments-link {
    display: none !important;
}
/* Make Page Title look like a real H1 (Block Themes / FSE) */
.wp-block-post-title,
.wp-block-post-title a,
h1.wp-block-post-title {
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
.svc-cta{
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  max-width: 820px;
  margin: 28px auto;
  background: #fff;
}
.svc-cta h2{
  margin: 0 0 10px;
  font-size: 1.6rem;
}
.svc-cta p{
  margin: 0 0 14px;
  line-height: 1.6;
  font-size: 1.05rem;
}
.svc-cta-btn{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #111827;
}
.svc-cta-btn:hover{
  transform: translateY(-1px);
}
.svc-cta-trust{
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.85;
  font-style: italic;
}
.svc-btn {
  display: inline-block;
  padding: 12px 20px;
  margin-top: 8px;
  background-color: #0f172a; /* dark blue / black */
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.svc-btn:hover {
  background-color: #1e293b;
  transform: translateY(-1px);
}
.svc-primary-btn {
  display: inline-block;
  background-color: #0b3d2e;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
}
/* SmileVoyage Care - Contact Page Upgrade */
.svc-contact-hero{
  max-width: 860px;
  margin: 20px auto 18px;
  padding: 26px 22px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.svc-contact-hero h2{
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.15;
}

.svc-sub{
  margin: 0 0 18px;
  font-size: 16px;
  opacity: 0.85;
}

.svc-cta-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}

.svc-btn{
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.svc-btn-primary{
  background: #0b3b5a;
  color: #fff !important;
  box-shadow: 0 10px 18px rgba(11,59,90,0.18);
}

.svc-btn-outline{
  background: #fff;
  color: #0b3b5a !important;
  border: 2px solid rgba(11,59,90,0.18);
}

.svc-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
}

.svc-trust{
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.75;
}

/* Make most form submit buttons look premium */
button[type="submit"], input[type="submit"]{
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-weight: 800 !important;
}

/* Optional: wider input fields */
input[type="text"], input[type="email"], textarea{
  border-radius: 12px !important;
  padding: 12px 12px !important;
}
/* ===== SVC Contact Form - Premium Styling ===== */

/* 1) Center and constrain the form width */
#svc-contact-form + form,
#svc-contact-form ~ form,
.wpcf7 form,
.wpforms-container,
.gform_wrapper {
  max-width: 860px;
  margin: 0 auto;
}

/* 2) Put the form in a clean “card” */
#svc-contact-form + form,
#svc-contact-form ~ form,
.wpcf7 form,
.wpforms-container form,
.gform_wrapper form {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* 3) Labels */
.wpcf7 label,
.wpforms-field-label,
.gfield_label,
label
.svc-cta-row .svc-btn{
  min-width: 170px;
  text-align: center;
}

.svc-btn-primary:hover{
  filter: brightness(0.95);
}
/* Fix disappearing text on Email button hover */
.svc-btn-outline:hover{
  color: #0b3b5a !important;
  background: #f5f7f9 !important;
  border-color: rgba(11,59,90,0.35) !important;
}
.wp-block-button__link.wp-element-button {
    border-radius: 999px !important;
}