/**
 * MemberPress surfaces: login, account, checkout, thank-you page, pricing.
 * Loaded after MemberPress's stylesheets, so overrides need no specificity
 * tricks.
 */

/* ==========================================================================
   Neutralize — classes we had to keep for functional reasons
   ========================================================================== */

.fc-scope .mepro-boxed,
.fc-scope .mepro-form,
.fc-scope .mp_wrapper {
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.fc-scope .mp-form-row { margin: 0 0 var(--fc-sp-3); padding: 0; }
.fc-scope .mp-form-label { margin: 0; }
.fc-scope .mp-spacer { display: none; }

.fc-scope input[type="submit"].button-primary,
.fc-scope .mepr-share-button {
  width: auto;
  text-shadow: none;
  box-shadow: none;
}

/* MemberPress's eye button inside the password field. */
.fc-scope .mp-hide-pw { position: relative; display: block; }

.fc-scope .mp-hide-pw input[type="password"],
.fc-scope .mp-hide-pw input[type="text"] { padding-right: 2.9rem; }

.fc-scope button.mp-hide-pw {
  position: absolute;
  top: 50%;
  right: 0.3rem;
  transform: translateY(-50%);
  background: none;
  border: 0;
  padding: 0.45rem;
  color: var(--fc-muted);
  cursor: pointer;
  line-height: 1;
}

.fc-scope button.mp-hide-pw:hover { color: var(--fc-ink); }

/* ==========================================================================
   Entry pages: log in, forgot password, reset password
   ========================================================================== */

.fc-entry {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: var(--fc-sp-6) var(--fc-sp-4);
  background: var(--fc-tint);
}

/* The only diagonal here: a single hairline at the corridor's angle
   (arctan 190/396 ≈ 25.6°). No channel beyond that, because there is no
   progress to show yet. */
.fc-entry__rule {
  position: absolute;
  top: 50%;
  left: -25%;
  width: 150%;
  height: 1px;
  background: var(--fc-line);
  transform: rotate(-25.6deg);
  pointer-events: none;
}

.fc-entry__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 27rem;
  margin: 0 auto;
  background: var(--fc-block);
  border-radius: var(--fc-r-card);
  padding: var(--fc-sp-5);
  box-shadow: 0 1px 2px rgba(50, 50, 50, 0.05), 0 18px 44px -20px rgba(50, 50, 50, 0.25);
}

.fc-entry__head { margin-bottom: var(--fc-sp-4); }

.fc-entry__brand {
  font-size: var(--fc-t-s);
  font-weight: 560;
  color: var(--fc-flow);
  margin: 0 0 var(--fc-sp-2);
}

.fc-entry__head h1 { font-size: var(--fc-t-xl); margin-bottom: var(--fc-sp-2); }
.fc-entry__head .fc-lede { margin: 0; font-size: var(--fc-t-base); }

.fc-form__actions { margin-top: var(--fc-sp-4); }
.fc-form__actions .fc-btn { width: 100%; justify-content: center; }

.fc-check {
  display: flex;
  align-items: center;
  gap: var(--fc-sp-2);
}

.fc-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--fc-flow);
  margin: 0;
  flex: none;
}

.fc-check label { font-size: var(--fc-t-s); color: var(--fc-ink-soft); margin: 0; }

.fc-entry__actions {
  margin-top: var(--fc-sp-3);
  padding-top: var(--fc-sp-3);
  border-top: 1px solid var(--fc-line);
  font-size: var(--fc-t-s);
}

.fc-entry--split .fc-entry__image { display: none; }

@media (min-width: 900px) {
  .fc-entry--split {
    grid-template-columns: minmax(0, 27rem) minmax(0, 1fr);
    gap: var(--fc-sp-6);
    max-width: var(--fc-page);
    margin: 0 auto;
  }

  .fc-entry--split .fc-entry__panel { margin: 0; }

  .fc-entry--split .fc-entry__image {
    display: block;
    margin: 0;
    border-radius: var(--fc-r-band);
    overflow: hidden;
  }

  .fc-entry--split .fc-entry__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ==========================================================================
   Form labels — MemberPress floats them inside the field as a floating
   placeholder; here they simply sit above it.
   ========================================================================== */

.fc-scope .fc-field > .mp-form-label > label,
.fc-scope .fc-field > label {
  position: static;
  display: block;
  transform: none;
  font-size: var(--fc-t-s);
  font-weight: 560;
  color: var(--fc-ink);
  margin: 0 0 var(--fc-sp-1);
  padding: 0;
  background: none;
  pointer-events: auto;
}

/* ==========================================================================
   Account page: container and navigation
   ========================================================================== */

/* account.css makes the container at least 100vh tall. Inside .fc-shell,
   which already fills the screen, that added the bar and the footer on top:
   even a short tab like Deelnemers needed scrolling to reach the footer. */
.fc-scope .mepr-account-container {
  display: block;
  max-width: var(--fc-page);
  min-height: 0;
  margin: 0 auto;
  padding: 0 var(--fc-sp-4) var(--fc-sp-6);
  background: none;
  border: 0;
}

/* The line belongs under the tabs themselves, not under the nav: the nav is
   wider than the content, because the page margin sits on an inner div. */
.fc-scope #mepr-account-nav {
  background: none;
  border-bottom: 0;
  margin: 0 0 var(--fc-sp-5);
  padding: 0;
  width: auto;
  min-height: 0;
  border-radius: 0;
}

.fc-scope #mepr-account-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fc-sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--fc-line);
}

.fc-scope #mepr-account-nav .mepr-nav-item { margin: 0; padding: 0; background: none; }

.fc-scope #mepr-account-nav .mepr-nav-item a {
  display: block;
  padding: var(--fc-sp-2) 0;
  color: var(--fc-muted);
  text-decoration: none;
  font-size: var(--fc-t-s);
  font-weight: 540;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.fc-scope #mepr-account-nav .mepr-nav-item a:hover { color: var(--fc-ink); }

.fc-scope #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab a,
.fc-scope #mepr-account-nav .mepr-nav-item.mepr-nav-active a {
  color: var(--fc-ink);
  border-bottom-color: var(--fc-accent);
  /* account.css puts a semi-transparent black fill on the link itself here. */
  background: none;
}

/* Padding is set below on .fc-account__content; here we only release the
   width that account.css imposes. Do NOT set padding: 0 here — this is an
   ID selector and it beats the class further down. */
.fc-scope #mepr-account-content { width: auto; max-width: none; }

/* ==========================================================================
   The course at the top
   ========================================================================== */

.fc-programme {
  display: grid;
  gap: var(--fc-sp-5);
  align-items: center;
  margin-bottom: var(--fc-sp-6);
}

.fc-programme__eyebrow {
  margin: 0 0 var(--fc-sp-1);
  font-size: var(--fc-t-s);
  font-weight: 400;
  color: var(--fc-ink-soft);
}

.fc-scope .fc-programme h1 { font-size: var(--fc-t-2xl); margin-bottom: var(--fc-sp-2); }

.fc-programme__count {
  margin: 0 0 var(--fc-sp-4);
  color: var(--fc-muted);
  font-size: var(--fc-t-s);
}

.fc-resume { max-width: 30rem; }
.fc-resume__label { margin: 0 0 var(--fc-sp-1); font-size: var(--fc-t-s); color: var(--fc-muted); }

.fc-scope .fc-resume__title {
  font-size: var(--fc-t-l);
  margin: 0 0 var(--fc-sp-2);
  letter-spacing: 0;
}

.fc-resume__time { margin: 0 0 var(--fc-sp-3); }

.fc-programme__channel { margin: 0; }
.fc-programme__channel figcaption { margin-top: var(--fc-sp-2); max-width: 44ch; }

@media (min-width: 900px) {
  .fc-programme { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: var(--fc-sp-6); }
}

/* ==========================================================================
   Profile details — markup unchanged, only styled more quietly
   ========================================================================== */

.fc-profile { border-top: 1px solid var(--fc-line); padding-top: var(--fc-sp-5); }
.fc-scope .fc-profile h2 { font-size: var(--fc-t-l); margin-bottom: var(--fc-sp-4); }

.fc-scope .mepr-profile-wrapper {
  display: grid;
  gap: var(--fc-sp-4);
  background: none;
  border: 0;
  padding: 0;
}

.fc-scope #mepr-profile-details {
  background: var(--fc-block);
  border: 0;
  box-shadow: var(--fc-shadow-sm);
  border-radius: var(--fc-r-band);
  padding: var(--fc-sp-4);
}

.fc-scope .mepr-profile-details__list { margin: 0; display: grid; gap: var(--fc-sp-3); }

.fc-scope .mepr-profile-details__list dt {
  display: flex;
  align-items: center;
  gap: var(--fc-sp-1);
  font-size: var(--fc-t-s);
  color: var(--fc-muted);
  font-weight: 500;
  margin: 0;
}

.fc-scope .mepr-profile-details__list dd {
  margin: 0 0 var(--fc-sp-2);
  font-size: var(--fc-t-base);
  color: var(--fc-ink);
}

.fc-scope .mepr-profile-details__button {
  background: none;
  border: 0;
  padding: 0.15rem;
  cursor: pointer;
  line-height: 0;
  opacity: 0.55;
}

.fc-scope .mepr-profile-details__button:hover { opacity: 1; }

.fc-scope .mepr-profile-wrapper__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fc-sp-2);
  list-style: none;
  margin: var(--fc-sp-4) 0 0;
  padding: var(--fc-sp-4) 0 0;
  border-top: 1px solid var(--fc-line);
}

.fc-scope .mepr-profile-wrapper__footer a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-pill);
  color: var(--fc-ink);
  text-decoration: none;
  font-size: var(--fc-t-s);
  font-weight: 540;
  background: none;
}

.fc-scope .mepr-profile-wrapper__footer a:hover { border-color: var(--fc-ink); }

/* ==========================================================================
   Fixes to MemberPress's stylesheets
   ========================================================================== */

/* The account navigation carries icons as pseudo-elements; in a quiet tab
   bar they add nothing and make the line unreadable. */
.fc-scope #mepr-account-nav .mepr-nav-item a::before,
.fc-scope #mepr-account-nav .mepr-nav-item a::after {
  content: none;
  display: none;
}

.fc-scope #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab,
.fc-scope #mepr-account-nav .mepr-nav-item.--active {
  background: none;
  border-radius: 0;
}

.fc-scope #mepr-account-nav .mepr-nav-item.--active a {
  color: var(--fc-ink);
  border-bottom-color: var(--fc-accent);
  background: none;
}

/* ==========================================================================
   Additional CSS from the Customizer (post 222, belongs to Astra)
   It was written when the account navigation was still a coloured bar, and
   so sets `#mepr-account-nav li a { color: var(--brand-primary-text)
   !important }`. On our light bar that gives white text on white. Instead
   of overriding it with !important, we redefine the variable that rule
   reads: that way the cascade stays theirs.
   ========================================================================== */

.fc-scope #mepr-account-nav { --brand-primary-text: var(--fc-muted); }

.fc-scope #mepr-account-nav .mepr-nav-item:hover,
.fc-scope #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab,
.fc-scope #mepr-account-nav .mepr-nav-item.--active { --brand-primary-text: var(--fc-ink); }

/* ==========================================================================
   Checkout

   We leave the form itself alone: MemberPress's payment logic hangs off it
   (gateway fields, coupon AJAX, Stripe elements). Only the styling is
   switched over here.
   ========================================================================== */

/* checkout.css: min-height 100vh from 1024px, the same push below the fold
   as on the account page. */
