/* ============================================================
   Copy Card Panel  —  /includes/panels/copy-card-panel.css
   Text-only card grid (2x2 desktop, stacked mobile).
   Namespaced under .copy-card-panel; safe alongside .service-panel.
   ============================================================ */

.copy-card-panel {
	.copy-card-title {
		font-size: 3.056rem;
		font-weight: 400;
		line-height: 1;
	}

	.header-item {
		padding-bottom: 1.1em;

		&.mobile {
			display: none;
		}
	}
}

ul.copy-card-list {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;

	.copy-card-item {
		flex: 0 1 auto;
		width: calc(50% - 1rem);
		padding: 2.5em 2.222em;
		background-color: #f5f6f7; /* swap for a brand var (e.g. var(--alt-bg-color)) if one exists */
		border-radius: 6px;
		transition: var(--transit-1);

		.copy-card-heading {
			display: block;
			color: var(--click1-color);
			font-family: var(--font-1);
			font-size: 1.667rem;
			font-weight: 600;
			line-height: 1.2;
			margin-bottom: 0.75em;
		}

		p {
			margin: 0;
			line-height: 1.6;

			&:not(:last-child) {
				margin-bottom: 1em;
			}
		}
	}
}

/* Min Responsive Width 1025px */
@media screen and (min-width: 1025px) {
	ul.copy-card-list {
		.copy-card-item {
			&:hover {
				box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
			}
		}
	}
}
/* End Min Responsive Width 1025px */

/* Responsive Width 800px */
@media screen and (max-width: 800px) {
	.copy-card-panel {
		.copy-card-title {
			font-size: 1.778rem;
		}

		.header-item {
			display: flex;
			flex-direction: column;
			align-items: center;

			.btn {
				margin-top: 2em;

				&.desktop {
					display: none;
				}
			}

			&.mobile {
				display: flex;
				justify-content: center;
			}
		}
	}

	ul.copy-card-list {
		gap: 1rem;

		.copy-card-item {
			width: 100%;
			padding: 1.75em 1.5em;
		}
	}
}
/* End Responsive Width 800px */