/* Academy news preview. Shared design values come from the official website tokens. */
.funstudy-page {
  scrollbar-gutter: stable;
}
.funstudy-page #news {
  overflow-anchor: none;
}
.funstudy-page .academy-news .section-row {
  margin-bottom: 32px;
}
.funstudy-page .news-eyebrow {
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px;
}
.funstudy-page .academy-news .news-filters {
  position: relative;
  display: flex;
  gap: 22px;
  margin: 0 0 30px;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.funstudy-page .academy-news .filter {
  position: relative;
  padding: 19px 16px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.funstudy-page .academy-news .filter.active, .funstudy-page .academy-news .filter:hover {
  color: var(--orange);
  background: none;
}
.funstudy-page .news-filter-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--orange);
  transition:
    transform 0.25s var(--ease),
    width 0.25s var(--ease);
  pointer-events: none;
}
.funstudy-page .news-display {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  min-height: 550px;
}
.funstudy-page .news-display[hidden] { display: none; }
.funstudy-page .news-action {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  background: none;
}
.funstudy-page .news-feature {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition:
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}
.funstudy-page .news-feature:hover {
  box-shadow: var(--shadow);
  border-color: rgba(249, 115, 22, 0.2);
}
.funstudy-page .news-feature-link {
  height: 100%;
}
.funstudy-page .news-feature .news-real-cover {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.funstudy-page .news-cover {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  background-size: 200% auto;
}
.funstudy-page .news-image-note {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #fff;
  background: rgba(15, 23, 42, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 10px;
}
.funstudy-page .news-feature-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px 30px;
  gap: 16px;
}
.funstudy-page .news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  font-size: 12px;
}
.funstudy-page .news-meta .category {
  font-weight: 500;
  color: var(--muted);
}
.funstudy-page .news-date {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.funstudy-page .news-pin {
  padding: 2px 6px;
  border: 1px solid rgba(249, 115, 22, 0.5);
  color: var(--orange);
  border-radius: 3px;
  font-size: 11px;
}
.funstudy-page .news-source {
  font-size: 10px;
  color: var(--muted);
}
.funstudy-page .news-feature-title {
  font-size: 28px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.funstudy-page .news-feature-summary {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}
.funstudy-page .news-feature .text-link {
  margin-top: 3px;
}
.funstudy-page .news-recent {
  display: flex;
  flex-direction: column;
}
.funstudy-page .news-recent-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 21px;
  margin: 4px 0 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.funstudy-page .news-recent-heading > span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.funstudy-page .news-recent-item {
  flex: 1;
  display: flex;
  border-bottom: 1px solid var(--line);
}
.funstudy-page .news-recent-link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
}
.funstudy-page .news-date-short {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 5px;
}
.funstudy-page .news-year {
  color: var(--muted);
  font-size: 12px;
}
.funstudy-page .news-day {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.funstudy-page .news-recent-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.funstudy-page .news-recent-copy .category {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}
.funstudy-page .news-recent-title {
  font-size: 18px;
  line-height: 1.5;
  transition: color 0.2s ease;
}
.funstudy-page .news-recent-summary {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.funstudy-page .news-row-arrow {
  color: var(--orange);
  font-size: 22px;
  transition: transform 0.25s var(--ease);
}
.funstudy-page .news-recent-link:hover .news-row-arrow {
  transform: translateX(4px);
}
.funstudy-page .news-recent-link:hover .news-recent-title {
  color: var(--orange);
}
.funstudy-page .news-archive {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.funstudy-page .news-archive:not(:empty) {
  margin-top: 28px;
}
.funstudy-page .news-archive-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease;
}
.funstudy-page .news-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.funstudy-page .news-archive-link {
  height: 100%;
}
.funstudy-page .news-archive-card .news-cover {
  aspect-ratio: 16 / 9;
}
.funstudy-page .news-archive-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 22px;
}
.funstudy-page .news-archive-title {
  font-size: 20px;
  line-height: 1.5;
}
.funstudy-page .news-archive-summary {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}
.funstudy-page .news-pagination {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 26px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.funstudy-page .news-pagination p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.funstudy-page .news-pagination .round-btn {
  min-width: 156px;
  padding: 11px 24px;
  font-size: 13px;
}
.funstudy-page .news-pagination .round-btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}
.funstudy-page .news-pagination .round-btn[aria-disabled="true"]:hover {
  transform: none;
  background: transparent;
  color: #334155;
  border-color: rgba(15, 23, 42, 0.25);
}
.funstudy-page .news-pagination .news-sample-note {
  text-align: right;
  font-size: 10px;
  color: #94a3b8;
}
.funstudy-page .news-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  min-height: 550px;
  padding: 32px;
}
.funstudy-page .news-empty-mark {
  color: var(--orange);
  font-size: 38px;
  margin-bottom: 14px;
}
.funstudy-page .news-empty h3 {
  font-size: 25px;
  margin-bottom: 16px;
}
.funstudy-page .news-empty p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 400px;
  margin-bottom: 26px;
}
.funstudy-page .news-display.is-single {
  grid-template-columns: minmax(0, 730px);
}
.funstudy-page .news-display.is-single .news-feature {
  align-self: start;
}
.funstudy-page .detail-dialog .article-date {
  font-size: 12px;
  color: #94a3b8;
}
@media (max-width: 1100px) {
  .funstudy-page .news-display {
    gap: 24px;
    grid-template-columns: 1.1fr 1fr;
  }
  .funstudy-page .news-recent-link {
    grid-template-columns: 57px minmax(0, 1fr) 16px;
    gap: 12px;
    padding: 20px 0;
  }
  .funstudy-page .news-recent-copy {
    padding-left: 14px;
  }
  .funstudy-page .news-recent-title {
    font-size: 16px;
  }
  .funstudy-page .news-day {
    font-size: 22px;
  }
  .funstudy-page .news-feature-body {
    padding: 22px;
  }
  .funstudy-page .news-feature-title {
    font-size: 25px;
  }
  .funstudy-page .news-feature-summary {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .funstudy-page .news-eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .funstudy-page .academy-news .section-row {
    margin-bottom: 24px;
  }
  .funstudy-page .academy-news .section-title {
    font-size: 27px;
    max-width: 300px;
    text-wrap: balance;
  }
  .funstudy-page .academy-news .news-filters {
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 22px;
  }
  .funstudy-page .academy-news .news-filters::-webkit-scrollbar {
    display: none;
  }
  .funstudy-page .academy-news .filter {
    flex-shrink: 0;
    padding: 16px 11px;
    font-size: 12px;
  }
  .funstudy-page .news-display {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: 0;
  }
  .funstudy-page .news-feature-body {
    gap: 14px;
    padding: 22px;
  }
  .funstudy-page .news-feature-title {
    font-size: 24px;
  }
  .funstudy-page .news-feature-summary {
    font-size: 14px;
  }
  .funstudy-page .news-meta {
    gap: 9px;
  }
  .funstudy-page .news-date {
    font-size: 11px;
  }
  .funstudy-page .news-recent-heading {
    font-size: 19px;
    padding-bottom: 18px;
  }
  .funstudy-page .news-recent-link {
    grid-template-columns: 55px minmax(0, 1fr) 18px;
    padding: 23px 0;
    gap: 12px;
  }
  .funstudy-page .news-recent-copy {
    padding-left: 15px;
    gap: 9px;
  }
  .funstudy-page .news-recent-title {
    font-size: 17px;
  }
  .funstudy-page .news-recent-summary {
    font-size: 12px;
  }
  .funstudy-page .news-archive {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .funstudy-page .news-archive-link {
    display: grid;
    grid-template-columns: 35% minmax(0, 1fr);
  }
  .funstudy-page .news-archive-card .news-cover {
    aspect-ratio: auto;
    height: 100%;
    background-size: auto 200%;
  }
  .funstudy-page .news-archive-card .news-image-note {
    top: 10px;
    right: 7px;
    font-size: 8px;
    padding: 3px 5px;
  }
  .funstudy-page .news-archive-body {
    gap: 11px;
    padding: 18px 16px;
  }
  .funstudy-page .news-archive-body .news-meta {
    font-size: 10px;
    gap: 7px;
  }
  .funstudy-page .news-archive-body .news-date {
    margin-left: 0;
  }
  .funstudy-page .news-archive-title {
    font-size: 17px;
  }
  .funstudy-page .news-archive-summary {
    font-size: 12px;
  }
  .funstudy-page .news-archive .text-link {
    font-size: 12px;
  }
  .funstudy-page .news-pagination {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding-top: 24px;
    margin-top: 26px;
  }
  .funstudy-page .news-pagination .round-btn {
    min-width: 122px;
    padding: 11px 16px;
    font-size: 12px;
  }
  .funstudy-page .news-pagination .news-sample-note {
    grid-column: 1 / -1;
    text-align: center;
  }
  .funstudy-page .news-pagination p {
    font-size: 10px;
  }
  .funstudy-page .news-empty {
    min-height: 420px;
    padding: 24px;
  }
  .funstudy-page .news-empty h3 {
    font-size: 23px;
  }
  .funstudy-page .news-empty p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .funstudy-page .academy-news *, .funstudy-page .academy-news *:before, .funstudy-page .academy-news *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Center these section headings independently of their trailing actions. */
.funstudy-page #works .section-row, .funstudy-page #news .section-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
}
.funstudy-page #works .section-row > div:first-child, .funstudy-page #news .section-row > div:first-child {
  grid-column: 2;
  text-align: center;
}
.funstudy-page #works .section-title, .funstudy-page #news .section-title, .funstudy-page #works .section-desc, .funstudy-page #news .section-desc {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.funstudy-page #works .carousel-controls, .funstudy-page #news .section-row > .text-link {
  grid-column: 3;
  justify-self: end;
}
@media (max-width: 767px) {
  .funstudy-page #works .section-row, .funstudy-page #news .section-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .funstudy-page #works .section-row > div:first-child, .funstudy-page #news .section-row > div:first-child { grid-column: 1; width: 100%; }
  .funstudy-page #works .carousel-controls, .funstudy-page #news .section-row > .text-link { grid-column: 1; }
}

