/* section: study-session.css */
.s-dp-study {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(78px, 7.2vw, 112px);
  color: var(--dp-heading);
  background:
    radial-gradient(circle at 4% 14%, rgba(255, 232, 215, 0.62), transparent 30%),
    radial-gradient(circle at 92% 92%, rgba(219, 239, 230, 0.55), transparent 34%),
    linear-gradient(180deg, var(--dp-paper-light) 0%, var(--dp-paper-warm) 54%, #f7fbf8 100%);
}

/* Adopted study-session paper sheet background. */
.s-dp-study-stage {
  position: relative;
  z-index: 12;
  overflow: visible;
  margin: -42px 0 0;
  background: #fffdf8;
  isolation: isolate;
}

.s-dp-study-stage::before {
  content: "";
  position: absolute;
  top: clamp(-70px, -4.8vw, -38px);
  left: clamp(-132px, -8vw, -72px);
  z-index: 1;
  width: clamp(360px, 34vw, 560px);
  height: clamp(172px, 15vw, 250px);
  background:
    radial-gradient(ellipse at 30% 34%, rgba(255, 246, 234, 0.96), rgba(250, 226, 210, 0.68) 58%, rgba(250, 226, 210, 0.24) 100%);
  border-radius: 0 0 999px 999px;
  box-shadow: 0 22px 50px rgba(var(--dp-heading-rgb, 23, 40, 79), 0.025);
  opacity: 0.86;
  pointer-events: none;
  transform: rotate(-2deg);
}

.s-dp-study-stage__sheet {
  position: absolute;
  inset: 0 0 -78px;
  z-index: 0;
  display: block;
  width: 100%;
  height: calc(100% + 78px);
  filter: drop-shadow(0 24px 44px rgba(var(--dp-heading-rgb, 23, 40, 79), 0.035));
  pointer-events: none;
}

.s-dp-study-stage__sheet path:first-child {
  fill: #fffdf8;
}

.s-dp-study-stage .s-dp-study {
  position: relative;
  z-index: 2;
  overflow: visible;
  padding-block: clamp(126px, 8.6vw, 166px) clamp(176px, 10.5vw, 224px);
  background: none !important;
}

.s-dp-study-stage .s-dp-study::before,
.s-dp-study-stage .s-dp-study::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.s-dp-study-stage .s-dp-study__inner,
.s-dp-study-stage .s-dp-study__hero,
.s-dp-study-stage .s-dp-study__content {
  position: relative;
  z-index: 3;
}

.s-dp-study-stage .s-dp-study__free,
.s-dp-study-stage .s-dp-study__panel,
.s-dp-study-stage .s-dp-study__panel--topics {
  background-color: rgba(255, 255, 255, 0.94);
}

.s-dp-study-stage .s-dp-study__board {
  box-shadow:
    0 26px 58px rgba(92, 58, 32, 0.12),
    inset 0 0 0 12px rgba(255, 245, 225, 0.42),
    inset 0 0 0 16px rgba(158, 103, 54, 0.09);
}

@media (max-width: 1080px) {
  .s-dp-study-stage__sheet {
    bottom: -92px;
    height: calc(100% + 92px);
  }

  .s-dp-study-stage .s-dp-study {
    padding-block: 108px 188px;
  }
}

@media (max-width: 900px) {
  .s-dp-study-stage {
    margin-top: -30px;
  }
}

@media (max-width: 760px) {
  .s-dp-study-stage::before {
    top: -48px;
    left: -104px;
    width: 300px;
    height: 142px;
    opacity: 0.72;
  }

  .s-dp-study-stage__sheet {
    bottom: -86px;
    height: calc(100% + 86px);
  }

  .s-dp-study-stage .s-dp-study {
    padding-block: 96px 166px;
  }
}

@media (max-width: 520px) {
  .s-dp-study-stage {
    margin-top: -22px;
  }

  .s-dp-study-stage::before {
    top: -36px;
    left: -84px;
    width: 236px;
    height: 112px;
  }

  .s-dp-study-stage .s-dp-study {
    padding-block: 88px 142px;
  }

  .s-dp-study-stage__sheet {
    bottom: -54px;
    height: calc(100% + 54px);
  }
}

.s-dp-study::before,
.s-dp-study::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
}

