.listed-soc {
  --soc-blue: #1f76bd;
  --soc-blue-bright: #2f93dd;
  --soc-blue-deep: #135a94;
  --soc-gold: #d9b45c;
  --soc-gold-soft: #f0d99b;
  --soc-ink: #14110e;
  --soc-paper: #f5f1e9;
  --soc-line: #e4dccd;
  --soc-muted: #655e52;
  min-width: 0;
}

.listed-soc .course-hero {
  background: #100d0a;
  color: #fff;
}

.listed-soc .course-hero::before {
  background-image:
    linear-gradient(125deg, transparent calc(50% - 1px), rgba(217, 180, 92, 0.55) 50%, transparent calc(50% + 1px)),
    linear-gradient(55deg, transparent calc(50% - 1px), rgba(217, 180, 92, 0.35) 50%, transparent calc(50% + 1px));
  background-size: 100% 100%, 100% 100%;
  height: 100%;
  inset: 0;
  opacity: 0.55;
  right: 0;
  top: 0;
  transform: none;
  width: 100%;
}

.listed-soc .course-hero__copy {
  padding-bottom: 62px;
  padding-top: 66px;
}

.listed-soc .course-hero h1 {
  font-size: clamp(42px, 5.2vw, 80px);
  letter-spacing: -0.065em;
  line-height: 0.94;
  max-width: 720px;
}

.listed-soc .course-hero h1 em {
  background: #fff;
  border-radius: 999px;
  color: #12100d;
  display: inline-block;
  font-style: normal;
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin-top: 10px;
  padding: 0.04em 0.22em 0.12em;
}

.listed-soc .course-hero__promise {
  color: var(--soc-gold-soft);
  font-size: clamp(18px, 1.6vw, 23px);
  margin-top: 26px;
  max-width: 620px;
}

.listed-soc .course-hero .eyebrow {
  color: var(--soc-gold-soft);
}

.listed-soc .course-hero__lead {
  max-width: 620px;
}

.listed-soc-start {
  border: 1px solid #796432;
  border-radius: 999px;
  color: var(--soc-gold-soft);
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  margin: 22px 0 0;
  padding: 9px 16px;
}

.listed-soc-start::before {
  color: var(--soc-gold);
  content: "✦";
  margin-right: 8px;
}

.listed-soc .course-hero__visual {
  align-self: center;
  justify-self: end;
  max-width: 430px;
  padding: 34px 34px 34px 0;
  width: 100%;
}

.listed-soc .course-hero__visual::before {
  display: none;
}

.listed-soc .course-hero__visual picture,
.listed-soc .course-hero__visual img {
  display: block;
  height: auto;
  width: 100%;
}

.listed-soc .course-hero__visual img {
  aspect-ratio: 2160 / 3058;
  border: 1px solid #3a3122;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  object-fit: contain;
  transform: none;
}

.listed-soc .course-hero__visual figcaption {
  background: transparent;
  border-radius: 0;
  bottom: auto;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 400;
  left: auto;
  letter-spacing: 0.08em;
  max-width: none;
  padding: 12px 0 0;
  position: static;
  text-transform: uppercase;
}

.listed-soc-facts {
  background: #100d0a;
  border: 1px solid #2d261b;
  border-radius: 24px;
  color: #fff;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
}

.listed-soc-facts div {
  background: #100d0a;
  border-left: 1px solid #2d261b;
  min-width: 0;
  padding: 22px 20px;
}

.listed-soc-facts div:first-child {
  border-left: 0;
}

.listed-soc-facts dt {
  color: #b8ad97;
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
}

.listed-soc-facts dd {
  color: var(--soc-gold-soft);
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 9px 0 0;
}

.listed-soc .course-section {
  padding: 46px 50px;
}

.listed-soc .course-section__heading {
  gap: 30px;
  margin-bottom: 30px;
}

.listed-soc .course-section__heading h2 {
  font-size: clamp(36px, 4.7vw, 64px);
  line-height: 0.98;
}

.listed-soc .eyebrow {
  color: var(--soc-blue-deep);
}

.soc-note {
  color: var(--soc-muted);
  font-size: 14px;
  line-height: 1.62;
  margin: 18px 0;
}

.soc-note a {
  color: var(--soc-blue);
  font-weight: 700;
}

.listed-soc-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listed-soc-grid article {
  background: var(--soc-paper);
  border: 1px solid var(--soc-line);
  border-radius: 20px;
  min-width: 0;
  padding: 22px;
}

