.news-section {
    position: relative;
    overflow: hidden;
    color: var(--color-navy);
}

/* Section backgrounds */
.news-section.bg-white { background: var(--color-white); }
.news-section.bg-azure { background: var(--color-azure); }
.news-section.bg-cyan  { background: var(--color-cyan); }

/* Header */
.news-section .news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.news-section .news-title {
    color: var(--color-navy);
}
.news-section .title-header:not(:has(div)) .news-title {
    margin-bottom: 0;
}
.news-section.header-stacked .news-header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.news-section.header-centered .news-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Buttons (header link + card "button") */
.news-section .news-btn {
    display: inline-block;
    padding: 1.1rem 1.5rem;
    border: 2px solid var(--color-navy);
    border-radius: 100px;
    background: var(--color-navy);
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.news-section a.news-btn:hover,
.news-section a.news-btn:focus-visible,
.news-section .news-card:hover .news-btn,
.news-section .news-card:focus-within .news-btn {
    background: var(--color-purple);
    border-color: var(--color-purple);
    color: var(--color-white);
}

/* Grid */
.news-section .news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
.news-section.cols-2 .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-section.cols-4 .news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Card */
.news-section .news-card {
    position: relative; /* anchors the stretched title link */
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--border-radius, 8px);
    background: var(--color-white);
}
.news-section:not(.bg-cyan):not(.bg-cyazurean):not(.bg-blue) .news-card {
    border: 2px solid var(--color-lavender, #e6e3f4);
}
.news-section.bg-blue h2,
.news-section.bg-blue h1,
.news-section.bg-blue .title-header *,
.news-section.bg-blue .search-filter-label {
    color: var(--color-white) !important;
}
.news-section .news-card-image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    line-height: 0;
}

.news-section .news-card-image .video-container,
.news-section .news-card-image .video-container iframe {
	height: 100%;
	width: 100%;
	border: 0 !important;
}

.news-section .news-card-image picture,
.news-section .news-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-section .news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
}
.news-section .news-card-tag {
    display: inline-block;
    margin-bottom: 1.25rem;
    padding: .45rem .85rem;
    border-radius: 6px;
    background: var(--color-purple);
    color: var(--color-white);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1;
}
.news-section .news-card-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-navy);
}
.news-section .news-card-title a {
    color: inherit;
	font-size: 1.25rem !important;
    text-decoration: none;
}
.news-section .video-card h3 {
	margin: 0 !important;
}
.news-section .title-header {
    max-width: 45rem;
}
.news-section .news-card-title a:hover {
    color: var(--color-purple) !important;
}
.news-section .news-card-title a:focus-visible { outline: none; }
.news-section .news-card:has(.news-card-title a:focus-visible) {
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
}
.news-section .news-card-excerpt {
    margin: 0 0 1rem;
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--color-navy);
}
.news-section .news-card-footer {
    margin-top: auto;
    padding-top: 1.75rem;
}

.next svg {
    transform: rotate(-90deg);
}

.prev svg {
    transform: rotate(90deg);
}

.resourcesPagination:has(a) {
    margin-top: 3rem;
    text-align: center;
}

.resourcesPagination {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.resourcesPagination svg {
    width: 1em;
}

.resourcesPagination a,
.resourcesPagination span {
    height: 2.3rem;
    width: 2.3rem;
    font-weight: 500;
}

.resourcesPagination .current {
    color: var(--color-white) !important;
    background: var(--color-navy);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
}

.bg-blue .resourcesPagination a {
    color: var(--color-white) !important;
}

.bg-blue .resourcesPagination svg path {
    stroke: var(--color-white) !important;
}

.bg-blue .resourcesPagination .current {
    background: var(--color-white) !important;
    color: var(--color-navy) !important;
}

.resourcesPagination a {
    display: flex;
    justify-content: center;
    font-family: var(--heading-font);
    color: var(--color-navy);
    align-items: center;
}

/* Filter */
.search-filter-label {
    color: var(--color-navy) !important;
    font-size: 1rem !important;
    font-family: var(--heading-font);
    margin-bottom: 0.9rem !important;
}
.search-filter-input-button {
    line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0.06em;
  position: relative;
  font-size: 1rem !important;
  border-radius: 40px !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: unset !important;
  padding: 0.6rem clamp(1.1rem, 1.7vw, var(--vert-spacing-3)) !important;
  font-family: var(--heading-font);
  cursor: pointer;
}

.search-filter-input-button:focus {
    border: 0 !important;
    outline: none !important;
    box-shadow: unset !important;
}

.search-filter-input-button[aria-pressed="true"],
.search-filter-input-button--is-selected,
.search-filter-input-button:hover {
    box-shadow: unset !important;
    background: var(--color-navy) !important;
    color: var(--color-white) !important;
    border: 0 !important;
}

/* ---------- Tablet / mobile ---------- */
@media (max-width: 1199.98px) {
    .news-section.cols-4 .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .news-section .news-header { margin-bottom: 2.5rem; }
    .news-section.cols-3 .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .news-section .news-header { flex-wrap: wrap; margin-bottom: 2rem; }
    .news-section .news-grid,
    .news-section.cols-2 .news-grid,
    .news-section.cols-3 .news-grid,
    .news-section.cols-4 .news-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 575.98px) {
    .news-section .news-card-body { padding: 1.5rem; }
}

@media (min-width: 600px) {
    .search-filter-field--id-3 { display: none !important; }
}

@media (max-width: 600px) {
    .search-filter-field--id-4 { display: none !important; }
}