/*
 * Terpene widget — staggered hexagon grid only.
 * Modal styling lives in ac-modal.css (the shared standard) and is not duplicated here.
 */

.ac-tp-container {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: 'Amiko', sans-serif;
}

.ac-tp-hexagon-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	margin: 0 auto;
	min-height: 60px;
}

.ac-tp-row {
	display: flex;
	width: 100%;
	margin-bottom: -15px;
	justify-content: flex-start;
	padding-left: 15px;
}

.ac-tp-row.ac-tp-row-offset {
	padding-left: 75px;
}

.ac-tp-hex {
	position: relative;
	width: 100px;
	height: 115px;
	margin: 5px 10px;
	cursor: pointer;
	transition: transform 0.3s ease;
	filter: drop-shadow( 0 4px 8px rgba( 0, 0, 0, 0.15 ) );
}

.ac-tp-hex:hover {
	transform: scale( 1.05 );
}

.ac-tp-hex-inner {
	position: relative;
	width: 100%;
	height: 100%;
	clip-path: polygon( 50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25% );
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.ac-tp-hex-name {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: bold;
	margin-bottom: 5px;
	text-align: center;
	padding: 5px;
}

@media ( max-width: 768px ) {
	.ac-tp-hex {
		width: 90px;
		height: 105px;
		margin: 4px 8px;
	}

	.ac-tp-hex-name {
		font-size: 10px;
	}

	.ac-tp-row.ac-tp-row-offset {
		padding-left: 45px;
	}

	.ac-tp-row {
		padding-left: 0;
	}
}

@media ( max-width: 480px ) {
	.ac-tp-hex {
		width: 80px;
		height: 95px;
		margin: 3px 6px;
	}

	.ac-tp-hex-name {
		font-size: 9px;
	}
}
