.rw11-gallery {
    box-sizing:border-box;
    width:94%;
    max-width:1440px;
    margin:35px auto;
    padding:30px 0;
    color:inherit;
}
.rw11-gallery *,
.rw11-dialog * {
    box-sizing:border-box;
}
.rw11-heading {
    text-align:center;
    max-width:950px;
    margin:0 auto 28px;
}
.rw11-heading h2 {
    font-size:clamp(1.7rem,3.5vw,2.8rem);
    line-height:1.2;
    margin:12px 0;
}
.rw11-heading p {
    line-height:1.7;
}
.rw11-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
}
.rw11-card {
    margin:0;
    border:1px solid #d2dcde;
    border-radius:12px;
    overflow:hidden;
    background:#fff;
    color:#17383d;
    display:flex;
    flex-direction:column;
}
.rw11-image-link {
    display:block;
    width:100%;
    background:#f3f6f6;
    aspect-ratio:16/9;
    overflow:hidden;
    cursor:zoom-in;
}
.rw11-image-link img {
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:none !important;
    object-fit:contain !important;
    object-position:center center !important;
    margin:0 !important;
    padding:0 !important;
    border:0;
}
.rw11-card figcaption {
    padding:18px 20px;
    font-size:1.05rem;
    font-weight:600;
    line-height:1.5;
}
.rw11-actions {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin:25px 0;
}
.rw11-button {
    display:inline-block;
    background:#075d63;
    color:#fff !important;
    border-radius:6px;
    padding:12px 20px;
    text-decoration:none;
}
.rw11-note {
    font-size:.85rem;
    text-align:center;
    opacity:.8;
}
.rw11-dialog {
    border:0;
    padding:0;
    background:#10191b;
    color:white;
    width:96vw;
    max-width:1600px;
    max-height:95vh;
    border-radius:10px;
    overflow:auto;
}
.rw11-dialog::backdrop {
    background:rgba(0,0,0,.88);
}
.rw11-dialog img {
    display:block;
    width:100%;
    height:auto;
    max-height:82vh;
    object-fit:contain;
}
.rw11-dialog-bar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    padding:10px 16px;
}
.rw11-dialog-close {
    background:white;
    color:#17383d;
    border:0;
    border-radius:6px;
    padding:10px 15px;
    cursor:pointer;
    font-size:1.1rem;
}
@media(max-width:700px) {
    .rw11-grid {
        grid-template-columns:1fr;
        gap:18px;
    }
    .rw11-gallery {
        padding:20px 0;
        margin:20px auto;
    }
}
