/* Custom CSS to override gallery theme rounded corners and maintain photo aspect ratios */

/* Remove rounded corners from gallery items */
.gallery-item,
.gallery-item img,
.gallery-single,
.gallery-single img,
.album-card,
.album-card img,
.featured-image,
.featured-image img {
    border-radius: 0 !important;
}

/* Remove rounded corners from any other elements that might have them */
.card,
.card img,
.thumbnail,
.thumbnail img,
.media,
.media img {
    border-radius: 0 !important;
}

/* Remove rounded corners from buttons if any */
.btn,
.button {
    border-radius: 0 !important;
}

/* Remove rounded corners from containers */
.container,
.container-fluid {
    border-radius: 0 !important;
}

/* Maintain original photo aspect ratios instead of forcing 3:2 */
.card > figure,
.card > img,
.card figure > img {
    aspect-ratio: auto !important;
    object-fit: contain !important;
    height: auto !important;
}

/* Ensure the figure container doesn't force aspect ratio */
.card > figure {
    aspect-ratio: auto !important;
    height: auto !important;
}

/* For featured cards, maintain aspect ratio but don't crop */
.featured-card {
    aspect-ratio: auto !important;
    height: auto !important;
} 