/* ==========================================================================
   Orange-Only Accent Overrides
   ========================================================================== */

.accent-border-top::before {
  background: linear-gradient(90deg, #9a3412 0%, #f97316 50%, #c2410c 100%) !important;
}

.btn-accent,
.paper-box-text .btn-accent,
.tag-accent,
.badge,
.paper-box-image .badge {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%) !important;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.32) !important;
}

.btn-accent:hover,
.paper-box-text .btn-accent:hover {
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4) !important;
}

.accent-text {
  background-image: linear-gradient(135deg, #f97316 0%, #fb923c 55%, #fdba74 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.primary-gradient-text {
  background-image: linear-gradient(135deg, #9a3412 0%, #c2410c 55%, #f97316 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .accent-text {
    background: none !important;
    color: #f97316 !important;
    -webkit-text-fill-color: currentColor !important;
  }

  .primary-gradient-text {
    background: none !important;
    color: #c2410c !important;
    -webkit-text-fill-color: currentColor !important;
  }
}

.link-accent,
a {
  color: #012f63 !important;
}

.link-accent:hover,
a:hover {
  color: #fb923c !important;
}

.link-accent::after {
  background: linear-gradient(90deg, #f97316 0%, #fb923c 100%) !important;
}

.divider-accent {
  background: linear-gradient(90deg, transparent 0%, #f97316 50%, transparent 100%) !important;
}

.quote-accent {
  border-left: 4px solid #f97316 !important;
}

.quote-accent::before {
  color: #f97316 !important;
}

.progress-accent-bar {
  background: linear-gradient(90deg, #f97316 0%, #fb923c 100%) !important;
}

.fas,
.fab,
.far,
.ai {
  color: #9a3412 !important;
}

body,
.page,
.page__content,
.page__content p,
.page__content li,
.page__content h1,
.page__content h2,
.page__content h3,
.page__content h4,
.page__content h5,
.page__content h6,
.paper-box-text .authors,
.paper-box-text h3 {
  color: #012f63 !important;
}

.paper-box .paper-box-text .paper-status {
  padding: 0.12rem 0.48rem;
  font-size: 0.7rem;
}

.paper-box .paper-box-text .paper-status-note {
  color: #c2410c !important;
}

.floating-card::before {
  background: linear-gradient(90deg, #f97316 0%, #fb923c 60%, #fdba74 100%) !important;
}

.floating-card:hover,
.floating-card:focus-within {
  border-color: rgba(249, 115, 22, 0.2) !important;
  box-shadow: 0 12px 35px rgba(1, 47, 99, 0.15) !important;
}

.paper-box:hover,
.paper-box:focus-within {
  border-color: rgba(249, 115, 22, 0.12) !important;
  box-shadow: 0 12px 35px rgba(1, 47, 99, 0.1), 0 4px 15px rgba(249, 115, 22, 0.08) !important;
}

.page__content p:hover,
.page__content li:hover,
.paper-box-text h3:hover,
.paper-box-text .authors:hover,
.paper-box-text .venue:hover {
  color: #fb923c !important;
}

.floating-card:hover::before,
.floating-card:focus-within::before {
  opacity: 1 !important;
}

.greedy-nav .visible-links a:before {
  background: #f97316 !important;
}

.fas:hover,
.fab:hover,
.far:hover,
.ai:hover {
  color: #f97316 !important;
}

/* Sidebar author/location hover should stay orange (override legacy pink rules) */
.sidebar .fas:hover,
.sidebar .fab:hover,
.sidebar .far:hover,
.author__urls .fas:hover,
.author__urls .fab:hover,
.author__urls .far:hover,
.author__urls .fa:hover {
  color: #f97316 !important;
}

.sidebar .author__urls li:hover,
.sidebar .author__urls a:hover,
.profile_box .author__urls li:hover,
.profile_box .author__urls a:hover {
  color: #f97316 !important;
}

/* Hard override: sidebar author block hover text/icon color */
.sidebar .author__bio:hover,
.sidebar .author__urls li:hover,
.sidebar .author__urls li:hover *,
.sidebar .author__urls a:hover,
.sidebar .author__urls a:hover *,
.sidebar .author__urls_sm a:hover,
.sidebar .author__urls_sm a:hover * {
  color: #f97316 !important;
}

.paper-box-text .authors strong,
.paper-box-text .author-me {
  color: #f97316 !important;
}

.paper-box .paper-box-text .paper-status.status-under-review {
  color: #7c4a2f !important;
  background: #f7f1ec !important;
  border-color: #d8b8a0 !important;
  box-shadow: none !important;
}

.paper-box-text .status-poster {
  color: #c2410c !important;
  background: linear-gradient(135deg, #ffe7d3 0%, #ffd6b1 100%) !important;
  border-color: #efb37e !important;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.2) !important;
}

.paper-box-text .status-oral {
  color: #ffffff !important;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
  border-color: #c2410c !important;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.34) !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

/* ==========================================================================
   Research Mindmap Cards
   ========================================================================== */

.research-mindmap {
  margin: 2.1rem 0 2.5rem;
  position: relative;
}

.research-mindmap .mindmap-core {
  max-width: 560px;
  margin: 0 auto 1.4rem;
  padding: 1.15rem 1.25rem 1rem;
  border: 1px solid rgba(249, 115, 22, 0.2) !important;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(145deg, #fff8f2 0%, #fff2e8 100%) !important;
  position: relative;
}

.research-mindmap .mindmap-core::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + 1px);
  width: 2px;
  height: 20px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.62) 0%, rgba(251, 146, 60, 0.18) 100%);
}

.research-mindmap .mindmap-core__label {
  margin: 0 0 0.28rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c2410c !important;
}

.research-mindmap .mindmap-core h3 {
  margin: 0 0 0.35rem;
  font-size: 1.36rem;
  color: #9a3412 !important;
}

.research-mindmap .mindmap-core p {
  margin: 0;
  line-height: 1.55;
  color: #4c1d06 !important;
}

.research-mindmap .mindmap-core strong {
  color: #ea580c !important;
}

.research-mindmap .mindmap-branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  padding-top: 1.2rem;
  align-items: stretch;
  overflow: visible;
  margin-bottom: 0;
}

.research-mindmap .mindmap-branches::before {
  content: "";
  position: absolute;
  top: 0.44rem;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0.68) 50%, rgba(249, 115, 22, 0.2) 100%);
}

.research-mindmap .mindmap-branch {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem 1.02rem 0.95rem;
  border: 1px solid rgba(249, 115, 22, 0.16) !important;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff 0%, #fff8f2 100%) !important;
}

.research-mindmap .mindmap-branch::before {
  content: "";
  position: absolute;
  top: -0.76rem;
  left: 50%;
  width: 2px;
  height: 0.78rem;
  transform: translateX(-50%);
  background: rgba(249, 115, 22, 0.58);
}

.research-mindmap .mindmap-branch h3 {
  margin: 0 0 0.62rem;
  font-size: 1rem;
  line-height: 1.35;
  color: #9a3412 !important;
}

.research-mindmap .mindmap-branch ul {
  margin: 0;
  padding-left: 1.05rem;
}

.research-mindmap .mindmap-branch li {
  margin: 0 0 0.42rem;
  line-height: 1.46;
  color: #0f3a69 !important;
}

.research-mindmap .mindmap-branch li:last-child {
  margin-bottom: 0;
}

.research-mindmap .mindmap-extension-wrap {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  position: relative;
}

.research-mindmap .mindmap-connector {
  width: 3px;
  height: 14px;
  margin: 0.1rem auto 0.2rem;
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.9) 0%, rgba(249, 115, 22, 0.35) 100%);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.08);
}

