:root {
  --issa-ink: #111827;
  --issa-muted: #5b6472;
  --issa-border: #d9dee7;
  --issa-surface: #ffffff;
  --issa-soft: #f5f7fa;
  --issa-blue: #173b67;
  --issa-blue-soft: #eaf1f8;
  --issa-focus: #0b63ce;
  --issa-radius: 8px;
  --issa-shadow: 0 18px 45px rgba(17, 24, 39, 0.07);
}

* {
  box-sizing: border-box;
}

body {
  color: var(--issa-ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--issa-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0b2745;
}

:focus-visible {
  outline: 3px solid var(--issa-focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 2000;
  padding: 0.65rem 1rem;
  color: #fff;
  background: var(--issa-ink);
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.navbar {
  min-height: 74px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--issa-ink);
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 44px;
  display: block;
  object-fit: contain;
}

.footer-logo {
  height: 50px;
}

.login-logo {
  height: 56px;
}


.nav-link {
  color: #273244;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--issa-blue);
}

.btn {
  border-radius: 4px;
  font-weight: 650;
}

.btn-dark {
  background: var(--issa-ink);
  border-color: var(--issa-ink);
}

.hero-section {
  padding: clamp(3rem, 7vw, 6.5rem) 0 4.5rem;
  background: linear-gradient(180deg, #fff 0%, #f9fafc 100%);
}

.eyebrow {
  color: #1f4f80;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 12ch;
  margin-bottom: 0.75rem;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.font-serif {
  font-family: Georgia, "Times New Roman", serif;
}

.font-condensed {
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
}

.hero-subtitle {
  max-width: 34rem;
  color: var(--issa-muted);
  font-size: 1.2rem;
}

.lead-copy {
  max-width: 42rem;
  color: #354052;
}

.event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin: 1.25rem 0;
  color: #293548;
  font-weight: 600;
}

.event-facts > div {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.event-facts.small {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
  color: var(--issa-muted);
}

.fact-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  border: 1.5px solid #657184;
  border-radius: 4px;
  background: #fff;
}

.event-facts > div:nth-child(2) .fact-icon {
  border-radius: 50%;
}

.hero-media {
  width: 100%;
}

.hero-media img,
.document-image {
  width: 100%;
  border: 1px solid var(--issa-border);
  border-radius: var(--issa-radius);
  box-shadow: var(--issa-shadow);
}

.hero-carousel {
  width: 100%;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--issa-radius);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 420ms ease, transform 420ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid var(--issa-border);
  border-radius: var(--issa-radius);
  box-shadow: var(--issa-shadow);
}

.hero-slide figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  backdrop-filter: blur(10px);
}

.image-placeholder {
  width: 100%;
  min-height: 280px;
  border: 1px solid var(--issa-border);
  border-radius: var(--issa-radius);
  background:
    radial-gradient(circle at 68% 35%, #c9ced6 0 18px, transparent 19px),
    linear-gradient(135deg, transparent 47%, #c6ccd5 48% 54%, transparent 55%),
    linear-gradient(45deg, transparent 47%, #b8c0cc 48% 54%, transparent 55%),
    #f1f3f6;
}

.image-placeholder.large {
  min-height: 390px;
}

.image-placeholder.page {
  min-height: 240px;
}

.about-hero-image {
  width: 100%;
  min-height: 240px;
  object-fit: cover;
  border: 1px solid var(--issa-border);
  border-radius: var(--issa-radius);
  box-shadow: var(--issa-shadow);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #8a93a3;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-dots button:focus-visible {
  outline: 2px solid var(--issa-ink);
  outline-offset: 3px;
}

.carousel-dots .active {
  background: var(--issa-ink);
}

.hero-carousel-dots {
  margin-top: 1rem;
}

.section-band {
  padding: 2.5rem 0;
  background: #fbfcfd;
}

.content-section {
  padding: 3.5rem 0;
}

.section-title {
  margin-bottom: 1.4rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.sponsor-item {
  min-height: 96px;
  display: grid;
  place-items: center;
  gap: 0.6rem;
  color: var(--issa-muted);
  text-align: center;
  text-decoration: none;
}

.sponsor-item img {
  max-width: 120px;
  max-height: 56px;
  object-fit: contain;
}

.sponsor-placeholder,
.thumb-placeholder,
.news-placeholder,
.previous-placeholder {
  display: block;
  border: 1px solid #aab2bf;
  background: #f1f3f6;
}

.sponsor-placeholder {
  width: 44px;
  height: 44px;
  background:
    linear-gradient(45deg, transparent calc(50% - 1px), #aab2bf calc(50% - 1px), #aab2bf calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(-45deg, transparent calc(50% - 1px), #aab2bf calc(50% - 1px), #aab2bf calc(50% + 1px), transparent calc(50% + 1px)),
    #f1f3f6;
}

.update-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--issa-border);
  border-radius: var(--issa-radius);
  background: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.update-card:hover,
.news-card:hover,
.previous-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--issa-shadow);
}

.update-card img,
.thumb-placeholder {
  width: 82px;
  height: 82px;
  border-radius: 4px;
  object-fit: cover;
}

.update-card h3,
.news-card h2,
.resource-row h2,
.previous-card h2,
.contact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}

.update-card p,
.news-card p {
  margin-bottom: 0.5rem;
  color: var(--issa-muted);
  font-size: 0.9rem;
}

.update-card time,
.news-card time {
  color: #536072;
  font-size: 0.82rem;
  font-weight: 700;
}

.page-hero {
  padding: 3.5rem 0;
  background: #fbfcfd;
  border-bottom: 1px solid var(--issa-border);
}

.page-hero.compact {
  padding: 3rem 0;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 850;
}

.page-hero p {
  max-width: 760px;
  color: var(--issa-muted);
}

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

.topic-pill {
  padding: 0.9rem 1rem;
  border: 1px solid var(--issa-border);
  border-radius: 4px;
  background: #fff;
  color: #263347;
  text-align: center;
  font-weight: 650;
}

.committee-card,
.news-card,
.contact-card,
.dashboard-card {
  border: 1px solid var(--issa-border);
  border-radius: var(--issa-radius);
  background: #fff;
}

.committee-card {
  padding: 1.6rem;
  text-align: center;
}

.committee-avatar {
  width: 46px;
  height: 46px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid #8792a2;
  background: linear-gradient(135deg, #d2d7df, #b7c0cc);
}

.committee-card h3 {
  font-size: 1rem;
  font-weight: 800;
}

.committee-card ul {
  display: inline-block;
  margin: 1rem 0;
  padding-left: 1.1rem;
  text-align: left;
  color: var(--issa-muted);
}

.previous-list,
.resource-list {
  display: grid;
  gap: 1.5rem;
}

.previous-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.5rem;
  padding: 1.4rem;
  border: 1px solid var(--issa-border);
  border-radius: var(--issa-radius);
  background: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.previous-card img,
.previous-placeholder {
  width: 100%;
  aspect-ratio: 1.2;
  border-radius: 4px;
  object-fit: cover;
}

.resource-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--issa-border);
  border-radius: var(--issa-radius);
  background: #fff;
}

.gallery-block + .gallery-block {
  margin-top: 3rem;
}

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

.gallery-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--issa-radius);
  border: 1px solid var(--issa-border);
}

