/**
 * Robertet Canada theme — custom.css
 *
 * Hand-written: the base, the header, the footer bar, the product panel and its tables.
 * It also holds, once, the defaults Elementor and Astra gave every element on the old
 * site (column padding, the 5px between elements, heading line height, their breakpoints).
 * The per-element differences are in elements.css, which is generated.
 *
 * Breakpoints, kept exactly as the old site had them:
 *   Elementor (layout):  tablet max-width 1024px, phone max-width 767px
 *   Astra (type sizes):  tablet max-width 921px,  phone max-width 544px
 */

/* The spacing of one element inside a column is carried in these four values, plus the
   gap Elementor put under every element but the last. They must not pass down to the
   elements inside, hence the registration. */
@property --mt { syntax: "*"; inherits: false; initial-value: 0px; }
@property --mr { syntax: "*"; inherits: false; initial-value: 0px; }
@property --mb { syntax: "*"; inherits: false; initial-value: 0px; }
@property --ml { syntax: "*"; inherits: false; initial-value: 0px; }
@property --gap { syntax: "*"; inherits: false; initial-value: 5px; }

:root {
	--rc-navy: #0f334f;
	--rc-text: #6d6f71;
	--rc-page: #f6f3f1;
	--rc-header-h: 90px;
	--rc-panel-w: 600px;
	--rc-ease: 0.3s ease-in-out;
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	font-family: "PT Sans", sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--rc-text);
	background: var(--rc-page);
	overflow-x: hidden;
}
a {
	color: var(--rc-navy);
	text-decoration: none;
}
a:hover,
a:focus {
	color: #1a5b8c;
}
p {
	margin: 0;
}
img {
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: "Andada", serif;
	font-weight: 400;
	color: #3a3a3a;
	clear: both;
}
h1 { font-size: 50px; line-height: 1.4; }
h2 { font-size: 45px; line-height: 1.3; }
h3 { font-size: 37px; line-height: 1.3; }
/* Astra sized the three small headings in rem, so they shrink with the root size below 921px. */
h4 { font-size: 1.5625rem; line-height: 1.2; }
h5 { font-size: 1.125rem; line-height: 1.2; }
h6 { font-size: 1rem; line-height: 1.25; }
.wp-site-blocks {
	padding: 0;
}
.rc-main,
.rc-main > .wp-block-post-content {
	margin: 0;
	padding: 0;
	overflow-wrap: break-word;     /* a long word in a narrow column breaks, as it did */
}

/* ------------------------------------------------------------------ sections, columns, elements */
.rc-sec {
	position: relative;
	margin: 0;
}
.rc-wrap {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}
.rc-col {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: 100%;
	min-width: 0;
	min-height: 1px;
	padding: 10px;
}
.rc-wrap > .rc-col.rc-col--empty { padding: 0; }
.rc-gap-no > .rc-col { padding: 0; }
.rc-gap-wide > .rc-col { padding: 20px; }
.rc-pos-middle > .rc-col { justify-content: center; }
.rc-pos-bottom > .rc-col { justify-content: flex-end; }
.rc-col > * {
	max-width: 100%;
	margin: var(--mt) var(--mr) calc(var(--mb) + var(--gap)) var(--ml);
}
.rc-col > :last-child { --gap: 0px; }
.rc-sec--inner { width: 100%; }
/* Elementor put its 5px only under widgets, not under a section nested in a column. */
.rc-col > .rc-sec--inner { --gap: 0px; }

.rc-has-overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--rc-overlay);
	opacity: var(--rc-overlay-o);
}

/* Background photos: a cover block, so the picture can be swapped in the editor. */
.rc-photo.wp-block-cover {
	display: block;
	min-height: 0;
	padding: 0;
	overflow: visible;
	color: inherit;
}
.rc-photo > .wp-block-cover__inner-container {
	width: 100%;
	max-width: none;
	color: inherit;
}
.rc-photo > .wp-block-cover__background {
	opacity: 0.5;
}

/* Headings placed as their own element: Elementor's line height. */
.rc-h {
	line-height: 1;
	padding: 0;
}
p.rc-h {
	font-family: inherit;
}
.rc-h.table_title,
.rc-text.table_title {
	--mt: 2rem;
	--mb: 2rem;
}

