/* ---- fix49: the Contact page designs (Website Design -> Contact page: design / photo) ----
   Loaded only on the Contact page when a design is chosen (rc_design_head). Everything is scoped to body.rcd-oncontact
   (the Contact page with a design, not the page after sending) and the look's class rcd-contactlook-<look>.
   The markup comes from modul/rcdesign/rc_contact.php: .rcc-photo (photo with the title), #contactform.rcc-card (the form,
   fields .rcc-f in a 6-column grid: .rcc-w1 whole row, .rcc-w2 half, .rcc-w3 a third) and #noteafter .rcc-offices
   (.rcc-oset groups with a heading .rcc-ohead and .rcc-office cards). Phones that get the optimised layout: one column. */

body.rcd-oncontact .content-detail .block > .blocktitle { display: none; }	/* the title is on the photo */
body.rcd-oncontact #contactall {
	--rcc-ac: var(--rcd-accent, #2B518F);
	--rcc-ink: #1b2533;
	--rcc-mute: #5c6777;
	--rcc-line: #dde3eb;
	--rcc-field: #f6f8fb;
	--rcc-r: 18px;
	--rcc-gold: #c4a265;
	--rcc-navy: #0f1e38;
	--rcc-shadow: 0 1px 2px rgba(15,30,60,.06), 0 20px 44px -22px rgba(15,30,60,.32);
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px;
	max-width: 1180px; margin: 8px auto 48px; padding: 0 16px; box-sizing: border-box;
	color: var(--rcc-ink); text-align: left; font-size: 15px; line-height: 1.6;
}
body.rcd.rcd-oncontact #contactall { display: grid; }	/* above the centred row of the wider page widths */
body.rcd.rcd-oncontact #contactall > * { float: none; min-width: 0; flex: none; margin: 0; }
body.rcd-oncontact #notebefore { grid-column: 1 / -1; }
body.rcd-oncontact #noteafter { grid-column: auto; }

/* ---- the photo with the title ---- */
body.rcd-oncontact .rcc-photo {
	position: relative; overflow: hidden; isolation: isolate; border-radius: var(--rcc-r); min-height: 300px;
	background: linear-gradient(135deg, var(--rcc-ac), #0c1d38); box-shadow: var(--rcc-shadow);
}
body.rcd-oncontact #contactall .rcc-photo-img {	/* (#contactall: above the phones' "img height: auto") */
	position: absolute; inset: 0; z-index: -2; display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover;
	border: 0; border-radius: 0; box-shadow: none; padding: 0; transform: scale(1.02); transition: transform 8s ease-out;
}
body.rcd-oncontact #contactall .rcc-photo:hover .rcc-photo-img { transform: scale(1.06); }
body.rcd-oncontact .rcc-photo::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(to top, rgba(7,16,32,.80) 0%, rgba(7,16,32,.38) 42%, rgba(7,16,32,0) 72%);
}
body.rcd-oncontact .rcc-photo.rcc-nopic::after { background: radial-gradient(120% 90% at 85% 0%, rgba(255,255,255,.16), rgba(255,255,255,0) 60%); }
body.rcd-oncontact .rcc-photo-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 38px; color: #fff; }
body.rcd-oncontact .rcc-kicker {
	display: inline-block; padding-bottom: 8px; border-bottom: 2px solid var(--rcc-gold);
	font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.92);
}
body.rcd-oncontact #contactall .rcc-title {
	margin: 14px 0 6px; padding: 0; border: 0; background: none; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.25);
	font-size: 48px; line-height: 1.05; font-weight: 600; letter-spacing: .01em; text-transform: none; text-align: left;
}
body.rcd-oncontact .rcc-sub { margin: 0; max-width: 30em; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.9); }

