/* ==========================================================================
   WBPMR — style.css
   Section-level styling. Loads after core.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO / BANNER
   Copy is centred. The photograph is left legible rather than washed out: a
   tight elliptical scrim sits behind the type and fades away toward the frame
   edges, so the people stay clearly visible. Type carries its own shadow so
   the scrim can stay light.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(480px, 46vw, 660px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--deep);
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--deep);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.hero__slide.is-on {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  transition: transform 8s linear;
}

.hero__slide.is-on img {
  transform: scale(1);
}

/* A scrim, not a curtain. Strongest immediately behind the centred type,
   releasing quickly toward the edges where the photograph should read clearly. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 58% 96% at 50% 48%,
      rgba(1, 69, 78, 0.72) 0%,
      rgba(1, 69, 78, 0.62) 46%,
      rgba(1, 95, 107, 0.22) 80%,
      rgba(1, 95, 107, 0.1) 100%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  padding-block: clamp(60px, 6.5vw, 96px);
}

.hero__rule {
  width: 118px;
  height: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.hero__title {
  font-size: var(--h1);
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.13;
  margin: 26px 0;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(1, 49, 56, 0.55);
}

.hero__title em {
  font-style: normal;
  color: var(--aqua-bright);
}

.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 0.68rem + 0.55vw, 1.02rem);
  font-weight: 700;
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  /* cancels the trailing letter-space so the line is truly centred */
  text-indent: var(--track-wide);
  text-shadow: 0 1px 14px rgba(1, 49, 56, 0.6);
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero__dots button {
  width: 30px;
  height: 4px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), width 0.3s var(--ease);
}

.hero__dots button.is-on {
  background: var(--aqua);
  width: 46px;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(1, 69, 78, 0.4);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.15rem;
  transition: all 0.28s var(--ease);
}

.hero__arrow:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.hero__arrow--prev {
  left: 26px;
}

.hero__arrow--next {
  right: 26px;
}

/* --------------------------------------------------------------------------
   2. ABOUT US — full width, no image
   -------------------------------------------------------------------------- */
.about {
  background: var(--paper);
}

.about__body {
  column-count: 2;
  column-gap: clamp(34px, 4vw, 62px);
  font-size: 1.03rem;
  color: var(--ink-mid);
  max-width: 1080px;
  margin-inline: auto;
}

.about__body p {
  break-inside: avoid;
}

.about__lead {
  column-span: all;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.3rem;
  padding-left: 22px;
  border-left: 3px solid var(--brand);
}

.about__marks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.about__mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--deep);
  border: 1px solid var(--deep);
  font-size: var(--step-sm);
  font-weight: 600;
  color: #fff;
}

.about__mark i {
  color: var(--aqua);
}

/* --------------------------------------------------------------------------
   3. COMMITTEE MEMBERS — auto-playing carousel
   -------------------------------------------------------------------------- */
.committee {
  background: var(--paper-cool);
}

.mslider {
  position: relative;
  --per: 4;
}

.mslider__viewport {
  overflow: hidden;
  padding-block: 6px;
}

.mslider__track {
  display: flex;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.mslider__slide {
  flex: 0 0 calc(100% / var(--per));
  padding-inline: 12px;
}

.mcard {
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.mcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-line);
}

.mcard__media {
  padding: 26px 26px 0;
}

.mcard__ring {
  position: relative;
  width: 152px;
  margin-inline: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--aqua-line);
  transition: border-color 0.35s var(--ease);
}

.mcard:hover .mcard__ring {
  border-color: var(--brand);
}

.mcard__ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.mcard__ring::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: border-color 0.35s var(--ease);
}

.mcard:hover .mcard__ring::after {
  border-color: var(--brand-line);
}

.mcard__body {
  padding: 24px 22px 30px;
}

.mcard__name {
  font-family: var(--font-display);
  font-size: 18px;
  ;
  margin-bottom: 8px;
  color: var(--ink);
}

