/* Rosary design v5: cinematic layer on top of v4 glass. Preview with ?design=v5. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.35s}
html:has(body.rd5){scroll-behavior:smooth;scroll-padding-top:110px}
body.rd5{--ease-cine:cubic-bezier(.2,.7,.1,1)}

/* ---- Sticky glass header that condenses on scroll ---- */
body.rd5 .site-header{transition:box-shadow .35s var(--ease-cine),background .35s}
body.rd5 .site-header .nav-row{transition:min-height .35s var(--ease-cine)}
body.rd5 .site-header .brand img{transition:width .35s var(--ease-cine),height .35s var(--ease-cine)}
body.rd5 .site-header .utility-bar{overflow:hidden;max-height:96px;transition:max-height .35s var(--ease-cine),padding .35s var(--ease-cine),opacity .25s}
body.rd5 .site-header.is-scrolled .utility-bar{max-height:0!important;padding-block:0!important;border-width:0!important;opacity:0;pointer-events:none}
@media (min-width:1101px){
  body.rd5 .site-header.is-scrolled .nav-row{min-height:66px!important}
  body.rd5 .site-header.is-scrolled .brand img{width:44px!important;height:44px!important}
}
/* gold hairline under header */
body.rd5 .site-header::after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:1px;background:linear-gradient(90deg,transparent,rgba(200,154,72,.55),transparent);pointer-events:none}

/* ---- Cinematic heroes ---- */
body.rd5 main > section:first-child,body.rd5 .v16-hero{position:relative;isolation:isolate}
body.rd5 .rd5-hero-media{overflow:hidden!important}
body.rd5 .rd5-hero-media :is(img,video){will-change:transform;transform-origin:50% 45%}
body.rd5.rd5-motion .rd5-hero-media :is(img,video){animation:rd5-kenburns 22s ease-in-out infinite alternate}
@keyframes rd5-kenburns{from{transform:scale(1.02) translate3d(0,0,0)}to{transform:scale(1.1) translate3d(-1.2%,-1%,0)}}
body.rd5 .rd5-vignette::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
  background:radial-gradient(120% 90% at 50% 40%,transparent 55%,rgba(6,29,59,.45) 100%),linear-gradient(180deg,rgba(6,29,59,.0) 55%,rgba(6,29,59,.35) 100%)}
body.rd5 .rd5-vignette > *{position:relative;z-index:2}
/* staggered hero text */
body.rd5.rd5-motion .rd5-stagger > *{opacity:.01;transform:translate3d(0,22px,0);animation:rd5-rise .9s var(--ease-cine) forwards}
body.rd5.rd5-motion .rd5-stagger > *:nth-child(1){animation-delay:.08s}
body.rd5.rd5-motion .rd5-stagger > *:nth-child(2){animation-delay:.2s}
body.rd5.rd5-motion .rd5-stagger > *:nth-child(3){animation-delay:.32s}
body.rd5.rd5-motion .rd5-stagger > *:nth-child(4){animation-delay:.44s}
body.rd5.rd5-motion .rd5-stagger > *:nth-child(n+5){animation-delay:.56s}
@keyframes rd5-rise{to{opacity:1;transform:none}}
body.rd5 main > section:first-child h1{letter-spacing:-.015em;text-shadow:0 2px 30px rgba(6,29,59,.18)}
body.rd5.rosary-ar main > section:first-child h1{letter-spacing:0}

/* ---- Scroll reveals (IntersectionObserver adds .rd5-in) ---- */
body.rd5.rd5-motion .rd5-r{opacity:0;transform:translate3d(0,28px,0) scale(.985);transition:opacity .8s var(--ease-cine),transform .9s var(--ease-cine);transition-delay:var(--rd5-d,0s)}
body.rd5.rd5-motion .rd5-r.rd5-in{opacity:1;transform:none}

/* ---- Image cards: depth + slow zoom ---- */
body.rd5 .rd5-zoom{overflow:hidden;isolation:isolate}
body.rd5 .rd5-zoom img{transition:transform 1.1s var(--ease-cine),filter .6s}
body.rd5 .rd5-zoom:hover img{transform:scale(1.06)}
body.rd5 main figure:not(.rd5-hero-media),body.rd5 .rd4-glass{transition:transform .5s var(--ease-cine),box-shadow .5s var(--ease-cine)}
body.rd5 main a:has(img):hover,body.rd5 main figure.rd5-zoom:hover{box-shadow:0 24px 60px rgba(6,29,59,.22)}
body.rd5 main img{image-rendering:auto}

/* ---- Section rhythm ---- */
body.rd5 main .section{padding-block:clamp(64px,8vw,120px)}
body.rd5 main :is(h2){font-size:clamp(1.9rem,3.4vw,3rem)}
body.rd5 main .section :is(h2) + p,body.rd5 main .split-heading p{font-size:clamp(1rem,1.2vw,1.12rem);line-height:1.85}
body.rd5 .text-link{display:inline-flex!important;align-items:center;gap:.4em;font-weight:700;text-underline-offset:5px}
body.rd5 .text-link::after{content:"";width:1em;height:1em;flex:0 0 1em;background:currentColor;transition:transform .3s var(--ease-cine);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
body.rd5.rosary-ar .text-link::after{transform:scaleX(-1)}
body.rd5 .text-link:hover::after{transform:translateX(4px)}
body.rd5.rosary-ar .text-link:hover::after{transform:scaleX(-1) translateX(4px)}
/* Strip literal arrows already in labels when we add an icon */
body.rd5 .rd5-noarrow::after{display:none}

/* ---- Footer ---- */
body.rd5 .site-footer{position:relative;background:radial-gradient(900px 400px at 85% 0%,rgba(200,154,72,.14),transparent 70%),radial-gradient(800px 500px at 0% 100%,rgba(22,71,129,.45),transparent 70%),linear-gradient(180deg,#0b2d57,#061d3b)!important}
body.rd5 .site-footer::before{content:"";position:absolute;inset-inline:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(226,191,122,.7),transparent)}
body.rd5 .site-footer a{transition:color .2s}

/* ---- Mobile: full-screen glass menu ---- */
@media (max-width:1100px){
  body.rd5 .primary-nav.is-open{position:fixed!important;inset:var(--rd5-hh,100px) 0 0 0!important;z-index:1150!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;
    padding:24px 22px calc(110px + env(safe-area-inset-bottom))!important;overflow-y:auto;background:rgba(251,247,239,.82)!important;-webkit-backdrop-filter:saturate(170%) blur(22px);backdrop-filter:saturate(170%) blur(22px);
    border:0!important;border-radius:0!important;box-shadow:none!important;max-height:none!important;width:auto!important}
  body.rd5 .primary-nav.is-open a{font-size:clamp(1.3rem,5.6vw,1.6rem)!important;font-weight:700!important;padding:14px 16px!important;border-radius:16px!important;color:var(--rd-navy)!important;border-bottom:1px solid rgba(11,45,87,.08);background:transparent}
  body.rd5 .primary-nav.is-open a:is(.is-current,[aria-current="page"]){background:rgba(255,255,255,.75)!important;box-shadow:inset 3px 0 0 var(--rd-gold)!important}
  body.rd5.rosary-ar .primary-nav.is-open a:is(.is-current,[aria-current="page"]){box-shadow:inset -3px 0 0 var(--rd-gold)!important}
  body.rd5.rd5-motion .primary-nav.is-open a{opacity:0;transform:translateY(14px);animation:rd5-rise .5s var(--ease-cine) forwards}
  body.rd5.rd5-motion .primary-nav.is-open a:nth-child(1){animation-delay:.03s}body.rd5.rd5-motion .primary-nav.is-open a:nth-child(2){animation-delay:.06s}
  body.rd5.rd5-motion .primary-nav.is-open a:nth-child(3){animation-delay:.09s}body.rd5.rd5-motion .primary-nav.is-open a:nth-child(4){animation-delay:.12s}
  body.rd5.rd5-motion .primary-nav.is-open a:nth-child(5){animation-delay:.15s}body.rd5.rd5-motion .primary-nav.is-open a:nth-child(6){animation-delay:.18s}
  body.rd5.rd5-motion .primary-nav.is-open a:nth-child(7){animation-delay:.21s}body.rd5.rd5-motion .primary-nav.is-open a:nth-child(n+8){animation-delay:.24s}
  body.rd5.rd5-menu-open{overflow:hidden}
}

/* ---- Reduced motion: everything visible, no animation ---- */
@media (prefers-reduced-motion:reduce){
  html:has(body.rd5){scroll-behavior:auto}
  body.rd5 .rd5-r{opacity:1!important;transform:none!important}
  body.rd5 *{animation:none!important}
  ::view-transition-old(root),::view-transition-new(root){animation:none}
}

/* ---- Hero campus film (real school footage) ---- */
body.rd5 .v16-hero-media .rd5-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.2s var(--ease-cine);z-index:0;pointer-events:none}
body.rd5 .v16-hero-media.rd5-video-on .rd5-hero-video{opacity:1}
body.rd5 .v16-hero-media > img{z-index:0}
body.rd5 .v16-hero-media :is(.v16-hero-shade,.v16-hero-glow){z-index:1}
body.rd5.rd5-motion .rd5-hero-media .rd5-hero-video{animation:none}
@media (prefers-reduced-motion:reduce){body.rd5 .rd5-hero-video{display:none}}
/* ---- Film cover with a real photo ---- */
body.rd5 .rd4-film-cover.rd5-has-photo{background:#061d3b}
body.rd5 .rd4-film-cover .rd5-film-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;z-index:0;transition:transform 1.2s var(--ease-cine)}
body.rd5 .rd4-film-cover.rd5-has-photo::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(6,29,59,.15) 0%,rgba(6,29,59,.25) 45%,rgba(6,29,59,.85) 100%)}
body.rd5 .rd4-film-cover.rd5-has-photo > :not(.rd5-film-photo){position:relative;z-index:2}
body.rd5 .rd4-film-cover.rd5-has-photo .rd4-film-glow{position:absolute}
body.rd5 .rd4-film-cover.rd5-has-photo:hover .rd5-film-photo{transform:scale(1.05)}

