/* Information tab — reuses mockup.css tokens (--bg, --text, --heading,
   --card, --border, --button, --font) so this reads as one prototype. */

.info-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(16px, 2.5vw, 28px);
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.info-section__title {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.info-section__note {
  color: var(--button-hover);
  font-size: .95rem;
  margin: 0 0 16px;
}

.info-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-links li a {
  color: #3d6d92;
  text-decoration: underline;
  word-break: break-word;
}
.info-links li a:hover { color: #2a4e6b; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.info-tile {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--inner-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.info-tile__thumb-btn {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #efe9e2;
}
.info-tile__thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.info-tile__thumb-btn:focus-visible {
  outline: 2px solid var(--button-hover);
  outline-offset: -2px;
}

.info-tile__placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #efe9e2, #efe9e2 10px, #e5ddd2 10px, #e5ddd2 20px);
  color: var(--button-hover);
  font-size: 2rem;
}

.info-tile__body {
  padding: 10px 12px 12px;
}
.info-tile__label {
  font-weight: 600;
  font-size: .95rem;
  color: var(--heading);
  margin: 0 0 4px;
}
.info-tile__meta {
  font-size: .82rem;
  color: var(--button-hover);
  margin: 0;
  line-height: 1.4;
}
.info-tile__link {
  display: inline-block;
  margin-top: 8px;
  font-size: .85rem;
  color: #3d6d92;
  text-decoration: underline;
}

.info-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 24px;
}
.info-lightbox[hidden] { display: none; }
.info-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.info-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.info-lightbox__close:focus-visible { outline: 2px solid #fff; }

@media print {
  .info-lightbox { display: none !important; }
}