.s-dp-study::before {
  left: -14vw;
  top: -150px;
  width: 44vw;
  height: 300px;
  background: rgba(247, 220, 205, 0.44);
  border-radius: 0 0 999px 999px;
  transform: rotate(-5deg);
}

.s-dp-study::after {
  right: -18vw;
  bottom: -250px;
  width: 62vw;
  height: 540px;
  background: rgba(218, 238, 229, 0.48);
  border-radius: 58% 0 0 58%;
}

.s-dp-study__inner {
  width: min(1180px, calc(100% - (var(--gutter, 24px) * 2)));
  margin-inline: auto;
}

.s-dp-study__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: clamp(30px, 5vw, 66px);
  align-items: center;
  margin-bottom: clamp(30px, 4.4vw, 54px);
}

.s-dp-study__intro {
  min-width: 0;
}

.s-dp-study__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--dp-rose);
  font-size: var(--dp-fs-section-eyebrow);
  font-weight: var(--dp-fw-label);
  line-height: var(--dp-lh-compact);
  letter-spacing: 0;
}

.s-dp-study__eyebrow::after {
  content: "";
  width: 38px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.s-dp-study__eyebrow svg {
  width: 22px;
  height: 22px;
}

.s-dp-study h2 {
  max-width: 11.8em;
  margin: 0;
  color: var(--dp-heading);
  font-family: var(--font-serif, serif);
  font-size: var(--dp-fs-section-title);
  font-weight: var(--dp-fw-heading);
  line-height: var(--dp-lh-section-title);
  letter-spacing: 0;
}

.s-dp-study h2 span {
  display: block;
}

.s-dp-study__divider {
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(430px, 100%);
  margin: clamp(18px, 2.4vw, 28px) 0 22px;
  color: #df6a5e;
}

.s-dp-study__divider::before,
.s-dp-study__divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.s-dp-study__divider-mark {
  position: relative;
  width: 24px;
  height: 14px;
  flex: 0 0 auto;
}

.s-dp-study__divider-mark::before,
.s-dp-study__divider-mark::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 11px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 70% 40% 70% 40%;
}

.s-dp-study__divider-mark::before {
  left: 1px;
  transform: rotate(34deg);
}

.s-dp-study__divider-mark::after {
  right: 1px;
  transform: rotate(-34deg) scaleX(-1);
}

.s-dp-study__lead {
  max-width: 41em;
  margin: 0;
  color: rgba(var(--dp-ink-rgb), 0.82);
  font-size: var(--dp-fs-section-lead);
  font-weight: var(--dp-fw-emphasis);
  line-height: var(--dp-lh-section-lead);
  letter-spacing: 0;
}

.s-dp-study__free {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(76px, 98px);
  gap: 14px;
  align-items: center;
  margin: clamp(24px, 3vw, 32px) 0 0;
  min-height: 132px;
  padding: 20px 20px 20px 22px;
  background: rgba(var(--dp-white-rgb), 0.7);
  border: 1px solid rgba(var(--dp-coral-rgb), 0.22);
  border-radius: 18px;
  box-shadow:
    0 24px 50px rgba(104, 57, 38, 0.07),
    inset 0 0 0 1px rgba(var(--dp-white-rgb), 0.72);
}

.s-dp-study__free::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(255, 247, 239, 0.96), rgba(var(--dp-white-rgb), 0.58));
}

.s-dp-study__free-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #df7182;
  background: #fff0f3;
  border-radius: 50%;
}

.s-dp-study__free-icon::before,
.s-dp-study__free-icon::after {
  content: "";
  position: absolute;
  background: #df7182;
}

.s-dp-study__free-icon::before {
  width: 17px;
  height: 17px;
  border-radius: 4px 4px 2px 2px;
  transform: translateY(2px) rotate(-45deg);
}

.s-dp-study__free-icon::after {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 11px 0 0 #df7182;
  transform: translate(-5px, -5px);
}

.s-dp-study__free strong {
  display: block;
  color: var(--dp-rose);
  font-size: 1.04rem;
  font-weight: var(--dp-fw-price);
  line-height: var(--dp-lh-card);
  letter-spacing: 0;
}

.s-dp-study__free span {
  display: block;
  margin-top: 6px;
  color: rgba(var(--dp-ink-rgb), 0.75);
  font-size: 0.92rem;
  font-weight: var(--dp-fw-price);
  line-height: var(--dp-lh-body);
}

