.accreditations-page {
  min-height: 100vh;
  padding: 118px 24px 72px;
  background: #0c1421;
  color: #f8fafc;
}

.accreditations-hero,
.accreditations-content,
.accreditations-contact {
  width: min(1160px, 100%);
  margin-inline: auto;
}

.accreditations-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 7vw, 72px);
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 28px;
  background: radial-gradient(circle at 15% 10%, rgba(148, 163, 184, .18), transparent 33%), linear-gradient(125deg, #111827, #243041);
  text-align: center;
}

.accreditations-kicker,
.accreditations-heading > span {
  display: inline-flex;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
}

.accreditations-hero h1 {
  margin: 12px 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.3;
}

.accreditations-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #e2e8f0;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.9;
}

.accreditations-content { padding-top: 64px; }

.accreditations-heading {
  max-width: 740px;
  margin: 0 auto 28px;
  text-align: center;
}

.accreditations-heading h2 {
  margin: 8px 0;
  color: inherit;
  font-size: clamp(25px, 4vw, 36px);
  font-weight: 900;
}

.accreditations-heading p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.8;
}

.accreditations-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.accreditation-card {
  display: grid;
  min-height: 190px;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 18px;
  background: #131e2e;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.accreditation-card:hover {
  transform: translateY(-3px);
  border-color: rgba(203, 213, 225, .65);
  background: #1b293b;
}

.accreditation-card img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: contain;
}

.accreditation-card h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.accreditations-contact {
  margin-top: 52px;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 22px;
  background: #131e2e;
  text-align: center;
}

.accreditations-contact h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(20px, 3vw, 28px);
}

.accreditations-contact p {
  margin: 0 0 18px;
  color: #cbd5e1;
}

.accreditations-contact a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border-radius: 999px;
  background: #f8fafc;
  color: #111827;
  font-weight: 900;
  text-decoration: none;
}

body.ghayah-theme-light .accreditations-page {
  background: #f4f5f7;
  color: #111827;
}

body.ghayah-theme-light .accreditations-hero {
  border-color: #d5deeb;
  background: radial-gradient(circle at 15% 10%, rgba(37, 99, 235, .08), transparent 36%), linear-gradient(125deg, #f7f8fa, #e7ebf1);
}

body.ghayah-theme-light .accreditations-hero :is(.accreditations-kicker, h1) {
  color: #1e40af;
}

body.ghayah-theme-light .accreditations-hero p {
  color: #405a82;
}

body.ghayah-theme-light .accreditations-heading p {
  color: #4b5563;
}

body.ghayah-theme-light .accreditation-card,
body.ghayah-theme-light .accreditations-contact {
  border-color: #e5e7eb;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, .06);
}

body.ghayah-theme-light .accreditation-card:hover { background: #f9fafb; }

body.ghayah-theme-light .accreditation-card h3,
body.ghayah-theme-light .accreditations-contact h2 { color: #111827; }

body.ghayah-theme-light .accreditations-contact p { color: #4b5563; }

body.ghayah-theme-light .accreditations-contact a {
  background: #111827;
  color: #fff;
}

body:not(.ghayah-theme-light) .accreditations-hero :is(.accreditations-kicker, h1, p) {
  color: #fff;
}

@media (max-width: 980px) {
  .accreditations-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .accreditations-page { padding: 96px 16px 48px; }
  .accreditations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .accreditation-card { min-height: 155px; padding: 14px 11px; }
  .accreditation-card img { height: 76px; }
  .accreditation-card h3 { font-size: 12px; }
  .accreditations-contact { padding: 23px 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .accreditation-card { transition: none; }
}
