/* Relia custom pages. .rw-story is narrowed to the pilot before rollout. */
section.main-page:has(article.rw-story),
section.main-page:has(article.rw-story) > :is(.container,.container-fluid,.container-full),
.main-page .f-page-content:has(> article.rw-story),
.main-page article.rw-story,
.main-page article.rw-story > section.rw-screen {
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  margin-inline:0;
  padding-inline:0;
}
.main-page .f-page-content.rte:has(> article.rw-story){padding-block:0}
.main-page article.rw-story{--rw-quiet:#3f594f;--rw-focus:#926b3f}
.main-page article.rw-story > .rw-screen{position:relative;isolation:isolate}
.main-page article.rw-story .rw-screen--hero{padding-block:64px 88px}
.main-page article.rw-story .rw-screen--hero::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(90deg,transparent calc(100% - 1px),rgba(180,142,95,.12) 0);
  background-size:25% 100%;opacity:.38;
  mask-image:linear-gradient(180deg,transparent,#000 20%,#000 80%,transparent);
}
.main-page article.rw-story :is(h1,h2){letter-spacing:-.035em;line-height:1.12;text-wrap:balance}
.main-page article.rw-story .rw-copy > p{color:var(--rw-quiet);opacity:1}
.main-page article.rw-story .rw-screen--dark .rw-copy > p{color:#e3e9de}
.main-page article.rw-story .rw-kicker{letter-spacing:.14em;opacity:1}
.main-page article.rw-story .rw-kicker::before{background:var(--accent)}
.main-page article.rw-story .rw-section-number{opacity:.7}
.main-page article.rw-story .rw-photo img{
  border-radius:12px;box-shadow:0 16px 36px rgba(23,63,53,.08);
  transition:box-shadow 180ms ease;
}
.main-page article.rw-story .rw-photo figcaption{font-size:12px;color:#756858;opacity:1;line-height:1.6}
.main-page article.rw-story .rw-screen--dark .rw-photo figcaption{color:#d8e1d5}
.main-page article.rw-story .rw-graphic{border-color:#dce2d8;border-radius:12px;box-shadow:0 12px 36px rgba(23,63,53,.035)}
.main-page article.rw-story .rw-screen--dark .rw-graphic{border-color:#527065}
.main-page article.rw-story .rw-data-card{border-radius:7px}
.main-page article.rw-story table{font-size:13px;line-height:1.6}
.main-page article.rw-story th{letter-spacing:.07em}
.main-page article.rw-story .rw-section-links{gap:10px 22px}
.main-page article.rw-story .rw-section-links a{
  min-height:44px;display:inline-flex;align-items:center;justify-content:center;
  font-size:13px;line-height:1.5;max-width:100%;text-wrap:pretty;
  transition:color 150ms ease,border-color 150ms ease,background-color 150ms ease;
}
.main-page article.rw-story .rw-section-links a::after{display:inline-block;flex:none;transition:transform 150ms ease}
.main-page article.rw-story .rw-screen--hero .rw-section-links a:first-child,
.main-page article.rw-story .rw-screen:last-child .rw-section-links a[href^="mailto:"]{
  padding:12px 18px;border:1px solid var(--ink);border-radius:6px;
  background:var(--ink);color:var(--paper);font-size:14px;
}
.main-page article.rw-story .rw-screen--dark:last-child .rw-section-links a[href^="mailto:"]{
  background:var(--paper);color:var(--ink);border-color:var(--paper);
}
.main-page article.rw-story a:focus-visible{outline:2px solid var(--rw-focus);outline-offset:5px}
.main-page article.rw-story .rw-screen--dark a:focus-visible{outline-color:#dec59b}
.main-page article.rw-story .rw-graphic[data-diagram*="contact"]::before{height:2px;width:36px;margin-bottom:20px}
.main-page article.rw-story .rw-graphic[data-diagram*="contact"] .rw-data-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.main-page article.rw-story .rw-graphic[data-diagram*="contact"] .rw-data-card{
  display:block;padding:19px 17px;background:transparent;min-width:0;
}
.main-page article.rw-story .rw-graphic[data-diagram*="contact"] .rw-data-card:last-child:nth-child(odd){grid-column:1/-1}
.main-page article.rw-story .rw-graphic[data-diagram*="contact"] .rw-symbol{display:none}
.main-page article.rw-story .rw-graphic[data-diagram*="contact"] .rw-data-card strong{
  font-size:11px;letter-spacing:.075em;text-transform:uppercase;margin:0 0 9px;line-height:1.4;
}
.main-page article.rw-story .rw-graphic[data-diagram*="contact"] .rw-data-card dl{grid-column:auto;font-size:14px;line-height:1.6}
.main-page article.rw-story .rw-graphic[data-diagram*="contact"] .rw-data-card dt{display:none}
.main-page article.rw-story .rw-graphic[data-diagram*="contact"] .rw-data-card dd{display:block;margin:0;overflow-wrap:anywhere}
.main-page article.rw-story .rw-graphic[data-diagram*="contact"] .rw-data-card dd::after{display:none}
@media(hover:hover) and (pointer:fine){
  .main-page article.rw-story .rw-section-links a:hover{color:#6f512f;border-color:#967347}
  .main-page article.rw-story .rw-section-links a:hover::after{transform:translate(2px,-2px)}
  .main-page article.rw-story .rw-screen--hero .rw-section-links a:first-child:hover,
  .main-page article.rw-story .rw-screen:last-child .rw-section-links a[href^="mailto:"]:hover{background:#285447;color:#fff;border-color:#285447}
  .main-page article.rw-story .rw-screen--dark .rw-section-links a:hover{color:#e4cba5;border-color:#e4cba5}
  .main-page article.rw-story .rw-photo:hover img{box-shadow:0 20px 42px rgba(23,63,53,.13)}
}
@media(max-width:1100px){
  .main-page article.rw-story .rw-graphic[data-diagram*="contact"] .rw-data-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .main-page article.rw-story .rw-screen--hero{padding-block:34px}
  .main-page article.rw-story .rw-screen--hero::before{background-size:50% 100%;opacity:.22}
  .main-page article.rw-story :is(h1,h2){letter-spacing:-.03em;line-height:1.13}
  .main-page article.rw-story table{font-size:11.5px}
  .main-page article.rw-story .rw-photo img{border-radius:9px}
  .main-page article.rw-story .rw-photo figcaption{font-size:11px}
  .main-page article.rw-story .rw-graphic[data-diagram*="contact"] .rw-data-card{padding:16px}
  .main-page article.rw-story .rw-section-links{gap:8px 18px}
}
@media(prefers-reduced-motion:reduce){
  .main-page article.rw-story .rw-section-links a,
  .main-page article.rw-story .rw-section-links a::after,
  .main-page article.rw-story .rw-photo img{transition:none}
  .main-page article.rw-story .rw-section-links a:hover::after{transform:none}
}

/* Customer reading paths, product references and compact visual explanations. */
.main-page article.rw-story.rw-reader-page .rw-screen{scroll-margin-top:112px}
.main-page article.rw-story.rw-reader-page .rw-screen--hero .rw-inner{row-gap:24px}
.main-page article.rw-story.rw-reader-page .rw-visual-cluster{display:grid;gap:18px;min-width:0}
.main-page article.rw-story.rw-reader-page .rw-screen--hero .rw-photo img{aspect-ratio:4/3;max-height:540px}
.main-page article.rw-story.rw-reader-page .rw-mini-diagram{padding:17px;border:1px solid #d9e0d5;border-radius:10px;background:#fff;color:#173f35}
.main-page article.rw-story.rw-reader-page .rw-mini-diagram h3{font-size:13px;letter-spacing:0;line-height:1.45;margin:0 0 13px}
.main-page article.rw-story.rw-reader-page .rw-mini-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:12px}
.main-page article.rw-story.rw-reader-page .rw-mini-item{min-width:0;padding-top:10px;border-top:1px solid #c5d0c0}
.main-page article.rw-story.rw-reader-page .rw-mini-index{display:block;font-size:10px;line-height:1.4;letter-spacing:.1em;color:#927245;margin-bottom:5px}
.main-page article.rw-story.rw-reader-page .rw-mini-item strong{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.main-page article.rw-story.rw-reader-page .rw-mini-item p,.main-page article.rw-story.rw-reader-page .rw-mini-note{font-size:12.5px;line-height:1.55;margin-top:6px;overflow-wrap:anywhere}
.main-page article.rw-story.rw-reader-page .rw-mini-note{margin-top:13px;color:#53685b}
.main-page article.rw-story.rw-reader-page .rw-screen--dark .rw-mini-diagram{background:#224b40;color:#f6f2ea;border-color:#527065}
.main-page article.rw-story.rw-reader-page .rw-screen--dark .rw-mini-item{border-color:#627e6f}
.main-page article.rw-story.rw-reader-page .rw-screen--dark .rw-mini-index{color:#e0c49a}
.main-page article.rw-story.rw-reader-page .rw-screen--dark .rw-mini-note{color:#dce5d7}
.main-page article.rw-story.rw-reader-page .rw-reading-path{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;min-width:0;padding-top:17px;border-top:1px solid #d5ddd0}
.main-page article.rw-story.rw-reader-page .rw-path-title{grid-column:1/-1;font-size:10px;letter-spacing:.12em;text-transform:uppercase;line-height:1.4}
.main-page article.rw-story.rw-reader-page .rw-reading-path a{display:grid;grid-template-columns:22px minmax(0,1fr) 14px;gap:8px;align-items:center;min-height:48px;padding:10px 12px;border:1px solid #d0d9cb;border-radius:6px;background:rgba(255,255,255,.5);font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.main-page article.rw-story.rw-reader-page .rw-path-index{font-size:10px;color:#8a6940}
.main-page article.rw-story.rw-reader-page .rw-reading-path i{font-style:normal}
.main-page article.rw-story.rw-reader-page .rw-product-shortlist,.main-page article.rw-story.rw-reader-page .rw-next-guides,.main-page article.rw-story.rw-reader-page .rw-quote-brief{margin-top:24px}
.main-page article.rw-story.rw-reader-page :is(.rw-product-shortlist,.rw-next-guides,.rw-quote-brief)>h3{font-size:15px;letter-spacing:-.01em;line-height:1.45;margin-bottom:12px}
.main-page article.rw-story.rw-reader-page :is(.rw-mini-diagram,.rw-product-shortlist,.rw-next-guides,.rw-quote-brief)>h3{color:inherit}
.main-page article.rw-story.rw-reader-page .rw-product-reference{display:grid;gap:7px;padding:15px 16px;margin-top:10px;min-height:44px;border:1px solid #ccd7c7;border-left:3px solid #a88b61;border-radius:7px;background:#fff;color:#173f35;transition:background-color 150ms ease,border-color 150ms ease}
.main-page article.rw-story.rw-reader-page .rw-product-reference>strong{font-size:14px;line-height:1.45}
.main-page article.rw-story.rw-reader-page .rw-product-fit{font-size:13px;line-height:1.55}
.main-page article.rw-story.rw-reader-page .rw-product-facts{display:flex;flex-wrap:wrap;gap:5px 8px}
.main-page article.rw-story.rw-reader-page .rw-product-facts>span{padding:3px 7px;background:#edf1e9;border-radius:3px;font-size:11.5px;line-height:1.5;overflow-wrap:anywhere}
.main-page article.rw-story.rw-reader-page .rw-product-action{font-size:12px;line-height:1.5;font-weight:600}
.main-page article.rw-story.rw-reader-page .rw-next-guides>a{position:relative;display:grid;gap:6px;padding:14px 28px 14px 0;border-bottom:1px solid currentColor;min-height:44px}
.main-page article.rw-story.rw-reader-page .rw-next-guides>a>strong{font-size:14px;line-height:1.45}
.main-page article.rw-story.rw-reader-page .rw-next-guides>a>span{font-size:13px;line-height:1.6;opacity:.9}
.main-page article.rw-story.rw-reader-page .rw-next-guides>a>i{position:absolute;right:2px;top:14px;font-style:normal}
.main-page article.rw-story.rw-reader-page .rw-quote-brief{padding-top:20px;border-top:1px solid currentColor}
.main-page article.rw-story.rw-reader-page .rw-quote-brief ol{padding-left:20px;font-size:14px;line-height:1.65;margin-bottom:17px;list-style:decimal}
.main-page article.rw-story.rw-reader-page .rw-quote-brief li{padding-left:3px;margin-bottom:7px}
.main-page article.rw-story.rw-reader-page .rw-request-quote{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:47px;max-width:100%;padding:12px 18px;background:#173f35;color:#f6f2ea;border:1px solid #173f35;border-radius:6px;font-size:14px;font-weight:600;line-height:1.5;transition:background-color 150ms ease,color 150ms ease}
.main-page article.rw-story.rw-reader-page .rw-screen--dark .rw-request-quote{background:#f6f2ea;color:#173f35;border-color:#f6f2ea}
.main-page article.rw-story.rw-reader-page .rw-screen:last-child .rw-section-links a[href^="mailto:"]{background:transparent;color:inherit;border:0;border-bottom:1px solid currentColor;border-radius:0;padding:8px 0;font-size:13px}
.main-page article.rw-story.rw-reader-page .rw-screen--dark .rw-product-reference{background:#224b40;color:#f6f2ea;border-color:#6d8677;border-left-color:#d5b783}
.main-page article.rw-story.rw-reader-page .rw-screen--dark .rw-product-facts>span{background:#31594b;color:#f6f2ea}
.main-page article.rw-story.rw-reader-page :is(.rw-reading-path a,.rw-product-reference,.rw-next-guides a,.rw-request-quote):focus-visible{outline:2px solid #926b3f;outline-offset:4px}
.main-page article.rw-story.rw-reader-page .rw-screen--dark :is(.rw-product-reference,.rw-next-guides a,.rw-request-quote):focus-visible{outline-color:#dec59b}
@media(hover:hover) and (pointer:fine){
 .main-page article.rw-story.rw-reader-page .rw-reading-path a:hover{background:#e8eee2;border-color:#8d9d83}
 .main-page article.rw-story.rw-reader-page .rw-product-reference:hover{background:#f0f4eb;border-color:#8d9d83}
 .main-page article.rw-story.rw-reader-page .rw-screen--dark .rw-product-reference:hover{background:#31594b}
 .main-page article.rw-story.rw-reader-page .rw-next-guides a:hover{color:#8b663a}
 .main-page article.rw-story.rw-reader-page .rw-screen--dark .rw-next-guides a:hover{color:#e4cba5}
 .main-page article.rw-story.rw-reader-page .rw-request-quote:hover{background:#285447;color:#fff;border-color:#285447}
}
@media(max-width:760px){
 .main-page article.rw-story.rw-reader-page .rw-screen{scroll-margin-top:94px}
 .main-page article.rw-story.rw-reader-page .rw-screen--hero .rw-photo img{aspect-ratio:16/9;max-height:none}
 .main-page article.rw-story.rw-reader-page .rw-visual-cluster{gap:14px}
 .main-page article.rw-story.rw-reader-page .rw-mini-diagram{padding:14px}
 .main-page article.rw-story.rw-reader-page .rw-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .main-page article.rw-story.rw-reader-page .rw-reading-path{gap:8px;padding-top:15px}
 .main-page article.rw-story.rw-reader-page .rw-reading-path a{grid-template-columns:1fr;gap:5px;align-content:start;padding:10px;min-height:70px;font-size:12.5px}
 .main-page article.rw-story.rw-reader-page .rw-reading-path i{display:none}
 .main-page article.rw-story.rw-reader-page .rw-product-reference{padding:14px}
 .main-page article.rw-story.rw-reader-page .rw-product-fit,.main-page article.rw-story.rw-reader-page .rw-next-guides>a>span{font-size:14px}
}
@media(max-width:600px){
 .main-page article.rw-story.rw-reader-page .rw-reader-table{position:relative;display:block;width:100%;font-size:14px}
 .main-page article.rw-story.rw-reader-page .rw-reader-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .main-page article.rw-story.rw-reader-page .rw-reader-table tbody{display:block;width:100%}
 .main-page article.rw-story.rw-reader-page .rw-reader-table tr{display:block;padding:10px 0;border-bottom:1px solid #ccd8c4}
 .main-page article.rw-story.rw-reader-page .rw-reader-table tr:first-child{padding-top:0}
 .main-page article.rw-story.rw-reader-page .rw-reader-table tr:last-child{border-bottom:0;padding-bottom:0}
 .main-page article.rw-story.rw-reader-page .rw-reader-table td{display:grid;grid-template-columns:minmax(88px,.85fr) minmax(0,1.25fr);gap:12px;padding:7px 0;border:0;font-size:14px;line-height:1.55;font-weight:400;overflow-wrap:anywhere}
 .main-page article.rw-story.rw-reader-page .rw-reader-table td::before{content:attr(data-label);font-size:11.5px;font-weight:600;line-height:1.5;opacity:.85}
 .main-page article.rw-story.rw-reader-page .rw-reader-table td:first-child{font-weight:600}
 .main-page article.rw-story.rw-reader-page .rw-screen--dark .rw-reader-table tr{border-color:#688272}
 .main-page article.rw-story.rw-reader-page .rw-reader-table[data-columns="2"]{display:table;table-layout:fixed}
 .main-page article.rw-story.rw-reader-page .rw-reader-table[data-columns="2"] thead{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;white-space:normal}
 .main-page article.rw-story.rw-reader-page .rw-reader-table[data-columns="2"] tbody{display:table-row-group}
 .main-page article.rw-story.rw-reader-page .rw-reader-table[data-columns="2"] tr{display:table-row;padding:0}
 .main-page article.rw-story.rw-reader-page .rw-reader-table[data-columns="2"] td{display:table-cell;padding:12px 7px;border-bottom:1px solid #ccd8c4}
 .main-page article.rw-story.rw-reader-page .rw-reader-table[data-columns="2"] td::before{display:none}
 .main-page article.rw-story.rw-reader-page .rw-reader-table[data-columns="2"] tr:last-child td{border-bottom:0}
}
@media(prefers-reduced-motion:reduce){
 .main-page article.rw-story.rw-reader-page :is(.rw-product-reference,.rw-request-quote){transition:none}
}
