:root {
  --paper: #fff;
  --ink: #171921;
  --muted: #505c6e;
  --line: #dde3eb;
  --accent: #0861ba;
  --night: #1b202a;
  --mint: #edf3fa;
  --math-blue: #1681f5;
  --math-cyan: #31add1;
  --math-gutter: clamp(1.1rem, 2.4vw, 2.2rem);
  --math-display: Pretendard, system-ui, sans-serif;
}
:focus-visible {
  outline-color: #0861ba;
}
.math-wrap {
  width: min(calc(100% - 2 * var(--math-gutter)), 1600px);
  margin-inline: auto;
}
.math-content {
  width: min(calc(100% - 2 * clamp(1.25rem, 7.8vw, 8.1rem)), 1400px);
  margin-inline: auto;
}
.math-wrap h2,
.math-content h2 {
  font-family: var(--math-display);
  letter-spacing: -0.057em;
  font-weight: 760;
  line-height: 1.19;
}
.math-announcement {
  min-height: 49px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  padding: 0.34rem 0.7rem;
  color: white;
  background: var(--night);
  text-align: center;
  font-weight: 660;
  font-size: 0.91rem;
}
.math-announcement a {
  border: 1px solid #fff9;
  border-radius: 999px;
  padding: 0.05rem 0.64rem;
  font-size: 0.78rem;
}
.math-announcement a:hover {
  background: white;
  color: var(--ink);
}
.math-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid #e5e8ed;
  background: white;
}
.math-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(0.65rem, 1.65vw, 1.6rem);
  min-height: clamp(72px, 6.1vw, 100px);
}
.math-logo {
  white-space: nowrap;
  font-family: var(--math-display);
  font-size: clamp(1.28rem, 1.8vw, 1.85rem);
  font-weight: 830;
  letter-spacing: -0.065em;
  line-height: 1;
}
.math-logo span {
  color: #0e3c7a;
  font-size: 0.74em;
  margin-left: 0.21em;
  letter-spacing: -0.04em;
}
.math-nav {
  display: flex;
  align-self: stretch;
  justify-content: center;
  gap: clamp(0.72rem, 3.25vw, 3.65rem);
  flex: 1;
}
.math-nav-group {
  display: flex;
  align-items: center;
  position: relative;
}
.math-nav-group > a {
  white-space: nowrap;
  font-size: clamp(0.88rem, 1.17vw, 1.05rem);
  font-weight: 670;
}
.math-nav-group > a:hover {
  color: var(--accent);
}
.math-nav-group > button {
  border: 0;
  background: transparent;
  color: #606b78;
  height: 32px;
  width: 20px;
  padding: 0;
  cursor: pointer;
}
.math-nav-group > button[aria-expanded='true'] {
  transform: rotate(180deg);
}
.math-dropdown {
  position: absolute;
  top: 100%;
  left: -0.55rem;
  display: grid;
  min-width: max-content;
  padding: 0.52rem;
  background: white;
  border-top: 2px solid var(--math-blue);
  box-shadow: 0 12px 30px #122c4429;
}
.math-dropdown a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.43rem 0.7rem;
  font-size: 0.91rem;
}
.math-dropdown a:hover {
  background: var(--mint);
  color: var(--accent);
}
.math-header-shortcut {
  display: grid;
  place-items: center;
  border: 1px solid #283243;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  font-size: 1.08rem;
}
.math-menu {
  position: relative;
}
.math-menu > summary {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 5px;
  list-style: none;
  cursor: pointer;
}
.math-menu summary::-webkit-details-marker {
  display: none;
}
.math-menu > summary span {
  width: 23px;
  height: 1.5px;
  background: var(--ink);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.math-menu[open] > summary span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}
