/**
 * 99 Business Club — Awards page (body.page-awards)
 * Design language aligned with events-page.css
 */

:root {
  --aw-white: #ffffff;
  --aw-bg: #f8fafc;
  --aw-ink: #0f172a;
  --aw-muted: #64748b;
  --aw-red: #ff1212;
  --aw-red-deep: #c4121a;
  --aw-red-soft: #fff5f5;
  --aw-border: rgba(225, 29, 72, 0.12);
  --aw-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
  --aw-shadow-lg: 0 28px 60px rgba(15, 23, 42, 0.12);
  --aw-radius: 18px;
  --aw-font: "Plus Jakarta Sans", "Poppins", system-ui, sans-serif;
}

body.page-awards {
  background: var(--aw-bg) !important;
  color: var(--aw-ink);
  -webkit-font-smoothing: antialiased;
}

body.page-awards h1,
body.page-awards h2,
body.page-awards h3 {
  font-family: var(--aw-font);
}

/* ── Hero (events-style light) ── */
.aw-hero {
  position: relative;
  padding: clamp(4rem, 7vw, 5rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  background:
    radial-gradient(720px 320px at 12% 0%, rgba(255, 18, 18, 0.07), transparent 55%),
    radial-gradient(520px 260px at 92% 10%, rgba(255, 106, 61, 0.06), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--aw-bg) 100%);
}

.aw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--aw-red-soft);
  color: #9f1239;
  border: 1px solid var(--aw-border);
  margin-bottom: 0.75rem;
}

.aw-hero__title {
  font-size: clamp(1.9rem, 3.5vw + 0.5rem, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 0.75rem;
  color: var(--aw-ink);
}

.aw-hero__title em {
  font-style: normal;
  color: var(--aw-red-deep);
}

.aw-hero__lead {
  font-size: clamp(1rem, 1vw + 0.85rem, 1.12rem);
  line-height: 1.65;
  color: var(--aw-muted);
  margin-bottom: 1.25rem;
  max-width: 38rem;
}

.aw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.aw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.aw-btn--primary {
  background: linear-gradient(135deg, #ff1212 0%, #e11d48 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.28);
}

.aw-btn--primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(225, 29, 72, 0.36);
}

.aw-btn--outline {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--aw-border);
  color: var(--aw-ink);
}

.aw-btn--outline:hover {
  background: var(--aw-red-soft);
  border-color: rgba(225, 29, 72, 0.28);
  color: #9f1239;
}

.aw-btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.aw-btn--block {
  width: 100%;
}

/* ── Body ── */
.aw-body {
  padding: 0.5rem 0 clamp(3rem, 6vw, 4.5rem);
}

.aw-flash {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.aw-flash--success {
  background: #ecfdf5;
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.25);
}

.aw-flash--danger {
  background: var(--aw-red-soft);
  color: #9f1239;
  border-color: var(--aw-border);
}

.aw-flash--warning {
  background: #fffbeb;
  color: #92400e;
}

.aw-flash--info {
  background: #eff6ff;
  color: #1e40af;
}

.aw-month {
  margin-bottom: 2.75rem;
}

.aw-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.aw-section__title {
  font-size: clamp(1.25rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.aw-section__sub {
  margin: 0.25rem 0 0;
  color: var(--aw-muted);
  font-size: 0.95rem;
}

.aw-section__count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--aw-muted);
}

.aw-month__title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--aw-ink);
}

/* Events-page style award event cards */
.aw-event-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.aw-event-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(1rem, 2vw, 1.35rem);
  padding: clamp(1.1rem, 2vw, 1.35rem);
  border-radius: calc(var(--aw-radius) + 2px);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--aw-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  --mx: 50%;
  --my: 0%;
}

.aw-event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(650px circle at var(--mx) var(--my), rgba(225, 29, 72, 0.07), transparent 42%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.aw-event-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ff1212, #ff6a3d);
}

.aw-event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--aw-shadow-lg);
  border-color: rgba(225, 29, 72, 0.18);
}

.aw-event-card:hover::before {
  opacity: 1;
}

.aw-date-pill {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 4.75rem;
  padding: 0.75rem 0.65rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff5f5 0%, #fff 100%);
  border: 1px solid var(--aw-border);
  text-align: center;
}