/* Text blocks. */
.rc-text > p {
	margin: 0 0 1.6em;
}
.rc-text--bare > p {
	margin-bottom: 0;      /* text the old site stored without a paragraph tag had no space under it */
}
.rc-text ul,
.rc-text ol {
	margin: 0 0 1.5em 3em;
	padding: 0;
}
.rc-text li > ul,
.rc-text li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
/* A link inside a heading takes the heading's colour, at the normal weight. */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	color: inherit;
	font-weight: 400;
}
.rc-text > h1, .rc-text > h2, .rc-text > h3, .rc-text > h4, .rc-text > h5, .rc-text > h6 {
	margin-bottom: 20px;
}

/* Lines. Most are 1px wide and 50px tall: a short vertical rule between sections. */
/* Core styles a separator with strong selectors, so the line's own width and stroke come
   in through two values the generated rules set: --w and --bt. */
.rc-line.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	width: var(--w, 100%);
	height: 0;
	flex-shrink: 0;
	border: 0;
	border-top: var(--bt, 1px solid #000);
	background: none;
	opacity: 1;
}

.rc-space.wp-block-spacer {
	margin-top: var(--mt);
}
/* An oddity of the old site, kept because the brief is "same look": the 99px gap between
   the footer form and the address only existed on pages that had a spacer of their own
   (Elementor loaded the spacer's stylesheet only there). On the five pages without one
   (Privacy, FAQ, Products, Quality, the terms page) the gap was nothing. Delete this rule
   to give every page the same footer. */
body:not(:has(.rc-main .rc-space)) .rc-footer-contact .rc-space {
	height: 0 !important;
}

/* Buttons. */
.rc-btns.wp-block-buttons {
	display: flex;
	gap: 0;
}
.rc-btns .wp-block-button {
	margin: 0;
}
.rc-btns .wp-block-button__link {
	display: inline-block;
	padding: 12px 24px;
	border: 0;
	border-radius: 3px;
	background-color: var(--rc-navy);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	text-align: center;
	transition: all 0.3s;
}

/* Pictures and picture tiles. */
.rc-img.wp-block-image,
.rc-box .wp-block-image {
	margin-top: var(--mt);
	margin-bottom: calc(var(--mb) + var(--gap));
}
.rc-img.wp-block-image {
	text-align: center;       /* Elementor centred a picture unless told otherwise */
}
.rc-img img {
	display: inline-block;
}
/* A tile's picture sits on a text line, as it did: the few pixels under it are the line's. */
.rc-box .wp-block-image {
	margin: 0 0 15px;
	line-height: 1.65;
}
/* The picture's frame is a share of the tile (--iw, 30% unless set), centred. The picture
   fills the frame from its left edge and is never drawn larger than the file the old site
   served (--in), so in a frame wider than that it sits to the left, as it did. */
.rc-box .wp-block-image a {
	display: inline-block;
	width: var(--iw, 30%);
	line-height: 0;
}
.rc-box .wp-block-image img {
	display: inline;
	width: min(var(--iw, 30%), var(--in, 100%));
	vertical-align: baseline;
	transition: transform 0.3s;
}
.rc-box .wp-block-image a img {
	display: block;
	width: min(100%, var(--in, 100%));
}
.rc-box__title {
	margin: 0 0 20px;
}
/* A quirk of the old theme, kept: a tile title's link is drawn at the size of its heading
   level, whatever size the title itself was given. */
h3.rc-box__title a { font-size: 37px; line-height: 1.3; }
.rc-box__title a:hover,
.rc-box__title a:focus { color: inherit; }        /* a tile's title did not change colour under the pointer */
h4.rc-box__title a { font-size: 1.5625rem; line-height: 1.2; }
.rc-box__text {
	margin: 0;
}
/* The old hover effects moved the picture while the pointer was on the picture itself. */
.rc-hover-float img { transition-timing-function: ease-out; }
.rc-hover-float img:hover,
.rc-hover-float a:focus img { transform: translateY(-8px); }
.rc-hover-grow img:hover,
.rc-hover-grow a:focus img { transform: scale(1.1); }

/* ------------------------------------------------------------------ the plain page
   The one page typed as plain text (the purchase order terms): a white sheet on the page
   background, as the old theme's default layout drew it. */
