.cogoves-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cogoves-text {
    display: flex;
    align-items: center;
    flex: 1;
    text-align: left;
    padding-top: 0.5rem;
    min-width: 300px;
    font-size: 1.4em; /* Sets the font size to 1.3em */
}

.cogoves-image-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    min-width: 300px;
    max-height: 250px; /* Sets the container's max height to 250px */
    overflow: hidden; /* Prevents any overflow if the image exceeds the max-height */
}

.cogoves-image {
    width: 100%; /* Makes the image fill the container width */
    height: 100%; /* Makes the image fill the container height */
    object-fit: contain; /* Ensures the image keeps its aspect ratio while filling the container */
}

.cogoves-link {
    text-decoration: none !important;
    color: inherit !important;
    pointer-events: auto;
}

/* Ensures no hover, visited, or other link styles affect image link */
.cogoves-link:hover,
.cogoves-link:visited {
    transition: none !important;
    transform: none !important;
}

.cogoves-image-container a {
    display: block; /* Ensures the link is block-level */
}
