/* ==========================================================================
   Historical price page
   Reference structure: fude historical-price.html
   Theme layer: guijinshu base variables, spacing, radius and mobile clamps.
   ========================================================================== */

@keyframes bannerRipple {
  0% {
    transform: scale(0.05);
    opacity: 0.7;
  }

  60% {
    opacity: 0.25;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes radarSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes glowBreath {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(1.2);
  }
}

@keyframes staticRingPulse {

  0%,
  100% {
    opacity: 0.08;
  }

  50% {
    opacity: 0.18;
  }
}

.edu-banner .banner-ripple {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  pointer-events: none;
}

.edu-banner .banner-ripple::before,
.edu-banner .banner-ripple::after {
  content: '';
  position: absolute;
}

.edu-banner .banner-ripple::before {
  width: 2400px;
  height: 1px;
  top: 0;
  left: -1200px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
}

.edu-banner .banner-ripple::after {
  width: 1px;
  height: 900px;
  top: -450px;
  left: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .12), transparent);
}

.edu-banner .radar-static-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  animation: staticRingPulse 8s ease-in-out infinite;
}

.edu-banner .radar-static-ring:nth-child(1) {
  width: 260px;
  height: 260px;
  top: -130px;
  left: -130px;
}

.edu-banner .radar-static-ring:nth-child(2) {
  width: 520px;
  height: 520px;
  top: -260px;
  left: -260px;
  animation-delay: -2.5s;
}

.edu-banner .radar-static-ring:nth-child(3) {
  width: 800px;
  height: 800px;
  top: -400px;
  left: -400px;
  animation-delay: -5s;
}

.edu-banner .radar-sweep {
  position: absolute;
  width: 800px;
  height: 800px;
  top: -400px;
  left: -400px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(255, 255, 255, .04) 306deg, rgba(255, 210, 170, .18) 350deg, transparent 360deg);
  animation: radarSpin 8s linear infinite;
}

.edu-banner .ripple-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  top: -100px;
  left: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .28), rgba(255, 210, 170, .08) 52%, transparent 72%);
  animation: glowBreath 4s ease-in-out infinite;
}

.edu-banner .ripple-ring {
  position: absolute;
  width: 1000px;
  height: 1000px;
  top: -500px;
  left: -500px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4);
  transform: scale(.05);
  animation: bannerRipple 4.2s infinite ease-out;
}

.edu-banner .ripple-ring:nth-child(6) {
  animation-delay: 0s;
}

.edu-banner .ripple-ring:nth-child(7) {
  animation-delay: -.7s;
}

.edu-banner .ripple-ring:nth-child(8) {
  animation-delay: -1.4s;
}

.edu-banner .ripple-ring:nth-child(9) {
  animation-delay: -2.1s;
}

.edu-banner .ripple-ring:nth-child(10) {
  animation-delay: -2.8s;
}

.edu-banner .ripple-ring:nth-child(11) {
  animation-delay: -3.5s;
}

.hp-page {
  background: var(--bg-page);
}

/* ====================== Section 1: Banner ====================== */
.edu-banner {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 86px 0 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(46, 34, 18, .88), rgba(255, 116, 1, .72)),
    url('../img/fude/backgrounds/bg-banner-kline.webp') center / cover no-repeat;
}

.edu-banner>.container {
  position: relative;
  z-index: 2;
}

.edu-banner-content {
  padding-bottom: 60px;
}

.edu-banner-title {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 28px;
}

.edu-banner-subtitle {
  max-width: 720px;
  margin: 0 auto 50px;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .76);
}

.edu-search-box {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
}

.edu-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 24px;
  font-size: 15px;
  color: var(--t-800);
}

.edu-search-input::placeholder {
  color: var(--t-400);
  font-size: 16px;
}

.edu-search-btn {
  flex-shrink: 0;
  min-width: 144px;
  padding: 25px 38px;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}

.edu-search-btn:hover {
  background: var(--orange-soft);
  transform: translateX(4px);
}

/* ====================== Section 1.5: Market cards ====================== */
.trade-metal-section {
  padding: 60px 0 50px;
  background: #f3f4f8;
}