.rc-plain {
	padding: 0 20px;
}
.rc-plain__box {
	max-width: 1200px;
	margin: 4em auto;
	padding: 5.34em 6.67em;
	background: #fff;
}
.rc-plain__title {
	margin: 0 0 1.5rem;
	text-align: left;
	font-size: 1.875rem;
	line-height: 1.2;
}
.rc-plain .rc-text > :last-child {
	margin-bottom: 0;
}
@media (max-width: 1200px) {
	.rc-plain__box { padding: 3.34em 2.4em; }
}
@media (max-width: 921px) {
	.rc-plain__box { margin: 1.5em auto; padding: 1.5em 2.14em; }
	.rc-plain__title { margin-bottom: 1rem; }
}
@media (max-width: 544px) {
	.rc-plain { padding: 0 0.54em; }
	.rc-plain__box { padding: 1.5em 1em; }
}

/* ------------------------------------------------------------------ page not found, search
   The old theme's "page not found" view, in the plain page's white box: a centred title, a
   line of bold text and a search box. Search results and the fallback lists use the same
   box (the site has no posts; these views are reachable only through that search box). */
.rc-404__title {
	margin: 0 0 1.5rem;
	color: #0f334f;
	line-height: 1.4;
	text-align: center;
}
.rc-404__text {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
}
.rc-search.wp-block-search {
	max-width: 370px;
	margin: 2em auto 0;
	font-size: 1rem;
}
.rc-search .wp-block-search__inside-wrapper {
	position: relative;
	padding: 0;
	border: 0;
	background: none;
}
.rc-search .wp-block-search__input {
	width: 100%;
	min-width: 0;
	height: auto;
	padding: 12px 45px 12px 15px;
	border: 1px solid #ddd;
	border-radius: 2px;
	background: #fafafa;
	color: #666;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.65;
	appearance: none;
}
.rc-search .wp-block-search__button {
	position: absolute;
	top: 0;
	right: 0;
	box-sizing: border-box;
	width: 45px;
	height: calc(1.85714em + 26px);
	margin: 0;
	padding: 13px 20px;
	border: 0;
	border-radius: 2px;
	/* the old theme's magnifier: small, bold, handle to the lower right */
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='9.5' cy='9.5' r='6.5' fill='none' stroke='%23666' stroke-width='2.4'/%3E%3Cpath d='M14.5 14.5l6.5 6.5' stroke='%23666' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E") calc(50% - 2px) calc(50% - 2px) / 15px 15px no-repeat;
	font-size: 1rem;
	cursor: pointer;
}
.rc-search .wp-block-search__button svg {
	display: none;
}
/* Search results (and the two fallback lists): the old theme's view. A white box with the
   heading, then one white box per result: linked title, the start of the page's text,
   "Read More". Built from the live view at 1440 wide; the narrower steps follow the plain
   page's box. */
.rc-results__wrap {
	max-width: 1200px;
	margin: 4em auto;
}
.rc-results__head {
	padding: 3em;
	background: #fff;
}
.rc-results__title {
	margin: 0 0 4px;
	color: #0f334f;
	font-size: 2.857rem;
	font-weight: 300;
	line-height: 1.4;
}
.rc-list .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}
.rc-list .wp-block-post,
.rc-list__none {
	margin: 0;
	padding: 5.34em 6.67em;
	border-bottom: 1px solid #eee;      /* the hairline between results */
	background: #fff;
}
.rc-list__title {
	margin: 0 0 45.2px;       /* the old view left an empty line for a date under each title */
	font-size: 30px;
	line-height: 1.3;
}
.rc-list__title a {
	color: var(--rc-text);
}
.rc-list .wp-block-post-excerpt__excerpt {
	margin: 0;
}
.rc-list .wp-block-post-excerpt__more-text {
	margin: 24px 0 12.9px;      /* 13.9px less the hairline under the result */
}
.rc-list .wp-block-query-pagination {
	padding: 2em 0 0;
}
.rc-list__none .rc-search.wp-block-search {
	margin: 2em 0 0;
}
@media (max-width: 1200px) {
	.rc-list .wp-block-post,
	.rc-list__none { padding: 3.34em 2.4em; }
}
@media (max-width: 921px) {
	.rc-results__wrap { margin: 1.5em auto; }
	.rc-results__head { padding: 1.5em 2.14em; }
	.rc-results__title { font-size: 2rem; }
	.rc-list .wp-block-post,
	.rc-list__none { padding: 1.5em 2.14em; }
}
@media (max-width: 544px) {
	.rc-results__head,
	.rc-list .wp-block-post,
	.rc-list__none { padding: 1.5em 1em; }
}