.research-mindmap .mindmap-divider {
  width: min(760px, 92%);
  height: 2px;
  margin: 1rem auto 0.22rem;
  background: linear-gradient(
    90deg,
    rgba(249, 115, 22, 0.06) 0%,
    rgba(249, 115, 22, 0.78) 50%,
    rgba(249, 115, 22, 0.06) 100%
  );
  border-radius: 999px;
}

.research-mindmap .mindmap-extension {
  width: min(98%, 760px);
  margin: 0;
  padding: 0.48rem 1rem 0.44rem;
  border: 1px dashed rgba(249, 115, 22, 0.5) !important;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff4ea 0%, #ffe8d4 100%) !important;
  box-shadow: 0 8px 20px rgba(154, 52, 18, 0.1), 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.research-mindmap .mindmap-extension__title {
  margin: 0 0 0.14rem;
  font-weight: 700;
  color: #c2410c !important;
}

.research-mindmap .mindmap-extension p {
  margin: 0;
  line-height: 1.28;
  color: #4c1d06 !important;
}

@media (max-width: 1024px) {
  .research-mindmap .mindmap-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .research-mindmap .mindmap-branch:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .research-mindmap {
    margin: 1.6rem 0 2rem;
  }

  .research-mindmap .mindmap-core {
    margin-bottom: 0.95rem;
    padding: 0.95rem 0.92rem 0.9rem;
  }

  .research-mindmap .mindmap-core::after,
  .research-mindmap .mindmap-branches::before,
  .research-mindmap .mindmap-branch::before {
    display: none;
  }

  .research-mindmap .mindmap-branches {
    grid-template-columns: 1fr;
    gap: 0.82rem;
    padding-top: 0;
  }

  .research-mindmap .mindmap-extension-wrap {
    margin-top: 0.82rem;
  }

  .research-mindmap .mindmap-connector {
    height: 10px;
    margin: 0.05rem auto 0.12rem;
  }

  .research-mindmap .mindmap-divider {
    margin: 0.8rem auto 0.16rem;
  }

  .research-mindmap .mindmap-extension {
    width: 100%;
  }

  .research-mindmap .mindmap-branch:last-child {
    grid-column: auto;
  }
}