.mcard__role {
  display: inline-block;
  font-size: var(--step-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  padding: 6px 15px;
}

.mcard__place {
  margin-top: 14px;
  font-size: var(--step-sm);
  color: var(--ink-soft);
}

.mslider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--deep);
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  transition: all 0.28s var(--ease);
}

.mslider__arrow:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.mslider__arrow--prev {
  left: -18px;
}

.mslider__arrow--next {
  right: -18px;
}

.mslider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.mslider__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--aqua-line);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.mslider__dots button.is-on {
  background: var(--brand);
  width: 26px;
  border-radius: 999px;
}

.committee__more {
  text-align: center;
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   4. WHY JOIN US — deep band
   -------------------------------------------------------------------------- */
.why {
  background: var(--deep);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* seal motif, blown up as a watermark */
.why::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.03);
  top: -260px;
  right: -180px;
}

.wcard {
  height: 100%;
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--deep-line);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.wcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-light), var(--aqua));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.wcard:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

.wcard:hover::before {
  transform: scaleX(1);
}

.wcard__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(86, 197, 208, 0.16);
  color: var(--aqua);
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.wcard:hover .wcard__icon {
  background: var(--brand);
  color: #fff;
}

.wcard__title {
  font-size: var(--h3);
  margin-bottom: 10px;
  color: #fff;
}

.wcard p {
  font-size: var(--step-sm);
  margin: 0;
  color: var(--on-deep-bright);
}

/* --------------------------------------------------------------------------
   5. OUR SPECIALITY
   -------------------------------------------------------------------------- */
.speciality {
  background: var(--paper-warm);
}

.scard {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

.scard:hover {
  transform: translateY(-5px);
  border-color: var(--brand-line);
  box-shadow: var(--shadow);
}

.scard__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: var(--aqua);
  font-size: 1.6rem;
  transition: all 0.32s var(--ease);
}

.scard:hover .scard__icon {
  background: var(--brand);
  color: #fff;
}

.scard__label {
  font-family: var(--font-body);
  font-size: var(--step-sm);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   6. EVENTS AND NEWS
   -------------------------------------------------------------------------- */
.events {
  background: var(--paper);
}

.ecard {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.ecard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--aqua-line);
}

.ecard__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--deep);
}

.ecard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.ecard:hover .ecard__media img {
  transform: scale(1.06);
}

.ecard__date {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: var(--deep);
  border-radius: 12px;
  padding: 9px 14px;
  text-align: center;
  line-height: 1.1;
  box-shadow: var(--shadow);
  min-width: 62px;
}

.ecard__day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.ecard__mon {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua-bright);
  margin-top: 2px;
}

.ecard__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ecard__tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  background: var(--aqua-tint);
  border: 1px solid var(--aqua-line);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 14px;
}

.ecard__title {
  font-size: var(--h3);
  margin-bottom: 10px;
}

.ecard__title a {
  color: inherit;
}

.ecard__title a:hover {
  color: var(--brand);
}

.ecard p {
  font-size: var(--step-sm);
  margin-bottom: 20px;
}

.ecard__foot {
  margin-top: auto;
}

.events__more {
  text-align: center;
  margin-top: 46px;
}

/* --------------------------------------------------------------------------
   7. STATS — deep teal band with icons and hairline dividers
   -------------------------------------------------------------------------- */
.stats {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 800px 420px at 15% 20%, rgba(3, 126, 141, 0.55) 0%, transparent 60%),
    linear-gradient(120deg, var(--deep-2) 0%, var(--deep) 52%, var(--deep-2) 100%);
  padding-block: clamp(44px, 4.5vw, 68px);
}

.stats::before,
.stats::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.stats::before {
  width: 420px;
  height: 420px;
  top: -190px;
  right: 6%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 44px rgba(255, 255, 255, 0.04);
}

