/* Base Styles */
:root {
  --color-background: #f3f5fb;
  --color-background-accent: #edf1ff;
  --color-surface: #ffffff;
  --color-surface-muted: #f7f8fc;
  --color-primary: #5c6bff;
  --color-primary-dark: #434ed1;
  --color-secondary: #ff7aa8;
  --color-success: #34c38f;
  --color-warning: #ffcf5c;
  --color-text: #1d2433;
  --color-text-muted: #5f6a7d;
  --shadow-xs: 0 4px 12px rgba(28, 36, 51, 0.05);
  --shadow-sm: 0 10px 30px rgba(28, 36, 51, 0.08);
  --shadow-lg: 0 30px 60px rgba(28, 36, 51, 0.14);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

body {
  background: var(--color-background);
  min-height: 100vh;
  padding-top: 78px;
  margin: 0;
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  line-height: 1.7;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 20%, rgba(92, 107, 255, 0.09) 0%, rgba(92, 107, 255, 0) 45%),
              radial-gradient(circle at 80% 0%, rgba(255, 173, 204, 0.12) 0%, rgba(255, 173, 204, 0) 40%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 255, 0.9) 65%, rgba(243, 245, 251, 0.95) 100%);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url('data:image/svg+xml,%3Csvg width="240" height="240" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23dfe5ff" fill-opacity="0.25"%3E%3Cpath d="M10 10h1v1h-1zM40 80h1v1h-1zM70 30h1v1h-1zM90 100h1v1h-1z"/%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.4;
  z-index: -3;
}

* {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text);
  font-family: 'Google Sans', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

a {
  color: var(--color-primary);
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

.button.is-primary,
.button.is-dark,
.button.is-link {
  border: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.is-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
}

.button.is-link {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #fff;
}

.button.is-dark {
  background: linear-gradient(135deg, #2c3e50 0%, #1d2433 100%);
  color: #fff;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.content {
  color: var(--color-text-muted);
}

.content h2,
.content h3,
.content h4 {
  color: var(--color-text);
}

/* Navigation Bar */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 225, 255, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.navbar-logo-link,
.navbar-home-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-home-link {
  color: inherit;
  gap: 0.75rem;
}

.navbar-logo {
  height: 45px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 18px rgba(92, 107, 255, 0.2));
}

.navbar-divider {
  height: 35px;
  width: 1px;
  background: rgba(92, 107, 255, 0.15);
}

.navbar-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.navbar-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar-link:hover,
.navbar-link:focus {
  color: var(--color-primary-dark);
  background-color: rgba(92, 107, 255, 0.12);
  box-shadow: 0 8px 20px rgba(92, 107, 255, 0.12);
}

.debug-gym-inline-logo {
  height: 45px;
  max-height: 45px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(92, 107, 255, 0.2));
}

/* Team Page */
.section.team-intro {
  padding-top: 6.5rem;
  padding-bottom: 2.5rem;
}

.section.team-directory {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(92, 107, 255, 0.08);
  box-shadow: 0 25px 60px rgba(92, 107, 255, 0.08);
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 70px rgba(92, 107, 255, 0.12);
}

.team-card__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.team-card__avatar {
  flex-shrink: 0;
}

.team-card__summary {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.team-card__name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
}

