/* Site styles (shared across pages)
   Keep this file lean and predictable for static hosting. */

:root {
  --color-bg: #f5f7fa;
  --color-text: #243047;
  --color-primary: #0b3d91;
  --color-accent: #f59e0b; /* warm orange */
  --color-surface: #ffffff;
  --color-surface-alt: #eef3ff;
  --color-border: rgba(0, 0, 0, 0.14);

  --color-footer-bg: #0b2a3a;
  --color-notify: var(--color-primary);
  --color-danger: #ef4444;

  --shadow-sm: 0 2px 10px rgba(12, 17, 29, 0.08);
  --shadow-md: 0 12px 30px rgba(12, 17, 29, 0.12);

  --radius-sm: 10px;
  --radius-md: 16px;
  --container: 1240px;

  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.45);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 10000;
  padding: 10px 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.skip-link:focus {
  left: 12px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.18);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-toggle-icon {
  width: 18px;
  height: 18px;
}

.brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title strong {
  color: var(--color-primary);
  font-size: 15px;
  letter-spacing: 0.2px;
}

.brand-title span {
  font-size: 12px;
  opacity: 0.75;
}

.nav {
  position: relative;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 10px;
  color: var(--color-primary);
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 10px 10px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  color: rgba(10, 25, 47, 0.85);
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-links a:hover {
  background: rgba(11, 61, 145, 0.06);
}

.nav-links a[aria-current="page"] {
  background: rgba(11, 61, 145, 0.1);
  color: var(--color-primary);
  font-weight: 700;
}

.nav-cta {
  border: 2px solid var(--color-accent);
  color: var(--color-accent) !important;
  font-weight: 800;
  padding: 9px 14px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 240px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--color-surface);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px;
  }

  .nav[data-open="true"] .nav-links {
    display: flex;
  }

  .nav-links a {
    border-radius: 12px;
    padding: 11px 12px;
  }

  .nav-cta {
    text-align: center;
  }
}

/* Page hero */
.page-hero {
  background:
    radial-gradient(1200px 480px at 20% 10%, rgba(245, 158, 11, 0.18), transparent 55%),
    radial-gradient(1100px 520px at 80% 0%, rgba(11, 61, 145, 0.22), transparent 60%),
    linear-gradient(180deg, #0b3d91, #0a2f6e);
  color: #fff;

  position: relative;
  overflow: hidden;
  isolation: isolate;

  --hero-blur-1: url("../images/events/image3.png");
  --hero-blur-2: url("../images/sports/image2.jpeg");
  --hero-blur-3: url("../images/campus/39012.jpg.jpeg");
}

.page-hero:not(.home-hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: var(--hero-blur-1), var(--hero-blur-2), var(--hero-blur-3);
  background-repeat: no-repeat;
  background-size: 160px 160px, 140px 140px, 180px 180px;
  background-position: 10% 28%, 92% 24%, 78% 86%;
  filter: blur(10px);
  opacity: 0.24;
  transform: scale(1.04);
}

.page-hero .hero-inner {
  position: relative;
  z-index: 1;
}

/* Home hero (image background) */
.home-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.56)),
    url("../images/home/38918.jpg.jpeg");
  background-size: cover;
  background-position: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
}

.home-hero .button--secondary {
  border-color: rgba(255, 255, 255, 0.55);
}

.page-hero .hero-inner {
  padding: 64px 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0.3px;
}

.page-hero p {
  margin: 0 auto 22px;
  max-width: 820px;
  opacity: 0.92;
}

@media (prefers-reduced-motion: no-preference) {
  .page-hero h1 {
    animation: fadeUp 560ms ease-out both;
  }

  .page-hero p {
    animation: fadeUp 720ms ease-out both;
  }

  .page-hero .actions {
    animation: fadeUp 880ms ease-out both;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.actions--start {
  justify-content: flex-start;
}

.card-actions {
  margin-top: 14px;
}

.section-actions {
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--color-accent);
  color: #1f2937;
  border-color: var(--color-accent);
}

.button--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.button--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: rgb(255, 255, 255);
}

.button--ghost:hover {
  background: rgba(11, 61, 145, 0.06);
}

.page-hero .button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.page-hero .button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Sections */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 14px);
}