.trade-metal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trade-metal-card {
  min-width: 0;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #ebedf0;
  border-top-width: 8px;
  transition: box-shadow .25s, transform .25s;
}

.trade-metal-card.gold {
  border-top-color: #ffc000;
}

.trade-metal-card.silver {
  border-top-color: #d5d5d5;
}

.trade-metal-card.plat {
  border-top-color: #e1e1e1;
}

.trade-metal-card.copper {
  border-top-color: #b87333;
}

.trade-metal-card.pall {
  border-top-color: #d09500;
}

.trade-metal-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.trade-metal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 21px;
}

.trade-metal-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.trade-metal-badge.gold {
  background: #fff3cd;
  color: #ffc000;
}

.trade-metal-badge.silver {
  background: #f0f0f0;
  color: #8f9aa8;
}

.trade-metal-badge.plat {
  background: #f8f9fa;
  color: #7d8794;
}

.trade-metal-badge.copper {
  background: #fff2e8;
  color: #a45c24;
}

.trade-metal-badge.pall {
  background: #fef3e2;
  color: #b7860a;
}

.trade-metal-name-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  flex-wrap: wrap;
}

.trade-metal-name,
.trade-metal-code {
  font-size: 18px;
  font-weight: 700;
  color: var(--t-800);
}

.trade-metal-price {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--t-800);
  margin-bottom: 6px;
}

.trade-metal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.trade-metal-change {
  font-size: 14px;
  font-weight: 600;
  color: var(--t-500);
}

.trade-metal-change.up {
  color: var(--up);
}

.trade-metal-change.down {
  color: var(--down);
}

.trade-metal-unit,
.trade-metal-range {
  font-size: 14px;
  color: var(--t-500);
}

/* ====================== Shared education shells ====================== */
.edu-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  padding-bottom: 16px;
  position: relative;
}

.edu-section-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line-1);
}

.edu-section-title {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--t-800);
  margin: 0;
}

.edu-view-more {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--t-600);
  transition: color .2s, transform .2s;
}

.edu-view-more:hover {
  color: var(--orange);
  transform: translateX(5px);
}

.edu-sidebar {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hp-guide-content>.hp-guide-main,
.hp-guide-content>.edu-sidebar,
.edu-articles-content>.edu-articles-main,
.edu-articles-content>.edu-sidebar {
  align-self: flex-start;
  position: sticky;
  top: 96px;
}

/* ====================== Section 2: Product guide ====================== */
.hp-guide {
  padding: 0 0 20px;
  background: var(--bg-page);
}

.hp-guide-content {
  display: flex;
  align-items: stretch;
  gap: 23px;
}

.hp-guide-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 26px 41px 32px;
  background: #fff;
  border-radius: 12px;
}

.hp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 28px 22px;
  flex: 1;
}

.hp-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 20px;
  background: #f9f9f9;
  border: 1px solid #ebedf0;
  border-radius: 12px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}

.hp-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
  border-color: var(--orange);
}

.hp-card-icon,
.hp-card-icon img {
  width: 28px;
  height: 28px;
}

.hp-card-icon img {
  object-fit: contain;
}

.hp-card-title {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--t-800);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-card-desc {
  font-size: 14px;
  line-height: 2;
  color: var(--t-400);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
}

.edu-quick-nav {
  height: 100%;
  padding: 26px 28px 32px;
  background: #fff;
  border-radius: 12px;
}

.edu-quick-nav h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--t-800);
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-1);
}

.edu-nav-item {
  position: relative;
}

.edu-nav-item::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 1px;
  background: var(--line-1);
}

.edu-nav-item:last-child::after {
  display: none;
}

.edu-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 12px 14px 0;
  font-size: 16px;
  color: #717171;
  transition: color .2s, padding-left .2s;
}

.edu-nav-item a:hover {
  color: var(--orange);
  padding-left: 8px;
}

.edu-nav-count {
  min-width: 34px;
  padding: 4px 14px;
  border-radius: 14px;
  background: #e5e5e5;
  color: var(--t-600);
  font-size: 14px;
  text-align: center;
  transition: background .2s, color .2s;
}