/* ------------------------------------------------------------------ product tables */
.rc-table.wp-block-table {
	margin: var(--mt) var(--mr) calc(var(--mb) + var(--gap)) var(--ml);
	overflow-x: auto;
}
.rc-table table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #ddd;
	font-size: 1rem;
	line-height: 1.65;
}
.rc-table th,
.rc-table td {
	padding: 15px;
	border: 1px solid #bbb;
	color: var(--rc-text);
	text-align: left;
	vertical-align: middle;
	word-break: normal;
}
.rc-table thead {
	border: 0;
}
.rc-table th {
	font-weight: 600;
	text-align: left;      /* the old cell said "center", but its text sat in a box at the left */
}
.rc-table tbody tr:nth-child(odd) { background: #eaeaea; }
.rc-table tbody tr:nth-child(even) { background: #fff; }

/* ------------------------------------------------------------------ the product panel
   Without scripts (and in the editor) the list is an ordinary white section at the foot of
   the page. With scripts it is the slide-out panel, or on /bbq/ the popup. */
.rc-panel {
	background: #fff;
}
.rc-panel__body {
	display: flex;
	flex-direction: column;       /* as Elementor's column: margins add up, they never collapse */
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 35px 60px;
}
.rc-panel__body > * {
	margin: var(--mt) var(--mr) calc(var(--mb) + var(--gap)) var(--ml);
}
.rc-panel__body > :last-child {
	--gap: 0px;
}
.rc-panel__close,
.rc-panel-overlay {
	display: none;
}
html.robertet-js .rc-panel {
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	width: var(--rc-panel-w);
	max-width: 100%;
	height: 100%;
	overflow-y: auto;
	visibility: hidden;
	transform: translate3d(-100%, 0, 0);
	transition: transform 0.3s, visibility 0.3s;
	box-shadow: inset -7px 0 8px -9px rgba(0, 0, 0, 0.5);
}
html.robertet-js .rc-panel.is-open {
	visibility: visible;
	transform: none;
}
html.robertet-js .rc-panel .rc-panel__body {
	max-width: none;
	/* the old panel's own padding (40px 25px unless the page set another), plus its column's
	   10px, plus the list's 60px foot */
	padding: calc(var(--rc-pp-t, 40px) + 10px) calc(var(--rc-pp-x, 25px) + 10px) calc(var(--rc-pp-b, 40px) + 70px);
}
/* The close button: the old one's grey tab with a bold cross, at the panel's right edge. */
html.robertet-js .rc-panel__close {
	display: block;
	position: fixed;
	z-index: 100000;
	top: 0;
	left: calc(var(--rc-panel-w) - 29.1px);
	width: 29.1px;
	height: 46.4px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(0, 0, 0, 0.3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 4.5l15 15M19.5 4.5l-15 15' stroke='%23000' stroke-width='4.6' stroke-linecap='round'/%3E%3C/svg%3E") 8px 11px / 13.1px 13.1px no-repeat;
	color: transparent;
	font-size: 0;
	cursor: pointer;
}
@media (max-width: 921px) {
	html.robertet-js .rc-panel__close { height: 45.1px; }
}
html.robertet-js .rc-panel-overlay.is-open {
	display: block;
	position: fixed;
	z-index: 999;
	inset: 0;
	background: rgba(0, 0, 0, 0.54);
}
/* The page slides aside with the panel, as it did. It is moved by its position, not by a
   transform: a transform would cut the fixed photos and the sticky header loose from the
   window while the panel is open. Only pages that have a slide-out panel are touched. */
html.rc-has-slide-panel .wp-site-blocks {
	position: relative;
	left: 0;
	transition: left 0.3s;
}
html.rc-has-slide-panel.rc-panel-pushed .wp-site-blocks {
	left: var(--rc-panel-w);
}
html.rc-panel-locked {
	overflow: hidden;
}
/* With the page locked, body must not become a scrolling box of its own, or the header
   would stop sticking and slide out of view behind the open panel. */
html.rc-panel-locked body {
	overflow: visible;
	overflow-x: clip;
}

/* The popup on /bbq/. */
html.robertet-js .rc-panel--modal {
	top: 0;
	left: 0;
	width: 100%;
	padding: 20px 0;
	background: transparent;
	box-shadow: none;
	transform: none;
	opacity: 0;
	transition: opacity 0.3s, visibility 0.3s;
}
html.robertet-js .rc-panel--modal.is-open {
	opacity: 1;
}
html.robertet-js .rc-panel--modal .rc-panel__body {
	width: 500px;
	max-width: calc(100% - 40px);
	margin: 0 auto;
	padding: 15px 35px 35px;
	background: #fff;
}
.rc-panel__title {
	margin: 0 -10px 50px;
	font-size: 37px;
	line-height: 1.3;
	text-align: center;
}
@media (max-width: 921px) {
	.rc-panel__title { font-size: 33px; }
}
@media (max-width: 767px) {
	html.robertet-js .rc-panel--modal .rc-panel__body { width: 300px; }
}
@media (max-width: 544px) {
	.rc-panel__title { font-size: 27px; }
}
html.robertet-js .rc-panel--modal .rc-panel__close {
	top: 50px;
	left: auto;
	right: 50px;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 4.5l15 15M19.5 4.5l-15 15' stroke='%23fff' stroke-width='4.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}
html.robertet-js .rc-panel--modal + .rc-panel-overlay.is-open,
html.rc-panel-modal .rc-panel-overlay.is-open {
	z-index: 1000;
	background: rgba(0, 0, 0, 0.75);
}

/* ------------------------------------------------------------------ header
   One row: the logo with its tagline (20%), the menu (60%), an empty fifth. The numbers
   are the old Elementor header's. */
.rc-header {
	position: relative;
	z-index: 100;
	background: #fff;
	transition: background-color var(--rc-ease), opacity var(--rc-ease);
}
.rc-header__inner {
	display: flex;
	max-width: 1200px;
	min-height: var(--rc-header-h);
	margin: 0 auto;
	transition: min-height var(--rc-ease), height var(--rc-ease);
}
.rc-header__brand {
	width: 20%;
	padding: 10px;
	text-align: center;
}
.rc-header__logo.wp-block-site-logo {
	margin: 10px 0 5px;
	line-height: 0;
}
.rc-header__logo a {
	display: inline-block;
}
.rc-header__logo img {
	width: 100px;
	height: 71px;
	object-fit: contain;
	transition: width var(--rc-ease), height var(--rc-ease);
}
.rc-header__tagline {
	margin: 0 0 1.75em;
	font-size: 9px;
	line-height: 1em;
	text-align: center;
}
.rc-header .rc-nav {
	width: 60%;
	padding: 10px;
	align-items: center;
	align-self: center;
}
.rc-header .rc-nav .wp-block-navigation__container {
	gap: 0;
}
.rc-header .rc-nav .wp-block-navigation-item__content {
	display: block;
	padding: 13px 8px;
	color: var(--rc-navy);
	font-size: 16px;
	line-height: 20px;
	transition: padding var(--rc-ease);
}
/* A menu item with a submenu carries its arrow inside its own width, as the old one did. */
.rc-header .rc-nav .has-child > .wp-block-navigation-item__content {
	padding-right: calc(8px + 10px + 0.625em);
}
.rc-header .rc-nav .wp-block-navigation__submenu-icon {
	position: absolute;
	top: 50%;
	right: 8px;
	width: 0.625em;
	height: 1em;
	margin: -0.5em 0 0;
	padding: 0;
	color: var(--rc-navy);
	font-size: 16px;
}
.rc-header .rc-nav .wp-block-navigation__submenu-icon svg {
	display: none;
}
.rc-header .rc-nav .wp-block-navigation__submenu-icon::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: currentColor;
	/* Font Awesome's caret-down, the old menu's arrow */
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.500 13.5 192 31.3 192z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.500 13.5 192 31.3 192z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* The dropdowns: a plain white list under the item, as wide as its longest line. */
.rc-header .rc-nav .wp-block-navigation__submenu-container {
	top: 100%;
	left: 0;
	width: max-content;
	min-width: 130px;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--rc-navy);
}
.rc-header .rc-nav .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding: 13px 20px;
	border-left: 8px solid transparent;
	font-size: 13px;
	line-height: 20px;
	white-space: nowrap;
}
.rc-header .rc-nav .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover {
	background-color: #fff;      /* as the old dropdown (white on white: nothing to see) */
}

/* The navigation block gives an open dropdown a 200px floor; the old dropdowns were as wide
   as their longest item (130px at least). */
@media (min-width: 768px) {
	.rc-header .rc-nav .has-child:not(.open-on-click):hover > .wp-block-navigation__submenu-container,
	.rc-header .rc-nav .has-child:not(.open-on-click):focus-within > .wp-block-navigation__submenu-container,
	.rc-header .rc-nav .has-child .wp-block-navigation__submenu-toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
		min-width: 130px;
	}
}

