.zoomable {
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
}

.custom-width-60 {
    width: 60% !important;
    max-width: 60% !important;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.side-by-side {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.text-section {
    flex: 1;
}

.image-section {
    flex: 1;
}

#zoom-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    overflow: auto;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;               /* whole overlay is clickable */
}

#zoom-container img {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: zoom-in;               /* click the image to zoom further */
    pointer-events: auto;          /* allow clicking the image to zoom further */
}

.rdmc-zoom-toolbar {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 100000;
    display: flex;
    gap: 6px;
}
.rdmc-zoom-toolbar button {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 6px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.rdmc-zoom-toolbar button:hover { background: rgba(0,0,0,0.85); }