.s-dp-study__lecturer {
  align-self: end;
  justify-self: end;
  width: min(98px, 100%);
  margin: 0 -4px -22px 0;
}

.s-dp-study__lecturer img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(var(--dp-heading-rgb), 0.12));
}

.s-dp-study__board-wrap {
  position: relative;
  min-width: 0;
  padding-top: 22px;
}

.s-dp-study__board-mascot {
  position: absolute;
  right: -16px;
  top: -36px;
  z-index: 3;
  width: min(168px, 28%);
  margin: 0;
  pointer-events: none;
}

.s-dp-study__board-mascot img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 20px rgba(64, 46, 35, 0.16));
}

.s-dp-study__board {
  position: relative;
  min-height: 408px;
  padding: 82px clamp(22px, 3vw, 34px) 30px;
  background:
    radial-gradient(circle at 22px 24px, rgba(var(--dp-white-rgb), 0.38) 0 1px, transparent 2px),
    radial-gradient(circle at 74px 66px, rgba(143, 92, 50, 0.12) 0 1px, transparent 2px),
    linear-gradient(135deg, #f3d9b8, #e8c491 56%, #dcb27b);
  background-size: 88px 86px, 96px 92px, auto;
  border: 1px solid rgba(164, 116, 67, 0.32);
  border-radius: 30px;
  box-shadow:
    0 26px 58px rgba(92, 58, 32, 0.13),
    inset 0 0 0 12px rgba(255, 245, 225, 0.44),
    inset 0 0 0 16px rgba(158, 103, 54, 0.1);
}

.s-dp-study__board::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(119, 74, 34, 0.1);
  border-radius: 22px;
  pointer-events: none;
}

.s-dp-study__board-label {
  position: absolute;
  left: 50%;
  top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 44px;
  padding: 8px 28px;
  color: var(--dp-heading);
  background:
    linear-gradient(90deg, rgba(126, 152, 108, 0.28), rgba(var(--dp-white-rgb), 0.9) 16% 84%, rgba(126, 152, 108, 0.28)),
    #fffdf4;
  border: 1px solid rgba(151, 121, 82, 0.16);
  border-radius: 4px;
  box-shadow: 0 8px 16px rgba(76, 51, 27, 0.1);
  transform: translateX(-50%) rotate(-0.5deg);
  font-size: 1.14rem;
  font-weight: var(--dp-fw-label);
  line-height: var(--dp-lh-solid);
  letter-spacing: 0;
}

.s-dp-study__paper-list {
  position: relative;
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.s-dp-study__paper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(108px, 0.32fr) minmax(0, 1fr);
  gap: 22px;
  min-height: 134px;
  padding: 26px 30px 26px 28px;
  background:
    linear-gradient(135deg, rgba(var(--dp-white-rgb), 0.96), rgba(255, 252, 244, 0.93)),
    var(--dp-paper-light);
  border: 1px solid rgba(187, 147, 104, 0.13);
  border-radius: 6px;
  box-shadow: 0 13px 22px rgba(73, 48, 26, 0.13);
}

.s-dp-study__paper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  width: 18px;
  height: 18px;
  background: var(--pin-color, #df6a5e);
  border-radius: 50%;
  box-shadow:
    inset -3px -3px 0 rgba(92, 42, 28, 0.18),
    0 3px 5px rgba(64, 38, 20, 0.22);
  transform: translateX(-50%);
}

.s-dp-study__paper::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54px;
  height: 40px;
  background:
    linear-gradient(135deg, rgba(245, 238, 222, 0) 0 48%, rgba(219, 205, 180, 0.65) 50%, rgba(255, 252, 244, 0.9) 54%),
    linear-gradient(135deg, transparent 0 50%, rgba(214, 193, 157, 0.3) 52%);
  border-radius: 0 0 6px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.78;
}

.s-dp-study__paper:nth-child(2) {
  --pin-color: #6caf96;
  transform: translateX(-10px) rotate(-0.35deg);
}

.s-dp-study__paper-date {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-width: 116px;
  padding-right: 20px;
  border-right: 1px dashed rgba(56, 70, 94, 0.28);
  text-align: center;
}

.s-dp-study__status {
  width: fit-content;
  padding: 7px 13px;
  color: var(--status-color, var(--dp-rose));
  background: color-mix(in srgb, var(--status-color, var(--dp-rose)) 10%, var(--dp-white));
  border: 1px solid color-mix(in srgb, var(--status-color, var(--dp-rose)) 26%, transparent);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: var(--dp-fw-label);
  line-height: var(--dp-lh-solid);
}

