/* ARTPEOPLE card preview plugin: styles scoped to this component. */
.apcf-card-previews { box-sizing: border-box; width: 100%; max-width: 900px; margin: 26px auto 30px; color: #27312d; font: inherit; }
.apcf-card-previews *, .apcf-card-previews *::before, .apcf-card-previews *::after { box-sizing: border-box; }
.apcf-card-previews__heading { text-align: center; margin: 0 auto 20px; max-width: 680px; }
.apcf-card-previews__eyebrow { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: #786d60; font-weight: 750; display: block; margin-bottom: 7px; }
.apcf-card-previews__heading h3 { font-size: clamp(21px, 3vw, 28px); line-height: 1.2; font-weight: 700; color: #29332e; margin: 0 0 8px; padding: 0; }
.apcf-card-previews__heading p { font-size: 15px; line-height: 1.6; margin: 0; color: #525c55; }
.apcf-card-previews__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.apcf-card-previews__choice { -webkit-appearance: none; appearance: none; text-transform: none; box-shadow: none; width: 100%; min-width: 0; padding: 16px; display: flex; align-items: center; gap: 16px; background: #fcfaf6; border: 1px solid #ddd9d0; border-radius: 14px; color: #24352f; font: inherit; line-height: 1.4; cursor: pointer; text-align: left; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.apcf-card-previews__choice:hover { background: #f3f4ed; border-color: #9cae99; transform: translateY(-1px); color: #24352f; }
.apcf-card-previews__choice:focus-visible { outline: 3px solid #237b64; outline-offset: 3px; }
.apcf-card-previews__choice-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.apcf-card-previews__choice-body strong { font-size: 17px; font-weight: 750; color: #27362f; }
.apcf-card-previews__choice-body > span { font-size: 13px; margin-top: 2px; color: #5b6b61; }
.apcf-card-previews__choice-body em { font-size: 13px; font-style: normal; font-weight: 750; color: #27745e; margin-top: 9px; }
.apcf-card-previews__choice-body em span { margin-left: 4px; }
.apcf-card-previews__art { flex: 0 0 102px; height: 100px; border-radius: 11px; background: #ede8dd; display: flex; align-items: center; justify-content: center; }
.apcf-card-previews__art-inner { width: 53px; height: 77px; border: 3px solid #fff; box-shadow: 0 2px 7px #0002; background: #d6aa8b; display: block; position: relative; overflow: hidden; }
.apcf-card-previews__art--landscape .apcf-card-previews__art-inner { width: 79px; height: 52px; background: #84a29b; }
.apcf-card-previews__art-inner > span:first-child { display: block; background: #edcf79; border-radius: 50%; width: 29px; height: 29px; position: absolute; top: 12%; left: 15%; }
.apcf-card-previews__art-inner > span:last-child { display: block; background: #6c968e; width: 110%; height: 55%; position: absolute; left: -8%; bottom: -15%; border-radius: 45% 50% 0 0; transform: rotate(-14deg); }
.apcf-card-previews__art--landscape .apcf-card-previews__art-inner > span:last-child { background: #bd7958; height: 43%; }
.apcf-card-previews__hint { margin: 12px auto 0; text-align: center; color: #59635d; line-height: 1.5; font-size: 13px; }
.apcf-card-previews__dialog { padding: 0 !important; inset: 0; margin: auto; width: min(1040px, 94vw); max-width: 1040px; height: min(880px, 91vh); height: min(880px, 91dvh); max-height: 91vh; max-height: 91dvh; position: fixed; border: 0 !important; border-radius: 16px !important; overflow: hidden !important; box-shadow: 0 24px 80px #0005; background: #fff; color: #27312d; }
.apcf-card-previews__dialog::backdrop { background: rgba(15, 20, 20, .77); backdrop-filter: blur(3px); }
.apcf-card-previews__dialog[open] { display: block; }
.apcf-card-previews__modal { display: flex; flex-direction: column; height: 100%; width: 100%; }
.apcf-card-previews__modal-header { flex: 0 0 auto; padding: 14px 19px; background: #fff; border-bottom: 1px solid #e9e7e0; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.apcf-card-previews__modal-header > div { min-width: 0; display: flex; flex-direction: column; }
.apcf-card-previews__modal-header strong { font-size: 17px; color: #263c31; font-weight: 750; }
.apcf-card-previews__modal-header span { font-size: 12px; color: #657067; }
.apcf-card-previews__close { -webkit-appearance: none; appearance: none; border: 1px solid #cfd5ce !important; border-radius: 9px !important; padding: 7px 11px !important; margin: 0; flex: 0 0 auto; background: #f1f5f0 !important; color: #2f4839 !important; font-size: 22px !important; font-weight: 600; cursor: pointer; line-height: 1 !important; box-shadow: none !important; text-transform: none !important; }
.apcf-card-previews__close:hover { background: #e5eee5 !important; }
.apcf-card-previews__close:focus-visible { outline: 3px solid #237b64; outline-offset: 2px; }
.apcf-card-previews__close-label { font-size: 13px !important; font-weight: 700; color: inherit !important; }
.apcf-card-previews__frame-wrap { position: relative; flex: 1 1 auto; min-height: 0; background: #f6f4ef; }
.apcf-card-previews__frame-wrap iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
.apcf-card-previews__loading { display: none; position: absolute; inset: 0; z-index: 1; align-items: center; justify-content: center; padding: 24px; font-size: 15px; color: #637066; background: #faf9f6; pointer-events: none; }
.apcf-card-previews__dialog.apcf-is-loading .apcf-card-previews__loading { display: flex; }
/* Native dialog fallback: overlay, never a new browser tab. */
.apcf-card-previews__dialog.apcf-dialog-fallback[open] { z-index: 2147483646; }
.apcf-card-previews__dialog.apcf-dialog-fallback[open]::before { content: ''; position: fixed; inset: 0; background: rgba(15,20,20,.77); z-index: -1; }
html.apcf-scroll-locked, html.apcf-scroll-locked body { overflow: hidden !important; }
@media (max-width: 640px) {
  .apcf-card-previews { margin: 20px auto 26px; }
  .apcf-card-previews__grid { gap: 9px; }
  .apcf-card-previews__choice { padding: 12px 8px; gap: 9px; flex-direction: column; text-align: center; align-items: center; }
  .apcf-card-previews__choice-body { align-items: center; }
  .apcf-card-previews__choice-body strong { font-size: 15px; }
  .apcf-card-previews__choice-body > span, .apcf-card-previews__choice-body em { font-size: 12px; }
  .apcf-card-previews__art { width: 100%; flex: none; height: 88px; }
  .apcf-card-previews__art-inner { width: 44px; height: 69px; }
  .apcf-card-previews__art--landscape .apcf-card-previews__art-inner { width: 74px; height: 48px; }
  .apcf-card-previews__dialog { width: 98vw; height: 94vh; height: 94dvh; max-height: 94vh; max-height: 94dvh; border-radius: 11px !important; }
  .apcf-card-previews__modal-header { padding: 11px 13px; }
  .apcf-card-previews__modal-header strong { font-size: 15px; }
  .apcf-card-previews__modal-header span { font-size: 11px; }
  .apcf-card-previews__close { font-size: 21px !important; padding: 8px 10px !important; }
  .apcf-card-previews__close-label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .apcf-card-previews__choice { transition: none; } }

/* Version 1.1: gallery-like, minimal cards, resistant to theme button styles */
.apcf-card-previews { max-width: 760px; }
.apcf-card-previews__grid { gap: 12px; }
.apcf-card-previews button.apcf-card-previews__choice {
  display: flex !important; flex-direction: row !important; justify-content: space-between !important;
  align-items: center !important; width: 100% !important; min-height: 75px !important;
  padding: 18px 20px !important; margin: 0 !important;
  background: #ffffff !important; background-image: none !important;
  border: 1px solid #dedede !important; border-radius: 7px !important;
  color: #292929 !important; text-align: left !important;
  box-shadow: none !important; font-family: inherit !important;
  font-size: 15px !important; font-weight: normal !important; letter-spacing: normal !important;
  text-transform: none !important; line-height: 1.45 !important;
}
.apcf-card-previews button.apcf-card-previews__choice:hover,
.apcf-card-previews button.apcf-card-previews__choice:focus-visible { background: #f8f8f8 !important; border-color: #888 !important; transform: none !important; }
.apcf-card-previews__art { display: none !important; }
.apcf-card-previews__choice-body { flex: 1; align-items: flex-start !important; }
.apcf-card-previews__choice-body strong { color: #292929 !important; font-size: 16px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: normal !important; }
.apcf-card-previews__choice-body > span { color: #666 !important; font-size: 13px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: normal !important; }
.apcf-card-previews__choice-body em { color: #555 !important; font-size: 12px !important; font-weight: 500 !important; margin-top: 6px !important; text-transform: none !important; letter-spacing: normal !important; }
.apcf-card-previews__heading h3 { font-size: 22px; }
@media (max-width:640px) {
  .apcf-card-previews__grid { grid-template-columns: 1fr !important; }
  .apcf-card-previews button.apcf-card-previews__choice { padding: 14px 16px !important; min-height: 65px !important; }
  .apcf-card-previews__choice-body { align-items: flex-start !important; }
}
