.alpaca-profile-section {
  padding: 0;
}

.alpaca-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  align-items: start;
  width: min(100%, var(--box-max));
  margin: 0 auto;
}

.alpaca-gallery-card,
.alpaca-passport-card {
  margin: 0;
}

.alpaca-gallery-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.alpaca-gallery-card::before,
.alpaca-gallery-card::after {
  display: none;
}

.alpaca-profile-main {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  font: inherit;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

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

.alpaca-profile-main .room-image-badge.alpaca-gallery-badge {
  top: 0;
  right: 0;
  width: auto;
  height: 4.5rem;
  padding: 0 0.875rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  pointer-events: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.alpaca-gallery-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: var(--text-size-2);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.alpaca-profile-main .room-image-badge.alpaca-gallery-badge .room-image-badge-icon {
  width: 1.75rem;
  height: 1.75rem;
  stroke: currentColor;
}

.alpaca-profile-main:hover .room-image-badge.alpaca-gallery-badge,
.alpaca-profile-main:focus-visible .room-image-badge.alpaca-gallery-badge {
  background: #fff;
  color: var(--accent);
}

.alpaca-profile-main:hover .room-image-badge.alpaca-gallery-badge .room-image-badge-icon,
.alpaca-profile-main:focus-visible .room-image-badge.alpaca-gallery-badge .room-image-badge-icon {
  stroke: currentColor;
}

.alpaca-profile-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5% 0;
  box-sizing: border-box;
  cursor: default;
  overflow: hidden;
}

.alpaca-profile-placeholder::before {
  content: "";
  position: absolute;
  inset: -6px;
  background-image: url("/wp-content/uploads/2026/03/charmeur-lindetrack-charmeur-960x540.webp");
  background-size: cover;
  background-position: center;
  filter: blur(4px);}

.alpaca-profile-placeholder-icon {
  position: relative;
  z-index: 1;
  width: min(26%, 7.5rem);
  height: auto;
  color: var(--white);
  fill: currentColor;
}

.alpaca-profile-hidden {
  display: none;
}

.alpaca-gallery-alt-index {
  position: absolute;
  inset: auto;
  width: 100%;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.alpaca-gallery-alt-index p {
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.alpaca-passport-card {
  align-self: stretch;
}

.alpaca-passport-card strong,
.alpaca-passport-extra strong {
  color: var(--accent);
}

.alpaca-passport-extra {
  margin-top: 1.25rem;
}

.alpaca-passport-extra p:last-child {
  margin-bottom: 0;
}

.alpaca-detail-page .content-panel h3 {
  font-size: 1.4rem !important;
  line-height: 1.3;
  font-weight: 600;
}

@media (max-width: 61.25rem) {
  .alpaca-profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 61.3125rem) {
  .alpaca-profile-grid {
    align-items: stretch;
  }

  .alpaca-gallery-card,
  .alpaca-passport-card {
    height: 100%;
  }

  .alpaca-profile-main {
    height: 100%;
    aspect-ratio: auto;
  }
}
