/* news_res_style.css */

:root{
    --edumentBlue: #1c4762;
    --edumentBlueVariant: #225777;
    --edumentYellow: #ffd44a;
    --edumentYellowVariant: #e3ba37;
}

/* Ensures all placeholder images have identical height and fill the top area clean */
.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card{
    background-color: ghostwhite !important;
}

.badge-edument{
    background-color: var(--edumentYellow);
    color: black;
}

.btn-edument{
    background-color: var(--edumentBlue);
    color: whitesmoke !important;
}
.btn-edument:hover{
    background-color: var(--edumentBlueVariant);
    color: var(--edumentYellow) !important;
}

.btn-outline-edument{
    background-color: transparent;
    border-color: var(--edumentBlue);
    color: var(--edumentBlue) !important;
}
.btn-outline-edument:hover{
    background-color: var(--edumentBlue);
    color: var(--edumentYellow) !important;
}

.text-edument{
    color: var(--edumentBlue) !important;
}


/* Smooth lift and shadow effect when hovering over cards */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    /*transform: translateY(-4px);*/
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12) !important;
}