/* Long reads and compliance pages (_skyprep_resource_page.php: the LMS guide, the GDPR guide, Terms and Privacy; and
   page-resource-21-cfr-part-11.php). The reading column and "On this page" list come from skyprep-post.css; this file
   adds the light hero, the boxes used inside the articles, the legal list styles and the 21 CFR Part 11 sections.
   Prefix rs-. */

/* Hero: light and left-aligned, with the small detail-page eyebrow (DESIGN-SYSTEM.md). */
.rs-main .lm-hero{padding-block:clamp(48px,6vw,80px);color:var(--lm-ink);background:linear-gradient(125deg,#f7fbff 0%,#eaf2ff 55%,#fbfdff 100%)}
.rs-main .lm-hero:before{top:-80px;right:-120px;left:auto;width:520px;height:200px;background:linear-gradient(90deg,#3772e900,#3772e91f);filter:blur(64px)}
.rs-main .lm-hero .lm-eyebrow{display:flex;margin-bottom:18px!important;color:var(--lm-blue);font-family:var(--lm-heading);font-size:13px;font-weight:600;letter-spacing:.08em}
.rs-main .lm-hero .lm-eyebrow:before{content:""}
.rs-main .lm-hero h1{max-width:18em;font-size:clamp(36px,4vw,54px);text-wrap:balance}
.rs-lead{max-width:40em;margin-top:20px!important;color:var(--lm-muted);font-size:clamp(17px,1.4vw,20px);line-height:1.55}
.rs-actions{margin-top:28px!important}

/* Reading column under a framed hero: a little less space above than the blog. A long "On this page" list (the
   Privacy Policy has 18 sections) scrolls inside the sticky column instead of running off the screen. */
.rs-layout{padding-top:48px}
.rs-layout .bp-side{max-height:calc(100vh - 120px);overflow-y:auto;overscroll-behavior:contain}
/* The logo strip sits on white and the reading column follows it. */
.rs-main .sp-logos+.rs-layout{padding-top:40px}

/* Key takeaways: a soft box at the top of an article. */
.rs-takeaways{padding:24px 28px;border-radius:20px;background:var(--lm-surface)}
.rs-takeaways>p{margin:0!important;color:var(--lm-ink)!important;font-family:var(--lm-heading);font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.rs-takeaways ul{margin:12px 0 0!important;padding-left:1.2em}
.rs-takeaways li{font-size:17px}

/* Link cards inside an article (the uses of an LMS): two columns of short cards. */
.rs-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0!important;list-style:none}
.rs-cards li{margin:0!important;padding:20px 22px;border:1px solid var(--lm-line);border-radius:18px;background:#fff;font-size:16px;line-height:1.55}
.rs-cards li::marker{content:none}
.rs-cards b{display:block;margin-bottom:4px;color:var(--lm-ink);font-family:var(--lm-heading);font-size:17px;font-weight:600}

/* GDPR: who does what for each right, as three small cards. */
.rs-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rs-roles>div{padding:18px 20px;border-radius:16px;background:var(--lm-surface);font-size:15px;line-height:1.6}
.rs-roles>div:last-child{background:var(--lm-blue-soft)}
.rs-roles b{display:block;margin-bottom:6px;color:var(--lm-ink);font-family:var(--lm-heading);font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.rs-roles p{margin:0!important;color:#33415c}
.rs-right{margin-top:-.2em!important;color:var(--lm-muted)!important}

/* Award badges inside an article. */
.rs-awards{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.rs-awards img{width:auto;height:96px;border-radius:0}

/* Closing card: one centred column. */
.rs-final{grid-template-columns:1fr;text-align:center}
.rs-final h2{max-width:none}
.rs-cta-lead{max-width:36em;margin:16px auto 28px!important;color:#eaf1ff;font-size:18px;line-height:1.5}
.rs-final-wrap{padding-bottom:80px}

/* Legal pages: the documents keep their own numbering and structure; this only sets a calmer reading size. */
.rs-legal .bp-prose{font-size:16px;line-height:1.7}
.rs-legal .bp-prose h2{font-size:clamp(21px,1.9vw,24px)}
.rs-legal .bp-prose u{color:var(--lm-ink);font-weight:600;text-decoration:none}
.rs-legal .bp-prose ul.terms{padding-left:0;list-style:none}
.rs-legal .bp-prose ul.terms>li+li{margin-top:.9em}
.rs-legal .bp-prose ol>li+li{margin-top:.6em}
.rs-legal .bp-prose ol>h2{margin-left:-1.4em}
.rs-legal .bp-prose address{font-style:normal}
.rs-legal .rs-layout{padding-bottom:96px}
/* Tables in legal pages (the cookie list of the cookie consent plugin on /cookie-policy/). */
.rs-legal .bp-prose table{width:100%;margin:12px 0 24px;border-collapse:collapse;font-size:15px;line-height:1.5}
.rs-legal .bp-prose th,.rs-legal .bp-prose td{padding:10px 14px;border:0;border-bottom:1px solid var(--lm-line);background:none;text-align:left;vertical-align:top}
.rs-legal .bp-prose th{background:var(--lm-surface);color:var(--lm-ink);font-family:var(--lm-heading);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.rs-legal .bp-prose td:first-child{width:32%;color:var(--lm-ink);font-weight:600;word-break:break-word}

/* 21 CFR Part 11 (page-resource-21-cfr-part-11.php). Section titles are centred, as on the product pages. */
.rs-cfr .lm-hero-copy>.rs-actions{margin:32px 0 0!important}
.rs-cfr-title{max-width:820px;margin:0 auto 44px!important;text-align:center;text-wrap:balance}
/* Hero picture: the six features as a checklist card. */
.rs-cfr-checklist{display:grid;gap:14px;max-width:420px;margin:0 0 0 auto!important;padding:28px 32px!important;border-radius:24px;background:#fff;box-shadow:0 24px 56px #1847941f;list-style:none}
.rs-cfr-checklist li{display:flex;align-items:center;gap:14px;color:var(--lm-ink);font-family:var(--lm-heading);font-size:18px;font-weight:600}
.rs-cfr-checklist .lm-check{flex:0 0 28px;width:28px;height:28px}
/* Security settings card with the audit trail report button. */
.rs-cfr-settings{padding:24px;border-radius:20px;background:#fff;box-shadow:0 20px 50px #18479421}
.rs-cfr-settings-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-bottom:16px;border-bottom:1px solid var(--lm-line)}
.rs-cfr-settings-head b{display:flex;align-items:center;gap:10px;color:var(--lm-ink);font-family:var(--lm-heading);font-size:19px;font-weight:600}
.rs-cfr-settings-head svg{width:22px;height:22px;fill:var(--lm-blue-soft);stroke:var(--lm-blue);stroke-width:1.8}
.rs-cfr-settings-head span{padding:8px 14px;border-radius:10px;background:var(--lm-blue);color:#fff;font-family:var(--lm-heading);font-size:13px;font-weight:600}
.rs-cfr-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #edf1f7;font-size:15px}
.rs-cfr-row:last-child{padding-bottom:0;border:0}
.rs-cfr-row span{color:var(--lm-ink);font-weight:600}
.rs-cfr-row i{padding:5px 12px;border-radius:999px;background:var(--lm-surface);color:var(--lm-muted);font-size:13px;font-style:normal;font-weight:600}
.rs-cfr-intro{color:var(--lm-ink)!important;font-family:var(--lm-heading);font-size:clamp(20px,1.8vw,24px)!important;font-weight:600;line-height:1.5!important;letter-spacing:-.01em}
.rs-cfr-reasons{grid-template-columns:repeat(4,minmax(0,1fr))}
/* Closing card: the client logos on white tiles above the button. */
.rs-cfr-logos{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:24px 0 28px!important;padding:0;list-style:none}
.rs-cfr-logos li{display:grid;place-items:center;width:96px;height:64px;padding:8px;border-radius:14px;background:#fff}
.rs-cfr-logos img{width:80px;height:48px;object-fit:contain}
/* VPAT (page-vpat-2026.php): the report in a document viewer card, with a toolbar above the embedded preview. */
.rs-doc-section{padding:40px 0 88px}
.rs-doc{overflow:hidden;border:1px solid var(--lm-line);border-radius:24px;background:#fff;box-shadow:0 24px 56px #18479414}
.rs-doc-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--lm-line);background:#fbfdff}
.rs-doc-name{display:flex;align-items:center;gap:12px;min-width:0}
.rs-doc-icon{display:grid;flex:none;place-items:center;width:44px;height:44px;border-radius:12px;background:#fff1e8;color:var(--lm-orange)}
.rs-doc-icon svg,.rs-doc-actions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rs-doc-name b{display:block;color:var(--lm-ink);font-family:var(--lm-heading);font-size:16px;font-weight:600;line-height:1.3}
.rs-doc-name small{color:var(--lm-muted);font-size:13px}
.rs-doc-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.rs-doc-actions .lm-button{gap:8px;min-height:44px;padding-inline:20px;font-size:15px}
.rs-doc-open{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1.5px solid var(--lm-line);border-radius:12px;color:var(--lm-ink)!important;font-family:var(--lm-heading);font-size:15px;font-weight:600;text-decoration:none!important;transition:border-color .2s,color .2s}
.rs-doc-open:hover{border-color:var(--lm-blue);color:var(--lm-blue)!important}
/* The page-like grey of a PDF viewer behind Google's preview. */
.rs-doc-frame{padding:0;background:#eef2f7}
.rs-doc-frame iframe{display:block;width:100%;height:min(1100px,calc(100vh - 140px));min-height:560px;border:0}
.rs-doc-help{margin-top:18px!important;color:var(--lm-muted);font-size:15px;text-align:center}
.rs-doc-help a{color:var(--lm-blue)!important}

/* Free guides (_skyprep_download_page.php): the guide's summary beside the download form, then links to the other
   guides. Prefix gd-. */
.gd-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(32px,5vw,72px);align-items:start}
.gd-main .lm-hero h1{font-size:clamp(34px,3.6vw,50px)}
.gd-intro{max-width:40em;margin-top:14px!important;color:var(--lm-muted);font-size:17px;line-height:1.6}
.gd-points-title{margin:32px 0 14px!important;color:var(--lm-ink);font-family:var(--lm-heading);font-size:13px!important;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.gd-points{display:grid;gap:12px;margin:0!important;padding:0!important;list-style:none}
.gd-points li{display:flex;align-items:flex-start;gap:12px;color:var(--lm-ink);font-size:17px;line-height:1.5}
.gd-points .lm-check{flex:0 0 24px;width:24px;height:24px;margin-top:1px}
.gd-card{padding:clamp(24px,3vw,36px);border-radius:24px;background:#fff;box-shadow:0 24px 56px #1847941f}
.gd-card-title{margin:0!important;color:var(--lm-ink);font-family:var(--lm-heading);font-size:clamp(22px,2vw,26px)!important;font-weight:600}
.gd-card-lead{margin:6px 0 20px!important;color:var(--lm-muted);font-size:15px}
.gd-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.gd-field{margin:0 0 14px!important}
.gd-field label{display:block;margin-bottom:6px;color:var(--lm-ink);font-family:var(--lm-heading);font-size:14px;font-weight:600}
.gd-field input,.gd-field select{width:100%;height:48px;padding:0 14px;border:1.5px solid var(--lm-line);border-radius:12px;background:#fff;color:var(--lm-ink);font:inherit;font-size:16px}
.gd-field select{padding-right:40px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23526174' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center/18px;-webkit-appearance:none;appearance:none;cursor:pointer}
.gd-field select:invalid{color:var(--lm-muted)}
.gd-field select option{color:var(--lm-ink)}
.gd-field input:focus,.gd-field select:focus{border-color:var(--lm-blue);outline:0;box-shadow:0 0 0 4px #3772e926}
.gd-field [aria-invalid=true]{border-color:#b42318}
.gd-error{display:block;margin-top:6px;color:#b42318;font-size:14px;font-weight:600}
.gd-submit{width:100%;justify-content:center;margin-top:6px;border:0;cursor:pointer}
.gd-legal{margin:14px 0 0!important;color:var(--lm-muted);font-size:13px;line-height:1.5;text-align:center}
.gd-legal a{color:var(--lm-muted)!important;text-decoration:underline}
.gd-done{text-align:center;outline:0}
.gd-done .lm-check{width:48px;height:48px;margin-bottom:12px}
.gd-done .lm-button{justify-content:center}
.gd-embed{min-height:520px}
.gd-jump{display:none;margin-top:24px!important}
.gd-card{scroll-margin-top:96px}
/* "More free guides": four link cards. */
.gd-more{padding:72px 0 8px}
.gd-more h2{margin:0 0 24px!important;font-size:clamp(26px,2.4vw,32px)}
.gd-more-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
.gd-more-list a{display:flex;flex-direction:column;gap:6px;height:100%;padding:22px;border:1px solid var(--lm-line);border-radius:18px;background:#fff;color:var(--lm-muted);font-size:15px;line-height:1.5;text-decoration:none;transition:border-color .2s,box-shadow .2s}
.gd-more-list a:hover{border-color:var(--lm-blue);box-shadow:0 14px 32px #1847941a}
.gd-more-list small{color:var(--lm-blue);font-family:var(--lm-heading);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.gd-more-list b{color:var(--lm-ink);font-family:var(--lm-heading);font-size:18px;font-weight:600;line-height:1.3}

@media (max-width:1020px){
    .gd-hero-grid{grid-template-columns:1fr}
    .gd-card{max-width:560px}
    .gd-jump{display:block}
    .gd-more-list{grid-template-columns:1fr 1fr}
}

@media (max-width:560px){
    .gd-row{grid-template-columns:1fr;gap:0}
    .gd-more{padding-top:48px}
    .gd-more-list{grid-template-columns:1fr}
    .gd-points li{font-size:16px}
}

@media (max-width:1020px){
    .rs-cfr-checklist{margin:0!important}
    .rs-cfr-reasons{grid-template-columns:1fr 1fr}
}

@media (max-width:700px){
    .rs-cfr-title{margin-bottom:28px!important;text-align:left}
    .rs-cfr-checklist{padding:22px!important}
    .rs-cfr-checklist li{font-size:16px}
    .rs-cfr-reasons{grid-template-columns:1fr}
    .rs-cfr-logos li{width:84px;height:56px}
    .rs-doc-section{padding:28px 0 56px}
    .rs-doc{border-radius:20px}
    .rs-doc-bar{padding:14px}
    .rs-doc-actions{width:100%}
    .rs-doc-actions{gap:8px}
    .rs-doc-actions>*{flex:1;justify-content:center;padding-inline:10px!important;font-size:14px!important;white-space:nowrap}
    .rs-doc-frame iframe{height:70vh;min-height:440px}
    .rs-main .lm-hero h1{font-size:clamp(32px,8.6vw,40px)}
    .rs-lead{font-size:17px}
    .rs-takeaways{padding:20px}
    .rs-cards,.rs-roles{grid-template-columns:1fr}
    .rs-awards img{height:72px}
    .rs-final-wrap{padding-bottom:48px}
    .rs-legal .bp-prose ol>h2{margin-left:-1.2em}
    .rs-legal .bp-prose th,.rs-legal .bp-prose td{padding:8px 10px;font-size:14px}
}
