.section-honor a.for-lightgallery {
    background-color: #E1E8EB;
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: 0.3s;
    position: relative;
}

.section-honor .caption.gallery-content {
    padding: 0 1.25rem;
    color: #080C29;
    font-family: var(--medium_font);
    margin-top: 0.75rem;
    transition: 0.3s;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.section-honor:not(.section-bg-light) .caption.gallery-content {
    color: var(--color3);
}

.section-honor a.for-lightgallery::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(217, 119, 26, 0.2);
    filter: blur(20px);
    opacity: 0;
    transition: 0.3s;
    z-index: 2;
}

.section-honor a.for-lightgallery::after {
    content: "\e918";
    font-family: icomoon;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: #fff;
    opacity: 0;
    transition: 0.3s;
    z-index: 3;
    background-color: rgba(217, 119, 26, 0.48);
    width: 53px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-honor .gallery_image:hover a.for-lightgallery {
    border: 1px solid #D9771A7A;
}

.section-honor .gallery_image:hover a.for-lightgallery::after {
    opacity: 1;
}

.section-honor .gallery_image:hover a.for-lightgallery::before {
    opacity: 1;
}

.section-honor .gallery_image:hover .caption.gallery-content {
    color: var(--color1);
}

@media screen and (max-width:767.99px) {
    .section-honor a.for-lightgallery {
        padding: 26px;
    }
}

/* Equal certificate frames on the About page; keep each original image contained and centered. */
body.page-id-736 .section-honor:has(a[aria-label$="Oil Ministry AVL Page 2"]) a.for-lightgallery {
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 1;
}
body.page-id-736 .section-honor:has(a[aria-label$="Oil Ministry AVL Page 2"]) img.gallery_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 50% 50%;
}
