/* OfferHub 硕博项目三页 â€?与本ç§?留学指南同信息架构，独立配色 */

:root {
  --grad-accent: #b91c1c;
  --grad-accent-hover: #991b1b;
  --grad-accent-50: #fef2f2;
  --grad-accent-soft: #fff1f2;
  --grad-ink: #1a1f1c;
  --grad-muted: #5c6b63;
  --grad-line: #e5e7eb;
  --grad-bg: #f4f6f5;
  --grad-card: #fff;
  --grad-hero: #4c1d95;
  --grad-hero-mid: #6d28d9;
  --grad-hero-end: #7c3aed;
}

body.oh-grad-page {
  background: var(--grad-bg);
  --grad-radius: var(--oh-radius-md, 14px);
  --grad-shadow: var(--oh-shadow-card, 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06));
  --grad-shadow-hover: var(--oh-shadow-card-hover, 0 4px 12px rgba(76, 29, 149, 0.12), 0 16px 40px rgba(15, 23, 42, 0.08));
  --oh-grad-filter-sticky-top: 1rem;
}

.oh-grad-page .oh-grad-page-wrap {
  max-width: none;
  padding: 0;
  width: 100%;
}

.oh-grad {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: var(--oh-ant-font-size, 14px);
  color: var(--grad-ink);
  background: var(--grad-bg);
  width: 100%;
  line-height: var(--oh-ant-line-height, 1.5714285714285714);
}

.oh-grad__wrap {
  max-width: var(--oh-layout-max, none);
  width: 100%;
  margin: 0 auto;
  padding-left: var(--oh-page-gutter, clamp(16px, 2.5vw, 48px));
  padding-right: var(--oh-page-gutter, clamp(16px, 2.5vw, 48px));
  box-sizing: border-box;
}

/* —â€?Hero（紧凑） —â€?*/
.oh-grad__hero {
  position: relative;
  color: #fff;
  padding: 0.65rem 0 0.4rem;
  overflow: hidden;
  background: linear-gradient(128deg, var(--grad-hero) 0%, var(--grad-hero-mid) 48%, var(--grad-hero-end) 100%);
}

.oh-grad__hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.35rem;
}

.oh-grad__hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.oh-grad__crumb {
  font-size: 0.75rem;
  opacity: 0.88;
  margin: 0;
  line-height: 1.35;
}

.oh-grad__crumb a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.oh-grad__crumb a:hover {
  border-bottom-color: #fff;
}

