/* ========================================================================== 
   Do You Rome · Trust cards for single-tour sidebars
   ========================================================================== */

.dyr-tour-trust-cards {
	--dyr-trust-wa-bg: #e7f3ec;
	--dyr-trust-wa-text: #244334;
	--dyr-trust-wa-accent: #4f7a60;
	--dyr-trust-booking-bg: #f5ebdd;
	--dyr-trust-booking-text: #4f3428;
	--dyr-trust-booking-accent: #aa5432;

	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	width: 100%;
	margin: 0;
}

.dyr-tour-trust-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	min-height: 178px;
	padding: clamp(17px, 1.5vw, 21px);
	border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
	border-radius: 18px;
	font-family: var(--e-global-typography-text-font-family, "Plus Jakarta Sans", sans-serif);
	text-decoration: none !important;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(31, 31, 31, 0.055);
}

.dyr-tour-trust-card::after {
	content: "";
	position: absolute;
	right: -24px;
	bottom: -28px;
	width: 104px;
	height: 104px;
	border: 1px solid currentColor;
	border-radius: 50%;
	opacity: 0.07;
	pointer-events: none;
}

.dyr-tour-trust-card--whatsapp {
	background: var(--dyr-trust-wa-bg);
	color: var(--dyr-trust-wa-text) !important;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.dyr-tour-trust-card--whatsapp:hover,
.dyr-tour-trust-card--whatsapp:focus-visible {
	color: var(--dyr-trust-wa-text) !important;
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--dyr-trust-wa-accent) 46%, transparent);
	box-shadow: 0 13px 30px rgba(31, 31, 31, 0.09);
}

.dyr-tour-trust-card--whatsapp:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--dyr-trust-wa-accent) 36%, transparent);
	outline-offset: 3px;
}

.dyr-tour-trust-card--booking {
	background: var(--dyr-trust-booking-bg);
	color: var(--dyr-trust-booking-text);
}

.dyr-tour-trust-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	margin: 0 0 13px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.56);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.dyr-tour-trust-card--whatsapp .dyr-tour-trust-card__icon {
	color: var(--dyr-trust-wa-accent);
}

.dyr-tour-trust-card--booking .dyr-tour-trust-card__icon {
	color: var(--dyr-trust-booking-accent);
}

.dyr-tour-trust-card__icon svg {
	display: block;
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dyr-tour-trust-card--whatsapp .dyr-tour-trust-card__icon svg path:nth-child(2) {
	fill: currentColor;
	stroke: none;
}

.dyr-tour-trust-card__content {
	display: block;
	margin: 0;
}

.dyr-tour-trust-card__title {
	display: block;
	margin: 0;
	font-family: var(--e-global-typography-primary-font-family, Georgia, serif);
	font-size: clamp(18px, 1.35vw, 21px);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: inherit;
}

.dyr-tour-trust-card__text {
	display: block;
	max-width: 34ch;
	margin-top: 8px;
	font-size: clamp(12.5px, 0.9vw, 14px);
	font-weight: 450;
	line-height: 1.43;
	color: inherit;
	opacity: 0.88;
}

.dyr-tour-trust-card__cta {
	display: inline-flex;
	align-items: center;
	margin-top: auto;
	padding-top: 13px;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--dyr-trust-wa-accent);
}

.dyr-tour-trust-card__list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 13px 0 0;
	list-style: none;
}

.dyr-tour-trust-card__list li {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr);
	gap: 6px;
	align-items: start;
	margin: 0;
	padding: 0;
	font-size: clamp(12px, 0.86vw, 13.5px);
	font-weight: 560;
	line-height: 1.32;
	color: inherit;
}

.dyr-tour-trust-card__list li > span {
	color: var(--dyr-trust-booking-accent);
	font-weight: 800;
}

@media (max-width: 767px) {
	.dyr-tour-trust-cards {
		gap: 12px;
	}

	.dyr-tour-trust-card {
		min-height: 176px;
		padding: 17px;
		border-radius: 16px;
	}

	.dyr-tour-trust-card__icon {
		width: 36px;
		height: 36px;
		margin-bottom: 12px;
		border-radius: 10px;
	}

	.dyr-tour-trust-card__icon svg {
		width: 20px;
		height: 20px;
	}

	.dyr-tour-trust-card__title {
		font-size: 18px;
	}

	.dyr-tour-trust-card__text {
		font-size: 12.5px;
		line-height: 1.4;
	}

	.dyr-tour-trust-card__list {
		gap: 7px;
		padding-top: 12px;
	}

	.dyr-tour-trust-card__list li {
		font-size: 12px;
		line-height: 1.3;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dyr-tour-trust-card--whatsapp {
		transition: none;
	}
}