.s-dp-study__paper:nth-child(2) .s-dp-study__status {
  --status-color: #3f8a72;
}

.s-dp-study__paper-date strong {
  display: block;
  color: var(--dp-heading);
  font-family: var(--font-serif, serif);
  font-size: 2rem;
  font-weight: var(--dp-fw-heading);
  line-height: var(--dp-lh-solid);
  letter-spacing: 0;
}

.s-dp-study__paper-date small {
  display: block;
  margin-top: 7px;
  color: rgba(var(--dp-ink-rgb), 0.64);
  font-size: 0.78rem;
  font-weight: var(--dp-fw-emphasis);
  line-height: 1.15;
  white-space: nowrap;
}

.s-dp-study__paper h3 {
  margin: 0;
  color: var(--dp-heading);
  font-size: var(--dp-fs-card-title);
  font-weight: var(--dp-fw-heading);
  line-height: var(--dp-lh-card-title);
  letter-spacing: 0;
}

.s-dp-study__paper h3 a {
  color: inherit;
  text-decoration: none;
}

.s-dp-study__paper h3 a:hover,
.s-dp-study__paper h3 a:focus-visible {
  color: var(--dp-rose);
}

.s-dp-study__paper h3 a:focus-visible,
.s-dp-study__paper-more:focus-visible {
  outline: 3px solid rgba(var(--dp-rose-rgb), 0.28);
  outline-offset: 3px;
  border-radius: 5px;
}

.s-dp-study__paper-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.s-dp-study__paper-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 7px 0 0;
  padding: 5px 10px;
  color: rgba(var(--dp-ink-rgb), 0.7);
  background: rgba(255, 247, 236, 0.78);
  border: 1px solid rgba(187, 147, 104, 0.16);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: var(--dp-fw-emphasis);
  line-height: var(--dp-lh-heading);
}

.s-dp-study__paper-meta svg {
  width: 14px;
  height: 14px;
  color: #df6a5e;
}

.s-dp-study__paper p {
  margin: 9px 0 0;
  color: rgba(var(--dp-ink-rgb), 0.78);
  font-size: 0.9rem;
  font-weight: var(--dp-fw-heading);
  line-height: 1.85;
}

.s-dp-study__paper-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--dp-rose);
  font-size: 0.82rem;
  font-weight: var(--dp-fw-button);
  line-height: var(--dp-lh-solid);
  text-decoration: none;
}

.s-dp-study__paper-more svg {
  width: 15px;
  height: 15px;
  transition: transform 180ms ease;
}

.s-dp-study__paper-more:hover svg,
.s-dp-study__paper-more:focus-visible svg {
  transform: translateX(3px);
}

.s-dp-study__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 22px;
}

.s-dp-study__panel {
  position: relative;
  overflow: hidden;
  padding: 22px 24px 24px;
  background: rgba(var(--dp-white-rgb), 0.66);
  border: 1px solid rgba(114, 164, 145, 0.16);
  border-radius: 12px;
  box-shadow:
    0 20px 44px rgba(var(--dp-heading-rgb), 0.055),
    inset 0 0 0 1px rgba(var(--dp-white-rgb), 0.68);
}

.s-dp-study__panel--topics {
  background: rgba(255, 252, 244, 0.68);
  border-color: rgba(224, 177, 118, 0.2);
}

.s-dp-study__panel-title {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  color: var(--dp-heading);
  font-size: var(--dp-fs-card-title);
  font-weight: var(--dp-fw-heading);
  line-height: var(--dp-lh-card-title);
  letter-spacing: 0;
}

.s-dp-study__panel-title svg {
  width: 26px;
  height: 26px;
  color: #2f806a;
}

.s-dp-study__panel--topics .s-dp-study__panel-title svg {
  color: #36758f;
}