/* Desktop only: the header stays at the top and, once the page has scrolled past it,
   shrinks to four fifths and turns slightly see-through (the old site's custom CSS). */
@media (min-width: 1025px) {
	.wp-site-blocks > header.wp-block-template-part {
		position: sticky;
		top: 0;
		z-index: 100;
	}
	/* The old header floated over the page, so the page never moved when it shrank. This one
	   is part of the page: what it loses in height it gets back as space below it. */
	.wp-site-blocks > header.wp-block-template-part {
		transition: margin-bottom var(--rc-ease);
	}
	.wp-site-blocks > header.wp-block-template-part:has(.rc-header.is-scrolled) {
		margin-bottom: calc(var(--rc-header-full, 130.8px) - var(--rc-header-h) * 0.8);
	}
	.rc-header.is-scrolled {
		background-color: #fff;
		opacity: 0.9;
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
	}
	.rc-header.is-scrolled .rc-header__inner {
		align-items: center;
		height: calc(var(--rc-header-h) * 0.8);
		min-height: calc(var(--rc-header-h) * 0.8);
	}
	.rc-header.is-scrolled .rc-header__logo img {
		width: 80px;
		height: 56.8px;
	}
	.rc-header.is-scrolled .rc-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

/* The menu button and its close button: the old menu's two icons, drawn as masks. */
.rc-header .rc-nav .wp-block-navigation__responsive-container-open,
.rc-header .rc-nav .wp-block-navigation__responsive-container-close {
	width: 33px;
	height: 33px;
	padding: 5.5px;
	border-radius: 3px;
	background: #fff;
	color: var(--rc-navy);
}
.rc-header .rc-nav .wp-block-navigation__responsive-container-open svg,
.rc-header .rc-nav .wp-block-navigation__responsive-container-close svg {
	display: none;
}
.rc-header .rc-nav .wp-block-navigation__responsive-container-open::before,
.rc-header .rc-nav .wp-block-navigation__responsive-container-close::before {
	content: "";
	display: block;
	width: 22px;
	height: 22px;
	background: currentColor;
	-webkit-mask: var(--rc-icon) center / contain no-repeat;
	mask: var(--rc-icon) center / contain no-repeat;
}
.rc-header .rc-nav .wp-block-navigation__responsive-container-open {
	--rc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cpath d='M104 333H896C929 333 958 304 958 271S929 208 896 208H104C71 208 42 237 42 271S71 333 104 333ZM104 583H896C929 583 958 554 958 521S929 458 896 458H104C71 458 42 487 42 521S71 583 104 583ZM104 833H896C929 833 958 804 958 771S929 708 896 708H104C71 708 42 737 42 771S71 833 104 833Z'/%3E%3C/svg%3E");
}
.rc-header .rc-nav .wp-block-navigation__responsive-container-close {
	--rc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cpath d='M742 167L500 408 258 167C246 154 233 150 217 150 196 150 179 158 167 167 154 179 150 196 150 212 150 229 154 242 171 254L408 500 167 742C138 771 138 800 167 829 196 858 225 858 254 829L496 587 738 829C750 842 767 846 783 846 800 846 817 842 829 829 842 817 846 804 846 783 846 767 842 750 829 737L588 500 833 258C863 229 863 200 833 171 804 137 775 137 742 167Z'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
	.rc-header .rc-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		padding-left: 7px;
		padding-right: 7px;
		font-size: 10px;
	}
	.rc-header .rc-nav .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content {
		padding-right: calc(7px + 10px + 0.625em);
	}
	.rc-header .rc-nav .wp-block-navigation__submenu-icon {
		right: 7px;
		font-size: 10px;
	}
}

