.rpml-switcher {
	align-items: center;
	display: inline-flex;
}

.rpml-switcher__select {
	appearance: auto;
	background: #fff;
	border: 1px solid rgba(17, 24, 39, .16);
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(17, 24, 39, .06);
	color: #111827;
	cursor: pointer;
	font-size: .88rem;
	font-weight: 700;
	line-height: 1.2;
	min-height: 2.35rem;
	padding: .55rem .85rem;
}

.rpml-switcher__select:focus {
	border-color: #111827;
	outline: 2px solid rgba(17, 24, 39, .12);
	outline-offset: 2px;
}

.rpml-switcher__button {
	border: 1px solid rgba(17, 24, 39, .16);
	border-radius: 999px;
	font-size: .85rem;
	font-weight: 700;
	margin-left: .4rem;
	min-height: 2.35rem;
	padding: .55rem .8rem;
}

.rpml-latest-posts {
	display: grid;
	gap: 1.25rem;
}

.rpml-latest-posts--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rpml-latest-posts--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rpml-latest-posts--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.rpml-latest-card {
	background: #fff;
	border: 1px solid rgba(17, 24, 39, .1);
	border-radius: 1.15rem;
	overflow: hidden;
}

.rpml-latest-card__image {
	aspect-ratio: 16 / 10;
	display: block;
	overflow: hidden;
}

.rpml-latest-card__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.rpml-latest-card__body { padding: 1rem; }
.rpml-latest-card__date { font-size: .78rem; margin: 0 0 .45rem; opacity: .68; }
.rpml-latest-card__title { font-size: 1.05rem; line-height: 1.25; margin: 0 0 .55rem; }
.rpml-latest-card__title a { color: inherit; text-decoration: none; }
.rpml-latest-card__excerpt { font-size: .92rem; margin: 0; opacity: .74; }

@media (max-width: 780px) {
	.rpml-latest-posts--cols-2,
	.rpml-latest-posts--cols-3,
	.rpml-latest-posts--cols-4 {
		grid-template-columns: 1fr;
	}
}

.rpml-switcher__flag {
	font-size: 1rem;
	line-height: 1;
}

.rpml-switcher__text {
	line-height: 1;
}