.s-dp-study__targets,
.s-dp-study__topics {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.s-dp-study__targets li,
.s-dp-study__topics li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 8px 13px;
  color: var(--dp-heading);
  background: rgba(var(--dp-white-rgb), 0.84);
  border: 1px solid rgba(186, 206, 198, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(var(--dp-heading-rgb), 0.045);
  font-size: 0.9rem;
  font-weight: var(--dp-fw-display);
  line-height: 1.55;
  letter-spacing: 0;
}

.s-dp-study__icon-bubble {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #4a9a7c;
  background: #eef7f1;
  border-radius: 50%;
}

.s-dp-study__topics .s-dp-study__icon-bubble {
  color: #36758f;
  background: #eef6f8;
}

.s-dp-study__icon-bubble svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1080px) {
  .s-dp-study__hero {
    grid-template-columns: 1fr;
  }

  .s-dp-study__intro {
    text-align: center;
  }

  .s-dp-study__eyebrow,
  .s-dp-study__divider {
    justify-content: center;
    margin-inline: auto;
  }

  .s-dp-study h2,
  .s-dp-study__lead {
    margin-inline: auto;
  }

  .s-dp-study__free {
    width: min(640px, 100%);
    margin-inline: auto;
    text-align: left;
  }

  .s-dp-study__board-wrap {
    width: min(760px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .s-dp-study {
    padding-block: 66px 78px;
  }

  .s-dp-study__inner {
    width: min(100% - 36px, 560px);
  }

  .s-dp-study__hero {
    gap: 28px;
    margin-bottom: 28px;
  }

  .s-dp-study__eyebrow {
    font-size: var(--dp-fs-section-eyebrow-mobile);
  }

  .s-dp-study h2 {
    font-size: var(--dp-fs-section-title-mobile);
    line-height: var(--dp-lh-section-title-mobile);
  }

  .s-dp-study__divider {
    width: min(290px, 100%);
    margin-block: 16px 18px;
  }

  .s-dp-study__lead {
    font-size: var(--dp-fs-section-lead-mobile);
    line-height: var(--dp-lh-section-lead-mobile);
  }

  .s-dp-study__free {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    min-height: 0;
    padding: 16px;
  }

  .s-dp-study__free-icon {
    width: 48px;
    height: 48px;
  }

  .s-dp-study__free-icon::before {
    width: 15px;
    height: 15px;
  }

  .s-dp-study__free-icon::after {
    width: 16px;
    height: 16px;
    box-shadow: 10px 0 0 #df7182;
    transform: translate(-5px, -5px);
  }

  .s-dp-study__free strong {
    font-size: 0.98rem;
  }

  .s-dp-study__free span {
    font-size: 0.86rem;
  }

  .s-dp-study__lecturer {
    display: none;
  }

  .s-dp-study__board-wrap {
    padding-top: 30px;
  }

  .s-dp-study__board-mascot {
    right: -8px;
    top: -14px;
    width: 118px;
  }

  .s-dp-study__board {
    min-height: 0;
    padding: 74px 16px 18px;
    border-radius: 22px;
    box-shadow:
      0 22px 42px rgba(92, 58, 32, 0.12),
      inset 0 0 0 8px rgba(255, 245, 225, 0.42),
      inset 0 0 0 12px rgba(158, 103, 54, 0.09);
  }

  .s-dp-study__board-label {
    top: 22px;
    min-width: 154px;
    min-height: 38px;
    font-size: var(--dp-fs-card-title-mobile);
  }

  .s-dp-study__paper-list {
    gap: 18px;
  }

  .s-dp-study__paper,
  .s-dp-study__paper:nth-child(2) {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 20px 18px 18px;
    transform: none;
  }

  .s-dp-study__paper-date {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px dashed rgba(56, 70, 94, 0.2);
    text-align: left;
  }

  .s-dp-study__paper-date strong {
    font-size: 1.28rem;
  }

  .s-dp-study__paper-date small {
    display: inline;
    margin: 0 0 0 6px;
    font-size: 0.76rem;
  }

  .s-dp-study__paper h3 {
    font-size: var(--dp-fs-card-title-mobile);
  }

  .s-dp-study__paper p {
    font-size: 0.86rem;
  }

  .s-dp-study__content {
    grid-template-columns: 1fr;
  }

  .s-dp-study__panel {
    padding: 18px 16px 20px;
  }

  .s-dp-study__panel-title {
    font-size: var(--dp-fs-card-title-mobile);
  }

  .s-dp-study__targets li,
  .s-dp-study__topics li {
    grid-template-columns: 34px minmax(0, 1fr);
    border-radius: 14px;
    font-size: 0.86rem;
  }

  .s-dp-study__icon-bubble {
    width: 30px;
    height: 30px;
  }

}
