/*
 * The Medical Technologies page (/medical-technologies/) in the layout of beta.mlphosts.com/medical-technologies with
 * the new design's colours and measures (owner 2026-11-20). Markup: inc/livcom-page-technologies.php (class
 * "lc-techs"; <body> carries "lc-page-techs"); band: templates/page-medical-technologies.html and livcom-shell.css.
 *
 * "Find a technology" in the light-blue panel of the hospitals page (title, line, the search pill, the letters as
 * round buttons, "All" a pill), then the technologies four in a row: white cards with a hairline and 16px corners,
 * the photo, the name in the Liv colour (owner 2026-11-20); under the pointer the card rises a little.
 */

.lc-techs { --lc-t-brand: #0082B9; display: flex; flex-direction: column; gap: 40px; min-inline-size: 0; margin-block-end: 56px !important; }
.lc-techs [hidden] { display: none !important; }
.lc-techs :is(h2, p, ul, li) { margin: 0; padding: 0; }
.lc-techs ul { list-style: none; }
.lc-techs a { text-decoration: none; }
/* The list page's wide column of technology.css is not used: the column of the inner pages. */
body.lc-page-techs { background: #FFFFFF; }
body.lc-page-techs .lc-techs-page > .liv-cat__content { max-inline-size: none; }

/* ---------- Find a technology ---------- */
.lc-tfind { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); align-items: center; gap: 24px 40px; padding: 32px 36px; overflow: hidden; border: 1px solid #D6ECF6; border-radius: 24px; background: linear-gradient(120deg, #EEFAFF 0%, #F7FCFF 55%, #E6F5FC 100%); }
.lc-tfind::before { content: ""; position: absolute; z-index: -1; inset-block-start: -120px; inset-inline-end: -80px; inline-size: 340px; block-size: 340px; border-radius: 50%; background: radial-gradient(circle, rgb(0 130 185 / 0.12), rgb(0 130 185 / 0) 70%); pointer-events: none; }
.lc-tfind__head { display: flex; flex-direction: column; gap: 6px; }
.lc-techs .lc-tfind__title { color: var(--lc-t-brand); font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.005em; -webkit-text-stroke-width: 0; }
.lc-tfind__lead { color: #386E98; font-size: 16px; line-height: 1.5; }
.lc-tfind__form { margin: 0 !important; }
.lc-tfind__field { position: relative; display: flex; align-items: center; gap: 4px; box-sizing: border-box; inline-size: 100%; block-size: 60px; padding: 6px; padding-inline-start: 20px; border: 1px solid #DCE4EA; border-radius: 999px; background: #FFFFFF; box-shadow: 0 10px 28px rgb(0 70 102 / 0.08); transition: border-color 0.15s, box-shadow 0.15s; }
.lc-tfind__field:focus-within { border-color: var(--lc-t-brand); box-shadow: 0 0 0 4px rgb(0 130 185 / 0.14), 0 10px 28px rgb(0 70 102 / 0.08); }
.lc-tfind__icon { flex: none; color: var(--lc-t-brand); }
.lc-techs .lc-tfind__field input { flex: 1 1 auto; min-inline-size: 0; block-size: 100%; margin: 0; padding: 0 8px; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: 0; color: #163B4D; font: inherit; font-size: 16px; line-height: 1.4; -webkit-appearance: none; appearance: none; }
.lc-techs .lc-tfind__field input::-webkit-search-cancel-button { display: none; }
.lc-techs .lc-tfind__field input::placeholder { color: #6B7F8C; opacity: 1; }
.lc-tfind__clear { flex: none; display: inline-flex; align-items: center; justify-content: center; inline-size: 32px; block-size: 32px; padding: 0; border: 0; border-radius: 50%; background: #EEF3F6; color: #566F7A; cursor: pointer; }
.lc-tfind__clear:hover { background: #DCE4EA; color: #163B4D; }
.lc-tfind__go { flex: none; display: inline-flex; align-items: center; gap: 8px; block-size: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--lc-t-brand); color: #FFFFFF; font: inherit; font-size: 15px; line-height: 1; font-weight: 700; cursor: pointer; transition: background-color 0.15s; }
.lc-tfind__go:hover { background: #05658B; }
[dir="rtl"] .lc-tfind__go svg { transform: scaleX(-1); }
.lc-tfind__letters { grid-column: 1 / -1; padding-block-start: 20px; border-block-start: 1px solid #D6ECF6; }
.lc-tfind__letters ul { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-tfind__letter { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-inline-size: 40px; block-size: 40px; padding: 0 6px; border: 1px solid #DCE4EA; border-radius: 999px; background: #FFFFFF; color: var(--lc-t-brand); font-size: 15px; line-height: 1; font-weight: 700; transition: border-color 0.15s, background-color 0.15s, color 0.15s, box-shadow 0.15s; }
.lc-tfind__letter.is-all { padding: 0 18px; }
.lc-tfind__letter:hover { border-color: var(--lc-t-brand); background: #EEFAFF; color: var(--lc-t-brand); }
.lc-tfind__letter[aria-current="true"], .lc-tfind__letter[aria-current="true"]:hover { border-color: var(--lc-t-brand); background: var(--lc-t-brand); color: #FFFFFF; box-shadow: 0 8px 20px rgb(0 130 185 / 0.24); }
.lc-tfind__letter:focus-visible, .lc-tfind__go:focus-visible, .lc-tfind__clear:focus-visible { outline: 2px solid var(--lc-t-brand); outline-offset: 2px; }

/* ---------- The technologies ---------- */
.lc-tgrid { display: flex; flex-direction: column; gap: 6px; }
.lc-tgrid__count { color: #566F7A; font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.lc-techs .lc-tgrid__title { color: var(--lc-t-brand); font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: 0; -webkit-text-stroke-width: 0; }
.lc-tgrid__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-block-start: 14px !important; }
.lc-tgrid__item { display: flex; min-inline-size: 0; }
.lc-tcard { flex: 1; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #DCE4EA; border-radius: 16px; background: #FFFFFF; color: #163B4D; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.lc-tcard:hover, .lc-tcard:focus-visible { transform: translateY(-4px); border-color: #B9DDEE; box-shadow: 0 14px 36px rgb(0 130 185 / 0.18); outline: 0; }
.lc-tcard:focus-visible { box-shadow: 0 0 0 3px rgb(0 130 185 / 0.35), 0 14px 36px rgb(0 130 185 / 0.18); }
.lc-tcard__photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #EEFAFF 0%, #D6EEFA 100%); }
.lc-tcard__photo img { display: block; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.24, 1); }
.lc-tcard:hover .lc-tcard__photo img { transform: scale(1.04); }
.lc-tcard__name { flex: 1; display: flex; align-items: center; justify-content: center; padding: 16px 18px 18px; color: var(--lc-t-brand); font-size: 15px; line-height: 1.4; font-weight: 700; text-align: center; transition: color 0.15s; }
.lc-tcard:hover .lc-tcard__name { color: #05658B; }
.lc-tgrid__empty { padding: 24px 0; color: #566F7A; font-size: 16px; }

/* ---------- Tablets ---------- */
@media (max-width: 1023.98px) {
	.lc-tfind { grid-template-columns: minmax(0, 1fr); }
	.lc-tgrid__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

/* ---------- Phones ---------- */
@media (max-width: 767.98px) {
	.lc-techs { gap: 28px; margin-block-end: 40px !important; }
	.lc-tfind { gap: 16px; padding: 20px 16px; border-radius: 20px; }
	.lc-techs .lc-tfind__title { font-size: 24px; }
	.lc-tfind__lead { font-size: 15px; }
	.lc-tfind__field { block-size: 54px; padding-inline-start: 16px; }
	.lc-tfind__go { inline-size: 42px; block-size: 42px; justify-content: center; padding: 0; }
	.lc-tfind__go span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.lc-tfind__letters { padding-block-start: 16px; }
	.lc-tfind__letters ul { gap: 6px; }
	.lc-tfind__letter { min-inline-size: 36px; block-size: 36px; font-size: 14px; }
	.lc-techs .lc-tgrid__title { font-size: 22px; }
	.lc-tgrid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.lc-tcard__name { padding: 12px 10px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.lc-tcard, .lc-tcard__photo img, .lc-tfind__letter { transition: none; }
	.lc-tcard:hover, .lc-tcard:focus-visible { transform: none; }
	.lc-tcard:hover .lc-tcard__photo img { transform: none; }
}
