.glossary-detail-page {
  font-family: "Roboto", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.08) 0, transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(14, 165, 233, 0.08) 0, transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%);
  padding-bottom: 52px;
}
.glossary-detail-page * {
  font-family: "Roboto", sans-serif;
}
.glossary-breadcrumb-wrap {
  background: linear-gradient(186.63deg, #000000 -4.34%, #005cbd 110.69%);
}
.breadcrumb-bar {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}
.breadcrumb-bar a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding-right: 10px;
  margin-right: 10px;
  position: relative;
}
.breadcrumb-bar a:hover {
  color: #f9a25a;
}
.breadcrumb-bar a:after {
  content: "\f105";
  font-family: var(--fa-style-family, "Font Awesome 6 Free");
  font-weight: var(--fa-style, 500);
  right: -7px;
  position: absolute;
  color: rgba(255, 255, 255, 0.55);
}
.detail-hero {
    background: linear-gradient(186.63deg, #000000 -4.34%, #005CBD 110.69%);
    border-bottom: 1px solid #e2ebfb;
    padding: 30px 0 26px;
}
.hero-topline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f1ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.crumbs {
    font-size: 14px;
    color: #fff;
    margin-bottom: 9px;
}
.crumbs a {
    color: #f37634;
    text-decoration: none;
}
.crumbs a:hover { text-decoration: underline; }
.detail-title {
    margin: 0 0 10px;
    line-height: 1.04;
    color: #FFF;
    font-size: 38px;
    font-weight: 500;
    font-family: "Roboto Flex";
}
.detail-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.byline-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 500;
  color: #f8fbff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(9, 28, 63, 0.28);
}
.byline-link {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 4px;
}
.byline-link:visited {
  color: #ffffff !important;
}
.byline-link:hover {
  color: #ffffff !important;
}
.byline-link:focus,
.byline-link:active {
  color: #ffffff !important;
}
.byline-date {
  background: rgba(255, 255, 255, 0.18);
}
.detail-wrap {
  margin-top: 26px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(280px, 1fr);
  gap: 18px;
}
.index-card {
  background: #fff;
  border: 1px solid #dfe8f5;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(2, 6, 23, 0.07);
  padding: 22px;
}
.definition-card {
  position: relative;
}
.definition-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #0f766e;
  background: #ecfeff;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 5px 11px;
  margin-bottom: 14px;
}
.definition-tag:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
}
.article-content {
  color: #1e2d42;
  line-height: 1.85;
  font-size: 17px;
}
.article-content p { 
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 24px;
}
.article-content ul,
.article-content ol {
  padding-left: 18px;
  margin-bottom: 12px;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  color: #0f172a;
  font-weight: 800;
  margin-top: 14px;
  margin-bottom: 8px;
}
.article-content h2 {
    font-size: 20px;
}
.article-content h3, .article-content h4{
    font-size: 18px;  
}
.article-content > :last-child { margin-bottom: 0; }
.side-panel {
  position: sticky;
  top: 96px;
  align-self: start;
}
.side-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.side-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}
.related-list {
  display: grid;
  gap: 9px;
}
.related-link {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid #deebff;
  border-radius: 11px;
  padding: 10px 11px;
  color: #0f172a;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  transition: all .2s ease;
}
.related-link:hover {
  color: #1b3ea8;
  border-color: #c6dbff;
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.08);
  transform: translateY(-1px);
}
.related-idx {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.quick-back {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #1b3ea8;
  font-weight: 700;
  text-decoration: none;
}
.quick-back:hover {
  text-decoration: underline;
}
.article-content img{
  max-width:100%;
}
@media (max-width: 991px) {
  .detail-title { font-size: 34px; }
  .detail-grid { grid-template-columns: 1fr; }
  .side-panel { position: static; }
}
@media (max-width: 767px) {
  .hero-shell { padding: 15px; }
  .detail-title { font-size: 28px; }
  .article-content { font-size: 16px; }
}
