/* Scoped layouts retain the site's typography and Joomla buttons. */
.rdps-journey,.rdps-journey-admin{max-width:1200px;margin:0 auto;padding:clamp(1rem,3vw,2rem);line-height:1.65}
.rdps-journey h1,.rdps-journey h2,.rdps-journey h3,.rdps-journey h4{line-height:1.25}.rdps-journey-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.rdps-journey-header nav,.rdps-journey-tabs{display:flex;flex-wrap:wrap;gap:.65rem;margin:1rem 0}.rdps-journey-tabs a,.rdps-journey-header nav a{display:block;padding:.6rem 1rem;border:1px solid #b8c5d3;border-radius:.5rem;text-decoration:none}.rdps-journey [aria-current=true]{background:#203c5b;color:white}.rdps-resource-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:1.4rem;margin:1.5rem 0}.rdps-resource-card{padding:1.5rem;border:1px solid #d2dce6;border-radius:1rem;background:var(--body-bg,#fff);display:flex;flex-direction:column}.rdps-resource-card h4{font-size:1rem;margin:1rem 0 .3rem}.rdps-resource-card p{margin:.3rem 0 .9rem}.rdps-resource-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:auto;padding-top:1rem}.rdps-resource-icon{font-size:2rem}.rdps-access-state{font-size:.9rem;font-weight:600}.rdps-journey details,.rdps-journey-admin details{padding:1rem;border:1px solid #d2dce6;border-radius:.6rem;margin:1rem 0}.rdps-journey summary,.rdps-journey-admin summary{cursor:pointer;font-weight:600}.rdps-journey-form{display:grid;gap:1rem;margin:1rem 0}.rdps-journey-form label{display:grid;gap:.35rem}.rdps-journey-form input,.rdps-journey-form select,.rdps-journey-form textarea{width:100%;padding:.7rem;border:1px solid #a6b5c5;border-radius:.4rem;font:inherit}.rdps-journey-form button{justify-self:start}.rdps-language-columns,.rdps-welcome-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}.rdps-language-columns fieldset{min-width:0}.rdps-welcome-grid img,.rdps-final-image{width:100%;height:auto;object-fit:contain}.rdps-journey footer,.rdps-journey-admin section{border-top:1px solid #d2dce6;margin-top:2rem;padding-top:1.5rem}.rdps-journey a:focus-visible,.rdps-journey button:focus-visible,.rdps-journey summary:focus-visible{outline:3px solid #2177ca;outline-offset:4px}.rdps-reading-nav{position:sticky;top:0;z-index:5;padding:.8rem;background:#fff;border-bottom:1px solid #cad5e0;display:flex;flex-wrap:wrap;gap:1rem;align-items:center}.rdps-reading-nav a{padding:.5rem}.rdps-reading-copy{max-width:75ch;line-height:1.7;margin:1.5rem auto}.rdps-journey-admin code{overflow-wrap:anywhere}@media(max-width:700px){.rdps-language-columns,.rdps-welcome-grid{grid-template-columns:1fr}.rdps-resource-actions .btn{flex:1 1 100%;text-align:center}.rdps-journey h1{font-size:1.8rem}.rdps-reading-nav{position:static}}@media(prefers-reduced-motion:reduce){.rdps-journey *{scroll-behavior:auto!important;transition:none!important}}

.rdps-page-controls{display:flex;align-items:end;flex-wrap:wrap;gap:.65rem;margin:1rem 0}.rdps-page-controls label{display:grid;gap:.2rem}.rdps-page-controls input{width:5rem}.rdps-page-controls input,.rdps-page-controls select,.rdps-page-controls button{min-height:44px;padding:.5rem}.rdps-page-controls output{padding:.5rem}.rdps-journey .btn{display:inline-block;min-height:44px;padding:.65rem 1rem;border-radius:.4rem;text-decoration:none}.rdps-journey .btn-primary{background:#203c5b;color:#fff;border:1px solid #203c5b}.rdps-journey .btn-outline-primary{color:#203c5b;border:1px solid #203c5b;background:white}

.rdps-icon-image{width:3rem;height:3rem;object-fit:contain}.rdps-journey-breadcrumb{margin:1.5rem 0;font-size:.95rem}

.rdps-journey *,.rdps-journey-admin *,.rdps-page-controls *{box-sizing:border-box}.rdps-front.rdpdf-reader-page .rdpdf-reader-actions>*{box-sizing:border-box;max-width:100%;white-space:normal}.rdps-front.rdpdf-reader-page h1{overflow-wrap:anywhere}.rdps-journey [aria-disabled=true]{display:block;color:#667789;font-weight:600}

/* 4.6.1: readable cards and long imported titles. */
.rdps-journey .rdps-resource-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));align-items:stretch;gap:1.5rem}
.rdps-journey .rdps-resource-card{min-width:0;max-width:100%;padding:clamp(1.1rem,2.5vw,1.75rem);box-shadow:0 3px 16px rgba(32,60,91,.05);overflow-wrap:anywhere}
.rdps-journey .rdps-resource-card>*{min-width:0;max-width:100%}
.rdps-journey .rdps-resource-icon{display:flex;align-items:center;width:112px;height:112px;flex-shrink:0;font-size:4.5rem;line-height:1;margin:0 0 1.1rem}
.rdps-journey .rdps-resource-icon .rdps-icon-image{display:block;width:112px;height:112px;max-width:100%;object-fit:contain}
.rdps-journey .rdps-resource-card h3{margin:0 0 1rem;font-size:clamp(1.25rem,2vw,1.55rem);font-weight:700;line-height:1.35;white-space:normal;overflow-wrap:anywhere;word-break:normal;color:#203c5b}
.rdps-journey .rdps-resource-card h4{margin:1.1rem 0 .35rem;font-size:1rem;font-weight:700;line-height:1.45;white-space:normal;color:#203c5b}
.rdps-journey .rdps-resource-card p{line-height:1.65;margin:.25rem 0 .75rem;white-space:normal}
.rdps-journey .rdps-resource-card details{background:#f6f8fb;margin:1rem 0;padding:.9rem 1rem}
.rdps-journey .rdps-resource-card summary{font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.rdps-journey .rdps-resource-card .rdps-access-state{align-self:flex-start;background:#eef3f8;color:#203c5b;border-radius:.4rem;padding:.4rem .7rem;margin:.5rem 0;font-size:.9rem;font-weight:600}
.rdps-journey .rdps-resource-actions{gap:.75rem;padding-top:1.25rem}
.rdps-journey .rdps-resource-actions .btn{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5;text-align:center}
.rdps-journey .rdps-journey-tabs a{min-height:44px;font-weight:600;line-height:1.5}
.rdps-journey .rdps-journey-tabs a:hover{background:#eef3f8;color:#203c5b}
.rdps-journey .rdps-journey-tabs a[aria-current=true]{background:#203c5b;color:#fff}
@media(max-width:700px){.rdps-journey .rdps-resource-icon,.rdps-journey .rdps-resource-icon .rdps-icon-image{width:96px;height:96px}.rdps-journey .rdps-resource-card h3{font-size:1.3rem}.rdps-journey .rdps-resource-grid{gap:1rem}}
.rdps-journey h1,.rdps-journey h2,.rdps-journey h3,.rdps-journey h4{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.rdps-journey-header>*{min-width:0;max-width:100%}