.aw-date-pill__month {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #9f1239;
  text-transform: uppercase;
}

.aw-date-pill__day {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--aw-ink);
}

.aw-date-pill__weekday {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--aw-muted);
}

.aw-event-card__main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.aw-event-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.aw-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.aw-badge--live {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.aw-badge--live i {
  animation: awPulse 1.6s ease-in-out infinite;
  font-size: 0.45rem;
}

.aw-badge--open {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.aw-badge--open i {
  font-size: 0.45rem;
}

.aw-badge--closed {
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
}

.aw-badge--closed i {
  font-size: 0.45rem;
}

.aw-badge--ticket {
  background: rgba(225, 29, 72, 0.08);
  color: #9f1239;
}

.aw-badge--muted {
  background: #f1f5f9;
  color: #475569;
}

@keyframes awPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.aw-event-card__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.aw-event-card__title a {
  color: inherit;
  text-decoration: none;
}

.aw-event-card__title a:hover {
  color: var(--aw-red-deep);
}

.aw-event-card__desc {
  margin: 0 0 0.85rem;
  color: var(--aw-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.aw-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.85rem;
  margin: 0;
}

.aw-meta-grid dt {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--aw-muted);
  margin: 0;
}

.aw-meta-grid dd {
  margin: 0.1rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--aw-ink);
}

.aw-event-card__aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: center;
}

.aw-status-panel {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.06), rgba(255, 106, 61, 0.05));
  border: 1px solid rgba(225, 29, 72, 0.14);
}

.aw-status-panel--soon {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.18);
}

.aw-status-panel--closed {
  background: rgba(100, 116, 139, 0.08);
  border-color: rgba(100, 116, 139, 0.14);
}

.aw-status-panel__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9f1239;
  margin-bottom: 0.45rem;
}

.aw-status-panel--soon .aw-status-panel__label {
  color: #1d4ed8;
}

.aw-status-panel--closed .aw-status-panel__label {
  color: #475569;
}

.aw-status-panel__values {
  display: flex;
  gap: 0.55rem;
}

.aw-status-panel__unit {
  flex: 1;
  text-align: center;
  padding: 0.45rem 0.35rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
}

.aw-status-panel__num {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #ff1212, #e11d48);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.aw-status-panel--closed .aw-status-panel__num {
  background: none;
  -webkit-text-fill-color: #475569;
  color: #475569;
}

.aw-status-panel__cap {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--aw-muted);
}

.aw-cta-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff1212 0%, #e11d48 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.aw-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(225, 29, 72, 0.36);
  color: #fff;
}

.aw-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #fff;
  border-radius: var(--aw-radius);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--aw-shadow);
  color: var(--aw-muted);
}

.aw-empty__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--aw-red-soft);
  color: var(--aw-red-deep);
  font-size: 1.25rem;
}

.aw-empty__title {
  color: var(--aw-ink);
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.aw-empty__text {
  max-width: 28rem;
  margin: 0 auto 1rem;
}

.aw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

/* Clean event → awards list (no thumbnails / fees) */
.aw-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.aw-list-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem 1.15rem;
  padding: 1.05rem 1.2rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: calc(var(--aw-radius) + 2px);
  box-shadow: var(--aw-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.aw-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #ff1212, #ff6a3d);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.aw-list-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--aw-shadow-lg);
  border-color: rgba(225, 29, 72, 0.18);
  color: inherit;
}

.aw-list-item:hover::before {
  opacity: 1;
}

.aw-list-item__index {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #94a3b8;
  min-width: 1.75rem;
}

.aw-list-item__title {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.3;
}

.aw-list-item__desc {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: var(--aw-muted);
  line-height: 1.45;
}

.aw-list-item__stats {
  display: flex;
  gap: 0.55rem;
}

.aw-stat-chip {
  min-width: 4.5rem;
  text-align: center;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
  line-height: 1.15;
}

.aw-stat-chip strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--aw-ink);
  letter-spacing: -0.02em;
}

.aw-stat-chip span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aw-muted);
}

