/*
  teaching250-theme.css
  Single consolidated stylesheet for Teaching 250.
  Single consolidated stylesheet for Teaching 250.
  Theme values are the source of truth where rules conflict.
*/

:root {
  --theme-bg: #f7f9fc;
  --theme-surface: #ffffff;
  --theme-surface-strong: #ffffff;
  --theme-ink: #101827;
  --theme-muted: #3f4f66;
  --theme-subtle: #e8eef7;
  --theme-border: rgba(16, 39, 76, 0.13);
  --theme-border-strong: rgba(16, 39, 76, 0.24);
  --theme-accent: #2457c5;
  --theme-accent-strong: #113378;
  --theme-accent-soft: #e8f0ff;
  --theme-warm: #c93a3a;
  --theme-glow: rgba(36, 87, 197, 0.22);
  --theme-glow-warm: rgba(201, 58, 58, 0.13);
  --theme-radius-sm: 0.75rem;
  --theme-radius: 1.1rem;
  --theme-radius-lg: 1.8rem;
  --theme-shadow: 0 18px 55px rgba(16, 39, 76, 0.12);
  --theme-shadow-soft: 0 10px 30px rgba(16, 39, 76, 0.08);
  --t250-bg: var(--theme-bg);
  --t250-border: var(--theme-border);
  --t250-text: var(--theme-ink);
  --t250-muted: var(--theme-muted);
  --t250-panel: var(--theme-surface);
  --t250-accent: var(--theme-accent-soft);
  --bs-body-font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bs-body-color: var(--theme-ink);
  --bs-body-bg: var(--theme-bg);
  --bs-secondary-color: var(--theme-muted);
}

html {
  background: var(--theme-bg);
}

body {
  background:
    radial-gradient(circle at 3% 92%, rgba(244, 111, 197, 0.24) 0, transparent 32rem),
    radial-gradient(circle at 78% 82%, rgba(142, 174, 255, 0.22) 0, transparent 34rem),
    radial-gradient(circle at 28% 20%, rgba(255, 232, 246, 0.64) 0, transparent 28rem),
    linear-gradient(110deg, #fffdfa 0%, #fff7fb 33%, #f3f1ff 68%, #eef4ff 100%) !important;
  color: var(--theme-ink);
  font-family: var(--bs-body-font-family);
  line-height: 1.6;
}

/*
Genesis overrides - start
*/

.site-inner {
  max-width: none;
  padding: 0;
}

.content-sidebar-wrap {
  max-width: none;
  width: 100%;
}

.content {
  float: none;
  width: 100%;
}

.entry {
  margin-bottom: 0;
}

/*
Genesis overrides - end
*/

/*
Fix anchor link location due to sticky header
*/

[id^="provider-"],
[id^="teacher-"] {
  scroll-margin-top: 120px;
}



h1, h2, h3, h4, h5, h6,
.kicker {
  color: var(--theme-ink);
}

h1, .h1,
h2, .h2,
h3, .h3 {
  font-family: "Space Grotesk", var(--bs-body-font-family);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1, .h1 {
  font-size: clamp(3.15rem, 7vw, 6.75rem);
  font-weight: 700;
}

h2, .h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.35rem);
  font-weight: 700;
}

h3, .h3 {
  font-weight: 700;
}

.content, .text-secondary, .link-secondary {
  color: var(--theme-muted) !important;
}

a {
  color: var(--theme-accent-strong);
  text-decoration: none;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--theme-accent);
}

.site-header {
  background: rgba(248, 251, 255, 0.86) !important;
  border-color: var(--theme-border) !important;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.site-header .container {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}


.t250-logo {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--theme-ink);
  font-family: "Space Grotesk", var(--bs-body-font-family);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.t250-logo span,
.t250-logo::before {
  display: inline-flex;
  align-items: center;
}

.t250-logo::before {
  content: "250";
  width: 2.65rem;
  height: 2.65rem;
  margin-right: 0.65rem;
  justify-content: center;
  border: 1px solid rgba(36, 87, 197, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.9) 0, transparent 28%),
    linear-gradient(135deg, #173f91, #2457c5 62%, rgba(201, 58, 58, 0.76));
  color: #fff;
  font-family: "Space Grotesk", var(--bs-body-font-family);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  box-shadow: 0 12px 28px rgba(36, 87, 197, 0.22);
}

.t250-logo--sm,
.t250-logo--list {
  font-size: 1rem;
}

.nav .nav-link {
  color: var(--theme-muted) !important;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 650;
  padding: 0.55rem 0.82rem;
}

.nav .nav-link:hover,
.nav .nav-link:focus,
.nav .nav-link.text-dark {
  background: rgba(36, 87, 197, 0.09);
  color: var(--theme-accent-strong) !important;
}

.t250-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--theme-accent-strong);
  background: transparent;
  border: 1px solid var(--theme-accent-strong);
  border-radius: 999px;
  line-height: 1;
}