.fc-scope .mepr-signup-form,
.fc-scope .mepr-checkout-container {
  max-width: var(--fc-page);
  min-height: 0;
  margin: 0 auto;
  padding: var(--fc-sp-5) var(--fc-sp-4) var(--fc-sp-6);
  background: none;
}

.fc-scope .mepr-checkout-container .form-wrapper,
.fc-scope .mepr-checkout-container .invoice-wrapper {
  background: var(--fc-block);
  border: 0;
  box-shadow: var(--fc-shadow-sm);
  border-radius: var(--fc-r-band);
  padding: var(--fc-sp-4);
}

.fc-scope .mepr-form-input,
.fc-scope .mepr-checkout-container input[type="text"],
.fc-scope .mepr-checkout-container input[type="email"],
.fc-scope .mepr-checkout-container input[type="password"],
.fc-scope .mepr-checkout-container select {
  border-radius: var(--fc-r-control);
  border: 1px solid var(--fc-line);
}

.fc-scope .mepr-checkout-container .mepr-submit,
.fc-scope input[type="submit"].mepr-submit {
  background: var(--fc-accent);
  border-color: var(--fc-accent);
  color: #fff;
  border-radius: var(--fc-r-pill);
  padding: 0.85rem 1.6rem;
  font-weight: 560;
}

.fc-scope .mepr-checkout-container .mepr-submit:hover {
  background: var(--fc-accent-dark);
  border-color: var(--fc-accent-dark);
}

/* ==========================================================================
   Thank-you page
   ========================================================================== */

.fc-thankyou { padding: var(--fc-sp-6) 0; }

.fc-thankyou__eyebrow {
  margin: 0 0 var(--fc-sp-1);
  font-size: var(--fc-t-s);
  font-weight: 400;
  color: var(--fc-ink-soft);
}

.fc-scope .fc-thankyou h1 { font-size: var(--fc-t-2xl); margin-bottom: var(--fc-sp-2); }
.fc-thankyou__actions { margin: var(--fc-sp-4) 0 var(--fc-sp-6); }

.fc-thankyou__receipt {
  background: var(--fc-block);
  border: 0;
  box-shadow: var(--fc-shadow-sm);
  border-radius: var(--fc-r-band);
  padding: var(--fc-sp-4);
  max-width: 34rem;
}

.fc-scope .fc-thankyou__receipt h2 { font-size: var(--fc-t-m); margin-bottom: var(--fc-sp-3); }

.fc-thankyou__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--fc-sp-1) var(--fc-sp-4);
  margin: 0 0 var(--fc-sp-3);
}

.fc-thankyou__meta dt { color: var(--fc-muted); font-size: var(--fc-t-s); }
.fc-thankyou__meta dd { margin: 0; font-weight: 560; }
.fc-thankyou__back { margin-top: var(--fc-sp-4); font-size: var(--fc-t-s); }

/* ==========================================================================
   Pricing
   ========================================================================== */

.fc-scope .mepr-price-menu .mepr-price-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--fc-sp-4);
  align-items: start;
}

.fc-scope .mepr-price-menu .mepr-price-box {
  background: var(--fc-block);
  border: 0;
  box-shadow: var(--fc-shadow-sm);
  border-radius: var(--fc-r-band);
  padding: var(--fc-sp-4);
  box-shadow: none;
}

.fc-scope .mepr-price-menu .mepr-most-popular {
  background: var(--fc-ink);
  color: #fff;
  border-radius: var(--fc-r-pill);
  padding: 0.3rem 0.9rem;
  font-size: var(--fc-t-xs);
  font-weight: 600;
}

.fc-scope .mepr-price-menu .mepr-price-box a.mepr-price-box-button {
  background: var(--fc-accent);
  color: #fff;
  border-radius: var(--fc-r-pill);
  padding: 0.8rem 1.5rem;
  font-weight: 560;
  text-decoration: none;
  display: inline-block;
}

/* ==========================================================================
   Community (Circles)

   The plugin's stylesheet carries two default colours: #06429e (blue) and
   #1da69a (turquoise). They don't belong to this brand, so we convert them
   wherever they are visible. Your own Customizer CSS already colours buttons
   here with --brand-primary; we leave that in place.
   ========================================================================== */

.fc-scope.mpcirc-circle-page,
body.mpcirc-circle-page {
  background: var(--fc-surface);
  font-family: var(--fc-ui);
  color: var(--fc-ink);
}

.fc-community { padding: var(--fc-sp-6) 0 var(--fc-sp-6); }
.fc-community__head { margin-bottom: var(--fc-sp-5); }

.fc-community__eyebrow {
  margin: 0 0 var(--fc-sp-1);
  font-size: var(--fc-t-s);
  font-weight: 400;
  color: var(--fc-ink-soft);
}

.fc-scope .fc-community h1 { font-size: var(--fc-t-2xl); margin-bottom: var(--fc-sp-2); }
.fc-community__filters { margin-bottom: var(--fc-sp-5); }

/* On the overview two page containers are nested: the plugin's main and the
   div from our override. Both got side margins, which indented the title
   28px (18px on a phone) further than on any other page. The outer one
   keeps the measure; the inner one no longer does anything. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content > .mpcirc-main-content {
  max-width: none;
  padding: 0;
}

/* ---- The groups ---- */

.fc-scope .fc-circles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: var(--fc-sp-4);
  margin: 0;
}

.fc-scope .fc-circle {
  display: flex;
  flex-direction: column;
  background: var(--fc-block);
  border: 0;
  box-shadow: var(--fc-shadow-sm);
  border-radius: var(--fc-r-band);
  overflow: hidden;
  text-decoration: none;
  color: var(--fc-ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
  height: 100%;
  box-shadow: none;
  padding: 0;
}

.fc-scope .fc-circle:hover { border-color: var(--fc-ink); }

@media (prefers-reduced-motion: no-preference) {
  .fc-scope .fc-circle:hover { transform: translateY(-2px); }
}

.fc-circle__figure {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--fc-flow-soft);
}

.fc-scope .fc-circle__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}

.fc-circle__body {
  display: flex;
  flex-direction: column;
  gap: var(--fc-sp-1);
  padding: var(--fc-sp-3) var(--fc-sp-3) var(--fc-sp-4);
  flex: 1 1 auto;
}

.fc-scope .fc-circle__title {
  font-size: var(--fc-t-m);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--fc-ink);
  margin: 0;
  font-family: var(--fc-display);
}

.fc-circle__text {
  font-size: var(--fc-t-s);
  color: var(--fc-ink-soft);
  line-height: 1.5;
}

.fc-circle__meta {
  margin-top: auto;
  padding-top: var(--fc-sp-2);
  font-size: var(--fc-t-xs);
  color: var(--fc-muted);
}

/* ---- Search and filter ---- */

.fc-scope .mpcirc-search-input,
.fc-scope .mpcirc-filter-select,
.fc-scope #mpcirc-main-content input[type="search"],
.fc-scope #mpcirc-main-content input[type="text"],
.fc-scope #mpcirc-main-content select {
  border-radius: var(--fc-r-pill);
  border: 1px solid var(--fc-line);
  background: #fff;
  color: var(--fc-ink);
  font-family: var(--fc-ui);
  padding: 0.7rem 1.1rem;
}

.fc-scope #mpcirc-main-content input:focus,
.fc-scope #mpcirc-main-content select:focus {
  border-color: var(--fc-flow);
  box-shadow: 0 0 0 3px var(--fc-flow-soft);
  outline: none;
}

/* ---- Inside a group ---- */

.fc-scope #mpcirc-masthead {
  background: #fff;
  border-bottom: 1px solid var(--fc-line);
}

.fc-scope .mpcirc-page-navigation ul li a {
  border-radius: var(--fc-r-pill);
  font-weight: 540;
  color: var(--fc-ink-soft);
}

.fc-scope .mpcirc-page-navigation ul li a.active,
.fc-scope .mpcirc-page-navigation ul li a:hover {
  background: var(--fc-accent);
  border-color: var(--fc-accent);
  color: #fff;
}

.fc-scope #mpcirc-main-content button,
.fc-scope #mpcirc-main-content .mpcirc-btn {
  border-radius: var(--fc-r-pill);
  font-family: var(--fc-ui);
  font-weight: 560;
}

.fc-scope .mpcirc-post,
.fc-scope .mpcirc-feed-item,
.fc-scope .mpcirc-circle-post {
  background: var(--fc-block);
  border: 0;
  box-shadow: var(--fc-shadow-sm);
  border-radius: var(--fc-r-card);
  box-shadow: none;
}

/* Convert the plugin's default turquoise to our green. */
.fc-scope [style*="#1da69a"],
.fc-scope .mpcirc-badge,
.fc-scope .mpcirc-tag {
  border-radius: var(--fc-r-pill);
}

/* The plugin's card rules carry body.mpcirc-circle-page and so beat a single
   class; we prefix with both body classes to be sure we come out on top, in
   their media queries too. */

.fc-scope.mpcirc-circle-page .mpcirc-circles-grid {
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  column-gap: var(--fc-sp-4);
  row-gap: var(--fc-sp-4);
}

.fc-scope.mpcirc-circle-page .mpcirc-circle-card {
  align-items: stretch;
  padding: 0;
  border-radius: var(--fc-r-band);
}

.fc-scope.mpcirc-circle-page .mpcirc-circle-card:hover {
  box-shadow: none;
  border-color: var(--fc-ink);
}

.fc-scope.mpcirc-circle-page .mpcirc-circle-card:focus-visible {
  outline: 2px solid var(--fc-accent);
  outline-offset: 2px;
  border-radius: var(--fc-r-band);
}

.fc-scope.mpcirc-circle-page .mpcirc-circle-image {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  background-color: var(--fc-flow-soft);
}

.fc-scope.mpcirc-circle-page .mpcirc-circle-card:hover .mpcirc-circle-image { opacity: 1; }

.fc-scope.mpcirc-circle-page .mpcirc-circle-title {
  text-align: left;
  font-size: var(--fc-t-m);
  font-weight: 700;
  color: var(--fc-ink);
  line-height: 1.25;
  font-family: var(--fc-display);
}

.fc-scope.mpcirc-circle-page .mpcirc-circle-card:hover .mpcirc-circle-title {
  color: var(--fc-accent);
}

.fc-scope.mpcirc-circle-page .fc-lede { color: var(--fc-ink-soft); }

/* Entry pages: one big, confident statement instead of a generic little
   white card. */

.fc-scope .fc-entry__headline {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0 0 var(--fc-sp-3);
  text-wrap: balance;
}

.fc-entry__head .fc-lede { font-size: var(--fc-t-m); margin: 0; }

.fc-scope .fc-entry__panel {
  max-width: 30rem;
  padding: var(--fc-sp-5) var(--fc-sp-5) var(--fc-sp-5);
  border-radius: var(--fc-r-band);
}

/* ==========================================================================
   Mobile
   ========================================================================== */

/* Side margin set explicitly as longhands: more robust than the shorthand
   when another stylesheet overrides that shorthand after all. */
.fc-scope .mepr-account-container {
  padding-left: var(--fc-sp-4);
  padding-right: var(--fc-sp-4);
}