.aw-list-item__chevron {
  color: #cbd5e1;
  font-size: 0.85rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.aw-list-item:hover .aw-list-item__chevron {
  color: var(--aw-red-deep);
  transform: translateX(2px);
}

.aw-card__status {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--aw-red-soft);
  color: #9f1239;
  border: 1px solid var(--aw-border);
  margin-bottom: 0.45rem;
}

.aw-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.95rem 1.15rem;
  margin-bottom: 1.35rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--aw-shadow);
  font-size: 0.92rem;
  color: var(--aw-ink);
}

.aw-notice strong {
  color: var(--aw-red-deep);
}

.aw-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--aw-muted);
  margin-bottom: 1.5rem;
  max-width: 46rem;
}

.aw-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.aw-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.aw-nom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.aw-nominee {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: calc(var(--aw-radius) + 2px);
  padding: 1.15rem;
  box-shadow: var(--aw-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aw-nominee:hover {
  transform: translateY(-2px);
  box-shadow: var(--aw-shadow-lg);
}

.aw-nominee__top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.aw-nominee__avatar {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff1212, #0f172a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.2);
  overflow: hidden;
}

.aw-nominee__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aw-nominee__name {
  font-size: 1.05rem;
  font-weight: 750;
  margin: 0;
  letter-spacing: -0.02em;
}

.aw-nominee__company {
  font-size: 0.86rem;
  color: var(--aw-muted);
  margin-top: 0.15rem;
}

.aw-nominee__votes {
  margin-left: auto;
  text-align: center;
  min-width: 3.25rem;
  padding: 0.35rem 0.45rem;
  border-radius: 12px;
  background: var(--aw-red-soft);
  border: 1px solid var(--aw-border);
  line-height: 1.1;
}

.aw-nominee__votes strong {
  display: block;
  font-size: 1.2rem;
  color: var(--aw-red-deep);
  font-weight: 800;
}

.aw-nominee__votes span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9f1239;
  font-weight: 700;
}

.aw-nominee__about {
  font-size: 0.9rem;
  color: #475569;
  margin: 0.85rem 0 0.45rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aw-nominee__meta {
  font-size: 0.8rem;
  color: var(--aw-muted);
  margin-top: auto;
  padding-top: 0.5rem;
}

.aw-nominee .aw-btn {
  margin-top: 0.85rem;
  align-self: flex-start;
}

.aw-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 5.5rem;
}

.aw-side-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: calc(var(--aw-radius) + 2px);
  padding: 1.25rem;
  box-shadow: var(--aw-shadow);
}

.aw-side-card h3 {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.aw-side-card .hint {
  font-size: 0.86rem;
  color: var(--aw-muted);
  margin-bottom: 0.85rem;
}

.aw-side-card .form-label {
  font-weight: 600;
  color: var(--aw-ink);
}

.aw-side-card .form-control,
.aw-side-card .form-select {
  border-radius: 12px;
  border-color: rgba(15, 23, 42, 0.1);
}

.aw-side-card .form-control:focus,
.aw-side-card .form-select:focus {
  border-color: rgba(225, 29, 72, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(225, 29, 72, 0.12);
}

.aw-modal .modal-content {
  border: 0;
  border-radius: 18px;
  box-shadow: var(--aw-shadow-lg);
}

.aw-modal .modal-header {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

.aw-modal .modal-footer {
  border-top-color: rgba(15, 23, 42, 0.06);
}

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

  .aw-side {
    position: static;
  }

  .aw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aw-event-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .aw-event-card__aside {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .aw-list-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "idx main chev"
      "idx stats chev";
  }

  .aw-list-item__index { grid-area: idx; align-self: start; padding-top: 0.15rem; }
  .aw-list-item__main { grid-area: main; }
  .aw-list-item__stats { grid-area: stats; margin-top: 0.35rem; }
  .aw-list-item__chevron { grid-area: chev; }

  .aw-event-card {
    grid-template-columns: 1fr;
  }

  .aw-date-pill {
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.65rem;
    min-width: 0;
    width: max-content;
    padding: 0.55rem 0.85rem;
  }

  .aw-date-pill__day {
    font-size: 1.15rem;
  }

  .aw-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .aw-grid,
  .aw-nom-grid {
    grid-template-columns: 1fr;
  }

  .aw-hero {
    padding-top: 3.25rem;
  }
}
