  :root {
    /* Brand palette */
    --brand: #683FA0;
    --brand-dark: #4B247A;
    --brand-light: #F6EEFF;
    --brand-text: #484848;
    --surface: #F9F9F9;

    /* Accent colors */
    --teal: #0DBFB0;
    --teal-light: #CCFAF7;
    --teal-dark: #0A9E91;
    --green: #22C55E;
    --green-light: #DCFCE7;
    --red: #EF4444;
    --red-light: #FEE2E2;
    --gold: #F59E0B;
    --gold-light: #FEF3C7;

    /* Neutrals */
    --white: #FFFFFF;
    --border: #E8E0F0;
    --text: #484848;
    --text-mid: #484848;
    --text-light: #5C6370;

    /* Layout */
    --sidebar-width: 264px;
    --header-height: 62px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
      --radius-xl: 18px;
    --radius-pill: 50px;
    --shadow-sm: 0 2px 8px rgba(155,114,245,0.06);
    --shadow-md: 0 4px 14px rgba(155,114,245,0.10);
    --shadow-lg: 0 4px 20px rgba(155,114,245,0.08);
  }


  /* ── RESET ── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { font-size: 16px; }
  body {
    font-family: 'Nunito', sans-serif;
   
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
  }

  

  /* ══════════ TOP HEADER ══════════ */
  header {
    background-color: var(--white);
    width: 100%;
  }
  .top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    background: var(--white);
    padding: 12px 20px;
    flex-shrink: 0;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    gap: 16px;
    flex-wrap: wrap;
  }
  .top-header .logo {
    flex-shrink: 0;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .logo a {
    display: flex;
    align-items: center;
  }
  .logo img {
    max-height: 40px;
    width: auto;
    height: auto;
  }
  .logo-dot {
    width: 14px; height: 14px;
    background: var(--teal);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(13,191,176,0.5);
    animation: pulse-dot 2s ease-in-out infinite;
  }
  @keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 8px rgba(13,191,176,0.4); }
    50% { box-shadow: 0 0 16px rgba(13,191,176,0.7); }
  }
  .logo-text {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 0.01em;
  }
  .single-sfwd-courses .site-main{
    width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  .header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--white);
    white-space: nowrap;
    text-decoration: none;
  }
  .grade-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
a.grade-pill.active {
    background: #0A9E91;
}
  .grade-pill {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.2s, background 0.2s;
  }
  .grade-pill:hover {
    color: var(--white);
    opacity: 0.9;
    background: var(--teal-dark);
  }
  .avatar-circle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.3);
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.15s;
  }
  .avatar-circle:hover {
    opacity: 0.95;
    transform: scale(1.05);
  }
  .avatar-circle:focus {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }
  .avatar-circle svg { width: 20px; height: 20px; fill: var(--white); }
  
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: none;
  border: 0.5px solid var(--color-border-secondary);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s;
  padding: 0;
}
.hamburger:hover { background: var(--color-background-secondary); }

.hamburger .icon-menu,
.hamburger .icon-close { width: 20px; height: 20px; display: block; transition: opacity 0.2s; }
.hamburger .icon-close { display: none; }
.hamburger.open .icon-menu { display: none; }
.hamburger.open .icon-close { display: block; }

.mobile-menu {
  display: none;
  background: var(--color-background-primary);
  border-bottom: 0.5px solid var(--color-border-tertiary);
  padding: 12px 16px;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
}
.mobile-menu.open { display: flex; }
.mobile-menu .badge-pill { width: fit-content; }
.mobile-menu .grade-pills { flex-wrap: wrap; }
.mobile-menu .avatar-circle {
  width: auto;
  border-radius: var(--border-radius-md);
  padding: 8px 12px;
  justify-content: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-secondary);
}
input.mepr-submit.mepr-share-button, input[type="submit"], a.button{
    background: #683FA0;
    color: #fff;
    border-style: none;
    border-radius: 50px 50px 50px 50px;
   padding: 0.75rem 1.5rem 0.75rem 1.5rem !important;
	text-decoration:none;
}
.next-hint {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-top: 10px;
}
li.mepr-nav-item a {
    text-decoration: none !important;
}
.wp-block-file{
	margin-top:20px !important;
}

.wp-block-file__button {
    border-radius: 8px;
    margin-left: 8px;
    background: #683fa0;
    padding: 8px;
    margin-top: 10px !important;
    display: block;
    width: 91px;
}
  @media (max-width: 768px) {
    .header-right .badge-pill,
    .header-right .grade-pills { display: none; }
    .hamburger { display: flex; }
    .top-header {
      padding: 10px 16px;
      gap: 10px;
    }
    .header-right {
      gap: 8px;
    }
    .badge-pill {
      padding: 5px 10px;
      font-size: 0.75rem;
    }
    .grade-pill {
      padding: 5px 12px;
      font-size: 0.7rem;
      max-width: 140px;
    }
    .logo img {
      max-height: 36px;
    }
  }
  @media (max-width: 480px) {
    .top-header {
      min-height: auto;
      padding: 10px 12px;
    }
    .grade-pill {
      max-width: 120px;
    }
  }


  
/* Footer */

  .footer {
    padding: 28px 24px; text-align: center;
    background: var(--brand-dark);
  }
  .footer-logo .accent { color: var(--teal); }
  .footer-sub {
    font-size: 0.68rem; color: #ffffff;
    font-weight: 600; margin-bottom: 8px;
  }
  .footer-stds { display: flex; justify-content: center; gap: 12px; }
  .footer-stds span { font-size: 0.6rem; font-weight: 700; color: #ffffff; }

.text-center{
    display: flex;
    align-items: center;
    justify-content:center;
    background: var(--white);
    padding: 20px;
    flex-shrink: 0;
}
.white-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom:20px;
}