.oh-grad__title {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.oh-grad__title em {
  font-style: normal;
  color: #fde68a;
}

.oh-grad__sub {
  margin: 0.2rem 0 0;
  opacity: 0.88;
  max-width: 36rem;
  line-height: 1.35;
  font-size: 0.8125rem;
}

.oh-grad__hero-copy {
  min-width: 0;
  flex: 1 1 12rem;
}

.oh-grad__search {
  flex-shrink: 0;
  width: min(100%, 17.5rem);
}

.oh-grad__search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.oh-grad__search-row {
  display: flex;
  gap: 0.35rem;
  padding: 0.15rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.oh-grad__search-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 0.8125rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.oh-grad__search-row input:focus {
  outline: 2px solid rgba(253, 230, 138, 0.65);
  outline-offset: 0;
}

.oh-grad__search-btn {
  background: linear-gradient(180deg, #fcd34d 0%, #f59e0b 100%);
  color: #422006;
  border: 0;
  border-radius: 8px;
  padding: 0 0.75rem;
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.oh-grad__search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.oh-grad__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 0.2rem;
}

.oh-grad__tab {
  color: rgba(255, 255, 255, 0.88);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.oh-grad__tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.oh-grad__tab.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
}

.oh-grad__stat {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.9;
  font-weight: 600;
  white-space: nowrap;
}

.oh-grad__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.oh-grad__hero > .oh-grad__wrap {
  position: relative;
  z-index: 1;
}

@media (max-width: 991.98px) {
  .oh-grad__hero {
    padding: 0.55rem 0 0.35rem;
  }

  .oh-grad__hero-top {
    flex-direction: column;
    align-items: stretch;
  }

  .oh-grad__search {
    width: 100%;
  }

  .oh-grad__hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .oh-grad__stat {
    white-space: normal;
  }
}

@media (min-width: 992px) {
  .oh-grad__tabs--in-section {
    gap: 1.15rem;
    margin-top: 0.35rem;
    padding-bottom: 0;
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .oh-grad__tabs--in-section .oh-grad__tab {
    padding: 0.35rem 0;
    border-radius: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    background: transparent;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    opacity: 0.82;
  }

  .oh-grad__tabs--in-section .oh-grad__tab:hover {
    opacity: 1;
    background: transparent;
  }

  .oh-grad__tabs--in-section .oh-grad__tab.is-active {
    opacity: 1;
    font-weight: 600;
    background: transparent;
    border-bottom-color: #fde68a;
  }
}

/* —â€?内容åŒ?—â€?*/
.oh-grad__pane {
  margin-top: 0;
}

.oh-grad__layout {
  display: grid;
  grid-template-columns: 272px 1fr;
  gap: 1.75rem;
  padding: 1.25rem 0 3rem;
  align-items: start;
}

.oh-grad__results {
  min-width: 0;
}

/* 详情页替æ�?#ohGradMain 内容后仍å¸?.oh-grad__layout，须取消双列否则正文挤在 272px 列内 */
.oh-grad--detail .oh-grad__layout,
.oh-grad__layout.oh-grad__layout--detail,
.oh-grad__layout:has(> .oh-grad-detail:only-child),
body.oh-grad-page--detail .oh-grad__layout {
  display: block !important;
  grid-template-columns: none !important;
  width: 100%;
}

.oh-grad--detail .oh-grad-detail,
.oh-grad__layout.oh-grad__layout--detail > .oh-grad-detail,
.oh-grad__layout:has(> .oh-grad-detail:only-child) > .oh-grad-detail,
body.oh-grad-page--detail .oh-grad-detail {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* 详情页隐藏列表区 Hero 搜索（保留面包屑ä¸?Tabï¼?*/
.oh-grad--detail .oh-grad__search {
  display: none;
}

@media (max-width: 991.98px) {
  .oh-grad__layout {
    grid-template-columns: 1fr;
    padding-top: 1.25rem;
  }

  .oh-grad__filters {
    display: none;
    position: fixed;
    inset: 0 auto 0 0;
    width: min(320px, 88vw);
    z-index: 40;
    background: var(--grad-card);
    padding: 1.25rem;
    overflow: auto;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.2);
  }

  .oh-grad__filters.is-open {
    display: block;
  }
}

.oh-grad__scrim {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}

@media (min-width: 992px) {
  .oh-grad__filters {
    position: sticky;
    top: var(--oh-grad-filter-sticky-top, 1rem);
    align-self: start;
    max-height: calc(100vh - var(--oh-grad-filter-sticky-top, 1rem) - 1rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 2;
  }
}

.oh-grad__filters {
  background: var(--grad-card);
  border: 1px solid var(--grad-line);
  border-radius: var(--grad-radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--grad-shadow);
}

.oh-grad__filters-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.oh-grad__filters-head h2 {
  font-size: 1.05rem;
  margin: 0;
  font-weight: 700;
}

.oh-grad__filters-reset {
  border: 0;
  background: transparent;
  color: var(--grad-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.oh-grad__filters-reset:disabled {
  opacity: 0.4;
  cursor: default;
}

.oh-grad__filters-reset:not(:disabled):hover {
  background: var(--grad-accent-50);
}

.oh-grad__filter-group {
  border-top: 1px solid var(--grad-line);
  padding: 0.85rem 0;
}

.oh-grad__acc {
  border-top: 1px solid var(--grad-line);
}

.oh-grad__acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: inherit;
}

.oh-grad__acc-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--grad-ink);
}

.oh-grad__acc-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--grad-muted);
  border-bottom: 2px solid var(--grad-muted);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-top: -0.15rem;
}

.oh-grad__acc.is-open .oh-grad__acc-chevron {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.oh-grad__acc-body {
  display: none;
  padding-bottom: 0.85rem;
}

.oh-grad__acc.is-open .oh-grad__acc-body {
  display: block;
}

.oh-grad__filter-search {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--grad-line);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font-size: 0.8125rem;
  margin-bottom: 0.55rem;
  background: var(--grad-bg, #fff);
}

.oh-grad__filter-search:focus {
  outline: 2px solid var(--grad-accent-50);
  border-color: var(--grad-accent);
}

.oh-grad__filter-hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--grad-muted);
  line-height: 1.45;
}

.oh-grad__filter-list:not(.is-expanded) .oh-grad__filter-item.is-truncated {
  display: none;
}

.oh-grad__filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  cursor: pointer;
  font-size: 0.875rem;
}

