.scholarship-intro{background:#f4f0fa;border:1px solid #d5c6e4;border-radius:18px;padding:25px;margin:24px 0;color:#241438}.scholarship-intro p{max-width:85ch}.scholarship-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.scholarship-categories a{padding:20px;background:#fff;border:1px solid #c5b3d6;border-radius:14px;text-decoration:none;color:#321853;font-weight:700;box-shadow:0 3px 9px #35204b08}.scholarship-categories a:hover,.scholarship-categories a:focus-visible{background:#ece3f8;outline:2px solid #674489}.scholarship-categories a[aria-current=page]{background:#382056;color:#fff}.scholarship-categories small{display:block;font-weight:400;font-size:13px;margin-top:8px}.hub-filters.scholarship-filters{grid-template-columns:repeat(4,minmax(0,1fr));padding:24px;background:#f7f4fb;border:1px solid #d0bddf;border-radius:16px}.scholarship-filters label{min-width:0;color:#261335}.scholarship-filters input,.scholarship-filters select{width:100%;box-sizing:border-box;min-height:48px;border:1px solid #ac99be;border-radius:8px;background:white;color:#23102f;padding:10px;font:inherit}.scholarship-filters .query-label{grid-column:span 2}.scholarship-filters button{min-height:46px}.scholarship-filters input:focus,.scholarship-filters select:focus{outline:3px solid #8360a8;outline-offset:2px}.scholarship-card{scroll-margin-top:120px}.scholarship-card h2 a{color:#321853;text-decoration:none}.scholarship-card h2 a:hover{text-decoration:underline}.award-value{background:#eee9f7;border-left:4px solid #684495;padding:16px;border-radius:8px;margin:16px 0;color:#241436}.award-value p{margin-bottom:0}.date-label{display:inline-block;font-size:12px;letter-spacing:.025em;font-weight:700;padding:4px 9px;background:#e9e4f2;color:#3f255b;border-radius:6px}.award-sources{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.award-sources a{font-weight:650}.scholarship-card details{border-block:1px solid #e2d8eb;padding:15px 0}.scholarship-card summary{font-weight:700;cursor:pointer;color:#3d225b}.scholarship-card ol{padding-left:22px}.scholarship-card li{margin:10px 0}.scholarship-card small{display:block;color:#63516d}.scholarship-table-wrap{overflow-x:auto;grid-column:1/-1;border:1px solid #d4c5df;border-radius:12px}.scholarship-calendar{border-collapse:collapse;width:100%;min-width:760px;background:white}.scholarship-calendar caption{text-align:left;font-weight:700;padding:20px}.scholarship-calendar th,.scholarship-calendar td{text-align:left;vertical-align:top;padding:18px;border-top:1px solid #dfd3e8;line-height:1.6}.scholarship-calendar thead{background:#34204e;color:white}.scholarship-calendar th{width:22%}.scholarship-calendar td:nth-child(2){width:32%}.scholarship-calendar small{display:block;font-size:12px;font-weight:400}.scholarship-videos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.scholarship-video{padding:20px;background:#fff;border:1px solid #d8cce5;border-radius:16px}.scholarship-video iframe,.scholarship-video button{width:100%;aspect-ratio:16/9;border:0;border-radius:10px}.scholarship-video button{background:linear-gradient(130deg,#20283e,#4b2764);color:white;font-size:18px;cursor:pointer;padding:15px}.scholarship-video h3{font-size:22px}.scholarship-video p{font-size:14px}.research-guide{background:#233a3a;color:#fff;border-radius:18px;padding:30px;margin-top:30px}.research-guide a{color:#fff}.research-guide h2{color:#fff}.research-guide li{margin:12px 0}.research-guide p{color:#fff}@media(max-width:950px){.scholarship-categories,.hub-filters.scholarship-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.scholarship-videos{grid-template-columns:1fr}}@media(max-width:550px){.scholarship-categories,.hub-filters.scholarship-filters{grid-template-columns:1fr}.scholarship-filters .query-label{grid-column:auto}.hub-filters.scholarship-filters{padding:15px}.award-top{flex-wrap:wrap}.scholarship-card{padding:20px!important}}
/* Photograph cards use existing destination/editorial assets; names stay selectable and accessible. */
.scholarship-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.scholarship-categories a{position:relative;isolation:isolate;min-height:225px;overflow:hidden;padding:0;background:#172236;color:#fff;border:0;box-shadow:0 8px 24px #17223620}.scholarship-categories img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .25s}.scholarship-categories a:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#101b3320,#101629ed);z-index:-1}.scholarship-categories a>span{display:flex;min-height:225px;flex-direction:column;justify-content:flex-end;padding:25px;box-sizing:border-box}.scholarship-categories strong{font-size:24px;line-height:1.2;color:#fff}.scholarship-categories small{font-size:14px;color:#fff;line-height:1.5}.scholarship-categories a:hover,.scholarship-categories a:focus-visible{background:#172236;color:white;outline:3px solid #8055bc;outline-offset:3px}.scholarship-categories a:hover img{transform:scale(1.04)}.scholarship-art{display:block;position:relative;isolation:isolate;min-height:230px;overflow:hidden;border-radius:12px;margin-bottom:22px;color:white!important;text-decoration:none}.scholarship-art img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;z-index:-2}.scholarship-art:after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,#121b35de,#1c17417a);z-index:-1}.scholarship-art>span{padding:25px;display:flex;min-height:230px;box-sizing:border-box;flex-direction:column;justify-content:center;gap:14px}.scholarship-art strong{font-size:25px;line-height:1.25;color:white}.scholarship-art small{color:#fff!important;font-size:14px}.scholarship-art b{font-size:14px;color:#fff;border-bottom:1px solid #fff9;align-self:flex-start;padding-bottom:5px}.scholarship-art:focus-visible{outline:3px solid #9264d2;outline-offset:4px}.award-sources a{background:#362050;color:#fff!important;text-decoration:none;padding:12px 16px;border-radius:8px;font-size:14px}.award-sources a:hover{background:#573475}@media(max-width:800px){.scholarship-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.scholarship-categories{grid-template-columns:1fr}.scholarship-categories a,.scholarship-categories a>span{min-height:190px}.scholarship-art strong{font-size:23px}}
.country-funding-search{display:block;max-width:620px;font-weight:700;margin-top:24px}.country-funding-search input{display:block;width:100%;box-sizing:border-box;padding:16px;border:2px solid #60428a;border-radius:10px;background:white;color:#1a1830;font:inherit;margin-top:8px}.country-funding-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:30px;align-items:start}.country-funding{border:1px solid #d4c9de;border-radius:16px;overflow:hidden;background:#fff;scroll-margin-top:100px}.country-funding[hidden]{display:none}.country-funding .scholarship-art{border-radius:0;margin:0}.country-funding-body{padding:24px}.country-funding-body h2{font-size:23px}.country-funding-body li{margin:14px 0}.country-funding-body small{display:block;color:#564365;font-size:14px}.country-funding-body ul{padding-left:19px}.official-institution{display:block;background:#34204f;color:#fff!important;text-decoration:none;border-radius:10px;padding:17px;margin-top:20px}.official-institution span{display:block;font-size:14px;margin-top:8px}.official-institution:hover{background:#58317f}.country-funding .source-note{font-size:14px;line-height:1.6}@media(max-width:1000px){.country-funding-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.country-funding-grid{grid-template-columns:1fr}}


/* Funding filters: independent tracks prevent flex items collapsing on phones. */
#scholarship-filter>label{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;width:100%;font-size:16px;line-height:1.5;font-weight:650}
#scholarship-filter input,#scholarship-filter select{width:100%;max-width:100%;min-width:0;min-height:52px;margin:0;font-size:16px;line-height:1.4;padding:12px}
#scholarship-filter .query-label{grid-column:1/-1}
#scholarship-filter .funding-actions{grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:4px}
#scholarship-filter .funding-actions button{min-height:52px;min-width:160px;margin:0;padding:13px 22px;font-size:16px;line-height:1.4}
#scholarship-filter button[type=reset]{background:white;color:#432764;border:1px solid #9b88ac}
#scholarship-count{scroll-margin-top:130px}
@media(max-width:950px){#scholarship-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#scholarship-filter{grid-template-columns:minmax(0,1fr);padding:20px 16px;gap:20px}#scholarship-filter>label{grid-column:1}#scholarship-filter .funding-actions{flex-direction:column;align-items:stretch}#scholarship-filter .funding-actions button{width:100%;min-width:0}}

/* Explicit grid overrides shared flex filters at every viewport size. */
form#scholarship-filter.hub-filters.scholarship-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:end;width:100%;box-sizing:border-box}form#scholarship-filter>label{white-space:normal;overflow-wrap:anywhere}form#scholarship-filter .query-label{grid-column:1/-1}@media(max-width:950px){form#scholarship-filter.hub-filters.scholarship-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){form#scholarship-filter.hub-filters.scholarship-filters{grid-template-columns:minmax(0,1fr)}}
