
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

body {
  font-family: 'Lato', sans-serif;
  background-color: #fff8ed;
  color: #000;
  margin: 1%;
  padding: 1%;
}

header, nav {
  background-color: #aa305c;
  color: white;
  text-align: center;
  padding: 1em;
}

nav a {
  color: white;
  margin: 0 1em;
  text-decoration: none;
}

nav a:hover {
  color: #fff8ed;
  text-decoration: underline;
}

h1, h2 {
  color: #aa305c;
}

.container {
  max-width: 960px;
  margin: 2em auto;
  padding: 0 1em;
}

.exhibits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.exhibits-list .exhibit {
  flex: 1 1 calc(50% - 20px);
  border: 1px solid #ddd;
  padding: 1em;
  background-color: white;
}


/* Updated top nav layout */
#main-nav {
  width: 100%;
  background-color: #aa305c;
  text-align: center;
  padding: 10px 0;
}

#main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-nav li {
  display: inline-block;
  margin: 0 15px;
}

#main-nav a {
  color: white;
  text-decoration: none;
  font-size: 1.1em;
}

#main-nav a:hover {
  color: #fff8ed;
}

/* Full-width slideshow */
#slideshow {
  width: 100%;
  overflow: hidden;
  position: relative;
  max-height: 500px;
}

#slideshow img.slide {
  width: 100%;
  display: none;
}

#slideshow img.slide:first-child {
  display: block;
}

#slideshow button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.6);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 5;
  padding: 0.25em 0.5em;
}

#slideshow #prev {
  left: 10px;
}

#slideshow #next {
  right: 10px;
}

#top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #aa305c;
  padding: 0.5em 1em;
}

#logo-inline img {
  max-height: 60px;
  height: auto;
  width: auto;
}


/* Exhibit grid layout */
.exhibits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 1.5em;
  justify-content: center;
}

.exhibit-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.exhibit-card:hover {
  transform: translateY(-4px);
}

.exhibit-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.exhibit-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.exhibit-placeholder {
  background-color: #f0f0f0;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-style: italic;
}

.exhibit-info {
  padding: 1em;
}

.exhibit-info h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
  color: #aa305c;
}

.view-link {
  display: inline-block;
  margin-top: 0.5em;
  color: #aa305c;
  font-weight: bold;
}

.exhibits-grid.overlay-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.overlay-card {
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
  text-decoration: none;
  border-radius: 8px;
}

.exhibit-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1em;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: white;
  box-sizing: border-box;
}

.overlay-text h3 {
  margin: 0;
  font-size: 1.2em;
}

.overlay-text p {
  font-size: 0.9em;
  margin-top: 0.5em;
}
.overlay-card {
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
  text-decoration: none;
  border-radius: 8px;
  background: none;         /* ✅ remove white background */
  border: none;             /* ✅ remove border if any */
  box-shadow: none;         /* ✅ remove any shadows */
}

.overlay-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1em;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: white;
  box-sizing: border-box;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);  /* ✅ improve contrast on light images */
}

.modern-exhibit-show .exhibit-description {
  margin-bottom: 1.5em;
  font-size: 1.1em;
}

.exhibit-content {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.element.audio {
  display: flex;
  gap: 1em;
  align-items: flex-start;
  background: #f9f9f9;
  padding: 1em;
  border-radius: 8px;
}

.element.audio audio {
  max-width: 300px;
}

.element.audio .element-text {
  flex: 1;
}

.exhibit-meta {
  margin-top: 2em;
  font-size: 0.9em;
  color: #666;
}

.exhibit-nav {
  margin-top: 2em;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.exhibit-prev a,
.exhibit-next a {
  background: #aa305c;
  color: white;
  padding: 0.5em 1em;
  border-radius: 4px;
  text-decoration: none;
}

.exhibit-prev a:hover,
.exhibit-next a:hover {
  background: #92264c;
}

.exhibit-banner {
  background-size: cover;
  background-position: center;
  height: 300px;
  position: relative;
  margin-bottom: 2em;
}

.exhibit-banner-overlay {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exhibit-title {
  color: white;
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  padding: 0 1em;
}

.saada-summary-layout {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1em;
  font-size: 1.1em;
  line-height: 1.6;
}

.exhibit-page-list {
  list-style: none;
  padding: 0;
  margin-top: 2em;
}

.exhibit-page-list li {
  margin-bottom: 0.5em;
}

.exhibit-page-list a {
  text-decoration: none;
  font-weight: bold;
  color: #aa305c;
}

.exhibit-page-list a:hover {
  text-decoration: underline;
  color: #92264c;
}
.exhibit-banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-bottom: 2em;
}

.exhibit-banner-overlay {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.exhibit-title {
  color: white;
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
}

.no-banner .exhibit-title.no-image {
  text-align: center;
  margin-top: 2em;
  font-size: 2.5em;
  color: #aa305c;
}

.saada-style-summary {
  max-width: 720px;
  margin: 0 auto;
  padding: 2em;
  font-size: 1.1em;
  line-height: 1.6;
}

.exhibit-page-list ul {
  list-style: none;
  padding: 0;
}

.exhibit-page-list li {
  margin: 0.75em 0;
}

.exhibit-page-list a {
  text-decoration: none;
  color: #aa305c;
  font-weight: bold;
}

.exhibit-page-list a:hover {
  color: #92264c;
  text-decoration: underline;
}

.exhibits h1 {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #efa62a;
  text-transform: uppercase;
  font-size: 2.5em;
  letter-spacing: 0.05em;
  font-style: normal;
}
.two-column-layout {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2em;
  padding: 2em 1em;
}

.left-column {
  flex: 2;
  min-width: 60%;
  font-size: 1.15em;
  line-height: 1.6;
}

.right-column {
  flex: 1;
  min-width: 280px;
}

.nav-box, .credits-box {
  background-color: #f9f1ea;
  border: 1px solid #ddd;
  padding: 1em;
  margin-bottom: 1.5em;
  border-radius: 8px;
}

.nav-box h3, .credits-box h3 {
  margin-top: 0;
  color: #aa305c;
}

.nav-box ul {
  list-style-type: none;
  padding-left: 0;
}

.nav-box li {
  margin: 0.5em 0;
}

.nav-box a {
  text-decoration: none;
  font-weight: bold;
  color: #efa62a;
}

.nav-box a:hover {
  text-decoration: underline;
  color: #92264c;
}
.exhibit-nav {
  display: none !important;
}
#exhibit-pages {
  display: none !important;
}
#exhibit-pages, .exhibit-page-navigation {
  display: none !important;
}.exhibit-nav, #exhibit-pages, .exhibit-page-navigation {
  display: none !important;
}
#exhibit-page-navigation {
  display: none !important;
}
/* Constrain overall page width */
body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

/* Optional: Limit width of header and footer too */
#header, #footer, #content, #primary {
  max-width: 1200px;
  margin: 0 auto;
}

/* Optional: Prevent images from stretching too wide */
img {
  max-width: 100%;
  height: auto;
}
#wrap {
  position: relative;
}
#top-bar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #aa305c; /* adjust as needed */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


}