.edu-nav-item a:hover .edu-nav-count {
  background: var(--orange);
  color: #fff;
}

/* ====================== Section 3: Articles + sidebar ====================== */
.edu-articles {
  padding: 0 0 74px;
  background: var(--bg-page);
}

.edu-articles-content {
  display: flex;
  align-items: stretch;
  gap: 23px;
}

.edu-articles-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
}

.edu-articles-main>.edu-section-title {
  padding: 26px 46px 20px;
  background: #fff;
  border-radius: 12px 12px 0 0;
  position: relative;
}

.edu-articles-main>.edu-section-title::after {
  content: '';
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 0;
  height: 1px;
  background: var(--line-1);
}

.edu-tabs {
  display: flex;
  gap: 42px;
  padding: 16px 46px 20px;
  overflow-x: auto;
  background: #fff;
  position: relative;
  scrollbar-width: none;
}

.edu-tabs::-webkit-scrollbar {
  display: none;
}

.edu-tabs::after {
  content: '';
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 0;
  height: 1px;
  background: var(--line-1);
}

.edu-tab {
  padding: 0;
  border: 0;
  background: none;
  border-radius: 4px;
  white-space: nowrap;
  color: var(--t-600);
  font-size: 18px;
  font-weight: 600;
  position: relative;
  transition: color .2s;
}

.edu-tab::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 0;
  height: 5px;
  background: var(--orange);
  transition: width .2s;
}

.edu-tab:hover,
.edu-tab.active {
  color: var(--orange);
}

.edu-tab:hover::after,
.edu-tab.active::after {
  width: 100%;
}

.edu-article-list {
  padding: 0 46px 20px;
  background: #fff;
  border-radius: 0 0 8px 8px;
}

.edu-article-item {
  display: flex;
  gap: 23px;
  padding: 24px 0 26px;
  border-bottom: 1px solid #f0f0f0;
}

.edu-article-item:last-child {
  border-bottom: 0;
}

.edu-article-thumb {
  width: 200px;
  height: 130px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-tag);
}

.edu-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}

.edu-article-item:hover .edu-article-thumb img {
  transform: scale(1.04);
}

.edu-article-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.edu-article-title {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--t-800);
  transition: color .2s;
}

.edu-article-title:hover {
  color: var(--orange);
}

.edu-article-excerpt {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--t-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.edu-article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.edu-article-info {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  color: var(--t-400);
}

.edu-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.edu-meta-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: .65;
}

.edu-article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.edu-article-tag {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 4px 12px;
  border-radius: 4px;
  background: #f5f5f5;
  color: var(--t-600);
  font-size: 12px;
  transition: color .2s, background .2s, transform .2s;
}

.edu-article-tag:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

.edu-empty,
.edu-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  color: var(--t-400);
  font-size: 15px;
}

.edu-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 65px 20px 48px;
  background: #fff;
}

.edu-page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d2d2d2;
  background: #fff;
  color: var(--t-400);
  font-size: 18px;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}

.edu-page-btn:hover:not(.disabled) {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.edu-page-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.edu-page-btn.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.edu-page-ellipsis {
  color: var(--t-400);
  padding: 0 2px;
}

.edu-quick-guides {
  margin-top: 26px;
  padding: 26px 62px 67px 44px;
  background: #fff;
  border-radius: 12px;
}

.edu-quick-guides-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-1);
}

.edu-quick-guides-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--t-800);
}

.edu-quick-guides-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px 10px;
}

.edu-quick-guide-card {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--line-1);
  border-radius: 4px;
  background: #fff;
  text-align: center;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.edu-quick-guide-card h4 {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--t-800);
  transition: color .2s;
}

.edu-quick-guide-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
  transform: translateY(-4px);
  border-color: var(--orange);
}

.edu-quick-guide-card:hover h4 {
  color: var(--orange);
}

.edu-ad-block,
.edu-sidebar-nav,
.edu-ad-demo,
.edu-tools-box {
  background: #fff;
  border-radius: 8px;
}

.edu-ad-block {
  overflow: hidden;
}

.edu-ad-register {
  overflow: hidden;
  padding: 10px 8px;
}

.edu-ad-register img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.edu-activity-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px;
}

