/* Ornate i About page - extra styles from the approved design (canvas version 127).
   Loaded after home.css, which holds the shared header, footer, buttons and cards. */

.td-track{animation:td-move 40s linear infinite}.td-strip:hover .td-track{animation-play-state:paused}
@keyframes td-move{to{transform:translateX(-50%)}}
.td-card{transition:transform .25s ease,box-shadow .25s ease}.td-card:hover{transform:translateY(-6px);box-shadow:0 18px 36px rgba(21,27,84,0.16)}
@media (max-width: 640px){.td-card{width:190px!important}.td-card>span:first-child{height:170px!important}}
@media (prefers-reduced-motion: reduce){.td-track{animation:none}.td-strip{overflow-x:auto}.td-card{transition:none}}
/* About page */
.va-card,.vc-card{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease,background-color .25s ease}
.va-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(21,27,84,0.16)}
.vc-card:hover{transform:translateY(-4px);background:rgba(255,255,255,0.13);border-color:rgba(255,138,145,0.6)}
.vb-row>span:first-child{transition:transform .25s ease}.vb-row:hover>span:first-child{transform:scale(1.08)}
@media (max-width: 760px){.va-grid{grid-template-columns:minmax(0,1fr)!important}.vb-side{position:static!important;max-width:none!important}}
@media (max-width: 480px){.vb-row{grid-template-columns:48px minmax(0,1fr)!important;gap:14px!important}.vb-row>span:first-child{width:48px!important;height:48px!important}}
@media (prefers-reduced-motion: reduce){.va-card,.vc-card,.vb-row>span:first-child{transition:none}}
.pr-dash{animation:pr-dash 1.6s linear infinite}
@keyframes pr-dash{to{stroke-dashoffset:-26}}
.pr-hub{animation:pr-hub 2.4s ease-in-out infinite}
@keyframes pr-hub{0%,100%{box-shadow:0 0 0 10px rgba(197,36,46,0.25),0 16px 40px rgba(5,8,30,0.45)}50%{box-shadow:0 0 0 22px rgba(197,36,46,0.08),0 16px 40px rgba(5,8,30,0.45)}}
.pr-node>span:first-child{transition:transform .25s ease}.pr-node:hover>span:first-child{transform:scale(1.12)}
.pr-card{transition:transform .25s ease,box-shadow .25s ease}.pr-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(21,27,84,0.16)}
@media (max-width: 900px){.pr-b-grid{grid-template-columns:1fr!important}}
@media (max-width: 560px){.pr-b-cards{grid-template-columns:1fr!important}.pr-orbit{max-width:100%!important}.pr-node>span:last-child{font-size:11px!important}.pr-node>span:first-child{width:42px!important;height:42px!important;font-size:13px!important}}
@media (prefers-reduced-motion: reduce){.pr-dash,.pr-hub{animation:none}.pr-pulse{display:none}.pr-card,.pr-node>span:first-child{transition:none}}
@media (max-width: 760px){.ab-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.ab-values .hv-body{padding:22px 24px 20px!important;gap:10px!important}.ab-values .hv-body p{font-size:16px!important;line-height:1.65!important;text-align:left}.ab-values .t-br{display:none}
.ab-hide{display:none}#who .v3-why{align-items:center}
/* About banner in the home page "white veil" style (approved 30 Nov 2026): the whole students photo on the right, fading into white */
section.h1-bg.ab-bg{color:#151B54;background:linear-gradient(100deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.88) 45%,rgba(255,255,255,.35) 100%),linear-gradient(90deg,#FFFFFF 0,#FFFFFF calc(100% - 880px),rgba(255,255,255,0) calc(100% - 600px)),url("../images/about-hero-students.jpg") right center/auto 100% no-repeat,#FFFFFF}
[dir="rtl"] section.h1-bg.ab-bg{background:linear-gradient(260deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.88) 45%,rgba(255,255,255,.35) 100%),linear-gradient(270deg,#FFFFFF 0,#FFFFFF calc(100% - 880px),rgba(255,255,255,0) calc(100% - 600px)),url("../images/about-hero-students.jpg") left center/auto 100% no-repeat,#FFFFFF}
@media (max-width:1024px){section.h1-bg.ab-bg,[dir="rtl"] section.h1-bg.ab-bg{background:linear-gradient(180deg,rgba(255,255,255,.95) 0%,rgba(255,255,255,.9) 60%,rgba(255,255,255,.75) 100%),url("../images/about-hero-students.jpg") center 62%/cover no-repeat,#FFFFFF}}
.ab-bg .hero-wrap>div:first-child,.ab-bg .hero-wrap>div:first-child a,.ab-bg [data-clock],
.ab-bg .hero-wrap>div:first-child [style*="color: #FFFFFF"]:not([style*="background"]),.ab-bg .hero-wrap>div:first-child [style*="color: #DCE1F5"]{color:#151B54!important}
.ab-bg .ab-hero nav a:hover{color:#C5242E!important;text-decoration:underline!important}
@media (max-width: 640px){.ab-hero{padding-top:24px!important}.ab-presence{padding-top:48px!important;padding-bottom:48px!important}.ab-stats,.ab-values{grid-template-columns:minmax(0,1fr)!important}#who .v3-why,#mission>div,#team{padding-top:48px!important;padding-bottom:48px!important}.ab-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.ab-member{padding:16px 8px 14px!important}.ab-member>span:first-child{width:68px!important;height:68px!important;font-size:20px!important}}
@media (max-width: 360px){.ab-team-grid{grid-template-columns:1fr!important}}
.ab-bg .ab-hero h1 span[style*="FF8A91"]{color:#C5242E!important}

/* All inner-page banners the same size as About (approved 30 Nov 2026).
   Computers and laptops: every white banner is 465px tall, with its text centred in the space under the menu bar.
   Tablets and phones: the height follows the text, so nothing is ever cut off. */
@media (min-width:1025px){
  section.h1-bg[data-hero="white"]>.hero-wrap{min-height:465px;box-sizing:border-box;padding-bottom:40px!important}
  section.h1-bg[data-hero="white"] .hero-body,section.h1-bg[data-hero="white"] .ww-hero-body{flex:1;justify-content:center;padding-top:0!important;padding-bottom:0!important}
}