.stats::after {
  width: 240px;
  height: 240px;
  bottom: -140px;
  left: 4%;
  border: 1px solid rgba(196, 122, 99, 0.3);
  box-shadow: 0 0 0 28px rgba(162, 86, 65, 0.1);
}

.stat {
  position: relative;
  text-align: center;
  padding: 6px 14px;
}

/* hairline divider between columns */
.stat::after {
  content: "";
  position: absolute;
  right: calc(var(--bs-gutter-x, 1rem) / -2);
  top: 14%;
  height: 72%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.stat__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--aqua);
  font-size: 1.35rem;
  transition: all 0.35s var(--ease);
}

.stat:hover .stat__icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-3px);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.4rem + 2.3vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat__num sup {
  font-size: 0.46em;
  top: -0.8em;
  color: var(--aqua-bright);
}

.stat__label {
  margin-top: 12px;
  font-size: var(--step-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-deep-soft);
}

/* --------------------------------------------------------------------------
   8. CONTACT — email only, no phone numbers
   -------------------------------------------------------------------------- */
.contact {
  background: var(--paper-cool);
}

.contact__title {
  font-size: var(--h2);
  margin-bottom: 16px;
}

.contact__text {
  font-size: var(--step-lg);
  color: var(--ink-soft);
  margin-bottom: 30px;
}

.mailbox {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--deep);
  border: 1px solid var(--deep);
}

.mailbox:hover {
  background: var(--deep-2);
}

.mailbox__icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--aqua);
  font-size: 1.25rem;
}

.mailbox__label {
  display: block;
  font-size: var(--step-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-deep-soft);
  margin-bottom: 4px;
}

.mailbox__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
}

.contact__note {
  margin-top: 22px;
  font-size: var(--step-sm);
  color: var(--ink-soft);
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.2vw, 42px);
  box-shadow: var(--shadow);
}

.form-card .form-label {
  font-size: var(--step-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-card .form-control {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: var(--step-sm);
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper-cool);
  box-shadow: none;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.form-card .form-control::placeholder {
  color: #96a9b0;
}

.form-card .form-control:focus {
  border-color: var(--aqua-deep);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(36, 115, 126, 0.12);
}

.form-card textarea.form-control {
  min-height: 132px;
  resize: vertical;
}

.form-note {
  display: none;
  margin-top: 18px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: var(--step-sm);
  font-weight: 600;
}

.form-note.is-on {
  display: block;
}

.form-note--ok {
  background: var(--aqua-tint);
  color: var(--aqua-deep);
  border: 1px solid var(--aqua-line);
}

.form-note--err {
  background: var(--brand-tint);
  color: var(--brand-deep);
  border: 1px solid var(--brand-line);
}

/* --------------------------------------------------------------------------
   9. CTA — compact band above the footer. Label on the left, actions on the
   right. Reused on every page.
   -------------------------------------------------------------------------- */
.cta {
  padding-block: clamp(44px, 4.5vw, 72px);
  background: var(--paper);
}

.cta__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: clamp(16px, 1.8vw, 22px);
  background:
    radial-gradient(ellipse 620px 320px at 92% 50%, rgba(3, 126, 141, 0.55) 0%, transparent 66%),
    linear-gradient(100deg, var(--deep-2) 0%, var(--deep) 70%, var(--deep) 100%);
  padding: clamp(26px, 3vw, 38px) clamp(24px, 3.4vw, 48px);
  box-shadow: var(--shadow);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 46px);
}

.cta__panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  right: -90px;
  top: -130px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 32px rgba(255, 255, 255, 0.04);
}

.cta__label {
  flex: 1 1 auto;
  min-width: 0;
}

.cta__eyebrow {
  display: block;
  font-size: var(--step-xs);
  font-weight: 800;
  letter-spacing: var(--track-mid);
  text-transform: uppercase;
  color: var(--aqua-bright);
  margin-bottom: 8px;
}