.t250-menu-toggle:hover,
.t250-menu-toggle:focus,
.t250-menu-toggle:active {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: #FFF;
  background: var(--theme-accent-strong);
  border-color: var(--theme-accent-strong);
}

.t250-menu-toggle i {
  font-size: 1.35rem;
  line-height: 1;
}


.dropdown {
  position: relative;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown > .dropdown-menu {
  top: 100%;
  left: 0;
  margin-top: .25rem;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  z-index: 1000;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-menu {
  border-color: var(--theme-border);
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-shadow-soft);
  padding: 0.45rem;
}

.dropdown-item {
  border-radius: 0.72rem;
  color: var(--theme-muted);
  font-weight: 600;
  padding: 0.55rem 0.75rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--theme-accent-soft);
  color: var(--theme-accent-strong);
}

.btn {
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: -0.01em;
  padding: 0.72rem 1.1rem;
}

.btn-sm {
  padding: 0.48rem 0.85rem;
}

.btn-secondary,
.btn-outline-secondary:hover,
.lesson-filter .btn-secondary,
button:focus {
  background: var(--theme-ink);
  border-color: var(--theme-ink);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(23, 19, 32, 0.18);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--theme-accent-strong);
  border-color: var(--theme-accent-strong);
  color: #fff !important;
}

.btn-outline-secondary {
  background: rgba(255, 255, 255, 0.54);
  border-color: var(--theme-border-strong);
  color: var(--theme-ink) !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  border-color: var(--theme-ink);
}

.section-pad {
  padding: 4rem 0;
}

.section-pad-sm {
  padding: 2.5rem 0;
}

.home-hero,
.hero,
.hero-interior {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 8vw, 8rem) 1rem !important;
  background:
    radial-gradient(circle at 4% 100%, rgba(244, 111, 197, 0.28) 0, transparent 32rem),
    radial-gradient(circle at 84% 82%, rgba(139, 170, 255, 0.28) 0, transparent 34rem),
    radial-gradient(circle at 30% 12%, rgba(255, 235, 247, 0.78) 0, transparent 30rem),
    linear-gradient(110deg, #fffdfa 0%, #fff8fb 36%, #f4f1ff 69%, #eef4ff 100%) !important;
  border-bottom: 1px solid var(--theme-border);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 10% -10rem 10%;
  height: 18rem;
  border-radius: 999px;
  background: rgba(36, 87, 197, 0.14);
  filter: blur(60px);
  pointer-events: none;
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.kicker,
.home-hero .kicker {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin-bottom: 1.1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(36, 87, 197, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--theme-accent-strong);
  font-family: var(--bs-body-font-family);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.home-hero .lead {
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
  color: #4f6078 !important;
  font-size: clamp(1.08rem, 1.4vw, 1.32rem);
}

.lesson-library {
  padding-top: clamp(3.25rem, 6vw, 5.5rem) !important;
}

.lesson-filter {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-lg);
  background: rgba(255, 253, 249, 0.78);
  box-shadow: var(--theme-shadow-soft);
  backdrop-filter: blur(16px);
}

.form-control,
.form-select {
  min-height: 3rem;
  border-color: var(--theme-border);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--theme-ink);
  font-weight: 600;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(36, 87, 197, 0.56);
  box-shadow: 0 0 0 0.25rem rgba(36, 87, 197, 0.12);
}

.lesson-library .row.g-4 {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}

.lesson-card, .cta {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-lg);
  background: rgba(255, 253, 249, 0.86);
  box-shadow: var(--theme-shadow-soft);
}

.lesson-card > a:first-child,
.lesson-card > .t250-img:first-child {
  margin: -0.1rem -0.1rem 0;
}

.card-img-top {
  border-radius: .75rem;
}

.cards h3,
.cards h3 a {
  color: var(--theme-ink);
}

.cards h3.h5 {
  font-size: 1.32rem;
  line-height: 1.08;
}

