.ps-visual-placement {
  width: 100%;
  max-width: 690px;
  margin: 1.35rem auto;
  container-type: inline-size;
}
.ps-visual-placement .ps-photo-card {
  --card-bg: #fff2e3;
  --card-ink: #14344e;
  --card-detail: #33495a;
  --card-accent: #93390f;
  --button-bg: #a54011;
  --button-ink: #fff;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid #dcbea8;
  border-radius: 13px;
  background: var(--card-bg);
  box-shadow: 0 5px 16px rgb(18 50 73 / 10%);
}
.ps-visual-placement .ps-photo-blue {
  --card-bg: #133957;
  --card-ink: #fff;
  --card-detail: #edf6fc;
  --card-accent: #ffd2a3;
  --button-bg: #ffbf80;
  --button-ink: #193447;
  border-color: #174160;
}
.ps-photo-card > .ps-photo-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: .15;
  pointer-events: none;
}
.ps-photo-card .ps-photo-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 48%;
}
.ps-photo-card > .ps-photo-subject {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.ps-photo-card .ps-photo-subject img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
}
.ps-photo-warm > .ps-photo-subject {
  margin: 14px 0 14px 14px;
  background: #fff;
  border: 1px solid #e7d6c8;
  border-radius: 8px;
}
.ps-photo-warm .ps-photo-subject img {object-fit: contain}
.ps-photo-card > .ps-photo-copy {
  grid-column: 2;
  grid-row: 1;
  position: static;
  align-self: center;
  padding: clamp(17px, 4cqi, 27px);
  margin: 0;
}
.ps-photo-card .ps-photo-copy > * {margin: 0}
.ps-photo-card .ps-photo-copy .ps-photo-kicker {
  color: var(--card-accent);
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.ps-photo-card .ps-photo-copy .ps-photo-title {
  margin: 7px 0;
  color: var(--card-ink);
  font-size: clamp(21px, 4.4cqi, 29px);
  font-weight: 720;
  line-height: 1.12;
  text-wrap: balance;
}
.ps-photo-card .ps-photo-copy .ps-photo-description {
  color: var(--card-detail);
  font-size: 15px;
  line-height: 1.45;
}
.ps-photo-card .ps-photo-copy .wp-block-buttons {
  position: static;
  margin: 13px 0 0;
}
.ps-photo-card .wp-block-buttons .wp-block-button,
.ps-photo-card .wp-block-button .wp-block-button__link {
  position: static;
  transform: none;
}
.ps-photo-card .wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  box-sizing: border-box;
  border: 0;
  border-radius: 6px;
  padding: 9px 15px;
  background: var(--button-bg);
  color: var(--button-ink);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  text-decoration: none;
}
.ps-photo-card .wp-block-button__link::before {content: "→"; order: 1}
.entry-content .ps-photo-card .wp-block-button__link::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}
.entry-content .ps-photo-card .wp-block-button__link[href]::after {
  pointer-events: auto;
  cursor: pointer;
}
.ps-photo-card:focus-within {outline: 3px solid #3480aa; outline-offset: 3px}
.ps-visual-placement .ps-photo-credit {
  margin: 5px 2px 0;
  color: #526575;
  font-size: 11px;
  line-height: 1.4;
}
.ps-photo-credit a {color: inherit; text-decoration: underline}
@container (max-width: 475px) {
  .ps-visual-placement .ps-photo-card {grid-template-columns: minmax(0, 1fr)}
  .ps-photo-card > .ps-photo-subject {grid-column: 1; grid-row: 1; height: clamp(115px, 48cqi, 190px)}
  .ps-photo-warm > .ps-photo-subject {margin: 11px 11px 0}
  .ps-photo-card > .ps-photo-copy {grid-column: 1; grid-row: 2; padding: 16px}
  .ps-photo-blue .ps-photo-subject img {object-position: 50% 46%}
}
