/*
Theme Name: Rossendale Physio Theme
Author: SC
Description: Custom WordPress theme for Rossendale Physio.
Version: 1.0
Text Domain: rossendale-physio
*/
:root {
  --rp-green-700: #00833f;
  --rp-green-600: #00a050;
  --rp-lime-500:  #90c030;
  --rp-ink-900:   #0d2030;
  --rp-ink-700:   #1f3849;
  --rp-ink-500:   #4a5d6e;
  --rp-ink-300:   #8a9ba9;
  --rp-bg:        #ffffff;
  --rp-bg-alt:    #f3f5ee;
  --rp-line:      #ececec;
  --rp-line-soft: #dde3d2;

  --rp-font-display: "Manrope", system-ui, sans-serif;
  --rp-font-body:    "Inter", system-ui, sans-serif;
  --rp-font-mono:    "JetBrains Mono", ui-monospace, monospace;
}



* { box-sizing: border-box; }
html, body { 
  margin: 0 !important; /* The !important tag prevents the WordPress admin bar script from overriding it */
  padding: 0; 
}
body {
  font-family: var(--rp-font-body);
  color: var(--rp-ink-900);
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.display { font-family: var(--rp-font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--rp-green-700);
}
.eyebrow::before {
  content: ''; display: inline-block; width: 24px; height: 1px;
  background: var(--rp-green-700); vertical-align: middle; margin-right: 10px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; border-radius: 6px; font-weight: 700; font-size: 14px;
  cursor: pointer; text-decoration: none; border: 1.5px solid transparent;
  letter-spacing: 0.01em; transition: transform .12s, opacity .12s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--rp-lime-500); color: var(--rp-ink-900); border-color: var(--rp-lime-500); }
