/* Shared artwork layout. The square stage keeps both arrows stationary
   while object-fit preserves each painting's original proportions. */
.artwork-page {
  box-sizing: border-box;
  width: 1092px;
  max-width: 100%;
  padding: 6px;
  border: 1px solid #808080;
  background: #080808;
  color: white;
  font-family: "BankGothic Lt BT", "Times New Roman", serif;
}

.artwork-stage {
  display: grid;
  grid-template-columns: minmax(0, 137fr) minmax(0, 800fr) minmax(0, 137fr);
  column-gap: 2px;
  align-items: center;
}

.artwork-image {
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  display: grid;
  place-items: center;
}

.artwork-image > img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.artwork-nav {
  display: block;
  width: 100%;
  aspect-ratio: 137 / 205;
  overflow: hidden;
}

.artwork-nav img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  /* The visible arrow occupies rows 70–274 of the 500px PNG. */
  transform: translateY(-14%);
}

.artwork-nav:focus-visible,
.gallery-return:focus-visible {
  outline: 3px solid white;
  outline-offset: -3px;
}

.artwork-details {
  text-align: center;
  padding: 16px 0 4px;
  font-size: 16px;
}

.artwork-title {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #0000ff;
}

.artwork-title > span {
  color: white;
  font-weight: normal;
}

.artwork-metadata {
  margin: 16px 0;
  background: #060706;
  line-height: normal;
}

.gallery-return {
  color: #ccc;
  font-size: 1.2em;
  font-weight: bold;
  font-style: italic;
}