.math-menu[open] > summary span:nth-child(2) {
  opacity: 0;
}
.math-menu[open] > summary span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}
.math-menu nav {
  position: absolute;
  z-index: 1;
  top: calc(100% + 0.7rem);
  right: 0;
  width: min(38rem, calc(100vw - 2 * var(--math-gutter)));
  max-height: 68svh;
  overflow: auto;
  padding: clamp(1rem, 3vw, 2rem);
  background: white;
  border-top: 3px solid var(--math-blue);
  box-shadow: 0 15px 32px #122c443b;
}
.math-menu-group {
  position: relative;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
  padding-block: 0.65rem;
}
.math-menu-group > a {
  font-size: 1.1rem;
  font-weight: 710;
}
.math-menu-group details summary {
  position: absolute;
  right: 0;
  top: 0.46rem;
  display: grid;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  list-style: none;
  cursor: pointer;
  color: var(--accent);
}
.math-menu-group details[open] summary {
  transform: rotate(45deg);
}
.math-menu-group details div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem 1.05rem;
  padding: 0.55rem 2rem 0.05rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.math-top {
  padding-top: clamp(1.15rem, 2.7vw, 2.65rem);
}
.math-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.17fr) minmax(0, 1fr);
  gap: clamp(0.75rem, 1.85vw, 1.9rem);
}
.math-hero {
  min-width: 0;
  position: relative;
  background: #252b36;
  border-radius: clamp(1.25rem, 2.4vw, 2.5rem);
  overflow: hidden;
  color: white;
}
.math-hero .swiper {
  width: 100%;
  height: clamp(440px, 38.5vw, 635px);
}
.math-hero .swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  visibility: hidden;
}
.math-hero-slide {
  display: grid;
  place-items: center;
  isolation: isolate;
  text-align: center;
}
.math-hero-slide img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.math-hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #11192898, #11192869), linear-gradient(0deg, #0d172385, transparent 50%);
}
.math-hero-copy {
  padding: 1.1rem 1rem 2.4rem;
  width: 100%;
}
.math-hero-copy :is(h1, h2) {
  color: white;
  font-family: var(--math-display);
  font-weight: 770;
  font-size: clamp(2rem, 3.18vw, 3.6rem);
  line-height: 1.16;
  letter-spacing: -0.059em;
  text-wrap: initial;
}
.math-hero-copy p {
  color: #f0f4fa;
  line-height: 1.54;
  font-size: clamp(0.96rem, 1.26vw, 1.21rem);
  margin-top: clamp(0.8rem, 2vw, 1.7rem);
}
.math-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  background: #111721;
  color: white;
  border-radius: 999px;
  min-height: 49px;
  padding: 0.48rem 1rem 0.48rem 1.25rem;
  font-size: 0.96rem;
  font-weight: 700;
  transition:
    background 0.23s,
    transform 0.23s;
}
.math-hero .math-pill {
  margin-top: clamp(1.1rem, 3.4vw, 3.2rem);
}
.math-pill span {
  color: #b6daff;
}
.math-pill:hover {
  background: #095db5;
  transform: translateY(-3px);
}
.math-hero .swiper-initialized .swiper-slide:not(.swiper-slide-active) .math-hero-copy {
  opacity: 0;
}
.math-hero .swiper-slide-active .math-hero-copy > * {
  animation: math-hero-appear 0.65s 0.11s both ease-out;
}
.math-hero .swiper-slide-active .math-hero-copy > p {
  animation-delay: 0.18s;
}
.math-hero .swiper-slide-active .math-hero-copy > a {
  animation-delay: 0.24s;
}
.math-hero:not([data-math-changed]) .swiper-slide-active .math-hero-copy > * {
  animation: none;
}
@keyframes math-hero-appear {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.math-hero-controls {
  display: none;
  position: absolute;
  z-index: 2;
  bottom: clamp(0.8rem, 2.4vw, 2.5rem);
  left: clamp(0.8rem, 2.8vw, 3rem);
  align-items: center;
  gap: 0.75rem;
  font-size: 0.81rem;
  font-weight: 730;
  font-variant-numeric: tabular-nums;
}
.math-hero[data-math-ready] .math-hero-controls {
  display: flex;
}
.math-hero-controls > div {
  display: flex;
  align-items: center;
  padding-inline: 0.12rem;
  background: #ffffff38;
  border-radius: 999px;
}
.math-hero-controls button {
  border: 0;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  color: white;
}
.math-hero-controls button:hover {
  background: #ffffff55;
}
.math-hero-controls button[data-math-pause] {
  font-size: 0.78rem;
}
.math-hero-aside {
  padding-top: clamp(0.4rem, 1.6vw, 1.4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(0.9rem, 2vw, 1.85rem);
}
.math-aside-intro {
  padding: 0.8rem clamp(0.35rem, 1.2vw, 1.15rem) 0;
}
.math-aside-intro p {
  color: #5e687a;
  font-weight: 690;
  font-size: clamp(0.93rem, 1.33vw, 1.24rem);
  margin-bottom: 0.5rem;
}
.math-aside-intro p span {
  color: #b47a15;
  margin-inline-end: 0.25rem;
}
.math-aside-intro h2 {
  font-size: clamp(1.36rem, 2vw, 2.3rem);
  text-wrap: initial;
}
.math-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.22rem;
  padding-block: 0.2rem;
}
.math-shortcuts a {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
  color: #4b576a;
  font-size: clamp(0.7rem, 1vw, 0.92rem);
  font-weight: 680;
  border-radius: 9px;
  padding: 0.45rem 0.12rem;
  line-height: 1.27;
  word-break: keep-all;
  transition:
    color 0.2s,
    background 0.2s;
}
.math-shortcuts a:hover {
  color: var(--accent);
  background: var(--mint);
}
.math-shortcuts a > span {
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.02;
  font-weight: 450;
}
.math-support {
  position: relative;
  isolation: isolate;
  color: white;
  background: var(--night);
  margin-bottom: clamp(0rem, 1.8vw, 1.9rem);
  border-radius: clamp(1rem, 2vw, 1.95rem);
  padding: clamp(1rem, 2.35vw, 2.55rem);
  min-height: clamp(170px, 15vw, 250px);
}
.math-support-label {
  display: block;
  color: #e6efff;
  font-size: 0.93rem;
  font-weight: 700;
}
.math-support h3 {
  font-size: clamp(1.55rem, 2.45vw, 2.75rem);
  font-weight: 760;
  margin-top: 0.27rem;
  text-wrap: initial;
}
.math-support p {
  font-size: 0.88rem;
  color: #d2dbe8;
  margin-top: 0.38rem;
  line-height: 1.4;
  max-width: 72%;
}
.math-support img {
  position: absolute;
  z-index: -1;
  inset: 12% 7% auto auto;
  width: clamp(53px, 7.7vw, 120px);
  aspect-ratio: 1;
  object-fit: contain;
}
.math-support a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  min-height: 45px;
  color: white;
  background: #ffffff29;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  font-weight: 670;
  margin-top: 1.1rem;
}
.math-support a:hover {
  background: #ffffff40;
}

