.news-gallery__item {
    display: block;
    position: relative;
    overflow: hidden;
    border: 0;
    padding: 0;
    margin: 0;
    background: none;
    cursor: pointer;
    border-radius: var(--bs-border-radius);
}

.news-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s ease-in-out;
}

.news-gallery__item:hover img,
.news-gallery__item:focus-visible img {
    transform: scale(1.03);
}

/* GitHub-flavoured markdown renders bare <table> markup; style it to match
   Bootstrap's .table look using the theme's own variables. */
.news-content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.news-content th,
.news-content td {
    padding: .5rem .75rem;
    border: 1px solid var(--bs-border-color);
}

.news-content thead th {
    border-bottom-width: 2px;
    background-color: var(--bs-secondary-bg);
}

.news-content tbody tr:nth-of-type(odd) {
    background-color: var(--bs-tertiary-bg);
}

.news-content img {
    max-width: 100%;
    height: auto;
}