.btn-dark { background: var(--rp-ink-900); color: #fff; border-color: var(--rp-ink-900); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-ghost-dark { background: transparent; color: var(--rp-ink-900); border-color: rgba(13,32,48,0.18); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--rp-ink-900); color: #fff;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  width: 100%;
}
.nav-logo { height: 40px; border-radius: 8px; }
.nav-wordmark { font-family: var(--rp-font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.035em; }
.nav-wordmark .slash { color: var(--rp-lime-500); }
.nav-links { display: flex; gap: 28px; margin-left: auto; margin-right: 2rem; font-weight: 600; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.6px; }
.nav-links a { color: #fff; text-decoration: none; }
.nav-links a:hover { color: var(--rp-lime-500); }
.nav-links a.active { color: var(--rp-lime-500); }

/* Custom Logo Tweaks */
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 280px; /* Give the wide logo format enough container room */
    height: auto;
}

img.custom-logo {
    width: auto !important; /* Let it scale its width naturally based on height */
    height: auto !important;
    max-height: 110px; /* Bumped up from 55px to make it instantly visible and sharp */
    object-fit: contain;
}

/* Hero */
.hero { background: var(--rp-ink-900); color: #fff; padding: 0 32px 120px; position: relative; overflow: hidden; }
.hero-slash {
  position: absolute; right: -120px; top: -60px; width: 520px; height: 520px;
  background: var(--rp-lime-500); transform: rotate(18deg);
  clip-path: polygon(0 40%, 100% 0, 100% 60%, 0 100%); opacity: 0.18;
}
/* Update your grid proportions to give the text slightly more bias */
.hero-inner { 
  max-width: 1280px; 
  margin: 0 auto; 
  padding: 40px 0 0; /* Reduced from 64px to push everything up */
  display: grid; 
  grid-template-columns: 1.3fr 0.9fr; /* Slightly shrunk the image column width */
  gap: 48px; 
  align-items: center; 
  position: relative; 
}

/* Control the photo scaling */
.hero-photo { 
  width: 100%; 
  max-height: 520px; /* Puts a hard ceiling on how deep the image can pull the section */
  object-fit: cover; 
  border-radius: 4px; 
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 8px 14px; border-radius: 4px;
  background: rgba(144,192,48,0.12); border: 1px solid rgba(144,192,48,0.4);
  font-size: 12px; color: var(--rp-lime-500); text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--rp-lime-500); }

.hero h1 { 
  font-family: var(--rp-font-display);
  font-weight: 800;
  font-size: 54px; 
  line-height: 1.05; 
  letter-spacing: -0.03em;
  margin: 0 0 16px; 
  color: #ffffff;
  text-transform: uppercase;
}
.hero h1 .lime { 
  color: var(--rp-lime-500); 
}
.hero h1 .outline { 
  -webkit-text-stroke: unset; 
  color: inherit; 
}

.hero p { font-size: 17px; color: #aebcc8; max-width: 460px; margin: 28px 0 36px; }
.hero-actions { display: flex; gap: 12px; }
.hero-stats { display: flex; gap: 0; margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
.hero-stat { flex: 1; padding-left: 0; }
.hero-stat + .hero-stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.1); }
.hero-stat .num { font-family: var(--rp-font-display); font-weight: 800; font-size: 32px; color: var(--rp-lime-500); letter-spacing: -0.035em; line-height: 1; }
.hero-stat .lbl { font-size: 11px; color: #aebcc8; letter-spacing: 1.2px; font-weight: 600; margin-top: 4px; }

.hero-photo-wrap { position: relative; padding-top: 32px; }
.hero-photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.hero-badge {
  position: absolute; 
  top: 48px; 
  right: -16px; 
  transform: rotate(4deg);
  background: var(--rp-lime-500); 
  color: var(--rp-ink-900);
  padding: 14px 18px; 
  border-radius: 4px; 
  font-weight: 800; 
  font-size: 13px;
  font-family: var(--rp-font-display); 
  letter-spacing: 0.4px;
  z-index: 2;
}
.hero-badge .big { font-size: 22px; display: block; margin-top: 4px; }

/* Sections */
section { padding: 88px 32px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 32px; max-width: 1280px; margin-left: auto; margin-right: auto; }
.section-head h2 { font-family: var(--rp-font-display); font-weight: 800; font-size: 56px; margin: 12px 0 0; letter-spacing: -0.035em; line-height: 0.98; max-width: 700px; }
.section-head h2 em { font-style: normal; color: var(--rp-green-600); }
.section-head .lede { font-size: 14px; color: var(--rp-ink-500); max-width: 360px; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rp-line); max-width: 1280px; margin: 0 auto; }
.service-card { padding: 32px; background: #fff; position: relative; }
.service-card + .service-card { border-left: 1px solid var(--rp-line); }
.service-num { font-family: var(--rp-font-display); font-weight: 800; font-size: 13px; color: var(--rp-ink-300); letter-spacing: 1.2px; margin-bottom: 24px; }
.service-icon { width: 56px; height: 56px; background: var(--rp-ink-900); color: var(--rp-lime-500); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.service-card h3 { font-family: var(--rp-font-display); font-weight: 800; font-size: 26px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: -0.035em; line-height: 1; }
.service-card p { font-size: 14.5px; color: var(--rp-ink-500); margin: 0 0 24px; min-height: 84px; }
.service-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--rp-line); }
.service-foot .lbl { font-size: 11px; color: var(--rp-ink-300); letter-spacing: 0.8px; text-transform: uppercase; }
.service-foot .price { font-family: var(--rp-font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.035em; }
.service-foot .book { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; color: var(--rp-ink-900); text-decoration: none; text-transform: uppercase; letter-spacing: 0.8px; }

/* Method (steps) */
.method { background: var(--rp-bg-alt); }
.method-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.method-grid h2 { font-family: var(--rp-font-display); font-weight: 800; font-size: 48px; margin: 12px 0 16px; line-height: 0.98; letter-spacing: -0.035em; }
.method-grid h2 .green { color: var(--rp-green-600); }
.method-grid > div:first-child p { font-size: 15px; color: var(--rp-ink-500); margin: 0; }
.method-step { display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--rp-line-soft); }
.method-step:last-child { border-bottom: none; }
.method-step .n { font-family: var(--rp-font-display); font-weight: 800; font-size: 36px; color: var(--rp-green-600); letter-spacing: -0.035em; line-height: 1; }
.method-step .t { font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.method-step .d { font-size: 14px; color: var(--rp-ink-500); }
.method-step svg { color: var(--rp-ink-300); }

/* Team */
.team { max-width: 1280px; margin: 0 auto; padding: 88px 32px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-card .photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.team-card .info { padding: 20px 4px; }
.team-card .name { font-family: var(--rp-font-display); font-weight: 800; font-size: 22px; margin-bottom: 4px; letter-spacing: -0.035em; }
.team-card .role { font-size: 13px; color: var(--rp-ink-500); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.6px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.team-tag { font-size: 11px; padding: 4px 10px; border-radius: 4px; background: var(--rp-bg-alt); color: var(--rp-ink-700); font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase; }

/* Reviews */
.reviews { background: var(--rp-ink-900); color: #fff; }
.reviews-inner { max-width: 1280px; margin: 0 auto; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.reviews-head h2 { font-family: var(--rp-font-display); font-weight: 800; font-size: 56px; margin: 0; color: #fff; letter-spacing: -0.035em; line-height: 0.98; }
.reviews-head h2 .lime { color: var(--rp-lime-500); }
.reviews-rating { display: flex; align-items: center; gap: 8px; color: var(--rp-lime-500); }
.reviews-rating .num { font-family: var(--rp-font-display); font-weight: 800; font-size: 32px; color: #fff; margin-left: 8px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.08); }
.review { background: var(--rp-ink-900); padding: 32px; }
.review-quote { font-family: var(--rp-font-display); font-weight: 800; font-size: 56px; color: var(--rp-lime-500); line-height: 0.6; margin-bottom: 16px; }
.review-text { font-size: 16px; line-height: 1.55; color: #fff; margin: 0 0 24px; }
.review-meta { padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.review-meta .name { font-weight: 700; font-size: 14px; color: #fff; }
.review-meta .where { font-size: 12px; color: #aebcc8; }

/* Booking */
.booking-wrap { max-width: 1280px; margin: 0 auto; }
.booking { display: grid; grid-template-columns: 1fr 1.4fr; border: 1px solid var(--rp-line); }
.booking-side { padding: 48px; background: var(--rp-bg-alt); }
.booking-side h2 { font-family: var(--rp-font-display); font-weight: 800; font-size: 44px; margin: 0 0 24px; letter-spacing: -0.035em; line-height: 0.98; }
.booking-side > p { font-size: 14.5px; color: var(--rp-ink-500); margin-bottom: 32px; }
.booking-info { display: flex; flex-direction: column; gap: 1px; background: var(--rp-line-soft); }
.booking-info-row { background: var(--rp-bg-alt); padding: 14px 0; display: flex; gap: 14px; align-items: center; }
.booking-info-row .k { font-size: 11px; font-weight: 800; letter-spacing: 0.8px; color: var(--rp-ink-500); }
.booking-info-row .v { font-size: 14px; font-weight: 600; }

.booking-main { padding: 48px; background: #fff; }
.booking-progress { display: flex; gap: 8px; margin-bottom: 32px; }
.booking-progress .bar { flex: 1; height: 4px; border-radius: 2px; background: var(--rp-line); }
.booking-progress .bar.on { background: var(--rp-lime-500); }
.booking-step-label { font-size: 12px; font-weight: 700; color: var(--rp-ink-300); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.booking-main h3 { font-family: var(--rp-font-display); font-weight: 800; font-size: 32px; margin: 0 0 24px; letter-spacing: -0.035em; line-height: 0.98; }

.svc-list { display: flex; flex-direction: column; border: 1px solid var(--rp-line); }
.svc-row { padding: 20px 24px; border: none; background: #fff; cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 16px; text-align: left; width: 100%; }
.svc-row + .svc-row { border-top: 1px solid var(--rp-line); }
.svc-row:hover, .svc-row.on { background: var(--rp-bg-alt); }
.svc-row .info { flex: 1; }
.svc-row .t { font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.4px; }
.svc-row .d { font-size: 13px; color: var(--rp-ink-500); }

.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { padding: 16px 12px; border: 1px solid var(--rp-line); background: #fff; font-family: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.slot:hover { border-color: var(--rp-ink-900); }
.slot.on { border: 2px solid var(--rp-ink-900); padding: 15px 11px; }

.day-label { font-family: var(--rp-font-display); font-weight: 800; font-size: 16px; margin: 16px 0 8px; letter-spacing: -0.02em; text-transform: uppercase; color: var(--rp-ink-700); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { font-size: 11px; color: var(--rp-ink-500); font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; }
.field input, .field textarea { display: block; width: 100%; padding: 12px 14px; margin-top: 4px; border: 1px solid var(--rp-line); font-family: inherit; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; background: #fff; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--rp-lime-500); outline-offset: -1px; }
.field.full { grid-column: 1 / -1; }
.btn-confirm { margin-top: 24px; width: 100%; justify-content: center; padding: 16px 22px; font-size: 15px; }

/* Footer */
footer { background: var(--rp-ink-900); color: #aebcc8; padding: 64px 32px 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-mark { font-family: var(--rp-font-display); font-weight: 800; font-size: 66px; color: var(--rp-lime-500); margin-bottom: 40px; line-height: 0.9; letter-spacing: -0.04em; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-cols .k { font-size: 11px; color: var(--rp-lime-500); font-weight: 800; letter-spacing: 1.2px; margin-bottom: 10px; }
.footer-cols .v { font-size: 14px; color: #fff; white-space: pre-line; line-height: 1.55; }
.footer-fine { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; font-size: 12px; }

/* Page header (for inner pages) */
.page-header { background: var(--rp-ink-900); color: #fff; padding: 80px 32px 88px; position: relative; overflow: hidden; }
.page-header .slash { position: absolute; right: -120px; top: -60px; width: 520px; height: 520px; background: var(--rp-lime-500); transform: rotate(18deg); clip-path: polygon(0 40%, 100% 0, 100% 60%, 0 100%); opacity: 0.18; }
.page-header-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.page-header h1 { font-family: var(--rp-font-display); font-weight: 800; font-size: 80px; margin: 24px 0 16px; color: #fff; letter-spacing: -0.04em; line-height: 0.98; }
.page-header h1 .lime { color: var(--rp-lime-500); }
.page-header p { font-size: 17px; color: #aebcc8; max-width: 600px; margin: 0; }
.page-header .eyebrow { color: var(--rp-lime-500); }
.page-header .eyebrow::before { background: var(--rp-lime-500); }
.crumbs { font-family: var(--rp-font-mono); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: #aebcc8; margin-bottom: 32px; }
.crumbs a { color: var(--rp-lime-500); text-decoration: none; }

/* Service detail rows on services page */
.svc-detail { padding: 56px 32px; border-bottom: 1px solid var(--rp-line); }
.svc-detail:nth-child(even) { background: var(--rp-bg-alt); }
.svc-detail-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.svc-detail:nth-child(even) .svc-detail-inner { grid-template-columns: 1fr 1fr; direction: rtl; }
.svc-detail:nth-child(even) .svc-detail-inner > * { direction: ltr; }
.svc-detail .num { font-family: var(--rp-font-display); font-weight: 800; font-size: 14px; color: var(--rp-ink-300); letter-spacing: 1.2px; margin-bottom: 16px; }
.svc-detail h2 { font-family: var(--rp-font-display); font-weight: 800; font-size: 48px; margin: 0 0 16px; text-transform: uppercase; letter-spacing: -0.035em; line-height: 0.98; }
.svc-detail .lede { font-size: 17px; color: var(--rp-ink-500); margin: 0 0 24px; }
.svc-detail ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.svc-detail li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.svc-detail li::before { content: ''; width: 6px; height: 6px; background: var(--rp-lime-500); display: inline-block; }
.svc-detail .stats { display: flex; gap: 24px; padding-top: 20px; border-top: 1px solid var(--rp-line); }
.svc-detail .stats div .k { font-size: 11px; color: var(--rp-ink-300); letter-spacing: 0.8px; text-transform: uppercase; }
.svc-detail .stats div .v { font-family: var(--rp-font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.035em; }
img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }

/* Conditions list (services page) */
.conditions { padding: 88px 32px; }
.conditions-inner { max-width: 1280px; margin: 0 auto; }
.conditions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rp-line); border: 1px solid var(--rp-line); margin-top: 32px; }
.conditions-grid div { background: #fff; padding: 18px 20px; font-size: 14px; font-weight: 600; }
.conditions-grid div:hover { background: var(--rp-bg-alt); }

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .hero h1 { font-size: 46px; }
}

@media (max-width: 960px) {
  .hero h1 { font-size: 38px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card + .service-card { border-left: none; border-top: 1px solid var(--rp-line); }
  .method-grid, .booking, .svc-detail-inner { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail:nth-child(even) .svc-detail-inner { grid-template-columns: 1fr; }
  .team-grid, .reviews-grid { grid-template-columns: 1fr; }
  .form-grid, .footer-cols, .conditions-grid { grid-template-columns: 1fr 1fr; }
  .footer-mark { font-size: 48px; }
  .section-head, .reviews-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head h2, .reviews-head h2, .page-header h1 { font-size: 40px; }
  .nav-links { display: none; }
}

/* Custom WYSIWYG FAQ Accordion Styling */
.faq-wysiwyg-content details {
  background: var(--rp-bg-alt, #f3f5ee);
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.faq-wysiwyg-content summary {
  font-family: var(--rp-font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--rp-ink-900);
  outline: none;
}

.faq-wysiwyg-content details div,
.faq-wysiwyg-content details p {
  margin-top: 1rem;
  font-size: 15px;
  line-height: 1.6;
  color: var(--rp-ink-500);
  cursor: default;
}

/* ==========================================================================
   FLUENT FORMS CUSTOM THEME OVERRIDES
   ========================================================================== */

/* Force form container layouts to stretch full width */
.fluentform, 
.frm-fluent-form {
    width: 100% !important;
}

/* Style all text inputs and textareas to look modern and spacious */
.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform textarea {
    display: block !important;
    width: 100% !important;
    padding: 12px 14px !important;
    border: 1px solid var(--rp-line, #ececec) !important;
    border-radius: 4px !important;
    font-family: var(--rp-font-body), sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    background: #ffffff !important;
    color: var(--rp-ink-900, #0d2030) !important;
    box-sizing: border-box !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
    transition: border-color 0.15s ease-in-out;
}

/* Fix that squished textarea bug with a proper height and line layout */
.fluentform textarea {
    min-height: 140px !important;
    line-height: 1.5 !important;
    resize: vertical !important;
}

/* Add your bright lime focus halo when clicking into fields */
.fluentform input:focus, 
.fluentform textarea:focus {
    outline: 2px solid var(--rp-lime-500, #90c030) !important;
    outline-offset: -1px !important;
    border-color: transparent !important;
}

/* Clean up field text labels to match your small uppercase typography */
.fluentform .ff-el-form-group label {
    font-size: 11px !important;
    color: var(--rp-ink-500, #4a5d6e) !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
}

/* Transform the generic gray button into your custom premium lime submit button */
.fluentform button[type="submit"],
.fluentform .ff-btn-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important; /* Forces button to be a bold, full-width call-to-action */
    padding: 14px 22px !important;
    background: var(--rp-lime-500, #90c030) !important;
    color: var(--rp-ink-900, #0d2030) !important;
    border: 1.5px solid var(--rp-lime-500, #90c030) !important;
    border-radius: 6px !important;
    font-family: var(--rp-font-body), sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    cursor: pointer !important;
    transition: transform 0.12s ease, opacity 0.12s ease !important;
    margin-top: 12px !important;
}

/* Add the hover micro-interaction animation */
.fluentform button[type="submit"]:hover,
.fluentform .ff-btn-submit:hover {
    transform: translateY(-1px) !important;
    opacity: 0.95 !important;
}

/* ==========================================================================
   ZANDA HEALTH PORTAL RESPONSIVE CONTROLS
   ========================================================================== */

/* By default, hide the touch-friendly mobile button card layout on desktop displays */
.zanda-mobile-fallback {
    display: none;
}

.zanda-desktop-embed {
    display: block;
    width: 100%;
}

/* Responsive breakpoint: Switch layout mechanics on smaller devices or tablets */
@media (max-width: 960px) {
    .zanda-desktop-embed {
        display: none !important;
    }
    .zanda-mobile-fallback {
        display: block !important;
    }
}

@media (max-width: 960px) {
  /* ... your existing layout mobile rules ... */
  
  .why-grid { 
    grid-template-columns: 1fr !important; 
    gap: 32px !important;
  }
  .why-item[style*="grid-column"] {
    grid-column: auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
  }
}