.anchors-teaching-series {
  --ats-ink: #2f2f2f;
  --ats-muted: #6f7680;
  --ats-line: #e7e2d8;
  --ats-soft: #f7f5f0;
  --ats-blue: #3f6fa7;
  --ats-blue-dark: #305d91;
  --ats-gold: #b69862;
  --ats-gold-dark: #9f814d;
  color: var(--ats-ink);
  font-family: Montserrat, Arial, sans-serif;
}

.anchors-teaching-series * {
  box-sizing: border-box;
}

.anchors-teaching-series button,
.anchors-teaching-series input {
  font: inherit;
}

.anchors-teaching-series button {
  cursor: pointer;
}

.anchors-teaching-series button,
.anchors-teaching-series a,
.anchors-teaching-series input {
  box-shadow: none;
}

.anchors-teaching-series a,
.anchors-teaching-series a:visited {
  background: transparent !important;
  color: var(--ats-blue) !important;
  text-decoration: none;
}

.anchors-teaching-series a:hover,
.anchors-teaching-series a:focus {
  background: transparent !important;
  color: var(--ats-blue-dark) !important;
  text-decoration: underline;
}

.ats-hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 20px 22px;
  text-align: center;
}

.ats-eyebrow,
.ats-video-head p,
.ats-series-card small,
.ats-video-copy span {
  color: var(--ats-gold-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ats-hero h1 {
  display: inline-block;
  margin: 0;
  color: var(--ats-blue);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.ats-hero h1::after {
  content: "";
  display: block;
  width: 82px;
  height: 2px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, var(--ats-gold), transparent);
}

.ats-controls,
.ats-layout {
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 20px;
}

.ats-controls {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
}

.ats-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border: 1px solid var(--ats-line);
  background: #fff;
  padding: 0 14px;
  box-shadow: 0 10px 24px rgba(47, 47, 47, 0.07);
}

.ats-search span {
  color: var(--ats-gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ats-search input {
  width: 100%;
  min-height: 44px;
  border: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  outline: none;
  color: var(--ats-ink);
}

.ats-search:focus-within {
  border-color: var(--ats-gold);
  box-shadow: 0 0 0 3px rgba(182, 152, 98, 0.14);
}

.ats-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ats-filter-chip {
  min-height: 38px;
  border: 1px solid rgba(63, 111, 167, 0.24);
  border-radius: 999px;
  background: #fff !important;
  color: var(--ats-blue) !important;
  padding: 0 15px;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: none !important;
}

.ats-filter-chip:hover,
.ats-filter-chip:focus {
  border-color: var(--ats-blue);
  background: var(--ats-soft) !important;
  color: var(--ats-blue-dark) !important;
}

.ats-filter-chip.is-active,
.ats-filter-chip.is-active:hover,
.ats-filter-chip.is-active:focus {
  border-color: var(--ats-blue);
  background: var(--ats-blue) !important;
  color: #fff !important;
}

.ats-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 78px;
}

.ats-series-list,
.ats-video-list {
  display: grid;
  align-content: start;
  gap: 12px;
}

.ats-series-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  width: 100%;
  min-height: 82px;
  border: 1px solid rgba(63, 111, 167, 0.14);
  border-left: 4px solid rgba(63, 111, 167, 0.45);
  background: #fff !important;
  color: var(--ats-ink) !important;
  padding: 9px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(47, 47, 47, 0.06);
  white-space: normal !important;
}

.ats-series-card.has-no-image {
  grid-template-columns: minmax(0, 1fr);
}

.ats-series-card:hover,
.ats-series-card:focus {
  border-left-color: var(--ats-gold);
  background: #fffdf9 !important;
  color: var(--ats-ink) !important;
}

.ats-series-card.is-active,
.ats-series-card.is-active:hover,
.ats-series-card.is-active:focus {
  border-left-color: var(--ats-gold);
  background: linear-gradient(145deg, #fff 0%, #fbfaf7 62%, #f4efe4 100%) !important;
}

.ats-series-card img {
  width: 104px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ats-soft);
}

.ats-series-card span {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
  white-space: normal !important;
}

.ats-series-card strong {
  color: var(--ats-blue);
  font-size: 1rem;
  line-height: 1.2;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal !important;
}

.ats-series-card em {
  color: var(--ats-muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
  white-space: normal !important;
}

.ats-series-card small {
  white-space: normal !important;
}

.ats-video-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.ats-video-head {
  display: grid;
  gap: 8px;
  border-top: 4px solid var(--ats-gold);
  background: #fff;
  padding: 18px 20px;
  box-shadow: 0 14px 30px rgba(47, 47, 47, 0.08);
}

.ats-video-head p,
.ats-video-head h2 {
  margin: 0;
}

.ats-video-head h2 {
  color: var(--ats-blue);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.08;
}

.ats-video-head div {
  color: var(--ats-muted);
  line-height: 1.6;
}

.ats-video-head a,
.ats-video-copy a {
  width: fit-content;
  color: var(--ats-blue);
  font-weight: 700;
  text-decoration: none;
}

.ats-video-card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(63, 111, 167, 0.14);
  background: #fff;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(47, 47, 47, 0.06);
}

.ats-video-frame {
  overflow: hidden;
  background: #132438;
  aspect-ratio: 16 / 9;
}

.ats-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ats-video-copy {
  display: grid;
  gap: 8px;
}

.ats-video-copy h3 {
  margin: 0;
  color: var(--ats-blue);
  font-size: 1.12rem;
  line-height: 1.25;
}

.ats-video-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--ats-muted);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ats-empty-state {
  border: 1px solid var(--ats-line);
  background: #fff;
  color: var(--ats-muted);
  padding: 24px;
  text-align: center;
}

@media (max-width: 900px) {
  .ats-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ats-search {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-block: 8px;
  }

  .ats-search input {
    min-height: 40px;
  }

  .ats-series-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .ats-series-card.has-no-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .ats-series-card img {
    width: 96px;
  }

  .ats-video-card {
    grid-template-columns: 1fr;
  }
}
