.news-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.news-card {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 2/3;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    transition: transform 0.2s ease;
}

.news-card:hover {
    transform: scale(1.02);
}

.news-card img {
    width: 100%;
    height: 60%;
    object-fit: cover;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 1rem;
    gap: 0.5rem;
    width: 100%;
}

.news-content h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.news-content .subtitle {
    font-size: 0.9rem;
    color: #444;
    padding: 0 0.5rem;
}

.news-content .date {
    font-size: 0.8rem;
    color: #888;
}

.btn.small {
    padding: 0.4rem 0.9rem;
    background: #212121;
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    align-self: center;
}

/* ✅ iframe wrapper support */
.iframe-wrapper {
    width: 100%;
    padding: 0 1rem;
    max-height: 250px;
    overflow: hidden;
    border-radius: 8px;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}
