/*==================================================
  AWARD PROFILE PAGE
  Premium futuristic layout for individual award detail pages.
  Mirrors the doctor profile page structure: hero → body → CTA.
==================================================*/

/* ── Page scaffold ──────────────────────────────── */
.mph-page-award {
  background: #f7fafc;
}

/* ── Hero ────────────────────────────────────────── */
.aw-hero {
  position: relative;
  background: linear-gradient(135deg, #07172c 0%, #0b3350 60%, #0e4568 100%);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.aw-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 80% 50%, rgba(0, 198, 255, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(0, 78, 117, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.aw-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

/* Award logo badge */
.aw-hero__badge {
  flex-shrink: 0;
  width: clamp(96px, 14vw, 160px);
  height: clamp(96px, 14vw, 160px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  padding: 18px;
}

.aw-hero__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.aw-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.aw-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.aw-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-primary);
}

.aw-hero__chip--category {
  background: rgba(0, 198, 255, 0.14);
  color: #7de8ff;
  border: 1px solid rgba(0, 198, 255, 0.25);
}

.aw-hero__chip--year {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.aw-hero__title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.aw-hero__issued-by {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0.25rem 0 0;
  font-family: var(--font-primary);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.aw-hero__issued-by::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 640px) {
  .aw-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .aw-hero__badge {
    margin: 0 auto;
  }
  .aw-hero__chips {
    justify-content: center;
  }
  .aw-hero__issued-by {
    justify-content: center;
  }
}

/* ── Breadcrumb ─────────────────────────────────── */
.aw-breadcrumb {
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
  max-width: 1160px;
  margin: 0 auto;
}

.aw-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 13px;
  color: #6b7d8d;
}

.aw-breadcrumb__list li + li::before {
  content: '/';
  color: #c5d0d8;
}

.aw-breadcrumb__list a {
  color: #0073a8;
  text-decoration: none;
}

.aw-breadcrumb__list a:hover {
  text-decoration: underline;
}

/* ── Body ────────────────────────────────────────── */
.aw-body {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

@media (max-width: 860px) {
  .aw-body {
    grid-template-columns: 1fr;
  }
}

/* Significance highlight */
.aw-significance {
  background: linear-gradient(120deg, #e8f4fc 0%, #f0f8fd 100%);
  border-left: 4px solid #0073a8;
  border-radius: 0 16px 16px 0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.aw-significance p {
  margin: 0;
  font-family: var(--font-primary);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: #07172c;
  font-weight: 500;
}

/* Body prose */
.aw-prose {
  margin-bottom: 2.5rem;
}

.aw-prose p {
  margin: 0 0 1.25rem;
  font-family: var(--font-primary);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  color: #334455;
}

.aw-prose p:last-child {
  margin-bottom: 0;
}

/* Gallery */
.aw-gallery {
  margin-top: 2rem;
}

.aw-gallery__title {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7d8fa0;
  margin: 0 0 1rem;
}

.aw-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.aw-gallery__item {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #e2eaf0;
}

.aw-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.aw-gallery__item:hover img {
  transform: scale(1.04);
}

/* ── Sidebar card ────────────────────────────────── */
.aw-sidebar {
  position: sticky;
  top: 100px;
}

.aw-fact-card {
  background: #ffffff;
  border: 1px solid #e4ecf1;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(7, 23, 44, 0.06);
}

.aw-fact-card__title {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7d8fa0;
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e4ecf1;
}

.aw-fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aw-fact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aw-fact-list__label {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9daebb;
}

.aw-fact-list__value {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: #07172c;
}

/* Back link */
.aw-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.5rem;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  color: #0073a8;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.aw-back-link:hover {
  gap: 12px;
}

/* ── Linked award cards ──────────────────────────── */
.acc-card--linked {
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.acc-card--linked:hover {
  box-shadow: 0 12px 36px rgba(7, 23, 44, 0.14);
  transform: translateY(-3px);
}

.acc-card-link {
  display: flex;
  align-items: flex-start;
  gap: inherit;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.acc-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.75rem;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  color: #0073a8;
}

.acc-card-arrow {
  transition: transform 0.2s ease;
}

.acc-card--linked:hover .acc-card-arrow {
  transform: translateX(4px);
}