@media (max-width: 839px) {
  /* MemberPress hides the account navigation below 840px and only shows it
     through a hamburger that lived in its own header. That header has been
     replaced, so we restore the tabs here as a strip you can scroll sideways. */
  .fc-scope #mepr-account-nav { display: block; }

  .fc-scope #mepr-account-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: var(--fc-sp-3);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .fc-scope #mepr-account-nav ul::-webkit-scrollbar { display: none; }
  .fc-scope #mepr-account-nav .mepr-nav-item a { white-space: nowrap; }

  .fc-scope .mepr-account-container {
    padding-left: var(--fc-sp-3);
    padding-right: var(--fc-sp-3);
  }

  .fc-scope .fc-programme h1 { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.2rem); }
  .fc-programme__channel { max-width: 26rem; }
  .fc-scope .fc-circles__grid { grid-template-columns: 1fr; }
  .fc-scope.mpcirc-circle-page .mpcirc-circles-grid { grid-template-columns: 1fr; }
  .fc-community { padding-top: var(--fc-sp-5); }
  .fc-scope .fc-community h1 { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 2.3rem); }
}

@media (max-width: 520px) {
  .fc-scope .mepr-profile-wrapper__footer { flex-direction: column; align-items: stretch; }
  .fc-scope .mepr-profile-wrapper__footer a { justify-content: center; }
}

/* ==========================================================================
   Account page — our own wrapper, so the margin here is guaranteed to be ours
   ========================================================================== */

.fc-scope .fc-account { display: block; overflow: visible; }

.fc-scope .fc-account__navinner,
.fc-scope #mepr-account-content.fc-account__content {
  max-width: var(--fc-page);
  margin: 0 auto;
  padding-left: var(--fc-sp-4);
  padding-right: var(--fc-sp-4);
  width: 100%;
}

.fc-scope #mepr-account-content.fc-account__content { padding-bottom: var(--fc-sp-6); }

@media (max-width: 839px) {
  .fc-scope .fc-account__navinner,
  .fc-scope #mepr-account-content.fc-account__content {
    padding-left: var(--fc-sp-3);
    padding-right: var(--fc-sp-3);
  }
}

/* Grid items default to min-width:auto and so won't shrink below their
   content; without min-width:0 the channel runs off-screen on a narrow
   screen. */
.fc-programme > * { min-width: 0; }

.fc-scope .fc-programme__channel {
  min-width: 0;
  max-width: 100%;
}

.fc-scope .fc-channel { max-width: 100%; }

@media (max-width: 839px) {
  .fc-programme { gap: var(--fc-sp-4); align-items: start; }
  .fc-scope .fc-account__navinner + * { margin-top: 0; }
  .fc-scope #mepr-account-content.fc-account__content { padding-top: var(--fc-sp-4); }
  .fc-scope #mepr-account-nav { margin-bottom: 0; }
}

/* ==========================================================================
   Lists inside the account container

   account.css sets `.mepr-account-container ul, .mepr-account-container ol
   { margin: 0 0 1.5em 3em }`. That is a class plus an element, so it beats
   a reset on a class alone. Reset it here with the same specificity.
   ========================================================================== */

.fc-scope .mepr-account-container ul.mepr-profile-wrapper__footer,
.fc-scope .mepr-account-container ol.fc-rail__sections,
.fc-scope .mepr-account-container ul.fc-rail__lessons {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  list-style: none;
}

/* ==========================================================================
   My courses (account tab)
   ========================================================================== */

/* The plugin caps its wrapper at 1000px; the tab then stopped short of the
   right edge of the account navigation above it. */
.fc-scope #mepr-account-content .mepr-courses-wrapper { max-width: none; }
.fc-scope .mepr-courses-wrapper .mepr_page_header { margin-bottom: var(--fc-sp-4); }

.fc-mycourses { display: grid; gap: var(--fc-sp-3); }

/* A course as a card, like the cards of the course list: the channel with
   your position, the course with its progress, and the button. On a phone
   only the title sits beside a small channel; progress and the next lesson
   get the full width below it, and the button spans the card. */
.fc-mycourse {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  grid-template-areas:
    "media head"
    "details details"
    "action action";
  gap: var(--fc-sp-2) var(--fc-sp-3);
  align-items: center;
  padding: var(--fc-sp-3);
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-band);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fc-mycourse:hover {
  border-color: #cfdcd3;
  box-shadow: 0 20px 44px -30px rgba(29, 94, 55, 0.4);
}

@media (min-width: 720px) {
  .fc-mycourse {
    grid-template-columns: 10rem minmax(0, 1fr) auto;
    grid-template-areas:
      "media head action"
      "media details action";
    row-gap: var(--fc-sp-1);
    column-gap: var(--fc-sp-4);
    padding-right: var(--fc-sp-4);
  }

  .fc-mycourse__head { align-self: end; }
  .fc-mycourse__details { align-self: start; }
}

.fc-mycourse__media {
  grid-area: media;
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--fc-r-card);
  overflow: hidden;
  background: var(--fc-grad-panel);
}

/* Without labels: at this size they're too small to read. */
.fc-mycourse__channel { position: absolute; inset: 9% 7% 6%; display: block; }
.fc-mycourse__channel .fc-channel { display: block; width: 100%; height: 100%; }
.fc-mycourse .fc-channel__label { display: none; }

.fc-mycourse__head { grid-area: head; min-width: 0; }
.fc-mycourse__details { grid-area: details; min-width: 0; }

.fc-scope .fc-mycourse__title { font-size: var(--fc-t-l); margin: 0 0 0.3rem; line-height: 1.25; }
.fc-scope .fc-mycourse__title a { color: var(--fc-ink); text-decoration: none; }
.fc-scope .fc-mycourse__title a:hover { color: var(--fc-accent); }

.fc-mycourse__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  font-size: var(--fc-t-xs);
  color: var(--fc-muted);
}

.fc-scope .fc-mycourse .fc-mycourse__meter { display: block; max-width: 24rem; margin: 0 0 var(--fc-sp-2); }

/* Running text, so a long lesson title wraps under "Verder bij" instead of
   breaking away from it. */
.fc-mycourse__next { margin: 0; font-size: var(--fc-t-s); line-height: 1.45; }
.fc-mycourse__label { color: var(--fc-muted); margin-right: 0.3rem; }
.fc-mycourse__lesson { font-weight: 560; color: var(--fc-ink); }

.fc-mycourse__action { grid-area: action; display: flex; }
.fc-scope .fc-mycourse__action .fc-btn { flex: 1 1 auto; justify-content: center; text-align: center; }

/* Side by side the buttons get one width, so "Ga verder" and "Starten" line up. */
@media (min-width: 720px) {
  .fc-scope .fc-mycourse__action .fc-btn { flex: none; min-width: 9.5rem; }
}

@media (max-width: 719px) {
  .fc-scope .fc-mycourse__title { font-size: var(--fc-t-m); }
  .fc-scope .fc-mycourse .fc-mycourse__meter { max-width: none; }
}

.fc-mycourses__nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--fc-sp-4);
  font-size: var(--fc-t-s);
}

/* account.css gives the widget area at the bottom a top border; without
   widgets a stray little line is left behind. */
.fc-scope #mepr-account-content .mepr-rl-footer-widgets {
  border-top: 0;
  padding-top: 0;
}

.fc-scope #mepr-account-content .mepr-rl-footer-widgets:not(:empty) .widget-area {
  border-top: 1px solid var(--fc-line);
  padding-top: var(--fc-sp-4);
  margin-top: var(--fc-sp-5);
}

/* ==========================================================================
   Phone: the course at the top of the account
   ========================================================================== */

@media (max-width: 720px) {
  .fc-programme { gap: var(--fc-sp-4); margin-bottom: var(--fc-sp-5); }
  .fc-programme__channel { max-width: 100%; overflow: hidden; }
  .fc-scope .fc-programme__channel .fc-channel { width: 100%; }

  .fc-scope .fc-resume { max-width: none; }
  .fc-card { padding: var(--fc-sp-3); }

  /* On a phone the entry pages don't need to be vertically centred. */
  .fc-entry { min-height: 0; padding: var(--fc-sp-5) var(--fc-sp-3) var(--fc-sp-6); align-items: start; }
  .fc-scope .fc-entry__panel { padding: var(--fc-sp-4); max-width: none; }
  .fc-scope .fc-entry__headline { font-size: clamp(1.75rem, 1.2rem + 3vw, 2.4rem); }
}

/* ==========================================================================
   Payments and subscriptions

   Below 600px MemberPress already stacks these tables with data-label
   prefixes; we keep that setup and only dress it up. Above that width it is
   a normal table, but without the heavy borders.
   ========================================================================== */

.fc-scope .mepr-pro-account-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--fc-ui);
  font-size: var(--fc-t-s);
  color: var(--fc-ink);
  margin: 0 0 var(--fc-sp-4);
}

.fc-scope .mepr-pro-account-table thead th {
  text-align: left;
  font-weight: 560;
  font-size: var(--fc-t-xs);
  color: var(--fc-muted);
  padding: 0 var(--fc-sp-3) var(--fc-sp-2);
  border-bottom: 1px solid var(--fc-line);
  background: none;
}

.fc-scope .mepr-pro-account-table tbody td {
  padding: var(--fc-sp-3);
  border-bottom: 1px solid var(--fc-line);
  vertical-align: middle;
  background: none;
}

.fc-scope .mepr-pro-account-table tbody tr:last-child td { border-bottom: 0; }
.fc-scope .mepr-pro-account-table tbody tr:hover td { background: var(--fc-hover); }

.fc-scope .mepr-pro-account-table .mepr-pro-account-table__col-actions { text-align: right; }

.fc-scope .mepr-pro-account-table .mepr-account-row-action,
.fc-scope .mepr-pro-account-table__col-actions button {
  background: none;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-pill);
  padding: 0.35rem 0.9rem;
  font-family: var(--fc-ui);
  font-size: var(--fc-t-xs);
  font-weight: 540;
  color: var(--fc-ink);
  cursor: pointer;
}

.fc-scope .mepr-pro-account-table .mepr-account-row-action:hover { border-color: var(--fc-ink); }

/* Status labels: active in green, expired or cancelled in a quiet tone. */
.fc-scope .mepr-account-active,
.fc-scope .mepr-status-active { color: var(--fc-flow); font-weight: 560; }

.fc-scope .mepr-account-expired,
.fc-scope .mepr-status-expired,
.fc-scope .mepr-account-cancelled { color: var(--fc-muted); }

@media (max-width: 600px) {
  /* Each row becomes a small block: label on the left, value on the right. */
  .fc-scope .mepr-account-container table tr {
    display: block;
    margin-bottom: var(--fc-sp-3);
    border-bottom: 0;
    background: var(--fc-block);
    border-radius: var(--fc-r-band);
    padding: var(--fc-sp-2) var(--fc-sp-3);
  }

  .fc-scope .mepr-account-container table td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--fc-sp-3);
    text-align: right;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(50, 50, 50, 0.08);
  }

  .fc-scope .mepr-account-container table td:last-child { border-bottom: 0; }

  .fc-scope .mepr-account-container table td:before {
    float: none;
    flex: 0 0 auto;
    color: var(--fc-muted);
    font-size: var(--fc-t-xs);
    text-align: left;
  }

  .fc-scope .mepr-account-container table td div { margin-left: 0; }
  .fc-scope .mepr-pro-account-table .mepr-pro-account-table__col-actions { justify-content: flex-end; }
}

/* Circles colours paragraphs in its own blue-grey; inside our headers and
   intros we want the brand text colour. */
.fc-scope.mpcirc-circle-page .fc-community__head .fc-lede,
.fc-scope.mpcirc-circle-page .fc-community p,
.fc-scope.mpcirc-circle-page #mpcirc-main-content p { color: var(--fc-ink-soft); }

.fc-scope.mpcirc-circle-page .fc-community__eyebrow { color: var(--fc-ink-soft); }