.math-ticker {
  min-height: 90px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: clamp(0.75rem, 1.7vw, 1.75rem);
  align-items: center;
  padding: 0.65rem clamp(0.5rem, 3.55vw, 3.75rem);
}
.math-ticker-label {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  gap: 0.48rem;
  padding: 0.3rem 0.92rem;
  background: #0a6fd6;
  border-radius: 999px;
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}
.math-ticker .swiper {
  height: 47px;
  width: 100%;
  min-width: 0;
}
.math-ticker .swiper-slide a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 100%;
  padding: 0 0.18rem;
}
.math-ticker .swiper-slide strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.94rem;
  font-weight: 670;
}
.math-ticker time {
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--muted);
}
.math-ticker-actions {
  display: none;
  align-items: center;
  gap: 0.26rem;
}
.math-ticker[data-math-ready] .math-ticker-actions {
  display: flex;
}
.math-ticker-actions button {
  display: grid;
  place-content: center;
  width: 41px;
  height: 41px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  cursor: pointer;
}
.math-ticker-actions button:hover {
  background: var(--mint);
}
.math-ticker-actions button[data-math-pause] {
  font-size: 0.75rem;
}
.math-ticker .math-more {
  border-left: 1px solid var(--line);
  padding: 0.45rem 0 0.45rem clamp(0.7rem, 2.35vw, 2.5rem);
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}
.math-ticker .math-more:hover {
  color: var(--accent);
}

