/* ===== Awards & Accreditation ===== */
.acc {
  /* remove this line if your page body already sets the cream bg */
  background: #f2eee7;
  padding: 0;
}

.acc__inner {
  margin: 0 auto;
  --ink: #3D3D3D;
  --ink-soft: #4b453d;
  --muted: #928c82;
  --line: #d9d4ca;
  --bronze: #8a7452;
}

/* Eyebrow / section labels */
.acc__eyebrow {
  margin: 0 0 1.5rem;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.acc__eyebrow--wide { letter-spacing: 0.16em; line-height: 1.6; }

/* Lead paragraph */
.acc__lead {
  margin: 0;
  max-width: 65.625rem;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

/* Divider */
.acc__rule {
  border: 0;
  border-top: 0.0625rem solid var(--line);
  margin: 3.5rem 0 2.5rem;
}

/* Covered-entity row */
.acc__entities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.75rem;
}
.acc__entity {
  border-top: 0.0625rem solid var(--line);
  padding-top: 1.25rem;
}
.acc__entity-name {
  margin: 0 0 0.375rem;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.3125rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}
.acc__entity-loc {
  margin: 0;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Certificate cards */
.acc__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.75rem 2.5rem;
}
.acc__card {
  display: flex;
  flex-direction: column;
}

/* Uniform image box — every cert shows at the same size */
.acc__card-img {
  margin-bottom: 1.625rem;
  aspect-ratio: 1050 / 1485;
  background: #fff;
  border: 0.0625rem solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.07);
  overflow: hidden;
}
.acc__card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.acc__card-title {
  margin: 0 0 0.5rem;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}
.acc__card-label {
  margin: 0 0 1rem;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.acc__card-desc {
  margin: 0;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Footer pinned to the bottom so rows stay aligned */
/* .acc__card-foot { margin-top: auto; } */
.acc__card-valid {
  margin: 0 0 0.625rem;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}
.acc__card-valid strong {
  font-weight: 600;
  color: var(--ink);
}
.acc__card-link {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  transition: color 0.2s ease;
}
.acc__card-link:hover { color: #3D3D3D;text-decoration: underline;
    text-underline-offset: 0.25rem; }

/* Responsive — grid collapses */
@media (max-width: 64rem) {
  .acc__entities,
  .acc__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 37.5rem) {
  .acc__entities,
  .acc__grid { grid-template-columns: 1fr; }
}

/* ===== Entity tabs (combined page) ===== */
.acc__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-bottom: 3.25rem;
}
.acc__tab {
  appearance: none;
  background: none;
  border: 0;
  padding: 0 0 0.625rem;
  cursor: pointer;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
  border-bottom: 0.0625rem solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.acc__tab:hover { color: var(--ink-soft); }
.acc__tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--bronze);
}
.acc__panel { display: none; }
.acc__panel.is-active { display: block; }

/* ===== Company columns (each column = one company, PDFs stacked) ===== */
.acc__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.acc__col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;   /* space between stacked certs */
}
.acc__col-head {
  border-top: 2px solid #3D3D3D;
    padding-top: 1.25rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #d9d4ca;
    padding-bottom: 2rem;
}
.acc__company-name {
  margin: 0 0 0;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.acc__company-loc {
  margin: 0;
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--muted);
}
/* collapse empty descriptions so they reserve no space */
.acc__card-desc:empty {
  display: none;
  margin: 0;
}
/* Responsive — columns reflow */
@media (max-width: 64rem) {
  .acc__columns { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 37.5rem) {
  .acc__columns { grid-template-columns: 1fr; }
}

@media only screen and (max-width:992px){
    .acc__lead br{
        display:none;
    }
}

@media only screen and (max-width:767px){
  .acc__col-head{
        margin-bottom: 0;
  }
  .acc__col:first-child {
    margin-top: 0;
}
  .acc__col {
    margin-top: 30px;
}
}