:root {
  --asi-brown: #7a3d14;
  --asi-dark: #5a2a0f;
  --cream: #f7efe1;
  --cream-strong: #efe0c9;
  --ink: #2f241c;
  --line: rgba(90, 42, 15, 0.17);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8f2e7 0%, #f2e5cf 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.top-bar {
  background: var(--asi-dark);
  color: #fefaf4;
  font-size: 0.9rem;
}

.top-bar a {
  color: #fefaf4;
  opacity: 0.95;
  margin-right: 1rem;
}

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--asi-brown), #a15a24);
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(66, 28, 8, 0.2);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  color: var(--asi-brown);
  font-weight: 700;
}

.site-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  color: var(--asi-dark);
  font-family: 'Playfair Display', serif;
}

.site-subtitle {
  margin: 0.2rem 0 0;
  color: var(--asi-brown);
  font-weight: 600;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: 0.4rem 0.6rem 0.4rem 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.search-box input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0.55rem 0;
  color: var(--ink);
}

.search-box button {
  border: 0;
  background: var(--asi-brown);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.main-nav {
  background: linear-gradient(90deg, #f8efe0 0%, #efe0c9 100%);
  border-bottom: 1px solid var(--line);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0.8rem 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--asi-dark);
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--asi-brown);
  color: white;
}

.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(66, 28, 8, 0.12);
  min-width: 220px;
  display: none;
  padding: 0.4rem 0;
  z-index: 60;
}

.nav-links .dropdown-menu li a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: var(--asi-dark);
  border-radius: 6px;
}

.nav-links .dropdown-menu li a:hover {
  background: rgba(122,61,20,0.06);
}

.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown:focus-within .dropdown-menu,
.nav-links .dropdown.open .dropdown-menu {
  display: block;
}

.hero-card,
.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
}

.hero-card {
  overflow: hidden;
}

.hero-swiper {
  height: 460px;
}

.hero-swiper .swiper-slide {
  position: relative;
}

.hero-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem;
  color: white;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.72) 100%);
}

.slide-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
  color: #f0d7b4;
}

.slide-caption h2 {
  font-size: 1.8rem;
  margin-bottom: 0.35rem;
  font-family: 'Playfair Display', serif;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
  background: rgba(0,0,0,0.35);
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1rem;
}

.swiper-pagination-bullet-active {
  background: white;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.85fr 0.95fr;
  gap: 1.2rem;
}

.left-column,
.right-column {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.panel {
  padding: 1.15rem;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  margin: 0;
  font-size: 1.06rem;
  color: var(--asi-dark);
}

.panel-head a {
  color: var(--asi-brown);
  font-weight: 600;
}

.notification-list article {
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--line);
}

.notification-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.notification-list span {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--asi-brown);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.notification-list h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.notification-list p,
.video-panel p,
.sidebar-card p,
.site-footer p,
.site-footer li {
  color: #58463c;
  line-height: 1.7;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-btn,
.page-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--asi-dark);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover,
.page-btn:hover {
  background: var(--asi-brown);
  color: white;
  border-color: var(--asi-brown);
}

.gallery-grid {
  columns: 3 240px;
  column-gap: 1rem;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fcf8f2;
  break-inside: avoid;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-caption {
  padding: 0.8rem 0.85rem 0.95rem;
}

.gallery-caption h5 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}

.gallery-caption p {
  margin: 0;
  font-size: 0.88rem;
  color: #7b6556;
}

.pagination-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.page-numbers {
  display: flex;
  gap: 0.35rem;
}

.page-number {
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.page-number.active {
  background: var(--asi-brown);
  color: white;
  border-color: var(--asi-brown);
}

.video-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.video-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 2.3rem;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-list li {
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--line);
}

.link-list li:last-child {
  border-bottom: 0;
}

.event-item {
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
}

.event-item:last-child {
  border-bottom: 0;
}

.site-footer {
  margin-top: 1.4rem;
  background: var(--asi-dark);
  color: #fdf7ee;
}

.site-footer h4 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  font-family: 'Playfair Display', serif;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.55rem;
  color: #f6e5ca;
}

.site-footer a {
  color: #f6e5ca;
}

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

  .nav-links {
    gap: 0.35rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .nav-links .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding-left: 0.6rem;
  }

  .hero-swiper {
    height: 390px;
  }
}

@media (max-width: 640px) {
  .top-bar .container {
    justify-content: center;
  }

  .nav-links {
    gap: 0.2rem;
  }

  .nav-links a {
    padding: 0.55rem 0.75rem;
  }

  .hero-swiper {
    height: 320px;
  }

  .gallery-grid {
    columns: 1 100%;
  }
}
