/* CV page styles */

/* Layout */
.cv-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.cv-page h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #dee2e6;
}

/* Work cards */
.cv-page .card {
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}

.cv-page .card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cv-page .card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.6rem 1rem;
}

.cv-page .card-title {
  font-size: 1rem;
  margin: 0;
}

.cv-page .card-title a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.cv-page .card-title a:hover {
  color: #0d6efd;
}

.cv-page .card-body {
  padding: 0.8rem 1rem;
}

.cv-page .card-body img {
  max-height: 120px;
  width: auto;
  margin-bottom: 0.6rem;
}

.cv-page .card-body p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 0;
}

/* Timeline (media appearances) */
.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px;
  width: 2px;
  background-color: #dee2e6;
}

.timeline .timeline-label {
  display: block;
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 0;
}

.timeline .timeline-label .badge {
  font-size: 0.85rem;
  padding: 0.35em 0.65em;
}

.timeline .timeline-item {
  position: relative;
  padding-left: 42px;
  margin-bottom: 1rem;
}

.timeline .timeline-point {
  position: absolute;
  left: 8px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0d6efd;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #0d6efd;
}

.timeline .timeline-event {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0.4rem;
  padding: 0.6rem 0.8rem;
}

.timeline .timeline-heading {
  font-size: 0.9rem;
  line-height: 1.4;
}

.timeline .timeline-heading a {
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.timeline .timeline-heading a:hover {
  color: #0d6efd;
}

.timeline .timeline-body {
  margin-top: 0.5rem;
}

.timeline .timeline-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.25rem;
}

.timeline .timeline-body iframe,
.timeline .timeline-body video {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 0.25rem;
}

.timeline .timeline-footer p {
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 0;
  margin-top: 0.3rem;
}

/* Web links sidebar */
.cv-page .web-links {
  list-style: none;
  padding: 0;
}

.cv-page .web-links li {
  border-bottom: 1px solid #f0f0f0;
}

.cv-page .web-links li:last-child {
  border-bottom: none;
}

.cv-page .web-links a {
  display: block;
  padding: 0.35rem 0;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
}

.cv-page .web-links a:hover {
  color: #0d6efd;
}

/* ============================================
   CV Work Sub-Pages
   ============================================ */

/* Sub-page wrapper (applied to container-fluid on work pages) */
.cv-work-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.cv-work-page h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #dee2e6;
}

.cv-work-page h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.cv-work-page h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

.cv-work-page p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* Cards on sub-pages */
.cv-work-page .card {
  margin-bottom: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}

.cv-work-page .card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cv-work-page .card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.6rem 1rem;
}

.cv-work-page .card-title {
  font-size: 1rem;
  margin: 0;
}

.cv-work-page .card-body img {
  max-width: 100%;
  height: auto;
}

/* Link styles */
.underline-link {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.underline-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.timeline-link {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.timeline-link:hover {
  color: #0d6efd;
}

/* nolinks — suppress default link styling on heading */
.nolinks {
  color: #333;
}

/* Timeline point variant: blank (no icon, just a smaller dot) */
.timeline .timeline-point-blank {
  background: #adb5bd;
  box-shadow: 0 0 0 2px #adb5bd;
  width: 12px;
  height: 12px;
  left: 11px;
  top: 7px;
}

/* Script/walkthrough layout (juice/walkthrough) */
.script-cell {
  padding: 1rem 0;
}

.script-text p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

/* Artifacts list styling on sub-pages */
.cv-work-page ul {
  padding-left: 1.2rem;
}

.cv-work-page ul li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.cv-work-page ul li a {
  color: #333;
  text-decoration: none;
}

.cv-work-page ul li a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .cv-page {
    padding: 0.5rem 1rem;
  }

  .cv-page .card-body img {
    max-height: 80px;
  }

  .cv-work-page {
    padding: 0.5rem 1rem;
  }

  .cv-work-page .col-md-1 {
    display: none;
  }
}
