/* ==========================================================================
   robison-custom.css  |  Robison Jewelry Co. (robisonjewelryv6)
   Served from /css/robison-custom.css and loaded by a <link> tag in the theme
   header. Do not paste into the page editor, and do not also paste it into
   Global CSS (the rules would load twice). Bump ?v= in the <link> on each update.

   Palette: ivory #FBF8F3 | teal #0D3F38 (--bs-primary) | aqua #77C8B5 (--bs-secondary)
   Aqua never carries text on ivory or white (1.85:1). Text on aqua is teal only.

   Components
     Heading eyebrows    Sitewide. Any pagebuilder heading written as
                         "<small>Eyebrow</small>Headline" gets the eyebrow on its
                         own line in Marcellus SC.
     .rjc-steps         Process / trust bar (used on /pages/custom-jewelry, section 2)
       Hooks set in pagebuilder:
         sectionClass  "rjc-steps rjc-steps--line"  (pick ONE modifier below)
         columnClass   "rjc-steps__item"  on each step column
       Modifiers:
         --line   numbered circles joined by a thin aqua rule (default)
         --cards  ivory cards with an aqua top rule, "Step 1" shown as eyebrow
         --band   solid teal band, ivory text, aqua numbered circles

     .rjc-map-col        Google Map embed that fills an Emerald image column
                         (used on /pages/about-us, section 4).
       Hooks set in pagebuilder:
         columnClass   "image-column rjc-map-col"
         WYSIWYG       <div class='rjc-map'><iframe ...></iframe></div>
       Sizing: 800x600 (4:3) on mobile, 1200x600 (2:1) from 768px up. If the
       text column beside it is taller, the map stretches to match.
       The theme forces position:relative on .wysiwyg-container, so the reset
       below needs !important.

     .rjc-visit          Homepage "Visit Us" band (HOME, section 9, anchor #visit-us)
       Hooks set in pagebuilder:
         sectionClass  "default border-top rjc-visit"
         col 1 + col 3 columnClass "rjc-map-col" (map / inside street view)
         col 2         columnClass "rjc-visit__info"
       Map columns run 4:3 at every width here. Gutters removed so the three
       panels sit flush. #visit-us carries scroll-margin for the sticky header.

     .rjc-trust          Page trust bar, section 2 under the hero on HOME,
                         Bridal, Diamonds and Fine Jewelry.
       Hooks set in pagebuilder:
         sectionClass  "default rjc-trust"
         columnClass   "rjc-trust__item" on each of the 4 columns (6/6/3/3)
       Ivory band, 2x2 on mobile, 4 across from 768px with thin aqua dividers.

   Specificity note: step headings carry Bootstrap .text-primary, which is
   !important. The --band colour overrides therefore also use !important.
   ========================================================================== */

/* ==========================================================================
   Shared: heading eyebrows
   ========================================================================== */
.widget [data-widget-element="widgetHeader"] > small {
	display: block;
	font-family: "Marcellus SC", serif;
	font-size: .8rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1.4;
	margin-bottom: .4rem;
}

/* ==========================================================================
   .rjc-steps  |  process / trust bar
   ========================================================================== */

/* ---------- Base ---------- */
.rjc-steps {
	counter-reset: rjc-step;
}
.rjc-steps .rjc-steps__item {
	counter-increment: rjc-step;
	position: relative;
	margin-bottom: 1.5rem;
}
.rjc-steps .rjc-steps__item h3 {
	font-size: 1.6rem;
	line-height: 1.2;
	margin-bottom: .5rem;
}
.rjc-steps .rjc-steps__item h3 small {
	display: block;
	font-family: "Marcellus SC", serif;
	font-size: .8rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: .35rem;
}
.rjc-steps .rjc-steps__item p {
	font-size: 1.0625rem; /* 17px floor for the resident audience */
	line-height: 1.65;
	color: #333333;
	max-width: 17rem;
	margin-left: auto;
	margin-right: auto;
}

/* Visually hide the "Step 1" eyebrow when a numbered circle already says it,
   but keep it for screen readers. */
