/* Shared page footer styling based on homepage */
.footer{background:#0f1d2b;color:#d2dbe1;padding:15px 0 26px}.footer .wrap{max-width:1200px;margin:0 auto;padding-left:28px;padding-right:28px}.footer a{text-decoration:none}.footer a:hover{text-decoration:underline}.footer p{margin:0 0 12px}.footer-bottom{border-top:1px solid #ffffff20;display:flex;justify-content:space-between;gap:10px;padding-top:22px;margin-top:26px;font-size:11px;color:#8c9ba7;flex-wrap:wrap}.ra-footer-brand img{width:46px;height:46px;object-fit:contain}.footer .ra-footer-brand{color:#fff}.ra-footer-legal a:hover{color:#FBBC06}
.ra-footer-layout{display:grid;grid-template-columns:1.1fr .8fr .8fr 1.15fr;gap:30px;padding:55px 0 30px}.ra-footer-layout section{min-width:0}.ra-footer-layout h3{color:#fff;font-size:15px;margin:0 0 20px}.ra-footer-layout section>a:not(.ra-footer-brand){display:block;color:#dce5ed;text-decoration:none;font-size:13px;margin:0 0 10px}.ra-footer-layout p{color:#cad7e0;font-size:13px;line-height:1.7}.ra-footer-layout p strong{display:block;color:#fff;margin-top:15px}.ra-footer-brand{display:flex;gap:9px;align-items:center;text-decoration:none;color:#fff}.ra-footer-brand strong{display:block;font-size:16px}.ra-footer-brand small{display:block;font-size:9px;letter-spacing:1.5px}.ra-footer-legal{border-top:1px solid #435669;display:flex;flex-wrap:wrap;gap:12px 22px;padding:20px 0}.ra-footer-legal a,.ra-footer-legal span{color:#dce5ed;font-size:12px;text-decoration:none}@media(max-width:950px){.ra-footer-layout{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.ra-footer-layout{grid-template-columns:1fr;padding-top:36px}}

/* Recommended programme wordmark: RAY yellow, ACADEMY IAS white */
.ra-programme-cover .ra-programme-wordmark{display:inline-flex;align-items:baseline;gap:1px;color:#fff!important;font:800 11px/1.1 Inter,Arial,sans-serif;letter-spacing:0!important}.ra-programme-cover .ra-programme-wordmark .ra-ray{color:#FBBC06!important}.ra-programme-cover .ra-programme-wordmark .ra-academy{color:#fff!important}

/* Brand pill for all programme recommendation covers */
.ra-programme-cover .ra-programme-wordmark{display:inline-flex!important;align-items:center!important;align-self:flex-start!important;width:max-content!important;background:#0D0D0D!important;padding:6px 9px!important;border-radius:4px!important;font:800 11px/1.2 Inter,Arial,sans-serif!important;letter-spacing:0!important;color:#fff!important}.ra-programme-cover .ra-programme-wordmark .ra-ray{color:#FBBC06!important}.ra-programme-cover .ra-programme-wordmark .ra-academy{color:#fff!important}

/* Generated programme card text identity: no tagline, no ™ */
.ra-programme-cover .ra-programme-wordmark .ra-brand-dot{color:#FBBC06!important}.ra-programme-cover .ra-programme-wordmark .ra-ray{color:#FBBC06!important}.ra-programme-cover .ra-programme-wordmark .ra-academy{color:#FFFFFF!important}

/* RAYACADEMY mobile footer: two navigation columns, centred contacts, three locations. */
@media(max-width:560px){
.footer .ra-footer-layout{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:18px!important;row-gap:26px!important;padding-top:30px!important;padding-bottom:24px!important}
.footer .ra-footer-layout>section{min-width:0!important}
.footer .ra-footer-layout>section:first-child{grid-column:1/-1!important;text-align:center!important}
.footer .ra-footer-layout>section:first-child>.ra-footer-brand{margin-left:auto!important;margin-right:auto!important;text-align:left!important}
.footer .ra-footer-layout>section:first-child>.ra-footer-socials,.footer .ra-footer-layout>section:first-child>.ra-app-badges{justify-content:center!important}
.footer .ra-footer-layout>section:nth-child(2){grid-column:1!important}
.footer .ra-footer-layout>section:nth-child(3){grid-column:2!important}
.footer .ra-footer-layout>section:nth-child(2)>a,.footer .ra-footer-layout>section:nth-child(3)>a{overflow-wrap:anywhere!important}
.footer .ra-footer-layout>section:nth-child(4){grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:9px!important;row-gap:10px!important;text-align:center!important;border-top:1px solid #435669!important;padding-top:22px!important}
.footer .ra-footer-layout>section:nth-child(4)>h3,.footer .ra-footer-layout>section:nth-child(4)>a{grid-column:1/-1!important;margin-left:auto!important;margin-right:auto!important}
.footer .ra-footer-layout>section:nth-child(4)>h3{margin-bottom:3px!important}
.footer .ra-footer-layout>section:nth-child(4)>a{margin-bottom:1px!important;overflow-wrap:anywhere!important}
.footer .ra-footer-layout>section:nth-child(4)>p{min-width:0!important;margin:0!important;overflow-wrap:anywhere!important;word-break:normal!important;font-size:11px!important;line-height:1.55!important}
.footer .ra-footer-layout>section:nth-child(4)>p strong{margin-top:0!important;margin-bottom:6px!important;font-size:11px!important;color:#FBBC06!important}
.footer .ra-footer-legal{justify-content:center!important;text-align:center!important;gap:10px 15px!important}
.footer .footer-bottom{justify-content:center!important;text-align:center!important}
}
@media(max-width:360px){.footer .ra-footer-layout{column-gap:12px!important}.footer .ra-footer-layout>section:nth-child(4){column-gap:6px!important}.footer .ra-footer-layout>section:nth-child(4)>p{font-size:10px!important}}


/* Refined compact mobile footer columns and symmetric alignment */
@media(max-width:560px){
.footer .wrap{padding-left:18px!important;padding-right:18px!important}
.footer .ra-footer-layout{column-gap:20px!important;row-gap:28px!important}
.footer .ra-footer-layout>section:first-child{display:flex!important;flex-direction:column!important;align-items:center!important}
.footer .ra-footer-layout>section:first-child>p{max-width:360px!important;text-align:center!important;line-height:1.65!important;margin-left:auto!important;margin-right:auto!important}
.footer .ra-footer-layout>section:first-child>.ra-footer-brand{align-self:center!important}
.footer .ra-footer-layout>section:first-child .ra-app-badges{width:100%!important;justify-content:center!important;gap:10px!important}
.footer .ra-footer-layout>section:first-child .ra-app-badges>a,.footer .ra-footer-layout>section:first-child .ra-app-ios{flex:0 1 148px!important;min-width:0!important;justify-content:center!important}
.footer .ra-footer-layout>section:nth-child(2),.footer .ra-footer-layout>section:nth-child(3){padding:0!important;margin:0!important}
.footer .ra-footer-layout>section:nth-child(2)>h3,.footer .ra-footer-layout>section:nth-child(3)>h3{font-size:15px!important;line-height:1.4!important;margin:0 0 16px!important;min-height:23px!important}
.footer .ra-footer-layout>section:nth-child(2)>a,.footer .ra-footer-layout>section:nth-child(3)>a{font-size:12px!important;line-height:1.45!important;margin-bottom:13px!important;overflow-wrap:normal!important;word-break:normal!important}
.footer .ra-footer-layout>section:nth-child(4){align-items:start!important;row-gap:12px!important}
.footer .ra-footer-layout>section:nth-child(4)>h3{font-size:17px!important}
.footer .ra-footer-layout>section:nth-child(4)>p{padding:0 3px!important;line-height:1.45!important;font-size:10px!important}
.footer .ra-footer-layout>section:nth-child(4)>p strong{font-size:10px!important;line-height:1.3!important;min-height:27px!important;display:flex!important;align-items:flex-start!important;justify-content:center!important}
.footer .ra-footer-legal{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px 15px!important}
.footer .ra-footer-legal a{line-height:1.6!important;font-size:11px!important}
.footer .footer-bottom{margin-top:14px!important;padding-top:18px!important}
}
@media(max-width:360px){.footer .ra-footer-layout{column-gap:12px!important}.footer .ra-footer-layout>section:nth-child(2)>a,.footer .ra-footer-layout>section:nth-child(3)>a{font-size:11px!important}}
.ra-app-badges a.ra-app-ios{opacity:1;cursor:pointer}
