/**
 * Services — the /services/ card grid and the twelve service pages.
 *
 * The grid reuses the city cards (.ax-card* in theme.css); only the live
 * page's row spacing and its ruled "Read More ..." link are added here.
 *
 * Service pages are white panels (live `.item > .item-in`) with italic copy,
 * short grey separators, unbulleted lists and a red "...Back" tag hanging off
 * the bottom of the last panel.
 */

/* -------------------------------------------------------------------------
 * Archive grid
 * ---------------------------------------------------------------------- */

.ax-svc-cards__inner {
	margin-bottom: 4px;
}

.ax-svc-cards__lead {
	min-height: 1px;
	margin-top: 4px;
}

.ax-svc-cards__row {
	margin-bottom: 24px;
}

.ax-svc-cards__col {
	margin-top: 24px;
}

.ax-svc-cards__more {
	display: grid;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: #561778;
	text-align: center;
	text-transform: uppercase;
}

.ax-svc-cards__more::before,
.ax-svc-cards__more::after {
	content: "";
	border-top: 6px double #ffe5f4;
}

/* -------------------------------------------------------------------------
 * Service page panels
 * ---------------------------------------------------------------------- */

.ax-svc-mt5 {
	margin-top: 48px;
}

.ax-svc-item {
	float: left;
	min-height: 1px;
	margin-bottom: 30px;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
}

.ax-svc-item__in {
	position: relative;
	padding: 40px;
	background: #fff;
}

.ax-svc-item__in::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: #333;
	transition: width 0.4s;
}

.ax-svc-item__in:hover::before {
	width: 100%;
}

.ax-svc-item h1 {
	padding-top: 30px;
}

.ax-svc-item h4 {
	margin-top: 25px;
	font-size: 18px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.ax-svc-item p {
	font-size: 16px;
	font-style: italic;
	font-weight: 400;
	line-height: 26px;
}

.ax-svc-item .ax-svc-mb4 {
	margin-bottom: 24px;
}

.ax-svc-br {
	margin: 0;
}

.ax-svc-sep {
	box-sizing: border-box;
	width: 35px;
	height: 3px;
	margin: 0 0 10px;
	border: 0;
	background: #777;
}

.ax-svc-list {
	margin: 8px 0 16px;
	padding: 0;
	list-style: none;
}

.ax-svc-list li {
	margin-top: 16px;
}

/* The "...Back" tag: an absolutely placed link inside a 20px strip. */
.ax-svc-back {
	position: relative;
	padding: 10px;
	color: #626060;
	font-family: "Oswald", serif;
	font-weight: 700;
}

.ax-svc-item .ax-svc-back__text {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	margin: 0;
	padding: 10px;
	color: #fff;
	font-style: normal;
	font-weight: 700;
	line-height: 1.5;
	text-shadow: 1px 1px #111;
}

.ax-svc-back__text a {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	margin-top: 10px;
	padding: 10px;
	border-right: 1px solid #777;
	background: #c8102e;
	color: #fff;
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	text-shadow: 1px 1px #111;
	text-transform: uppercase;
}

.ax-svc-back__text a:hover,
.ax-svc-back__text a:focus {
	color: #fff;
	text-decoration: none;
}

/* Accommodation's page shrinks its heading with `h1 { font-size: 2rem !important }`. */
.ax-svc-item h1.ax-svc-h1-sm {
	font-size: 2rem;
}