/* ---- the form ---- */
body.rcd-oncontact #contactall #contactform.rcc-card {
	width: auto; box-sizing: border-box; padding: 34px 36px 30px; border-radius: var(--rcc-r);
	background: #fff; box-shadow: var(--rcc-shadow); border: 1px solid rgba(15,30,60,.05);
}
body.rcd-oncontact #contactall .rcc-formtitle {
	margin: 0; padding: 0; border: 0; background: none; text-shadow: none; text-align: left;
	font-size: 25px; line-height: 1.2; font-weight: 600; color: var(--rcc-ink); text-transform: none; letter-spacing: 0;
}
body.rcd-oncontact .rcc-formtitle::after { content: ""; display: block; width: 46px; height: 3px; margin: 14px 0 24px; border-radius: 2px; background: var(--rcc-ac); }
body.rcd-oncontact .rcc-form { margin: 0; }
body.rcd-oncontact .rcc-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 16px; }
body.rcd-oncontact .rcc-f { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; background: none; }
body.rcd-oncontact .rcc-w1 { grid-column: span 6; }
body.rcd-oncontact .rcc-w2 { grid-column: span 3; }
body.rcd-oncontact .rcc-w3 { grid-column: span 2; }
body.rcd-oncontact .rcc-f label { font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .07em; text-transform: uppercase; color: var(--rcc-mute); }
body.rcd-oncontact .rcc-req { margin-left: 3px; color: #c0392b; font-weight: 700; }
body.rcd-oncontact #contactall .rcc-f input,
body.rcd-oncontact #contactall .rcc-f textarea {
	-webkit-appearance: none; appearance: none; display: block; width: 100%; max-width: none; height: auto; box-sizing: border-box; margin: 0;
	padding: 12px 14px; border: 1px solid var(--rcc-line); border-radius: 10px; background: var(--rcc-field); box-shadow: none;
	font: inherit; font-size: 15px; line-height: 1.4; color: var(--rcc-ink);
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
body.rcd-oncontact #contactall .rcc-f textarea { min-height: 128px; resize: vertical; }
body.rcd-oncontact #contactall .rcc-f input:hover,
body.rcd-oncontact #contactall .rcc-f textarea:hover { border-color: #c4ccd8; }
body.rcd-oncontact #contactall .rcc-f input:focus,
body.rcd-oncontact #contactall .rcc-f textarea:focus {
	outline: none; background: #fff; border-color: var(--rcc-ac);
	box-shadow: 0 0 0 4px rgba(43,81,143,.14); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rcc-ac) 16%, transparent);
}
body.rcd-oncontact .rcc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
body.rcd-oncontact #contactall .rcc-send {
	-webkit-appearance: none; appearance: none; cursor: pointer; margin: 0; padding: 14px 40px; border: 0; border-radius: 999px;
	background: var(--rcc-ac); color: #fff; font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	box-shadow: 0 12px 24px -12px rgba(15,30,60,.6); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
body.rcd-oncontact #contactall .rcc-send:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 16px 28px -12px rgba(15,30,60,.6); }
body.rcd-oncontact #contactall .rcc-send:focus-visible { outline: 3px solid var(--rcc-gold); outline-offset: 3px; }
body.rcd-oncontact .rcc-note { font-size: 13px; color: var(--rcc-mute); }

/* ---- the offices ---- */
body.rcd-oncontact .rcc-offices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
body.rcd-oncontact #contactall .rcc-ohead {
	display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 0; border: 0; background: none; text-shadow: none;
	font-size: 13px !important; line-height: 1.3; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rcc-mute); text-align: left !important;
}
body.rcd-oncontact .rcc-ohead::after { content: ""; flex: 1; height: 1px; background: var(--rcc-line); }
body.rcd-oncontact .rcc-ocards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
body.rcd-oncontact .rcc-office {
	position: relative; padding: 24px 24px 22px; border-radius: 16px; background: #fff; border: 1px solid rgba(15,30,60,.06);
	box-shadow: 0 1px 2px rgba(15,30,60,.05), 0 14px 32px -20px rgba(15,30,60,.30); transition: transform .25s ease, box-shadow .25s ease;
}
body.rcd-oncontact .rcc-office:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(15,30,60,.05), 0 22px 40px -22px rgba(15,30,60,.38); }
body.rcd-oncontact .rcc-ic {
	display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px;
	color: var(--rcc-ac); background: rgba(43,81,143,.10); background: color-mix(in srgb, var(--rcc-ac) 11%, #fff);
}
body.rcd-oncontact .rcc-ic svg { display: block; width: 24px; height: 24px; }
body.rcd-oncontact #contactall .rcc-otext h2 {
	margin: 0 0 10px; padding: 0; border: 0; background: none; text-shadow: none; text-align: left !important;
	font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--rcc-ink); text-transform: none; letter-spacing: 0;
}
body.rcd-oncontact .rcc-otext p { margin: 0 0 12px; font-size: 14px; line-height: 1.65; color: #3a4556; text-align: left !important; }
body.rcd-oncontact .rcc-otext p:last-child { margin-bottom: 0; }
body.rcd-oncontact .rcc-otext p + p:not(:has(img)) { padding-top: 12px; border-top: 1px dashed var(--rcc-line); }
body.rcd-oncontact .rcc-otext strong { color: var(--rcc-ink); font-weight: 600; }
body.rcd-oncontact .rcc-otext a { color: var(--rcc-ac); text-decoration: none; border-bottom: 1px solid rgba(43,81,143,.3); overflow-wrap: break-word; }
body.rcd-oncontact .rcc-otext a:hover { border-bottom-color: currentColor; }
/* the small photo in the text (the warehouse): rounded, without the blue frame built into the old picture */
body.rcd-oncontact .rcc-otext p:has(> img) { overflow: hidden; max-width: 300px; margin-top: 4px; border-radius: 12px; line-height: 0; }
body.rcd-oncontact #contactall .rcc-otext img {
	float: none !important; display: block; width: 100% !important; height: 140px !important; max-width: none; margin: 0 !important;
	object-fit: cover; border: 0; border-radius: 0; padding: 0 !important; background: none; box-shadow: none !important;
	transform: scale(1.12); transition: transform .6s ease;
}
body.rcd-oncontact #contactall .rcc-office:hover .rcc-otext img { transform: scale(1.18); }
body.rcd-oncontact .rcc-ofree { grid-column: 1 / -1; }
body.rcd-oncontact #noteafter .rce-zone table { width: 100%; }	/* the page editor works on the stored table */

