/* SVGU Admission Announcement — board layout */

.ann-page {
  background: #f7f8fb;
}

.ann-bar {
  background: var(--brand-primary, #173058);
  color: #fff !important;
  border-bottom: 3px solid var(--brand-accent, #aa222e);
}

.ann-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.85rem 1.25rem;
  min-height: 3.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.ann-bar__mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-accent, #aa222e);
  box-shadow: 0 0 0 4px rgba(170, 34, 46, 0.25);
  flex: 0 0 auto;
}

.ann-bar__text {
  margin: 0;
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw + 0.7rem, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: none;
}

.ann-bar__year {
  margin-left: auto;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

.ann-highlights {
  padding: 1.5rem 0 0.25rem;
  background: #fff;
  border-bottom: 1px solid var(--border, #e5e9f0);
}

.ann-highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ann-highlight {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
}

.ann-highlight__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: rgba(23, 48, 88, 0.08);
  color: var(--brand-accent, #aa222e);
  font-size: 1.15rem;
  flex: 0 0 auto;
}

.ann-highlight__label {
  margin: 0;
  color: var(--text-muted, #64748b);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ann-highlight__value {
  margin: 0.15rem 0 0;
  color: var(--brand-primary, #173058);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.ann-actions {
  padding: 1.75rem 0 0.5rem;
}

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

.ann-action {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--border, #e5e9f0);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 10px 28px -22px rgba(23, 48, 88, 0.45);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

button.ann-action {
  cursor: pointer;
  font: inherit;
}

.ann-action:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 48, 88, 0.22);
  box-shadow: 0 16px 32px -20px rgba(23, 48, 88, 0.4);
  color: inherit;
}

.ann-action__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand-primary, #173058), #1f3f6f);
  color: #fff;
  font-size: 1.2rem;
  flex: 0 0 auto;
}

.ann-action:nth-child(2) .ann-action__icon {
  background: linear-gradient(145deg, #8a1c26, var(--brand-accent, #aa222e));
}

.ann-action:nth-child(3) .ann-action__icon {
  background: linear-gradient(145deg, #0f2748, #2a4f84);
}

.ann-action__copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}

.ann-action__copy strong {
  color: var(--brand-primary, #173058);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
}

.ann-action__copy span {
  color: var(--text-muted, #64748b);
  font-size: 0.86rem;
  line-height: 1.4;
}

.ann-action__arrow {
  color: var(--brand-accent, #aa222e);
  font-size: 1.1rem;
  transition: transform 0.15s ease;
}

.ann-action:hover .ann-action__arrow {
  transform: translateX(3px);
}

.ann-openings {
  padding: 2.5rem 0 1.5rem;
}

.ann-openings__head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.ann-rails {
  display: grid;
  gap: 1rem;
}

.ann-rail {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.4fr) auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border, #e5e9f0);
  border-left: 5px solid var(--brand-accent, #aa222e);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px -26px rgba(23, 48, 88, 0.5);
}

.ann-rail__aside {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.ann-rail__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 14px;
  background: rgba(23, 48, 88, 0.07);
  color: var(--brand-primary, #173058);
  font-size: 1.25rem;
  flex: 0 0 auto;
}

.ann-rail__eyebrow {
  margin: 0;
  color: var(--brand-accent, #aa222e);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ann-rail__title {
  margin: 0.2rem 0 0;
  color: var(--brand-primary, #173058);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.2;
}

.ann-rail__programs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ann-rail__programs a {
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(23, 48, 88, 0.12);
  border-radius: 12px;
  background: #f7f8fb;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ann-rail__programs a:hover {
  background: #fff;
  border-color: rgba(170, 34, 46, 0.35);
}

.ann-rail__programs span {
  color: var(--brand-primary, #173058);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.ann-rail__programs small {
  color: var(--text-muted, #64748b);
  font-size: 0.72rem;
  line-height: 1.3;
}

.ann-rail__cta {
  display: grid;
  gap: 0.55rem;
  justify-items: stretch;
  min-width: 140px;
}

.ann-rail__cta .btn {
  white-space: nowrap;
}

.ann-rail__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  color: var(--brand-primary, #173058);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.ann-rail__more:hover {
  color: var(--brand-accent, #aa222e);
}

.ann-fees-link {
  margin-top: 1.35rem;
  text-align: right;
}

.ann-fees-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-accent, #aa222e);
  font-weight: 700;
  text-decoration: none;
}

.ann-fees-link a:hover {
  text-decoration: underline;
}

.ann-dates {
  padding: 2.5rem 0;
  background: #fff;
  border-top: 1px solid var(--border, #e5e9f0);
}

.ann-dates__head {
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.ann-dates__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.ann-date {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--border, #e5e9f0);
  border-radius: 16px;
  background: #f7f8fb;
}

.ann-date__num {
  color: var(--brand-accent, #aa222e);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.ann-date__label {
  margin: 0;
  color: var(--brand-primary, #173058);
  font-size: 0.95rem;
  font-weight: 700;
}

.ann-date__value {
  margin: 0.25rem 0 0;
  color: var(--text-muted, #64748b);
  font-size: 0.88rem;
  line-height: 1.45;
}

.ann-cta {
  padding: 2.75rem 0 3.25rem;
  background:
    linear-gradient(120deg, rgba(15, 32, 58, 0.94), rgba(23, 48, 88, 0.88)),
    url("../images/optimized/asbuilding.jpg") center / cover no-repeat;
  color: #fff;
}

.ann-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
}

.ann-cta__copy {
  max-width: 36rem;
}

.ann-cta__copy .section-label {
  color: #ffd7db !important;
}

.ann-cta__copy h2 {
  margin: 0.35rem 0 0.65rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw + 0.8rem, 2.15rem);
  font-weight: 750;
  line-height: 1.2;
}

.ann-cta__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.65;
}

.ann-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 991.98px) {
  .ann-highlights__grid,
  .ann-actions__grid,
  .ann-dates__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ann-rail {
    grid-template-columns: 1fr;
  }

  .ann-rail__cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    min-width: 0;
  }
}

@media (max-width: 575.98px) {
  .ann-bar__inner {
    flex-wrap: wrap;
  }

  .ann-bar__year {
    margin-left: 0;
  }

  .ann-highlights__grid,
  .ann-actions__grid,
  .ann-dates__list {
    grid-template-columns: 1fr;
  }

  .ann-rail__cta {
    grid-template-columns: 1fr;
  }

  .ann-fees-link {
    text-align: left;
  }

  .ann-cta__actions {
    width: 100%;
  }

  .ann-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
