/* Text Only Grid — Figma node 94:28783 */

.mtf-tog {
	background-color: #ffffff;
	box-sizing: border-box;
	width: 100%;
	display: flex;
	flex-direction: column;
	padding: 96px 0;
}

.mtf-tog *,
.mtf-tog *::before,
.mtf-tog *::after {
	box-sizing: border-box;
}

.mtf-tog .tog-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.mtf-tog .tog-table {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.mtf-tog .tog-table-head {
	background-color: #ffc200;
	border-radius: 12px;
	padding: 16px 24px;
	width: 100%;
}

.mtf-tog .tog-table-head-text {
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 28px !important;
	color: #fff686 !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
}

.mtf-tog .tog-table-body {
	width: 100%;
}

.mtf-tog .tog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 32px;
	width: 100%;
	align-items: start;
}

.mtf-tog .tog-card {
	display: block;
	border: 1px solid #d5d7da;
	border-radius: 40px;
	padding: 32px 24px;
	text-decoration: none !important;
	color: inherit;
	min-width: 0;
	width: 100%;
	transition: border-color 0.15s;
}

.mtf-tog .tog-card:hover,
.mtf-tog .tog-card:focus {
	text-decoration: none !important;
	border-color: #c5c8ce;
}

.mtf-tog .tog-card-inner {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.mtf-tog .tog-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	gap: 12px;
}

.mtf-tog .tog-card-date {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 22px !important;
	color: #535862 !important;
	white-space: nowrap;
}

.mtf-tog .tog-card-date-day,
.mtf-tog .tog-card-date-time {
	margin: 0 !important;
	padding: 0 !important;
}

.mtf-tog .tog-card-icon {
	display: flex;
	align-items: flex-start;
	padding-top: 2px;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

.mtf-tog .tog-card-icon svg {
	width: 24px;
	height: 24px;
	display: block;
}

.mtf-tog .tog-card-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.mtf-tog .tog-card-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 28px !important;
	color: #181d27 !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
}

.mtf-tog .tog-card-excerpt {
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 24px !important;
	color: #535862 !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	height: 48px;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

.mtf-tog.mtf-tog--page-list .tog-container {
	gap: 0;
}

.page-news .news-list > .mtf-tog.mtf-tog--page-list {
	width: auto;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
}

.page-news .news-list > .mtf-tog.mtf-tog--page-list + .mtf-pagination-wrap {
	width: auto;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: calc(50vw - 50%);
	padding-right: calc(50vw - 50%);
}

@media (min-width: 769px) and (max-width: 1199px) {
	.mtf-tog {
		padding: 64px 0;
	}

	.mtf-tog .tog-container {
		gap: 40px;
	}

	.mtf-tog.mtf-tog--page-list .tog-container {
		gap: 0;
	}

	.mtf-tog .tog-grid {
		gap: 20px 24px;
	}

	.mtf-tog .tog-card {
		border-radius: 28px;
		padding: 28px 20px;
	}
}

@media (max-width: 768px) {
	.mtf-tog {
		padding: 48px 0;
	}

	.mtf-tog .tog-container {
		padding: 0 16px;
		gap: 32px;
	}

	.mtf-tog.mtf-tog--page-list .tog-container {
		gap: 0;
	}

	.mtf-tog .tog-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.mtf-tog .tog-card {
		border-radius: 24px;
		padding: 24px 20px;
	}

	.mtf-tog .tog-table-head {
		border-radius: 8px;
		padding: 14px 16px;
	}

	.mtf-tog .tog-table-head-text {
		font-size: 16px !important;
		line-height: 24px !important;
	}
}
