
/* Completed projects gallery, scoped to the staircase template. */
.stairs-works { margin: 48px 0; }
.stairs-works__heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.stairs-page .stairs-works__heading h2 { margin: 0; }
.stairs-works__controls { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.stairs-page .stairs-works__arrow { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; margin: 0; border: 1px solid #aa762f; border-radius: 7px; background: #fbf7ef; color: #855015; font: 24px/1 Arial,sans-serif; cursor: pointer; }
.stairs-page .stairs-works__arrow:hover:not(:disabled) { background: #855015; color: #fff; }
.stairs-page .stairs-works__arrow:disabled { opacity: .35; cursor: default; }
.stairs-works__arrow:focus-visible,.stairs-work__image:focus-visible { outline: 3px solid #c78232; outline-offset: 3px; }
.stairs-works__track { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.stairs-works__track.owl-carousel { display: block; width: calc(100% + 20px); margin: 0 -10px; }
.stairs-works__track .owl-wrapper { display: flex !important; align-items: stretch; }
.stairs-works__track .owl-wrapper:after { display: none; }
.stairs-works__track .owl-item { display: flex; float: none; flex-shrink: 0; }
.stairs-work { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 14px; background: #fbf7ef; border: 1px solid #e6ddce; }
.stairs-works__track .owl-item .stairs-work { flex: 1; margin: 0 10px; }
.stairs-work__image { display: block; flex-shrink: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eee7dc; color: #fff; }
.stairs-work__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.stairs-work__body { padding: 20px 16px; display: flex; flex-direction: column; flex: 1; }
.stairs-page .stairs-work__title { font: 500 23px/1.2 cometaC,Georgia,serif; color: #33271f; margin: 0 0 20px; min-height: 3.6em; overflow-wrap: anywhere; }
.stairs-page .stairs-work__description { margin: 0 0 26px; font-size: 14px; line-height: 1.8; color: #584737; }
.stairs-work__facts { margin: auto 0 0; padding-top: 18px; border-top: 1px solid #e2d6c4; }
.stairs-work__facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 10px; }
.stairs-work__facts > div:first-child { margin-top: 0; }
.stairs-work__facts dt { font-size: 12px; line-height: 1.6; color: #6b5b4b; max-width: 45%; }
.stairs-work__facts dd { margin: 0; font-size: 13px; line-height: 1.6; font-weight: 600; color: #855015; text-align: right; }
.stairs-work__amount { white-space: nowrap; }
.stairs-works__status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media(max-width:1024px) { .stairs-works__track { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:599px) {
 .stairs-works { margin: 36px 0; }
 .stairs-works__heading { gap: 12px; }
 .stairs-page .stairs-works__heading h2 { font-size: 25px; }
 .stairs-works__controls { gap: 6px; }
 .stairs-page .stairs-works__arrow { width: 36px; height: 36px; }
 .stairs-works__track { grid-template-columns: minmax(0,1fr); }
 .stairs-work__body { padding: 20px; }
 .stairs-page .stairs-work__title { font-size: 25px; }
}

/* Prevent the display typeface from being visually clipped in the section heading. */
.stairs-page .stairs-works__heading h2 {
    line-height: 1.25;
}
/* Zoom affordance shared by every completed-work card. */
.stairs-card__zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(52,35,22,.72);
    pointer-events: none;
}
.stairs-card__zoom svg {
    width: 18px;
    height: 18px;
}
/* Match the square geometry and readable facts used by the site. */
.stairs-work,
.stairs-page .stairs-works__arrow,
.stairs-card__zoom {
    border-radius: 0;
}
.stairs-work__facts dt {
    font-size: 14px;
}
.stairs-work__facts dd {
    font-size: 15px;
}
/* Let pages that use the new components collapse the legacy 960 grid on phones. */
@media (max-width: 959px) {
    html, body {
        min-width: 0;
    }
    .stairs-page .container_12 {
        width: auto;
        margin-left: 16px;
        margin-right: 16px;
    }
    .stairs-page .grid_12 {
        float: none;
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Keep gallery descriptions close to their titles. */
.stairs-page .stairs-work__title {
    min-height: 2.4em;
    margin-bottom: 12px;
}