.rjc-steps--line .rjc-steps__item h3 small,
.rjc-steps--band .rjc-steps__item h3 small {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Numbered circle (line + band) ---------- */
.rjc-steps--line .rjc-steps__item::before,
.rjc-steps--band .rjc-steps__item::before {
	content: counter(rjc-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	font-family: "Marcellus SC", serif;
	font-size: 1.35rem;
	position: relative;
	z-index: 1;
}

/* ---------- --line ---------- */
.rjc-steps--line .rjc-steps__item::before {
	background: #FBF8F3;
	color: #0D3F38;
	border: 1px solid #0D3F38;
}
@media (min-width: 768px) {
	/* Connector between circles: starts right of this circle, ends left of the next */
	.rjc-steps--line .rjc-steps__item:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 28px;
		left: calc(50% + 40px);
		right: calc(-50% + 40px);
		height: 1px;
		background: #77C8B5;
	}
}

/* ---------- --cards ---------- */
.rjc-steps--cards .rjc-steps__item .widget {
	height: 100%;
	background: #FBF8F3;
	border-top: 3px solid #77C8B5;
	padding: 1.75rem 1.25rem 1.25rem;
}
.rjc-steps--cards .rjc-steps__item {
	display: flex;
	flex-direction: column;
}
.rjc-steps--cards .rjc-steps__item .widget {
	flex: 1 1 auto;
}

/* ---------- --band ---------- */
section.rjc-steps--band {
	background: #0D3F38;
	border-top: 0 !important;
}
.rjc-steps--band h2,
.rjc-steps--band h3,
.rjc-steps--band .rjc-steps__item h3 {
	color: #FBF8F3 !important;
}
.rjc-steps--band p,
.rjc-steps--band .rjc-steps__item p {
	color: #FBF8F3;
}
.rjc-steps--band .rjc-steps__item::before {
	background: #77C8B5;
	color: #0D3F38;
}

/* ==========================================================================
   .rjc-map-col  |  Google Map in an image column
   ========================================================================== */
.rjc-map-col {
	display: flex;
	flex-direction: column;
}
.rjc-map-col > .widget {
	position: relative;
	flex: 1 1 auto;
	padding: 0;
	margin: 0;
}
/* Ratio floor: 800x600 on mobile */
.rjc-map-col > .widget::before {
	content: "";
	display: block;
	padding-top: 75%;
}
/* Ratio floor: 1200x600 on tablet and desktop */
@media (min-width: 768px) {
	.rjc-map-col > .widget::before {
		padding-top: 50%;
	}
}
/* Theme sets position:relative on this container; override so the map
   anchors to the widget instead. */
.rjc-map-col > .pb-wysiwyg > .wysiwyg-container {
	position: static !important;
}
.rjc-map-col .rjc-map {
	position: absolute !important;
	inset: 0;
}
.rjc-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ==========================================================================
   .rjc-visit  |  Homepage Visit Us band: map | store info | inside view
   ========================================================================== */
.rjc-visit .row {
	--bs-gutter-x: 0;
	margin-left: 0;
	margin-right: 0;
}
.rjc-visit .row > [class*="col-"] {
	padding-left: 0;
	padding-right: 0;
}
/* 4:3 panels at every width (beats the 2:1 desktop rule above) */
@media (min-width: 768px) {
	.rjc-visit .rjc-map-col > .widget::before {
		padding-top: 75%;
	}
}
.rjc-visit .rjc-visit__info {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #FBF8F3;
	padding: 2.5rem 1.5rem;
}
.rjc-visit .rjc-visit__info p {
	font-size: 1.0625rem; /* 17px floor */
	line-height: 1.65;
}
.rjc-visit .rjc-visit__info .btn {
	margin: .25rem;
}
/* Anchor lands below the sticky header */
#visit-us {
	scroll-margin-top: 200px;
}

/* ==========================================================================
   .rjc-trust  |  page trust bar (4 items under the hero)
   ========================================================================== */
section.rjc-trust {
	background: #FBF8F3;
	border-top: 1px solid rgba(13, 63, 56, .12);
	border-bottom: 1px solid rgba(13, 63, 56, .12);
	padding-top: 2rem;
	padding-bottom: 1.25rem;
}
.rjc-trust .rjc-trust__item {
	position: relative;
	margin-bottom: 1rem;
}
.rjc-trust .rjc-trust__item .widget {
	padding: 0 .5rem;
}
.rjc-trust .rjc-trust__item h3 {
	font-family: "Cormorant Garamond", serif;
	font-size: 1.35rem;
	font-weight: 600;
	line-height: 1.2;
	margin-bottom: .35rem;
}
.rjc-trust .rjc-trust__item p {
	font-size: 1.0625rem; /* 17px floor */
	line-height: 1.5;
	color: #333333;
	margin-bottom: 0;
}
@media (min-width: 768px) {
	/* Thin aqua divider between items */
	.rjc-trust .rjc-trust__item:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 15%;
		bottom: 15%;
		right: 0;
		width: 1px;
		background: #77C8B5;
	}
	.rjc-trust .rjc-trust__item h3 {
		font-size: 1.5rem;
	}
}
