/*--------------------------------------------------------------
# Academic & Professional Credentials Dossier (Seamless Executive Layout)
# Borderless, card-free design integrating directly into About Me
--------------------------------------------------------------*/

.about-credentials-dossier {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.credentials-dossier-header {
  margin-bottom: 36px;
}

.credentials-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.3);
  color: var(--accent-primary, #f0a500);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.credentials-heading {
  font-family: var(--heading-font);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 12px;
  margin-bottom: 8px;
}

.credentials-subtext {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* ── TIER 1: Degree Honor Plaque (Seamless Horizontal Presentation, No Card Box) ── */
.degree-honor-plaque {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin-bottom: 50px;
}

.degree-frame-col {
  background: transparent !important;
  border-right: none !important;
  padding: 0 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.degree-archival-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  background: #0d0d12;
}

.degree-zoom-link {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.degree-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.degree-zoom-link:hover .degree-img {
  transform: scale(1.03);
}

.degree-frame-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.degree-zoom-link:hover .degree-frame-overlay {
  opacity: 1;
}

.degree-zoom-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--accent-primary, #f0a500);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.degree-seal-badge {
  padding: 8px 14px;
  background: rgba(14, 14, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.3px;
}

.degree-info-col {
  display: flex;
  align-items: center;
}

.degree-info-body {
  padding: 0 0 0 16px;
  width: 100%;
}

.degree-top-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.degree-type-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(240, 165, 0, 0.14);
  border: 1px solid rgba(240, 165, 0, 0.35);
  color: var(--accent-primary, #f0a500);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.degree-date-pill {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.degree-title {
  font-family: var(--heading-font);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.degree-institution {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.degree-campus {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.degree-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.degree-signatories-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  margin-bottom: 20px;
}

.signatory-item {
  display: flex;
  flex-direction: column;
}

.signatory-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.signatory-name {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
}

.signatory-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
}

.degree-competencies-wrap {
  margin-bottom: 24px;
}

.competency-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-weight: 600;
}

.competency-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.comp-pill {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-primary);
  font-size: 0.78rem;
}

.btn-degree-inspect {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 8px;
  background: rgba(240, 165, 0, 0.12);
  border: 1px solid rgba(240, 165, 0, 0.4);
  color: var(--accent-primary, #f0a500);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-degree-inspect:hover {
  background: var(--accent-primary, #f0a500);
  color: #0a0a0a;
  border-color: var(--accent-primary, #f0a500);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 165, 0, 0.3);
}

/* ── TIER 2: Specialized Technical Workshops (Seamless Split Console, No Card Boxes) ── */
.workshops-console-wrapper {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.console-header-bar {
  margin-bottom: 24px;
}

.console-title {
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.console-subtitle {
  font-size: 0.88rem;
  margin-top: 2px;
}

.console-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.credential-split-console {
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 36px;
  align-items: flex-start;
}

/* Left: Interactive Credential Ledger (Clean Editorial List, No Card Box) */
.credential-ledger {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ledger-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: transparent !important;
  border: none !important;
  border-left: 2px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  color: var(--text-primary);
  outline: none;
}

.ledger-item:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  border-left-color: rgba(240, 165, 0, 0.5) !important;
  transform: translateX(4px);
}

.ledger-item.active {
  background: rgba(240, 165, 0, 0.05) !important;
  border-left-color: var(--accent-primary, #f0a500) !important;
}

.ledger-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  color: var(--accent-primary, #f0a500);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ledger-item.active .ledger-item-icon {
  background: var(--accent-primary, #f0a500);
  color: #0a0a0a;
  border-color: var(--accent-primary, #f0a500);
}

.ledger-item-info {
  flex-grow: 1;
  min-width: 0;
}

.ledger-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.ledger-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-primary, #f0a500);
}

.ledger-date {
  font-size: 0.72rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.ledger-item-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ledger-item-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ledger-arrow {
  color: var(--text-secondary);
  font-size: 0.88rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

.ledger-item.active .ledger-arrow {
  color: var(--accent-primary, #f0a500);
  transform: translateX(3px);
}

/* Right: Active Credential Inspector Panel (Seamless, No Card Background) */
.credential-inspector {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: opacity 0.3s ease;
}

.credential-inspector.is-animating {
  opacity: 0.35;
}

.inspector-frame {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0d12;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

.inspector-zoom-link {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.inspector-cert-img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.inspector-zoom-link:hover .inspector-cert-img {
  transform: scale(1.03);
}

.inspector-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.inspector-zoom-link:hover .inspector-zoom-overlay {
  opacity: 1;
}

.inspector-zoom-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 50px;
  background: var(--accent-primary, #f0a500);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.inspector-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inspector-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.inspector-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(240, 165, 0, 0.14);
  border: 1px solid rgba(240, 165, 0, 0.35);
  color: var(--accent-primary, #f0a500);
  font-weight: 700;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.inspector-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.inspector-heading {
  font-family: var(--heading-font);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.inspector-description {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.inspector-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.meta-box {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.meta-value {
  font-size: 0.84rem;
  color: var(--text-primary);
  font-weight: 600;
}

.inspector-skills-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inspector-skills-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.inspector-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.inspector-skill-pill {
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  color: var(--text-primary);
}

/* ── Responsive Behavior ── */
@media (max-width: 991.98px) {
  .degree-frame-col {
    padding: 0 0 24px 0;
  }
  .degree-info-body {
    padding: 0;
  }
  .credential-split-console {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 575.98px) {
  .degree-title {
    font-size: 1.25rem;
  }
  .degree-signatories-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .signatory-divider {
    display: none;
  }
  .inspector-meta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ── Light Mode Styles ── */
html[data-theme="light"] .degree-archival-frame {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .degree-seal-badge {
  background: #f8f9fa;
  border-top-color: #e5e7eb;
  color: #111827;
}

html[data-theme="light"] .degree-signatories-row {
  border-color: #e5e7eb;
}

html[data-theme="light"] .comp-pill {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #1f2937;
}

html[data-theme="light"] .ledger-item {
  color: #111827;
  border-left-color: #e5e7eb !important;
}

html[data-theme="light"] .ledger-item:hover {
  background: rgba(0, 0, 0, 0.02) !important;
  border-left-color: rgba(196, 127, 0, 0.45) !important;
}

html[data-theme="light"] .ledger-item.active {
  background: rgba(196, 127, 0, 0.06) !important;
  border-left-color: var(--accent-primary, #c47f00) !important;
}

html[data-theme="light"] .ledger-item-icon {
  background: #f3f4f6;
  border-color: #e5e7eb;
}

html[data-theme="light"] .inspector-frame {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .inspector-meta-grid {
  border-color: #e5e7eb;
}

html[data-theme="light"] .inspector-skill-pill {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #1f2937;
}
