/* ===============================
   Company Profiles – Page Styles
   =============================== */

.cp-hero {
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  text-align: center;
}

.cp-lead {
  font-size: var(--font-size-lg);
  color: var(--color-neutral-600);
  margin-bottom: var(--space-8);
  margin-left: auto;
  margin-right: auto;
  max-width: 48ch;
}

.cp-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}

.cp-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

@media (max-width: 950px) {
  .cp-sections {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 570px) {
  .cp-card {
    padding: var(--space-4) var(--space-3);
  }
}

/* Timeline styles */
.cp-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cp-timeline li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-3);
}
.cp-timeline-year {
  font-weight: 700;
  min-width: 60px;
  margin-right: var(--space-2);
  color: var(--color-primary);
  font-size: var(--font-size-base);
}
.cp-timeline-desc {
  color: var(--color-text);
  line-height: var(--line-height-normal);
}

/* Products/services list */
.cp-products-list {
  padding-left: var(--space-4);
  list-style: disc;
  color: var(--color-neutral-800);
  margin-bottom: 0;
}
.cp-products-list li + li {
  margin-top: var(--space-2);
}

/* Team section */
.cp-team {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: var(--space-2);
  margin-bottom: 0;
}
.cp-team li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.cp-team-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--color-primary);
}
.cp-team-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 2px;
}
.cp-team-role {
  color: var(--color-neutral-600);
  font-size: var(--font-size-sm);
}

/* Awards, CSR and News lists */
.cp-awards-list,
.cp-csr-list,
.cp-news-list {
  padding-left: var(--space-4);
  list-style: disc;
}
.cp-awards-list li,
.cp-csr-list li {
  margin-bottom: var(--space-2);
}
.cp-news-list li {
  margin-bottom: var(--space-2);
  line-height: var(--line-height-loose);
}
.cp-news-list a {
  margin-left: var(--space-2);
}
.cp-news-cta {
  margin-top: var(--space-4);
  align-self: flex-start;
  font-size: var(--font-size-base);
}

/* Section headings */
.cp-card h2 {
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

/* Accessible focus state for CTA button */
.cp-news-cta:focus-visible {
  outline: 2px solid var(--color-primary-hover);
  outline-offset: 2px;
}