.funstudy-page .news-category-row { display: flex; align-items: center; gap: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.funstudy-page .news-more-link { order: 1; margin-left: auto; flex-shrink: 0; font-size: 13px; padding: 16px 0; }
.funstudy-page .academy-news .news-category-row .news-filters { flex: 1; min-width: 0; border: 0; margin: 0; }
@media(max-width:767px) {
  .funstudy-page .news-category-row { gap: 12px; margin-bottom: 22px; }
  .funstudy-page .news-more-link { font-size: 12px; }
}

/* Keep the live count available to screen readers without displaying it. */
.funstudy-page #news-count { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.funstudy-page .news-sample-note { display: none; }
.funstudy-page .news-pagination { display: flex; justify-content: center; }

.funstudy-page .news-feature-body > .text-link { align-self: flex-end; margin-top: 3px; text-align: right; }

.funstudy-page .news-feature-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; column-gap: 24px; }
.funstudy-page .news-feature-body > .news-meta, .funstudy-page .news-feature-body > .news-feature-title { grid-column: 1 / -1; }
.funstudy-page .news-feature-body > .news-feature-summary { grid-column: 1; grid-row: 3; }
.funstudy-page .news-feature-body > .text-link { grid-column: 2; grid-row: 3; align-self: start; margin-top: 0; white-space: nowrap; line-height: 1.85; }
@media (max-width: 600px) { .funstudy-page .news-feature-body { column-gap: 14px; } }