/* Preserved formatting for the existing home, gallery, profile, and information pages. */
.legacy-style-1 { text-align: left; width: 800px; border: 1px outset rgb(0, 0, 0); border-spacing: 2px; }
.legacy-style-2 { background-color: rgb(192, 192, 192); padding: 2px; border: 1px inset rgb(0, 0, 0); }
.legacy-style-3 { text-align: left; width: 867px; border: 0px rgb(0, 0, 0); border-spacing: 0px; }
.legacy-style-4 { width: 563px; padding: 0px; border: 0px rgb(0, 0, 0); }
.legacy-style-5 { font-family: "Arial","sans-serif"; }
.legacy-style-6 { color: rgb(102, 102, 102); }
.legacy-style-7 { text-align: center; vertical-align: middle; width: 300px; padding: 0px; border: 0px rgb(0, 0, 0); }
.legacy-style-8 { border: 0px solid ; width: 200px; height: 143px; }
.legacy-style-9 { text-align: left; width: 100%; }
.legacy-style-10 { padding: 2px; }
.legacy-style-11 { width: 800px; height: 104px; }
.legacy-style-12 { text-align: left; width: 100%; border: 0px rgb(0, 0, 0); border-spacing: 25px; }
.legacy-style-13 { width: 181px; text-align: center; padding: 2px; border: 0px rgb(0, 0, 0); }
.legacy-style-14 { text-align: left; width: 100%; border: 0px rgb(0, 0, 0); border-spacing: 0px; }
.legacy-style-15 { padding: 0px; border: 0px rgb(0, 0, 0); }
.legacy-style-16 { border: 0px solid ; width: 200px; height: 142px; }
.legacy-style-17 { border: 0px solid ; width: 200px; height: 167px; }
.legacy-style-18 { border: 0px solid ; width: 200px; height: 145px; }
.legacy-style-19 { width: 617px; text-align: left; vertical-align: top; padding: 2px; border: 0px rgb(0, 0, 0); }
.legacy-style-20 { text-align: center; }
.legacy-style-21 { font-size: 19.2px; }
.legacy-style-22 { font-size: 23.04px; }
.legacy-style-23 { font-weight: bold; }
.legacy-style-24 { text-align: center; font-weight: bold; }
.legacy-style-25 { width: 181px; padding: 2px; border: 0px rgb(0, 0, 0); }
.legacy-style-26 { width: 617px; text-align: center; padding: 2px; border: 0px rgb(0, 0, 0); }
.legacy-style-27 { text-align: left; width: 100%; height: 100%; border: 0px rgb(0, 0, 0); border-spacing: 2px; }
.legacy-style-28 { background-color: rgb(192, 192, 192); height: 100%; width: 100%; padding: 2px; border: 0px rgb(0, 0, 0); }
.legacy-style-29 { border: 0px solid ; width: 150px; height: 107px; }
.legacy-style-30 { border: 0px solid ; width: 150px; height: 125px; }
.legacy-style-31 { border: 0px solid ; width: 150px; height: 109px; }
.legacy-style-32 { text-align: left; width: 573px; height: 119px; border: 0px rgb(0, 0, 0); border-spacing: 2px; }
.legacy-style-33 { text-align: center; padding: 2px; border: 0px rgb(0, 0, 0); }
.legacy-style-34 { text-align: left; width: 100%; border: 0px rgb(0, 0, 0); border-spacing: 2px; }
.legacy-style-35 { text-align: left; width: 755px; height: 4733px; border: 0px rgb(0, 0, 0); border-spacing: 0px; }
.legacy-style-36 { color: rgb(0, 0, 102); font-family: Papyrus; text-align: -webkit-center; }
.legacy-style-37 { padding: 0px; border: 0px rgb(0, 0, 102); }
.legacy-style-38 { text-align: center; padding: 0px; border: 0px rgb(0, 0, 0); }
.legacy-style-39 { border: 0px solid ; width: 165px; height: 200px; }
.legacy-style-40 { border: 0px solid ; width: 145px; height: 200px; }
.legacy-style-41 { border: 0px solid ; width: 250px; height: 111px; }
.legacy-style-42 { border: 0px solid ; width: 234px; height: 200px; }
.legacy-style-43 { border: 0px solid ; width: 160px; height: 240px; }
.legacy-style-44 { border: 0px solid ; width: 200px; height: 200px; }
.legacy-style-46 { font-size: 27.648px; }
.legacy-style-47 { color: blue; font-weight: bold; }
.legacy-style-48 { border: 0px solid ; width: 200px; height: 133px; }
.legacy-style-49 { border: 0px solid ; width: 122px; height: 200px; }
.legacy-style-50 { border: 0px solid ; width: 180px; height: 200px; }
.legacy-style-51 { width: 151px; height: 200px; }
.legacy-style-52 { font-size: 13.3333px; }
.legacy-style-53 { font-size: 16px; }
.legacy-style-54 { width: 166px; height: 200px; }
.legacy-style-55 { border: 0px solid ; width: 200px; height: 212px; }
.legacy-style-56 { border: 0px solid ; width: 200px; height: 114px; }
.legacy-style-57 { border: 0px solid ; width: 200px; height: 150px; }
.legacy-style-58 { border: 0px solid ; width: 190px; height: 192px; }
.legacy-style-59 { border: 0px solid ; width: 174px; height: 200px; }
.legacy-style-60 { border: 0px solid ; width: 168px; height: 200px; }
.legacy-style-61 { border: 0px solid ; width: 200px; height: 201px; }
.legacy-style-62 { text-decoration: underline; }
.legacy-style-63 { border: 0px solid ; width: 230px; height: 139px; }
.legacy-style-64 { border: 0px solid ; width: 150px; height: 200px; }
.legacy-style-65 { border: 0px solid ; width: 229px; height: 150px; }
.legacy-style-66 { border: 0px solid ; width: 200px; height: 162px; }
.legacy-style-67 { border: 0px solid ; width: 200px; height: 333px; }
.legacy-style-68 { border: 0px solid; width: 268px; height: 100px; margin-left: 5px; margin-right: 5px; }
.legacy-style-69 { width: 200px; height: 200px; }
.legacy-style-70 { border: 0px solid ; width: 200px; height: 176px; }
.legacy-style-71 { border: 0px solid; width: 200px; height: 150px; margin-left: 15px; margin-right: 15px; }
.legacy-style-72 { border: 0px solid ; width: 129px; height: 200px; }
.legacy-style-73 { border: 0px solid ; width: 200px; height: 131px; }
.legacy-style-74 { border: 0px solid; width: 200px; height: 192px; margin-left: 5px; margin-right: 5px; }
.legacy-style-75 { border: 0px solid; width: 200px; height: 200px; margin-left: 5px; margin-right: 5px; }
.legacy-style-76 { border: 0px solid ; width: 200px; height: 148px; }
.legacy-style-77 { border: 0px solid ; width: 108px; height: 200px; }
.legacy-style-78 { border: 0px solid ; width: 200px; height: 178px; }
.legacy-style-79 { border: 0px solid ; width: 200px; height: 179px; }
.legacy-style-80 { border: 0px solid ; width: 200px; height: 265px; }
.legacy-style-81 { border: 0px solid; width: 200px; height: 127px; margin-left: 5px; margin-right: 5px; }
.legacy-style-82 { border: 0px solid ; width: 200px; height: 128px; }
.legacy-style-83 { border: 0px solid ; width: 200px; height: 132px; }
.legacy-style-84 { border: 0px solid ; width: 132px; height: 200px; }
.legacy-style-85 { border: 0px solid ; width: 133px; height: 200px; }
.legacy-style-86 { border: 0px solid ; width: 200px; height: 152px; }
.legacy-style-87 { border: 0px solid ; width: 200px; height: 199px; }
.legacy-style-88 { border: 0px solid ; width: 200px; height: 156px; }
.legacy-style-89 { border: 0px solid ; width: 199px; height: 200px; }
.legacy-style-90 { text-align: -webkit-center; }
.legacy-style-92 { border: 0px solid ; width: 200px; height: 86px; }
.legacy-style-93 { border: 0px solid ; width: 88px; height: 200px; }
.legacy-style-94 { border: 0px solid ; width: 200px; height: 118px; }
.legacy-style-95 { border: 0px solid ; width: 74px; height: 200px; }
.legacy-style-96 { border: 0px solid ; width: 200px; height: 198px; }
.legacy-style-97 { border: 0px solid ; width: 200px; height: 130px; }
.legacy-style-98 { border: 0px solid ; width: 200px; height: 74px; }
.legacy-style-99 { border: 0px solid ; width: 200px; height: 123px; }
.legacy-style-100 { border: 0px solid ; width: 125px; height: 180px; }
.legacy-style-101 { border: 0px solid ; width: 200px; height: 159px; }
.legacy-style-102 { border: 0px solid ; width: 97px; height: 160px; }
.legacy-style-103 { border: 0px solid ; width: 200px; height: 127px; }
.legacy-style-104 { border: 0px solid ; width: 200px; height: 124px; }
.legacy-style-105 { border: 0px solid ; width: 177px; height: 157px; }
.legacy-style-106 { border: 0px solid ; width: 200px; height: 93px; }
.legacy-style-107 { color: rgb(51, 51, 255); }
.legacy-style-109 { border: 0px solid ; width: 200px; height: 136px; }
.legacy-style-111 { border: 0px solid ; width: 200px; height: 75px; }
.legacy-style-112 { padding: 2px; border: 0px rgb(0, 0, 0); }
.legacy-style-113 { text-align: right; }
.legacy-style-114 { width: 200px; height: 143px; }
.legacy-style-115 { text-align: left; width: 980px; height: 1739px; border: 0px rgb(0, 0, 0); border-spacing: 2px; }
.legacy-style-116 { text-align: center; height: 50px; padding: 2px; border: 0px rgb(0, 0, 0); }
.legacy-style-117 { color: rgb(0, 0, 195); font-size: 19.2px; }
.legacy-style-118 { font-family: Papyrus; font-weight: bold; }
.legacy-style-119 { border: 0px rgb(0, 0, 0); border-collapse: collapse; border-spacing: 0px; }
.legacy-style-120 { border: 1px solid rgb(0, 0, 0); padding: 0px 7.2px; width: 235.188px; vertical-align: top; }
.legacy-style-121 { font-size: 9pt; font-family: "Arial",sans-serif; }
.legacy-style-122 { color: red; }
.legacy-style-123 { padding: 0px 7.2px; width: 144px; vertical-align: top; }
.legacy-style-124 { padding: 0px 7.2px; width: 235.188px; vertical-align: top; }
.legacy-style-125 { font-size: 9pt; font-family: "Arial",sans-serif; color: red; }
.legacy-style-126 { height: 7.6pt; }
.legacy-style-127 { padding: 0px 7.2px; width: 235.188px; height: 7.6pt; vertical-align: top; }
.legacy-style-128 { padding: 0px 7.2px; width: 144px; height: 7.6pt; vertical-align: top; }
.legacy-style-129 { border: 1px solid rgb(0, 0, 0); padding: 0px 7.2px; width: 394.562px; vertical-align: top; }
.legacy-style-130 { font-size: 10pt; font-family: "Arial",sans-serif; }
.legacy-style-131 { padding: 0px 7.2px; width: 206.797px; vertical-align: top; }
.legacy-style-132 { padding: 0px 7.2px; width: 172.391px; vertical-align: top; }
.legacy-style-133 { text-align: left; width: 1002px; height: 1663px; border: 0px rgb(0, 0, 0); border-spacing: 2px; }
.legacy-style-134 { text-align: left; width: 831px; height: 1935px; border: 0px rgb(0, 0, 0); border-spacing: 2px; }
.legacy-style-135 { text-align: left; }
.legacy-style-136 { font-size: 12pt; line-height: 107%; font-family: "Arial",sans-serif; color: black; }
.legacy-style-137 { font-size: 12pt; line-height: 107%; font-family: "Arial",sans-serif; }
.legacy-style-138 { color: black; }
.legacy-style-139 { font-family: "Arial",sans-serif; }
.legacy-style-140 { border: 0px rgb(0, 0, 0); font-family: "Times New Roman"; letter-spacing: normal; orphans: 2; text-transform: none; widows: 2; word-spacing: 0px; border-collapse: collapse; width: 584px; height: 1268px; border-spacing: 0px; }
.legacy-style-141 { padding: 0px 7.2px; width: 554px; vertical-align: top; border: 0px rgb(0, 0, 0); }
.legacy-style-142 { text-align: left; width: 554px; }
.legacy-style-143 { font-size: 20pt; font-family: Arial,sans-serif; }
.legacy-style-144 { margin: 0in; line-height: normal; font-size: 11pt; font-family: Calibri,sans-serif; }
.legacy-style-145 { padding: 0px 7.2px; width: 154.797px; vertical-align: top; border: 0px rgb(0, 0, 0); }
.legacy-style-146 { margin-bottom: 0in; line-height: normal; }
.legacy-style-147 { font-size: 8pt; font-family: "Arial",sans-serif; }
.legacy-style-148 { padding: 0px 7.2px; width: 12.375px; vertical-align: top; border: 0px rgb(0, 0, 0); }
.legacy-style-149 { padding: 0px 7.2px; width: 343.703px; vertical-align: top; border: 0px rgb(0, 0, 0); }
.legacy-style-150 { margin: 0in 0in 0in 0.3in; text-indent: -0.25in; line-height: normal; }
.legacy-style-151 { font-family: "Times New Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; }
.legacy-style-152 { margin: 0in 0in 0in 0.3in; line-height: normal; }
.legacy-style-153 { font-size: 12pt; font-family: "Arial",sans-serif; }
.legacy-style-154 { padding: 0px 7.2px; width: 475.547px; vertical-align: top; border: 0px rgb(0, 0, 0); }
.legacy-style-155 { padding: 0px 7.2px; width: 64.0781px; vertical-align: top; border: 0px rgb(0, 0, 0); }
.legacy-style-156 { padding: 0px 7.2px; width: 1.25px; vertical-align: top; border: 0px rgb(0, 0, 0); }
.legacy-style-157 { margin: 0in 0in 8pt; line-height: 15.6933px; font-size: 11pt; font-family: Calibri,sans-serif; color: rgb(0, 0, 0); font-style: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; white-space: normal; }
.legacy-style-158 { font-size: 12pt; line-height: 17.12px; font-family: Arial,sans-serif; }
.legacy-style-159 { margin-left: 0.3in; text-indent: -0.25in; }
.legacy-style-160 { text-align: left; width: 857px; height: 727px; border: 0px rgb(0, 0, 0); border-spacing: 2px; }
.legacy-style-161 { text-align: left; width: 838px; height: 727px; border: 0px rgb(0, 0, 0); border-spacing: 2px; }
.legacy-style-162 { margin-left: 0.3in; }
.legacy-style-163 { font-size: 14pt; line-height: 107%; font-family: Papyrus; }
.legacy-style-164 { margin-top: 0in; list-style-type: circle; }
.legacy-style-165 { width: 617px; padding: 2px; border: 0px rgb(0, 0, 0); }

/* Preserve the original editor's spacing in HTML5 standards mode. */
html:has(.legacy-page) { height: 100%; }
.legacy-page { height: calc(100% - 16px); }
.legacy-page td img { vertical-align: bottom; }
.legacy-page td > p:first-child { margin-top: 0; }
.legacy-page td > p:last-child { margin-bottom: 0; }


/* Caption typography and row spacing retained from the original pages. */
.legacy-style-166 { height: 107px; }
.legacy-style-167 { font-size: inherit; }
.legacy-style-168 { height: 125px; }
.legacy-style-169 { height: 109px; }
.legacy-style-170 { font-family: Times; font-size: 16px; font-weight: 400; font-style: normal; color: rgb(0, 0, 0); line-height: normal; }
.legacy-style-171 { height: 30px; }
.legacy-style-172 { font-family: Papyrus; font-size: 19.2px; font-weight: 700; font-style: normal; color: rgb(0, 0, 102); line-height: normal; }
.legacy-style-173 { height: 200px; }
.legacy-style-174 { height: 15px; }
.legacy-style-175 { font-family: Times; font-size: 13.3333px; font-weight: 700; font-style: normal; color: rgb(0, 0, 238); line-height: normal; }
.legacy-style-176 { height: 240px; }
.legacy-style-177 { font-size: 11.1111px; }
.legacy-style-178 { font-family: Times; font-size: 11.1111px; font-weight: 700; font-style: normal; color: rgb(0, 0, 238); line-height: normal; }
.legacy-style-179 { font-family: Times; font-size: 11.1111px; font-weight: 700; font-style: normal; color: rgb(0, 0, 255); line-height: normal; }
.legacy-style-180 { height: 13px; }
.legacy-style-181 { font-size: 9.25926px; }
.legacy-style-182 { font-family: Times; font-size: 9.25926px; font-weight: 700; font-style: normal; color: rgb(0, 0, 255); line-height: normal; }
.legacy-style-183 { height: 213px; }
.legacy-style-184 { height: 225px; }
.legacy-style-185 { height: 216px; }
.legacy-style-186 { height: 214px; }
.legacy-style-187 { height: 346px; }
.legacy-style-188 { height: 222px; }
.legacy-style-189 { font-size: 9px; }
.legacy-style-190 { font-family: Times; font-size: 9px; font-weight: 700; font-style: normal; color: rgb(0, 0, 255); line-height: normal; }
.legacy-style-191 { font-size: 9.25924px; }
.legacy-style-192 { font-family: Times; font-size: 9.25924px; font-weight: 700; font-style: normal; color: rgb(0, 0, 255); line-height: normal; }
.legacy-style-193 { height: 278px; }
.legacy-style-194 { height: 96px; }
.legacy-style-195 { font-family: MingLiU; font-size: 27.648px; font-weight: 700; font-style: normal; color: rgb(0, 0, 0); line-height: normal; }
.legacy-style-196 { height: 144px; }
.legacy-style-197 { height: 196px; }
.legacy-style-198 { height: 188px; }
.legacy-style-199 { font-family: Times; font-size: 11.1111px; font-weight: 400; font-style: normal; color: rgb(0, 0, 0); line-height: normal; }
.legacy-style-200 { height: 157px; }
.legacy-style-201 { height: 26px; }
.legacy-style-202 { height: 173px; }
.legacy-style-203 { font-family: "BankGothic Lt BT"; font-size: 11.1111px; font-weight: 900; font-style: normal; color: rgb(0, 0, 255); line-height: normal; }
.legacy-style-204 { font-family: "BankGothic Lt BT"; font-size: 11.1111px; font-weight: 400; font-style: normal; color: rgb(0, 0, 238); line-height: normal; }
.legacy-style-205 { font-family: "BankGothic Lt BT"; font-size: 11.1111px; font-weight: 700; font-style: normal; color: rgb(0, 0, 255); line-height: normal; }
.legacy-style-206 { height: 199px; }
.legacy-style-207 { height: 4px; }
.legacy-style-208 { height: 228px; }
.legacy-style-209 { height: 50px; }
.legacy-style-210 { font-size: 12px; }
.legacy-style-211 { height: 384px; }
.legacy-style-212 { height: 16px; }
.legacy-style-213 { height: 1097px; }

/* Responsive main-page layout: each region has its own space. */
html { min-height: 100%; background: #c0c0c0; }
body { background: #c0c0c0; }
.site-main-page { margin: 0; min-height: 100vh; }
.site-shell {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 200px;
  grid-template-areas: "navigation content logo" ". footer .";
  gap: 48px 32px;
  align-items: start;
  width: calc(100% - 64px);
  max-width: 1800px;
  margin: 64px auto 32px;
}
.site-navigation { grid-area: navigation; width: 100%; }
.site-navigation a, .site-navigation img { display: block; }
.site-navigation img { width: 100%; height: auto; border: 0; }
.site-logo { grid-area: logo; display: block; width: 100%; }
.site-logo img { display: block; width: 100%; height: auto; border: 0; }
.site-content { grid-area: content; min-width: 0; overflow-wrap: anywhere; }
.site-content h1, .site-content h2 { font-family: Papyrus, serif; color: #0000c3; text-align: center; }
.site-content h1 { font-size: clamp(21px, 2vw, 28px); margin: 0 0 28px; }
.site-content h2 { font-size: 23px; margin: 36px 0 24px; }
.site-content h3 { font: bold 18px Arial, sans-serif; margin: 0 0 16px; }
.site-content p { font: 16px/1.5 Arial, sans-serif; margin: 0 0 1em; text-indent: 0; }
.site-content p span { font-size: inherit; line-height: inherit; }
.site-content img { max-width: 100%; }
.site-navigation a:focus-visible, .site-logo:focus-visible { outline: 3px solid #0000c3; outline-offset: 3px; }
.site-footer { grid-area: footer; min-width: 0; text-align: center; font-size: 14px; }
.site-footer > img { display: block; width: 100%; max-width: 800px; height: auto; margin: 0 auto 20px; }
.site-footer p { margin: 14px 0; }
.home-featured { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 24px 18px; height: clamp(340px,48vw,650px); }
.home-featured a { display: block; min-width: 0; min-height: 0; }
.home-featured .home-diamond { width: 100%; height: 100%; display: block; }
.home-featured img { width: 100%; height: 100%; object-fit: contain; }
.featured-1 { grid-column: 1; grid-row: 1; }
.featured-2 { grid-column: 2; grid-row: 1 / 3; }
.featured-3 { grid-column: 3; grid-row: 1; }
.featured-4 { grid-column: 1; grid-row: 2; }
.featured-5 { grid-column: 3; grid-row: 2; }
.artist-bio { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.artist-bio section { min-width: 0; }
.bio-column { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
@media (max-width: 1100px) {
  .site-shell { grid-template-columns: 110px minmax(0,1fr) 140px; gap: 32px 24px; width: calc(100% - 40px); margin-top: 40px; }
}
@media (max-width: 760px) {
  .site-shell { grid-template-columns: minmax(0,1fr) 100px; grid-template-areas: "navigation logo" "content content" "footer footer"; gap: 28px 20px; width: calc(100% - 32px); margin-top: 24px; }
  .site-navigation { display: flex; align-items: flex-start; max-width: 340px; }
  .site-navigation a { flex: 1; min-width: 0; }
  .site-content h1 { margin-bottom: 20px; }
  .home-featured { height: clamp(300px,75vw,480px); gap: 14px 10px; }
  .artist-bio { grid-template-columns: 1fr; gap: 24px; }
}

/* Managed catalog styles */
.artwork-nav-slot { position: relative; min-width: 0; }
.artwork-section-cue { position: absolute; top: calc(100% + 6px); left: 0; right: 0; color: white; text-align: center; font: 600 clamp(9px,1vw,13px)/1.3 Arial,sans-serif; overflow-wrap: anywhere; }
.managed-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); gap: 30px 22px; }
.managed-gallery figure { min-width: 0; margin: 0; text-align: center; }
.managed-gallery .thumbnail-link { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; }
.managed-gallery img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; border: 0; object-fit: contain; }
.managed-gallery figcaption { padding-top: 10px; font: 14px/1.35 Arial, sans-serif; }
.managed-prices { width: 100%; table-layout: fixed; border-collapse: collapse; font: 14px/1.4 Arial, sans-serif; }
.managed-prices caption { text-align: left; font-weight: bold; padding: 0 0 14px; }
.managed-prices td, .managed-prices th { padding: 8px; text-align: left; border-bottom: 1px solid #aaa; overflow-wrap: anywhere; }
.managed-prices th:first-child { width: 48%; }
.managed-prices th:nth-child(2) { width: 26%; }
.managed-prices td:last-child, .managed-prices th:last-child { text-align: right; }
.managed-price-notes { margin-top: 26px; }
.site-content .managed-price-notes p { font-size: 14px; }
@media(max-width: 500px) { .managed-gallery { gap: 22px 16px; } .managed-prices { font-size: 12px; } .managed-prices td, .managed-prices th { padding: 7px 4px; } }

.site-content > .previous-heading:first-child { margin-top: 0; }
