/* Custom CV Styling */
.cv-container {
  margin-top: 0.5rem;
  max-width: 850px;
}

.cv-section {
  margin-bottom: 2rem;
}

.cv-section h2 {
  border-bottom: 2px solid var(--global-base-color);
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 1.2rem;
  color: var(--global-text-color);
}

.cv-list {
  list-style: none;
  padding-left: 0;
}

.cv-item {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--global-border-color);
}

.cv-item:last-child {
  border-bottom: none;
}

.cv-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.3rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cv-item-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--global-text-color);
  flex: 1;
  min-width: 200px;
}

.cv-item-date {
  font-weight: 600;
  background-color: var(--global-base-color);
  color: var(--global-button-text-color, #fff) !important;
  padding: 0.15rem 0.6rem;
  border-radius: 15px;
  font-size: 0.75rem;
  white-space: nowrap;
}

.cv-item-subtitle {
  font-weight: 600;
  color: var(--global-base-color);
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.cv-item-detail {
  font-size: 0.9rem;
  color: var(--global-text-color);
  margin-top: 0.3rem;
  line-height: 1.4;
}

.cv-item-location {
  font-size: 0.85rem;
  color: var(--global-text-color-light, #666);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.3rem;
}

.cv-header {
  text-align: left;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--global-border-color);
}

.cv-header h1 {
  margin-bottom: 0.2rem;
  font-size: 2rem;
  font-weight: 800;
}

.cv-header h2 {
  border-bottom: none;
  color: var(--global-base-color);
  text-transform: none;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  letter-spacing: normal;
}

.cv-contact {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.cv-contact-item {
  font-size: 0.9rem;
  color: var(--global-text-color);
  display: flex;
  align-items: center;
}

.cv-contact-item i {
  margin-right: 0.4rem;
  color: var(--global-base-color);
}

/* Specific styling for modular includes */
.list-group-item {
  border: none !important;
  padding: 0 !important;
  margin-bottom: 1rem !important;
  background: transparent !important;
}

.badge.danger-color-dark {
  background-color: var(--global-base-color) !important;
  color: var(--global-button-text-color, #fff) !important;
  font-weight: 600 !important;
  padding: 0.2rem 0.6rem !important;
  border-radius: 15px !important;
  font-size: 0.75rem !important;
}

.location {
  font-size: 0.8rem;
  color: var(--global-text-color-light, #666);
  margin-top: 4px;
  font-style: italic;
}

.iconlocation {
  margin-right: 4px;
  color: var(--global-base-color);
}

h6.title {
  margin-bottom: 4px !important;
  font-size: 1rem !important;
  color: var(--global-text-color) !important;
}

.cv-item-detail p {
  margin-bottom: 0.3rem;
}

.cv-item-detail ul {
  padding-left: 1rem;
  margin-top: 0.3rem;
}

.cv-item-detail li {
  margin-bottom: 0.2rem;
}