/* Category tabs use compact, equal-width article cards. */
.funstudy-page .news-display.is-category-grid:not(.is-empty) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; align-items: start; }
.funstudy-page .is-category-grid .news-feature-link { display: flex; flex-direction: column; height: 100%; }
.funstudy-page .is-category-grid .news-feature-body { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.funstudy-page .is-category-grid .news-feature-title { font-size: 18px; line-height: 1.55; }
.funstudy-page .is-category-grid .news-feature-summary { font-size: 12px; line-height: 1.8; }
.funstudy-page .is-category-grid .news-feature-body > .text-link { align-self: flex-end; font-size: 12px; margin-top: 0; }
.funstudy-page .is-category-grid .news-meta { width: 100%; gap: 8px; }
.funstudy-page .is-category-grid .news-real-cover { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
@media(max-width:900px) { .funstudy-page .news-display.is-category-grid:not(.is-empty) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; } }
@media(max-width:600px) { .funstudy-page .news-display.is-category-grid:not(.is-empty) { grid-template-columns: 1fr; gap: 18px; } .funstudy-page .is-category-grid .news-feature-body { padding: 18px; } }

/* Consistent category cards, with uncropped images and aligned footers. */
.funstudy-page .news-display.is-category-grid:not(.is-empty) { align-items: stretch; min-height: 0; align-content: start; }
.funstudy-page .is-category-grid .news-feature { height: 100%; }
.funstudy-page .is-category-grid .news-feature .news-real-cover, .funstudy-page .is-category-grid .news-feature .news-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; flex-shrink: 0; }
.funstudy-page .is-category-grid .news-feature-body { flex: 1; min-height: 0; gap: 10px; padding: 16px 18px; }
.funstudy-page .is-category-grid .news-feature-title { min-height: 3.1em; }
.funstudy-page .is-category-grid .news-feature-summary { min-height: 1.8em; }
.funstudy-page .is-category-grid .news-feature-body > .text-link { margin-top: auto; }

