/* =====================================================================================
 * Liv / Card / Technology (blocks/technology-rail; Figma "Section · Medical technology"): a white card with a
 * hairline and 16px corners: the photo (325 high in the row, 4:5 in the grid), the label "Technology", the title,
 * a short text. The whole card is the title's link. In the row the cards are 260 wide (the homepage sets its own
 * widths: assets/css/livcom.css); under the row the outline button "See all technologies" shares a line with
 * the slider arrows. The list page shows all technologies as a grid.
 * ===================================================================================== */
.liv-techs { display: flex; flex-direction: column; gap: 16px; min-inline-size: 0; }
.liv-techs > * { margin: 0 !important; max-inline-size: none !important; }
.liv-techs .liv-tech__rail { gap: 16px !important; scrollbar-width: none; -ms-overflow-style: none; }
.liv-techs .liv-tech__rail::-webkit-scrollbar { display: none; }
.liv-techs .liv-tech__rail:not(.liv-slider__track) { display: flex; overflow-x: auto; }
.liv-techs .liv-tech__rail > .liv-tcard { flex: 0 0 260px !important; scroll-snap-align: start; }
.liv-tcard { position: relative; display: flex; flex-direction: column; overflow: hidden; box-sizing: border-box; margin: 0 !important; border: 1px solid #9AA9B8; border-radius: 16px; background: #FFFFFF; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.liv-tcard:hover { border-color: #0082B9; box-shadow: 0 10px 28px rgb(0 130 185 / 0.16); }
.liv-tcard:has(a:focus-visible) { outline: 2px solid #0082B9; outline-offset: 2px; }
.liv-tcard__photo { flex: none; block-size: 325px; margin: 0; overflow: hidden; background: #E4F5FD; }
.liv-tcard .liv-tcard__photo img { display: block; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; border-radius: 0; }
.liv-tcard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.liv-tcard .liv-tcard__body > * { margin: 0; padding: 0; }
.liv-tcard .liv-tcard__kind { color: #0082B9; font-size: 13px; line-height: 1.45; font-weight: 600; }
.liv-tcard h3.liv-tcard__title { color: #386E98; font-size: 20px; line-height: 1.35; font-weight: 600; letter-spacing: 0; -webkit-text-stroke-width: 0; }
.liv-tcard .liv-tcard__title a { color: inherit; text-decoration: none; }
.liv-tcard .liv-tcard__title a::after { content: ""; position: absolute; inset: 0; }
.liv-tcard .liv-tcard__title a:focus-visible { outline: none; }
.liv-tcard .liv-tcard__text { display: -webkit-box; overflow: hidden; color: #22303A; font-size: 14px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; }
/* Under the row. */
.liv-techs > .liv-slider__bar { margin: 0 !important; }
.liv-techs .liv-tech__more .wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; box-sizing: border-box; min-block-size: 0; block-size: 52px; padding: 0 20px; border: 1.5px solid #0082B9; border-radius: 10px; background: transparent; color: #0082B9; font-size: 16px; line-height: 1.2; font-weight: 700; text-decoration: none; }
.liv-techs .liv-tech__more .wp-block-button .wp-block-button__link:hover { background: #EEFAFF; color: #0082B9; }
/* The list page: all technologies. Its title, lead and the grid stand on the wide column. */
.liv-has-tech-grid .liv-main > .wp-block-post-title, .liv-has-tech-grid .liv-main > .wp-block-post-content { max-inline-size: var(--wp--style--global--wide-size) !important; }
.liv-has-tech-grid .liv-main > .wp-block-post-content > * { max-inline-size: none !important; margin-inline: 0 !important; }
.liv-has-tech-grid .liv-main > .wp-block-post-content > p { max-inline-size: 760px !important; }
.liv-techs.is-grid { max-inline-size: none !important; }
.liv-tech__all { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.liv-techs.is-grid .liv-tcard__photo { block-size: auto; aspect-ratio: 4 / 5; }
@media (max-width: 599.98px) {
	.liv-tech__all { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.liv-techs.is-grid .liv-tcard h3.liv-tcard__title { font-size: 16px; }
	.liv-techs.is-grid .liv-tcard__body { padding: 12px; }
	.liv-techs.is-grid .liv-tcard .liv-tcard__text { -webkit-line-clamp: 4; line-clamp: 4; font-size: 13px; }
}
@media (max-width: 1023.98px) {
	/* Phones: the button (filled) and the arrows on one line, as on wide screens (owner 2026-11-19; the phone
	   frame draws the button under the arrows, across the screen). */
	.liv-techs { gap: 12px; }
	/* The button is hollow on phones too, as on wide screens (it was filled; owner 2026-11-19: the changes made to
	   the buttons hold on phones as well). */
}