.gallery-tile img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-tile:hover img {
  transform: scale(1.025);
}

.gallery-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem;
  color: #fff;
  background: rgba(17, 24, 39, 0.78);
  font-size: 0.9rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(17, 24, 39, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 86vh;
  border-radius: var(--issa-radius);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  font-size: 1.8rem;
}

.document-page {
  padding: 4rem 0;
  background: #fbfcfd;
}

.document-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--issa-border);
  border-radius: var(--issa-radius);
  background: #fff;
}

.document-shell h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 850;
}

.document-shell h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.document-intro,
.rich-text {
  color: #354052;
  font-size: 1.05rem;
}

.contact-card {
  min-height: 170px;
  padding: 1.2rem;
}

.contact-card img {
  width: 52px;
  height: 52px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  object-fit: cover;
}

.contact-card p,
.contact-card span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--issa-muted);
}

.site-footer {
  background: #fff;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #374151;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--issa-border);
  color: var(--issa-muted);
  font-size: 0.9rem;
}

.message-stack {
  position: fixed;
  top: 86px;
  right: 0;
  left: 0;
  z-index: 1050;
  pointer-events: none;
}

.message-stack .alert {
  max-width: 760px;
  margin-left: auto;
  pointer-events: auto;
}

.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f5f7fa, #fff);
}

