@charset "utf-8";

/* Audits page – card timeline with scroll reveal */

.audits-page-wrap {

}

.audits-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2% 80px;
}

/* Sub navigation */
.audits-subnav {
  background: #eef1f4;
  border-bottom: 1px solid #e0e4e8;
}

.audits-subnav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
}

.audits-subnav-links {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.audits-subnav-links li a {
  display: block;
  padding: 16px 24px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.audits-subnav-links li a:hover,
.audits-subnav-links li.active a {
  color: #0460a0;
  font-weight: 600;
}

.audits-subnav-links li.active a {
  border-bottom: 3px solid #0460a0;
  margin-bottom: -1px;
}

.audits-breadcrumb {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
}

.audits-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.audits-breadcrumb a:hover {
  color: #0460a0;
}

.audits-breadcrumb span {
  margin: 0 6px;
  color: #ccc;
}

/* Page header */
.audits-header {
  text-align: center;
  padding: 0px 0 40px;
}

.audits-header h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #222;
  margin: 0 0 16px;
}

.audits-header p {
  font-size: clamp(16px, 2vw, 22px);
  color: #666;
  margin: 0;
  font-weight: 400;
}

/* Filter chips – by year */
.audits-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.audits-filter-btn {
  border: 1px solid #d8dfe6;
  background: #fff;
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s;
  white-space: nowrap;
}

.audits-filter-btn:hover {
  border-color: #0460a0;
  color: #0460a0;
}

.audits-filter-btn.active {
  background: #0460a0;
  border-color: #0460a0;
  color: #fff;
  box-shadow: 0 3px 12px rgba(4, 96, 160, 0.28);
}

/* Timeline – date pill + dot (screenshot 2 style) */
.audits-timeline {
  position: relative;
  padding: 8px 0;
}

.audits-timeline::before {
  content: '';
  position: absolute;
  left: 150px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #d8e2ea;
}

.audit-item {
  display: flex;
  align-items: center;
  min-height: 56px;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.audit-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.audit-item.hidden-by-filter {
  display: none;
}

.audit-item:nth-child(even) .audit-row {
  background: #f3f7fa;
}

.audit-date-col {
  flex-shrink: 0;
  width: 132px;
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 24px;
}

.audit-date-pill {
  display: inline-block;
  padding: 9px 18px;
  background: #0460a0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(4, 96, 160, 0.22);
  line-height: 1.2;
}

.audit-dot {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: #fff;
  border: 3px solid #0460a0;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 5px rgba(4, 96, 160, 0.15);
}

.audit-row {
  flex: 1;
  padding: 16px 24px;
  border-bottom: 1px solid #eef1f4;
  transition: background 0.3s;
}

.audit-item:hover .audit-row {
  background: #e8f2f9 !important;
}

.audit-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #444;
  margin: 0;
}

/* Product remarks */
.audits-remarks {
  margin-top: 60px;
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px;
  border: 1px solid #e8ecf0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.audits-remarks h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 0 0 28px;
}

.audits-remarks-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.audits-remarks-col {
  background: #f7f9fb;
  border-radius: 10px;
  padding: 18px 20px;
  transition: background 0.3s, transform 0.3s;
}

.audits-remarks-col:hover {
  background: #eef4f9;
  transform: translateY(-3px);
}

.audits-remarks-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audits-remarks-col li {
  font-size: 16px;
  line-height: 24px;
  color: #555;
  padding: 4px 0;
  border-bottom: 1px dashed #e0e4e8;
}

.audits-remarks-col li:last-child {
  border-bottom: none;
}

.audits-remarks-col li strong {
  color: #0460a0;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
  .audits-remarks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .audits-subnav-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 4%;
  }

  .audits-subnav-links li a {
    padding: 10px 14px;
    font-size: 13px;
  }

  .audits-container {
    padding: 0 4% 60px;
  }

  .audits-header {
    padding: 36px 0 28px;
  }

  .audits-timeline::before {
    left: 16px;
  }

  .audit-item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 40px;
    min-height: auto;
  }

  .audit-date-col {
    width: auto;
    padding-right: 0;
    margin-bottom: 8px;
  }

  .audit-dot {
    left: -32px;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
  }

  .audit-row {
    width: 100%;
    padding: 12px 16px;
  }

  .audits-remarks {
    padding: 24px 20px;
  }

  .audits-remarks-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .audits-remarks-grid {
    grid-template-columns: 1fr;
  }
}