.section {
  padding: 44px 0;
}

.section--tint {
  background: rgba(11, 61, 145, 0.035);
}

.section-header {
  text-align: center;
  margin-bottom: 22px;
}

.section-header h2 {
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 28px;
  letter-spacing: 0.2px;
}

.section-header p {
  margin: 0 auto;
  max-width: 760px;
  opacity: 0.9;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

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

.card {
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 61, 145, 0.18);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.card p {
  margin: 0;
  font-size: 14px;
  opacity: 0.88;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: rgba(11, 61, 145, 0.08);
  color: var(--color-primary);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card--center {
  text-align: center;
}

.card--center .card-icon {
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
  width: 54px;
  height: 54px;
}

.muted {
  opacity: 0.8;
}

.cta-panel {
  background:
    radial-gradient(800px 260px at 20% 0%, rgba(245, 158, 11, 0.22), transparent 60%),
    linear-gradient(180deg, var(--color-primary), #0a2f6e);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-panel h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: 0.2px;
}

.cta-panel p {
  margin: 0;
  opacity: 0.92;
  max-width: 760px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

@media (min-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 0%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

body[data-page="gallery"] .gallery img {
  aspect-ratio: 5 / 4;
}

/* Tables (Academic calendar) */
.table-scroll {
  overflow-x: auto;
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.calendar-table th,
.calendar-table td {
  padding: 12px 14px;
  font-size: 13px;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.calendar-table thead th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 900;
}

.calendar-table tbody tr:nth-child(even) {
  background: rgba(11, 61, 145, 0.04);
}

.calendar-note {
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.78;
}

/* Forms */
.form {
  max-width: 780px;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.field {
  margin-bottom: 12px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font: inherit;
  background: #fff;
  color: inherit;
}

select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font: inherit;
  background: #fff;
  color: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.form-status {
  margin: 10px 0 0;
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.field--full {
  grid-column: 1 / -1;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.req {
  color: var(--color-danger);
  margin-left: 4px;
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }
}

/* Contact page */
.split-header {
  margin: 0 0 16px;
}

.split-header h2 {
  margin: 0;
  color: var(--color-primary);
  font-size: 30px;
  letter-spacing: 0.2px;
}

.split-header h2::after {
  content: "";
  display: block;
  width: 86px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 999px;
  margin-top: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 22px;
  align-items: start;
}

.contact-grid > * {
  min-width: 0;
}

.contact-grid .form {
  max-width: none;
  margin: 0;
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.info-panel {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 18px;
}

.info-block {
  display: flex;
  gap: 14px;
  padding: 14px 0;
}

.info-block + .info-block {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.info-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(11, 61, 145, 0.08);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.info-badge svg {
  width: 24px;
  height: 24px;
}

.info-content h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--color-primary);
}

.info-content p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.info-content,
.info-content p,
.info-content a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.contact-line {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.contact-line .label {
  font-weight: 900;
  font-size: 13px;
  color: rgba(10, 25, 47, 0.9);
}

.contact-line .value {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  text-decoration: none;
  font-weight: 900;
  color: var(--color-primary);
}

.contact-pill:hover {
  text-decoration: underline;
}

.contact-pill svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 520px) {
  .contact-line {
    grid-template-columns: 1fr;
  }
}

.footer-meta a,
.footer-meta span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.info-content a {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
}

.info-content a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--color-footer-bg);
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  padding: 30px 0;
  align-items: start;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: 0.2px;
}

.footer-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.footer-brand-name {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.96);
}

.footer-brand-name span {
  color: var(--color-accent);
}

.footer-brand-sub {
  margin: 6px 0 0;
  font-size: 13px;
  opacity: 0.78;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 160ms ease, background-color 160ms ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.footer-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-meta li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.footer-meta .footer-icon {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0.95;
}

.footer-placeholder {
  opacity: 0.78;
}

.footer-map {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.footer-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
}

.footer-map-footer {
  padding: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-map-footer a {
  font-weight: 800;
  text-decoration: none;
}

.footer-map-footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-sep {
  opacity: 0.55;
  padding: 0 6px;
}

/* Notification bubble */
.notify-bubble {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--color-notify);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  color: #fff;
  z-index: 1200;
  transition: transform 160ms ease, filter 160ms ease;
}

.notify-bubble:hover {
  filter: brightness(0.96);
  transform: translateY(-2px);
}

.notify-bubble svg {
  width: 22px;
  height: 22px;
}

.notify-bubble[data-open="true"] .notify-badge {
  opacity: 0;
}

.notify-bubble[data-open="true"] svg {
  opacity: 0;
}

.notify-bubble[data-open="true"]::before,
.notify-bubble[data-open="true"]::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.notify-bubble[data-open="true"]::before {
  transform: rotate(45deg);
}

.notify-bubble[data-open="true"]::after {
  transform: rotate(-45deg);
}

.notify-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--color-danger);
  border: 2px solid var(--color-notify);
}

@media (prefers-reduced-motion: no-preference) {
  .notify-badge {
    animation: pulse 1.6s ease-in-out infinite;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.18);
    opacity: 0.7;
  }
}

/* Notification popup */
.notify-panel {
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: min(380px, calc(100vw - 36px));
  max-height: min(560px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-md);
  z-index: 1190;
}

.notify-panel[hidden] {
  display: none;
}

.notify-panel__header {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  background:
    radial-gradient(520px 220px at 20% 0%, rgba(245, 158, 11, 0.18), transparent 55%),
    linear-gradient(180deg, var(--color-primary), #0a2f6e);
}

.notify-panel__title {
  font-weight: 900;
  letter-spacing: 0.2px;
}

.notify-panel__subtitle {
  font-size: 12px;
  opacity: 0.85;
}

.notify-panel__close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  position: relative;
}

.notify-panel__close::before,
.notify-panel__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.notify-panel__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.notify-panel__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.notify-panel__body {
  flex: 1;
  overflow: auto;
  min-height: 0;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px;
  background:
    radial-gradient(800px 320px at 30% 10%, rgba(11, 61, 145, 0.08), transparent 55%),
    radial-gradient(720px 360px at 80% 70%, rgba(245, 158, 11, 0.08), transparent 55%),
    var(--color-surface-alt);
}

.notify-list {
  display: grid;
  gap: 10px;
}

.notify-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  text-decoration: none;
  color: inherit;
}

.notify-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(11, 61, 145, 0.12);
  color: var(--color-primary);
}

.notify-icon svg {
  width: 18px;
  height: 18px;
}

.notify-card {
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, filter 160ms ease;
}

.notify-item:hover .notify-card {
  filter: brightness(0.99);
  transform: translateY(-1px);
}

.notify-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.notify-card__title {
  font-weight: 900;
  letter-spacing: 0.1px;
  font-size: 13px;
}

.notify-card__meta {
  font-size: 12px;
  opacity: 0.75;
  white-space: nowrap;
}

.notify-card p {
  margin: 0;
  font-size: 13px;
  opacity: 0.92;
}

.notify-panel__footer {
  padding: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--color-surface);
}

