/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/* 2x2 Grid for Infoboxes on Desktop */
.animal-infoboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 30px;
    grid-row-gap: 30px;
    margin-top: 30px;
}

/* Ensure each box fills its grid column */
.animal-infoboxes .animal-box {
    width: 100%;
}

/* Mobile: stack all boxes */
@media (max-width: 768px) {
    .animal-infoboxes {
        grid-template-columns: 1fr;
    }
}
.animal-box {
    background: #fff;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.animal-hero-image {
    position: relative;
}

.animal-hero-image .image-credit {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 3px;
    max-width: 80%;
    line-height: 1.3;
}