.cta__title {
  font-size: clamp(1.3rem, 1rem + 1.1vw, 1.95rem);
  margin: 0;
  color: #fff;
  line-height: 1.22;
  text-wrap: balance;
}

.cta__title em {
  font-style: normal;
  color: var(--aqua-bright);
}

.cta__text {
  margin: 8px 0 0;
  font-size: var(--step-sm);
  color: var(--on-deep-bright);
}

.cta__actions {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   10. INNER PAGE BLOCKS
   -------------------------------------------------------------------------- */
.prose {
  font-size: 1.03rem;
  color: var(--ink-mid);
  /*max-width: 780px; */
}

.prose h3 {
  font-size: var(--h3);
  margin-top: 2rem;
}

.prose h3:first-child {
  margin-top: 0;
}

.side-card {
  background: var(--deep);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  color: var(--on-deep-soft);
}

.side-card h3 {
  color: #fff;
  font-size: var(--h3);
  margin-bottom: 16px;
}

.side-card__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  font-size: var(--step-sm);
}

.side-card__list li {
  display: flex;
  gap: 11px;
  padding-block: 9px;
  border-bottom: 1px solid var(--deep-line);
}

.side-card__list li:last-child {
  border-bottom: 0;
}

.side-card__list i {
  color: var(--aqua);
  margin-top: 4px;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  align-items: baseline;
  justify-content: space-between;
}

.fact-row+.fact-row {
  margin-top: 12px;
}

.fact-row__k {
  font-weight: 700;
  color: var(--ink);
  font-size: var(--step-sm);
}

.fact-row__v {
  color: var(--ink-mid);
  font-size: var(--step-sm);
}

.text-brand {
  color: var(--brand) !important;
}

/* --------------------------------------------------------------------------
   11. MEMBER DIRECTORY — search + filter, tile grid
   -------------------------------------------------------------------------- */
.mfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 34px;
}

.mfilter__search {
  position: relative;
  flex: 1 1 260px;
}

.mfilter__search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
}

.mfilter__search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px 11px 42px;
  font-size: var(--step-sm);
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper-cool);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.mfilter__search input:focus {
  border-color: var(--aqua-deep);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(1, 95, 107, 0.1);
}

.mfilter__select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 34px 11px 18px;
  font-size: var(--step-sm);
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-cool);
  flex: 0 0 auto;
}

.mfilter__count {
  font-size: var(--step-xs);
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  margin-left: auto;
}

.mfilter__count b {
  color: var(--brand);
}

.mtile {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.mtile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--aqua-line);
}

.mtile__photo {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--aqua-line);
}

.mtile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mtile__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 3px;
}