/* Phones (Elementor's 767px, not WordPress's own 600px): logo left, menu button right. The
   opened menu is the old one: a white list under the button in the right half of the
   header, which grows to hold it. A submenu opens when its item is tapped. */
@media (max-width: 767px) {
	.rc-header__inner {
		align-items: center;
	}
	.rc-header__brand {
		width: 50%;
		text-align: left;
	}
	.rc-header__tagline {
		text-align: start;
	}
	.rc-header .rc-nav {
		position: relative;
		display: block;
		width: 50%;
		align-self: center;
	}
	.rc-header .rc-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}
	.rc-header .rc-nav .wp-block-navigation__responsive-container-open {
		display: flex;
		margin: 0 0 10px auto;
	}
	html.has-modal-open:has(.rc-nav .is-menu-open) {
		overflow: visible;
	}
	.rc-header .rc-nav:has(.is-menu-open) .wp-block-navigation__responsive-container-open {
		visibility: hidden;
	}
	.rc-header .rc-nav .wp-block-navigation__responsive-container.is-menu-open {
		position: static;
		display: block;
		padding: 0;
		overflow: visible;
		background: #fff;
		color: inherit;
		animation: none;
	}
	.rc-header .rc-nav .is-menu-open .wp-block-navigation__responsive-close,
	.rc-header .rc-nav .is-menu-open .wp-block-navigation__responsive-dialog {
		position: static;
		max-width: none;
		margin: 0;
	}
	.rc-header .rc-nav .is-menu-open .wp-block-navigation__responsive-container-content {
		display: block;
		padding: 0;
	}
	.rc-header .rc-nav .is-menu-open .wp-block-navigation__container {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
		padding: 0;
	}
	.rc-header .rc-nav .is-menu-open .wp-block-navigation-item {
		display: block;
		position: relative;
		width: 100%;
		min-width: 0;      /* the block gives items a 200px floor; the old list was as wide as its box */
	}
	.rc-header .rc-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		padding: 10px 20px;
		font-size: 10px;
		line-height: 20px;
	}
	.rc-header .rc-nav .is-menu-open .has-child > .wp-block-navigation-item__content {
		display: inline-block;
	}
	.rc-header .rc-nav .is-menu-open .wp-block-navigation__submenu-icon {
		position: static;
		display: inline-block;
		margin: 0 0 0 -10px;
		vertical-align: middle;
	}
	.rc-header .rc-nav .is-menu-open .wp-block-navigation__submenu-container {
		position: static;
		display: none;
		width: auto;
		min-width: 0;
		padding: 0;
		opacity: 1;
		visibility: visible;
	}
	.rc-header .rc-nav .is-menu-open .has-child.is-open > .wp-block-navigation__submenu-container {
		display: block;
	}
	.rc-header .rc-nav .is-menu-open .has-child .wp-block-navigation__submenu-container {
		width: auto;
		min-width: 0;
		padding: 0;
	}
	.rc-header .rc-nav .is-menu-open .has-child .wp-block-navigation__submenu-container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		padding: 10px 20px;
		font-size: 11.05px;
		white-space: normal;
	}
	.rc-header .rc-nav .is-menu-open .wp-block-navigation__responsive-container-close {
		position: absolute;
		top: 10px;
		right: 10px;
		display: flex;
	}
}