/* ---- 1. Photo and form side by side ---- */
body.rcd-contactlook-split.rcd-oncontact #contactall { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
body.rcd-contactlook-split.rcd-oncontact .rcc-photo { min-height: 560px; }
body.rcd-contactlook-split.rcd-oncontact #noteafter { grid-column: 1 / -1; }
body.rcd-contactlook-split.rcd-oncontact .rcc-offices.rcc-sets-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

/* ---- 2. Wide photo across the top, the form card rising into it ---- */
body.rcd-contactlook-hero.rcd-oncontact #contactall { row-gap: 0; }
body.rcd-contactlook-hero.rcd-oncontact .rcc-photo { min-height: 460px; border-radius: 22px; }
body.rcd-contactlook-hero.rcd-oncontact .rcc-photo-text { top: 0; bottom: auto; padding: 64px 40px 0; text-align: center; }
body.rcd-contactlook-hero.rcd-oncontact #contactall .rcc-title { text-align: center; font-size: 54px; }
body.rcd-contactlook-hero.rcd-oncontact .rcc-sub { margin: 0 auto; }
body.rcd-contactlook-hero.rcd-oncontact .rcc-photo::after { background: linear-gradient(to bottom, rgba(7,16,32,.74) 0%, rgba(7,16,32,.40) 45%, rgba(7,16,32,.10) 100%); }
body.rcd-contactlook-hero.rcd-oncontact #contactall #contactform.rcc-card { position: relative; z-index: 2; width: 100%; max-width: 860px; margin: -210px auto 0; padding: 40px 44px 36px; }
body.rcd-contactlook-hero.rcd-oncontact #noteafter { padding-top: 40px; }
body.rcd-contactlook-hero.rcd-oncontact #notebefore { margin-bottom: 28px; }
body.rcd-contactlook-hero.rcd-oncontact .rcc-offices.rcc-sets-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