/* ==========================================================================
   Inside a circle

   Circles' rules carry body.mpcirc-circle-page (element + class); with
   .fc-scope.mpcirc-circle-page (three classes) we cleanly come out on top.
   ========================================================================== */

.fc-scope.mpcirc-circle-page #mpcirc-main-content,
.fc-scope.mpcirc-circle-page .mpcirc-main-content {
  max-width: var(--fc-page);
  margin: 0 auto;
  padding: var(--fc-sp-5) var(--fc-sp-4) var(--fc-sp-6);
}

/* ---- Header ---- */

/* The hero is a flex container with justify-content: center; that is where
   the centring comes from, not from text-align. */
.fc-scope.mpcirc-circle-page .mpcirc-main-hero {
  justify-content: flex-start;
  margin-bottom: var(--fc-sp-5);
  min-height: 0;
}

.fc-scope.mpcirc-circle-page .mpcirc-main-hero-heading {
  font-family: var(--fc-display);
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  color: var(--fc-ink);
  margin: 0;
  text-align: left;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.8rem);
}

/* ---- Tab bar ---- */

.fc-scope.mpcirc-circle-page .mpcirc-page-navigation {
  background: none;
  border-bottom: 1px solid var(--fc-line);
  border-radius: 0;
  padding: 0;
  margin-bottom: var(--fc-sp-4);
}

.fc-scope.mpcirc-circle-page .mpcirc-page-navigation ul {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: var(--fc-sp-4);
  margin: 0;
  padding: 0;
  list-style: none;
  scrollbar-width: none;
}

.fc-scope.mpcirc-circle-page .mpcirc-page-navigation ul::-webkit-scrollbar { display: none; }
.fc-scope.mpcirc-circle-page .mpcirc-page-navigation li { margin: 0; flex: 0 0 auto; }

.fc-scope.mpcirc-circle-page .mpcirc-page-navigation ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: var(--fc-sp-2) 0;
  margin-bottom: -1px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--fc-muted);
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.fc-scope.mpcirc-circle-page .mpcirc-page-navigation ul li a:hover {
  background: none;
  border-color: transparent;
  border-bottom-color: var(--fc-line);
  color: var(--fc-ink);
}

.fc-scope.mpcirc-circle-page .mpcirc-page-navigation ul li a.active {
  background: none;
  border: 0;
  border-bottom: 2px solid var(--fc-accent);
  color: var(--fc-ink);
  font-weight: 600;
}

.fc-scope.mpcirc-circle-page .mpcirc-page-navigation-icon { opacity: 0.65; }
.fc-scope.mpcirc-circle-page .mpcirc-page-navigation ul li a.active .mpcirc-page-navigation-icon { opacity: 1; }

/* ---- Search and sort ---- */

.fc-scope.mpcirc-circle-page .mpcirc-search-and-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--fc-sp-2);
  align-items: center;
  margin-bottom: var(--fc-sp-4);
}

/* flex-basis works along the main axis: in the row layout that is the width,
   but on a phone Circles puts the bar in a column — there 16rem would become
   the height. Hence a basis of auto, and grow only. */
.fc-scope.mpcirc-circle-page .mpcirc-search-container { flex: 1 1 auto; min-width: 0; max-width: 24rem; }

.fc-scope.mpcirc-circle-page .mpcirc-search-input,
.fc-scope.mpcirc-circle-page .mpcirc-dropdown-selected {
  border-radius: var(--fc-r-pill);
  border: 1px solid var(--fc-line);
  background: #fff;
  color: var(--fc-ink);
  font-family: var(--fc-ui);
  font-size: var(--fc-t-s);
  padding: 0.7rem 1.1rem;
  height: auto;
}

.fc-scope.mpcirc-circle-page .mpcirc-search-input { padding-left: 2.6rem; }
.fc-scope.mpcirc-circle-page .mpcirc-search-icon { left: 1rem; color: var(--fc-muted); }
.fc-scope.mpcirc-circle-page .mpcirc-custom-dropdown { flex: 0 0 auto; min-width: 12rem; }

/* Open and focused: our green focus ring instead of the plugin's blue,
   matching the search bar. */
.fc-scope.mpcirc-circle-page .mpcirc-custom-dropdown:focus-visible .mpcirc-dropdown-selected,
.fc-scope.mpcirc-circle-page .mpcirc-custom-dropdown[aria-expanded="true"] .mpcirc-dropdown-selected {
  border-color: var(--fc-flow);
  box-shadow: 0 0 0 3px var(--fc-flow-soft);
}

.fc-scope.mpcirc-circle-page .mpcirc-custom-dropdown:focus:not(:focus-visible):not([aria-expanded="true"]) .mpcirc-dropdown-selected {
  border-color: var(--fc-line);
  box-shadow: none;
}

/* The list gets padding so an option's highlight doesn't stick to the edge.
   An option's radius is the list's radius minus that padding, so the curves
   run parallel. */
.fc-scope.mpcirc-circle-page .mpcirc-dropdown-options {
  padding: var(--fc-sp-1);
  border-radius: var(--fc-r-card);
  border: 1px solid var(--fc-line);
  box-shadow: 0 2px 4px rgba(50, 50, 50, 0.06), 0 16px 40px -14px rgba(50, 50, 50, 0.25);
  overflow: hidden;
}

/* The ID is needed: the plugin colours options with #mpcirc-main-content in
   the selector, and the general button rule above turns them into pills. An
   option's text lines up with the text in the field: 1.1rem padding there,
   minus the list's padding here. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-dropdown-options .mpcirc-dropdown-option {
  display: block;
  padding: 0.6rem calc(1.1rem - var(--fc-sp-1));
  border-radius: calc(var(--fc-r-card) - var(--fc-sp-1));
  font-family: var(--fc-ui);
  font-size: var(--fc-t-s);
  font-weight: 400;
  color: var(--fc-ink);
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-dropdown-options .mpcirc-dropdown-option:hover,
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-dropdown-options .mpcirc-dropdown-option:focus {
  background: var(--fc-hover);
  color: var(--fc-ink);
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-dropdown-options .mpcirc-dropdown-option[aria-selected="true"],
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-dropdown-options .mpcirc-dropdown-option[aria-selected="true"]:hover {
  background: var(--fc-flow-soft);
  color: var(--fc-ink);
  font-weight: 560;
}

/* ---- Creating a post ---- */

.fc-scope.mpcirc-circle-page .mpcirc-post-creation-form,
.fc-scope.mpcirc-circle-page .mpcirc-post-form {
  background: var(--fc-block);
  border: 0;
  box-shadow: var(--fc-shadow-sm);
  border-radius: var(--fc-r-band);
  padding: var(--fc-sp-3);
  margin-bottom: var(--fc-sp-4);
}

.fc-scope.mpcirc-circle-page .mpcirc-post-form-input {
  border-radius: var(--fc-r-card);
  border: 1px solid var(--fc-line);
  background: #fff;
  font-family: var(--fc-ui);
  font-size: var(--fc-t-base);
  padding: 0.75rem 1rem;
  color: var(--fc-ink);
}

.fc-scope.mpcirc-circle-page .mpcirc-post-form-avatar img,
.fc-scope.mpcirc-circle-page .mpcirc-post-form-avatar { border-radius: 50%; }

.fc-scope.mpcirc-circle-page .mpcirc-post-form-icon-btn {
  background: none;
  border: 0;
  color: var(--fc-muted);
  border-radius: var(--fc-r-control);
}

.fc-scope.mpcirc-circle-page .mpcirc-post-form-icon-btn:hover { color: var(--fc-ink); background: var(--fc-hover); }

/* ---- Posts ----
   One card per post. Header, text and actions flow into one another without
   dividing lines; the conversation below gets its own lightly tinted area.
   That leaves one line instead of four.

   The plugin sets many rules with #mpcirc-main-content in the selector, some
   of them with !important. That's why the ID appears everywhere here, and
   !important only where the plugin itself uses it too. */

/* No overflow: hidden. The menu behind the three dots opens inside the card
   and was getting clipped. Nothing in the card has its own background
   reaching the edge any more, so the rounded corners stay clean anyway. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post {
  background: #fff;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-band);
  overflow: visible;
  margin: 0 0 var(--fc-sp-3);
  box-shadow: none;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fc-sp-2);
  margin: 0;
  padding: var(--fc-sp-3) var(--fc-sp-3) 0;
  background: none;
  border: 0;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-author img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

/* The plugin gives the name a 12px bottom margin; the role below floated loose. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-author-name {
  margin: 0;
  font-family: var(--fc-display);
  font-size: var(--fc-t-base);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fc-ink);
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-author-role {
  font-size: var(--fc-t-xs);
  line-height: 1.3;
  color: var(--fc-muted);
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-meta {
  display: flex;
  align-items: center;
  gap: var(--fc-sp-2);
  flex: none;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-time-ago {
  font-size: var(--fc-t-xs);
  color: var(--fc-muted);
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-content {
  padding: var(--fc-sp-2) var(--fc-sp-3) 0;
}

/* Posts are short, social texts: set in the interface typeface, like the
   comments below them. The reading typeface stays reserved for lessons. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-content-text,
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-content-text p {
  font-family: var(--fc-ui);
  font-size: var(--fc-t-base);
  line-height: 1.6;
  color: var(--fc-ink);
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-content-text { max-width: var(--fc-read-measure); }
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-content-text p { margin: 0 0 0.75em; }
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-content-text > :last-child { margin-bottom: 0; }

/* The buttons have their own padding; the footer shifts that back so the
   heart starts directly below the text. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-footer {
  display: flex;
  align-items: center;
  gap: var(--fc-sp-1);
  margin: 0;
  padding: var(--fc-sp-2) var(--fc-sp-3) var(--fc-sp-2) calc(var(--fc-sp-3) - 0.4rem);
  border: 0;
  background: none;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-footer-likes,
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-footer-comments {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem 0.25rem 0.4rem;
  border-radius: var(--fc-r-pill);
  background: none;
  font-family: var(--fc-ui);
  color: var(--fc-ink-soft);
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-footer-likes:hover,
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-footer-comments:hover {
  background: var(--fc-hover);
  color: var(--fc-ink);
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-footer-likes-count,
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-footer-comments-count {
  font-size: var(--fc-t-s);
  font-weight: 500;
  color: inherit;
}

/* Note: these icons are a circle with a background-image. Only change the
   colour, because the shorthand also removes the icon. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-footer-icon { background-color: transparent; }

/* ---- Comments ---- */

/* The conversation: just one line above it, on white. A tint in the page's
   pink looked like a hole inside the white card. A post without comments
   gets no empty area; as soon as the first comment arrives, it appears on
   its own. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content [id$="-comments-entries"]:not(:has(.mpcirc-comment)) { display: none; }

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-comments {
  margin: 0;
  padding: var(--fc-sp-2) var(--fc-sp-3) 0;
  border-top: 1px solid var(--fc-line);
  background: none;
}

/* Replies to a comment use the same section class. Without this they got
   their own line and padding: the stray line under the first comment. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment .mpcirc-latest-post-comments {
  margin: var(--fc-sp-1) 0 0;
  padding: 0;
  border: 0;
  background: none;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment {
  gap: 0.75rem;
  margin: 0;
  padding: var(--fc-sp-1) 0;
  border: 0;
  background: none;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.1rem;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-author-name-btn {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
  color: var(--fc-ink);
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-text {
  margin: 0 0 0.3rem;
  font-family: var(--fc-ui);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--fc-ink);
}

/* The plugin sets 10 and 11 pixels here; that is too small to read or to
   tap. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-footer {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fc-t-xs);
  color: var(--fc-muted);
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-like-count { font-size: var(--fc-t-xs); color: var(--fc-muted); }

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-reply-btn {
  margin-left: var(--fc-sp-2);
  font-size: var(--fc-t-xs);
  font-weight: 500;
  color: var(--fc-muted);
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-reply-btn:hover { color: var(--fc-ink); }
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-reply-text { font-size: inherit; }

.fc-scope.mpcirc-circle-page .mpcirc-comment-author-profile-name {
  font-family: var(--fc-display);
  font-weight: 700;
  color: var(--fc-ink);
}

/* ---- Comment form ---- */

