.viewer-caption{width:min(1180px,100%);gap:30px;align-items:center;padding:23px 0 2px;margin-top:20px;border-top:1px solid #a58b5570;position:relative}
.viewer-caption:before{content:'';position:absolute;top:-1px;inset-inline-start:0;width:70px;height:2px;background:var(--burgundy)}
#viewer-title{font-family:var(--serif);font-size:clamp(21px,2vw,30px);font-weight:400;line-height:1.3;color:var(--ink);max-width:510px;letter-spacing:-.015em}
.viewer-links{gap:12px;align-items:stretch}
.viewer-links a{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;padding:15px 19px;min-height:54px;font-size:14px;line-height:1.4;border:1px solid var(--gold);color:var(--ink);background:transparent;transition:background .3s,color .3s,box-shadow .3s}
.viewer-links a:after{content:'';width:16px;height:16px;flex:none;background:currentColor;mask:var(--action-icon) center/contain no-repeat;-webkit-mask:var(--action-icon) center/contain no-repeat}
.viewer-links [data-viewer-details]{--action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14v16H5zM9 9h6m-6 4h6m-6 4h3' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E")}
.viewer-links [data-viewer-enquiry]{background:var(--burgundy);border-color:var(--burgundy);color:var(--cream);--action-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H10l-5 4v-4H4zM8 9h8m-8 3h5' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E")}
.viewer-links [data-viewer-details]:hover{background:#a58b5518}.viewer-links [data-viewer-enquiry]:hover{background:#65102a;box-shadow:0 5px 18px #8a153820}
[dir=rtl] #viewer-title{font-family:'El Messiri',Tahoma,sans-serif;letter-spacing:0;line-height:1.6;font-size:clamp(21px,2vw,29px)}
[dir=rtl] .viewer-links a{font-size:14px;line-height:1.8}
@media(max-width:1000px){.viewer-caption{gap:18px}#viewer-title{max-width:340px;font-size:23px}.viewer-links a{padding:13px;gap:12px;font-size:13px}}
@media(max-width:700px){.artwork-viewer{padding-bottom:22px}.viewer-caption{align-items:stretch;gap:16px;padding-top:18px;margin-top:14px;text-align:start}#viewer-title,[dir=rtl] #viewer-title{font-size:22px;line-height:1.5;max-width:none}.viewer-links{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.viewer-links a,[dir=rtl] .viewer-links a{font-size:13px;min-height:56px;padding:12px;gap:8px}.viewer-caption:before{width:50px}}
@media(prefers-reduced-motion:reduce){.viewer-links a{transition:none}}