/* ------------------------------------------------------------------ scroll-to-top button */
.rc-scroll-top {
	position: fixed;
	z-index: 99;
	right: 30px;
	bottom: 30px;
	display: none;
	width: 2.1em;
	height: 2.1em;
	border-radius: 2px;
	background: var(--rc-navy);
	color: #fff;
	font-size: 15px;
	line-height: 2.1;
	text-align: center;
}
.rc-scroll-top.is-shown {
	display: block;
}
.rc-scroll-top::before {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 0.55em;
	margin-top: 0.2em;
	border: solid currentColor;
	border-width: 2px 0 0 2px;
	transform: rotate(45deg);
	vertical-align: middle;
}
.rc-scroll-top:hover,
.rc-scroll-top:focus {
	color: #fff;
}

/* ------------------------------------------------------------------ footer bar */
.rc-footer-bar {
	background: var(--rc-page);
	color: #636161;
}
.rc-footer-bar__inner {
	display: flex;
	max-width: 1240px;
	margin: 0 auto;
	padding: 15px 20px;
	line-height: 1.857;
}
.rc-footer-bar__inner > p {
	width: 50%;
	margin: 0;
}
.rc-footer-bar__copy {
	text-align: left;
}
.rc-footer-bar__links {
	padding-right: 20px;
	text-align: right;
}
.privacy_link {
	color: #0f334f !important;
}