/* The form and the comments together make one block below the line. With
   no comments, the form itself carries that line. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-comment-form {
  margin: 0;
  padding: var(--fc-sp-2) var(--fc-sp-3) var(--fc-sp-3);
  border-top: 1px solid var(--fc-line);
  background: none;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content [id$="-comments-entries"]:has(.mpcirc-comment) + .mpcirc-latest-post-comment-form {
  border-top: 0;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-form {
  margin: 0;
  padding: 0.4rem 0.75rem 0.4rem 0.4rem;
  border: 1px solid var(--fc-line);
  border-radius: 1.5rem;
  background: #fff;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-form:focus-within {
  border-color: var(--fc-flow);
  box-shadow: 0 0 0 3px var(--fc-flow-soft);
}

/* Align to the top: the field grows as you type, and when centred the
   avatar and the emoji icon ended up floating in the middle. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-form-row {
  align-items: flex-start !important;
  gap: 0.6rem !important;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-form-avatar {
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: 50%;
}

/* On focus the plugin gives the field 18px of extra space at the top, with
   !important; that made the form jump open as soon as you clicked in it. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content textarea.mpcirc-comment-form-input,
.fc-scope.mpcirc-circle-page #mpcirc-main-content textarea.mpcirc-comment-form-input:focus {
  padding: 0.3rem 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--fc-ui) !important;
  font-size: 0.9375rem;
  line-height: 1.45 !important;
  color: var(--fc-ink);
  resize: none !important;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content textarea.mpcirc-comment-form-input::placeholder { color: var(--fc-muted); }

/* The button only appears once you're in the field or have typed something.
   Otherwise every post has a grey, disabled button underneath. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-form-submit-btn-container {
  display: flex;
  justify-content: flex-end;
  margin: var(--fc-sp-2) 0 0;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-comment-form:not(:focus-within) .mpcirc-comment-form-submit-btn-container:has(button:disabled) {
  display: none;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-comment-submit-btn,
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-reply-submit-btn,
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-form-submit-btn {
  margin-left: auto;
  padding: 0.55rem 1.25rem !important;
  border: 1px solid var(--fc-accent) !important;
  border-radius: var(--fc-r-pill) !important;
  background: var(--fc-accent);
  color: #fff;
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transform: none;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-comment-submit-btn:hover,
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-reply-submit-btn:hover,
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-form-submit-btn:hover {
  background: var(--fc-accent-dark);
  border-color: var(--fc-accent-dark) !important;
  color: #fff;
  transform: none;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-comment-submit-btn:disabled,
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-reply-submit-btn:disabled,
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-form-submit-btn:disabled {
  background: var(--fc-line);
  border-color: var(--fc-line) !important;
  color: var(--fc-muted);
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .fc-scope.mpcirc-circle-page #mpcirc-main-content,
  .fc-scope.mpcirc-circle-page .mpcirc-main-content { padding: var(--fc-sp-4) var(--fc-sp-3) var(--fc-sp-6); }
  .fc-scope.mpcirc-circle-page .mpcirc-search-and-filter { flex-direction: column; align-items: stretch; }
  .fc-scope.mpcirc-circle-page .mpcirc-custom-dropdown { min-width: 0; }
}

/* ==========================================================================
   Circle on a phone

   Below 480px Circles stacks every tab at full width (five rows of 50px).
   We keep the scrollable strip, matching the account tabs. These rules have
   to sit inside the same breakpoints, otherwise they don't take effect.
   ========================================================================== */

@media (max-width: 768px) {
  .fc-scope.mpcirc-circle-page .mpcirc-page-navigation {
    padding: 0;
    border-radius: 0;
  }

  .fc-scope.mpcirc-circle-page .mpcirc-page-navigation ul {
    flex-wrap: nowrap;
    gap: var(--fc-sp-3);
    overflow-x: auto;
  }

  .fc-scope.mpcirc-circle-page .mpcirc-page-navigation ul li {
    flex: 0 0 auto;
    min-width: 0;
    margin-bottom: 0;
  }

  .fc-scope.mpcirc-circle-page .mpcirc-page-navigation ul li a {
    flex-direction: row;
    justify-content: flex-start;
    min-height: 0;
    padding: var(--fc-sp-2) 0;
    font-family: var(--fc-display);
    font-weight: 600;
}

  .fc-scope.mpcirc-circle-page .mpcirc-page-navigation ul li a span:last-child { margin-top: 0; }

  .fc-scope.mpcirc-circle-page .mpcirc-search-and-filter {
    flex-direction: column;
    align-items: stretch;
    gap: var(--fc-sp-2);
  }

  .fc-scope.mpcirc-circle-page .mpcirc-search-container {
    position: relative;
    flex: 0 0 auto;
    max-width: none;
  }

  /* The plugin caps the dropdown at 300px; in the column it has to be as wide
     as the search bar and the cards below it. */
  .fc-scope.mpcirc-circle-page .mpcirc-custom-dropdown { flex: 0 0 auto; width: 100%; max-width: none; }
}

@media (max-width: 480px) {
  .fc-scope.mpcirc-circle-page .mpcirc-page-navigation ul li {
    min-width: 0;
    margin-bottom: 0;
  }

  .fc-scope.mpcirc-circle-page .mpcirc-page-navigation ul li a {
    flex-direction: row;
    min-height: 0;
    padding: var(--fc-sp-2) 0;
    font-family: var(--fc-display);
    font-weight: 600;
}
}

/* The search icon is absolutely positioned inside the container; without
   positioning on the container it drops below it. */
.fc-scope.mpcirc-circle-page .mpcirc-search-container { position: relative; }

.fc-scope.mpcirc-circle-page .mpcirc-search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1rem;
  color: var(--fc-muted);
  pointer-events: none;
}

@media (max-width: 768px) {
  /* Circles gives the hero a min-height of 100px plus margin; on a phone that
     is too much air above the tabs. */
  .fc-scope.mpcirc-circle-page .mpcirc-main-hero {
    min-height: 0;
    margin-bottom: var(--fc-sp-3);
  }

  .fc-scope.mpcirc-circle-page .mpcirc-main-hero.no-image { min-height: 0; }
  .fc-scope.mpcirc-circle-page .mpcirc-page-navigation { margin-bottom: var(--fc-sp-3); }
}

/* On hover and on the active tab Circles switches to white icon variants,
   because there was a coloured background underneath. Our tabs sit on a light
   background, so the regular icon has to stay. */
.fc-scope.mpcirc-circle-page .mpcirc-page-navigation a:hover .mpcirc-page-navigation-icon-feed,
.fc-scope.mpcirc-circle-page .mpcirc-page-navigation a.active .mpcirc-page-navigation-icon-feed {
  background-image: url('../../../../plugins/memberpress-circles/public/images/feed-icon.svg');
}

.fc-scope.mpcirc-circle-page .mpcirc-page-navigation a:hover .mpcirc-page-navigation-icon-rules,
.fc-scope.mpcirc-circle-page .mpcirc-page-navigation a.active .mpcirc-page-navigation-icon-rules {
  background-image: url('../../../../plugins/memberpress-circles/public/images/rules-icon.svg');
}

.fc-scope.mpcirc-circle-page .mpcirc-page-navigation a:hover .mpcirc-page-navigation-icon-members,
.fc-scope.mpcirc-circle-page .mpcirc-page-navigation a.active .mpcirc-page-navigation-icon-members {
  background-image: url('../../../../plugins/memberpress-circles/public/images/members-icon.svg');
}

.fc-scope.mpcirc-circle-page .mpcirc-page-navigation a:hover .mpcirc-page-navigation-icon-settings,
.fc-scope.mpcirc-circle-page .mpcirc-page-navigation a.active .mpcirc-page-navigation-icon-settings {
  background-image: url('../../../../plugins/memberpress-circles/public/images/settings-icon.svg');
}

.fc-scope.mpcirc-circle-page .mpcirc-page-navigation a:hover .mpcirc-page-navigation-icon-moderation,
.fc-scope.mpcirc-circle-page .mpcirc-page-navigation a.active .mpcirc-page-navigation-icon-moderation {
  background-image: url('../../../../plugins/memberpress-circles/public/images/moderation-icon.svg');
}

.fc-scope.mpcirc-circle-page .mpcirc-page-navigation a:hover .mpcirc-page-navigation-icon-chat,
.fc-scope.mpcirc-circle-page .mpcirc-page-navigation a.active .mpcirc-page-navigation-icon-chat {
  background-image: url('../../../../plugins/memberpress-circles/public/images/chat-icon.svg');
}

/* ==========================================================================
   Profile buttons and login page, in line with flowconcepts.nl
   ========================================================================== */

/* ReadyLaunch colours these buttons blue. On the site a secondary button is a
   red outline ("Bekijk ons aanbod"). */
.fc-scope .mepr-profile-wrapper__footer a.mepr-button,
.fc-scope .mepr-profile-wrapper__footer a.btn-outline {
  border: 1px solid var(--fc-accent);
  border-radius: var(--fc-r-pill);
  background: transparent;
  color: var(--fc-accent);
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
  padding: 0.6rem 1.4rem;
}

.fc-scope .mepr-profile-wrapper__footer a.mepr-button:hover,
.fc-scope .mepr-profile-wrapper__footer a.btn-outline:hover {
  background: var(--fc-accent);
  border-color: var(--fc-accent);
  color: #fff;
}

/* Login: the tinted band runs on into the footer, with one line in between.
   Without this there was a 160px white strip between two tints. */
.fc-scope.mepr-guest-layout #primary { padding-bottom: 0; }

.fc-scope.mepr-guest-layout .fc-foot {
  margin-top: 0;
  border-top: 1px solid var(--fc-line);
}

/* The welcome message from the MemberPress settings: ReadyLaunch turns it into
   a green notice box. It isn't a notice, so it gets the site's tint. */
.fc-scope .mepr-account-message.mepr-account-welcome-message,
.fc-scope .mepr-account-message.mepr-account-user-message {
  background: var(--fc-tint);
  border: 0;
  border-radius: var(--fc-r-card);
  color: var(--fc-ink);
  padding: var(--fc-sp-3) var(--fc-sp-4);
}

/* ==========================================================================
   Stroming: dashboard, sessions and login
   ========================================================================== */

/* The panel at the top of the dashboard: the only coloured area on the page. */
.fc-scope .fc-programme {
  background: var(--fc-mint);
  border-radius: var(--fc-r-panel);
  padding: clamp(1.5rem, 0.8rem + 3vw, 3.5rem);
  gap: var(--fc-sp-5);
  margin-bottom: var(--fc-sp-6);
}

@media (min-width: 900px) {
  .fc-scope .fc-programme { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); }
}

.fc-programme__greeting {
  margin: 0 0 var(--fc-sp-2);
  font-size: var(--fc-t-m);
  font-weight: 500;
  color: var(--fc-forest);
}