.math-blue-area {
  background: #edf3fa;
  border-radius: clamp(2rem, 4.9vw, 5rem) clamp(2rem, 4.9vw, 5rem) 0 0;
  overflow: clip;
}
.math-intro {
  padding-block: clamp(3.2rem, 8vw, 8.8rem) clamp(3.2rem, 7.6vw, 8rem);
  text-align: center;
}
.math-intro img {
  width: clamp(72px, 7.2vw, 115px);
  margin-inline: auto;
  aspect-ratio: 1;
  object-fit: contain;
  animation: math-float 3.9s ease-in-out infinite;
}
@keyframes math-float {
  50% {
    transform: translateY(-8px);
  }
}
.math-intro p {
  color: var(--muted);
  font-weight: 710;
  font-size: clamp(1rem, 1.68vw, 1.48rem);
  margin-block: clamp(0.65rem, 1.3vw, 1.2rem);
}
.math-intro h2,
.math-features h2,
.math-news > .math-content > h2 {
  font-size: clamp(2.1rem, 3.2vw, 3.4rem);
}

.math-teacher-area {
  padding-block: clamp(2rem, 7vw, 7.4rem);
  border-radius: clamp(1.2rem, 2.2vw, 2.15rem);
  background: white;
}
.math-teacher-area .math-content {
  width: min(calc(100% - 2 * clamp(1.15rem, 5.8vw, 6.4rem)), 1400px);
}
.math-subheading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  min-height: 40px;
}
.math-subheading h2 {
  font-size: clamp(1.55rem, 2.25vw, 2.28rem);
  text-wrap: initial;
}
.math-more-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.4rem, 1vw, 0.82rem);
  white-space: nowrap;
  font-size: 0.87rem;
  color: var(--muted);
  font-weight: 645;
}
.math-more-link > span,
.math-square {
  display: grid;
  place-content: center;
  width: 39px;
  height: 39px;
  background: #edf3fa;
  color: #1b2635;
  border-radius: 0.39rem;
  transition:
    transform 0.25s,
    background 0.25s;
}
.math-more-link:hover > span,
.math-feature:hover .math-square {
  background: #cee5fb;
  transform: translate(2px, -2px);
}
.math-teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 2.35vw, 2.45rem);
  margin-top: clamp(1.45rem, 3.35vw, 3.5rem);
}
.math-teacher-grid a {
  position: relative;
  display: block;
  min-width: 0;
  padding-bottom: 1.2rem;
}
.math-teacher-grid img {
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 0.85rem;
  background: #f0f0f0;
}
.math-teacher-grid a > span {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.08rem 0.5rem;
  position: absolute;
  inset: auto 6% 0;
  padding: 0.67rem 0.45rem;
  border-radius: 0.5rem;
  background: white;
  box-shadow: 0 9px 26px #122c4419;
  text-align: center;
  transition: transform 0.24s;
}
.math-teacher-grid a:hover > span {
  transform: translateY(-6px);
}
.math-teacher-grid small {
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.4;
  padding-left: 0.45rem;
  word-break: keep-all;
  text-wrap: balance;
}
.math-teacher-grid strong {
  font-size: clamp(0.89rem, 1.24vw, 1.16rem);
  font-weight: 735;
  white-space: nowrap;
}
.math-resource-grid,
.math-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.65rem);
}
.math-resource-grid {
  margin-top: clamp(2.4rem, 6vw, 6.65rem);
}
.math-guide h2 {
  font-size: clamp(1.65rem, 2.58vw, 2.85rem);
  text-wrap: initial;
}
.math-guide h2 em {
  font-style: normal;
  color: var(--accent);
}
.math-guide-feature {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.67rem;
  align-items: center;
  margin-top: clamp(1.1rem, 2.8vw, 2.6rem);
  padding: clamp(0.85rem, 2vw, 2rem);
  box-shadow: 0 8px 32px #122c441e;
  border-radius: 0.95rem;
}
.math-guide-feature:hover {
  box-shadow: 0 8px 32px #122c4435;
}
.math-guide-feature strong,
.math-guide-feature small {
  display: block;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.math-guide-feature strong {
  text-wrap: balance;
}
.math-guide-feature small {
  color: var(--muted);
  line-height: 1.49;
  margin-top: 0.28rem;
}
.math-guide-symbol {
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--accent);
}
.math-guide-list {
  list-style: none;
  margin-top: 1.2rem;
  padding: 0;
}
.math-guide-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  padding: 0.3rem 0.25rem;
  align-items: baseline;
  font-size: 0.91rem;
}
.math-guide-list a:hover {
  color: var(--accent);
}
.math-guide-list time {
  color: var(--muted);
  font-size: 0.83rem;
  white-space: nowrap;
}
.math-resource-banners {
  display: grid;
  align-content: start;
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
}
.math-resource-banners a {
  display: grid;
  position: relative;
  isolation: isolate;
  align-content: center;
  min-height: clamp(125px, 13vw, 215px);
  padding: clamp(0.85rem, 3.2vw, 3.25rem);
  border-radius: 1.15rem;
  background: #edf3fa;
  overflow: hidden;
}
.math-resource-banners a:nth-child(2) {
  background: var(--math-cyan);
  color: #092632;
}
.math-resource-banners a > span {
  font-size: 0.93rem;
  font-weight: 660;
  margin-bottom: 0.47rem;
}
.math-resource-banners a strong {
  font-size: clamp(1.3rem, 2.05vw, 2.15rem);
  line-height: 1.16;
  font-weight: 755;
  letter-spacing: -0.04em;
}
.math-resource-banners img {
  position: absolute;
  z-index: -1;
  inset: 9% 3% auto auto;
  width: 35%;
  height: 83%;
  object-fit: contain;
  transition: transform 0.3s;
}
.math-resource-banners a:hover img {
  transform: translateY(-6px);
}