/* ================= Premium glass (v5) ================= */
body.rd5{--g5-blur:saturate(185%) blur(26px);--g5-edge:inset 0 1px 0 rgba(255,255,255,.85),inset 0 -1px 0 rgba(255,255,255,.18);--g5-depth:0 1px 2px rgba(6,29,59,.06),0 12px 32px rgba(6,29,59,.12),0 36px 80px -24px rgba(6,29,59,.22)}
body.rd5 :is(.rd4-glass,.hero-live-card){-webkit-backdrop-filter:var(--g5-blur)!important;backdrop-filter:var(--g5-blur)!important;box-shadow:var(--g5-edge),var(--g5-depth)!important;border-color:rgba(255,255,255,.7)!important}
body.rd5 .hero-live-card::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;z-index:0;
  background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(255,255,255,.15) 38%,rgba(226,191,122,.45) 70%,rgba(255,255,255,.55));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
body.rd5 .rd4-glass-dark{-webkit-backdrop-filter:saturate(160%) blur(24px)!important;backdrop-filter:saturate(160%) blur(24px)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 20px 60px rgba(0,0,0,.28)!important}
/* hero card over the film: deeper frost, still readable */
body.rd5 .v16-hero .hero-live-card{position:relative;isolation:isolate;background:linear-gradient(160deg,rgba(255,255,255,.34),rgba(255,255,255,.12))!important;border:1px solid rgba(255,255,255,.4)!important;color:#fff}
body.rd5 .v16-hero .hero-live-card :is(strong,small,p,a){color:#fff!important;text-shadow:0 1px 12px rgba(6,29,59,.45)}
body.rd5 .v16-hero .hero-live-card::after{content:"";position:absolute;inset:-30% -20% auto auto;width:60%;height:70%;border-radius:50%;background:radial-gradient(closest-side,rgba(226,191,122,.35),transparent);filter:blur(10px);pointer-events:none;z-index:-1}
body.rd5 .v16-hero .button-glass{-webkit-backdrop-filter:saturate(180%) blur(18px)!important;backdrop-filter:saturate(180%) blur(18px)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 10px 30px rgba(6,29,59,.25)!important}
body.rd5 .site-header{-webkit-backdrop-filter:saturate(190%) blur(24px)!important;backdrop-filter:saturate(190%) blur(24px)!important}
body.rd5 .site-header.is-scrolled{box-shadow:inset 0 -1px 0 rgba(255,255,255,.6),0 14px 40px -10px rgba(6,29,59,.25)!important}

/* ================= Floating glass actions ================= */
body.rd5.rd5-has-fab .rosary-adviser-floating{display:none!important}
.rd5-fab{position:fixed;z-index:9000;inset-inline-end:22px;bottom:calc(22px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-end;gap:10px;pointer-events:none;font-family:var(--rd-font,inherit)}
.rd5-fab > *{pointer-events:auto}
.rd5-fab-btn{position:relative;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(255,255,255,.75);color:#0b2d57;cursor:pointer;text-decoration:none;
  background:linear-gradient(160deg,rgba(255,255,255,.78),rgba(255,255,255,.46));-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 10px 28px rgba(6,29,59,.18);
  opacity:0;transform:translateY(12px) scale(.86);visibility:hidden;transition:opacity .45s var(--ease-cine),transform .45s var(--ease-cine),visibility 0s .45s,box-shadow .3s,background .3s}
.rd5-fab-btn svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rd5-fab.rd5-fab-show .rd5-fab-sec,.rd5-fab.rd5-fab-top-on .rd5-fab-top{opacity:1;transform:none;visibility:visible;transition-delay:0s}
.rd5-fab.rd5-fab-show .rd5-fab-sec:nth-last-child(3){transition-delay:.06s}
.rd5-fab-btn:hover{background:linear-gradient(160deg,#fff,rgba(255,255,255,.7));box-shadow:inset 0 1px 0 #fff,0 14px 34px rgba(6,29,59,.24),0 0 0 4px rgba(226,191,122,.22)}
.rd5-fab-btn:hover svg{transform:translateY(-1px)} .rd5-fab-btn svg{transition:transform .3s var(--ease-cine)}
.rd5-fab-btn:active,.rd5-fab-adviser:active{transform:scale(.94)!important;transition-duration:.12s}
.rd5-fab-btn:focus-visible,.rd5-fab-adviser:focus-visible{outline:3px solid #c89a48;outline-offset:3px}
.rd5-fab-tip{position:absolute;inset-inline-end:calc(100% + 10px);top:50%;transform:translate(0,-50%) scale(.96);white-space:nowrap;padding:7px 12px;border-radius:999px;font-size:.82rem;font-weight:600;color:#fff;
  background:rgba(6,29,59,.82);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 8px 22px rgba(6,29,59,.25);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s var(--ease-cine)}
.rd5-fab-btn:is(:hover,:focus-visible) .rd5-fab-tip{opacity:1;transform:translate(0,-50%) scale(1)}
/* Adviser: hero floating button */
.rd5-fab-adviser{display:flex;flex-direction:row-reverse;align-items:center;gap:0;padding:5px;border-radius:999px;text-decoration:none;color:#0b2d57;
  background:linear-gradient(160deg,rgba(255,255,255,.82),rgba(255,255,255,.5));-webkit-backdrop-filter:saturate(190%) blur(22px);backdrop-filter:saturate(190%) blur(22px);
  border:1px solid rgba(255,255,255,.85);box-shadow:inset 0 1px 0 #fff,0 14px 40px rgba(6,29,59,.22),0 0 0 1px rgba(200,154,72,.18);
  transition:gap .45s var(--ease-cine),padding .45s var(--ease-cine),box-shadow .35s,transform .35s var(--ease-cine);opacity:0;transform:translateY(16px) scale(.9)}
.rd5-fab.rd5-fab-ready .rd5-fab-adviser{opacity:1;transform:none;transition:opacity .7s var(--ease-cine) .4s,transform .7s var(--ease-cine) .4s,gap .45s var(--ease-cine),padding .45s var(--ease-cine),box-shadow .35s}
.rd5-fab-face{position:relative;flex:0 0 60px;width:60px;height:60px;border-radius:50%;padding:3px;background:conic-gradient(from 210deg,#e2bf7a,#b8862f,#f3dca8,#c89a48,#e2bf7a)}
.rd5-fab-face img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 22%;border:2px solid #fff;background:#fff}
.rd5-fab-face::after{content:"";position:absolute;inset:-6px;border-radius:50%;border:2px solid rgba(226,191,122,.55);opacity:0;pointer-events:none}
body.rd5-motion .rd5-fab-face::after{animation:rd5-breathe 3.2s ease-out infinite}
@keyframes rd5-breathe{0%{opacity:.75;transform:scale(.92)}70%{opacity:0;transform:scale(1.22)}100%{opacity:0;transform:scale(1.22)}}
.rd5-online{position:absolute;bottom:2px;inset-inline-start:2px;width:14px;height:14px;border-radius:50%;background:#2fbf71;border:2.5px solid #fff;box-shadow:0 0 0 3px rgba(47,191,113,.25)}
.rd5-fab-label{display:flex;flex-direction:column;line-height:1.25;max-width:0;overflow:hidden;white-space:nowrap;opacity:0;transition:max-width .5s var(--ease-cine),opacity .3s,padding .5s var(--ease-cine)}
.rd5-fab-label b{font-size:.98rem;font-weight:700}.rd5-fab-label small{font-size:.74rem;color:#3d5878;display:flex;align-items:center;gap:6px}
.rd5-fab-adviser:is(:hover,:focus-visible),.rd5-fab.rd5-fab-peek .rd5-fab-adviser{gap:12px;box-shadow:inset 0 1px 0 #fff,0 18px 48px rgba(6,29,59,.28),0 0 0 6px rgba(226,191,122,.16),0 0 40px rgba(226,191,122,.35)}
.rd5-fab-adviser:is(:hover,:focus-visible) .rd5-fab-label,.rd5-fab.rd5-fab-peek .rd5-fab-label{max-width:230px;opacity:1;padding-inline:16px 4px}
.rd5-fab-adviser:hover{transform:translateY(-2px)!important}
/* Adviser stays visible: label open at the top of the page, icon-only once scrolling (still fixed). */
.rd5-fab.rd5-fab-open .rd5-fab-adviser{gap:12px}
.rd5-fab.rd5-fab-open .rd5-fab-label{max-width:230px;opacity:1;padding-inline:16px 4px}
.rd5-fab .rd5-fab-adviser{visibility:visible!important}
body.rd5-menu-open .rd5-fab{opacity:0;pointer-events:none!important}
body.rd5-menu-open .rd5-fab>*{pointer-events:none!important}
.rd5-attn{outline:3px solid #c89a48!important;outline-offset:4px;box-shadow:0 0 0 10px rgba(226,191,122,.25)!important;transition:box-shadow .3s}
@media (max-width:760px){
  .rd5-fab{bottom:calc(var(--rd5-bar-h,0px) + 12px + env(safe-area-inset-bottom));inset-inline-end:12px;gap:8px;transition:bottom .35s var(--ease-cine)}
  .rd5-fab .rd5-fab-sec{display:none!important}
  .rd5-fab-btn{width:40px;height:40px}
  .rd5-fab-tip{display:none}
  .rd5-fab .rd5-fab-adviser{padding:3px;gap:0!important}
  .rd5-fab .rd5-fab-label{display:none!important}
  .rd5-fab .rd5-fab-face{flex-basis:56px;width:56px;height:56px}
  body.rd5 .mobile-actions.rd5-bar.rd5-bar-fab,body.rd5.rd4-docked .mobile-actions.rd5-bar.rd5-bar-fab{grid-template-columns:repeat(4,1fr)!important}
  body.rd5 .mobile-actions.rd5-bar.rd5-bar-fab .rd4-dock-adviser.rd5-raised,body.rd5.rd4-docked .mobile-actions.rd5-bar.rd5-bar-fab .rd4-dock-adviser{display:none!important}
}
@media print{.rd5-fab{display:none}}

/* ================= Mobile glass bar: raised adviser ================= */
@media (max-width:760px){
  body.rd5 .mobile-actions.rd5-bar{grid-template-columns:1fr 1fr 1.15fr 1fr 1fr!important;overflow:visible!important;padding:6px!important;border-radius:22px!important;
    background:linear-gradient(160deg,rgba(255,255,255,.82),rgba(251,247,239,.62))!important;-webkit-backdrop-filter:saturate(190%) blur(26px)!important;backdrop-filter:saturate(190%) blur(26px)!important;
    border:1px solid rgba(255,255,255,.9)!important;box-shadow:inset 0 1px 0 #fff,0 18px 44px rgba(6,29,59,.24)!important}
  body.rd5 .mobile-actions.rd5-bar > a{font-size:.72rem!important;padding:0 2px!important;min-width:0}
  body.rd5 .mobile-actions.rd5-bar > a span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.rd5 .mobile-actions.rd5-bar > a.primary{border-radius:14px!important}
  body.rd5 .mobile-actions.rd5-bar .rd5-dock-contact{display:grid;place-items:center;min-height:48px;border-radius:13px;color:var(--rd-navy,#0b2d57);text-decoration:none;font-weight:700}
  body.rd5 .mobile-actions.rd5-bar .rd4-dock-adviser.rd5-raised{display:flex!important;flex-direction:column;justify-content:flex-end!important;gap:2px!important;position:relative;min-height:48px;padding-bottom:3px!important;font-weight:700!important}
  body.rd5 .rd5-raised-face{position:absolute;top:-30px;left:50%;transform:translateX(-50%);width:58px;height:58px;border-radius:50%;padding:3px;background:conic-gradient(from 210deg,#e2bf7a,#b8862f,#f3dca8,#c89a48,#e2bf7a);box-shadow:0 10px 26px rgba(6,29,59,.3),0 0 0 4px rgba(255,255,255,.75)}
  body.rd5 .rd5-raised-face img{width:100%!important;height:100%!important;border-radius:50%!important;border:2px solid #fff;object-fit:cover;object-position:50% 22%!important;box-shadow:none!important}
  body.rd5 .rd5-raised-face .rd5-online{width:12px;height:12px;bottom:1px;inset-inline-start:1px}
  body.rd5.rd5-motion .rd5-raised-face::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:2px solid rgba(226,191,122,.6);animation:rd5-breathe 3.2s ease-out infinite;pointer-events:none}
  body.rd5 .mobile-actions.rd5-bar .rd4-dock-adviser.rd5-raised:active .rd5-raised-face{transform:translateX(-50%) scale(.93)}
  body.rd5 .mobile-actions.rd5-bar .rd4-dock-adviser.rd5-raised > span:last-child{margin-top:26px;font-size:.72rem}
  body.rd5 main{padding-bottom:0}
}
@media (prefers-reduced-motion:reduce){.rd5-fab *,.rd5-fab{transition:none!important}}

/* ================= School News & Events ================= */
body.rd5 .rd5-news{position:relative;overflow:hidden;background:radial-gradient(900px 420px at 90% 0%,rgba(226,191,122,.16),transparent 70%),radial-gradient(700px 400px at 0% 100%,rgba(22,71,129,.10),transparent 70%)}
body.rd5 .rd5-chips-filter{display:flex;flex-wrap:wrap;gap:10px;margin:6px 0 28px}
body.rd5 .rd5-chip{font:inherit;font-weight:600;font-size:.92rem;padding:9px 18px;border-radius:999px;cursor:pointer;color:#0b2d57;border:1px solid rgba(11,45,87,.14);
  background:rgba(255,255,255,.6);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 #fff,0 4px 14px rgba(6,29,59,.06);transition:background .25s,color .25s,transform .25s var(--ease-cine),box-shadow .25s}
body.rd5 .rd5-chip:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 #fff,0 8px 20px rgba(6,29,59,.1)}
body.rd5 .rd5-chip[aria-pressed="true"]{background:linear-gradient(135deg,#0b2d57,#164781);color:#fff;border-color:transparent;box-shadow:0 8px 22px rgba(11,45,87,.25),inset 0 0 0 1px rgba(226,191,122,.5)}
body.rd5 .rd5-chip:focus-visible{outline:3px solid #c89a48;outline-offset:2px}
body.rd5 .rd5-news-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:clamp(16px,2vw,26px)}
body.rd5 .rd5-news-teaser .rd5-news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.rd5 .rd5-news-card{position:relative;display:flex;flex-direction:column;border-radius:24px;overflow:hidden;
  background:linear-gradient(170deg,rgba(255,255,255,.86),rgba(255,255,255,.62));-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);
  border:1px solid rgba(255,255,255,.85);box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(6,29,59,.05),0 18px 44px -12px rgba(6,29,59,.18);transition:transform .5s var(--ease-cine),box-shadow .5s var(--ease-cine)}
body.rd5 .rd5-news-card:hover{transform:translateY(-6px);box-shadow:inset 0 1px 0 #fff,0 30px 60px -16px rgba(6,29,59,.3),0 0 0 1px rgba(226,191,122,.35)}
body.rd5 .rd5-news-card[hidden]{display:none}
body.rd5.rd5-motion .rd5-news-card.rd5-pop{animation:rd5-rise .5s var(--ease-cine) both}
body.rd5 .rd5-news-media{position:relative;aspect-ratio:4/4.4;overflow:hidden;background:linear-gradient(160deg,#164781,#061d3b)}
body.rd5 .rd5-news-media img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;display:block;transition:transform 1.1s var(--ease-cine)}
body.rd5 .rd5-news-card:hover .rd5-news-media img{transform:scale(1.06)}
body.rd5 .rd5-news-media::after{content:"";position:absolute;inset:auto 0 0 0;height:40%;background:linear-gradient(180deg,transparent,rgba(6,29,59,.35));pointer-events:none}
body.rd5 .rd5-news-noimg .rd5-news-media{aspect-ratio:auto;min-height:140px;display:grid;place-items:center}
body.rd5 .rd5-news-crest{width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 2px rgba(226,191,122,.6)}
body.rd5 .rd5-badge{position:absolute;top:14px;inset-inline-start:14px;z-index:1;padding:6px 13px;border-radius:999px;font-size:.78rem;font-weight:700;color:#0b2d57;
  background:rgba(255,255,255,.78);-webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px);border:1px solid rgba(255,255,255,.9);box-shadow:0 6px 18px rgba(6,29,59,.18)}
body.rd5 .rd5-badge::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-inline-end:7px;vertical-align:1px;background:#c89a48}
body.rd5 .rd5-badge-event::before{background:#d8578a} body.rd5 .rd5-badge-activity::before{background:#2e9e6b} body.rd5 .rd5-badge-celebration::before{background:#c89a48} body.rd5 .rd5-badge-news::before{background:#2d6cc0}
body.rd5 .rd5-news-body{display:flex;flex-direction:column;gap:8px;padding:20px 22px 22px;flex:1}
body.rd5 .rd5-news-body time{font-size:.82rem;font-weight:600;color:#8c6a31}
body.rd5 .rd5-news-body h3{margin:0;font-size:1.16rem;line-height:1.45;color:#0b2d57}
body.rd5 .rd5-news-body p{margin:0;font-size:.95rem;line-height:1.8;color:#3d5878;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
body.rd5 .rd5-news-src{font-size:.75rem;color:#6b7f96}
body.rd5 .rd5-news-more{margin-top:auto;padding-top:10px;display:inline-flex;align-items:center;gap:6px;font-weight:700;color:#0b2d57;text-decoration:none}
body.rd5 .rd5-news-more svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;transition:transform .3s var(--ease-cine)}
body.rd5.rosary-ar .rd5-news-more svg{transform:scaleX(-1)}
body.rd5 .rd5-news-more:hover{color:#8c6a31} body.rd5 .rd5-news-more:hover svg{transform:translate(2px,-2px)} body.rd5.rosary-ar .rd5-news-more:hover svg{transform:scaleX(-1) translate(2px,-2px)}
@media (max-width:900px){body.rd5 .rd5-news-teaser .rd5-news-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;scrollbar-width:none}
  body.rd5 .rd5-news-teaser .rd5-news-card{scroll-snap-align:start}}
@media (max-width:560px){body.rd5 .rd5-news-grid{grid-template-columns:1fr}body.rd5 .rd5-chips-filter{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-4px;padding:2px 4px}body.rd5 .rd5-chip{flex:0 0 auto}}
body.rd5 .rd5-news-crest{display:grid;place-items:center;background:#fff!important}
body.rd5 .rd5-news-crest img{width:52px;height:52px;object-fit:contain}
/* the calendar post now lives in the News & Events grid: keep only the Instagram feed below */
body.rd5 .rd5-news ~ .news-v16-feed .news-v16-grid{display:none}
/* Branded glass cover for posts without a photo (Facebook reels) */
body.rd5 .rd5-news-glass .rd5-news-media{background:radial-gradient(120% 80% at 80% 0%,rgba(226,191,122,.45),transparent 55%),radial-gradient(90% 70% at 0% 100%,rgba(216,87,138,.28),transparent 60%),linear-gradient(165deg,#164781,#061d3b 80%)}
body.rd5 .rd5-news-cover{position:absolute;inset:14% 9% 12%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:22px 18px;text-align:center;color:#fff;border-radius:22px;
  background:linear-gradient(160deg,rgba(255,255,255,.2),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.35);-webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 20px 40px rgba(0,0,0,.25)}
body.rd5 .rd5-cover-logo{width:64px;height:64px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 0 0 3px rgba(226,191,122,.8),0 8px 22px rgba(0,0,0,.3)}
body.rd5 .rd5-cover-logo img{width:50px;height:50px;object-fit:contain}
body.rd5 .rd5-cover-title{font-weight:700;font-size:1.02rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 2px 12px rgba(0,0,0,.35)}
body.rd5 .rd5-cover-play{width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.16);border:1.5px solid rgba(255,255,255,.7);position:relative}
body.rd5 .rd5-cover-play::after{content:"";position:absolute;left:54%;top:50%;transform:translate(-50%,-50%);border-style:solid;border-width:9px 0 9px 15px;border-color:transparent transparent transparent #fff}
body.rd5 .rd5-cover-meta{font-size:.76rem;letter-spacing:.02em;color:#e2bf7a;font-weight:600}
body.rd5 .rd5-news-glass .rd5-news-media::after{display:none}
/* Featured: tribute to the School Principal */
@media (min-width:761px){body.rd5 .rd5-news-grid .rd5-news-featured{grid-column:span 2;flex-direction:row}
  body.rd5 .rd5-news-featured .rd5-news-media{flex:0 0 46%;aspect-ratio:auto;min-height:100%}
  body.rd5 .rd5-news-featured .rd5-news-body{padding:30px 32px;justify-content:center}}
body.rd5 .rd5-news-featured{border:1px solid rgba(200,154,72,.55);box-shadow:inset 0 1px 0 #fff,0 0 0 4px rgba(226,191,122,.14),0 26px 60px -16px rgba(6,29,59,.28);
  background:radial-gradient(90% 70% at 100% 0%,rgba(226,191,122,.22),transparent 60%),linear-gradient(170deg,rgba(255,255,255,.92),rgba(255,255,255,.7))}
body.rd5 .rd5-news-featured h3{font-size:clamp(1.3rem,1.9vw,1.7rem)}
body.rd5 .rd5-news-featured .rd5-news-body p{-webkit-line-clamp:6;font-size:1rem}
body.rd5 .rd5-news-kicker{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;font-weight:700;color:#8c6a31;letter-spacing:.02em}
body.rd5 .rd5-news-kicker::before{content:"";width:22px;height:2px;background:linear-gradient(90deg,#c89a48,#e2bf7a);border-radius:2px}
body.rd5 .rd5-news-teaser .rd5-news-featured{grid-column:auto;flex-direction:column}
body.rd5 .rd5-news-teaser .rd5-news-featured .rd5-news-media{flex:none;aspect-ratio:4/4.4}

/* ---- Academic calendar (SPEA Circular 29/2026), next key date chip, fees table ---- */
body.rd5 .rd5-cal,body.rd5 .rd5-fees{position:relative}
body.rd5 .rd5-cal .split-heading,body.rd5 .rd5-fees .split-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:22px}
body.rd5 .rd5-cal .split-heading>div{max-width:760px}
body.rd5 .rd5-cal-pdf{display:inline-flex;align-items:center;gap:9px}
body.rd5 .rd5-cal-pdf svg,body.rd5 .rd5-fees-note svg,body.rd5 .rd5-keydate svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
body.rd5 .rd5-cal-tabs{display:none;gap:8px;margin-bottom:16px;flex-wrap:wrap}
body.rd5.rd5-cal-js .rd5-cal-tabs{display:flex}
body.rd5 .rd5-cal-tab{font:inherit;font-weight:700;font-size:.95rem;padding:10px 18px;border-radius:999px;cursor:pointer;color:#0b2d57;border:1px solid rgba(11,45,87,.14);
  background:linear-gradient(180deg,rgba(255,255,255,.85),rgba(255,255,255,.55));backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3);box-shadow:inset 0 1px 0 #fff,0 4px 14px rgba(6,29,59,.06);display:inline-flex;align-items:center;gap:8px}
body.rd5 .rd5-cal-tab em{font-style:normal;font-size:.72rem;padding:2px 8px;border-radius:999px;background:rgba(200,154,72,.18);color:#8a5d14}
body.rd5 .rd5-cal-tab[aria-selected="true"]{background:linear-gradient(135deg,#0b2d57,#164781);color:#fff;border-color:transparent;box-shadow:0 8px 22px rgba(11,45,87,.25),inset 0 0 0 1px rgba(226,191,122,.5)}
body.rd5 .rd5-cal-tab[aria-selected="true"] em{background:rgba(226,191,122,.25);color:#f3dca8}
body.rd5 .rd5-cal-tab:focus-visible{outline:3px solid #c89a48;outline-offset:2px}
body.rd5 .rd5-cal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.rd5.rd5-cal-js .rd5-cal-grid{grid-template-columns:1fr}
body.rd5.rd5-cal-js .rd5-cal-card:not(.is-shown){display:none}
body.rd5 .rd5-cal-card{position:relative;border-radius:26px;padding:22px 24px 14px;overflow:hidden;
  background:linear-gradient(160deg,rgba(255,255,255,.88),rgba(255,255,255,.62));backdrop-filter:blur(18px) saturate(1.35);-webkit-backdrop-filter:blur(18px) saturate(1.35);
  border:1px solid rgba(255,255,255,.75);box-shadow:inset 0 1px 0 #fff,0 22px 50px -18px rgba(6,29,59,.28),0 0 0 1px rgba(11,45,87,.06)}
body.rd5 .rd5-cal-card::before{content:"";position:absolute;inset-inline:0;top:0;height:3px;background:linear-gradient(90deg,transparent,#c89a48,#e2bf7a,#c89a48,transparent)}
body.rd5 .rd5-cal-card header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:8px}
body.rd5 .rd5-cal-card header span{font-size:.82rem;font-weight:600;color:#8a5d14;letter-spacing:.02em}
body.rd5 .rd5-cal-card h3{margin:0;font-size:1.5rem;color:#0b2d57}
body.rd5 .rd5-cal-list{list-style:none;margin:0;padding:0;position:relative}
body.rd5.rd5-cal-js .rd5-cal-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
body.rd5 .rd5-cal-row{display:grid;grid-template-columns:14px 1fr auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid rgba(11,45,87,.08)}
body.rd5 .rd5-cal-row:last-child{border-bottom:0}
body.rd5 .rd5-cal-dot{width:12px;height:12px;border-radius:50%;background:#164781;box-shadow:0 0 0 4px rgba(22,71,129,.12)}
body.rd5 .rd5-cal-row.is-break .rd5-cal-dot{background:#c89a48;box-shadow:0 0 0 4px rgba(200,154,72,.18)}
body.rd5 .rd5-cal-row.is-end .rd5-cal-dot{background:#0b2d57;box-shadow:0 0 0 4px rgba(11,45,87,.14),0 0 0 7px rgba(200,154,72,.3)}
body.rd5 .rd5-cal-lbl{font-weight:600;color:#14233b;line-height:1.35}
body.rd5 .rd5-cal-lbl small{display:inline-block;margin-inline-start:6px;font-size:.72rem;font-weight:700;padding:2px 8px;border-radius:999px;background:rgba(200,154,72,.16);color:#8a5d14}
body.rd5 .rd5-cal-row time{font-weight:700;color:#0b2d57;white-space:nowrap;font-variant-numeric:tabular-nums}
body.rd5 .rd5-cal-row.is-past{opacity:.55}
body.rd5 .rd5-cal-row.is-next{position:relative}
body.rd5 .rd5-cal-row.is-next .rd5-cal-dot{animation:rd5-pulse 2.2s ease-in-out infinite}
body.rd5 .rd5-cal-row.is-next time{color:#8a5d14}
@keyframes rd5-pulse{0%,100%{box-shadow:0 0 0 4px rgba(200,154,72,.18)}50%{box-shadow:0 0 0 9px rgba(200,154,72,.05)}}
body.rd5 .rd5-cal-note{margin:16px 0 0;font-size:.9rem;color:#4a5a72}
@media (max-width:980px){body.rd5 .rd5-cal-grid{grid-template-columns:1fr}}
@media (max-width:700px){body.rd5.rd5-cal-js .rd5-cal-list{grid-template-columns:1fr}body.rd5 .rd5-cal-card{padding:18px 16px 8px}body.rd5 .rd5-cal-row{gap:10px}body.rd5 .rd5-cal-row time{font-size:.92rem}
  body.rd5 .rd5-cal-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}body.rd5 .rd5-cal-tab{flex:0 0 auto}}

/* next key date chip (home hero) */
body.rd5 .rd5-keydate{display:inline-flex;align-items:center;gap:12px;margin-top:18px;padding:9px 16px 9px 10px;border-radius:18px;text-decoration:none;color:#fff;max-width:100%;
  background:linear-gradient(135deg,rgba(255,255,255,.2),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.32);backdrop-filter:blur(16px) saturate(1.4);-webkit-backdrop-filter:blur(16px) saturate(1.4);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 12px 30px -10px rgba(0,0,0,.35);transition:transform .25s var(--ease-cine),background .25s}
html[dir="rtl"] body.rd5 .rd5-keydate{padding:9px 10px 9px 16px}
body.rd5 .rd5-keydate:hover{transform:translateY(-2px);background:linear-gradient(135deg,rgba(255,255,255,.28),rgba(255,255,255,.12))}
body.rd5 .rd5-keydate:focus-visible{outline:3px solid #e2bf7a;outline-offset:3px}
body.rd5 .rd5-keydate-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#e2bf7a,#c89a48);color:#0b2d57;flex:0 0 auto}
body.rd5 .rd5-keydate-tx{display:flex;flex-direction:column;line-height:1.3;min-width:0}
body.rd5 .rd5-keydate-tx small{font-size:.74rem;opacity:.85;font-weight:600;letter-spacing:.02em}
body.rd5 .rd5-keydate-tx b{font-size:.95rem;font-weight:700}
body.rd5 .rd5-keydate-left:not(:empty){font-size:.78rem;font-weight:700;padding:4px 10px;border-radius:999px;background:rgba(226,191,122,.25);color:#f8e6bd;white-space:nowrap}
@media (max-width:560px){body.rd5 .rd5-keydate{gap:10px;margin-top:14px}body.rd5 .rd5-keydate-tx b{font-size:.86rem}body.rd5 .rd5-keydate-left:not(:empty){display:none}}

/* fees table (admissions) */
body.rd5 .rd5-fees-wrap{border-radius:26px;overflow:hidden;
  background:linear-gradient(160deg,rgba(255,255,255,.9),rgba(255,255,255,.66));backdrop-filter:blur(18px) saturate(1.35);-webkit-backdrop-filter:blur(18px) saturate(1.35);
  border:1px solid rgba(255,255,255,.75);box-shadow:inset 0 1px 0 #fff,0 22px 50px -18px rgba(6,29,59,.28),0 0 0 1px rgba(11,45,87,.06);max-width:880px}
body.rd5 .rd5-fees-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
body.rd5 .rd5-fees-table thead th{position:sticky;top:0;background:linear-gradient(135deg,#0b2d57,#164781);color:#fff;font-weight:700;font-size:.92rem;padding:14px 20px;text-align:start;border-bottom:2px solid #c89a48}
body.rd5 .rd5-fees-table tbody th,body.rd5 .rd5-fees-table td{padding:11px 20px;text-align:start;border-bottom:1px solid rgba(11,45,87,.07);font-weight:500;color:#14233b}
body.rd5 .rd5-fees-table tbody tr:nth-child(even){background:rgba(11,45,87,.028)}
body.rd5 .rd5-fees-table tbody tr:hover{background:rgba(200,154,72,.09)}
body.rd5 .rd5-fees-table tbody tr:last-child>*{border-bottom:0}
body.rd5 .rd5-fees-table td b{font-size:1.05rem;color:#0b2d57}
body.rd5 .rd5-fees-table small{color:#6b7a90;font-weight:600;font-size:.76rem}
body.rd5 .rd5-grade{display:inline-grid;place-items:center;min-width:44px;height:30px;padding:0 10px;border-radius:999px;background:rgba(22,71,129,.08);color:#0b2d57;font-weight:700;box-shadow:inset 0 0 0 1px rgba(22,71,129,.12)}
body.rd5 .rd5-fees-note{display:flex;gap:12px;align-items:flex-start;margin-top:16px;max-width:880px;padding:14px 18px;border-radius:18px;background:rgba(200,154,72,.1);border:1px solid rgba(200,154,72,.3);color:#5b4314}
body.rd5 .rd5-fees-note p{margin:0}
@media (max-width:560px){body.rd5 .rd5-fees-table thead th,body.rd5 .rd5-fees-table tbody th,body.rd5 .rd5-fees-table td{padding:10px 12px}body.rd5 .rd5-fees-table thead th{font-size:.8rem}}

/* home: v5 news teaser replaces the theme's text-only news items */
body.rd5 .rd5-news ~ .news-events :is(.news-feature,.news-mini){display:none}

/* ---- School apps ---- */
body.rd5 .rd5-apps .split-heading{margin-bottom:8px}
body.rd5 .rd5-apps-group{font-size:1.15rem;color:#0b2d57;margin:26px 0 14px;display:flex;align-items:center;gap:12px}
body.rd5 .rd5-apps-group::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,rgba(200,154,72,.55),transparent)}
html[dir="rtl"] body.rd5 .rd5-apps-group::after{background:linear-gradient(270deg,rgba(200,154,72,.55),transparent)}
body.rd5 .rd5-apps-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
body.rd5 .rd5-apps-parent{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
body.rd5 .rd5-app{position:relative;display:flex;flex-direction:column;gap:12px;padding:22px;border-radius:24px;overflow:hidden;
  background:linear-gradient(160deg,rgba(255,255,255,.9),rgba(255,255,255,.62));backdrop-filter:blur(18px) saturate(1.35);-webkit-backdrop-filter:blur(18px) saturate(1.35);
  border:1px solid rgba(255,255,255,.75);box-shadow:inset 0 1px 0 #fff,0 20px 44px -18px rgba(6,29,59,.26),0 0 0 1px rgba(11,45,87,.06);transition:transform .3s var(--ease-cine),box-shadow .3s}
body.rd5 .rd5-app:hover{transform:translateY(-4px);box-shadow:inset 0 1px 0 #fff,0 28px 56px -18px rgba(6,29,59,.3),0 0 0 1px rgba(226,191,122,.4)}
body.rd5 .rd5-apps-parent .rd5-app::before{content:"";position:absolute;inset-inline:0;top:0;height:3px;background:linear-gradient(90deg,transparent,#c89a48,#e2bf7a,#c89a48,transparent)}
body.rd5 .rd5-app header{display:flex;align-items:center;gap:12px}
body.rd5 .rd5-app h4{margin:0;font-size:1.08rem;color:#0b2d57;line-height:1.3}
body.rd5 .rd5-app-ic{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;flex:0 0 auto;color:#fff;background:linear-gradient(135deg,#0b2d57,#1d5aa0);box-shadow:0 8px 18px -6px rgba(11,45,87,.5),inset 0 0 0 1px rgba(226,191,122,.45)}
body.rd5 .rd5-apps-parent .rd5-app-ic{background:linear-gradient(135deg,#c89a48,#e2bf7a);color:#0b2d57}
body.rd5 .rd5-app-ic svg,body.rd5 .rd5-store svg,body.rd5 .rd5-app-help svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.rd5 .rd5-store svg.rd5-fill{fill:currentColor;stroke:none}
body.rd5 .rd5-app p{margin:0;color:#33445e;line-height:1.6}
body.rd5 .rd5-app-steps{margin:0;padding:12px 14px;list-style:none;counter-reset:s;border-radius:16px;background:rgba(11,45,87,.04);display:grid;gap:8px}
body.rd5 .rd5-app-steps li{counter-increment:s;display:grid;grid-template-columns:26px 1fr;gap:10px;align-items:start;font-size:.93rem;color:#14233b;line-height:1.5}
body.rd5 .rd5-app-steps li::before{content:counter(s);display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#0b2d57;color:#f3dca8;font-weight:700;font-size:.78rem}
body.rd5 .rd5-app-steps b{color:#0b2d57}
body.rd5 .rd5-app-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
body.rd5 .rd5-store{display:inline-flex;align-items:center;gap:8px;padding:7px 14px 7px 11px;border-radius:13px;text-decoration:none;color:#fff;background:linear-gradient(135deg,#0d1b2e,#1c2f4a);box-shadow:0 6px 16px -6px rgba(6,29,59,.5),inset 0 0 0 1px rgba(255,255,255,.12);transition:transform .2s,box-shadow .2s;font-weight:700;font-size:.92rem;line-height:1.1}
body.rd5 .rd5-store span{display:flex;flex-direction:column}
body.rd5 .rd5-store small{font-size:.64rem;font-weight:500;opacity:.8}
body.rd5 .rd5-store:hover{transform:translateY(-2px);box-shadow:0 10px 22px -8px rgba(6,29,59,.55),inset 0 0 0 1px rgba(226,191,122,.6)}
body.rd5 .rd5-store:focus-visible,body.rd5 .rd5-app-help:focus-visible{outline:3px solid #c89a48;outline-offset:2px}
body.rd5 .rd5-store-web{background:linear-gradient(135deg,#c89a48,#e2bf7a);color:#0b2d57}
body.rd5 .rd5-app-help{display:inline-flex;align-items:center;gap:6px;font-size:.88rem;font-weight:600;color:#8a5d14;text-decoration:none}
body.rd5 .rd5-app-help svg{width:16px;height:16px}
body.rd5 .rd5-apps-note{margin:20px 0 0;padding:14px 18px;border-radius:16px;background:rgba(200,154,72,.1);border:1px solid rgba(200,154,72,.3);color:#5b4314;max-width:900px}
@media (max-width:560px){body.rd5 .rd5-apps-grid,body.rd5 .rd5-apps-parent{grid-template-columns:1fr}body.rd5 .rd5-app{padding:18px}}

/* ---------- Apps v2: official app icons as glass navy/gold tiles + official store badges ---------- */
body.rd5 .rd5-app-v2 header{gap:16px;align-items:center}
body.rd5 .rd5-app-tile{position:relative;flex:0 0 auto;width:76px;height:76px;padding:6px;border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.75),rgba(255,255,255,.25)) padding-box,linear-gradient(145deg,#e2bf7a,#c89a48 45%,rgba(11,45,87,.35)) border-box;
  border:1.5px solid transparent;box-shadow:0 14px 28px -12px rgba(6,29,59,.45),0 2px 6px -2px rgba(6,29,59,.2),inset 0 1px 0 rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:transform .35s var(--ease-cine,cubic-bezier(.2,.7,.2,1)),box-shadow .35s}
body.rd5 .rd5-app-tile img{display:block;width:64px;height:64px;border-radius:18px;object-fit:cover;background:#fff;
  box-shadow:inset 0 0 0 1px rgba(11,45,87,.08),0 1px 2px rgba(6,29,59,.15);image-rendering:auto;-webkit-user-drag:none}
body.rd5 .rd5-app-tile::after{content:"";position:absolute;inset:6px;border-radius:18px;pointer-events:none;
  background:linear-gradient(160deg,rgba(255,255,255,.38),rgba(255,255,255,0) 42%);mix-blend-mode:soft-light}
body.rd5 .rd5-app-v2:hover .rd5-app-tile{transform:translateY(-2px) rotate(-2deg) scale(1.03);box-shadow:0 20px 34px -12px rgba(6,29,59,.5),0 0 0 4px rgba(226,191,122,.18),inset 0 1px 0 #fff}
html[dir="rtl"] body.rd5 .rd5-app-v2:hover .rd5-app-tile{transform:translateY(-2px) rotate(2deg) scale(1.03)}
body.rd5 .rd5-apps-parent .rd5-app-tile{width:84px;height:84px;border-radius:26px}
body.rd5 .rd5-apps-parent .rd5-app-tile img{width:72px;height:72px;border-radius:20px}
body.rd5 .rd5-apps-parent .rd5-app-tile::after{border-radius:20px}
body.rd5 .rd5-app-hd{display:flex;flex-direction:column;gap:4px;min-width:0}
body.rd5 .rd5-app-kind{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;font-size:.72rem;font-weight:700;letter-spacing:.02em;color:#8a5d14;
  padding:3px 10px;border-radius:999px;background:rgba(200,154,72,.12);border:1px solid rgba(200,154,72,.32)}
body.rd5 .rd5-app-kind::before{content:"";width:6px;height:6px;border-radius:50%;background:linear-gradient(135deg,#c89a48,#e2bf7a)}
body.rd5 .rd5-app-v2 .rd5-app-links{align-items:center;gap:10px}
body.rd5 .rd5-sbadge{display:inline-block;line-height:0;border-radius:9px;transition:transform .2s,box-shadow .2s,filter .2s;box-shadow:0 6px 14px -6px rgba(6,29,59,.45)}
body.rd5 .rd5-sbadge img{height:40px;width:auto;display:block}
body.rd5 .rd5-sbadge:hover{transform:translateY(-2px);box-shadow:0 10px 20px -8px rgba(6,29,59,.55),0 0 0 2px rgba(226,191,122,.55)}
body.rd5 .rd5-sbadge:focus-visible{outline:3px solid #c89a48;outline-offset:3px}
body.rd5 .rd5-app-v2 .rd5-store-web{min-height:40px;box-sizing:border-box}
/* nav panel: tiny real icons under "School apps" */
body.rd5-nav6 .n6-appstack{display:flex;margin-top:6px;gap:0}
body.rd5-nav6 .n6-appstack img{width:20px;height:20px;border-radius:6px;background:#fff;box-shadow:0 0 0 1.5px rgba(255,255,255,.9),0 2px 5px rgba(6,29,59,.3);margin-inline-end:-4px}
@media (max-width:560px){
  body.rd5 .rd5-app-tile{width:68px;height:68px;border-radius:21px;padding:5px}
  body.rd5 .rd5-app-tile img{width:58px;height:58px;border-radius:16px}
  body.rd5 .rd5-app-tile::after{inset:5px;border-radius:16px}
  body.rd5 .rd5-apps-parent .rd5-app-tile{width:74px;height:74px}
  body.rd5 .rd5-apps-parent .rd5-app-tile img{width:64px;height:64px;border-radius:18px}
}
@media (prefers-reduced-motion:reduce){body.rd5 .rd5-app-tile,body.rd5 .rd5-sbadge{transition:none}}

/* 5.9.3 official school announcements: card + full announcement panel (?update=ID) */
.rd5-news-ann .rd5-news-media img{object-position:50% 0}
.rd5-news-ann .rd5-news-media{background:#f6efe4}
.rd5-ann{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(20px,3vw,40px);align-items:start;margin:0 0 clamp(24px,3vw,40px);padding:clamp(20px,3vw,36px);border-radius:28px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,250,242,.9));box-shadow:inset 0 1px 0 #fff,0 30px 60px -24px rgba(6,29,59,.28),0 0 0 1px rgba(226,191,122,.4);scroll-margin-top:110px}
.rd5-ann-text{display:flex;flex-direction:column;gap:10px;min-width:0}
body.rd5 .rd5-ann .rd5-badge{align-self:flex-start;position:static;display:inline-block;padding:6px 14px;border-radius:999px;background:#eef3fb;color:#0b2d57;font-weight:700;font-size:.82rem}
.rd5-ann time{font-size:.85rem;font-weight:600;color:#8c6a31}
.rd5-ann h2{margin:0;font-size:clamp(1.3rem,2.2vw,1.8rem);line-height:1.4;color:#0b2d57}
.rd5-ann-body{color:#2d4a6b;line-height:1.85;font-size:1rem}
.rd5-ann-body h3{margin:18px 0 8px;font-size:1.08rem;color:#7a1730}
.rd5-ann-body ul{margin:0;padding-inline-start:1.2em}
.rd5-ann-body li{margin:4px 0}
.rd5-ann-body p{margin:8px 0}
.rd5-ann-body strong{color:#0b2d57}
.rd5-ann-body .rd5-ann-thanks{margin-top:16px;padding:12px 16px;border-radius:14px;background:#7a1730;color:#fff;font-weight:600}
.rd5-ann-fig{margin:0;position:sticky;top:100px}
.rd5-ann-fig img{width:100%;height:auto;display:block;border-radius:18px;box-shadow:0 20px 40px -18px rgba(6,29,59,.4)}
.rd5-ann-fig figcaption{margin-top:8px;font-size:.8rem;color:#6b7f96;text-align:center}
@media (max-width:860px){.rd5-ann{grid-template-columns:1fr}.rd5-ann-fig{position:static}}
/* 5.11.0 fees v2: official fee structure + bus fees */
body.rd5 .rd5-fees2-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(18px,2.6vw,34px);align-items:start}
body.rd5 .rd5-fees2-h{margin:0 0 12px;font-size:1.12rem;color:#0b2d57;display:flex;align-items:center;gap:10px}
body.rd5 .rd5-fees2-h::before{content:"";width:22px;height:3px;border-radius:3px;background:linear-gradient(90deg,#c89a48,#e2bf7a)}
body.rd5 .rd5-fees2-side{position:sticky;top:110px}
body.rd5 .rd5-bus{list-style:none;margin:0;padding:0;display:grid;gap:12px}
body.rd5 .rd5-bus-card{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:20px;background:linear-gradient(150deg,rgba(255,255,255,.9),rgba(255,250,242,.7));box-shadow:inset 0 1px 0 #fff,0 18px 40px -22px rgba(6,29,59,.35),0 0 0 1px rgba(226,191,122,.38);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);transition:transform .35s var(--ease-cine,ease),box-shadow .35s var(--ease-cine,ease)}
body.rd5 .rd5-bus-card:hover{transform:translateY(-3px);box-shadow:inset 0 1px 0 #fff,0 24px 46px -22px rgba(6,29,59,.42),0 0 0 1px rgba(200,154,72,.6)}
body.rd5 .rd5-bus-ic{flex:0 0 auto;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#0b2d57,#164781);color:#e2bf7a;box-shadow:0 8px 18px -10px rgba(6,29,59,.6)}
body.rd5 .rd5-bus-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.rd5 .rd5-bus-route{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
body.rd5 .rd5-bus-route b{color:#0b2d57;font-size:1rem}
body.rd5 .rd5-bus-route small{color:#8c6a31;font-weight:600;font-size:.8rem}
body.rd5 .rd5-bus-amt{flex:0 0 auto;text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap}
body.rd5 .rd5-bus-amt b{font-size:1.22rem;color:#0b2d57}
body.rd5 .rd5-bus-amt small{color:#6b7a90;font-weight:600;font-size:.76rem}
body.rd5 .rd5-fees2-office{margin-top:14px;max-width:none}
body.rd5 .rd5-fees2-office a{color:#0b2d57;font-weight:700;text-decoration:none;white-space:nowrap}
body.rd5 .rd5-fees2-office a:hover{text-decoration:underline}
body.rd5 .rd5-fees2 .rd5-fees-pdf{white-space:normal}
@media (max-width:900px){body.rd5 .rd5-fees2-grid{grid-template-columns:1fr}body.rd5 .rd5-fees2-side{position:static}}
@media (max-width:560px){body.rd5 .rd5-bus-card{padding:14px;gap:12px}body.rd5 .rd5-bus-ic{width:40px;height:40px}body.rd5 .rd5-fees2 .rd5-fees-pdf{width:100%;justify-content:center}body.rd5 .rd5-fees2-office a{white-space:normal;word-break:break-word}}
body.rd5 .rd5-fees2-uni{display:none;margin:0 0 10px;padding:8px 14px;border-radius:999px;background:rgba(11,45,87,.06);color:#0b2d57;font-size:.88rem;width:fit-content}
@media (max-width:560px){body.rd5 .rd5-fees2 .rd5-col-uni{display:none}body.rd5 .rd5-fees2-uni{display:block}body.rd5 .rd5-fees2 .rd5-fees-table td{white-space:nowrap}}
html[dir="ltr"] body.rd5 .rd5-bus-route small{text-align:left}
html[dir="rtl"] body.rd5 .rd5-bus-route small{text-align:right}
body.rd5 .rd5-fees2-office a[href^="tel:"]{white-space:nowrap!important;unicode-bidi:isolate}
body.rd5 .rd5-bus-other .rd5-bus-route small.rd5-bus-other-tx{color:#3d5878;font-weight:500;font-size:.86rem;line-height:1.7;text-align:start!important}
body.rd5 .rd5-bus-other a{color:#0b2d57;font-weight:700;text-decoration:none;white-space:nowrap;unicode-bidi:isolate}
body.rd5 .rd5-bus-other a:hover{text-decoration:underline}
@media (max-width:560px){body.rd5 .rd5-bus-other a[href^="mailto:"]{white-space:normal;word-break:break-word}}
/* 5.12.0 student result certificates (SPEA Daleel) */
body.rd5 .rd5-results{scroll-margin-top:100px}
body.rd5 .rd5-results-card{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(20px,3vw,44px);padding:clamp(24px,3.4vw,48px);border-radius:30px;color:#fff;background:radial-gradient(120% 90% at 100% 0%,rgba(226,191,122,.28),transparent 55%),radial-gradient(90% 80% at 0% 100%,rgba(45,108,192,.35),transparent 60%),linear-gradient(160deg,#0b2d57,#061d3b 85%);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 40px 80px -36px rgba(6,29,59,.6),0 0 0 1px rgba(226,191,122,.35)}
body.rd5 .rd5-results-main{display:flex;flex-direction:column;gap:12px;align-items:flex-start;min-width:0}
body.rd5 .rd5-results .eyebrow{color:#e2bf7a;margin:0}
body.rd5 .rd5-results h2{margin:0;color:#fff;font-size:clamp(1.6rem,2.8vw,2.3rem);line-height:1.25}
body.rd5 .rd5-results-lead{margin:0;color:rgba(255,255,255,.82);line-height:1.85;max-width:560px}
body.rd5 .rd5-results-btn{display:inline-flex;align-items:center;gap:10px;margin-top:8px;padding:15px 26px;border-radius:999px;font-weight:800;font-size:1.02rem;color:#0b2d57!important;background:linear-gradient(135deg,#f1d79b,#c89a48);box-shadow:0 18px 36px -16px rgba(200,154,72,.75),inset 0 1px 0 rgba(255,255,255,.6);text-decoration:none;transition:transform .3s var(--ease-cine,ease),box-shadow .3s var(--ease-cine,ease)}
body.rd5 .rd5-results-btn:hover,body.rd5 .rd5-results-btn:focus-visible{transform:translateY(-2px);box-shadow:0 24px 44px -16px rgba(200,154,72,.9),inset 0 1px 0 rgba(255,255,255,.7)}
body.rd5 .rd5-results-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html[dir="rtl"] body.rd5 .rd5-results-btn svg{transform:scaleX(-1)}
body.rd5 .rd5-results-domain{color:rgba(255,255,255,.55);font-size:.8rem;letter-spacing:.02em}
body.rd5 .rd5-results-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px;align-content:center}
body.rd5 .rd5-results-steps li{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border-radius:20px;background:linear-gradient(150deg,rgba(255,255,255,.12),rgba(255,255,255,.04));box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 0 1px rgba(226,191,122,.22);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
body.rd5 .rd5-step-n{flex:0 0 auto;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#f1d79b,#c89a48);color:#0b2d57;font-weight:800}
body.rd5 .rd5-results-steps b{display:block;color:#fff;font-size:1rem;margin-bottom:3px}
body.rd5 .rd5-results-steps small{display:block;color:rgba(255,255,255,.75);font-size:.9rem;line-height:1.7}
body.rd5 .rd5-results-help{grid-column:1/-1;margin:0;max-width:none;background:rgba(255,255,255,.08);border-color:rgba(226,191,122,.35);color:rgba(255,255,255,.85)}
body.rd5 .rd5-results-help b{color:#e2bf7a}
body.rd5 .rd5-results-help a{color:#fff;font-weight:700;text-decoration:none;white-space:nowrap;unicode-bidi:isolate}
body.rd5 .rd5-results-help a:hover{text-decoration:underline}
@media (max-width:860px){body.rd5 .rd5-results-card{grid-template-columns:1fr}}
@media (max-width:560px){body.rd5 .rd5-results-card{border-radius:24px;padding:22px 18px}body.rd5 .rd5-results-btn{width:100%;justify-content:center}body.rd5 .rd5-results-help a[href^="mailto:"]{white-space:normal;word-break:break-word}}
body.rd5 .rd5-results a.button.rd5-results-btn{background:linear-gradient(135deg,#f6e2ad,#d4a957 55%,#c89a48)!important;color:#0b2d57!important;border:0!important;opacity:1!important;-webkit-text-fill-color:#0b2d57}
body.rd5 .rd5-results a.button.rd5-results-btn::before,body.rd5 .rd5-results a.button.rd5-results-btn::after{display:none!important}
body.rd5 .rd5-results .rd5-results-main .eyebrow{display:block;color:#e2bf7a!important;opacity:1!important}
/* 5.13.0 school policies 2026-2027 */
body.rd5 .rd5-pol{scroll-margin-top:100px}
body.rd5 .rd5-pol [id^="rd5-pol-"]{scroll-margin-top:110px}
body.rd5 .rd5-pol-head{max-width:860px;margin-bottom:22px}
body.rd5 .rd5-pol-head .eyebrow{color:#8c6a31}
body.rd5 .rd5-pol-head h2{margin:6px 0 12px;color:#0b2d57;font-size:clamp(1.5rem,2.6vw,2.2rem);line-height:1.3}
body.rd5 .rd5-pol-intro{margin:0 0 8px;color:#3d5878;line-height:1.85}
body.rd5 .rd5-pol-chips{list-style:none;margin:0 0 20px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body.rd5 .rd5-pol-chip{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border-radius:20px;background:radial-gradient(120% 90% at 100% 0%,rgba(226,191,122,.3),transparent 60%),linear-gradient(160deg,#0b2d57,#061d3b);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 18px 36px -20px rgba(6,29,59,.6),0 0 0 1px rgba(226,191,122,.35)}
body.rd5 .rd5-pol-chip b{font-size:1.7rem;line-height:1.1;color:#f1d79b;font-variant-numeric:tabular-nums;text-align:start}
body.rd5 .rd5-pol-chip span{font-size:.86rem;color:rgba(255,255,255,.85);line-height:1.5}
body.rd5 .rd5-pol-toc{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
body.rd5 .rd5-pol-toc a{display:inline-flex;align-items:center;gap:8px;padding:8px 14px 8px 8px;border-radius:999px;background:rgba(255,255,255,.75);box-shadow:inset 0 1px 0 #fff,0 0 0 1px rgba(200,154,72,.35),0 8px 18px -12px rgba(6,29,59,.35);color:#0b2d57;font-weight:700;font-size:.88rem;text-decoration:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html[dir="rtl"] body.rd5 .rd5-pol-toc a{padding:8px 8px 8px 14px}
body.rd5 .rd5-pol-toc a:hover{box-shadow:inset 0 1px 0 #fff,0 0 0 1.5px rgba(200,154,72,.7),0 10px 20px -12px rgba(6,29,59,.45)}
body.rd5 .rd5-pol-toc .rd5-pol-ic{width:28px;height:28px;border-radius:9px}
body.rd5 .rd5-pol-toc .rd5-pol-ic svg{width:16px;height:16px}
body.rd5 .rd5-pol-ic{flex:0 0 auto;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#0b2d57,#164781);color:#e2bf7a;box-shadow:0 8px 18px -10px rgba(6,29,59,.6)}
body.rd5 .rd5-pol-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.rd5 .rd5-pol-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2vw,24px);align-items:start}
body.rd5 .rd5-pol-card{padding:clamp(18px,2.2vw,28px);border-radius:26px;background:linear-gradient(150deg,rgba(255,255,255,.92),rgba(255,250,242,.75));box-shadow:inset 0 1px 0 #fff,0 26px 50px -30px rgba(6,29,59,.4),0 0 0 1px rgba(226,191,122,.35);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
body.rd5 .rd5-pol-card header{display:flex;align-items:center;gap:12px;margin-bottom:12px}
body.rd5 .rd5-pol-num{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:rgba(200,154,72,.18);color:#8c6a31;font-weight:800;font-size:.82rem;flex:0 0 auto}
body.rd5 .rd5-pol-card h3{margin:0;color:#0b2d57;font-size:1.14rem;line-height:1.4}
body.rd5 .rd5-pol-lead{margin:0 0 10px;padding:10px 14px;border-radius:14px;background:rgba(122,23,48,.07);color:#7a1730;font-weight:600;line-height:1.7}
body.rd5 .rd5-pol-card dl{margin:0;display:grid;gap:2px}
body.rd5 .rd5-pol-row{padding:10px 0;border-top:1px solid rgba(11,45,87,.08)}
body.rd5 .rd5-pol-row:first-child{border-top:0}
body.rd5 .rd5-pol-row dt{font-weight:800;color:#0b2d57;font-size:.95rem;margin-bottom:3px}
body.rd5 .rd5-pol-row dd{margin:0;color:#3d5878;line-height:1.8;font-size:.95rem}
body.rd5 .rd5-pol-row dd p{margin:0}
body.rd5 .rd5-pol-row dd ol{margin:4px 0 0;padding-inline-start:1.3em}
body.rd5 .rd5-pol-row dd li{margin:3px 0}
body.rd5 .rd5-pol-contact{background:radial-gradient(120% 90% at 100% 0%,rgba(226,191,122,.28),transparent 55%),linear-gradient(160deg,#0b2d57,#061d3b 85%);color:rgba(255,255,255,.85)}
body.rd5 .rd5-pol-contact h3{color:#fff}
body.rd5 .rd5-pol-contact .rd5-pol-ic{background:linear-gradient(135deg,#f1d79b,#c89a48);color:#0b2d57}
body.rd5 .rd5-pol-contact .rd5-pol-num{background:rgba(226,191,122,.25);color:#f1d79b}
body.rd5 .rd5-pol-contact p{margin:0 0 10px;line-height:1.8}
body.rd5 .rd5-pol-office a{color:#f1d79b;font-weight:800;text-decoration:none;white-space:nowrap;unicode-bidi:isolate}
body.rd5 .rd5-pol-office a:hover{text-decoration:underline}
body.rd5 .rd5-pol-note{padding:10px 14px;border-radius:14px;background:rgba(255,255,255,.08);font-size:.9rem}
body.rd5 .rd5-pol-sign{margin-top:22px;padding:18px 22px;border-radius:20px;background:rgba(200,154,72,.1);border:1px solid rgba(200,154,72,.3);color:#5b4314;line-height:1.8}
body.rd5 .rd5-pol-sign p{margin:0 0 6px}
body.rd5 .rd5-pol-sign b{color:#0b2d57}
@media (max-width:980px){body.rd5 .rd5-pol-chips{grid-template-columns:repeat(2,minmax(0,1fr))}body.rd5 .rd5-pol-grid{grid-template-columns:1fr}}
@media (max-width:560px){body.rd5 .rd5-pol-chip{padding:12px 13px;border-radius:16px}body.rd5 .rd5-pol-chip b{font-size:1.4rem}body.rd5 .rd5-pol-chip span{font-size:.78rem}body.rd5 .rd5-pol-toc{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-4px;padding:4px}body.rd5 .rd5-pol-toc a{flex:0 0 auto}body.rd5 .rd5-pol-card{border-radius:22px}body.rd5 .rd5-pol-office a[href^="mailto:"]{white-space:normal;word-break:break-word}}
body.rd5 .rd5-pol .rd5-pol-head .eyebrow{display:block!important;opacity:1!important;visibility:visible!important;color:#8c6a31!important}