.oh-grad__filter-item-text {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.oh-grad__filter-item-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.oh-grad__filter-count {
  font-size: 0.75rem;
  color: var(--grad-muted);
  font-variant-numeric: tabular-nums;
  min-width: 2rem;
  text-align: right;
}

.oh-grad__filter-item input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--grad-accent);
}

.oh-grad__filter-more {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: var(--grad-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.oh-grad__filter-more:hover {
  text-decoration: underline;
}

.oh-grad__filter-group h3 {
  font-size: 0.8125rem;
  margin: 0 0 0.55rem;
  color: var(--grad-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.oh-grad__filter-group label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  margin: 0.35rem 0;
  cursor: pointer;
  padding: 0.2rem 0;
}

.oh-grad__notice {
  background: var(--grad-accent-soft);
  border: 1px solid #fecdd3;
  border-radius: var(--grad-radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.55;
  color: #881337;
}

.oh-grad__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grad-line);
}

.oh-grad__filters-toggle {
  display: none;
  border: 1px solid var(--grad-line);
  background: var(--grad-card);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.oh-grad__filters-toggle:hover {
  border-color: var(--grad-hero-mid);
  color: var(--grad-hero-mid);
}

@media (max-width: 991.98px) {
  .oh-grad__filters-toggle {
    display: inline-block;
  }
}

.oh-grad__result-count {
  flex: 1;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--grad-muted);
  font-weight: 500;
}

.oh-grad__sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--grad-muted);
}

.oh-grad__sort-wrap select {
  border: 1px solid var(--grad-line);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
  background: var(--grad-card);
  color: var(--grad-ink);
}

/* —â€?列表卡片 —â€?*/
.oh-grad__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.oh-grad__cards--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
}

/* 项目列表：移动单栏、平板两栏、桌面三栏（与本ç§?Hub 断点一致） */
.oh-grad__cards--cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px) {
  .oh-grad__cards--cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .oh-grad__cards--cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.oh-grad-card {
  background: var(--grad-card);
  border: 1px solid var(--grad-line);
  border-radius: var(--grad-radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--grad-shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  border-left: 3px solid transparent;
  min-width: 0;
}

.oh-grad-card--tile {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.oh-grad-card--tile .oh-grad-card__meta {
  flex: 1;
  -webkit-line-clamp: 3;
}

.oh-grad-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0 0.5rem;
}

.oh-grad-card__metric {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--grad-bg);
  border: 1px solid var(--grad-line);
  border-radius: 8px;
  padding: 0.25rem 0.5rem;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.oh-grad-card__metric--ielts {
  color: #b45309;
  background: #fffbeb;
  border-color: #fde68a;
}

.oh-grad-card--tile .oh-grad-card__actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.oh-grad-card__btn--ext {
  color: var(--grad-muted);
  font-weight: 600;
}

.oh-grad-card__btn--ext:hover {
  color: var(--grad-hero-mid);
}

.oh-grad-card:hover {
  border-left-color: var(--grad-hero-mid);
  box-shadow: var(--grad-shadow-hover);
  transform: translateY(-2px);
}

.oh-grad-card__head {
  font-size: 0.8125rem;
  color: var(--grad-muted);
  margin-bottom: 0.4rem;
}

.oh-grad-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  line-height: 1.35;
  color: var(--grad-ink);
}

.oh-grad-card__title a {
  color: inherit;
  text-decoration: none;
}

.oh-grad-card__title a:hover {
  color: var(--grad-hero-mid);
}

.oh-grad-card__meta {
  font-size: 0.875rem;
  color: var(--grad-muted);
  margin-bottom: 0.65rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.oh-grad-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.oh-grad-card__tag {
  font-size: 0.75rem;
  background: var(--grad-bg);
  border: 1px solid var(--grad-line);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  color: var(--grad-muted);
  font-weight: 500;
}

.oh-grad-card__side {
  text-align: right;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--grad-ink);
  line-height: 1.45;
  flex-shrink: 0;
  min-width: 5.5rem;
}

.oh-grad-card__side div:last-child {
  color: var(--grad-accent);
}

.oh-grad-card__row {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
}

.oh-grad-card__actions {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--grad-line);
}