/* Numbered category pagination. */
.funstudy-page .news-numbered-pages { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.funstudy-page .news-numbered-pages[hidden], .funstudy-page #news-more[hidden] { display: none; }
.funstudy-page .news-numbered-pages button { min-width: 50px; height: 50px; padding: 0 16px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; color: #64748b; font-size: 16px; }
.funstudy-page .news-numbered-pages button[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 8px 18px #ff78152b; }
.funstudy-page .news-numbered-pages button:disabled { opacity: .45; cursor: default; }
.funstudy-page .news-numbered-pages button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* Keep the upper divider and active orange underline only. */
.funstudy-page .academy-news .news-category-row { border-bottom: 0; }
/* Recent news rows always use the full column, regardless of button/link type. */
.funstudy-page .news-recent-item { min-width:0; width:100%; flex:initial; }
.funstudy-page .news-recent-item > .news-recent-link { display:grid; width:100%; min-width:0; grid-template-columns:72px minmax(0,1fr); gap:0; padding:20px 0; text-align:left; align-items:start; color:var(--text); }
.funstudy-page .news-recent-link > .news-date-short { grid-column:1; grid-row:1; }
.funstudy-page .news-recent-link > .news-recent-copy { grid-column:2; grid-row:1; min-width:0; padding-left:20px; gap:7px; }
.funstudy-page .news-recent-link > .news-row-arrow { display:none; }
.funstudy-page .news-recent-copy .news-recent-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; font-size:16px; line-height:1.6; overflow-wrap:break-word; word-break:normal; }
.funstudy-page .news-recent-copy .news-recent-summary { font-size:12px; line-height:1.75; -webkit-line-clamp:1; }
@media(max-width:480px) { .funstudy-page .news-recent-item > .news-recent-link { grid-template-columns:60px minmax(0,1fr); } .funstudy-page .news-recent-link > .news-recent-copy { padding-left:14px; } .funstudy-page .news-recent-copy .news-recent-title { font-size:15px; } }
/* Reserve an image frame so flex layout cannot squeeze or crop news photos. */
.funstudy-page .news-image-frame { position:relative; display:block; width:100%; aspect-ratio:16 / 9; flex:0 0 auto; overflow:hidden; background:#edf1f6; isolation:isolate; }
.funstudy-page .news-image-frame::before { content:""; position:absolute; inset:-12px; z-index:0; background-image:var(--news-image); background-size:cover; background-position:center; filter:blur(12px); opacity:.7; transform:scale(1.05); }
.funstudy-page .academy-news .news-image-frame > img.news-real-cover { position:relative; z-index:1; display:block; width:100%; height:100%; max-height:none; aspect-ratio:auto; object-fit:contain; object-position:center; margin:0; }

/* Company-news listing layout for the academy news archive. */
.funstudy-page .fs-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  min-height: 400px;
  padding-bottom: 40px;
}
.funstudy-page .fs-news-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.05);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.funstudy-page .fs-news-featured:hover {
  border-color: rgba(249, 115, 22, 0.2);
  box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.1);
  transform: translateY(-8px);
}
.funstudy-page .fs-featured-img-box,
.funstudy-page .fs-card-img-box {
  position: relative;
  overflow: hidden;
  background: #edf1f6;
}
.funstudy-page .fs-featured-img-box img,
.funstudy-page .fs-card-img-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.funstudy-page .fs-news-featured:hover .fs-featured-img-box img,
.funstudy-page .fs-news-card:hover .fs-card-img-box img {
  transform: scale(1.05);
}
.funstudy-page .fs-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
}
.funstudy-page .fs-news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.funstudy-page .fs-meta-tag {
  padding: 6px 14px;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.funstudy-page .fs-meta-tag.hot {
  background: #fff7ed;
  color: var(--orange);
}
.funstudy-page .fs-featured-content h3 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  transition: color 0.3s;
}
.funstudy-page .fs-news-featured:hover h3,
.funstudy-page .fs-news-card:hover h3 {
  color: var(--orange);
}
.funstudy-page .fs-featured-content p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.funstudy-page .fs-news-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 20px -10px rgba(15, 23, 42, 0.05);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.funstudy-page .fs-news-card:hover {
  border-color: rgba(249, 115, 22, 0.15);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
  transform: translateY(-8px);
}
.funstudy-page .fs-card-img-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
}
.funstudy-page .fs-news-image-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.5);
  color: #fff;
  font-size: 10px;
}
.funstudy-page .fs-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 32px 28px;
}
.funstudy-page .fs-card-body .fs-news-meta {
  margin-bottom: 16px;
  font-size: 13px;
}
.funstudy-page .fs-news-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 12px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  transition: color 0.3s ease;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.funstudy-page .fs-news-card p {
  display: -webkit-box;
  overflow: hidden;
  flex-grow: 1;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.funstudy-page .fs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px dashed rgba(226, 232, 240, 0.8);
}
.funstudy-page .fs-news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
}
.funstudy-page .fs-news-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.funstudy-page .fs-news-card:hover .fs-news-link::after,
.funstudy-page .fs-news-featured:hover .fs-news-link::after {
  transform: translateX(5px) rotate(45deg);
}
.funstudy-page .fs-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 60px;
}
.funstudy-page .fs-pagination[hidden] {
  display: none;
}
.funstudy-page .fs-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.funstudy-page .fs-page-btn:hover:not(:disabled) {
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.05);
  color: var(--orange);
  transform: translateY(-2px);
}
.funstudy-page .fs-page-btn.active {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.25);
}
.funstudy-page .fs-page-btn:disabled {
  background: #f8fafc;
  cursor: not-allowed;
  opacity: 0.5;
}
.funstudy-page .fs-page-dots {
  padding: 0 4px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 2px;
}
.funstudy-page .fs-page-jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.funstudy-page .fs-page-jump-input {
  width: 56px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
.funstudy-page .fs-page-jump-input:focus {
  border-color: rgba(249, 115, 22, 0.3);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  outline: none;
}
.funstudy-page .fs-news-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 60px 24px;
  text-align: center;
}
.funstudy-page .fs-empty-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border: 6px solid #e2e8f0;
  border-radius: 999px;
}
.funstudy-page .fs-news-empty h3 {
  margin: 0 0 14px;
  font-size: 25px;
}
.funstudy-page .fs-news-empty p {
  max-width: 460px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
@media (max-width: 1024px) {
  .funstudy-page .fs-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .funstudy-page .fs-news-featured {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .funstudy-page .fs-news-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 320px;
    padding-bottom: 26px;
  }
  .funstudy-page .fs-news-featured {
    margin-bottom: 4px;
    border-radius: 24px;
    box-shadow: 0 16px 38px -28px rgba(15, 23, 42, 0.35);
  }
  .funstudy-page .fs-featured-img-box {
    aspect-ratio: 16 / 10;
  }
  .funstudy-page .fs-featured-content {
    padding: 28px 24px 30px;
  }
  .funstudy-page .fs-news-meta {
    gap: 10px;
    margin-bottom: 16px;
    font-size: 13px;
  }
  .funstudy-page .fs-meta-tag {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
  }
  .funstudy-page .fs-featured-content h3 {
    margin-bottom: 14px;
    font-size: 24px;
    line-height: 1.35;
  }
  .funstudy-page .fs-featured-content p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.75;
  }
  .funstudy-page .fs-news-card {
    border-radius: 20px;
    box-shadow: 0 12px 28px -24px rgba(15, 23, 42, 0.3);
  }
  .funstudy-page .fs-card-img-box {
    aspect-ratio: 16 / 9;
  }
  .funstudy-page .fs-card-body {
    padding: 22px 20px 24px;
  }
  .funstudy-page .fs-news-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.45;
  }
  .funstudy-page .fs-news-card p {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.7;
  }
  .funstudy-page .fs-card-footer {
    padding-top: 16px;
  }
  .funstudy-page .fs-pagination {
    gap: 7px;
    margin-bottom: 42px;
  }
  .funstudy-page .fs-page-btn {
    min-width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 14px;
  }
  .funstudy-page .fs-page-jump {
    flex-basis: 100%;
    justify-content: center;
    margin: 6px 0 0;
  }
  .funstudy-page .fs-news-empty {
    min-height: 320px;
    padding: 44px 20px;
  }
  .funstudy-page .fs-news-empty h3 {
    font-size: 22px;
  }
  .funstudy-page .fs-news-empty p {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .funstudy-page .fs-featured-content {
    padding: 24px 20px 26px;
  }
  .funstudy-page .fs-featured-content h3 {
    font-size: 22px;
  }
  .funstudy-page .fs-card-body {
    padding: 20px 18px 22px;
  }
  .funstudy-page .fs-pagination {
    margin-bottom: 34px;
  }
  .funstudy-page .fs-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }
}
@media (hover: none) {
  .funstudy-page .fs-news-featured:hover,
  .funstudy-page .fs-news-card:hover,
  .funstudy-page .fs-page-btn:hover:not(:disabled) {
    transform: none;
  }
}

/* Collapsed academy archive; only shown after "load more". */
.funstudy-page .fs-news-archive {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.funstudy-page .fs-news-archive:empty {
  display: none;
}
.funstudy-page .fs-news-archive[hidden],
.funstudy-page .news-pagination[hidden] {
  display: none;
}
@media (max-width: 1024px) {
  .funstudy-page .fs-news-archive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .funstudy-page .fs-news-archive {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 22px;
  }
}
