﻿.card.custom-card {
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    background: #fff;
    max-width: 540px; /* Increased from 400px */
    margin: 0 auto;
    padding: 0;
    border: none;
}

.image-continer {
    width: 100%;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 32px 0 32px; /* Increased padding */
}

.image-icon {
    max-width: 90%; /* Increased from 100% for better fit */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    min-height: 220px; /* Ensures image is visually larger */
    object-fit: contain;
}

.content-news {
    padding: 20px 32px 12px 32px; /* Increased padding */
    text-align: center;
}

.truncate-text {
    font-size: 1.25rem; /* Slightly larger text */
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}
.primary-button {
    display: block;
    width: 80%;
    margin: 20px auto 32px auto;
    padding: 12px 0;
    background: #0e7265;
    color: #fff !important;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
}

    .primary-button:hover {
        background: #09584d;
        color: #fff;
        text-decoration: none;
    }


@media (max-width: 576px) {
    .card.custom-card {
        max-width: 100%;
    }

    .image-continer, .content-news {
        padding-left: 8px;
        padding-right: 8px;
    }

    .image-icon {
        min-height: 120px;
    }
}