.fc-scope .fc-programme h1 {
  font-size: clamp(2rem, 1.3rem + 2vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-bottom: var(--fc-sp-3);
}

.fc-programme__count {
  margin: 0 0 var(--fc-sp-2);
  color: var(--fc-forest);
  font-variant-numeric: tabular-nums;
}

/* The resume block is the only element that truly sits on top of the panel. */
.fc-scope .fc-programme .fc-card--resume {
  max-width: 28rem;
  padding: var(--fc-sp-4);
  border-radius: var(--fc-r-band);
  background: #fff;
  box-shadow: 0 1px 0 rgba(29, 94, 55, 0.06), 0 26px 50px -30px rgba(29, 94, 55, 0.45);
}

.fc-scope .fc-programme .fc-resume__label { color: var(--fc-muted); }
.fc-scope .fc-programme .fc-resume__title { font-size: var(--fc-t-l); }

.fc-programme__channel figcaption { color: var(--fc-forest); }

/* Login: the form on white on the left, the channel on mint on the right. */
.fc-scope .fc-entry.fc-entry--split { background: #fff; }
.fc-entry--split .fc-entry__rule { display: none; }

.fc-scope .fc-entry--split .fc-entry__panel {
  background: none;
  box-shadow: none;
  padding: 0;
  max-width: 26rem;
}

.fc-entry__flow {
  display: none;
  margin: 0;
  padding: clamp(1.5rem, 0.8rem + 3vw, 3.5rem);
  border-radius: var(--fc-r-panel);
  background: var(--fc-mint);
}

.fc-entry__flow figcaption {
  margin-top: var(--fc-sp-4);
  max-width: 24ch;
  font-family: var(--fc-display);
  font-size: var(--fc-t-l);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fc-forest);
}

@media (min-width: 900px) {
  .fc-scope .fc-entry.fc-entry--split {
    grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 6rem);
  }

  .fc-entry__flow { display: block; }
}

/* Creating a post: one area instead of a card inside a card. The plugin gives
   both the section and the form inside it a border and shadow, with
   !important on padding, corners and shadow; so only those properties get
   !important here too. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-creation-form {
  margin: 0 0 var(--fc-sp-4);
  padding: var(--fc-sp-3) !important;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-band) !important;
  background: #fff;
  box-shadow: none !important;
}

.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-creation-form .mpcirc-post-form {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-creation-form textarea.mpcirc-post-form-input {
  padding: 0.7rem 1.1rem !important;
  border: 1px solid transparent !important;
  border-radius: var(--fc-r-pill) !important;
  background: var(--fc-tint) !important;
  font-size: var(--fc-t-base);
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-creation-form textarea.mpcirc-post-form-input:focus {
  border-color: var(--fc-flow) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px var(--fc-flow-soft);
  outline: none;
}

/* ==========================================================================
   Stroming: the plugin screens
   Members, settings and moderation (Circles), the participant directory
   (Directory) and checkout (MemberPress). The same buttons, fields and
   labels everywhere.
   ========================================================================== */

/* ---- Circles: headings and primary buttons ---- */

/* The plugin sets the page heading inside a tab to 400; that looks like a
   different brand. */
body.fc-scope.mpcirc-circle-page #mpcirc-main-content h2:not(.mpcirc-visually-hidden) {
  font-family: var(--fc-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fc-ink);
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-add-members-btn,
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-submit {
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--fc-accent);
  border-radius: var(--fc-r-pill);
  background: var(--fc-accent);
  color: #fff;
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-add-members-btn:hover,
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-submit:hover {
  border-color: var(--fc-accent-dark);
  background: var(--fc-accent-dark);
}

/* ---- Circles: member list ---- */

/* Filters as pills, like the main menu, instead of little grey bars under
   every word. */
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-filter-link {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 0;
  border-radius: var(--fc-r-pill);
  background: none;
  box-shadow: none;
  color: var(--fc-ink-soft);
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 600;
  text-decoration: none;
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-filter-link:hover { background: var(--fc-tint); color: var(--fc-ink); }

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-filter-link.mpcirc-members-filter-active {
  background: var(--fc-mint);
  color: var(--fc-forest);
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-filter-link::after,
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-filter-link::before { display: none; }

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-table-container {
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-band);
  box-shadow: none;
  overflow: hidden;
}

/* "Geen leden gevonden" (e.g. no moderators yet): the plugin draws it as a
   card of its own with 16px margins, which inside the table's frame made a
   frame in a frame touching the edge. Here it's text in the frame, indented
   like the table cells. */
body.fc-scope.mpcirc-circle-page #members-table .mpcirc-no-results {
  margin: 0;
  padding: var(--fc-sp-4) var(--fc-sp-3);
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--fc-muted);
  font-size: var(--fc-t-s);
}