.mtile__meta {
  font-size: var(--step-xs);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mtile__meta i {
  color: var(--brand);
}

.mtile__badge {
  margin-left: auto;
  flex: none;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  background: var(--aqua-tint);
  border: 1px solid var(--aqua-line);
  border-radius: 999px;
  padding: 4px 10px;
}

.mempty {
  display: none;
  text-align: center;
  padding: 50px 20px;
  color: var(--ink-soft);
}

.mempty.is-on {
  display: block;
}

.mempty i {
  font-size: 2rem;
  color: var(--aqua-line);
  margin-bottom: 12px;
  display: block;
}

/* --------------------------------------------------------------------------
   12. MULTI-STEP APPLICATION FORM
   -------------------------------------------------------------------------- */
.wizard {
  max-width: 880px;
  margin-inline: auto;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  padding: 35px;
  border-radius: 30px;
  background: #f1fffe;
}

.wizard__steps {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: clamp(30px, 4vw, 46px);
  counter-reset: wizstep;
}

.wizard__step {
  flex: 1 1 0;
  text-align: center;
  position: relative;
  font-size: var(--step-xs);
  font-weight: 700;
  color: var(--ink-soft);
}

.wizard__step::before {
  counter-increment: wizstep;
  content: counter(wizstep);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 700;
  transition: all 0.3s var(--ease);
}

.wizard__step::after {
  content: "";
  position: absolute;
  top: 19px;
  left: calc(-50% + 19px);
  width: calc(100% - 38px);
  height: 2px;
  background: var(--line);
  z-index: -1;
  transition: background-color 0.3s var(--ease);
}

.wizard__step:first-child::after {
  content: none;
}

.wizard__step.is-active {
  color: var(--brand);
}

.wizard__step.is-active::before {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.wizard__step.is-done::before {
  background: var(--aqua-deep);
  border-color: var(--aqua-deep);
  color: #fff;
  content: "\F633";
  font-family: "bootstrap-icons";
  font-size: 1rem;
}

.wizard__step.is-done::after,
.wizard__step.is-active::after {
  background: var(--aqua-deep);
}

.wizard__step.is-done {
  color: var(--aqua-deep);
}

.wizard__panel {
  display: none;
}

.wizard__panel.is-active {
  display: block;
  animation: wizFade 0.4s var(--ease);
}

@keyframes wizFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.wizard__panel h3 {
  font-size: var(--h3);
  margin-bottom: 6px;
}

.wizard__panel .wizard__hint {
  font-size: var(--step-sm);
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.wform-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.wform-check:hover {
  border-color: var(--aqua-line);
  background: var(--aqua-tint);
}

.wform-check input {
  margin-top: 3px;
  accent-color: var(--brand);
  flex: none;
}

.wform-check strong {
  display: block;
  font-size: var(--step-sm);
  color: var(--ink);
}

.wform-check span {
  display: block;
  font-size: var(--step-xs);
  color: var(--ink-soft);
  margin-top: 2px;
}

.wform-check.is-checked {
  border-color: var(--brand);
  background: var(--brand-tint);
}

.wupload {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  color: var(--ink-soft);
  font-size: var(--step-sm);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.wupload:hover {
  border-color: var(--aqua-deep);
  background: var(--aqua-tint);
}

.wupload i {
  font-size: 1.6rem;
  color: var(--brand);
  display: block;
  margin-bottom: 8px;
}

.wreview {
  background: var(--paper-cool);
  border-radius: var(--radius-lg);
  padding: 26px 26px;
}

.wreview__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-sm);
}

.wreview__row:last-child {
  border-bottom: 0;
}

.wreview__k {
  color: var(--ink-soft);
  font-weight: 600;
}

.wreview__v {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

.wizard__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 34px;
  gap: 14px;
}

.wizard__nav .btn-wb-ghost:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.wizard__success {
  display: none;
  text-align: center;
  padding: clamp(40px, 6vw, 70px) 20px;
}

.wizard__success.is-on {
  display: block;
}

.wizard__success i {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--aqua-tint);
  color: var(--aqua-deep);
  font-size: 2.1rem;
}

.wizard__success h3 {
  font-size: var(--h2);
  margin-bottom: 10px;
}

.wizard__success p {
  color: var(--ink-soft);
  max-width: 480px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   13. DOWNLOADS
   -------------------------------------------------------------------------- */
.drow {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.drow+.drow {
  margin-top: 14px;
}

.drow:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--aqua-line);
}

.drow__icon {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 1.4rem;
}

.drow__icon--pdf {
  background: var(--brand-tint);
  color: var(--brand);
}

.drow__icon--doc {
  background: var(--aqua-tint);
  color: var(--aqua-deep);
}

.drow__icon--xls {
  background: #eaf6ec;
  color: #2f8f4e;
}

.drow__body {
  flex: 1 1 auto;
  min-width: 0;
}

.drow__name {
  font-weight: 700;
  color: var(--ink);
  font-size: var(--step-sm);
  margin-bottom: 3px;
}

.drow__meta {
  font-size: var(--step-xs);
  color: var(--ink-soft);
}

.drow__meta span+span::before {
  content: "•";
  margin: 0 6px;
  opacity: 0.5;
}

.drow__action {
  flex: none;
}

.drow-heading {
  font-family: var(--font-display);
  font-size: var(--h3);
  color: var(--ink);
  margin: clamp(30px, 3vw, 42px) 0 16px;
}

.drow-heading:first-of-type {
  margin-top: 0;
}

.dtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  margin: 0 auto 20px;
}