.edu-activity-btn {
  flex: 1 1 calc(33.333% - 7px);
  max-width: calc(33.333% - 7px);
  padding: 12px 0;
  border-radius: 4px;
  background: #eee;
  color: var(--t-600);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}

.edu-activity-btn:hover,
.edu-activity-btn.active {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 116, 1, .26);
  transform: translateY(-2px);
}

.edu-sidebar-nav {
  padding: 20px 20px 57px;
}

.edu-sidebar-nav h4,
.edu-tools-box h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--t-800);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-1);
}

.edu-sidebar-nav-list li a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  color: #717171;
  font-size: 16px;
  transition: color .2s;
}

.edu-sidebar-nav-list li a:hover {
  color: var(--orange);
}

.edu-nav-num {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #d4af37;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.edu-sidebar-nav-list li:nth-child(-n+3) .edu-nav-num {
  background: var(--orange);
}

.edu-ad-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 27px;
}

.edu-ad-demo-text {
  flex: 1;
  min-width: 0;
}

.edu-ad-demo h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--t-800);
  margin-bottom: 13px;
}

.edu-ad-demo p {
  font-size: 14px;
  color: var(--t-600);
  margin-bottom: 20px;
}

.edu-ad-demo .btn {
  width: 116px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.edu-ad-demo .btn:hover {
  background: var(--orange-soft);
}

.edu-ad-demo-icon {
  flex-shrink: 0;
}

.edu-ad-demo-icon img {
  width: 130px;
  height: auto;
}

.edu-tools-box {
  padding: 35px 27px 30px;
}

.edu-tools-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.edu-tool-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 12px 20px 16px;
  border: 1px solid var(--line-1);
  border-radius: 8px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.edu-tool-item:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
  transform: translateX(5px);
}

.edu-tool-icon {
  width: 64px;
  height: 60px;
  flex-shrink: 0;
}

.edu-tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.edu-tool-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.edu-tool-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--t-800);
  transition: color .2s;
}

.edu-tool-desc {
  font-size: 13px;
  color: var(--t-400);
  line-height: 1.4;
}

.edu-tool-item:hover .edu-tool-title {
  color: var(--orange);
}

/* ====================== Section 4/5: Bottom categories + CTA ====================== */
.edu-bottom-categories {
  padding: 116px 0 105px;
  background: #fff;
}

.hp-bottom-header {
  text-align: center;
  margin-bottom: 40px;
}

.hp-bottom-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--t-800);
  margin-bottom: 12px;
}

.hp-bottom-header p {
  font-size: 16px;
  color: var(--t-400);
}

.edu-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 21px;
}

.edu-bottom-card {
  text-align: center;
  padding: 56px 40px 42px;
  background: #f6f6f6;
  border-radius: 12px;
  transition: box-shadow .25s, transform .25s, background .25s;
}

.edu-bottom-card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
  transform: translateY(-8px);
  background: #fff;
}

.edu-bottom-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 47px;
  transition: transform .25s;
}

.edu-bottom-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.edu-bottom-card:hover .edu-bottom-icon {
  transform: scale(1.1);
}

.edu-bottom-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--t-800);
  margin-bottom: 21px;
  transition: color .2s;
}

.edu-bottom-card:hover h3 {
  color: var(--orange);
}

.edu-bottom-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--t-600);
}

.edu-cta {
  padding: 146px 0 160px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(59, 42, 22, .82) 0%, rgba(255, 116, 1, .72) 100%),
    url('../img/fude/edu/backgrounds/bg-cta.webp') center / cover no-repeat;
}

.edu-cta-content h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
}

.edu-cta-content p {
  font-size: 20px;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 70px;
}

.edu-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.edu-cta-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  padding: 24px 40px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s, transform .2s;
}

.btn-white {
  background: #fff;
  color: var(--orange);
  box-shadow: 0 4px 20px rgba(255, 255, 255, .24);
}

.btn-outline-white {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .9);
}

.edu-cta-buttons a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, .25);
}

.btn-outline-white:hover {
  background: #fff;
  color: var(--orange);
}