/* ------------------------------------------------------------------ Astra's type steps */
@media (max-width: 921px) {
	html { font-size: 91.2%; }
	h1 { font-size: 43px; }
	h2 { font-size: 35px; }
	h3 { font-size: 33px; }
	h3.rc-box__title a { font-size: 33px; }
	.rc-footer-bar__inner { align-items: center; padding: 2em 0; }
	.rc-footer-bar__inner > p { width: calc(50% - 20px); text-align: center; }
	.rc-footer-bar__inner > .rc-footer-bar__copy { margin-left: 20px; padding: 0 15px; }
	.rc-footer-bar__inner > .rc-footer-bar__links { margin-right: 20px; padding: 0; }
}
@media (max-width: 544px) {
	h1 { font-size: 32px; }
	h2 { font-size: 29px; }
	h3 { font-size: 27px; }
	h3.rc-box__title a { font-size: 27px; }
	.rc-footer-bar__inner { display: block; }
	.rc-footer-bar__inner > p { width: auto; }
	.rc-footer-bar__inner > .rc-footer-bar__copy { margin: 0 20px; }
	.rc-footer-bar__inner > .rc-footer-bar__links { display: table; margin: 1em 0 0 40px; }
}

/* ------------------------------------------------------------------ entrance animations
   The old site played these once, as each element scrolled into view (animate.css through
   Elementor: 1.25s, 2s for "slow"). custom.js adds .is-in. Without the script, or for a
   visitor who asked for less motion, everything is simply there. */
html.robertet-js .rc-anim:not(.is-in):not(.rc-anim-headShake) {
	visibility: hidden;
}
.rc-anim.is-in {
	animation-duration: 1.25s;
	animation-fill-mode: both;
}
.rc-anim.is-in.rc-anim-slow { animation-duration: 2s; }
.rc-anim-fadeIn.is-in { animation-name: rc-fadeIn; }
.rc-anim-fadeInLeft.is-in { animation-name: rc-fadeInLeft; }
.rc-anim-fadeInRight.is-in { animation-name: rc-fadeInRight; }
.rc-anim-fadeInUp.is-in { animation-name: rc-fadeInUp; }
.rc-anim-rotateInUpRight.is-in { animation-name: rc-rotateInUpRight; }
.rc-anim-headShake.is-in { animation-name: rc-headShake; animation-timing-function: ease-in-out; }
@media (max-width: 767px) {
	.rc-anim-m-shake.is-in { animation-name: rc-shake; animation-timing-function: ease; }
}
@media (prefers-reduced-motion: reduce) {
	.rc-anim.is-in { animation: none; }
}
@keyframes rc-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rc-fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes rc-fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes rc-fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes rc-rotateInUpRight {
	from { transform-origin: right bottom; transform: rotate3d(0, 0, 1, -90deg); opacity: 0; }
	to { transform-origin: right bottom; transform: none; opacity: 1; }
}
@keyframes rc-headShake {
	0% { transform: translateX(0); }
	6.5% { transform: translateX(-6px) rotateY(-9deg); }
	18.5% { transform: translateX(5px) rotateY(7deg); }
	31.5% { transform: translateX(-3px) rotateY(-5deg); }
	43.5% { transform: translateX(2px) rotateY(3deg); }
	50% { transform: translateX(0); }
}
@keyframes rc-shake {
	from, to { transform: translate3d(0, 0, 0); }
	10%, 30%, 50%, 70%, 90% { transform: translate3d(-10px, 0, 0); }
	20%, 40%, 60%, 80% { transform: translate3d(10px, 0, 0); }
}
/* A sideways entrance cannot widen the page: body already hides sideways overflow. */

/* ------------------------------------------------------------------ Elementor's layout steps */
@media (max-width: 1024px) {
	.rc-wrap { flex-wrap: wrap; }
	.rc-photo > .wp-block-cover__image-background.has-parallax { background-attachment: scroll; }
	.rc-header .rc-nav .wp-block-navigation-item__content { font-size: 10px; }
}
@media (max-width: 767px) {
	.rc-col { width: 100%; }
}