.dtabs button {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-mid);
  font-size: var(--step-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.dtabs button:hover {
  border-color: var(--aqua-line);
  color: var(--aqua-deep);
}

.dtabs button.is-on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* --------------------------------------------------------------------------
   14. BLOG
   -------------------------------------------------------------------------- */
.bcard {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.bcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--aqua-line);
}

.bcard__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--deep);
}

.bcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.bcard:hover .bcard__media img {
  transform: scale(1.06);
}

.bcard__cat {
  position: absolute;
  left: 16px;
  top: 16px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  padding: 5px 13px;
}

.bcard__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bcard__meta {
  font-size: var(--step-xs);
  color: var(--ink-soft);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.bcard__meta i {
  color: var(--brand);
}

.bcard__title {
  font-size: var(--h3);
  margin-bottom: 10px;
}

.bcard__title a {
  color: inherit;
}

.bcard__title a:hover {
  color: var(--brand);
}

.bcard p {
  font-size: var(--step-sm);
  margin-bottom: 18px;
}

.bcard__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bcard__more {
  font-size: var(--step-sm);
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bcard__more i {
  transition: transform 0.25s var(--ease);
}

.bcard__more:hover i {
  transform: translateX(3px);
}

.bfeatured {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: clamp(34px, 4vw, 52px);
}

.bfeatured__media {
  flex: 1 1 380px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  background: var(--deep);
}

.bfeatured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.bfeatured__body {
  flex: 1 1 340px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bfeatured__tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.bfeatured__title {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   15. FIND A PMR SPECIALIST — district-filtered doctor directory
   -------------------------------------------------------------------------- */
.dcard {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.dcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--aqua-line);
}

.dcard__top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 24px 0;
}

.dcard__photo {
  width: 68px;
  height: 68px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--aqua-line);
}

.dcard__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dcard__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ink);
  margin: 0 0 4px;
}

.dcard__spec {
  font-size: var(--step-xs);
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dcard__body {
  padding: 18px 24px 24px;
}

.dcard__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--step-sm);
  color: var(--ink-mid);
  padding-block: 7px;
  border-top: 1px solid var(--line-soft);
}

.dcard__row:first-child {
  border-top: 0;
}

.dcard__row i {
  color: var(--aqua-deep);
  margin-top: 3px;
  flex: none;
}

.dcard__district {
  align-self: flex-start;
  margin-left: auto;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  background: var(--aqua-tint);
  border: 1px solid var(--aqua-line);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}

.dcard__foot {
  padding: 0 24px 24px;
}

/* District tab bar reuses .dtabs; the empty state reuses .mempty pattern */
.sfilter-count {
  font-size: var(--step-xs);
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.sfilter-count b {
  color: var(--brand);
}

.dropdown-item.active,
.dropdown-item:active {
  background: none
}

.middle-list {
  margin: 0 auto;
  display: table
}

.middle-list button {
  margin: 5px;

}

/* .gallery-section {} */

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: .5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: .4s ease;
}

.gallery-icon {
  width: 60px;
  height: 60px;
  background: #fff;
  color: #0d6efd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  transform: scale(.5);
  transition: .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.12);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-icon {
  transform: scale(1);
}

.gallery-icon:hover {
  background: #015f6b;
  color: #fff;
}

.btn-quote {
  background: #a25641;
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  /* text-transform: uppercase; */
  letter-spacing: .5px;
  transition: .35s ease;
  white-space: nowrap;
  font-size: 14px;
  text-align: center;
}

.btn-quote:hover {
  background: #111;
  color: #fff;
  transform: translateY(-3px);
}

.top-member {
  margin-left: 70px;
}