.math-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2.85vw, 3rem);
  padding-block: clamp(3rem, 9vw, 10rem);
}
.math-features-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.8vw, 1.9rem);
}
.math-features-column header {
  min-height: clamp(15rem, 24vw, 25rem);
  padding: clamp(0.8rem, 2.1vw, 2.1rem) clamp(0.1rem, 1.5vw, 1.2rem) 1.6rem;
}
.math-features-column header img {
  width: clamp(65px, 7vw, 110px);
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: clamp(0.8rem, 2.1vw, 2.15rem);
}
.math-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(260px, 25vw, 415px);
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 3.6vw, 3.85rem);
  border-radius: clamp(1.15rem, 2.3vw, 2.45rem);
}
.math-feature h3 {
  font-size: clamp(1.6rem, 2.48vw, 2.8rem);
  letter-spacing: -0.055em;
  font-weight: 750;
  line-height: 1.19;
  text-wrap: initial;
}
.math-feature img {
  position: absolute;
  z-index: -1;
  width: 60%;
  height: 66%;
  object-fit: contain;
  bottom: 0;
  right: 0;
  transform: translateY(var(--math-art-drift, 0px));
  pointer-events: none;
}
.math-feature--white {
  min-height: clamp(330px, 37vw, 605px);
  background: white;
  overflow: hidden;
  flex: 1;
}
.math-feature--white img {
  width: 69%;
  right: 0;
  bottom: -1%;
}
.math-feature--dark {
  min-height: clamp(360px, 37vw, 610px);
  background: radial-gradient(ellipse at 76% 29%, #1b3e63 0, transparent 50%), #1b202a;
  color: white;
  justify-content: flex-end;
}
.math-feature--dark img {
  bottom: auto;
  top: 8%;
  right: 5%;
  width: 67%;
  height: 60%;
}
.math-feature--cyan {
  background: var(--math-cyan);
  color: #092632;
  min-height: clamp(230px, 22vw, 385px);
  overflow: hidden;
}
.math-feature--cyan img {
  width: 47%;
  height: 61%;
  right: 4%;
  bottom: 0;
}
.math-feature .math-square {
  width: clamp(44px, 4vw, 68px);
  height: clamp(44px, 4vw, 68px);
  font-size: 1.16rem;
}
.math-feature--cyan .math-square {
  background: white;
}
.math-view {
  position: absolute;
  top: clamp(-2.7rem, -2.6vw, -1.35rem);
  right: 7%;
  display: grid;
  place-content: center;
  text-align: center;
  width: clamp(62px, 6.3vw, 108px);
  aspect-ratio: 1;
  background: #086bd8;
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1.13;
  font-weight: 690;
  transition: transform 0.24s;
}
.math-view small {
  font-size: 0.72rem;
}
.math-feature:hover .math-view {
  transform: translateY(-5px);
}

.math-news {
  background: white;
  border-radius: clamp(2rem, 4.9vw, 5rem) clamp(2rem, 4.9vw, 5rem) 0 0;
  padding-block: clamp(3rem, 8vw, 8.6rem);
}
.math-news > .math-content > h2 {
  text-align: center;
  margin-bottom: clamp(2rem, 6vw, 6.2rem);
}
.math-news-grid > div {
  min-width: 0;
  position: relative;
}
.math-news-grid .math-subheading {
  margin-bottom: clamp(0.85rem, 2.5vw, 2.5rem);
  padding-inline: 0.35rem;
}
.math-news-tabs {
  display: flex;
  align-items: center;
  gap: 0.63rem;
}
.math-news-tabs button {
  border: 0;
  background: transparent;
  color: #616e7d;
  padding: 0.2rem 0.28rem;
  font-size: clamp(0.9rem, 1.25vw, 1.14rem);
  font-weight: 720;
  cursor: pointer;
}
.math-news-tabs button + button {
  border-left: 1px solid var(--line);
  padding-left: 0.65rem;
}
.math-news-tabs button[aria-selected='true'] {
  color: var(--ink);
}
.math-news-more {
  position: absolute;
  right: 0.35rem;
  top: 0;
}
.math-news-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.5rem, 1.2vw, 1.18rem);
}
.math-news-cards a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: clamp(0.75rem, 1.65vw, 1.9rem);
  background: #edf3fa;
  border-radius: clamp(0.75rem, 1.2vw, 1.25rem);
  min-height: clamp(155px, 14vw, 229px);
}
.math-news-cards a:hover {
  background: #e1eefb;
}
.math-news-cards a > span {
  background: #162b4c;
  color: white;
  border-radius: 999px;
  padding: 0.12rem 0.46rem;
  font-size: 0.65rem;
  font-weight: 740;
}
.math-news-cards strong {
  font-size: clamp(0.94rem, 1.15vw, 1.15rem);
  line-height: 1.36;
  font-weight: 735;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.math-news-cards p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}
