.page-home .grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: min(100%, var(--content-normal));
  margin: var(--space-md) auto;
  padding-inline: var(--gutter);
}

.page-home .grid-item {
  background-color: #1b586c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.page-home .grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-home .grid-item:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

.page-home .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.page-home .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .overlay {
  position: absolute;
  inset: 0;
  transition: opacity 0.4s ease;
  opacity: 0.7;
}

.page-home .grid-item:hover .overlay {
  opacity: 0;
}

.page-home .overlay-alfa {
  background-color: #1b586c;
}

.page-home .overlay-beta {
  background-color: #c65e53;
}

.page-home .overlay-gamma {
  background-color: #676332;
}

.page-home .overlay-delta {
  background-color: #5d473a;
}

.page-home .label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  padding: 15px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 30px;
  text-align: center;
}

.page-events .event-image {
  display: block;
  width: min(100%, var(--content-narrow));
  margin: var(--space-md) auto;
  padding-inline: var(--gutter);
  transition: opacity 0.3s ease;
}

.page-events .event-image:hover {
  opacity: 0.85;
  cursor: default;
}

.page-info .spacer {
  height: var(--space-lg);
}

.page-info .info-container {
  width: min(100%, var(--content-narrow));
  margin: var(--space-md) auto;
  padding-inline: var(--gutter);
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
}

.page-info .info-section {
  margin-bottom: 50px;
}

.page-info .info-container h2 {
  margin-bottom: 10px;
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
}

.page-info .info-container a {
  color: #000;
  text-decoration: underline;
}

.page-guide #audio-container {
  width: min(100%, var(--content-narrow));
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.page-guide .audio-item {
  width: 100%;
  max-width: var(--content-narrow);
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #eee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.page-guide .audio-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-guide .audio-item.expanded .audio-content {
  display: block;
}

.page-guide .audio-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 20px;
  color: #fff;
  font-size: 24px;
  text-align: left;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.page-guide .audio-title:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: -3px;
}

.page-guide .audio-title.open .arrow {
  transform: rotate(180deg);
}

.page-guide .title-text {
  flex: 1;
  word-break: break-word;
  font-size: 20px;
}

.page-guide .arrow {
  flex-shrink: 0;
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}

.page-guide .arrow:hover {
  animation: pulse 1s infinite ease-in-out;
}

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

  50% {
    transform: scale(1.1) rotate(0deg);
  }
}

.page-guide .audio-content {
  display: none;
  padding: 10px 20px 20px;
}

.page-guide audio {
  width: 100%;
  margin-top: 10px;
  border-radius: 8px;
}

.page-guide .description {
  color: #000;
  font-size: 16px;
  text-align: justify;
}

.page-guide .credit-box {
  max-width: var(--content-narrow);
  margin: 20px auto 0;
  border-radius: 12px;
  background-color: #fff;
  padding: 15px 20px;
  color: #333;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}

.page-guide .credit-line {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.4;
}

.page-guide .static-box {
  width: 100%;
  max-width: var(--content-narrow);
  height: 180px;
  margin: 20px auto;
  border-radius: 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #fff;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-guide .static-box p {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}

.page-guide .static-box.style-1 {
  background:
    linear-gradient(rgba(27, 88, 108, 0.7), rgba(27, 88, 108, 0.7)),
    url('/assets/images/content/exhibition-theme-01.png') center/cover no-repeat;
}

.page-guide .static-box.style-2 {
  background:
    linear-gradient(rgba(183, 139, 56, 0.7), rgba(183, 139, 56, 0.7)),
    url('/assets/images/content/exhibition-theme-02.png') center/cover no-repeat;
}

.page-guide .static-box.style-3 {
  background:
    linear-gradient(rgba(198, 94, 83, 0.7), rgba(198, 94, 83, 0.7)),
    url('/assets/images/content/exhibition-theme-03.png') center/cover no-repeat;
}

.page-guide .static-box.style-4 {
  background:
    linear-gradient(rgba(103, 99, 50, 0.7), rgba(103, 99, 50, 0.7)),
    url('/assets/images/content/exhibition-theme-04.png') center/cover no-repeat;
}

.page-guide .static-box.style-5 {
  background:
    linear-gradient(rgba(93, 71, 58, 0.7), rgba(93, 71, 58, 0.7)),
    url('/assets/images/content/exhibition-theme-05.png') center/cover no-repeat;
}

.page-guide .static-box.style-6 {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.page-guide .style-1 .audio-title {
  background-color: #1b586c;
}

.page-guide .style-2 .audio-title {
  background-color: #b78b38;
}

.page-guide .style-3 .audio-title {
  background-color: #c65e53;
}

.page-guide .style-4 .audio-title {
  background-color: #676332;
}

.page-guide .style-5 .audio-title {
  background-color: #5d473a;
}

.page-guide .style-6 .audio-title {
  background-color: #000;
}

@media (min-width: 768px) {
  .page-home .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .page-home .label {
    font-size: 24px;
  }

  .page-info .info-container {
    font-size: 1rem;
  }

  .page-info .info-container h2 {
    font-size: 1.5rem;
  }

  .page-guide .audio-title {
    font-size: 20px;
  }

  .page-guide .title-text {
    font-size: 18px;
  }

  .page-guide .static-box p {
    font-size: 24px;
  }
}