.oh-grad-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--grad-hero-mid);
  font-weight: 600;
  text-decoration: none;
}

.oh-grad-card__btn:hover {
  color: var(--grad-accent-hover);
}

/* —â€?详情é¡?—â€?*/
.oh-grad-detail {
  background: var(--grad-card);
  border: 1px solid var(--grad-line);
  border-radius: var(--grad-radius);
  padding: 1.5rem 1.75rem 2rem;
  box-shadow: var(--grad-shadow);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.oh-grad-detail > p:first-child a {
  color: var(--grad-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.oh-grad-detail > p:first-child a:hover {
  color: var(--grad-hero-mid);
}

.oh-grad-detail h1 {
  margin: 0.75rem 0 0.35rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.oh-grad-detail > p:nth-of-type(2) {
  color: var(--grad-muted);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.oh-grad-detail__en {
  font-size: 0.95rem;
  color: var(--grad-muted);
  margin: -0.35rem 0 0.85rem;
}

.oh-grad-detail h2 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.65rem;
  color: var(--grad-ink);
}

.oh-grad-detail p {
  line-height: 1.65;
  color: #374151;
}

.oh-grad-detail__facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.oh-grad-detail__fact {
  background: linear-gradient(180deg, #fafafa 0%, var(--grad-bg) 100%);
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid var(--grad-line);
}

.oh-grad-detail__fact b {
  display: block;
  color: var(--grad-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.oh-grad-detail a[target="_blank"]:not(.oh-grad-detail__source) {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: var(--grad-hero-mid);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.oh-grad-detail__source {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--grad-muted);
  text-decoration: none;
}

.oh-grad-detail__source:hover {
  color: var(--grad-hero-mid);
  text-decoration: underline;
}

.oh-grad-detail__programme-site {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grad-border, #e5e7eb);
  min-width: 0;
  max-width: 100%;
}

.oh-grad-detail__programme-site h2 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.oh-grad-detail__programme-site h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.35rem;
  color: var(--grad-hero-mid, #4f46e5);
}

.oh-grad-detail__site-block {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--grad-text, #1f2937);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.oh-grad-detail__site-block--pre {
  max-height: none;
}

.oh-grad-detail a[target="_blank"]:hover {
  background: var(--grad-hero);
}

.oh-grad-rank {
  display: inline-block;
  background: #ede9fe;
  color: #5b21b6;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.45rem;
}

/* —â€?奖学金卡ç‰?—â€?*/
.oh-grad-sch-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-top: 3px solid #f59e0b;
}

.oh-grad-sch-card__type {
  font-size: 0.6875rem;
  color: #9f1239;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.oh-grad-sch-card__amt {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--grad-ink);
  letter-spacing: -0.02em;
}

.oh-grad-sch-card__dl {
  font-size: 0.8125rem;
  color: var(--grad-muted);
}
