﻿/* Instructions and reference guides: existing CMS groups and downloads. */
body main:has(.rg-page) > .common-static-header { display: none; }
.rg-page { color: var(--rollex-navy); }


body .rg-page .rg-hero h1 { max-width: 1100px; }
.rg-intro { max-width: 740px; }
.rg-page .rg-intro p { margin: 0 0 12px; color: #bdd0df; font-size: 16px; line-height: 1.85; }
.rg-intro p:last-child { margin-bottom: 0; }
.rg-intro span { font: inherit !important; color: inherit !important; }
.rg-intro a { color: #d4f5ed; text-decoration: underline; text-underline-offset: 4px; }

.rg-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 42px; align-items: start; }

.rg-sidebar .category-product h6 { margin: 0; }
.rg-sidebar .category-product a { font-family: var(--rollex-font); font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--rollex-navy); }
.rg-sidebar .category-product a:hover, .rg-sidebar h6.current > a { color: #176e70; }
.rg-sidebar h6.current > a { font-weight: 700; }
.rg-library { min-width: 0; }
.rg-page .guide-library { gap: 20px; align-items: stretch; }
.rg-page .guide-group { background: var(--rollex-surface); border: 1px solid transparent; border-radius: 6px; overflow: hidden; transition: background .2s, border-color .2s; }
.rg-page .guide-group:hover, .rg-page .guide-group:focus-within { background: #e4f1f1; border-color: #b5d7d4; }
.rg-page .guide-group__heading { padding: 28px; }
.rg-page .guide-group__heading:has(a:only-child):not(:has(img)) { padding: 0; }
body .rg-page .guide-group__heading :is(h2,h3,h4,h5,h6) { font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: -.025em; text-transform: none; }
.rg-page .guide-group__heading :is(h2,h3,h4,h5,h6) > a { padding: 28px 70px 28px 28px; min-height: 150px; height: 100%; color: var(--rollex-navy); }
.rg-page .guide-group__heading a::after { right: 24px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 1px solid #ccdade; border-radius: 50%; text-align: center; font-size: 21px; line-height: 29px; color: #42727e; }
.rg-page .guide-group__heading a:focus-visible, .rg-page .guide-download a:focus-visible { outline: 3px solid #1d9b92; outline-offset: -4px; }
.rg-page .guide-download { border-top-color: #d4e1e5; }
.rg-page .guide-download a { padding: 18px 28px; }
@media (max-width: 991px) {
    .rg-layout { grid-template-columns: 210px minmax(0,1fr); gap: 28px; }
    .rg-page .guide-library { grid-template-columns: 1fr; }
    .rg-page .guide-group__heading :is(h2,h3,h4,h5,h6) > a { min-height: 120px; }
}
@media (max-width: 767px) {

    .rg-layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
    .rg-page .guide-library { gap: 16px; }
    .rg-page .guide-group__heading :is(h2,h3,h4,h5,h6) > a { padding: 24px 62px 24px 24px; }
    .rg-page .guide-group__heading a::after { right: 20px; }
}