
/* ======================================================= 
Memebrship Plan Widget
======================================================= */
.membership-widget {
  max-width: 254px;
  background: #730b13;
  padding: 1.5em 0.5em 0.5em; 
  border-radius: 34px;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28),  inset 0 0 0 2px rgba(255, 255, 255, 0.08), inset 0 -10px 20px rgba(0, 0, 0, 0.18);
  border:8px solid #dc3628;
  display: block; 
  position: fixed;
  bottom:1.5em; 
  left:1.5em; 
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index:400; 
}

/* Decorative baseball */
.membership-widget .membership-widget__decoration {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate3d(-50%, -70%, 0);
  pointer-events: none;
  width: 2.5em;
  height: 2.2em;
}
.membership-widget p {
  margin-bottom: 0.45em;
}
.membership-widget__title {
  font-family: "Lobster", sans-serif;
  font-size: 1.4em;
  font-weight: 700;
  margin: 0 0 0.2em;
  text-align: cente;
  /* color: #0e9dc;  */
  color: #11b1d8;
}
.membership-widget__subtitle {
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 600;
  margin: 0 0 1em;
  color: #e83829;
}
.membership-widget__text {
  font-size: 0.9em;
  line-height: 1;
  margin-bottom: 0;
}
/* CTA Button */
.membership-widget__btn {
  display: inline-block;
  font-family: "Lobster", sans-serif !important;
  background: #11b1d8;
  /* green CTA */
  color: #fff;
  font-weight: 400;
  padding: 0.1em 1em;
  border-radius: 8px;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0.5px;
  margin: 0.3em auto 0;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2), 0 4px 10px rgba(0, 0, 0, 0.25);
}
.membership-widget__btn:hover {
  background: #02748e;
  color: #fff;
}
/* Close Button */
.membership-widget__close {
  position: absolute;
  top: -0.2em;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 0.2em;
  color: #fff;
  font-size: 1em;
  line-height: 1;
  cursor: pointer;
}
.membership-widget__close:hover,
.membership-widget__close:focus {
  opacity: 1;
}
/* =======================================================
   Membership Plan Page 
======================================================= */
#membership-plan {
  color: #241f21;
  line-height: 1.2;
  font-size: 0.85em;
  padding: 2em 0;
  width: 90%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
@media only screen and (min-width: 1024px) {
  #membership-plan {
    width: 100%;
  }
}
#membership-plan * {
  box-sizing: border-box;
}
/* -------------------------------------------------------
   Top row (mobile = stacked)
------------------------------------------------------- */
.membership-toprow {
  display: flex;
}
@media only screen and (max-width: 1023px) {
  .membership-toprow {
    flex-direction: column;
    gap: 2em;
    align-items: center;
  }
}
@media only screen and (min-width: 1024px) {
  .membership-toprow {
    margin-bottom: 40px;
    gap: 1.5em;
  }
}
.membership-toprow > * {
  max-width: 400px;
  width: 100%;
}
@media only screen and (min-width: 1024px) {
  .membership-toprow > * {
    flex: 1 1 0;
    margin-top: 0;
    min-width: 0;
    /* prevents flex overflow weirdness */
  }
}
.membership-header {
  position: relative;
  padding: 1.5em 0;
  display:flex;
  align-items:center;
  justify-content: center;
}
.membership-header:after {
  content: '';
  background: #e0e3e4;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: 1em;
}
@media only screen and (min-width: 1024px) {
  .membership-header {
    /* center logo column */
  }
  .membership-header .membership-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 340px;
    position: relative;
    padding: 0;
  }
}
/* Logo image */
.smilesplan__img {
  display: block;
  width: 87%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}