.listed-soc-grid article > span {
  color: var(--soc-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.listed-soc-grid h3 {
  font-size: 21px;
  letter-spacing: -0.03em;
  margin: 12px 0 10px;
}

.listed-soc-grid p {
  color: var(--soc-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.listed-soc-olympiad-section {
  background: #100d0a;
  border-color: #2d261b;
  color: #fff;
}

.listed-soc-olympiad-section .course-section__heading h2 {
  color: #fff;
}

.listed-soc-olympiad-section .course-section__heading > p {
  color: #c8bfae;
}

.listed-soc-olympiad-section .eyebrow {
  color: var(--soc-gold);
}

.listed-soc-olympiad-section .soc-note {
  color: #b8ad97;
}

.soc-profile-feature {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.soc-profile-feature article {
  background: #fff;
  border-radius: 22px;
  color: var(--soc-ink);
  min-width: 0;
  padding: 24px;
}

.soc-profile-feature article > span {
  color: var(--soc-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.soc-profile-feature h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.045em;
  margin: 10px 0 8px;
}

.soc-profile-feature p {
  color: var(--soc-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.soc-profile-feature ul,
.soc-profile-table ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.soc-profile-feature li,
.soc-profile-table li {
  align-items: baseline;
  border-top: 1px solid var(--soc-line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 0;
}

.soc-profile-feature li strong,
.soc-profile-table li span {
  font-size: 15px;
  line-height: 1.4;
}

.soc-profile-feature li em,
.soc-profile-table li em {
  color: var(--soc-blue-deep);
  flex: 0 0 auto;
  font-style: normal;
  font-weight: 700;
}

.soc-profile-table {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.soc-profile-table article {
  background: #1a1713;
  border: 1px solid #3a3122;
  border-radius: 22px;
  min-width: 0;
  padding: 22px 24px;
}

.soc-profile-table h3 {
  color: var(--soc-gold-soft);
  font-size: 19px;
  margin: 0 0 6px;
}

.soc-profile-table li {
  border-color: #3a3122;
  color: #ece6d8;
}

.soc-profile-table li em {
  color: var(--soc-gold-soft);
}

.listed-soc-program {
  background: #fff;
}

.soc-program-month,
.soc-lectures {
  border-top: 1px solid var(--soc-line);
  padding: 20px 0;
}

.soc-program-month > summary,
.soc-lectures > summary,
.soc-cards > summary {
  cursor: pointer;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
}

.soc-topics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.soc-topics li {
  background: var(--soc-paper);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 15px 17px;
}

.soc-topics strong {
  font-size: 15px;
  line-height: 1.35;
}

.soc-topics span {
  color: var(--soc-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.soc-downloads {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 10px;
}

.soc-downloads p {
  background: var(--soc-paper);
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 18px 20px;
}

.soc-downloads strong,
.soc-downloads span {
  width: 100%;
}

.soc-downloads span {
  color: var(--soc-muted);
  font-size: 13px;
}

.soc-downloads a {
  color: var(--soc-blue);
  font-size: 13px;
  font-weight: 700;
}

.soc-months,
.soc-period {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
  position: relative;
}

.soc-months > legend,
.soc-period > legend {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.soc-months > input,
.soc-period > input {
  clip-path: inset(50%);
  height: 1px;
  position: absolute;
  width: 1px;
}

.soc-switch {
  background: var(--soc-paper);
  border-radius: 999px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  padding: 6px;
  width: fit-content;
}

.soc-switch label {
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  text-align: center;
}

#soc-month-1:checked ~ .soc-switch label[for="soc-month-1"],
#soc-month-2:checked ~ .soc-switch label[for="soc-month-2"],
#soc-month-3:checked ~ .soc-switch label[for="soc-month-3"],
#soc-one:checked ~ .soc-switch label[for="soc-one"],
#soc-full:checked ~ .soc-switch label[for="soc-full"] {
  background: var(--soc-ink);
  color: #fff;
}

#soc-month-1:focus-visible ~ .soc-switch label[for="soc-month-1"],
#soc-month-2:focus-visible ~ .soc-switch label[for="soc-month-2"],
#soc-month-3:focus-visible ~ .soc-switch label[for="soc-month-3"],
#soc-one:focus-visible ~ .soc-switch label[for="soc-one"],
#soc-full:focus-visible ~ .soc-switch label[for="soc-full"] {
  outline: 3px solid var(--soc-blue);
  outline-offset: 3px;
}

.soc-panel {
  display: none;
}

#soc-month-1:checked ~ #soc-panel-month-1,
#soc-month-2:checked ~ #soc-panel-month-2,
#soc-month-3:checked ~ #soc-panel-month-3,
#soc-one:checked ~ #soc-panel-one,
#soc-full:checked ~ #soc-panel-full {
  display: block;
}

.soc-month {
  border-top: 1px solid var(--soc-line);
  padding: 18px 0 4px;
}

.soc-month > summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.soc-month h3 {
  font-size: 16px;
  letter-spacing: 0.04em;
  margin: 24px 0 12px;
  text-transform: uppercase;
}

.soc-events {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.soc-event {
  background: var(--soc-paper);
  border: 1px solid var(--soc-line);
  border-radius: 16px;
  min-width: 0;
  padding: 14px 16px;
}

.soc-event__meta {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 6px 10px;
  margin: 0;
}

.soc-event__meta time {
  font-weight: 700;
}

.soc-event__meta span {
  color: var(--soc-blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.soc-event h4 {
  font-size: 16px;
  line-height: 1.35;
  margin: 9px 0 6px;
}

.soc-event__time {
  color: var(--soc-muted);
  font-size: 13px;
  margin: 0;
}

.soc-works {
  columns: 3;
  column-gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.soc-works li {
  break-inside: avoid;
  display: flex;
  font-size: 14px;
  gap: 10px;
  padding: 5px 0;
}

.soc-works time {
  color: var(--soc-muted);
  flex: 0 0 auto;
  font-weight: 700;
}

.soc-lectures {
  margin-top: 18px;
}

.soc-lecture-month h3 {
  font-size: 16px;
  margin: 24px 0 10px;
}

.soc-lecture-month ul {
  display: grid;
  gap: 4px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.soc-lecture-month li {
  display: flex;
  font-size: 14px;
  gap: 10px;
  line-height: 1.45;
  padding: 5px 0;
}

.soc-lecture-month time {
  color: var(--soc-muted);
  flex: 0 0 92px;
  font-weight: 700;
}

.soc-steps {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.soc-steps article {
  border-top: 3px solid var(--soc-blue);
  min-width: 0;
  padding: 16px 4px 0;
}

.soc-steps article > span {
  color: var(--soc-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.soc-steps h3 {
  font-size: 19px;
  margin: 10px 0 8px;
}

.soc-steps p {
  color: var(--soc-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.soc-conditions {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.soc-conditions p {
  background: var(--soc-paper);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  min-width: 0;
  padding: 20px;
}

.soc-conditions strong {
  font-size: 15px;
}

.soc-conditions span {
  color: var(--soc-muted);
  font-size: 14px;
  line-height: 1.55;
}

.soc-review-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.soc-review-grid article {
  background: var(--soc-paper);
  border-radius: 20px;
  min-width: 0;
  padding: 22px;
}

.soc-avatar {
  align-items: center;
  background: var(--soc-blue);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  letter-spacing: 0.03em;
  width: 44px;
}

.soc-review-grid h3 {
  font-size: 17px;
  margin: 12px 0 8px;
}

.soc-review-text {
  font-size: 14px;
  line-height: 1.58;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.soc-cards {
  border-top: 1px solid var(--soc-line);
  margin-top: 24px;
  padding-top: 14px;
}

.soc-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.soc-gallery a {
  display: block;
  min-width: 0;
}

.soc-gallery picture,
.soc-gallery img {
  display: block;
  height: auto;
  width: 100%;
}

.soc-gallery img {
  border-radius: 16px;
}

.soc-gallery span {
  display: block;
  font-size: 13px;
  padding: 8px 0;
}

.soc-gallery__wide {
  grid-column: 1 / -1;
}

.soc-gallery__wide picture {
  align-items: center;
  background: #100d0a;
  border-radius: 16px;
  display: flex;
  justify-content: center;
}

.soc-gallery__wide img {
  border-radius: 16px;
  max-height: 540px;
  max-width: 100%;
  width: auto;
}

.listed-soc-tariffs {
  background: #100d0a;
  border-color: #2d261b;
  color: #fff;
}

.listed-soc-tariffs .course-section__heading h2 {
  color: #fff;
}

.listed-soc-tariffs .course-section__heading > p {
  color: #c8bfae;
}

.listed-soc-tariffs .eyebrow {
  color: var(--soc-gold);
}

.listed-soc-tariffs .soc-note {
  color: #b8ad97;
}

.listed-soc-tariffs .soc-switch {
  background: #1b1712;
  border: 1px solid #3a3122;
}

.listed-soc-tariffs .soc-switch label {
  color: #ece6d8;
}

.listed-soc-tariffs #soc-one:checked ~ .soc-switch label[for="soc-one"],
.listed-soc-tariffs #soc-full:checked ~ .soc-switch label[for="soc-full"] {
  background: var(--soc-gold-soft);
  color: #14110e;
}

.listed-soc-tariffs .soc-period > h3 {
  color: #fff;
  font-size: 21px;
  margin: 0;
}

.listed-soc-tariffs .soc-period > .soc-note {
  color: #b8ad97;
}

.soc-plans {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.listed-soc .course-compare-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.listed-soc .course-compare-card h4 {
  font-size: 27px;
  letter-spacing: -0.04em;
  margin: 0;
}

.soc-price {
  align-items: baseline;
  display: flex;
  font-size: 36px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin: 4px 0;
}

.soc-plan-summary {
  color: var(--soc-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.soc-plans ul {
  flex: 1 1 auto;
  margin: 4px 0 18px;
}

.soc-plans .button {
  margin-top: auto;
  text-align: center;
  white-space: normal;
}

.soc-plan-note {
  color: var(--soc-muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.listed-soc-tariffs .course-compare-card {
  background: #fff;
  border-radius: 22px;
  color: var(--soc-ink);
  padding: 22px;
}

.listed-soc-tariffs .course-compare-card--pro {
  border: 2px solid var(--soc-gold);
}

.listed-soc-tariffs .course-compare-card__label {
  background: var(--soc-gold-soft);
  border-radius: 999px;
  color: #14110e;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  padding: 5px 10px;
  width: fit-content;
}

.listed-soc-tariffs .soc-plan-summary,
.listed-soc-tariffs .soc-plan-note,
.listed-soc-tariffs .course-compare-card li {
  color: var(--soc-muted);
}

.soc-upgrade {
  background: #1a1713;
  border: 1px solid #3a3122;
  border-radius: 22px;
  margin-top: 24px;
  padding: 24px;
}

.soc-upgrade h3 {
  color: var(--soc-gold-soft);
  font-size: 21px;
  margin: 0 0 12px;
}

.soc-upgrade p {
  color: #c8bfae;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.soc-upgrade p:last-child {
  margin-bottom: 0;
}

.listed-soc-faq .course-faq__list {
  display: grid;
  gap: 0 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.soc-final-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.listed-soc a:focus-visible,
.listed-soc summary:focus-visible,
.listed-soc label:focus-visible {
  outline: 3px solid var(--soc-blue-bright);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .listed-soc-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .soc-topics,
  .soc-events {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .soc-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .soc-conditions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .listed-soc .course-hero__visual {
    justify-self: center;
    max-width: 360px;
    padding: 0 26px 30px;
  }
}

@media (max-width: 900px) {
  .listed-soc .course-section {
    padding: 34px 28px;
  }

  .listed-soc-grid,
  .soc-profile-feature,
  .soc-profile-table,
  .soc-plans,
  .soc-review-grid,
  .soc-gallery {
    grid-template-columns: 1fr;
  }

  .soc-gallery__wide {
    grid-column: auto;
  }

  .soc-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .soc-gallery__wide img {
    max-height: none;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .listed-soc-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listed-soc-facts div {
    padding: 16px;
  }

  .listed-soc .course-section {
    padding: 28px 20px;
  }

  .listed-soc .course-section__heading {
    gap: 12px;
    margin-bottom: 22px;
  }

  .listed-soc .course-section__heading h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .soc-downloads,
  .listed-soc-faq .course-faq__list,
  .soc-lecture-month ul {
    grid-template-columns: 1fr;
  }

  .soc-events,
  .soc-topics {
    grid-template-columns: 1fr;
  }

  .soc-works {
    columns: 1;
  }

  .soc-switch {
    width: 100%;
  }

  .soc-switch label {
    flex: 1 1 auto;
  }

  .listed-soc .course-hero__meta {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .listed-soc .course-hero__visual {
    max-width: 100%;
    padding: 0 22px 28px;
  }

  .listed-soc .course-hero h1 {
    font-size: clamp(36px, 10.5vw, 52px);
  }

  .listed-soc-start {
    font-size: 14px;
  }

  .soc-price {
    font-size: 31px;
  }

  .soc-steps {
    grid-template-columns: 1fr;
  }

  .soc-profile-feature article,
  .soc-profile-table article {
    padding: 20px;
  }
}