.team-card__role {
  font-size: 1rem;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.team-card__affiliation {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.team-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-start;
  margin-top: 0.75rem;
}

.initial-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 18px 42px rgba(92, 107, 255, 0.18);
  border: 3px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.initial-avatar span {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.initial-avatar--lg {
  width: 96px;
  height: 96px;
  font-size: 2.2rem;
}

.initial-avatar--sm {
  width: 54px;
  height: 54px;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.initial-avatar--variant-1 {
  background: linear-gradient(135deg, #5c6bff 0%, #7f5cff 100%);
}

.initial-avatar--variant-2 {
  background: linear-gradient(135deg, #ff7aa8 0%, #ff9f7a 100%);
}

.initial-avatar--variant-3 {
  background: linear-gradient(135deg, #34c38f 0%, #58d7b5 100%);
}

.initial-avatar--variant-4 {
  background: linear-gradient(135deg, #f39c12 0%, #f7b733 100%);
}

.initial-avatar--variant-5 {
  background: linear-gradient(135deg, #a657ff 0%, #6d28d9 100%);
}

.initial-avatar--variant-6 {
  background: linear-gradient(135deg, #ff7f6a 0%, #ffb36c 100%);
}

.team-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: rgba(92, 107, 255, 0.12);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.team-card__link:hover,
.team-card__link:focus {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  box-shadow: 0 12px 24px rgba(92, 107, 255, 0.25);
}

/* Hero Section */
.hero.is-primary {
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 55%),
              linear-gradient(135deg, #5c6bff 0%, #7f5cff 45%, #a657ff 100%);
  position: relative;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 3.5rem;
}

.hero.is-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10%, -10%) scale(1.1); }
}

.hero-body {
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 1;
}

.hero .title {
  text-shadow: 0 10px 30px rgba(28, 36, 51, 0.18);
  font-size: 2.65rem;
}

.hero .subtitle {
  text-shadow: 0 6px 16px rgba(28, 36, 51, 0.14);
  font-size: 1.55rem;
}

/* Froggy Team Footnote Tooltip */
.froggy-footnote {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: help;
  text-decoration: none;
}

.froggy-footnote:focus {
  outline: none;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
}

.froggy-footnote__tooltip {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translate(-50%, -6px);
  background: var(--color-text);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 280px;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 5;
}

.froggy-footnote__tooltip::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent var(--color-text) transparent;
}

.froggy-footnote:hover .froggy-footnote__tooltip,
.froggy-footnote:focus .froggy-footnote__tooltip,
.froggy-footnote:focus-within .froggy-footnote__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 600px) {
  .froggy-footnote__tooltip {
    left: 0;
    transform: translate(0, -6px);
    max-width: 240px;
  }

  .froggy-footnote:hover .froggy-footnote__tooltip,
  .froggy-footnote:focus .froggy-footnote__tooltip,
  .froggy-footnote:focus-within .froggy-footnote__tooltip {
    transform: translate(0, 0);
  }
}

/* Intro Section */

.section-intro {
  padding: 2.75rem 1.75rem;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(92, 107, 255, 0.08);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius-lg);
  max-width: 940px;
  margin: 2rem auto 1.5rem;
  position: relative;
}

.section-intro::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at 50% 0%, rgba(92, 107, 255, 0.08) 0%, rgba(92, 107, 255, 0) 70%);
  z-index: -1;
  filter: blur(12px);
}

.section-intro .content p {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.section-intro .content strong {
  color: var(--color-text);
}

/* Projects Section */
.section {
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 1;
}

.projects-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text);
  position: relative;
}

