.zk-story-photo video{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#333333;border-radius:3px}.cms-preview-note{position:relative;padding:15px 25px;background:#dfa667;color:#383838;text-align:center;font:14px/1.5 system-ui}.zk-story-intro p{overflow-wrap:anywhere}.zk-story-photos figcaption{overflow-wrap:anywhere}
.zk-project-image>.zk-project-completed{border-radius:999px;background:#dfa667;color:#dfa667;border:1px solid #dfa667;padding:8px 13px;display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:13px;box-shadow:0 3px 16px #17171712}
.zk-story-completed{display:inline-flex;align-items:center;gap:6px;padding:7px 13px;margin-top:14px;background:#dfa667;color:#dfa667;border:1px solid #dfa667;border-radius:999px;font-size:13px;font-weight:600;letter-spacing:.02em}
.zk-gallery-tabs{display:flex;gap:10px;flex-wrap:wrap;padding:0 0 23px;border-bottom:1px solid var(--zk-line);margin:0 0 25px}
.zk-gallery-tabs button{display:inline-flex;gap:12px;align-items:center;justify-content:center;border:1px solid #dfa667;background:#faf8f4;color:#dfa667;border-radius:999px;min-height:50px;padding:12px 22px;font-size:17px;font-weight:500;cursor:pointer;transition:background .18s,border-color .18s}
.zk-gallery-tabs button[aria-selected=true]{background:#dfa667;border-color:#dfa667;color:#392d20}.zk-gallery-tabs button:hover{border-color:#dfa667;background:#f0e5d1}.zk-gallery-tabs button span{display:grid;place-items:center;min-width:26px;height:26px;border-radius:50%;font-size:13px;background:#fff8;color:inherit}
.zk-gallery-panel:focus{outline:none}.zk-gallery-panel:focus-visible{outline:2px solid #dfa667;outline-offset:8px;border-radius:16px}.zk-gallery-panel:not([hidden]){animation:zk-gallery-appear .2s ease-out}.zk-gallery-empty{border:1px dashed #dfa667;border-radius:18px;padding:45px 25px;text-align:center;background:#f5f0e7}.zk-gallery-empty>span{display:block;color:#dfa667;font-size:33px;margin-bottom:13px}.zk-gallery-empty h3{font-size:24px;line-height:1.35;margin:0 0 12px}.zk-gallery-empty p{font-size:16px;margin:0 auto;max-width:500px}
@keyframes zk-gallery-appear{from{opacity:.6;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:650px){.zk-gallery-tabs{gap:8px}.zk-gallery-tabs button{font-size:15px;gap:8px;padding:11px 15px;min-height:48px}.zk-gallery-tabs button span{min-width:22px;height:22px;font-size:12px}.zk-gallery-empty{padding:32px 18px}.zk-gallery-empty h3{font-size:22px}.zk-project-image>.zk-project-completed{font-size:12px;left:12px;bottom:12px}}
@media(prefers-reduced-motion:reduce){.zk-gallery-panel:not([hidden]){animation:none}.zk-gallery-tabs button{transition:none}}
/* Gallery controls share the graphite primary button treatment. */
.zk-gallery-tabs button{background:transparent;border-color:var(--zk-line);color:#68645c;box-shadow:none}.zk-gallery-tabs button[aria-selected=true]{background:var(--zk-dark);border-color:var(--zk-gold);color:#faf9f6;box-shadow:none;font-weight:600}.zk-gallery-tabs button:hover{background:var(--zk-gold-soft);border-color:var(--zk-gold-line);color:#483913}.zk-gallery-tabs button[aria-selected=true]:hover{background:#303033;border-color:var(--zk-gold-hover);color:#faf9f6}.zk-gallery-tabs button span{background:#e9e6df;color:inherit;border:0}.zk-gallery-tabs button[aria-selected=true] span{background:#ffffff20;color:#faf9f6;border:0}
.zk-project-image>.zk-project-completed,.zk-story-completed{background:var(--zk-dark);border-color:var(--zk-gold);color:#dfa667;box-shadow:none}.zk-gallery-empty{background:#f4f1e9;border-color:var(--zk-gold-line)}.zk-gallery-empty>span{color:var(--zk-gold)}

.zk-gallery-tabs button[aria-selected=true],.zk-gallery-tabs button[aria-selected=true]:hover{background:var(--zk-gold-soft);border-color:var(--zk-gold);color:#dfa667}
.zk-gallery-tabs button[aria-selected=true] span{background:#e5ddcf;color:#dfa667}
.zk-project-image>.zk-project-completed,.zk-story-completed{background:var(--zk-paper);border-color:var(--zk-gold-line);color:var(--zk-bronze)}

/* Original gold for gallery selection. */
.zk-gallery-tabs button[aria-selected=true],.zk-gallery-tabs button[aria-pressed=true],.zk-gallery-tabs .active{background:#dfa667;border-color:#dfa667;color:#4a321f}

.zk-gallery-tabs button[aria-selected=true]:hover{background:#dfa667;border-color:#dfa667;color:#4a321f}.zk-gallery-tabs button[aria-selected=true] span{background:#ffffff44;color:#4a321f}

.zk-gallery-tabs button[aria-selected=true],.zk-gallery-tabs button[aria-selected=true]:hover,.zk-gallery-tabs button[aria-pressed=true],.zk-gallery-tabs .active,.zk-gallery-tabs button[aria-selected=true] span{color:#fff}
