.post-content .kochi-rounded-banners {
	--kochi-rounded-banner-background-color: #fff;
}

[data-theme='blue-theme'] .post-content .kochi-rounded-banners,
.post-content [data-theme='blue-theme'] .kochi-rounded-banners {
	--kochi-rounded-banner-background-color: #e1efff;
}

[data-theme='black-theme'] .post-content .kochi-rounded-banners,
.post-content [data-theme='black-theme'] .kochi-rounded-banners {
	--kochi-rounded-banner-background-color: #f8f8f8;
}

.post-content .kochi-rounded-banners ul {
	border-radius: 16px;
	background-color: var(--kochi-rounded-banner-background-color);
	position: relative;
	z-index: 1;
}

.post-content .kochi-rounded-banners ul:has(> li:nth-child(2)) {
	display: grid;
}

.post-content .kochi-rounded-banners ul li {
	padding-block: 0;
	padding-inline-start: 0;
	min-width: 0;
}

.post-content .kochi-rounded-banners ul li::before {
	display: none;
}

.post-content .kochi-rounded-banners ul li > a {
	border-radius: 8px;
	display: block;
	text-decoration: none;
	overflow: hidden;
	position: relative;
	z-index: 1;
}

.post-content .kochi-rounded-banners ul li > a img {
	border-radius: 8px;
	position: relative;
	z-index: 1;
}

.post-content .kochi-rounded-banners ul li > a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0);
	transition: background-color 300ms ease-out;
}

.post-content .kochi-rounded-banners ul li > a:hover::after,
.post-content .kochi-rounded-banners ul li > a:active::after,
.post-content .kochi-rounded-banners ul li > a:focus-visible::after {
	background-color: rgba(255, 255, 255, 0.3);
}

@media screen and (max-width: 1024px) {

	.post-content .kochi-rounded-banners ul {
		padding-block: 12px;
		padding-inline: 12px;
	}

	.post-content .kochi-rounded-banners ul:has(> li:nth-child(2)) {
		gap: 8px;
	}
}

@media screen and (min-width: 1025px) {

	.post-content .kochi-rounded-banners ul {
		padding-block: 24px;
		padding-inline: 24px;
	}

	.post-content .kochi-rounded-banners ul:has(> li:nth-child(2)) {
		gap: 24px;
	}

	.post-content .kochi-rounded-banners ul:not(:has(> li:nth-child(2))) {
		width: calc(50% + 12px);
	}
}

@media screen and (max-width: 1024px) and (min-width: 768px) {

	.post-content .kochi-rounded-banners ul:has(> li:nth-child(2)) {
		gap: 16px;
	}

	.post-content .kochi-rounded-banners ul:not(:has(> li:nth-child(2))) {
		width: calc(50% + 4px);
	}
}

@media screen and (min-width: 768px) {

	.post-content .kochi-rounded-banners ul:has(> li:nth-child(2)) {
		grid-template-columns: repeat(2, 1fr);
	}

	.post-content .kochi-rounded-banners ul:not(:has(> li:nth-child(2))) {
		margin-inline: auto;
	}
}
