.tooruhmad-page {
	background: #f6f7f9;
	padding: 0 0 72px;
}

.tooruhmad-page .tw-wrap {
	width: min(1200px, calc(100% - 48px));
	margin: 0 auto;
}

.tooruhmad-page h1 {
	padding-top: 64px;
	margin: 0 0 16px;
	color: #001234;
	font-family: var(--twcen);
	font-weight: 800;
	font-size: 72px;
	line-height: 72px;
	letter-spacing: -0.02em;
}

.tooruhmad-page .tw-intro,
.tooruhmad-page .tw-intro p {
	width: 100%;
	max-width: none;
	margin: 0 0 36px;
	color: #001234;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}

.tooruhmad-page .tw-intro p:last-child {
	margin-bottom: 0;
}

.tw-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
}

.tw-col {
	position: relative;
	background: #eef1f4;
	border-radius: 18px;
	padding: 6px;
	overflow: visible;
}

.tw-col:hover,
.tw-col:focus-within {
	z-index: 5;
}

.tooruhmad-page header.tw-col__head {
	position: relative;
	top: auto;
	width: auto;
	height: auto;
	min-height: 64px;
	display: flex;
	align-items: center;
	margin: 0 0 20px;
	padding: 8px 88px 8px 28px;
	background: #0048ff;
	border-radius: 8px;
	overflow: visible;
	z-index: 1;
}

.tooruhmad-page .tw-col__head h2 {
	margin: 0;
	color: #fff;
	font-size: 18px;
	line-height: 1.2;
	font-weight: 700;
}

.tw-col__head img {
	position: absolute;
	right: -6px;
	top: -12px;
	width: 84px;
	height: 84px;
	object-fit: contain;
	pointer-events: none;
}

.tw-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	overflow: visible;
}

.tw-card {
	position: relative;
	display: block;
	width: 100%;
	min-height: 9.25rem;
	padding: 0;
	border: 0;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 18, 52, 0.06);
	color: #001234;
	text-align: center;
	text-decoration: none;
	font: inherit;
	cursor: default;
	overflow: visible;
	z-index: 1;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.tw-card.has-link,
.tw-card.has-popup {
	cursor: pointer;
}

.tw-card__face {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 9.25rem;
	padding: 22px 14px 44px;
	box-sizing: border-box;
	text-align: center;
}

.tw-card__title {
	width: 100%;
	font-size: 15px;
	line-height: 1.25;
	font-weight: 600;
	text-align: center;
	hyphens: auto;
	-webkit-hyphens: auto;
	overflow-wrap: break-word;
}

.tw-card__arrow {
	position: absolute;
	left: 50%;
	bottom: 16px;
	color: #9aa3b2;
	line-height: 0;
	transform: translateX(-50%);
	transition: color 0.2s ease;
}

.tw-popup {
	position: absolute;
	top: 0;
	left: 100%;
	width: 280px;
	padding: 16px 18px;
	background: #1a2d4e;
	color: #fff;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(0, 18, 52, 0.18);
	font-size: 14px;
	line-height: 1.45;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 5;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	transform: translateY(8px);
}

.tw-popup p {
	margin: 0;
}

.tw-popup strong {
	font-weight: 700;
}

.tw-card.has-popup:hover {
	z-index: 30;
	background: #1a2d4e;
	color: #fff;
}

.tw-card.has-popup:hover .tw-card__title {
	color: #fff;
}

.tw-card.has-popup:hover .tw-card__arrow {
	color: #fff;
}

.tw-card.has-popup:hover .tw-popup {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

@media (max-width: 1100px) {
	.tw-cols {
		grid-template-columns: 1fr;
	}

	.tw-popup {
		left: 0;
		right: 0;
		top: calc(100% + 8px);
		width: auto;
		max-width: none;
	}
}

@media (max-width: 700px) {
	.tw-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