body.fc-scope.mpcirc-circle-page #members-table .mpcirc-no-results p { margin: 0; }

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-table th {
  padding: var(--fc-sp-2) var(--fc-sp-3);
  background: var(--fc-tint);
  color: var(--fc-ink-soft);
  font-family: var(--fc-ui);
  font-size: var(--fc-t-s);
  font-weight: 600;
  text-transform: none;
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-table td {
  padding: var(--fc-sp-3);
  border-color: var(--fc-line);
  font-size: var(--fc-t-s);
  vertical-align: middle;
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-member-profile-link {
  color: var(--fc-ink);
  font-weight: 600;
  text-decoration: none;
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-member-profile-link:hover { color: var(--fc-accent); }

/* Role and status as small labels at their own width, not as a bar across
   the whole column. Active status gets the mint used for progress. */
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-member-role,
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-member-status {
  display: inline-block;
  width: auto;
  min-width: 0;
  padding: 0.3rem 0.75rem;
  border: 0;
  border-radius: var(--fc-r-pill);
  background: var(--fc-tint);
  color: var(--fc-ink-soft);
  font-size: var(--fc-t-xs);
  font-weight: 600;
  line-height: 1.2;
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-member-status.mpcirc-status-active {
  background: var(--fc-mint);
  color: var(--fc-forest);
}

/* ---- Circles: the "add members" dialog ---- */

/* The same dialog as "change your details" on the account page: large
   radius, a soft deep shadow, a green-tinted backdrop. The plugin set it in
   Inter and Roboto (not loaded, so system fonts), with turquoise buttons.
   Every rule carries the dialog's id: the plugin's strongest rule has one
   too (#mpcirc-main-content). */
body.fc-scope.mpcirc-circle-page #add-members-modal-backdrop { background: rgba(20, 35, 27, 0.45); }

body.fc-scope.mpcirc-circle-page #add-members-modal {
  width: min(32rem, calc(100vw - 2rem));
  max-height: min(38rem, calc(100vh - 2rem));
  border-radius: var(--fc-r-band);
  box-shadow: 0 30px 80px -30px rgba(20, 35, 27, 0.45);
  color: var(--fc-ink);
  font-family: var(--fc-ui);
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-modal-header {
  padding: var(--fc-sp-4) var(--fc-sp-4) 0;
  text-align: left;
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-modal-header h3 {
  color: var(--fc-ink);
  font-family: var(--fc-display);
  font-size: var(--fc-t-l);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-modal-content {
  gap: 0;
  padding: var(--fc-sp-3) var(--fc-sp-4) var(--fc-sp-4);
}

/* Search: a field like the others, with the magnifier of the members page. */
body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-search-input {
  height: auto;
  min-height: 2.9rem;
  padding: 0.6rem 1rem 0.6rem 2.6rem;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-control);
  box-shadow: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23656c68' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='5.5'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") 0.9rem center / 1.1rem no-repeat;
  color: var(--fc-ink);
  font-family: var(--fc-ui);
  font-size: var(--fc-t-base);
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-search-input::placeholder { color: var(--fc-muted); }

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-search-input:focus {
  border-color: var(--fc-flow);
  box-shadow: 0 0 0 3px var(--fc-flow-soft);
  outline: none;
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-search-hint {
  margin: 0.5rem 0 0;
  color: var(--fc-muted);
  font-family: var(--fc-ui);
  font-size: var(--fc-t-s);
  text-align: left;
}

/* Results: rows that tint on hover and turn mint when ticked. */
body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-list-container {
  max-height: 16rem;
  margin-top: var(--fc-sp-2);
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-list { gap: 0.15rem; }

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-member-row {
  height: auto;
  padding: 0.5rem 0.6rem;
  border-radius: var(--fc-r-control);
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-member-row:not(.mpcirc-member-existing):hover { background: var(--fc-tint); }
body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-member-row.selected { background: var(--fc-mint); }

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-member-content { gap: 0.8rem; }

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-checkbox-container {
  width: 1.15rem;
  height: 1.15rem;
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-checkbox {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  accent-color: var(--fc-flow);
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-checkbox:checked::after { content: none; }

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-avatar {
  width: 2.5rem;
  height: 2.5rem;
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-avatar-placeholder {
  background: var(--fc-mint);
  color: var(--fc-forest);
  font-family: var(--fc-display);
  font-weight: 700;
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-member-name {
  color: var(--fc-ink);
  font-family: var(--fc-ui);
  font-size: var(--fc-t-s);
  font-weight: 600;
  line-height: 1.35;
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-member-email {
  color: var(--fc-muted);
  font-family: var(--fc-ui);
  font-size: 0.8125rem;
  line-height: 1.35;
}

/* Already in the group: faded, with its role as a small label like in the
   member list. */
body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-member-existing { opacity: 0.55; }

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-member-label {
  padding: 0.2rem 0.6rem;
  border: 0;
  border-radius: var(--fc-r-pill);
  background: var(--fc-tint);
  color: var(--fc-ink-soft);
  font-size: var(--fc-t-xs);
  font-weight: 600;
  text-transform: none;
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-no-members {
  padding: var(--fc-sp-3) 0;
  color: var(--fc-muted);
  font-size: var(--fc-t-s);
  font-style: normal;
}

/* Before the first search the empty list would still take 40px of padding. */
body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-no-members:empty { display: none; }

/* "Geselecteerd: 2 · Alles wissen" as a quiet bar. */
body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-selected-count {
  margin: var(--fc-sp-2) 0 0;
  padding: 0.55rem 0.8rem;
  border-radius: var(--fc-r-control);
  background: var(--fc-tint);
  color: var(--fc-ink-soft);
  font-size: var(--fc-t-s);
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-selected-number { color: var(--fc-forest); font-weight: 700; }

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-selected-right {
  top: 50%;
  right: 0.8rem;
  transform: translateY(-50%);
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-clear-all {
  color: var(--fc-accent);
  font-size: var(--fc-t-s);
  font-weight: 600;
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-clear-all:hover { color: var(--fc-accent-dark); }

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-form-message {
  margin-top: var(--fc-sp-2);
  padding: 0.6rem 0.8rem;
  border-radius: var(--fc-r-control);
  font-size: var(--fc-t-s);
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-message-error { background: #fdecec; color: #8f1d24; }
body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-message-success { background: var(--fc-mint); color: var(--fc-forest); }

/* Buttons side by side at the bottom right, as pills: the main action
   filled red, "Annuleren" outlined. The plugin stacks them full width. */
body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-form-buttons {
  flex-direction: row-reverse;
  justify-content: flex-start;
  gap: var(--fc-sp-2);
  margin-top: var(--fc-sp-3);
  padding-top: var(--fc-sp-3);
  border-top: 1px solid var(--fc-line);
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-confirm-btn,
body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-cancel-btn {
  width: auto;
  height: auto;
  padding: 0.7rem 1.4rem;
  border-radius: var(--fc-r-pill);
  box-shadow: none;
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
  line-height: 1.2;
}

/* The main button: element and both its classes, because the plugin colours
   it turquoise through #mpcirc-main-content button.….direct-submission
   (1,3,2) as soon as someone is ticked. */
body.fc-scope.mpcirc-circle-page #add-members-modal button.mpcirc-trigger-add-members.mpcirc-add-members-confirm-btn {
  border: 1px solid var(--fc-accent);
  background: var(--fc-accent);
  color: #fff;
  opacity: 1;
}

body.fc-scope.mpcirc-circle-page #add-members-modal button.mpcirc-trigger-add-members.mpcirc-add-members-confirm-btn:hover {
  border-color: var(--fc-accent-dark);
  background: var(--fc-accent-dark);
}

/* Nothing ticked yet: plainly grey, not a faded red. */
body.fc-scope.mpcirc-circle-page #add-members-modal button.mpcirc-trigger-add-members.mpcirc-add-members-confirm-btn:disabled,
body.fc-scope.mpcirc-circle-page #add-members-modal button.mpcirc-trigger-add-members.mpcirc-add-members-confirm-btn.disabled {
  border-color: var(--fc-line);
  background: var(--fc-tint);
  color: var(--fc-muted);
  cursor: not-allowed;
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-cancel-btn {
  border: 1px solid var(--fc-line);
  background: #fff;
  color: var(--fc-ink);
}

body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-cancel-btn:hover {
  border-color: var(--fc-ink);
  background: #fff;
}

@media (max-width: 480px) {
  body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-form-buttons { flex-direction: column; }
  body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-confirm-btn,
  body.fc-scope.mpcirc-circle-page #add-members-modal .mpcirc-add-members-cancel-btn { width: 100%; }
}

/* The spinner while Circles loads something: our green instead of turquoise. */
body.fc-scope.mpcirc-circle-page .mpcirc-loading-container .mpcirc-spin { border-top-color: var(--fc-flow); }

/* ---- Circles: small buttons big enough to hit ---- */

/* The dots and hearts are 14 to 20px. The tap target becomes 32px; the icon
   stays the same size. */
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-action-dots {
  min-width: 2rem;
  min-height: 2rem;
  border-radius: var(--fc-r-pill);
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-latest-post-action-dots:hover { background: var(--fc-tint); }

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-like-icon {
  padding: 0.55rem;
  margin: -0.55rem -0.2rem -0.55rem -0.55rem;
  box-sizing: content-box;
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-comment-reply-btn { padding-block: 0.45rem; }

/* ---- Circles: moderation ---- */

/* On a phone the filter is 2px too wide; let it scroll instead of the whole
   page. */
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-moderation-filter {
  max-width: 100%;
  overflow-x: auto;
}

/* ---- Directory: the participant directory ---- */

/* The directory has no page margin of its own: the title sat against the
   header and 28px left of everything else. Same measure as every other page. */
.fc-scope.single-mpdir-directory #primary.site-main,
.fc-scope.single-mpdir-profile #primary.site-main {
  padding: var(--fc-sp-6) var(--fc-sp-4);
}

@media (max-width: 640px) {
  .fc-scope.single-mpdir-directory #primary.site-main,
  .fc-scope.single-mpdir-profile #primary.site-main { padding: var(--fc-sp-5) var(--fc-sp-3); }
}

.fc-scope .mpdir-search-input,
.fc-scope .mpdir-filter-dropdown {
  height: auto;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-pill);
  background-color: #fff;
  color: var(--fc-ink);
  font-family: var(--fc-ui);
  font-size: var(--fc-t-s);
}

.fc-scope .mpdir-search-input { padding-left: 2.6rem; }
.fc-scope .mpdir-filter-dropdown { padding-right: 2.4rem; }

.fc-scope .mpdir-layout-buttons {
  padding: 0.2rem;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-pill);
}

.fc-scope .mpdir-layout-btn {
  border-radius: var(--fc-r-pill);
  background: none;
  color: var(--fc-ink-soft);
}

.fc-scope .mpdir-layout-btn.active {
  background: var(--fc-mint);
  color: var(--fc-forest);
}


.fc-scope .mpdir-button,
.fc-scope .mpdir-button--primary {
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--fc-accent);
  border-radius: var(--fc-r-pill);
  background: var(--fc-accent);
  color: #fff;
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
}

.fc-scope .mpdir-button:hover,
.fc-scope .mpdir-button--primary:hover { background: var(--fc-accent-dark); border-color: var(--fc-accent-dark); }

/* ---- MemberPress: checkout ---- */

/* The floating field labels turn blue as soon as the field has content. */
.fc-scope .mepr-checkout-container label.placeholder-text,
.fc-scope .mepr-checkout-container label.placeholder-text.active { color: var(--fc-muted); }

.fc-scope .mepr-checkout-container .invoice-heading {
  font-family: var(--fc-ui);
  font-size: var(--fc-t-s);
  font-weight: 500;
  color: var(--fc-muted);
}

/* Three plugin colours that won on specificity or !important. */

/* Circles sets the save button in the group settings with !important. */
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-submit {
  border-color: var(--fc-accent) !important;
  background-color: var(--fc-accent) !important;
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-submit:hover {
  border-color: var(--fc-accent-dark) !important;
  background-color: var(--fc-accent-dark) !important;
}

/* Directory selects the toggle five classes deep. */
.fc-scope .mpdir-directory-filters .mpdir-controls-row .mpdir-layout-buttons .mpdir-layout-btn.active {
  background: var(--fc-mint);
  color: var(--fc-forest);
}

/* ReadyLaunch turns the floating label blue as soon as the field has content. */
.fc-scope .mepr-checkout-container.mp_wrapper .mp-form-row label.placeholder-text,
.fc-scope .mepr-checkout-container.mp_wrapper .mp-form-row label.placeholder-text.active { color: var(--fc-muted); }

/* ---- Directory: fields and cards, using the same selectors the plugin
   itself uses (otherwise it wins on length) ---- */

.fc-scope .mpdir-directory-filters .mpdir-filter-search-container input.mpdir-search-input,
.fc-scope .mpdir-directory-filters .mpdir-filter-dropdown-container select.mpdir-filter-dropdown {
  height: 2.9rem;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-pill);
  background-color: #fff;
  font-family: var(--fc-ui);
  font-size: var(--fc-t-s);
  color: var(--fc-ink);
}

.fc-scope .mpdir-directory-filters .mpdir-filter-search-container input.mpdir-search-input:focus,
.fc-scope .mpdir-directory-filters .mpdir-filter-dropdown-container select.mpdir-filter-dropdown:focus {
  border-color: var(--fc-flow);
  box-shadow: 0 0 0 3px var(--fc-flow-soft);
  outline: none;
}

.fc-scope .mpdir-directory-filters .mpdir-controls-row .mpdir-layout-buttons {
  height: 2.9rem;
  padding: 0.25rem;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-pill);
}

.fc-scope .mpdir-directory-filters .mpdir-controls-row .mpdir-layout-buttons .mpdir-layout-btn { border-radius: var(--fc-r-pill); }

/* Each participant as a card, with the same border and corners as the rest. */
.fc-scope .mpdir-user-template.wp-block-columns {
  border: 1px solid var(--fc-line) !important;
  border-radius: var(--fc-r-band);
  box-shadow: none;
}

.fc-scope .directory-profile-button-wrapper a {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--fc-accent);
  border-radius: var(--fc-r-pill);
  background: transparent;
  color: var(--fc-accent);
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
  text-decoration: none;
}

.fc-scope .directory-profile-button-wrapper a:hover { background: var(--fc-accent); color: #fff; }

/* ---- Circles: member filters, no line underneath and closer together ---- */
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-filter { border-bottom: 0; }
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-filter-list { gap: 0.25rem; flex-wrap: wrap; }

/* The participant directory's blocks set corners and colour as inline styles
   (from the block editor). Only those properties get !important here. */
.fc-scope .mpdir-directory-filters .mpdir-filter-search-container input.mpdir-search-input,
.fc-scope .mpdir-directory-filters .mpdir-filter-dropdown-container select.mpdir-filter-dropdown {
  height: 2.9rem !important;
  border-color: var(--fc-line) !important;
  border-radius: var(--fc-r-pill) !important;
  background-color: #fff !important;
}

.fc-scope .mpdir-user-template.wp-block-columns { border-radius: var(--fc-r-band) !important; }

/* Member table: no overflow: hidden, otherwise the dots menu gets clipped.
   The header row's corners follow the border itself. */
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-table-container { overflow: visible; }
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-table { border-collapse: separate; border-spacing: 0; }
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-table th:first-child { border-top-left-radius: calc(var(--fc-r-band) - 1px); }
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-members-table th:last-child { border-top-right-radius: calc(var(--fc-r-band) - 1px); }

/* In the action menus "Berichten bekijken" is a link and the rest are
   buttons; they all get the same pill shape. */
body.fc-scope.mpcirc-circle-page .mpcirc-latest-post-action-content a.mpcirc-modal-btn { border-radius: var(--fc-r-pill); }

/* ==========================================================================
   Stroming: vertical rhythm
   Every page starts at --fc-page-top below the bar. Measured, that used to
   be 0, 28, 40, 65, 81 and 120px, depending on the page.
   ========================================================================== */

/* Account: the tabs are part of the header; the content follows at 40px. */
.fc-scope #mepr-account-content.fc-account__content { padding-top: 0; }

/* Community overview and a group. */
.fc-scope main#mpcirc-main-content.fc-community,
.fc-scope.mpcirc-circle-page main#mpcirc-main-content { padding-top: var(--fc-page-top); }

/* Checkout: the form and the container inside it both added 40px on top.
   Only the form keeps that measure. We leave the side margin on the
   container: on a phone it is the only one. */
.fc-scope form.mepr-signup-form { padding-top: var(--fc-page-top); }
.fc-scope form.mepr-signup-form > .mepr-checkout-container { padding-top: 0; }

/* A group: the hero itself still has margin above the title. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-main-hero { margin-top: 0; padding-top: 0; }

/* Checkout: space between the form and the summary; the amount in the
   heading typeface. */
.fc-scope .mepr-checkout-container { gap: var(--fc-sp-3); }

.fc-scope .mepr-checkout-container .invoice-amount {
  font-family: var(--fc-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fc-ink);
}

/* A group's hero centres the title within 100px of height, which put it 25px
   lower than the headings on other pages. */
.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-main-hero {
  min-height: 0;
  align-items: flex-start;
}

/* The plugin gives the post field a fixed height of 40px; with our padding
   the text sank out of view below it. The height now follows the content. */
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-creation-form textarea.mpcirc-post-form-input {
  height: auto !important;
  min-height: 2.75rem;
  padding-top: 0.6rem !important;
  padding-bottom: 0.6rem !important;
  line-height: 1.5 !important;
}

/* ==========================================================================
   Stroming: depth (see the explanation in style.css)
   ========================================================================== */

/* Panels: mesh gradient with grain. The grain sits on a pseudo-element
   behind the content (isolation + z-index -1). */
.fc-scope .fc-programme,
.fc-scope .fc-entry__flow {
  position: relative;
  isolation: isolate;
  background: var(--fc-grad-panel);
  box-shadow: var(--fc-panel-depth);
}

.fc-scope .fc-programme::before,
.fc-scope .fc-entry__flow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: var(--fc-grain);
  opacity: 0.2;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* The plugins' primary buttons: the same depth as our own. */
.fc-scope .mepr-checkout-container .mepr-submit,
.fc-scope #mepr_loginform input[type="submit"],
.fc-scope .mepr-login-form input[type="submit"],
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-comment-submit-btn:not(:disabled),
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-reply-submit-btn:not(:disabled),
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-post-form-submit-btn:not(:disabled),
body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-add-members-btn,
.fc-scope .mpdir-button--primary {
  background-image: var(--fc-grad-action);
  box-shadow: var(--fc-action-depth);
}

body.fc-scope.mpcirc-circle-page #mpcirc-main-content .mpcirc-form-submit {
  background-image: var(--fc-grad-action) !important;
  box-shadow: var(--fc-action-depth);
}

/* On a phone the panel butted right up against the tabs. */
@media (max-width: 839px) {
  .fc-scope #mepr-account-nav { margin-bottom: var(--fc-sp-4); }
}

/* ==========================================================================
   Stroming: the community overview
   ========================================================================== */

/* Search and sort now live in the panel. */
.fc-community__head.fc-overview { margin-bottom: var(--fc-sp-5); }
.fc-scope .fc-overview .fc-community__filters { margin: 0; }
.fc-scope.mpcirc-circle-page .fc-overview .mpcirc-search-and-filter { margin-bottom: 0; }

/* The cards: a border instead of nothing, a clear footer. */
.fc-scope.mpcirc-circle-page .mpcirc-circle-card.fc-circle {
  border: 1px solid var(--fc-line);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fc-scope.mpcirc-circle-page .mpcirc-circle-card.fc-circle:hover {
  transform: none;
  border-color: #cfdcd3;
  box-shadow: 0 20px 44px -30px rgba(29, 94, 55, 0.4);
}

.fc-circle__figure { position: relative; aspect-ratio: 16 / 10; }

.fc-circle__badge {
  position: absolute;
  top: var(--fc-sp-2);
  left: var(--fc-sp-2);
  padding: 0.3rem 0.75rem;
  border-radius: var(--fc-r-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--fc-forest);
  font-family: var(--fc-display);
  font-size: var(--fc-t-xs);
  font-weight: 700;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.fc-scope .fc-circle__body { padding: var(--fc-sp-4); gap: 0.35rem; }
.fc-scope.mpcirc-circle-page .fc-circle .fc-circle__title { font-size: var(--fc-t-l); letter-spacing: -0.01em; }

.fc-scope .fc-circle__text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fc-circle__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fc-sp-2);
  margin-top: auto;
  padding-top: var(--fc-sp-3);
}

.fc-circle__members { display: inline-flex; align-items: center; gap: 0.55rem; }
.fc-circle__faces { display: inline-flex; }
.fc-circle__faces img { width: 1.65rem; height: 1.65rem; margin-left: -0.45rem; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.fc-circle__faces img:first-child { margin-left: 0; }

.fc-scope .fc-circle__meta { margin: 0; padding: 0; font-size: var(--fc-t-s); color: var(--fc-muted); }

.fc-circle__cta {
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
  color: var(--fc-accent);
}

.fc-scope .fc-circle:hover .fc-circle__cta { color: var(--fc-accent-dark); text-decoration: underline; text-underline-offset: 3px; }

/* In the panel, search and sort sit side by side, not stacked. */
@media (min-width: 641px) {
  .fc-scope.mpcirc-circle-page .fc-overview .mpcirc-search-and-filter {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    max-width: 36rem;
  }

  .fc-scope.mpcirc-circle-page .fc-overview .mpcirc-search-container { flex: 1 1 auto; max-width: none; }
  .fc-scope.mpcirc-circle-page .fc-overview .mpcirc-custom-dropdown { flex: 0 0 11rem; width: 11rem; min-width: 0; max-width: 11rem; }
}

/* ==========================================================================
   Stroming: your details on the dashboard

   On the left a profile card: who you are, and your details as rows with
   label, value and "Wijzigen". On the right your account: payments,
   subscriptions and your password as clear rows, plus the welcome message as
   a note. The account script only hooks into .mepr-profile-details__button
   and the modal; those stay as they are.
   ========================================================================== */

.fc-scope .fc-profile {
  margin-top: var(--fc-sp-6);
  padding-top: 0;
  border-top: 0;
}

/* Right after the course block, whose own margin already makes the gap: in
   the account's flex column the two margins would add up instead of
   collapsing. */
.fc-scope .fc-programme + .fc-profile { margin-top: 0; }

.fc-scope .fc-profile .fc-profile__title { font-size: var(--fc-t-xl); margin-bottom: var(--fc-sp-4); }

.fc-profile__grid {
  display: grid;
  gap: var(--fc-sp-4);
  align-items: start;
}

@media (min-width: 900px) {
  .fc-profile__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: var(--fc-sp-5); }
}

/* The profile card. */
.fc-scope .fc-profile .mepr-profile-wrapper.fc-profile__main {
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-band);
  background: #fff;
  box-shadow: none;
}

.fc-scope .fc-profile #mepr-profile-details {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.fc-profile__head {
  display: flex;
  align-items: center;
  gap: var(--fc-sp-3);
  padding: var(--fc-sp-4);
  border-bottom: 1px solid var(--fc-line);
  background: var(--fc-grad-overview);
}

.fc-profile__avatar {
  flex: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--fc-line);
}

.fc-profile__who { min-width: 0; }

.fc-scope .fc-profile__name {
  margin: 0;
  font-family: var(--fc-display);
  font-size: var(--fc-t-l);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.fc-scope .fc-profile__email {
  margin: 0.15rem 0 0;
  overflow: hidden;
  color: var(--fc-muted);
  font-size: var(--fc-t-s);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Details as rows: label and "Wijzigen" on top, the value below. */
.fc-scope .fc-profile .mepr-profile-details__list {
  display: block;
  margin: 0;
  padding: 0 var(--fc-sp-4);
}

.fc-scope .fc-profile .mepr-profile-details__list dt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--fc-sp-2);
  margin: 0;
  padding-top: var(--fc-sp-3);
  border-top: 1px solid var(--fc-line);
  color: var(--fc-muted);
  font-size: var(--fc-t-s);
  font-weight: 500;
}

.fc-scope .fc-profile .mepr-profile-details__list dt:first-of-type { border-top: 0; }

.fc-scope .fc-profile .mepr-profile-details__list dd {
  margin: 0.2rem 0 0;
  padding: 0 0 var(--fc-sp-3);
  color: var(--fc-ink);
  font-size: var(--fc-t-base);
  line-height: 1.5;
}

/* The little pencil becomes "Wijzigen": a word says more than an icon. */
.fc-scope .fc-profile .mepr-profile-details__button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  margin: -0.35rem -0.6rem -0.35rem 0;
  padding: 0.35rem 0.6rem;
  border: 0;
  border-radius: var(--fc-r-pill);
  background: none;
  color: var(--fc-accent);
  opacity: 1;
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
  cursor: pointer;
}

.fc-scope .fc-profile .mepr-profile-details__button::after { content: "Wijzigen"; }
.fc-scope .fc-profile .mepr-profile-details__button:lang(en)::after { content: "Edit"; }
.fc-scope .fc-profile .mepr-profile-details__button:hover { background: var(--fc-tint); color: var(--fc-accent-dark); }
.fc-scope .fc-profile .mepr-profile-details__icon { width: 0.8rem; height: 0.8rem; }
.fc-scope .fc-profile .mepr-profile-details__icon path { fill: currentColor; }

/* The right-hand column. */
.fc-profile__aside { display: grid; gap: var(--fc-sp-3); }
.fc-scope .fc-profile__aside .mepr-account-message { margin: 0; }

.fc-profile__links {
  overflow: hidden;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-band);
  background: #fff;
}

.fc-scope .fc-profile__links-title {
  margin: 0;
  padding: var(--fc-sp-3) var(--fc-sp-4) var(--fc-sp-2);
  color: var(--fc-ink-soft);
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
}

.fc-scope .fc-profile__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--fc-sp-3);
  row-gap: 0.1rem;
  padding: var(--fc-sp-3) var(--fc-sp-4);
  border-top: 1px solid var(--fc-line);
  color: var(--fc-ink);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.fc-scope .fc-profile__link:hover { background: var(--fc-tint); color: var(--fc-ink); }

.fc-profile__link-title {
  grid-column: 1;
  font-family: var(--fc-display);
  font-size: var(--fc-t-base);
  font-weight: 700;
}

.fc-profile__link-text { grid-column: 1; color: var(--fc-muted); font-size: var(--fc-t-s); }

.fc-profile__link::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--fc-muted);
  border-bottom: 2px solid var(--fc-muted);
  transform: rotate(-45deg);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.fc-profile__link:hover::after { border-color: var(--fc-forest); transform: translateX(2px) rotate(-45deg); }

.fc-scope .fc-profile__aside #mepr-profile-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--fc-r-band);
}

/* ReadyLaunch sets border-radius: 0 with !important on every image in
   .mp_wrapper; the avatar is meant to be round. */
.fc-scope .fc-profile .fc-profile__avatar { border-radius: 50% !important; }

/* The plugin sets the welcome message to 60% width; in the column it fills
   the full width. */
.fc-scope .fc-profile__aside .mepr-account-message { width: auto; }

/* The modal for editing your details, in the same design language. */
.fc-scope #mepr-account-modal .mepr_modal__box {
  padding: var(--fc-sp-5) var(--fc-sp-4) var(--fc-sp-4);
  border-radius: var(--fc-r-band);
  box-shadow: 0 30px 80px -30px rgba(20, 35, 27, 0.45);
}

.fc-scope #mepr-account-modal .mepr_modal__overlay { background: rgba(20, 35, 27, 0.45); }

.fc-scope #mepr-account-modal label {
  color: var(--fc-ink);
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
}

.fc-scope #mepr-account-modal .mepr-form-input,
.fc-scope #mepr-account-modal select {
  min-height: 2.9rem;
  border: 1px solid var(--fc-line);
  border-radius: var(--fc-r-control);
  font-family: var(--fc-ui);
  font-size: var(--fc-t-base);
}

.fc-scope #mepr-account-modal .mepr-form-input:focus,
.fc-scope #mepr-account-modal select:focus {
  border-color: var(--fc-flow);
  box-shadow: 0 0 0 3px var(--fc-flow-soft);
  outline: none;
}

.fc-scope #mepr-account-modal input[type="submit"] {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--fc-accent);
  border-radius: var(--fc-r-pill);
  background-color: var(--fc-accent);
  background-image: var(--fc-grad-action);
  box-shadow: var(--fc-action-depth);
  color: #fff;
  font-family: var(--fc-display);
  font-size: var(--fc-t-s);
  font-weight: 700;
  cursor: pointer;
}

.fc-scope #mepr-account-modal input[type="submit"]:hover { background-image: var(--fc-grad-action-hover); }

.fc-scope #mepr-account-modal .mepr_modal__close {
  border-radius: var(--fc-r-pill);
  color: var(--fc-muted);
}

.fc-scope #mepr-account-modal .mepr_modal__close:hover { background: var(--fc-tint); color: var(--fc-ink); }

/* account.css gives #mepr-profile-details dd a 16px bottom margin, via an ID;
   that left 34px under each value instead of 18px. */
.fc-scope .fc-profile #mepr-profile-details .mepr-profile-details__list dd { margin: 0.2rem 0 0; }

/* Visited links: ReadyLaunch's account.css colours ".mepr-account-container
   a:visited" blue, and that rule is just more specific than ours. As a result
   the Betalingen and Inschrijvingen links turned blue once you had opened
   them. */
.fc-scope .fc-profile__link:visited { color: var(--fc-ink); }