@media (max-width: 1080px) {
  .edu-banner .radar-sweep {
    display: none;
  }

  .edu-banner .radar-static-ring:nth-child(1) {
    width: 140px;
    height: 140px;
    top: -70px;
    left: -70px;
  }

  .edu-banner .radar-static-ring:nth-child(2) {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
  }

  .edu-banner .radar-static-ring:nth-child(3) {
    width: 480px;
    height: 480px;
    top: -240px;
    left: -240px;
  }

  .edu-banner .banner-ripple::before {
    width: 600px;
    left: -300px;
  }

  .edu-banner .banner-ripple::after {
    height: 400px;
    top: -200px;
  }

  .edu-banner .ripple-ring {
    width: 600px;
    height: 600px;
    top: -300px;
    left: -300px;
  }

  .edu-banner .ripple-ring:nth-child(n+9) {
    display: none;
  }

  .edu-banner .ripple-glow {
    width: 100px;
    height: 100px;
    top: -50px;
    left: -50px;
  }

  .edu-banner {
    min-height: clamp(360px, 116.25vw, 620px);
    display: block;
    padding: clamp(42px, 11.67vw, 86px) 0 clamp(36px, 10vw, 72px);
    overflow: hidden;
  }

  .edu-banner-content {
    padding-bottom: 0;
  }

  .edu-banner-title {
    font-size: clamp(24px, 6vw, 48px);
    margin-bottom: clamp(16px, 4vw, 28px);
  }

  .edu-banner-subtitle {
    padding: 0 clamp(4px, 1.11vw, 16px);
    margin-bottom: clamp(22px, 6vw, 50px);
    font-size: clamp(13px, 3.5vw, 20px);
  }

  .edu-search-box {
    max-width: none;
    flex-direction: column;
    margin: 0 clamp(4px, 1.11vw, 16px);
    border-radius: clamp(8px, 2vw, 12px);
  }

  .edu-search-input {
    min-height: clamp(44px, 12vw, 58px);
    padding: 0 clamp(16px, 4vw, 24px);
    font-size: clamp(13px, 3.5vw, 16px);
  }

  .edu-search-input::placeholder {
    font-size: clamp(12px, 3.2vw, 16px);
  }

  .edu-search-btn {
    min-width: 0;
    padding: clamp(12px, 4vw, 24px);
    font-size: clamp(14px, 4vw, 20px);
  }

  .trade-metal-section {
    padding: clamp(24px, 6vw, 60px) 0;
  }

  .trade-metal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 2.78vw, 20px);
  }

  .trade-metal-card {
    padding: clamp(14px, 4vw, 24px);
  }

  .trade-metal-header {
    margin-bottom: clamp(10px, 2.78vw, 21px);
  }

  .trade-metal-badge {
    width: clamp(26px, 7vw, 30px);
    height: clamp(26px, 7vw, 30px);
    font-size: clamp(12px, 3vw, 14px);
  }

  .trade-metal-name,
  .trade-metal-code {
    font-size: clamp(13px, 3.5vw, 18px);
  }

  .trade-metal-price {
    font-size: clamp(20px, 5.5vw, 28px);
  }

  .trade-metal-change,
  .trade-metal-unit,
  .trade-metal-range {
    font-size: clamp(11px, 3vw, 14px);
  }

  .hp-guide {
    padding: clamp(24px, 6vw, 60px) 0 clamp(16px, 4vw, 32px);
  }

  .hp-guide-content,
  .edu-articles-content {
    flex-direction: column;
    gap: clamp(16px, 4vw, 24px);
  }

  .hp-guide-main,
  .edu-articles-main,
  .edu-sidebar {
    width: 100%;
    position: static;
    top: auto;
    align-self: stretch;
    max-height: none;
    overflow: visible;
  }

  .edu-sidebar {
    gap: clamp(16px, 4vw, 24px);
  }

  .hp-guide-main,
  .edu-quick-nav,
  .edu-sidebar-nav,
  .edu-ad-demo,
  .edu-tools-box {
    border-radius: clamp(8px, 2.2vw, 12px);
  }

  .hp-guide-main {
    padding: clamp(16px, 4vw, 32px);
  }

  .edu-section-header {
    margin-bottom: clamp(16px, 4vw, 34px);
    padding-bottom: clamp(12px, 3vw, 16px);
  }

  .edu-section-title {
    font-size: clamp(18px, 4.5vw, 28px);
  }

  .edu-view-more {
    font-size: clamp(12px, 3vw, 16px);
  }

  .hp-card-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: clamp(10px, 3vw, 22px);
  }

  .hp-card {
    gap: clamp(10px, 3vw, 24px);
    padding: clamp(12px, 3.5vw, 20px);
  }

  .hp-card:hover,
  .trade-metal-card:hover,
  .edu-bottom-card:hover {
    transform: none;
  }

  .hp-card-icon,
  .hp-card-icon img {
    width: clamp(22px, 6vw, 28px);
    height: clamp(22px, 6vw, 28px);
  }

  .hp-card-title {
    font-size: clamp(12px, 3.5vw, 15px);
  }

  .hp-card-desc {
    font-size: clamp(11px, 3vw, 14px);
    line-height: 1.55;
  }

  .edu-quick-nav {
    padding: clamp(16px, 4vw, 28px);
  }

  .edu-quick-nav h3,
  .edu-sidebar-nav h4,
  .edu-tools-box h4 {
    font-size: clamp(16px, 4.5vw, 20px);
  }

  .edu-nav-item a {
    padding: clamp(10px, 3vw, 14px) 0;
    font-size: clamp(13px, 3.5vw, 16px);
  }

  .edu-nav-count {
    font-size: clamp(11px, 3vw, 14px);
  }

  .edu-articles {
    padding: 0 0 clamp(28px, 7vw, 74px);
  }

  .edu-articles-main>.edu-section-title {
    padding: clamp(16px, 4vw, 26px);
    border-radius: clamp(8px, 2.2vw, 12px) clamp(8px, 2.2vw, 12px) 0 0;
  }

  .edu-articles-main>.edu-section-title::after,
  .edu-tabs::after {
    left: clamp(16px, 4vw, 46px);
    right: clamp(16px, 4vw, 46px);
  }

  .edu-tabs {
    padding: clamp(12px, 3vw, 16px) clamp(16px, 4vw, 46px) clamp(14px, 3.5vw, 20px);
    gap: clamp(18px, 4vw, 42px);
  }

  .edu-tab {
    font-size: clamp(13px, 3.5vw, 18px);
  }

  .edu-tab::after {
    bottom: clamp(-18px, -3.5vw, -12px);
    height: 3px;
  }

  .edu-article-list {
    padding: 0 clamp(16px, 4vw, 46px) clamp(16px, 4vw, 20px);
    border-radius: 0 0 clamp(8px, 2.2vw, 12px) clamp(8px, 2.2vw, 12px);
  }

  .edu-article-item {
    flex-direction: column;
    gap: clamp(12px, 3vw, 23px);
    padding: clamp(16px, 4vw, 26px) 0;
  }

  .edu-article-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: clamp(8px, 2vw, 12px);
  }

  .edu-article-title {
    font-size: clamp(15px, 4vw, 18px);
  }

  .edu-article-excerpt {
    font-size: clamp(12px, 3.2vw, 14px);
  }

  .edu-article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(8px, 2vw, 14px);
  }

  .edu-article-info {
    gap: clamp(12px, 3vw, 28px);
    flex-wrap: wrap;
    font-size: clamp(10px, 2.8vw, 12px);
  }

  .edu-meta-icon {
    width: clamp(11px, 3vw, 14px);
    height: clamp(11px, 3vw, 14px);
  }

  .edu-article-tags {
    flex-wrap: wrap;
  }

  .edu-pagination {
    padding: clamp(24px, 6vw, 65px) clamp(12px, 4vw, 20px);
    gap: clamp(8px, 2vw, 12px);
    flex-wrap: wrap;
  }

  .edu-page-btn {
    min-width: clamp(32px, 8vw, 38px);
    height: clamp(32px, 8vw, 38px);
    font-size: clamp(14px, 3.5vw, 18px);
  }

  .edu-quick-guides {
    margin-top: clamp(16px, 4vw, 26px);
    padding: clamp(16px, 4vw, 44px);
  }

  .edu-quick-guides-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 2vw, 15px);
  }

  .edu-quick-guide-card {
    min-height: clamp(42px, 12vw, 48px);
    padding: clamp(8px, 2.5vw, 12px);
  }

  .edu-quick-guide-card h4 {
    font-size: clamp(11px, 3vw, 14px);
  }

  .edu-ad-register {
    padding: clamp(8px, 2vw, 10px);
  }

  .edu-activity-btns {
    padding: clamp(12px, 3vw, 16px);
    gap: clamp(8px, 2vw, 10px);
  }

  .edu-activity-btn {
    padding: clamp(9px, 2.5vw, 12px) 0;
    font-size: clamp(11px, 3.2vw, 14px);
  }

  .edu-sidebar-nav {
    padding: clamp(16px, 4vw, 20px);
  }

  .edu-sidebar-nav-list li a {
    font-size: clamp(13px, 3.5vw, 16px);
  }

  .edu-ad-demo {
    padding: clamp(18px, 5vw, 30px);
  }

  .edu-ad-demo h4 {
    font-size: clamp(16px, 4.5vw, 24px);
  }

  .edu-ad-demo p {
    font-size: clamp(12px, 3.2vw, 14px);
  }

  .edu-ad-demo-icon img {
    width: clamp(88px, 26vw, 130px);
  }

  .edu-tools-box {
    padding: clamp(18px, 5vw, 35px) clamp(16px, 4vw, 27px);
  }

  .edu-tool-item {
    gap: clamp(12px, 3.5vw, 18px);
    padding: clamp(14px, 4vw, 22px) clamp(10px, 3vw, 16px);
  }

  .edu-tool-icon {
    width: clamp(42px, 12vw, 64px);
    height: clamp(40px, 11vw, 60px);
  }

  .edu-tool-title {
    font-size: clamp(13px, 3.5vw, 16px);
  }

  .edu-tool-desc {
    font-size: clamp(11px, 3vw, 13px);
  }

  .edu-bottom-categories {
    padding: clamp(40px, 10vw, 116px) 0 clamp(40px, 10vw, 105px);
  }

  .hp-bottom-header {
    margin-bottom: clamp(22px, 5vw, 40px);
  }

  .hp-bottom-header h2 {
    font-size: clamp(20px, 5vw, 28px);
  }

  .hp-bottom-header p {
    font-size: clamp(13px, 3.2vw, 16px);
  }

  .edu-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 3vw, 21px);
  }

  .edu-bottom-card {
    padding: clamp(24px, 7vw, 56px) clamp(14px, 4vw, 40px) clamp(22px, 6vw, 42px);
  }

  .edu-bottom-icon {
    width: clamp(54px, 16vw, 88px);
    height: clamp(54px, 16vw, 88px);
    margin-bottom: clamp(18px, 5vw, 47px);
  }

  .edu-bottom-card h3 {
    font-size: clamp(15px, 4vw, 20px);
    margin-bottom: clamp(10px, 3vw, 21px);
  }

  .edu-bottom-card p {
    font-size: clamp(12px, 3.2vw, 16px);
  }

  .edu-cta {
    padding: clamp(48px, 13vw, 146px) 0 clamp(54px, 14vw, 160px);
  }

  .edu-cta-content h2 {
    font-size: clamp(24px, 6vw, 42px);
  }

  .edu-cta-content p {
    font-size: clamp(14px, 3.8vw, 20px);
    margin-bottom: clamp(28px, 8vw, 70px);
  }

  .edu-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: clamp(12px, 3vw, 40px);
  }

  .edu-cta-buttons a {
    width: min(260px, 100%);
    padding: clamp(13px, 4vw, 24px) clamp(22px, 6vw, 40px);
    font-size: clamp(14px, 4vw, 18px);
  }
}

@media (max-width: 480px) {

  .trade-metal-grid,
  .hp-card-grid,
  .edu-bottom-grid {
    grid-template-columns: 1fr;
  }

  .edu-quick-guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .edu-ad-demo {
    align-items: flex-start;
  }

  .edu-ad-demo-icon img {
    width: 78px;
  }
}