.cards h4.h6 {
  color: var(--theme-accent-strong);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.lesson-attribute {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .5rem;
}

.lesson-attribute__icon {
  width: 20px;
  flex-shrink: 0;
  text-align: left;
  color: var(--theme-accent-strong);
}

.lesson-attribute__content {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.lesson-attribute__content--text-list {
  display: block;
}

.t250-img,
.t250-image,
.t250-placeholder,
.t250-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border: 1px solid rgba(36, 87, 197, 0.15);
  border-radius: .75rem;
  background:
    radial-gradient(circle at 24% 20%, rgba(201, 58, 58, 0.10) 0, transparent 8rem),
    radial-gradient(circle at 80% 20%, rgba(36, 87, 197, 0.22) 0, transparent 10rem),
    linear-gradient(135deg, #f8fbff, #e8f0ff);
  color: rgba(16, 24, 39, 0.48);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.t250-img--lg {
  min-height: 300px;
}

.t250-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  border: 1px solid rgba(36, 87, 197, 0.15);
  border-radius: .5rem;
  background: linear-gradient(135deg, #f8fbff, #e8f0ff);
  color: rgba(16, 24, 39, 0.48);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.t250-icon {
  min-height: 0;
}

.t250-icon-social {
  width: 120px;
  height: 32px;
}

.t250-chip {
  display: inline-block;
  padding: .2rem .55rem;
  border: 1px solid rgba(36, 87, 197, 0.18);
  border-radius: 999px;
  background: var(--theme-accent-soft);
  color: var(--theme-accent-strong);
  font-size: .75rem;
  font-weight: 750;
  line-height: 1.35;
}

.t250-card,
.t250-panel,
.t250-logo,
.t250-stat,
.t250-cta {
  border-color: var(--theme-border);
  background: rgba(255, 253, 249, 0.86);
  box-shadow: var(--theme-shadow-soft);
}

.t250-card,
.t250-panel,
.t250-stat,
.t250-cta {
  border: 1px solid var(--theme-border);
  border-radius: 1rem;
}

.t250-image {
  min-height: 240px;
}

section.cards div.t250-img {
  height: 220px;
}

.pagination .page-link {
  color: var(--theme-muted);
  background-color: #fff;
  border-color: var(--theme-border);
}

.pagination .page-link:hover,
.pagination .page-link:focus {
  color: var(--theme-accent-strong);
  background-color: var(--theme-accent-soft);
  border-color: var(--theme-border);
  box-shadow: none;
}

.pagination .page-item.active .page-link {
  color: #fff;
  background-color: var(--theme-accent-strong);
  border-color: var(--theme-accent-strong);
}

.pagination .page-item.disabled .page-link {
  color: #adb5bd;
  background-color: #fff;
  border-color: var(--theme-border);
}

.t250-search-icon {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 1.1rem;
  text-decoration: none;
}

.t250-search-icon:hover {
  color: var(--theme-ink);
}

footer{
  margin-top: 0 !important;
  border-color: var(--theme-border) !important;
  background: var(--theme-ink);
  color: rgba(225, 225, 255, 0.95) !important;
}

footer .t250-logo {
  color: #fff;
}

footer .text-secondary,
footer .link-secondary,
footer p {
  color: rgba(225, 225, 255, 0.95) !important;
}

footer h2,
footer .h6 {
  color: #fff;
}

footer .border-top {
  border-color: rgba(255, 255, 255, 0.13) !important;
}

footer i {
  font-size: 32px;
  color: rgba(225, 225, 255, 0.95) !important;
}

@media (max-width: 767.98px) {
  .site-header {
    position: static;
  }

  .site-header .bg-light {
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: var(--theme-border) !important;
    border-radius: var(--theme-radius) !important;
  }

  h1, .h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .lesson-filter .btn,
  .lesson-filter .form-control,
  .lesson-filter .form-select {
    width: 100%;
  }

  .lesson-library .row.g-4 {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
  }
}

/* WYSIWYG content lists */

main ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

main ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

main ul > li {
  list-style-type: disc;
  list-style-position: outside;
  margin-bottom: 0.25rem;
}

main ol > li {
  list-style-type: decimal;
  list-style-position: outside;
  margin-bottom: 0.25rem;
}

/* Gravity Forms */

.gform_wrapper input[type="submit"].gform_button,
.gform_wrapper .gform_footer input[type="submit"] {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-secondary);
  --bs-btn-border-color: var(--bs-secondary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #4f5c6b;
  --bs-btn-hover-border-color: #4f5c6b;

  display: inline-block;
  padding: .375rem .75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  background-color: var(--bs-btn-bg);
  border: 1px solid var(--bs-btn-border-color);
  border-radius: var(--bs-border-radius);
}

.gform_wrapper input[type="submit"].gform_button:hover,
.gform_wrapper .gform_footer input[type="submit"]:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
}
