﻿.word-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px #242424 solid;
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*code added on 23/06/2025*/
    height: 340px;
    overflow-y: auto;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.word-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.word-tag {
    background: rgba(0,0,0,0.05);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8em;
}