.math-news-cards time {
  width: 100%;
  text-align: right;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  padding-top: 0.37rem;
  margin-top: auto;
}
.math-preview h3 {
  font-weight: 735;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
}
.math-preview-image {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 195px;
  aspect-ratio: 1.68;
  background: #ffe074;
  border-radius: clamp(0.75rem, 1.2vw, 1.25rem);
  overflow: hidden;
}
.math-preview-image img {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.math-preview-image > div {
  padding-left: 10%;
}
.math-preview-image span {
  display: block;
  color: #204080;
  font-size: clamp(0.78rem, 1.2vw, 1.13rem);
  font-weight: 760;
}
.math-preview-image strong {
  color: #143785;
  font-size: clamp(1.55rem, 3vw, 3.4rem);
  font-weight: 820;
  letter-spacing: -0.063em;
  line-height: 1.06;
}
.math-preview-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.3rem;
  gap: 0.6rem;
}
.math-preview-caption span {
  display: grid;
  place-content: center;
  width: 43px;
  height: 43px;
  background: var(--mint);
  border-radius: 50%;
  color: #193657;
}
.math-preview a:hover .math-preview-caption span {
  background: #cfe6fa;
}

.math-footer {
  background: var(--night);
  color: white;
  padding-block: clamp(2.2rem, 4.7vw, 4.9rem) clamp(2rem, 4.3vw, 4.5rem);
}
.math-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-bottom: clamp(0.9rem, 2.2vw, 2rem);
  border-bottom: 1px solid #ffffff4a;
}
.math-footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  font-weight: 650;
  font-size: 0.92rem;
}
.math-footer-contact {
  font-size: clamp(0.94rem, 1.55vw, 1.39rem);
  font-weight: 700;
  white-space: nowrap;
}
.math-footer-contact small {
  color: #b9c5d5;
  font-size: 0.65em;
  margin-right: 0.35rem;
}
.math-footer-info {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: clamp(1rem, 4vw, 4.8rem);
  margin-top: clamp(1.45rem, 4vw, 4.2rem);
}
.math-footer .math-logo span {
  color: #e3efff;
}
.math-footer-info > div {
  font-size: 0.89rem;
  color: #bac4d1;
}
.math-footer-info strong {
  display: block;
  color: white;
  margin-bottom: 0.5rem;
}
.math-footer-info address {
  font-style: normal;
}
.math-copyright {
  margin-top: clamp(1.2rem, 4.1vw, 4.2rem);
  color: #bac4d1;
  font-size: 0.84rem;
}

