.bed-single-section {
  max-width: 1040px;
  margin: 0 auto 40px;
  padding-inline: var(--space);
}
.bed-single-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 18px;
  margin-bottom: 12px;
}
.bed-single-section h2 { font-size: clamp(1.25rem,2.2vw,1.75rem); line-height: 1.25; font-weight: 400; }
.bed-single-heading a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: .88rem;
  text-underline-offset: 4px;
  text-decoration: underline;
}
.bed-single-cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(10px,2.5vw,28px);
}
.bed-single-card a {
  display: block;
  height: 100%;
  border: 1px solid #e5e0d9;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}
.bed-single-card a:hover { border-color: #84796d; }
.bed-single-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
}
.bed-single-image img {
  position: absolute;
  left: var(--bed-photo-left);
  top: var(--bed-photo-top);
  width: var(--bed-photo-width);
  max-width: none;
  height: auto;
  aspect-ratio: auto var(--bed-photo-ratio);
  clip-path: var(--bed-photo-outline);
}
.bed-single-image--reference > img {
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}
.bed-single-card:has(.bed-single-image--reference) a { border-color: #e5e5e5; }
.bed-single-card:has(.bed-single-image--reference) a:hover { border-color: #555; }
.bed-single-card:has(.bed-single-image--reference) p { color: #595959; }
.bed-single-card-copy { padding: 10px 12px 13px; }
.bed-single-card h3 { font-size: clamp(.95rem,2vw,1.32rem); font-weight: 500; line-height: 1.25; margin: 0; }
.bed-single-card p { margin: 5px 0 0; color: #605950; font-size: clamp(.73rem,1.3vw,.86rem); line-height: 1.3; }
.bed-single-formats > p { margin: 8px 0 15px; color: #605950; font-size: .9rem; }
.bed-single-format-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 25px;
  padding: 0;
  margin: 0;
}
.bed-single-format-list li {
  border-block-start: 1px solid #e5e0d9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 4px 0;
}
.bed-single-format-list li > span { font-size: .95rem; font-weight: 500; }
.bed-single-format-list li div { display: flex; flex-wrap: wrap; gap: 5px; }
.bed-single-format-list a {
  display: inline-flex;
  align-items: center;
  padding-inline: 8px;
  min-height: 44px;
  font-size: .8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.bed-single-section a:focus-visible { outline: 2px solid #333; outline-offset: 3px; }
@media (max-width: 700px) {
  .bed-single-section { padding-inline: 24px; margin-bottom: 26px; }
  .bed-single-heading { margin-bottom: 6px; }
  .bed-single-card-copy { padding: 8px 8px 10px; }
  .bed-single-format-list { grid-template-columns: 1fr; }
}