/* -------------------------------------------------------
   Headings (general)
------------------------------------------------------- */
#membership-plan h2 {
  font-family: "Lobster", sans-serif !important;
  font-size: clamp(20px, 2.2vw, 2.6em);
  margin: 0 0 10px;
  color: #554239;
  text-align: center;
}
/* Intro heading color + alignment */
#membership-plan .membership-intro h2 {
  color: #0ea5c6;
  /* teal */
  text-align: left;
}
/* Red subhead under intro */
.main-content-section .content-text p.membership-subhead, 
.main-content-section header p.membership-subhead {
  font-family: "Lobster", sans-serif !important;
  color: #b0191e;
  font-size: 1.4em;
  text-align: left;
  margin: 0 0 0.5em;
}
/* -------------------------------------------------------
   Notes blocks (Intro + Exclusions)
------------------------------------------------------- */
.membership-notes {
  margin-top: 18px;
  text-align: left;
}
/* Intro list */
.membership-intro ul {
  margin: 10px 0 0;
  padding-left: 18px;
}
.membership-intro li {
  margin: 18px 0;
  color: #241f21;
}
/* Bullet color (intro) */
.membership-intro li::marker {
  color: #b0191e;
}
/* Disclaimer text (blue paragraph) */
.main-content-section .content-text p.membership-disclaimer, 
.main-content-section header p.membership-disclaimer {
  margin: 10px 0 0;
  color: #02748e;
  font-size: clamp(12px, 0.75em, 15px);
  line-height: 1.2;
}
/* -------------------------------------------------------
   FIX: Exclusions heading contains label + long text
   (Overrides the global #membership-plan h2)
------------------------------------------------------- */
#membership-plan .membership-exclusions h2 {
  text-align: left;
  margin: 0;
  line-height: inherit;
  font-size: 1em;
}
/* Red “Exclusions:” label */
.membership-exclusions .exclusions-label {
  display: inline;
  font-size: 1.4em;
  color: #b01217;
  font-weight: 400;
}
/* Long sentence under the label should be body text */
.membership-exclusions .exclusions-text {
  display: inline;
  margin-top: 0.45em;
  font-family: Georgia, serif;
  font-weight: 400;
  color: #333;
}
/* -------------------------------------------------------
   Services section
------------------------------------------------------- */
.membership-services {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}
/* Services heading */
#membership-plan .membership-services h2 {
  width: 100%;
  font-size: 3.3em;
  line-height: 1;
  text-align: center;
  margin: 0 0 16px;
  flex: 0 0 100%;
}
/* -------------------------------------------------------
   Tier cards
------------------------------------------------------- */
.membership-tier {
  flex: 1 1 100%;
  position: relative;
  color: #fff;
  border-radius: 1em;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  overflow: visible;
  /* IMPORTANT so outer edge shows */
  text-align: left;
  max-width: 320px;
  background: radial-gradient(circle at 50% 0%, #730b13 0%, #730b13 58%, #5b1016 100%);
}
/* Outer red edge */
.membership-tier::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 1.5em;
  background: #dc3628;
  z-index: -1;
}
/* Inner bevel */
.membership-tier::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1em;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1), inset 0 -14px 22px rgba(0, 0, 0, 0.2);
}
/* Tier headings */
.main-content-section .content-text .membership-tier h3 {
  font-family: "Lobster", sans-serif;
  margin: 0 0 10px;
  font-weight: 400;
  font-size: 2em;
  line-height: 1.1;
  color: #11b1d8;
  text-align: center;
}
.membership-tier p {
  margin: 0 0 20px;
  font-weight: 700;
  color: #e83829;
  font-size: 1.05rem;
  text-align: center;
}
/* Tier list */
.membership-tier ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.membership-tier li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  font-size: 1em;
  line-height: 1.6em;
  list-style: none;
}
/* Bullet dots */
.membership-tier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  opacity: 0.95;
}
/* -------------------------------------------------------
   Tier breakpoints
------------------------------------------------------- */
@media (min-width: 760px) {
  /* .membership-tier{
	flex:0 0 calc(50% - (25px / 2));
  } */
}
@media (min-width: 768px) {
  .membership-tier {
    flex: 0 0 calc(33.333% - (25px * 2 / 3));
  }
}
/* -------------------------------------------------------
   DESKTOP TOP ROW (Intro | Logo | Exclusions)
   This MUST be last so it overrides mobile styles
------------------------------------------------------- */
@media (min-width: 1024px) {
  /* explicit ordering */
  .membership-intro {
    order: 1;
  }
  .membership-header {
    order: 2;
  }
  .membership-exclusions {
    order: 3;
  }
}



/* =======================================================
   PDF Download Callout
======================================================= */
.downloadpdf{
  /* fits your page system */
  margin: 2.5em 0 0;
  position: relative;
}

.downloadpdf p{
  margin: 0 0 0.75em;
  color: #241f21;
  font-weight: 600;
  line-height: 1.2;
}

/* Link styled like a mini CTA */
.pdf-download{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.45em 1em;

  /* echo your CTA button styling */
  font-family: "Lobster", sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-transform: none;

  background: #11b1d8;
  color: #fff;

  border-radius: 10px;
  box-shadow:
    inset 0 -3px 0 rgba(0,0,0,.22),
    0 6px 14px rgba(0,0,0,.18);

  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}

/* Icon */
.pdf-download i{
  font-size: 1.1em;
  line-height: 1;
  /* optional: make icon read as "pdf" red within the teal button */
  /* color: #ffe3e3; */
}

/* Hover / focus */
.pdf-download:hover{
  background: #02748e;
  color: #fff;
  transform: translateY(-1px);
}

.pdf-download:focus,
.pdf-download:focus-visible{
  outline: 3px solid rgba(17,177,216,.45);
  outline-offset: 3px;
}

/* Active press */
.pdf-download:active{
  transform: translateY(0);
  box-shadow:
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 3px 8px rgba(0,0,0,.18);
}