.notify-panel__action {
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Admin dashboard */
body[data-page="admin"] .form {
  max-width: none;
}

body[data-page="admin"] section[id] {
  scroll-margin-top: calc(var(--header-height) + 120px);
}

body[data-page="admin"] .admin-dashboard {
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  background: var(--color-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body[data-page="admin"] .admin-dashboard-surface {
  background: var(--color-surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 10px;
  margin: 14px 0;
}

body[data-page="admin"] .admin-dashboard-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

body[data-page="admin"] .admin-dashboard-link {
  flex: 0 0 auto;
  padding: 10px 14px;
  font-size: 13px;
}

@media (max-width: 520px) {
  body[data-page="admin"] .admin-dashboard-link {
    padding: 9px 12px;
  }
}

/* Admin: make editor lists easier on desktop */
body[data-page="admin"] [data-js="events-upcoming-list"],
body[data-page="admin"] [data-js="events-clubs-list"],
body[data-page="admin"] [data-js="events-notices-list"] {
  display: grid;
  gap: 18px;
}

@media (min-width: 1024px) {
  body[data-page="admin"] [data-js="events-upcoming-list"],
  body[data-page="admin"] [data-js="events-clubs-list"],
  body[data-page="admin"] [data-js="events-notices-list"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
  }
}