@media screen and (max-width: 1226px) {
  .top-member {
    margin-left: 42px;
  }
}









/*==============================
    Custom Listing Page 05-08-26
===============================*/
/*==============================
    Listing Page
===============================*/

.custom-listing-page .clp-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  height: 100%;
  transition: .35s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
  border: 1px solid #ececec;
}

.custom-listing-page .clp-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .15);
}

.custom-listing-page .clp-image-box {
  position: relative;
  overflow: hidden;
}

.custom-listing-page .clp-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: .5s;
}

.custom-listing-page .clp-card:hover .clp-image {
  transform: scale(1.08);
}

.custom-listing-page .clp-category {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #b45d2a;
  color: #fff;
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  z-index: 2;
}

.custom-listing-page .clp-content {
  padding: 28px;
}

.custom-listing-page .clp-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  color: #777;
  margin-bottom: 18px;
}

.custom-listing-page .clp-heading {
  margin-bottom: 18px;
  line-height: 1.3;
}

.custom-listing-page .clp-heading a {
  font-size: 24px;
  font-weight: 600;
  color: #8c4b2f;
  text-decoration: none;
  transition: .3s;
}

.custom-listing-page .clp-heading a:hover {
  color: #b45d2a;
}

.custom-listing-page .clp-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 25px;
}

.custom-listing-page .clp-footer {
  border-top: 1px solid #ececec;
  padding-top: 20px;
}

.custom-listing-page .clp-btn {
  color: #b45d2a;
  font-weight: 700;
  text-decoration: none;
  transition: .3s;
}

.custom-listing-page .clp-btn:hover {
  letter-spacing: 1px;
  color: #000;
}

@media(max-width:991px) {

  .custom-listing-page .clp-heading a {
    font-size: 28px;
  }

  .custom-listing-page .clp-image {
    height: 220px;
  }

}

@media(max-width:767px) {

  .custom-listing-page .clp-heading a {
    font-size: 24px;
  }

  .custom-listing-page .clp-content {
    padding: 22px;
  }

  .custom-listing-page .clp-image {
    height: 210px;
  }

}





/*==============================
    Custom Details Page
===============================*/

/* .custom-details-page{
    font-family:Arial, Helvetica, sans-serif;
} */

.custom-details-page .cdp-banner img{
    width:100%;
    height:550px;
    object-fit:cover;
}

.custom-details-page .cdp-content{
    max-width:900px;
    margin:auto;
}

.custom-details-page .cdp-category{
    display:inline-block;
    background:#0d6efd;
    color:#fff;
    padding:6px 15px;
    border-radius:30px;
    margin-bottom:20px;
}

.custom-details-page .cdp-title{
    font-size:30px;
    font-weight:600;
    margin-bottom:20px;
}

.custom-details-page .cdp-meta{
    color:#777;
    margin-bottom:30px;
}

.custom-details-page p{
    /* font-size:18px; */
    line-height:1.6;
    /* color:#555; */
    text-align:justify;
}

.custom-details-page h2,
.custom-details-page h3,
.custom-details-page h4{
    margin-top:40px;
    margin-bottom:20px;
    font-weight:700;
}

.custom-details-page img{
    width:45%;
    border-radius:12px;
    margin:30px 0;
}

.custom-details-page blockquote{
    border-left:5px solid #0d6efd;
    background:#f8f9fa;
    padding:25px;
    font-size:20px;
    font-style:italic;
    margin:40px 0;
}

.custom-details-page ul{
    padding-left:20px;
}

.custom-details-page li{
    margin-bottom:10px;
    line-height:1.8;
}

.custom-details-page a{
    color:#0d6efd;
}

.custom-details-page table{
    width:100%;
    margin:30px 0;
    border-collapse:collapse;
}

.custom-details-page table th,
.custom-details-page table td{
    border:1px solid #ddd;
    padding:12px;
}

.custom-details-page table th{
    background:#f5f5f5;
}