/**
 * 3 items in row — ACF block
 */

.three-items-row-section {
	--tir-bg: #7b3728;
	--tir-card: rgba(45, 22, 18, 0.55);
	--tir-text: #fff8f0;
	--tir-muted: rgba(255, 248, 240, 0.88);
	--tir-gold-1: #fff1b8;
	--tir-gold-2: #f6d06f;
	--tir-gold-3: #caa24b;

	background-color: var(--tir-bg);
	padding: 3.25rem 0 3.5rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.three-items-row-section.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.three-items-row-section__inner {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.three-items-row-section__title {
	margin: 0 0 1rem;
	text-align: center;
	font-family: "Rowdies", sans-serif;
	font-weight: 400;
	font-size: clamp(1.15rem, 2.5vw, 1.65rem);
	line-height: 1.35;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--tir-text);
}

.three-items-row-section__intro {
	margin: 0 auto 2.25rem;
	max-width: 52rem;
	text-align: center;
	font-family: "Rowdies", sans-serif;
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--tir-muted);
}

.three-items-row-section__intro p {
	margin: 0 0 0.75rem;
}

.three-items-row-section__intro p:last-child {
	margin-bottom: 0;
}

.three-items-row-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	align-items: stretch;
}

@media (min-width: 768px) {
	.three-items-row-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}
}

@media (min-width: 992px) {
	.three-items-row-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.75rem;
	}
}

.three-items-row-card {
	background: var(--tir-card);
	border-radius: 16px;
	padding: 0.7rem 0.7rem 1.65rem;
	text-align: center;
	border: 1px solid rgba(246, 208, 111, 0.18);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

/* Gold ornate-style frame */
.three-items-row-card__frame {
	position: relative;
	border-radius: 8px;
	padding: 12px;
	margin: 0 auto 1.25rem;	
	background:
		linear-gradient(180deg, rgba(255, 241, 184, 0.12), rgba(0, 0, 0, 0) 55%) padding-box,
		linear-gradient(
				135deg,
				var(--tir-gold-1),
				var(--tir-gold-2),
				var(--tir-gold-3),
				var(--tir-gold-2),
				var(--tir-gold-1)
			)
			border-box;
	border: 2px solid transparent;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.three-items-row-card__frame::before {
	content: "";
	position: absolute;
	border-radius: 10px;
	border: 1px solid rgba(255, 241, 184, 0.25);
	pointer-events: none;
}

.three-items-row-card__frame img {
	display: block;
	width: 100%;
	height: auto;
}

.three-items-row-card__title {
	margin: 0 0 1rem;
	font-family: "Rowdies", sans-serif;
	font-weight: 400;
	font-size: 1.15rem;
	color: var(--tir-text);
	margin-top: 28px;
    margin-bottom: 20px;
}

.three-items-row-card__list {
	margin: 0;
	padding: 0 0 0 1.1rem;
	list-style: none;
	text-align: center;
	display: inline-block;
}

.three-items-row-card__list li {
	position: relative;
	margin: 0 0 0.55rem;
	padding-left: 1rem;
	font-family: "Rowdies", sans-serif;
	font-weight: 300;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--tir-muted);
	text-align: left;
}

.three-items-row-card__list li:last-child {
	margin-bottom: 0;
}

.three-items-row-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	background: var(--tir-text);
	opacity: 0.85;
}

.three-items-row-card__body {
	font-family: "Rowdies", sans-serif;
	font-weight: 300;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--tir-muted);
	text-align: center;
}

.three-items-row-card__body p {
	margin: 0 0 0.5rem;
}

.three-items-row-section__placeholder {
	text-align: center;
	color: var(--tir-muted);
	font-family: "Rowdies", sans-serif;
	padding: 2rem 1rem;
	border: 1px dashed rgba(255, 241, 184, 0.35);
	border-radius: 12px;
}