.math-motion [data-math-reveal] {
  transition:
    opacity 0.65s var(--math-delay, 0ms),
    transform 0.68s var(--math-delay, 0ms) cubic-bezier(0.2, 0.7, 0.27, 1);
}
.math-motion [data-math-reveal]:not(.math-revealed):not(:focus-within) {
  opacity: 0;
  transform: translate(var(--math-x, 0px), var(--math-y, 0px));
}
.math-motion [data-math-reveal='right'] {
  --math-x: -53px;
}
.math-motion [data-math-reveal='left'] {
  --math-x: 53px;
}
.math-motion [data-math-reveal='up'] {
  --math-y: 28px;
}
.math-motion [data-math-reveal='down'] {
  --math-y: -28px;
}
@media (max-width: 1000px) {
  .math-nav {
    gap: 0.7rem;
  }
  .math-nav-group > a {
    font-size: 0.87rem;
  }
  .math-hero-grid {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  }
  .math-hero .swiper {
    height: clamp(400px, 49vw, 550px);
  }
  .math-ticker {
    padding-inline: 0.2rem;
  }
}
@media (max-width: 760px) {
  .math-nav,
  .math-header-shortcut {
    display: none;
  }
  .math-header-inner {
    min-height: 61px;
  }
  .math-announcement {
    min-height: 36px;
    font-size: 0.79rem;
  }
  .math-content {
    width: min(calc(100% - 2 * var(--math-gutter)), 620px);
  }
  .math-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .math-hero .swiper {
    height: clamp(330px, 71vw, 490px);
  }
  .math-hero-copy :is(h1, h2) {
    font-size: clamp(1.8rem, 5.5vw, 2.75rem);
  }
  .math-hero-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0;
    gap: 0.9rem;
  }
  .math-aside-intro {
    display: none;
  }
  .math-support {
    margin-bottom: 0;
    min-height: 0;
  }
  .math-support img {
    width: 70px;
  }
  .math-ticker {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 62px;
    gap: 0.38rem;
  }
  .math-ticker time,
  .math-ticker .math-more {
    display: none;
  }
  .math-ticker-label {
    min-height: 33px;
    font-size: 0.71rem;
    padding-inline: 0.48rem;
  }
  .math-ticker .swiper-slide strong {
    font-size: 0.83rem;
  }
  .math-ticker-actions {
    gap: 0.13rem;
  }
  .math-ticker-actions button {
    width: 29px;
    height: 29px;
    font-size: 0.78rem;
  }
  .math-teacher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .math-resource-grid,
  .math-news-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }
  .math-news-grid {
    gap: 2.3rem;
  }
  .math-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }
  .math-features-column header {
    min-height: 0;
  }
  .math-feature--white {
    flex: auto;
  }
  .math-feature img {
    transform: none;
  }
}
@media (max-width: 440px) {
  .math-hero-copy {
    padding-inline: 0.6rem;
  }
  .math-hero-copy p {
    font-size: 0.9rem;
  }
  .math-hero-slide img {
    object-position: 61% center;
  }
  .math-teacher-grid small {
    border: 0;
    padding: 0;
  }
  .math-teacher-grid a > span {
    align-items: center;
    gap: 0.11rem;
    flex-direction: column;
  }
  .math-subheading .math-more-link {
    font-size: 0.79rem;
  }
  .math-more-link > span {
    width: 32px;
    height: 32px;
  }
  .math-guide-list a {
    font-size: 0.85rem;
  }
  .math-guide-list time {
    font-size: 0.72rem;
  }
  .math-footer-info {
    grid-template-columns: 1fr;
  }
  .math-footer-top nav {
    gap: 0.28rem 0.65rem;
    font-size: 0.81rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .math-hero .swiper-slide-active .math-hero-copy > *,
  .math-intro img {
    animation: none;
  }
  .math-motion [data-math-reveal],
  .math-pill,
  .math-shortcuts a,
  .math-resource-banners img,
  .math-teacher-grid a > span,
  .math-view {
    transition: none;
  }
}
