/* RGB homepage: the existing Divi/Open Sans, white, grey and red theme. */

/* Divi's later body:not(.et-tb) rule otherwise adds 58px above the hero. */
body.rgb-homepage-active #main-content > .container {
    width: 100%; max-width: none; padding: 0 !important;
}
body.rgb-homepage-active #main-content > .container::before { display: none; }
body.rgb-homepage-active #content-area,
body.rgb-homepage-active #left-area,
body.rgb-homepage-active #left-area > article,
body.rgb-homepage-active #left-area > article > .entry-content {
    float: none; width: 100%; margin: 0; padding: 0;
}
/* Native Divi wrapper: let the photograph reach both viewport edges.
   Individual .rgb-wrap containers still control comfortable text widths. */
body.rgb-homepage-active #post-7 .rgb-homepage-shell,
body.rgb-homepage-active #post-7 .rgb-homepage-shell-row {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.rgb-homepage-active #post-7 .rgb-homepage-shell-row > .et_pb_column,
body.rgb-homepage-active #post-7 .rgb-homepage-shell-row .et_pb_text {
    margin: 0 !important;
    padding: 0 !important;
}
/* Retain the native page heading for assistive technology, without a title gap. */
body.rgb-homepage-active #left-area > article > .entry-title {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.rgb-home {
    --rgb-red: #e02b20;
    --rgb-ink: #25282d;
    --rgb-muted: #575d65;
    --rgb-line: #e4e6e9;
    --rgb-paper: #f7f8f9;
    background: #fff; color: var(--rgb-ink);
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px; font-weight: 400; line-height: 1.65;
    overflow: clip;
}
.rgb-home *, .rgb-home *::before, .rgb-home *::after { box-sizing: border-box; }
.rgb-home img { display: block; max-width: 100%; height: auto; }
.rgb-home h2, .rgb-home h3 {
    font-family: inherit; font-weight: 600; font-style: normal;
    color: inherit; text-transform: none; text-shadow: none;
    letter-spacing: -.025em; line-height: 1.25; margin: 0; padding: 0;
}
.rgb-home h2 { font-size: clamp(28px, 2.6vw, 36px); }
.rgb-home p { padding: 0; margin: 0; }
.rgb-home a { text-decoration: none; }
.rgb-home strong { font-weight: 600; }
.rgb-home a:focus-visible { outline: 3px solid var(--rgb-red); outline-offset: 5px; }
.rgb-home .rgb-wrap { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.rgb-home .rgb-section { padding: 72px 0; }
.rgb-home .rgb-kicker {
    display: flex; gap: 10px; align-items: center; margin-bottom: 14px;
    font-size: 12px; font-weight: 600; line-height: 1.5;
    letter-spacing: .07em; text-transform: uppercase; color: var(--rgb-muted);
}
.rgb-kicker > span { flex: 0 0 24px; height: 2px; background: var(--rgb-red); }
.rgb-home .rgb-kicker--light { color: #d8dde4; }
.rgb-home .rgb-sectionhead {
    display: flex; justify-content: space-between; align-items: end;
    gap: 40px; margin-bottom: 30px;
}
.rgb-sectionhead > div { max-width: 680px; }
.rgb-sectionhead > p { flex: 0 1 355px; color: var(--rgb-muted); font-size: 15px; }
.rgb-home .rgb-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rgb-home .rgb-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 20px;
    min-height: 48px; padding: 13px 22px; border: 1px solid transparent;
    border-radius: 5px; font: 600 14px/1.4 'Open Sans', Arial, sans-serif;
    transition: background .2s, border-color .2s, box-shadow .2s;
}
.rgb-home .rgb-button--primary { background: var(--rgb-red); color: #fff; }
.rgb-home .rgb-button--primary:hover { background: #be241b; box-shadow: 0 4px 12px #b020201f; }
.rgb-home .rgb-button--ghost { color: #30343a; border-color: #9ba1a8; background: #fff; }
.rgb-home .rgb-button--ghost:hover { border-color: var(--rgb-red); color: #b8241b; }
.rgb-home .rgb-button--white { background: #fff; color: #25282d; }
.rgb-home .rgb-button--white:hover { background: #f0f1f3; }
.rgb-home .rgb-button--darkghost { color: #fff; border-color: #b3b8c0; }
.rgb-home .rgb-button--darkghost:hover { background: #ffffff12; border-color: #fff; }
.rgb-home .rgb-textlink {
    display: inline-flex; align-items: center; gap: 10px;
    color: #b8241b; font-size: 14px; font-weight: 600; line-height: 1.6;
    padding-bottom: 3px; border-bottom: 1px solid #e02b2040;
}
.rgb-home .rgb-textlink:hover { border-bottom-color: currentColor; }
.rgb-home .rgb-textlink--light { color: #fff; border-color: #ffffff70; }
.rgb-stars { color: #bb7900; letter-spacing: .08em; }

/* Photographic print studio, flush with the existing header. */
.rgb-hero { position: relative; isolation: isolate; overflow: hidden; background: #202329; color: #fff; border-bottom: 1px solid var(--rgb-line); }
.rgb-hero__backdrop { position: absolute; inset: 0; z-index: -2; }
.rgb-home .rgb-hero__backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.rgb-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(25,28,33,.96) 0%,rgba(25,28,33,.9) 28%,rgba(25,28,33,.62) 44%,rgba(25,28,33,.06) 70%); }
.rgb-home .rgb-hero__grid {
    display: grid; grid-template-columns: 1fr 1.12fr; gap: 48px;
    align-items: center; min-height: 600px; padding-block: 60px;
}
.rgb-hero__copy { position: relative; z-index: 1; }
.rgb-home .rgb-hero .rgb-kicker { color: #e0e3e7; }
.rgb-home .rgb-hero h2 { font-size: clamp(38px, 3.8vw, 54px); font-weight: 600; line-height: 1.16; letter-spacing: -.035em; }
.rgb-hero h2 > span { color: #f3574e; }
.rgb-home .rgb-hero__lede { max-width: 520px; margin: 22px 0 26px; font-size: 17px; line-height: 1.75; color: #e0e3e7; }
.rgb-hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; font-size: 12px; color: #e0e3e7; }
.rgb-hero .rgb-stars { color: #f3bb53; }
.rgb-hero__visual { min-width: 0; display: flex; justify-content: flex-end; align-self: end; }
.rgb-home .rgb-float-card {
    display: grid; grid-template-columns: auto 1fr; column-gap: 15px; row-gap: 2px;
    align-items: center; width: 100%; max-width: 440px; padding: 12px 18px;
    border: 1px solid #ffffff45; border-radius: 6px; background: #202329ed; color: #fff;
    transition: border-color .2s, background .2s;
}
.rgb-float-card > span { grid-row: 1/3; font-size: 10px; text-transform: uppercase; font-weight: 700; padding: 5px 8px; border-radius: 3px; background: #fbe9e7; color: #b8251d; }
.rgb-float-card strong { font-size: 15px; }
.rgb-float-card small { font-size: 12px; color: #e0e3e7; }
.rgb-home .rgb-float-card:hover { background: #30343b; border-color: #ff9289; }

.rgb-proofbar { background: #fff; border-bottom: 1px solid var(--rgb-line); }
.rgb-proofbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.rgb-proofbar__grid > div { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-right: 1px solid var(--rgb-line); }
.rgb-proofbar__grid > div:first-child { padding-left: 0; }
.rgb-proofbar__grid > div:last-child { border: 0; }
.rgb-proofbar strong { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; color: #c32920; background: #fff1ef; font-size: 16px; }
.rgb-proofbar span { font-size: 13px; color: #454b54; line-height: 1.55; }

.rgb-paths { background: #fff; }
.rgb-paths__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.rgb-home .rgb-path { position: relative; display: block; min-height: 335px; overflow: hidden; border-radius: 8px; isolation: isolate; color: #fff; background: #232932; }
.rgb-path img { width: 100%; height: 335px; object-fit: cover; transition: transform .4s; }
.rgb-path--large img { object-position: 55% center; }
.rgb-path--dark img { object-position: 68% center; }
.rgb-path__veil { position: absolute; inset: 0; background: linear-gradient(180deg, #121b2800 10%, #10182055 38%, #101820f5 100%); }
.rgb-path__number { position: absolute; top: 18px; right: 18px; font-size: 11px; padding: 3px 8px; border-radius: 3px; border: 1px solid #ffffff85; background: #10182055; }
.rgb-path__content { position: absolute; inset: auto 24px 24px; }
.rgb-path__content small { display: block; margin-bottom: 10px; color: #fff; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.rgb-path__content strong { display: block; font-size: 27px; line-height: 1.2; }
.rgb-path__content > span { display: block; margin-top: 15px; font-size: 13px; font-weight: 600; }
.rgb-path:hover img { transform: scale(1.035); }

.rgb-home .rgb-feature { padding-top: 0; padding-bottom: 64px; }
.rgb-home .rgb-feature__shell { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 30px; background: #171c24; border-radius: 8px; overflow: hidden; color: #fff; }
.rgb-feature__copy { padding: 40px 0 40px 40px; }
.rgb-home .rgb-feature__copy h2 { font-size: 32px; color: #fff; }
.rgb-feature__copy > p:not(.rgb-kicker) { color: #d4d9e1; font-size: 15px; margin-top: 18px; }
.rgb-home .rgb-feature ul { display: grid; gap: 7px; margin: 20px 0 24px; padding: 0 !important; list-style: none !important; }
.rgb-feature li { padding-left: 18px; position: relative; font-size: 13px; color: #f1f3f6; }
.rgb-feature li::before { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #f6655b; left: 0; top: 9px; }
.rgb-feature__image img { width: 100%; min-height: 350px; object-fit: cover; object-position: 65% center; }

.rgb-home .rgb-support { background: var(--rgb-paper); border-block: 1px solid var(--rgb-line); }
#rgb-services { scroll-margin-top: 25px; }
.rgb-support__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.rgb-support__intro { position: static; }
.rgb-home .rgb-support__intro h2 { font-size: 34px; }
.rgb-support__intro > p:not(.rgb-kicker) { color: var(--rgb-muted); font-size: 16px; margin: 20px 0 22px; }
.rgb-support__cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.rgb-home .rgb-support__cards > a { position: relative; padding: 24px; background: #fff; border: 1px solid #e0e3e7; border-radius: 8px; color: var(--rgb-ink); transition: border-color .2s, box-shadow .2s; }
.rgb-support__cards strong { display: block; font-size: 16px; line-height: 1.4; margin-bottom: 8px; }
.rgb-support__cards p { color: var(--rgb-muted); font-size: 14px; line-height: 1.65; }
.rgb-support__cards i { position: absolute; top: 22px; right: 22px; color: #a6adb6; font-size: 18px; font-style: normal; }
.rgb-home .rgb-support__cards > a:hover { border-color: #dfaba6; box-shadow: 0 5px 18px #1b24330c; }
.rgb-support__icon { display: grid; place-items: center; position: relative; width: 66px; height: 66px; margin: 0 0 18px; color: #292c36; border: 1px solid #f0ddda; border-radius: 15px; background: linear-gradient(145deg,#fff,#fff1ee); box-shadow: inset 0 1px #fff, 0 3px 0 -1px #efdedb; transition: transform .2s; }
.rgb-support__icon svg { display: block; width: 51px; height: 51px; }
.rgb-support__icon .rgb-icon__accent { fill: var(--rgb-icon-accent); stroke: #bf2432; stroke-width: 1.5; }
.rgb-support__icon .rgb-icon__surface { fill: #fffaf9; }
.rgb-support__icon .rgb-icon__ring { stroke: #e3c5c9; stroke-dasharray: 2 4; }
.rgb-support__icon .rgb-icon__speed { stroke: #cf2937; }
.rgb-support__cards > a:is(:hover,:focus-visible) .rgb-support__icon { transform: translateY(-2px); }

.rgb-supplies__heading { margin-bottom: 30px; }
.rgb-supplies__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.rgb-home .rgb-supplies__grid > a { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--rgb-line); border-radius: 8px; overflow: hidden; background: #fff; color: var(--rgb-ink); transition: border-color .2s,box-shadow .2s; }
.rgb-supplies__image { display: flex; align-items: center; justify-content: center; height: auto; aspect-ratio: 3 / 2; margin: -24px -24px 22px; padding: 0; background: #f3f4f5; border-bottom: 1px solid var(--rgb-line); }
.rgb-supplies__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rgb-supplies__grid small { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: #656c76; }
.rgb-supplies__grid strong { font-size: 23px; line-height: 1.3; margin: 12px 0 20px; }
.rgb-supplies__grid > a > span:last-child { font-size: 13px; font-weight: 600; color: #b8241b; margin-top: auto; }
.rgb-home .rgb-supplies__grid > a:hover { border-color: #dfaba6; box-shadow: 0 5px 18px #1b24330c; }

.rgb-quote { background: #f7f8f9; border-block: 1px solid var(--rgb-line); padding: 44px 0; }
.rgb-quote__grid { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 28px; }
.rgb-quote__mark { font-family: Georgia,serif; color: var(--rgb-red); font-size: 90px; line-height: 1; align-self: start; }
.rgb-home .rgb-quote blockquote { margin: 0; border: 0; padding: 0; font-weight: 400; }
.rgb-quote blockquote > p { font-size: 22px; font-weight: 400; line-height: 1.6; color: #343a43; }
.rgb-quote footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; font-size: 13px; }
.rgb-quote footer small { font-size: 12px; color: #626973; }
.rgb-home .rgb-quote .rgb-textlink { color: #b8241b; border-color: #e02b2040; }

.rgb-journal__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.rgb-journal__grid article { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.rgb-journal__image { display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 6px; margin-bottom: 18px; background: #f0f2f5; }
.rgb-journal__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.rgb-journal__image:hover img { transform: scale(1.03); }
.rgb-journal__fallback { display: grid; place-items: center; height: 100%; font-size: 28px; color: #68717f; }
.rgb-journal article > small { color: #67707b; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.rgb-home .rgb-journal h3 { font-size: 20px; line-height: 1.45; margin: 10px 0; }
.rgb-journal h3 a { color: var(--rgb-ink); }
.rgb-journal h3 a:hover { color: #b8241b; }
.rgb-journal article > p { font-size: 14px; color: var(--rgb-muted); margin-bottom: 18px; }
.rgb-journal article > .rgb-textlink { margin-top: auto; }

.rgb-cta { padding: 48px 0; background: #242a33; border-top: 3px solid var(--rgb-red); color: #fff; }
.rgb-cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.rgb-home .rgb-cta h2 { font-size: 32px; color: #fff; }
.rgb-cta__grid > div:last-child > p { color: #e0e4ea; font-size: 15px; margin-bottom: 22px; }

@media(max-width:1100px) {
    .rgb-home .rgb-wrap { width: calc(100% - 48px); }
    .rgb-home .rgb-hero__grid { gap: 25px; }
    .rgb-home .rgb-hero h2 { font-size: 42px; }
    .rgb-support__grid { gap: 32px; grid-template-columns: .75fr 1.25fr; }
    .rgb-support__cards > a { padding: 20px; }
    .rgb-proofbar__grid > div { padding-inline: 16px; }
    .rgb-quote__grid { grid-template-columns: 40px 1fr; }
    .rgb-quote__grid > a { grid-column: 2; justify-self: start; }
}
@media(max-width:800px) {
    .rgb-home .rgb-section { padding-block: 48px; }
    .rgb-home .rgb-hero__grid { grid-template-columns: 1fr; gap: 190px; padding-block: 36px; min-height: 640px; }
    .rgb-hero__backdrop { top: auto; height: 380px; }
    .rgb-home .rgb-hero__backdrop img { object-position: right bottom; }
    .rgb-hero::after { background: linear-gradient(180deg,#202329 0%,#202329 34%,rgba(32,35,41,.85) 46%,rgba(32,35,41,.05) 77%,rgba(32,35,41,.2) 100%); }
    .rgb-hero__copy { max-width: 600px; }
    .rgb-hero__visual { width: min(100%,500px); justify-self: center; }
    .rgb-hero__visual > img { max-height: 270px; }
    .rgb-home .rgb-sectionhead { display: block; }
    .rgb-sectionhead > p, .rgb-sectionhead > .rgb-textlink { margin-top: 16px; }
    .rgb-proofbar__grid { grid-template-columns: repeat(2,1fr); }
    .rgb-proofbar__grid > div { padding: 18px 12px; }
    .rgb-proofbar__grid > div:first-child { padding-left: 12px; }
    .rgb-proofbar__grid > div:nth-child(2) { border-right: 0; }
    .rgb-proofbar__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--rgb-line); }
    .rgb-paths__grid { gap: 14px; }
    .rgb-path__content { inset: auto 18px 20px; }
    .rgb-path__content strong { font-size: 23px; }
    .rgb-home .rgb-feature { padding-top: 0; }
    .rgb-home .rgb-feature__shell { grid-template-columns: 1fr; gap: 0; }
    .rgb-feature__copy { padding: 30px; }
    .rgb-feature__image img { min-height: 0; max-height: 280px; object-fit: cover; }
    .rgb-support__grid { grid-template-columns: 1fr; gap: 28px; }
    .rgb-support__intro { max-width: 650px; }
    .rgb-cta__grid { grid-template-columns: 1fr; gap: 24px; }
}
@media(max-width:600px) {
    .rgb-home .rgb-wrap { width: calc(100% - 36px); }
    .rgb-home .rgb-hero h2 { font-size: clamp(31px,8.5vw,40px); }
    .rgb-home .rgb-hero__lede { font-size: 15px; margin-block: 18px 22px; }
    .rgb-hero .rgb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .rgb-hero .rgb-actions .rgb-button { padding-inline: 10px; gap: 8px; text-align: center; }
    .rgb-home .rgb-kicker { font-size: 10px; letter-spacing: .04em; }
    .rgb-home .rgb-button { min-height: 46px; padding: 12px 16px; font-size: 13px; }
    .rgb-home .rgb-hero__grid { gap: 200px; padding-block: 34px 24px; }
    .rgb-hero__backdrop { height: 320px; }
    .rgb-hero__visual > img { max-height: 190px; }
    .rgb-home .rgb-float-card { padding: 10px 12px; gap: 4px 10px; }
    .rgb-float-card strong { font-size: 14px; }
    .rgb-float-card small { font-size: 11px; }
    .rgb-hero__proof { font-size: 11px; gap: 8px; margin-top: 20px; }
    .rgb-proofbar__grid > div { gap: 9px; padding: 16px 8px; }
    .rgb-proofbar span { font-size: 11px; }
    .rgb-proofbar strong { flex-basis: 24px; width: 24px; height: 24px; font-size: 13px; }
    .rgb-paths__grid, .rgb-supplies__grid, .rgb-journal__grid { grid-template-columns: 1fr; gap: 24px; }
    .rgb-home .rgb-path { min-height: 285px; }
    .rgb-path img { height: 285px; }
    .rgb-path__content strong { font-size: 26px; }
    .rgb-home .rgb-feature__copy h2, .rgb-home .rgb-support__intro h2, .rgb-home .rgb-cta h2 { font-size: 28px; }
    .rgb-feature__copy { padding: 25px; }
    .rgb-support__cards { grid-template-columns: 1fr; gap: 12px; }
    .rgb-home .rgb-support__cards > a { padding: 22px 22px 22px 104px; min-height: 128px; }
    .rgb-support__cards .rgb-support__icon { position: absolute; top: 24px; left: 20px; width: 62px; height: 62px; margin: 0; }
    .rgb-support__cards strong { padding-right: 12px; }
    .rgb-support__cards i { top: 12px; right: 12px; font-size: 15px; }
    .rgb-supplies__grid > a { min-height: 270px; }
    .rgb-quote { padding-block: 32px; }
    .rgb-quote__grid { grid-template-columns: 1fr; gap: 15px; }
    .rgb-quote__mark { display: none; }
    .rgb-quote__grid > a { grid-column: 1; }
    .rgb-quote blockquote > p { font-size: 20px; }
    .rgb-quote footer { gap: 9px; }
    .rgb-cta { padding-block: 35px; }
}
@media(prefers-reduced-motion:reduce) {
    .rgb-home *, .rgb-home *::before, .rgb-home *::after { transition: none !important; animation: none !important; }
    .rgb-home a:hover img, .rgb-support__cards > a:is(:hover,:focus-visible) .rgb-support__icon { transform: none; }
}
