/*
 * Contact - Desks.
 *
 * Read from cp-all-designer css/contact.css:52-83 (.ctudesk) and css/app.css (the head). What the
 * Style tab sets arrives through the widget's selectors.
 *
 * Tiers: mobile up to 767px, tablet 768-1024px, desktop 1025px and up;
 * a row also steps at the design's own 640px.
 */

/* ------------------------------------------------------------------ */
/* The band and the head — app.css:230-252, 291-294, 385-408           */
/* ------------------------------------------------------------------ */

.custom-contact-desks {
	position: relative;
	display: block;
	box-sizing: border-box;
}

.custom-contact-desks__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1920px;                     /* the content cap, every band */
	margin: 0 auto;
}

.custom-contact-desks__head {
	margin-left: auto;
	margin-right: auto;
}

.custom-contact-desks__title {
	margin: 0;
	padding: 0;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}

.custom-contact-desks__title strong {
	font-weight: 700;
}

/* app.css:246-252 — the highlighted part, with the soft bar under it */
.custom-contact-desks__title em {
	position: relative;
	display: inline-block;
	font-style: italic;
	font-weight: 700;
}

.custom-contact-desks__title em::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.06em;
	height: 0.16em;
	border-radius: 3px;
	background: currentColor;
	opacity: 0.18;
}

.custom-contact-desks [data-custom-sweep-ghost] em::after {
	opacity: 0.12;                         /* app.css:275 */
}

/* app.css:291-294 — a measure of its own, its words centred inside it */
.custom-contact-desks__intro {
	margin-bottom: 0;
	font-weight: 400;
	line-height: 1.7;
}

/* app.css:3016 — a phone's lead sets tighter */
@media (max-width: 640px) {
	.custom-contact-desks__intro {
		line-height: 1.5;
	}
}

/* ------------------------------------------------------------------ */
/* The panel — contact.css:52-83                                       */
/* ------------------------------------------------------------------ */

.custom-contact-desks__panel {
	box-sizing: border-box;
	background: #FFFFFF;
	border: 1px solid #EEF2F7;
	text-align: left;
}

.custom-contact-desks__list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.custom-contact-desks__row {
	display: grid;
	grid-template-columns: var(--custom-desks-ico, 46px) minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px 23px;                        /* clamp(14, 1.6*vwu, 24) */
	margin: 0;
	padding: var(--custom-desks-row, 22px) 0;
	border-top: 1px solid #EEF2F7;
}

.custom-contact-desks__row:first-child {
	padding-top: 0;
	border-top: 0;
}

.custom-contact-desks__row:last-child {
	padding-bottom: 0;
}

/* contact.css:65-67 */
.custom-contact-desks__ico {
	display: grid;
	place-items: center;
	width: var(--custom-desks-ico, 46px);
	height: var(--custom-desks-ico, 46px);
	border-radius: 14px;
	background: #F0F9FD;
}

.custom-contact-desks__ico:empty {
	background: transparent !important;
}

.custom-contact-desks__ico svg,
.custom-contact-desks__ico img {
	display: block;
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.custom-contact-desks__ico .is-a {
	fill: #16418C;
}

.custom-contact-desks__ico .is-b {
	fill: #50A3D5;
}

/* contact.css:69-71 */
.custom-contact-desks__body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.custom-contact-desks__row-title {
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0;
}

.custom-contact-desks__row-text {
	margin: 0;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.6;
}

/* contact.css:72-80 */
.custom-contact-desks__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.custom-contact-desks__links li {
	margin: 0;
}

.custom-contact-desks__chip {
	--custom-press-ink: var(--custom-desks-chip-ink, #16418C);
	--custom-press-edge: var(--custom-desks-chip-edge, #EEF2F7);
	--custom-press-ground: var(--custom-desks-chip-ground, transparent);
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-width: 1px;
	border-style: solid;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;            /* app.css:174 body */
	white-space: nowrap;
	transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            border-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            color 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

a.custom-contact-desks__chip:hover {
	--custom-press-ink: var(--custom-desks-chip-hover-ink, #50A3D5);
	--custom-press-edge: var(--custom-desks-chip-hover-edge, #50A3D5);
	transform: translateY(-2px);
}

/* the design's clamps at 1024px */
@media (max-width: 1024px) {
	.custom-contact-desks__row {
		gap: 12px 15px;
	}
}

/* the design's own step — contact.css:101-103 */
@media (max-width: 640px) {
	.custom-contact-desks__row {
		grid-template-columns: var(--custom-desks-ico, 46px) minmax(0, 1fr);
		gap: 12px 14px;
	}

	.custom-contact-desks__links {
		grid-column: 1 / -1;
	}

	/* a long address on a narrow phone wraps rather than leave the panel */
	.custom-contact-desks__chip {
		max-width: 100%;
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

@media (prefers-reduced-motion: reduce) {
	.custom-contact-desks__chip {
		transition: none;
	}
}