.login-shell {
  width: min(94vw, 440px);
}

.login-panel {
  padding: 2rem;
  border: 1px solid var(--issa-border);
  border-radius: var(--issa-radius);
  background: #fff;
  box-shadow: var(--issa-shadow);
}

.login-panel h1 {
  font-size: 1.7rem;
  font-weight: 850;
}

.login-panel input {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd3df;
  border-radius: 4px;
}

.dashboard-body {
  background: #fbfcfd;
}

.dashboard-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.4rem;
  border-right: 1px solid var(--issa-border);
  background: #fff;
}

.dashboard-logo-link {
  margin-bottom: 1.25rem;
}

.dashboard-logo {
  height: 42px;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.dashboard-user span:last-child {
  display: block;
  color: var(--issa-muted);
  font-size: 0.82rem;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e5e9ef, #bdc6d3);
}

.dashboard-sidebar nav {
  display: grid;
  gap: 0.35rem;
}

.dashboard-sidebar nav a,
.dashboard-sidebar nav button {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 0;
  border-radius: 4px;
  color: #263347;
  background: transparent;
  text-align: left;
  text-decoration: none;
  font-weight: 650;
}

.dashboard-sidebar nav a:hover,
.dashboard-sidebar nav button:hover {
  background: var(--issa-soft);
}

.dashboard-main {
  padding: clamp(1rem, 4vw, 2rem);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dashboard-header h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 850;
}

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

.stat-card {
  min-height: 120px;
  padding: 1.2rem;
  display: grid;
  align-content: center;
  border: 1px solid var(--issa-border);
  border-radius: var(--issa-radius);
  background: #fff;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stat-card span {
  color: var(--issa-muted);
  font-weight: 650;
}

.dashboard-card {
  padding: 1.4rem;
}

.dashboard-card h2 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 850;
}

.quick-actions {
  display: grid;
  gap: 0.75rem;
}

.dashboard-filter {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 240px) auto;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dashboard-filter-simple {
  grid-template-columns: minmax(180px, 1fr) auto;
}

.table-card {
  padding: 0;
  overflow: hidden;
}

.table-card .table {
  margin-bottom: 0;
}

.table th {
  color: #536072;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-pill {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #edf1f5;
  color: #263347;
  font-size: 0.8rem;
  font-weight: 750;
}

.status-pill.published {
  background: #e5f3ea;
  color: #146c35;
}

.form-card {
  max-width: 1180px;
}

.form-actions {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--issa-border);
}

.related-actions,
.gallery-formset {
  display: grid;
  gap: 1rem;
}

.related-actions {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.form-section-title {
  font-size: 1.1rem;
  font-weight: 850;
}

.gallery-form-row {
  padding: 1rem;
  border: 1px solid var(--issa-border);
  border-radius: var(--issa-radius);
  background: #fbfcfd;
}

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

  .dashboard-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--issa-border);
  }

  .dashboard-sidebar nav {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

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

@media (max-width: 767.98px) {
  .hero-title {
    max-width: 100%;
  }

  .section-heading-row,
  .dashboard-header,
  .footer-bottom,
  .resource-row {
    align-items: stretch;
    flex-direction: column;
  }

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

  .dashboard-filter {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .update-card {
    grid-template-columns: 70px 1fr;
  }
}