.projects-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Project Cards */
.project-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
  border: 1px solid rgba(92, 107, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.project-card__meta-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.project-card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -40%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(92, 107, 255, 0.18) 0%, rgba(92, 107, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card h3 {
  margin-bottom: 1rem;
  color: var(--color-text);
  position: relative;
  z-index: 1;
  font-size: 1.85rem;
}

.project-card p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.content-type-badge,
.project-status {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.44rem 1.05rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  line-height: 1;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(2px);
}

.project-status {
  text-transform: none;
  letter-spacing: 0.06em;
  align-self: center;
}

.status-published {
  background: linear-gradient(135deg, var(--color-success) 0%, #2fa67a 100%);
  color: #fff;
}

.status-coming-soon {
  background: linear-gradient(135deg, var(--color-warning) 0%, #ffb347 100%);
  color: #3c2f04;
}

.content-type-badge {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.74rem;
  margin-bottom: 0;
}

.content-type-project {
  background: linear-gradient(135deg, rgba(92, 107, 255, 0.25) 0%, rgba(122, 86, 255, 0.35) 100%);
  color: var(--color-primary-dark);
}

.content-type-news {
  background: linear-gradient(135deg, rgba(255, 214, 102, 0.3) 0%, rgba(255, 168, 76, 0.35) 100%);
  color: #b86e1b;
}

.content-type-blog {
  background: linear-gradient(135deg, rgba(255, 171, 191, 0.3) 0%, rgba(255, 101, 132, 0.35) 100%);
  color: #d9486e;
}

.section-feed {
  padding-top: 0.5rem;
}

.project-links {
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
}

.project-links a {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.25s ease;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-inline: 1.05rem;
  padding-block: 0.65rem;
}

.project-links a .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
}

.project-links a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Project Detail Pages */
.project-back-button {
  position: fixed;
  top: 92px;
  right: 2.75rem;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--color-text) !important;
  border: 1px solid rgba(92, 107, 255, 0.08);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-back-button:hover {
  transform: translateX(-6px);
  box-shadow: var(--shadow-sm);
}

.project-hero {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 0 auto 2.75rem;
  position: relative;
  max-width: 1040px;
}

.project-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 20%, rgba(92, 107, 255, 0.16) 0%, rgba(92, 107, 255, 0) 55%),
              radial-gradient(circle at 80% 0%, rgba(255, 173, 204, 0.22) 0%, rgba(255, 173, 204, 0) 52%);
  opacity: 0.9;
}

.project-hero .hero-body {
  position: relative;
  z-index: 1;
  padding: 4rem 2.5rem 3.5rem;
}

.project-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(92, 107, 255, 0.18);
  color: var(--color-primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.project-hero .publication-title {
  margin-bottom: 1.75rem;
  text-shadow: 0 20px 45px rgba(28, 36, 51, 0.18);
}

.project-meta {
  margin: 0 auto 2.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.project-meta__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(92, 107, 255, 0.08);
}

.project-meta__logo img {
  height: 56px;
  width: auto;
  display: block;
}

.project-meta__details {
  display: grid;
  gap: 0.6rem;
  text-align: center;
}

.project-meta__item {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.project-meta__affiliation {
  font-size: 1rem;
  opacity: 0.85;
}

.project-links--hero {
  justify-content: center;
  margin-top: 1rem;
}

.project-body {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 1040px;
  margin: 0 auto 2.75rem;
  border: 1px solid rgba(92, 107, 255, 0.05);
}

.project-content {
  font-size: 1.08rem;
}

.project-content h2,
.project-content h3,
.project-content h4 {
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
}

.project-content h2 {
  font-size: 2rem;
  border-bottom: 2px solid rgba(92, 107, 255, 0.2);
  padding-bottom: 0.75rem;
}

.project-content h3 {
  font-size: 1.55rem;
}

.project-content img,
.project-content video,
.project-content iframe {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 2.5rem auto;
}

.project-content figure {
  margin: 2.5rem auto;
  text-align: center;
}

.project-content figcaption {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

.project-content blockquote {
  border-left: 4px solid rgba(92, 107, 255, 0.4);
  padding-left: 1.5rem;
  font-style: italic;
  background: rgba(92, 107, 255, 0.08);
  border-radius: var(--radius-sm);
}

.project-content pre {
  background: rgba(13, 25, 63, 0.9);
  color: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 2rem;
  line-height: 1.75;
}

.project-bibtex {
  max-width: 1040px;
  margin: 0 auto 3rem;
  background: linear-gradient(135deg, rgba(92, 107, 255, 0.12) 0%, rgba(167, 87, 255, 0.12) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

.project-bibtex__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.project-bibtex__code {
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  border: 1px solid rgba(92, 107, 255, 0.1);
  box-shadow: var(--shadow-xs);
  font-size: 0.95rem;
}

.copy-btn {
  border-radius: 999px;
  border: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.copy-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.copy-btn.copied {
  background: linear-gradient(135deg, var(--color-success) 0%, #2fa67a 100%) !important;
  color: #fff !important;
}

/* Blog Post Pages */
.blog-back-button {
  position: fixed;
  top: 92px;
  right: 2.75rem;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--color-text) !important;
  border: 1px solid rgba(92, 107, 255, 0.08);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-back-button:hover {
  transform: translateX(-6px);
  box-shadow: var(--shadow-sm);
}

.blog-hero {
  margin: 0 auto 2.75rem;
  padding: 4rem 1.5rem 3.5rem;
  max-width: 960px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 15% 15%, rgba(92, 107, 255, 0.18) 0%, rgba(92, 107, 255, 0) 60%),
              radial-gradient(circle at 85% -5%, rgba(255, 173, 204, 0.28) 0%, rgba(255, 173, 204, 0) 65%);
  opacity: 0.85;
}

.blog-hero > .container {
  position: relative;
  z-index: 1;
}

.blog-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--color-primary-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 1.4rem;
}

.blog-hero__title {
  font-size: clamp(2.35rem, 2.8vw, 3rem);
  margin-bottom: 1.75rem;
  line-height: 1.15;
  text-shadow: 0 20px 45px rgba(28, 36, 51, 0.18);
}

.blog-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.blog-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-meta__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(92, 107, 255, 0.14);
  color: var(--color-primary-dark);
}

.blog-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-tag {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(92, 107, 255, 0.12);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-tag:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(92, 107, 255, 0.35) 0%, rgba(122, 86, 255, 0.45) 100%);
  color: #fff;
  box-shadow: var(--shadow-xs);
}

.blog-hero__links {
  margin-top: 1.75rem;
  display: flex;
  justify-content: center;
}

.blog-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
}

.blog-hero__link:hover,
.blog-hero__link:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.blog-hero__link-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.blog-hero__link.is-placeholder {
  background: rgba(92, 107, 255, 0.12);
  color: var(--color-primary-dark);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.blog-wrapper {
  max-width: 960px;
  margin: 0 auto 3rem;
}

.blog-content {
  background: var(--color-surface);
  padding: 3.25rem 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  border: 1px solid rgba(92, 107, 255, 0.05);
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: var(--color-text);
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
}

.blog-content h2 {
  font-size: 2.05rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(92, 107, 255, 0.2);
}

.blog-content h3 {
  font-size: 1.6rem;
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.75rem;
}

.blog-content li + li {
  margin-top: 0.35rem;
}

.blog-content code {
  background: rgba(92, 107, 255, 0.12);
  color: var(--color-primary-dark);
  border-radius: 6px;
  padding: 0.25em 0.55em;
  font-size: 0.9em;
}

.blog-content pre {
  background: rgba(13, 25, 63, 0.92);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  color: rgba(255, 255, 255, 0.92);
  border: none;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.blog-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.blog-content blockquote {
  border-left: 4px solid rgba(92, 107, 255, 0.5);
  padding: 1.25rem 1.75rem;
  background: rgba(92, 107, 255, 0.08);
  color: var(--color-text);
  font-style: italic;
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.blog-content img,
.blog-content video,
.blog-content iframe {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 2.5rem auto;
}

.blog-content .callout {
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  background: rgba(92, 107, 255, 0.1);
  border-left: 4px solid var(--color-primary);
  color: var(--color-text);
}

.blog-content .callout.warning {
  background: rgba(255, 207, 92, 0.2);
  border-left-color: var(--color-warning);
}

.blog-content .callout.success {
  background: rgba(52, 195, 143, 0.2);
  border-left-color: var(--color-success);
}

.blog-authors {
  margin: 0 auto 4rem;
}

.blog-authors__card {
  max-width: 960px;
  margin: 0 auto;
  background: var(--color-surface);
  padding: 2.5rem 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(92, 107, 255, 0.06);
}

.blog-authors__card h3 {
  font-size: 1.45rem;
  margin-bottom: 1.5rem;
}

.author-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(92, 107, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.author-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}

.author-avatar {
  flex-shrink: 0;
}

.author-card__details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-card__name {
  font-weight: 600;
  color: var(--color-text);
}

.author-card__role {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.author-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.author-card__link {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(92, 107, 255, 0.2);
  color: var(--color-primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.author-card__link:hover,
.author-card__link:focus {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  box-shadow: var(--shadow-xs);
  transform: translateY(-1px);
}

/* Contact Section */
.section.hero.is-light {
  background: var(--color-surface);
  border-top: 1px solid rgba(92, 107, 255, 0.08);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

code {
  white-space: nowrap;
  background-color: rgba(92, 107, 255, 0.08);
  padding: 0.25em 0.55em;
  border-radius: 6px;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  body {
    padding-top: 112px;
  }

  .navbar-custom {
    height: auto;
    min-height: 70px;
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .navbar-brand {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    justify-content: center;
  }

  .navbar-links {
    width: 100%;
    justify-content: center;
    gap: 0.85rem;
  }

  .team-card {
    padding: 1.75rem;
  }

  .team-card__header {
    gap: 1rem;
  }


@media screen and (max-width: 540px) {
  .team-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .initial-avatar--lg {
    width: 84px;
    height: 84px;
    font-size: 1.95rem;
  }

  .team-card__links {
    justify-content: flex-start;
  }
}
  .navbar-link {
    padding: 0.55rem 0.9rem;
  }

  .navbar-divider {
    display: none;
  }

  .navbar-logo {
    height: 35px;
  }

  .debug-gym-inline-logo {
    height: 35px;
    max-height: 35px;
    filter: drop-shadow(0 5px 14px rgba(92, 107, 255, 0.18));
  }

  .section.team-intro {
    padding-top: 5.25rem;
    padding-bottom: 2rem;
  }

  .section.team-directory {
    padding-bottom: 3.25rem;
  }

  .team-grid {
    gap: 1.5rem;
  }

  .team-card {
    padding: 1.8rem 1.5rem;
  }

  .team-card__photo {
    width: 96px;
    height: 96px;
  }

  .navbar-title {
    font-size: 1.1rem;
    text-align: center;
  }

  .hero .title {
    font-size: 2.15rem;
  }

  .hero .subtitle {
    font-size: 1.3rem;
  }

  .hero.is-primary {
    margin-bottom: 2.75rem;
  }

  .hero-body {
    padding: 2.75rem 1.5rem;
  }

  .project-card {
    padding: 2rem 1.75rem;
  }

  .project-card h3 {
    font-size: 1.6rem;
  }

  .project-back-button {
    position: static;
    margin: 0 auto 1rem;
    display: block;
  }

  .project-hero {
    margin: 0 1rem 2.5rem;
  }

  .project-hero .hero-body {
    padding: 3.5rem 1.75rem 3rem;
  }

  .project-meta {
    gap: 1.25rem;
  }

  .project-meta__logo img {
    height: 48px;
  }

  .project-meta__details {
    gap: 0.45rem;
  }

  .project-body,
  .project-bibtex {
    margin: 0 1rem 2.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .project-bibtex__code {
    padding: 1.5rem 1.25rem;
  }

  .blog-back-button {
    position: static;
    margin: 0 auto 1rem;
    display: block;
  }

  .blog-hero {
    margin: 0 1rem 2.5rem;
    padding: 3.5rem 1.75rem 3rem;
  }

  .blog-hero__links {
    margin-top: 1.4rem;
  }

  .blog-hero__link {
    width: 100%;
    justify-content: center;
  }

  .section-intro {
    margin: 1.5rem 1rem 2.5rem;
    padding: 2.25rem 1.5rem;
  }

  .blog-content {
    padding: 2.25rem 1.75rem;
  }

  .blog-authors__card {
    margin: 0 1rem;
    padding: 2rem 1.75rem;
  }

  .author-list {
    gap: 1rem;
  }
}
