/* v119 — presentation only: existing four-slot prize layout and supplied photos. */

/* Reserve a separate area for each photo and caption. Complete images, without
   stretching or crop, also when the catalogue rotates between aspect ratios. */
.home-page #universo .category-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 22px;
}
.home-page #universo .category-card > .category-number {
  position: static;
  grid-row: 1;
  grid-column: 1;
}
.home-page #universo .category-card > img.provided-art {
  position: static;
  inset: auto;
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  transform: none;
}
.home-page #universo .category-card > .category-copy {
  position: static;
  inset: auto;
  grid-column: 1;
  grid-row: 3;
  width: auto;
  min-width: 0;
  max-width: none;
  gap: 10px;
}
.home-page #universo .category-copy > div { min-width: 0; }
.home-page #universo .category-copy h3 {
  max-width: none;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}
.home-page #universo .category-copy p { margin-top: 6px; }
.home-page #universo .category-copy .round-link { flex: 0 0 auto; }
/* The fourth, wide tile keeps its original photo-on-the-right composition. */
.home-page #universo .category-light {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px 20px;
}
.home-page #universo .category-light > img.provided-art { grid-column: 2; grid-row: 1 / 3; }
.home-page #universo .category-light > .category-copy { grid-row: 2; align-self: end; }
@media (max-width: 760px) {
  .home-page #universo .category-card { padding: 16px; gap: 10px; }
  .home-page #universo .category-card:not(.category-large) .category-copy h3 { font-size: 16px; }
  .home-page #universo .category-large {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px;
  }
  .home-page #universo .category-large > img.provided-art { grid-column: 2; grid-row: 1 / 3; }
  .home-page #universo .category-large > .category-copy { grid-row: 2; align-self: end; }
  .home-page #universo .category-copy .round-link { display: none; }
}
@media (max-width: 400px) {
  .home-page #universo .category-card { padding: 12px; gap: 8px; }
  .home-page #universo .category-card:not(.category-large) .category-copy h3 { font-size: 14px; }
}

.studio-page .studio-landscape { height: auto; background: #17120f; border-radius: 28px; }
.studio-page .studio-landscape::after { display: none; }
.studio-page .studio-landscape > img.provided-art {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}
.studio-page .landscape-label {
  position: static;
  padding: 18px 24px;
  flex-wrap: wrap;
  color: #f1e9dd;
  line-height: 1.6;
}
.studio-page .studio-visit-copy {
  max-width: 760px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.9;
  color: var(--stone);
}
@media (max-width: 760px) {
  .studio-page .studio-landscape { border-radius: 18px; }
  .studio-page .landscape-label { padding: 14px 16px; gap: 8px; font-size: 9px; }
}

.profile-page .profile-logout .button {
  background: #b4232c;
  border-color: #b4232c;
  color: #fff;
}
.profile-page .profile-logout .button:hover { background: #921c24; border-color: #921c24; color: #fff; }
.profile-page .profile-logout .button:focus-visible { outline: 3px solid #b4232c; outline-offset: 3px; }