/* ---- 3. Navy and gold ---- */
body.rcd-contactlook-navy.rcd-oncontact #contactall { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); --rcc-ac: #1f3a68; }
body.rcd-contactlook-navy.rcd-oncontact .rcc-photo { grid-column: 1 / -1; min-height: 300px; background: var(--rcc-navy); }
body.rcd-contactlook-navy.rcd-oncontact .rcc-photo::after { background: linear-gradient(90deg, rgba(10,20,40,.92) 0%, rgba(10,20,40,.62) 45%, rgba(10,20,40,.25) 100%); }
body.rcd-contactlook-navy.rcd-oncontact #contactall .rcc-photo-img { filter: saturate(.85); }
body.rcd-contactlook-navy.rcd-oncontact .rcc-photo-text { top: 50%; bottom: auto; transform: translateY(-50%); padding: 0 56px; }
body.rcd-contactlook-navy.rcd-oncontact .rcc-photo-text::before { content: ""; position: absolute; left: 30px; top: 6px; bottom: 6px; width: 2px; background: var(--rcc-gold); }
body.rcd-contactlook-navy.rcd-oncontact .rcc-kicker { border: 0; padding: 0; color: var(--rcc-gold); }
body.rcd-contactlook-navy.rcd-oncontact #noteafter { order: 1; padding: 34px 32px; border-radius: var(--rcc-r); background: linear-gradient(160deg, #142a4d, var(--rcc-navy)); box-shadow: var(--rcc-shadow); color: #e6ecf5; }
body.rcd-contactlook-navy.rcd-oncontact #contactform { order: 2; }
@media (min-width: 761px) and (min-height: 700px) {
	body.rcd-contactlook-navy.rcd-oncontact #contactall #contactform, body.rcd-contactlook-minimal.rcd-oncontact #contactall #contactform { position: sticky; top: 120px; align-self: start; }
}
body.rcd-contactlook-navy.rcd-oncontact .rcc-formtitle::after,
body.rcd-contactlook-navy.rcd-oncontact #contactall .rcc-send { background: linear-gradient(135deg, #1f3a68, var(--rcc-navy)); }
body.rcd-contactlook-navy.rcd-oncontact .rcc-formtitle::after { background: var(--rcc-gold); }
body.rcd-contactlook-navy.rcd-oncontact #contactall .rcc-send { box-shadow: inset 0 0 0 1px rgba(196,162,101,.55), 0 12px 24px -12px rgba(15,30,60,.7); }
body.rcd-contactlook-navy.rcd-oncontact #contactall .rcc-ohead { color: var(--rcc-gold); }
body.rcd-contactlook-navy.rcd-oncontact .rcc-ohead::after { background: rgba(196,162,101,.35); }
body.rcd-contactlook-navy.rcd-oncontact .rcc-ocards { grid-template-columns: minmax(0, 1fr); gap: 22px; }
body.rcd-contactlook-navy.rcd-oncontact .rcc-office { padding: 2px 0 2px 58px; background: none; border: 0; border-radius: 0; box-shadow: none; }
body.rcd-contactlook-navy.rcd-oncontact .rcc-office:hover { transform: none; }
body.rcd-contactlook-navy.rcd-oncontact .rcc-ic { position: absolute; left: 0; top: 0; color: var(--rcc-gold); background: rgba(196,162,101,.12); border: 1px solid rgba(196,162,101,.35); }
body.rcd-contactlook-navy.rcd-oncontact #contactall .rcc-otext h2 { color: #fff; }
body.rcd-contactlook-navy.rcd-oncontact .rcc-otext p { color: #c9d3e3; }
body.rcd-contactlook-navy.rcd-oncontact .rcc-otext strong { color: #fff; }
body.rcd-contactlook-navy.rcd-oncontact .rcc-otext p + p:not(:has(img)) { border-top-color: rgba(255,255,255,.14); }
body.rcd-contactlook-navy.rcd-oncontact .rcc-otext a { color: #e6c98f; border-bottom-color: rgba(230,201,143,.35); }
body.rcd-contactlook-navy.rcd-oncontact #contactall .rcc-otext img { height: 120px !important; opacity: .92; }

/* ---- 4. Elegant frame: one white card with a fine gold frame ---- */
body.rcd-contactlook-framed.rcd-oncontact #contactall {
	max-width: 1060px; padding: 26px; gap: 0; border-radius: 26px; background: #fff; box-shadow: var(--rcc-shadow);
	outline: 1px solid rgba(196,162,101,.55); outline-offset: -12px;
}
body.rcd-contactlook-framed.rcd-oncontact .rcc-photo { min-height: 340px; border-radius: 16px; box-shadow: none; }
body.rcd-contactlook-framed.rcd-oncontact .rcc-photo-text { text-align: center; padding: 40px; }
body.rcd-contactlook-framed.rcd-oncontact #contactall .rcc-title { text-align: center; font-size: 52px; }
body.rcd-contactlook-framed.rcd-oncontact .rcc-sub { margin: 0 auto; }
body.rcd-contactlook-framed.rcd-oncontact #contactall #contactform.rcc-card { max-width: 760px; width: 100%; margin: 0 auto; padding: 44px 20px 40px; border: 0; border-radius: 0; box-shadow: none; background: none; }
body.rcd-contactlook-framed.rcd-oncontact #contactall .rcc-formtitle { text-align: center; }
body.rcd-contactlook-framed.rcd-oncontact .rcc-formtitle::after { margin: 14px auto 28px; background: var(--rcc-gold); }
body.rcd-contactlook-framed.rcd-oncontact .rcc-actions { justify-content: center; flex-direction: column; }
body.rcd-contactlook-framed.rcd-oncontact #noteafter { padding: 34px 20px 14px; border-top: 1px solid rgba(196,162,101,.45); }
body.rcd-contactlook-framed.rcd-oncontact .rcc-offices { max-width: 860px; margin: 0 auto; gap: 34px; }
body.rcd-contactlook-framed.rcd-oncontact .rcc-ocards { gap: 0; }
body.rcd-contactlook-framed.rcd-oncontact .rcc-office { padding: 6px 26px; }
body.rcd-contactlook-framed.rcd-oncontact .rcc-otext p:has(> img) { margin-left: auto; margin-right: auto; }
body.rcd-contactlook-framed.rcd-oncontact #contactall .rcc-ohead { justify-content: center; color: #9a7b45; }
body.rcd-contactlook-framed.rcd-oncontact .rcc-ohead::before { content: ""; flex: 1; height: 1px; background: rgba(196,162,101,.45); }
body.rcd-contactlook-framed.rcd-oncontact .rcc-ohead::after { background: rgba(196,162,101,.45); }
body.rcd-contactlook-framed.rcd-oncontact .rcc-office { background: none; border: 0; border-radius: 0; box-shadow: none; text-align: center; }
body.rcd-contactlook-framed.rcd-oncontact .rcc-office:hover { transform: none; }
body.rcd-contactlook-framed.rcd-oncontact .rcc-ocards > .rcc-office + .rcc-office { border-left: 1px solid rgba(196,162,101,.35); }
body.rcd-contactlook-framed.rcd-oncontact .rcc-ic { margin: 0 auto 12px; color: #9a7b45; background: none; border: 1px solid rgba(196,162,101,.55); border-radius: 50%; }
body.rcd-contactlook-framed.rcd-oncontact #contactall .rcc-otext h2,
body.rcd-contactlook-framed.rcd-oncontact .rcc-otext p { text-align: center !important; }
body.rcd-contactlook-framed.rcd-oncontact .rcc-otext p + p:not(:has(img)) { border-top: 0; padding-top: 0; }

/* ---- 5. Minimal ---- */
body.rcd-contactlook-minimal.rcd-oncontact #contactall { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: 56px; row-gap: 38px; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-photo { grid-column: 1 / -1; min-height: 230px; border-radius: 4px; box-shadow: none; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-photo::after { background: linear-gradient(to top, rgba(10,14,20,.62), rgba(10,14,20,.05) 70%); }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-photo-text { padding: 26px 30px; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 22px; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-kicker { order: 2; border: 0; padding: 0; font-size: 11px; }
body.rcd-contactlook-minimal.rcd-oncontact #contactall .rcc-title { order: 1; margin: 0; font-size: 40px; font-weight: 300; letter-spacing: .04em; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-sub { order: 3; flex-basis: 100%; max-width: none; margin-top: 4px; font-size: 15px; }
body.rcd-contactlook-minimal.rcd-oncontact #contactall #contactform.rcc-card { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
body.rcd-contactlook-minimal.rcd-oncontact #contactall .rcc-formtitle { font-weight: 300; font-size: 26px; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-formtitle::after { width: 30px; height: 1px; margin: 16px 0 26px; background: var(--rcc-ink); }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-fields { gap: 22px 24px; }
body.rcd-contactlook-minimal.rcd-oncontact #contactall .rcc-f input,
body.rcd-contactlook-minimal.rcd-oncontact #contactall .rcc-f textarea { padding: 8px 0; border: 0; border-bottom: 1px solid #c9d0da; border-radius: 0; background: transparent; }
body.rcd-contactlook-minimal.rcd-oncontact #contactall .rcc-f textarea { min-height: 96px; }
body.rcd-contactlook-minimal.rcd-oncontact #contactall .rcc-f input:focus,
body.rcd-contactlook-minimal.rcd-oncontact #contactall .rcc-f textarea:focus { box-shadow: 0 1px 0 0 var(--rcc-ac); border-bottom-color: var(--rcc-ac); background: transparent; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-f label { font-weight: 500; letter-spacing: .1em; font-size: 11px; }
body.rcd-contactlook-minimal.rcd-oncontact #contactall .rcc-send { border-radius: 2px; padding: 13px 34px; background: var(--rcc-ink); box-shadow: none; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-ocards { grid-template-columns: minmax(0, 1fr); gap: 0; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-office { padding: 18px 0 20px; background: none; border: 0; border-top: 1px solid var(--rcc-line); border-radius: 0; box-shadow: none; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-office:hover { transform: none; box-shadow: none; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-ic { display: none; }
body.rcd-contactlook-minimal.rcd-oncontact #contactall .rcc-otext h2 { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-otext p { font-size: 13.5px; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-otext p + p:not(:has(img)) { border-top: 0; padding-top: 0; }
body.rcd-contactlook-minimal.rcd-oncontact .rcc-ohead::after { display: none; }
body.rcd-contactlook-minimal.rcd-oncontact #contactall .rcc-otext img { height: 110px !important; border-radius: 3px; }

/* a gentle fade-in of the photo, the form and the offices */
@media (prefers-reduced-motion: no-preference) {
	body.rcd-oncontact .rcc-photo, body.rcd-oncontact #contactform, body.rcd-oncontact #noteafter { animation: rcc-in .8s cubic-bezier(.2,.7,.2,1) both; }
	body.rcd-oncontact #contactform { animation-delay: .12s; }
	body.rcd-oncontact #noteafter { animation-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
	body.rcd-oncontact #contactall .rcc-photo-img, body.rcd-oncontact .rcc-office, body.rcd-oncontact #contactall .rcc-send { transition: none; }
}
@keyframes rcc-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- phones with the optimised layout (and narrow windows): one column ---- */
@media (max-width: 760px) {
	body.rcd-oncontact #contactall,
	body.rcd-contactlook-split.rcd-oncontact #contactall, body.rcd-contactlook-hero.rcd-oncontact #contactall,
	body.rcd-contactlook-navy.rcd-oncontact #contactall, body.rcd-contactlook-minimal.rcd-oncontact #contactall { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0 10px; }
	body.rcd-contactlook-framed.rcd-oncontact #contactall { padding: 14px; outline-offset: -7px; }
	body.rcd-oncontact .rcc-photo, body.rcd-contactlook-split.rcd-oncontact .rcc-photo,
	body.rcd-contactlook-hero.rcd-oncontact .rcc-photo, body.rcd-contactlook-framed.rcd-oncontact .rcc-photo { min-height: 260px; }
	body.rcd-oncontact .rcc-photo-text { top: auto; bottom: 0; padding: 22px; }
	body.rcd-contactlook-hero.rcd-oncontact .rcc-photo-text { top: 0; bottom: auto; padding: 34px 20px 0; }
	body.rcd-contactlook-hero.rcd-oncontact .rcc-photo { min-height: 320px; }
	body.rcd-contactlook-navy.rcd-oncontact .rcc-photo-text { padding: 0 22px 0 40px; }
	body.rcd-contactlook-navy.rcd-oncontact .rcc-photo-text::before { left: 20px; }
	body.rcd-oncontact #contactall .rcc-title, body.rcd-contactlook-framed.rcd-oncontact #contactall .rcc-title { font-size: 36px; }
	body.rcd-oncontact #contactall #contactform.rcc-card { padding: 24px 20px; }
	body.rcd-contactlook-hero.rcd-oncontact #contactall #contactform.rcc-card { width: auto; margin: -90px 10px 0; padding: 24px 20px; }
	body.rcd-contactlook-hero.rcd-oncontact #noteafter { padding-top: 0; }
	body.rcd-oncontact .rcc-w1, body.rcd-oncontact .rcc-w2, body.rcd-oncontact .rcc-w3 { grid-column: 1 / -1; }
	body.rcd-oncontact .rcc-offices.rcc-sets-2, body.rcd-oncontact .rcc-ocards, body.rcd-contactlook-split.rcd-oncontact .rcc-offices.rcc-sets-2,
	body.rcd-contactlook-hero.rcd-oncontact .rcc-offices.rcc-sets-2 { grid-template-columns: minmax(0, 1fr); }
	body.rcd-contactlook-framed.rcd-oncontact .rcc-ocards > .rcc-office + .rcc-office { border-left: 0; border-top: 1px solid rgba(196,162,101,.35); padding-top: 22px; }
	body.rcd-contactlook-navy.rcd-oncontact #noteafter { order: 3; padding: 26px 20px; }	/* the form first on phones */
}
