/* =========================================================
   YCM Indicators Listing widget.
   ========================================================= */

.ycm-ind {
	background-color: #eff3ff;
	padding: 90px 0 100px;
}

.ycm-ind__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

.ycm-ind__title {
	text-align: center;
	font-size: 42px;
	font-weight: 800;
	color: #111827;
	margin: 0 0 28px;
}

/* --- Tabs --- */
.ycm-ind__tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 44px;
}

.ycm-ind__tab {
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	color: #374151;
	background-color: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 11px 22px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ycm-ind__tab:hover {
	border-color: #c7d2fe;
}

.ycm-ind__tab.is-active {
	background-color: #2f6bff;
	border-color: #2f6bff;
	color: #fff;
}

/* --- Grid --- */
.ycm-ind__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-items: stretch;
}

.ycm-ind__card {
	display: flex;
	flex-direction: column;
	background-color: #fff;
	border-radius: 18px;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
	box-sizing: border-box;
}

.ycm-ind__card.is-hidden {
	display: none;
}

/* --- Thumb + badge --- */
.ycm-ind__thumb {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 324 / 250;
	background-color: #0b1220;
}

.ycm-ind__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ycm-ind__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: #2f6bff;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: 9px 14px;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(47, 107, 255, 0.35);
}

.ycm-ind__rocket {
	display: block;
}

/* --- Body --- */
.ycm-ind__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding-top: 18px;
}

.ycm-ind__cat {
	align-self: flex-start;
	background-color: #eef2ff;
	color: #4b5563;
	font-size: 14px;
	line-height: 1;
	padding: 8px 16px;
	border-radius: 999px;
}

.ycm-ind__card-title {
	font-size: 21px;
	font-weight: 700;
	color: #111827;
	margin: 16px 0 12px;
	line-height: 1.3;
}

.ycm-ind__card-desc {
	font-size: 15px;
	line-height: 1.6;
	color: #6b7280;
	margin: 0;
}

/* --- Foot (pinned to bottom, aligned across cards) --- */
.ycm-ind__foot {
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid #eef2f7;
}

.ycm-ind__access {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #2f6bff;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 18px;
}

.ycm-ind__access svg {
	flex: 0 0 auto;
}

.ycm-ind__btn {
	display: block;
	width: 100%;
	text-align: center;
	background-color: #2f6bff;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	padding: 15px 20px;
	border-radius: 8px;
	text-decoration: none;
	box-sizing: border-box;
	transition: background-color 0.2s ease;
}

.ycm-ind__btn:hover {
	background-color: #1f57e6;
	color: #fff;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
	.ycm-ind__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 680px) {
	.ycm-ind {
		padding: 56px 0 64px;
	}
	.ycm-ind__title {
		font-size: 30px;
	}
	.ycm-ind__grid {
		grid-template-columns: 1fr;
	}
}

/* ---- Typography: title + content use Roboto ---- */
.ycm-ind__title,
.ycm-ind__tab,
.ycm-ind__cat,
.ycm-ind__card-title,
.ycm-ind__card-desc,
.ycm-ind__access,
.ycm-ind__btn,
.ycm-ind__badge {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
