/*! RCS Mobile 1.0.2 – phone layout (screens up to 767px). Desktop and tablet are untouched. */

/* Own elements of the plugin: hidden everywhere unless the phone rules below switch them on. */
.rcsm-el { display: none; }

@media (max-width: 767.98px) {

	/* ---------------------------------------------------------------- basics */
	html.rcsm {
		--rcsm-dark: #2d2d2d;
		--rcsm-grey: #434242;
		--rcsm-grey2: #878787;
		--rcsm-green: #B4CF52;
		--rcsm-light: #f4f4f2;
		--rcsm-head: 'Mulish', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
		--rcsm-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
		--rcsm-sb: env(safe-area-inset-bottom, 0px);
		--rcsm-sl: env(safe-area-inset-left, 0px);
		--rcsm-sr: env(safe-area-inset-right, 0px);
		--rcsm-barh: calc(60px + var(--rcsm-sb));
		--rcsm-menuh: 0px;
		--rcsm-vh: 100vh;
		--rcsm-dvh: 100vh;
		overflow-x: hidden;
	}
	@supports (height: 100svh) { html.rcsm { --rcsm-vh: 100svh; } }
	@supports (height: 100dvh) { html.rcsm { --rcsm-dvh: 100dvh; } }
	html.rcsm body { padding-bottom: var(--rcsm-barh); overflow-x: hidden; }
	html.rcsm.rcsm-locked, html.rcsm.rcsm-locked body { overflow: hidden; }
	html.rcsm .rcsm-hide { display: none !important; }

	/* Theme "back to top" button: hidden on phones (it covered content next to the action bar) */
	html.rcsm .scroll-to-top { display: none !important; }

	/* Reset inside the plugin's own blocks (the theme styles h1-h3, p, ul, button, section) */
	.rcsm .rcsm-home, .rcsm .rcsm-sheet, .rcsm .rcsm-bar, .rcsm .rcsm-single, .rcsm .rcsm-menu {
		font: 400 15px/1.65 var(--rcsm-body);
		color: var(--rcsm-grey);
		text-align: left;
		-webkit-tap-highlight-color: transparent;
	}
	/* :where() keeps these resets weak, so the plugin's own class rules below always win */
	.rcsm :where(.rcsm-home, .rcsm-sheet, .rcsm-bar, .rcsm-single, .rcsm-menu) :where(*, *::before, *::after) { box-sizing: border-box; }
	.rcsm :where(.rcsm-home, .rcsm-sheet, .rcsm-single) :where(h1, h2, h3, p, ul, ol, li, dl, dt, dd, section) {
		margin: 0;
		padding: 0;
		list-style: none;
		letter-spacing: normal;
		text-transform: none;
	}
	.rcsm :where(.rcsm-home, .rcsm-sheet, .rcsm-single, .rcsm-tile-ph) img {
		display: block;
		max-width: 100%;
		height: auto;
		border: 0;
		border-radius: 0;
	}
	/*
	 * Buttons and links of the plugin: neutral start. In WordPress this file loads BEFORE Bootstrap, the theme
	 * and Elementor, so on equal weight their rules win (Elementor kit: "button { background-color: #2D2D2D }",
	 * Bootstrap: "[type=button] { appearance: button }", theme: link colours and transitions on a, a:hover,
	 * a:focus, a:active). html + :is() give this rule weight (0,2,2): heavier than all of those, and also than
	 * what Elementor's site settings for buttons/links would add later ("... button:hover", (0,2,1)).
	 * Every rule below that styles a plugin button or link weighs (0,2,2) or more, so the plugin still wins.
	 */
	html.rcsm :is(.rcsm-home, .rcsm-sheet, .rcsm-bar, .rcsm-single, .rcsm-menu) :is(a, button) {
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
		outline: none;
		color: inherit;
		font: inherit;
		letter-spacing: inherit;
		text-transform: inherit;
		text-decoration: none;
		text-shadow: inherit;
		min-width: auto;
		min-height: auto;
		transition: initial;
		-webkit-appearance: none;
		appearance: none;
	}
	/* buttons keep the browser's own button start (no inherited letter spacing or capitals) */
	html.rcsm :is(.rcsm-home, .rcsm-sheet, .rcsm-bar, .rcsm-single) button {
		letter-spacing: normal;
		text-transform: none;
		text-shadow: none;
		cursor: pointer;
	}
	html.rcsm :is(.rcsm-home, .rcsm-sheet, .rcsm-bar, .rcsm-single, .rcsm-menu) :focus-visible {
		outline: 3px solid var(--rcsm-green);
		outline-offset: 2px;
	}
	.rcsm :where(.rcsm-home, .rcsm-sheet, .rcsm-bar, .rcsm-single) svg { display: block; }
	/* text only for screen readers */
	.rcsm .rcsm-sr {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
		border: 0;
	}

	/* ----------------------------------------------- menu bar under the header */
	/* Lives inside the theme header (position: relative), so it scrolls away with it. It lies over the top of the
	   banner photo, like the header does. The theme's open menu (.menu_area, z-index 2) stays on top of it. */
	.rcsm .rcsm-menu {
		display: flex;
		justify-content: space-around;
		position: absolute;
		z-index: 1;
		left: 0;
		right: 0;
		top: 100%;
		height: 44px;
		padding: 0 calc(6px + var(--rcsm-sr)) 0 calc(6px + var(--rcsm-sl));
		background: var(--rcsm-dark);
	}
	html.rcsm.rcsm-menu-on { --rcsm-menuh: 44px; }
	html.rcsm .rcsm-menu a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0 8px;
		color: #fff;
		font: 800 13px/1 var(--rcsm-head);
		letter-spacing: .06em;
		text-transform: uppercase;
		white-space: nowrap;
	}
	html.rcsm .rcsm-menu a[aria-current="page"] { color: var(--rcsm-green); }
	html.rcsm .rcsm-menu a:focus-visible { outline-offset: -3px; }

	/* ---------------------------------------------------------- action bar */
	.rcsm .rcsm-bar {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		position: fixed;
		z-index: 9990;
		left: 0;
		right: 0;
		bottom: 0;
		height: var(--rcsm-barh);
		padding: 0 var(--rcsm-sr) var(--rcsm-sb) var(--rcsm-sl);
		background: var(--rcsm-dark);
		box-shadow: 0 -2px 12px rgba(0, 0, 0, .15);
	}
	.rcsm .rcsm-bar .rcsm-bar-item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-height: 44px;
		height: 60px;
		width: 100%;
		color: #fff;
		font: 800 11px/1 var(--rcsm-head);
		letter-spacing: .12em;
		text-transform: uppercase;
	}
	.rcsm .rcsm-bar .rcsm-bar-item:hover, .rcsm .rcsm-bar .rcsm-bar-item:active { color: #fff; }
	.rcsm .rcsm-bar .rcsm-bar-item + .rcsm-bar-item { border-left: 1px solid rgba(255, 255, 255, .1); }
	.rcsm .rcsm-bar svg { width: 22px; height: 22px; color: var(--rcsm-green); }

	/* ------------------------------------------------------- shared pieces */
	.rcsm .rcsm-pad { padding-left: calc(20px + var(--rcsm-sl)); padding-right: calc(20px + var(--rcsm-sr)); }
	.rcsm .rcsm-sub {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		font: 800 12px/1.2 var(--rcsm-head);
		letter-spacing: .14em;
		text-transform: uppercase;
		color: var(--rcsm-grey2);
	}
	.rcsm .rcsm-sub::before {
		content: "";
		flex: none;
		width: 10px;
		height: 10px;
		border-radius: 50%;
		background: var(--rcsm-green);
	}
	.rcsm .rcsm-home .rcsm-h2 {
		margin: 8px 0 14px;
		font: 800 clamp(24px, 7vw, 32px)/1.15 var(--rcsm-head);
		color: var(--rcsm-dark);
		text-transform: uppercase;
		letter-spacing: .02em;
	}
	.rcsm .rcsm-home .rcsm-lead { margin: 0 0 16px; font-size: 15px; }
	html.rcsm button.rcsm-iconbtn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		border-radius: 50%;
		color: var(--rcsm-dark);
	}
	.rcsm .rcsm-iconbtn svg { width: 26px; height: 26px; }
	.rcsm .rcsm-date {
		display: block;
		font: 700 12px/1.3 var(--rcsm-head);
		letter-spacing: .1em;
		text-transform: uppercase;
		color: var(--rcsm-grey2);
	}
	html.rcsm :is(a, button).rcsm-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		padding: 0 22px;
		border-radius: 4px;
		background: var(--rcsm-green);
		color: var(--rcsm-dark);
		font: 800 13px/1 var(--rcsm-head);
		letter-spacing: .12em;
		text-transform: uppercase;
	}
	.rcsm .rcsm-btn:hover, .rcsm .rcsm-btn:active { color: var(--rcsm-dark); }
	html.rcsm a.rcsm-link {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		font: 800 12px/1.2 var(--rcsm-head);
		letter-spacing: .12em;
		text-transform: uppercase;
		color: var(--rcsm-dark);
	}
	.rcsm .rcsm-link::after { content: "\00a0\2192"; color: var(--rcsm-green); }
	.rcsm .rcsm-right { text-align: right; }
	.rcsm .rcsm-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0 0 16px; font-size: 14px; }
	.rcsm .rcsm-ticks li { position: relative; padding-left: 20px; }
	.rcsm .rcsm-ticks li::before {
		content: "";
		position: absolute;
		left: 2px;
		top: .5em;
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: var(--rcsm-green);
	}

	/* ------------------------------------------------------------ carousels */
	.rcsm .rcsm-car { position: relative; }
	.rcsm .rcsm-rail {
		display: flex;
		gap: 12px;
		margin: 0;
		padding: 4px calc(20px + var(--rcsm-sr)) 8px calc(20px + var(--rcsm-sl));
		list-style: none;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 calc(20px + var(--rcsm-sr)) 0 calc(20px + var(--rcsm-sl));
		overscroll-behavior-x: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		position: relative;
	}
	.rcsm .rcsm-rail::-webkit-scrollbar { display: none; }
	html.rcsm .rcsm-rail:focus-visible { outline-offset: -3px; }
	.rcsm .rcsm-cslide { flex: 0 0 85%; scroll-snap-align: start; display: flex; }
	.rcsm .rcsm-ctrl { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 4px; }
	.rcsm .rcsm-one .rcsm-ctrl { display: none; }
	.rcsm .rcsm-dots { display: flex; }
	html.rcsm .rcsm-dots button { position: relative; width: 44px; height: 44px; }
	.rcsm .rcsm-dots button::before {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 10px;
		height: 10px;
		margin: -5px 0 0 -5px;
		border-radius: 50%;
		background: #c9c9c9;
		transition: background .2s, transform .2s;
	}
	.rcsm .rcsm-dots button[aria-current="true"]::before { background: var(--rcsm-green); transform: scale(1.3); }
	.rcsm .rcsm-count { display: flex; align-items: center; gap: 6px; font: 700 14px/1 var(--rcsm-head); color: var(--rcsm-grey2); }
	.rcsm .rcsm-count b { color: var(--rcsm-dark); font-weight: 800; }
	.rcsm .rcsm-count b.rcsm-cur { color: var(--rcsm-green); }
	.rcsm .rcsm-count .rcsm-iconbtn { width: 44px; height: 44px; }
	.rcsm .rcsm-count .rcsm-iconbtn svg { width: 24px; height: 24px; }
	.rcsm .rcsm-count .rcsm-iconbtn[disabled] { opacity: .3; cursor: default; }

	/* ---------------------------------------------------------------- cards */
	html.rcsm :is(a, button).rcsm-card {
		display: flex;
		flex-direction: column;
		width: 100%;
		text-align: left;
		background: #fff;
		border-radius: 8px;
		overflow: hidden;
		color: var(--rcsm-grey);
		box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
		border: 1px solid rgba(0, 0, 0, .05);
	}
	.rcsm .rcsm-card:hover, .rcsm .rcsm-card:active { color: var(--rcsm-grey); }
	.rcsm .rcsm-ph { display: block; position: relative; width: 100%; aspect-ratio: 16 / 10; background: #ddd; overflow: hidden; }
	.rcsm .rcsm-home .rcsm-ph img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
	.rcsm .rcsm-cbody { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; width: 100%; }
	.rcsm .rcsm-ctitle {
		font: 800 17px/1.25 var(--rcsm-head);
		color: var(--rcsm-dark);
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.rcsm .rcsm-services .rcsm-ctitle { text-transform: uppercase; letter-spacing: .02em; }
	.rcsm .rcsm-ctext {
		font-size: 14px;
		line-height: 1.55;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.rcsm .rcsm-more {
		margin-top: auto;
		padding-top: 4px;
		font: 800 12px/1.2 var(--rcsm-head);
		letter-spacing: .12em;
		text-transform: uppercase;
		color: var(--rcsm-dark);
	}
	.rcsm .rcsm-more::after { content: " \2192"; color: var(--rcsm-green); }

	/* -------------------------------------------------------------- homepage */
	.rcsm .rcsm-home { display: block; position: relative; }
	html.rcsm.rcsm-home-on { scroll-snap-type: y proximity; }
	.rcsm .rcsm-screen {
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: calc(var(--rcsm-vh) - var(--rcsm-barh));
		margin: 0;
		padding: 28px 0 20px;
		scroll-snap-align: start;
		overflow: visible;
	}

	/* a. banner: starts under the theme header, like the theme banner did */
	.rcsm .rcsm-hero {
		margin-top: calc(var(--rcsm-hdr, 70px) * -1);
		height: calc(var(--rcsm-vh) - var(--rcsm-barh));
		min-height: 360px;
		padding: 0;
		background: var(--rcsm-dark);
		overflow: hidden;
	}
	.rcsm .rcsm-hero .rcsm-hero-car { position: absolute; inset: 0; }
	.rcsm .rcsm-hero .rcsm-rail { position: absolute; inset: 0; padding: 0; gap: 0; scroll-padding: 0; }
	.rcsm .rcsm-bslide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
	.rcsm .rcsm-home .rcsm-bslide img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
	.rcsm .rcsm-shade {
		position: absolute;
		inset: 0;
		z-index: 1;
		pointer-events: none;
		background: linear-gradient(-90deg, rgba(45, 45, 45, 0), #2d2d2d 105%);
	}
	.rcsm .rcsm-hero-txt {
		position: absolute;
		inset: calc(var(--rcsm-hdr, 70px) + var(--rcsm-menuh)) 0 0 0;
		z-index: 2;
		display: flex;
		flex-direction: column;
		justify-content: center;
		pointer-events: none;
	}
	.rcsm .rcsm-hero .rcsm-sub { color: #fff; }
	.rcsm .rcsm-rot { display: inline-block; transition: opacity .5s ease; }
	.rcsm .rcsm-rot.rcsm-out { opacity: 0; }
	.rcsm .rcsm-home .rcsm-hero-h {
		margin: 6px 0 0;
		color: #fff;
		font: 500 clamp(40px, 12vw, 64px)/1 var(--rcsm-head);
		text-transform: uppercase;
	}
	.rcsm .rcsm-hero-h strong { font-weight: 800; }
	.rcsm .rcsm-hero-h strong:last-child { display: block; text-align: right; }
	.rcsm .rcsm-hero .rcsm-ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 8px; margin: 0; }
	.rcsm .rcsm-hero .rcsm-dots button::before { background: rgba(255, 255, 255, .55); }
	.rcsm .rcsm-hero .rcsm-dots button[aria-current="true"]::before { background: var(--rcsm-green); }

	.rcsm .rcsm-services { background: var(--rcsm-light); }
	.rcsm .rcsm-projects { background: #fff; }

	/* d. about */
	.rcsm .rcsm-about { background: var(--rcsm-dark); color: #d6d6d6; }
	.rcsm .rcsm-home .rcsm-about .rcsm-h2 { color: #fff; }
	.rcsm .rcsm-about .rcsm-sub { color: #bdbdbd; }
	.rcsm .rcsm-stats { display: flex; gap: 12px; margin: 0 0 14px; }
	.rcsm .rcsm-stat { flex: 1; padding: 12px 14px; border-left: 3px solid var(--rcsm-green); background: rgba(255, 255, 255, .05); }
	.rcsm .rcsm-stat b { display: block; font: 800 clamp(19px, 6vw, 24px)/1.1 var(--rcsm-head); color: #fff; white-space: nowrap; }
	.rcsm .rcsm-stat span { font-size: 13px; }
	/* same colour as the logo bar on the computer (theme .bg-secondary, set to #2d2d2d in Theme Options > Custom CSS) */
	.rcsm .rcsm-logobar { display: flex; gap: 10px; margin: 18px 0 0; padding: 12px; background: #2d2d2d; border-radius: 8px; }
	.rcsm .rcsm-home .rcsm-logobar li { flex: 1; min-width: 0; }
	.rcsm .rcsm-home .rcsm-logobar img { width: 100%; }

	/* e. contact */
	.rcsm .rcsm-contact { background: var(--rcsm-light); }
	.rcsm .rcsm-cgrid { display: grid; gap: 14px; }
	.rcsm .rcsm-home .rcsm-block h3 {
		margin: 0 0 4px;
		font: 800 12px/1.2 var(--rcsm-head);
		letter-spacing: .14em;
		text-transform: uppercase;
		color: var(--rcsm-dark);
	}
	.rcsm .rcsm-clist { display: grid; gap: 4px; margin: 0; }
	.rcsm .rcsm-clist div { display: flex; flex-direction: column; }
	.rcsm .rcsm-home .rcsm-clist dt, .rcsm .rcsm-sheet .rcsm-clist dt {
		font: 700 11px/1.3 var(--rcsm-head);
		letter-spacing: .12em;
		text-transform: uppercase;
		color: var(--rcsm-grey2);
	}
	html.rcsm .rcsm-clist a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
		font-weight: 600;
		color: var(--rcsm-dark);
		word-break: break-all;
	}
	.rcsm .rcsm-social { display: flex; gap: 12px; margin: 0; padding: 0; }
	html.rcsm a.rcsm-soc { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; }
	.rcsm .rcsm-soc svg { width: 24px; height: 24px; }
	html.rcsm a.rcsm-soc-linkedin { background: #0A66C2; }
	html.rcsm a.rcsm-soc-facebook { background: #0866FF; }
	html.rcsm a.rcsm-soc-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

	/* ----------------------------------------------------------- bottom sheet */
	.rcsm .rcsm-scrim {
		display: block;
		position: fixed;
		z-index: 100000;
		inset: 0;
		background: rgba(0, 0, 0, .5);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s, visibility .3s;
	}
	.rcsm .rcsm-scrim.rcsm-on { opacity: 1; visibility: visible; }
	.rcsm .rcsm-sheet {
		display: none;
		flex-direction: column;
		position: fixed;
		z-index: 100001;
		left: 0;
		right: 0;
		bottom: 0;
		max-height: calc(var(--rcsm-dvh) - env(safe-area-inset-top, 0px) - 16px);
		margin: 0;
		padding: 0;
		border-radius: 16px 16px 0 0;
		background: #fff;
		box-shadow: 0 -8px 40px rgba(0, 0, 0, .35);
		transform: translateY(105%);
		transition: transform .3s cubic-bezier(.2, .8, .2, 1);
		outline: none;
	}
	.rcsm .rcsm-sheet.rcsm-show { display: flex; }
	.rcsm .rcsm-sheet.rcsm-open { transform: none; }
	.rcsm .rcsm-sheet.rcsm-drag { transition: none; }
	.rcsm .rcsm-sheet-head {
		display: flex;
		flex: none;
		position: relative;
		justify-content: flex-end;
		align-items: center;
		height: 52px;
		padding: 0 4px;
		touch-action: none;
		cursor: grab;
	}
	.rcsm .rcsm-grab { position: absolute; left: 50%; top: 8px; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: #cfcfcf; }
	.rcsm .rcsm-sheet-body {
		flex: 1;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding-bottom: calc(20px + var(--rcsm-sb));
	}
	.rcsm .rcsm-sheet-text { padding: 16px calc(20px + var(--rcsm-sr)) 8px calc(20px + var(--rcsm-sl)); }
	.rcsm .rcsm-sheet .rcsm-sheet-title { margin: 6px 0 12px; font: 800 22px/1.2 var(--rcsm-head); color: var(--rcsm-dark); }
	.rcsm .rcsm-sheet p { margin: 0 0 12px; overflow-wrap: anywhere; }
	.rcsm .rcsm-sheet-text .rcsm-btn { margin-top: 4px; }
	.rcsm .rcsm-sheet-text .rcsm-ticks { grid-template-columns: 1fr; }

	/* photo galleries (sheets and single project) */
	.rcsm .rcsm-gal .rcsm-rail { padding: 0; gap: 0; scroll-padding: 0; }
	.rcsm .rcsm-gslide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
	.rcsm .rcsm-gslide img { width: 100%; height: auto; max-width: none; aspect-ratio: 4 / 3; object-fit: contain; background: #1f1f1f; }

	/* ---------------------------------------------------- projects page tiles */
	html.rcsm body.blog .row > .mt-n2-9.rcsm-tiles {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		align-content: start;
		align-items: stretch;
		margin-top: 0;
		padding-top: 30px;
	}
	html.rcsm body.blog .rcsm-tiles > .col-md-12 { grid-column: 1 / -1; }
	html.rcsm body.blog .rcsm-tiles > article.rcsm-tile { margin: 0; min-width: 0; }
	html.rcsm .rcsm-tile .blog-style01 { height: 100%; margin: 0; padding: 0; border-radius: 8px; overflow: hidden; }
	html.rcsm .rcsm-tile .inner-box { position: relative; display: flex; flex-direction: column; height: 100%; padding: 0 0 12px; }
	html.rcsm .rcsm-tile .image-hover,
	html.rcsm .rcsm-tile .post-info,
	html.rcsm .rcsm-tile .inner-box > p,
	html.rcsm .rcsm-tile .inner-box > .butn,
	html.rcsm .rcsm-tile .inner-box > .position-relative { display: none; }
	html.rcsm .rcsm-tile .rcsm-tile-ph { display: block; position: relative; aspect-ratio: 4 / 3; margin: 0 0 10px; background: #ddd; overflow: hidden; }
	html.rcsm .rcsm-tile .rcsm-tile-ph img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
	html.rcsm .rcsm-tile .inner-box h3,
	html.rcsm .rcsm-tile .inner-box h5 {
		margin: 0 10px 4px;
		font-size: 15px;
		line-height: 1.3;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		overflow-wrap: anywhere;
	}
	html.rcsm .rcsm-tile .inner-box :is(h3, h5) > a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
	html.rcsm .rcsm-tile .rcsm-tile-date {
		display: block;
		margin: auto 10px 0;
		font: 700 11px/1.3 var(--rcsm-head);
		letter-spacing: .08em;
		text-transform: uppercase;
		color: var(--rcsm-grey2);
	}

	/* -------------------------------------------------------- single project */
	html.rcsm .rcsm-single { display: block; margin: 0 0 16px; }
	html.rcsm .rcsm-single .rcsm-gal .rcsm-gslide img { border-radius: 0; }
	html.rcsm .rcsm-single .rcsm-date { margin-top: 2px; text-align: center; }

	/* ------------------------------------------------- small fixes elsewhere */
	/* long words such as e-mail addresses wrap instead of running off the screen (e.g. Contact page) */
	html.rcsm .main-wrapper :is(h1, h2, h3, h4, h5, h6, p, li, a, .textwidget) { overflow-wrap: break-word; }
	html.rcsm .contact-form-area h3 a { overflow-wrap: anywhere; }
	html.rcsm .info-box .flex-grow-1 { min-width: 0; overflow-wrap: anywhere; }
	html.rcsm .page-content :is(img, video, iframe) { max-width: 100%; }
	html.rcsm .page-content img { height: auto; }
	html.rcsm .page-content table { display: block; max-width: 100%; overflow-x: auto; }
	html.rcsm .page-content pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }

	@media (prefers-reduced-motion: reduce) {
		html.rcsm.rcsm-home-on { scroll-snap-type: none; }
		.rcsm .rcsm-sheet, .rcsm .rcsm-scrim, .rcsm .rcsm-dots button::before, .rcsm .rcsm-rot { transition: none; }
	}
}
