/* ISGO premium mobile app experience and global back navigation.
   Scoped overrides, keeps existing scholarship content/template and original office logo. */
:root{--isgo-gold-1:#f9de89;--isgo-gold-2:#eeb944;--isgo-gold-3:#cc8b20}
:root[data-theme=dark]{--isgo-gold-1:#fff0ae;--isgo-gold-2:#f5c553;--isgo-gold-3:#dfa12c}
/* Unified progress in My Profile (bars + SVG ring) and scholarship reading progress. */
.pf-wrap .pf-summary{border-top-color:var(--isgo-gold-2)}
.pf-wrap .pf-bar span,.pf-wrap[dir=rtl] .pf-bar span,[dir=rtl] .pf-wrap .pf-bar span,
.pf-me .pf-bar span,[dir=rtl] .pf-me .pf-bar span{
  background:linear-gradient(90deg,var(--isgo-gold-3),var(--isgo-gold-2) 48%,var(--isgo-gold-1));
  box-shadow:0 0 9px #e6a72d45
}
.pf-ring svg stop[offset="0"]{stop-color:var(--isgo-gold-1)}
.pf-ring svg stop[offset=".55"]{stop-color:var(--isgo-gold-2)}
.pf-ring svg stop[offset="1"]{stop-color:var(--isgo-gold-3)}
.pf-wrap .pf-ring-fill,.pf-me .pf-ring-fill{filter:drop-shadow(0 0 2px #f4bf4e5b)}
.sd-progress>i{background:linear-gradient(90deg,#d99520,#facb5b,#ffec9b)}
/* Universal return action, in reading order after the fixed header. */
.app-back-wrap{display:flex;justify-content:flex-start;padding-top:16px;padding-bottom:1px;position:relative;z-index:5}
.app-back-link{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:45px;
  padding:8px 18px;background:var(--surface);border:1px solid var(--border);
  border-radius:14px;color:var(--text);font-size:15px;line-height:1.4;font-weight:850;
  box-shadow:0 6px 18px #0e2b5012;transition:border-color .18s,transform .18s,box-shadow .18s;
}
.app-back-link:hover{transform:translateX(3px);border-color:#e7b34a;box-shadow:0 8px 21px #d1942523}
.app-back-link:focus-visible{outline:3px solid #e9ad3b;outline-offset:3px}
.app-back-arrow{display:grid;place-items:center;flex:none;width:29px;height:29px;
  border-radius:10px;color:#513610;background:linear-gradient(135deg,#ffe6a0,#f3bd4c);font-size:17px;line-height:1}
:root[data-theme=dark] .app-back-link{background:#10243e;border-color:#38516c;color:#f3f7ff}
@media(max-width:850px){
  .app-back-wrap{padding-top:12px;padding-bottom:1px}
  .app-back-link{min-height:47px;border-radius:15px;font-size:15px}
  .site-header{background:#fff!important;box-shadow:0 7px 25px #15324f10;border-bottom-color:#e7edf4}
  .site-header .mobile-menu{
    position:absolute;top:100%;inset-inline:12px;z-index:32;
    width:auto;max-height:calc(100dvh - 105px);overflow:auto;
    grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
    background:#fffffffa;border:1px solid #e2e9ef;border-radius:0 0 22px 22px;
    padding:16px;box-shadow:0 20px 38px #112d4a2b;
  }
  .site-header .mobile-menu:not([hidden]){display:grid}
  .site-header .mobile-menu a{display:grid;place-items:center;text-align:center;
    min-height:48px;padding:10px 8px;background:#f7faff;border:1px solid #e9eef5;border-radius:13px;
    color:#163454;font-size:14px;font-weight:800}
  .site-header .mobile-menu a:hover{background:#fff6df;border-color:#e7b34a}
  .site-header .theme-toggle,.site-header .menu-toggle{border-radius:13px;width:44px;height:44px;flex:none}
}
@media(max-width:650px){
  html{scroll-padding-top:97px}
  body{font-size:16px;line-height:1.85;background:linear-gradient(165deg,var(--bg),var(--surface2) 48%,var(--bg));
    padding-bottom:calc(91px + env(safe-area-inset-bottom))}
  .container{width:calc(100% - 28px)}
  .header-inner{height:76px;gap:6px}
  .site-header .brand{display:flex;align-items:center;gap:5px;flex:1;min-width:0;width:auto}
  .site-header .brand img{width:66px;height:70px;flex:none;object-fit:contain}
  .site-header .brand-name{font-size:clamp(13px,3.9vw,16px);line-height:1.45;font-weight:900;
    white-space:normal;max-width:160px;overflow-wrap:normal;color:#102b4a}
  .site-header .header-actions{gap:6px;flex:none}
  .site-header .theme-toggle,.site-header .menu-toggle{width:41px;height:41px;border-radius:13px}
  .site-header .mobile-menu{inset-inline:10px;padding:12px}
  .app-back-wrap{padding-top:12px;padding-bottom:2px}
  .app-back-link{min-height:44px;padding:6px 13px;font-size:14px;gap:8px;border-radius:14px}
  .app-back-arrow{width:29px;height:29px;border-radius:10px}
  /* App-like bottom navigation dock */
  .bottom-nav{position:fixed;inset:auto 10px max(8px,env(safe-area-inset-bottom)) 10px;
    height:70px;display:flex;gap:1px;align-items:center;justify-content:space-around;
    padding:6px 5px;border-radius:23px;background:rgba(255,255,255,.97);
    border:1px solid #e1eaf1;box-shadow:0 9px 32px #0c264b30;backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);z-index:40}
  .bottom-nav>a{flex:1;min-width:0;min-height:55px;display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:3px;border-radius:15px;color:#64758b}
  .bottom-nav .icon{width:21px;height:21px}
  .bottom-nav span{font-size:11px;line-height:1.25;font-weight:850}
  .bottom-nav>a.active{background:linear-gradient(145deg,#fff3d9,#ffe4a4);color:#153957}
  .bottom-nav>a.active:before{display:none}
  :root[data-theme=dark] .bottom-nav{background:rgba(16,36,62,.98);border-color:#34506c}
  :root[data-theme=dark] .bottom-nav>a{color:#c2d5e7}
  :root[data-theme=dark] .bottom-nav>a.active{background:linear-gradient(145deg,#f8c45b,#dca13d);color:#162c46}
  /* Centered opening banners, prominent comfortable tap targets */
  .page-banner{padding:32px 0 31px;text-align:center}
  .page-banner .container{display:flex;flex-direction:column;align-items:center}
  .page-banner .section-kicker{font-size:12px;letter-spacing:.01em}
  .page-banner h1{font-size:clamp(28px,7.7vw,37px);line-height:1.5;letter-spacing:0;text-align:center}
  .page-banner p{font-size:15px;max-width:36ch;margin-inline:auto;line-height:1.9;text-align:center}
  .page-banner .btn{min-height:48px;border-radius:14px;font-size:15px}
  .hero{height:auto;min-height:480px}
  .hero-content{padding-block:35px 76px;display:flex;align-items:center;flex-direction:column}
  .hero-label{font-size:12px;line-height:1.6;padding:8px 16px;text-align:center}
  .hero h1{font-size:clamp(31px,8.1vw,39px);line-height:1.5;letter-spacing:0;max-width:16ch;margin:20px auto 9px}
  .hero p{font-size:15px;line-height:1.9;max-width:35ch;margin:auto}
  .hero p br{display:none}
  .hero-actions{display:grid;grid-template-columns:1fr;width:min(100%,340px);gap:11px;margin:22px 0 13px}
  .hero-actions .btn{font-size:15px;min-height:49px;border-radius:15px;padding:12px 16px}
  .hero-reassurance{font-size:11px;line-height:1.6;gap:7px;max-width:350px;margin:auto}
  .hero-reassurance .icon{width:15px;height:15px}
  .hero-reassurance i{margin-inline:3px}
  .search-wrap{margin-top:-48px}
  .search-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px 10px;padding:18px;border-radius:22px;background:var(--surface);
    border:1px solid var(--border);box-shadow:0 15px 40px #173c6e22;text-align:center}
  .search-field{grid-column:1/-1;flex-basis:auto;min-width:0;display:flex;align-items:center;justify-content:center;
    padding:0 9px 11px;border-bottom:1px solid var(--border)}
  .search-field input{min-height:46px;padding:8px 0;text-align:center;font-size:15px}
  .search-select{min-width:0;border:1px solid var(--border);border-radius:13px;background:var(--surface2);
    padding:8px 7px;display:grid;justify-items:center;gap:2px}
  .search-select>span{font-size:12px;color:var(--muted);font-weight:800}
  .search-select select{width:100%;max-width:100%;font-size:14px;text-align:center;text-align-last:center;min-height:36px;padding:4px 1px;background:transparent}
  .search-panel>.btn{grid-column:1/-1;min-height:49px;border-radius:14px;font-size:15px}
  .search-note{font-size:12px;line-height:1.8;text-align:center;max-width:360px;margin:13px auto 0}
  .section{padding-block:37px}
  .section-heading{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;margin-bottom:21px}
  .section-heading h2{font-size:clamp(25px,7vw,33px);line-height:1.5;letter-spacing:0}
  .section-kicker{font-size:13px}
  .text-link{font-size:14px;min-height:42px;align-items:center;justify-content:center}
  .section-description{align-items:center;text-align:center;gap:9px;margin-top:-9px}
  .section-description p{font-size:14px;line-height:1.85;max-width:36ch}
  .outline-badge{font-size:12px;white-space:normal;max-width:100%;justify-content:center}
  .quick-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding-block:25px}
  .quick-categories>a{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;
    padding:17px 9px 15px;border:1px solid var(--border);border-radius:19px;
    background:var(--surface);box-shadow:0 8px 25px #16355e0d;text-align:center;min-width:0}
  .quick-categories>a>.icon:last-child{display:none}
  .category-icon{width:50px;height:50px;border-radius:15px;margin-bottom:3px}
  .category-icon .icon{width:26px;height:26px}
  .quick-categories strong{font-size:17px;line-height:1.4}
  .quick-categories small{font-size:12px;line-height:1.45}
  .stats-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:13px;
    border:1px solid var(--border);border-radius:22px;background:var(--surface)}
  .stats-panel .stat{width:auto;min-width:0;margin:0;padding:15px 7px;border:1px solid var(--border);
    background:var(--surface2);border-radius:15px}
  .stats-panel .stat:where(:nth-child(3),:nth-child(5)){border:1px solid var(--border)}
  .stat>strong{font-size:30px;line-height:1.2}
  .stat>span{display:block;font-size:12px;line-height:1.55;margin-top:5px}
  .destinations{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .destination{height:245px;border-radius:19px}
  .destination-caption{right:10px;left:10px;bottom:16px;text-align:center}
  .destination-caption small{font-size:11px}
  .destination-caption h3,.destination-caption h2{font-size:22px;line-height:1.5;margin:4px 0 8px}
  .destination-caption>span{font-size:11px;line-height:1.5}
  .destination-caption b{float:none;margin-inline-start:6px;font-size:16px}
  /* Scholarship result cards */
  .catalog-layout{padding-block:25px}
  .filter-aside{margin-bottom:20px}
  .filter-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:18px;border-radius:22px;
    box-shadow:0 7px 22px #16355c0e;text-align:center}
  .filter-form h2{font-size:20px;line-height:1.5}
  .filter-form label{font-size:13px;min-width:0;text-align:center}
  .filter-form input,.filter-form select{font-size:14px;text-align:center;min-height:45px;border-radius:12px}
  .filter-form .btn{font-size:14px;min-height:46px;border-radius:13px}
  .filter-form .small{font-size:12px}
  .results-toolbar{flex-wrap:wrap;justify-content:center;gap:10px;text-align:center}
  .results-toolbar>strong{font-size:17px;width:100%}
  .results-toolbar>strong>span{font-size:12px}
  .results-toolbar select{font-size:14px;max-width:100%}
  .catalog-grid,.card-grid{display:grid;grid-template-columns:1fr;gap:16px}
  .scholarship-card{border-radius:21px;box-shadow:0 12px 32px #0e2f5912}
  .card-picture{height:194px}
  .card-content{padding:19px 18px 0;text-align:center}
  .card-content .eyebrow{justify-content:center;font-size:13px}
  .card-content h3{font-size:21px;line-height:1.65;text-align:center}
  .card-content p{font-size:14px;line-height:1.9;text-align:center}
  .card-tags{justify-content:center;gap:8px}
  .card-tags>span{font-size:12px;border-radius:10px;padding:5px 9px}
  .badge{font-size:11px;border-radius:10px}
  .card-bottom{font-size:12px;padding:14px 0;gap:10px}
  .card-bottom>a{font-size:13px}
  .pagination{gap:9px}
  .pagination a{min-width:43px;width:auto;min-height:43px;border-radius:12px;font-size:14px;padding:0 9px}
  /* Cards and copy on other public pages */
  .service-grid{grid-template-columns:1fr;gap:15px}
  .service-card{padding:25px 23px;border-radius:21px;text-align:center;box-shadow:0 8px 25px #102a520e}
  .service-card>.icon{margin:0 auto 12px}
  .service-number{right:19px;left:auto;top:15px}
  .service-card h2{font-size:23px;line-height:1.5}
  .service-card p{font-size:15px;line-height:1.9;min-height:0}
  .service-card small{font-size:13px}
  .service-card a{justify-content:center;font-size:15px;min-height:44px}
  .service-card a .icon{margin-inline-start:10px}
  .services-feature{display:grid;grid-template-columns:1fr;gap:23px;padding:25px 19px;border-radius:23px;text-align:center}
  .service-feature-copy h2{font-size:29px}
  .service-feature-copy p{font-size:15px}
  .service-feature-copy .btn{font-size:15px}
  .service-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .service-feature-grid>a{align-items:center;text-align:center;justify-content:center;padding:18px 10px;border-radius:17px}
  .service-feature-grid strong{font-size:15px}
  .service-feature-grid span{font-size:12px}
  .final-cta h2{font-size:24px}
  .final-cta p{font-size:15px}
  .final-cta>.btn{font-size:15px;min-height:49px;border-radius:15px}
  .contact-card,.contact-tips{border-radius:21px;text-align:center}
  .contact-card>.icon{margin:0 auto 15px}
  .contact-card h2{font-size:24px}
  .contact-card>p,.contact-tips p{font-size:15px;line-height:1.9}
  .contact-card .btn,.contact-tips .btn{min-height:48px;max-width:100%;font-size:15px}
  .prose h1,.prose h2{text-align:center;font-size:clamp(24px,6vw,30px)}
  .prose p{font-size:15px;line-height:2;text-align:start}
  .prose details{border-radius:17px}
  .prose details>summary{font-size:16px}
  .prose details>p{font-size:14px}
  /* Readability while maintaining meaningful scholarly detail hierarchy. */
  .detail-hero{padding-block:30px;min-height:320px}
  .detail-hero h1{font-size:clamp(26px,7vw,34px);line-height:1.6;text-align:center;margin-inline:auto}
  .detail-hero .container{text-align:center}
  .detail-hero p{font-size:14px;line-height:1.8;justify-content:center}
  .detail-layout{gap:19px}
  .detail-content>h2,.detail-section h2{font-size:23px;text-align:center}
  .detail-content>p,.detail-section p{font-size:15px;line-height:1.95}
  .facts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .facts-grid>div{padding:17px 11px;border-radius:16px;text-align:center}
  .facts-grid span{font-size:12px}
  .facts-grid strong{font-size:15px}
  .application-panel{border-radius:21px;text-align:center;padding:23px 17px}
  .application-panel .application-icon{align-self:center}
  .application-panel h2{font-size:22px}
  .application-panel .btn{font-size:15px;min-height:48px}
  .countries-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .country-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .country-links a{min-height:60px;border-radius:15px;text-align:center;justify-content:center;font-size:13px}
  /* Student profile summary and section cards: no changes to checklist decisions/data. */
  .pf-banner{padding:37px 0 30px}
  .pf-banner .container{align-items:center;text-align:center}
  .pf-banner h1{font-size:clamp(35px,9vw,47px);text-align:center}
  .pf-banner p{font-size:15px;text-align:center;line-height:1.9}
  .pf-wrap{gap:19px;padding-block:24px 45px}
  .pf-wrap .pf-card,.pf-me .pf-card{border-radius:23px}
  .pf-wrap .pf-summary{border-top:4px solid var(--isgo-gold-2)}
  .pf-wrap .pf-scope-head{text-align:center;justify-content:center}
  .pf-wrap .pf-section{border-radius:19px}
  .pf-wrap .pf-item{border-radius:17px}
  .pf-wrap .pf-opt{min-height:45px}
  .toast{bottom:100px;max-width:calc(100vw - 30px);border-radius:14px;font-size:13px}
  .site-footer .footer-bottom{margin-bottom:8px}
}
@media(max-width:370px){
  .site-header .brand img{width:56px;height:66px}
  .site-header .brand-name{font-size:13px;max-width:137px}
  .site-header .theme-toggle,.site-header .menu-toggle{width:39px;height:39px}
  .hero h1{font-size:30px}
  .quick-categories strong{font-size:15px}
  .destination-caption h3,.destination-caption h2{font-size:19px}
  .search-select select{font-size:13px}
  .bottom-nav{inset-inline:7px}
  .bottom-nav span{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
  .app-back-link,.bottom-nav>a{transition:none}
}
/* 2026-11-16 gold footer refinement: balanced brand panel + two matching glass link panels, no empty column. */
.site-footer .footer-top{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) minmax(0,1fr);gap:clamp(18px,2.4vw,30px);align-items:stretch;padding-block:clamp(36px,4vw,54px) clamp(24px,2.6vw,34px)}
.site-footer .footer-top>div:not(.footer-brand){display:flex;flex-direction:column;gap:9px;min-width:0;padding:22px 20px;border-radius:22px;
  border:1px solid rgba(255,255,255,.72);background:rgba(255,255,255,.22);box-shadow:0 12px 30px rgba(116,72,29,.08),inset 0 1px 0 rgba(255,255,255,.6);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.site-footer .footer-top>div:not(.footer-brand) h3{align-self:flex-start;margin:0 0 6px}
.site-footer .footer-top>div>a:not(.footer-identity):not(.footer-whatsapp){margin-block:0;min-height:46px;justify-content:space-between;background:rgba(255,255,255,.42)}
.site-footer .footer-top>div>a:not(.footer-identity):not(.footer-whatsapp)::after{content:"‹";font-size:19px;line-height:1;color:#a5670f;opacity:.8}
.site-footer .footer-brand{align-content:start;gap:10px}
.site-footer .footer-brand p{margin:4px 0 0}
.site-footer .footer-whatsapp{display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 14px;border-radius:16px;margin-top:6px;
  background:linear-gradient(110deg,rgba(255,255,255,.88),rgba(255,250,232,.72));border:1px solid rgba(255,255,255,.95);
  box-shadow:0 10px 26px rgba(68,71,25,.13),inset 0 1px 0 #fff;color:#123d32;font-weight:850;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.site-footer .footer-whatsapp:focus-visible{outline:3px solid #113e69;outline-offset:3px}
.site-footer .footer-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;padding-block:18px 22px}
.site-footer .footer-bottom a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:900px) and (min-width:651px){
  .site-footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}
  .site-footer .footer-brand{grid-column:1/-1}
}
@media(max-width:650px){
  .site-footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-block:28px 18px}
  .site-footer .footer-brand{grid-column:1/-1;justify-items:center;text-align:center;padding:20px 16px}
  .site-footer .footer-identity{justify-content:center;flex-direction:column;gap:8px;min-height:0}
  .site-footer .footer-identity img{width:72px;height:72px}
  .site-footer .footer-identity strong{font-size:21px;line-height:1.6}
  .site-footer .footer-brand p{font-size:15px;line-height:1.9;max-width:32ch;margin-inline:auto}
  .site-footer .footer-brand small{font-size:13px}
  .site-footer .footer-whatsapp{width:100%;max-width:360px;justify-self:center;text-align:start}
  .site-footer .footer-top>div:not(.footer-brand){padding:16px 11px;align-items:stretch;text-align:center}
  .site-footer .footer-top>div:not(.footer-brand) h3{align-self:center;font-size:16px;margin:0 0 4px}
  .site-footer .footer-top>div>a:not(.footer-identity):not(.footer-whatsapp){justify-content:center;font-size:14px;min-height:46px;padding:8px 6px}
  .site-footer .footer-top>div>a:not(.footer-identity):not(.footer-whatsapp)::after{display:none}
  .site-footer .footer-bottom{flex-direction:column;justify-content:center;text-align:center;gap:2px;font-size:13px;padding-block:14px 22px}
  /* Gold footer extends behind the floating dock: no ghost strip of body background under the footer. */
  body:has(>.site-footer){padding-bottom:0}
  .site-footer{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
}
/* 2026-11-17: Compact single-line Arabic brand and centered WhatsApp card on phones. */
@media (max-width:650px) {
  .site-header .header-inner{height:70px;gap:5px}
  .site-header .brand{width:auto;min-width:0;flex:1 1 0;gap:5px;justify-content:flex-start}
  .site-header .brand img{width:48px;height:58px;flex:0 0 48px;object-fit:contain}
  .site-header .brand-name{
    display:block;min-width:0;max-width:none;white-space:nowrap;overflow:visible;
    font-family:Cairo,Tahoma,Arial,sans-serif;font-size:clamp(11px,3.13vw,14px);
    font-weight:900;line-height:1.25;letter-spacing:-.025em;color:#102b4a
  }
  .site-header .header-actions{flex:0 0 auto;gap:5px}
  .site-header .theme-toggle,.site-header .menu-toggle{width:38px;height:38px;min-width:38px;border-radius:12px}
  .site-footer .footer-brand .footer-whatsapp{
    position:relative;width:100%;max-width:350px;min-height:132px;
    margin:11px auto 0;padding:17px 35px 16px;display:flex;
    flex-direction:column;align-items:center;justify-content:center;
    gap:7px;text-align:center;border-radius:20px
  }
  .site-footer .footer-whatsapp>.icon:first-child{width:37px;height:37px}
  .site-footer .footer-whatsapp>span{
    width:100%;display:flex;flex-direction:column;align-items:center;
    justify-content:center;gap:5px;text-align:center;font-size:15px;
    line-height:1.6;font-weight:900
  }
  .site-footer .footer-whatsapp strong{
    display:block;width:100%;white-space:nowrap;text-align:center;
    direction:ltr;font-family:Cairo,Tahoma,Arial,sans-serif;
    font-variant-numeric:tabular-nums;letter-spacing:.015em;font-size:18px;line-height:1.45
  }
  .site-footer .footer-whatsapp>.icon:last-child{
    position:absolute;inset-inline-end:13px;top:calc(50% - 9px);
    margin:0;width:18px;height:18px
  }
}
@media (max-width:370px) {
  .site-header .header-inner{gap:3px}
  .site-header .brand{gap:3px}
  .site-header .brand img{width:39px;height:51px;flex-basis:39px}
  .site-header .brand-name{font-size:10.8px;letter-spacing:-.04em}
  .site-header .header-actions{gap:3px}
  .site-header .theme-toggle,.site-header .menu-toggle{width:34px;height:34px;min-width:34px}
}

/* 2026-11-17 destination photography cards: all countries use the same optimized
 * local image as their respective scholarships, with responsive lazy-loaded tiles. */
.country-links.country-photo-links{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px;
}
.country-links.country-photo-links>a.country-photo-link{
 position:relative;display:flex;flex-direction:column;align-items:flex-start;
 justify-content:flex-end;isolation:isolate;overflow:hidden;min-width:0;
 width:100%;min-height:158px;padding:17px 15px;border-radius:19px;
 border:1px solid rgba(255,255,255,.16);background:#102b4c;color:#fff;
 box-shadow:0 12px 28px rgba(11,35,64,.16);text-align:start;
 text-decoration:none;transform:translateZ(0);transition:transform .22s,box-shadow .22s;
}
.country-links.country-photo-links>a.country-photo-link>img{
 position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;
 filter:saturate(1.08);transition:transform .35s;
}
.country-links.country-photo-links>a.country-photo-link:before{
 content:'';position:absolute;inset:0;z-index:-1;
 background:linear-gradient(0deg,rgba(4,19,38,.9),rgba(4,19,38,.3) 55%,rgba(4,19,38,.02));
}
.country-links.country-photo-links>a.country-photo-link strong{
 display:block;font-size:18px;line-height:1.55;font-weight:900;
 color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.3);white-space:normal;
 overflow-wrap:anywhere;max-width:100%;
}
.country-links.country-photo-links>a.country-photo-link small{
 display:block;margin-top:2px;font-size:12px;font-weight:700;color:#ebf4ff;
 line-height:1.5;
}
.country-links.country-photo-links>a.country-photo-link:hover,
.country-links.country-photo-links>a.country-photo-link:focus-visible{
 transform:translateY(-3px);box-shadow:0 15px 36px rgba(5,29,59,.25);
}
.country-links.country-photo-links>a.country-photo-link:hover img{transform:scale(1.035)}
@media(max-width:900px){
 .country-links.country-photo-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
}
@media(max-width:650px){
 .country-links.country-photo-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .country-links.country-photo-links>a.country-photo-link{
  min-height:138px;padding:13px 11px;border-radius:15px;
 }
 .country-links.country-photo-links>a.country-photo-link strong{font-size:14px}
 .country-links.country-photo-links>a.country-photo-link small{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
 .country-links.country-photo-links>a.country-photo-link,
 .country-links.country-photo-links>a.country-photo-link img{transition:none}
}
