/* Catalogue additions retain the EGE page palette and card treatment. */
.ranking-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px}
.ranking-filters button,.exam-toolbar button,.exam-more button{border:1px solid rgba(7,89,148,.2);border-radius:999px;padding:11px 18px;background:rgba(255,255,255,.75);color:#145b84;font:600 14px/1.3 "Segoe UI",Arial,sans-serif;cursor:pointer}
.ranking-filters button[aria-pressed="true"]{background:#0878c7;color:white;border-color:#0878c7}
.ranking-group{margin:32px 0}.ranking-group-heading{font-size:27px;margin:0 0 18px}
.organization-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:72px;margin-bottom:20px}
.organization-logo{width:148px;height:68px;object-fit:contain;object-position:left center;border-radius:10px;padding:8px;background:rgba(255,255,255,.9);max-width:calc(100% - 44px)}
.organization-name{font:700 17px/1.35 "Segoe UI",Arial,sans-serif;color:#075582;max-width:calc(100% - 44px)}
.card-arrow{font-size:23px;color:#0878c7;flex:0 0 32px;text-align:center;align-self:flex-start;padding:8px 0}
.ranking-card{min-height:260px!important}.ranking-card .label{display:block;margin:0 0 12px;font-size:11px}
.ranking-card h3,.exam-card h3{font-size:23px;line-height:1.2;margin:0 0 12px}
body#portal-page.portal-unified .section :is(.ranking-card,.exam-card) p{font-weight:400!important;font-size:15px;line-height:1.6}
.exam-controls{padding:26px;margin:28px 0;border-radius:25px;border:1px solid rgba(255,255,255,.85);background:rgba(236,249,255,.8);box-shadow:0 16px 42px rgba(8,83,139,.09)}
.exam-search,.exam-filter{display:flex;flex-direction:column;gap:9px;min-width:0;color:#155c84;font:600 14px/1.4 "Segoe UI",Arial,sans-serif}
.exam-search input,.exam-filter select{width:100%;min-width:0;min-height:46px;border:1px solid rgba(7,89,148,.2);border-radius:12px;background:rgba(255,255,255,.94);padding:11px 13px;color:#07345f;font:400 15px/1.4 "Segoe UI",Arial,sans-serif}
.exam-search input::placeholder{color:#517c99}.exam-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:18px}
.exam-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:19px}.exam-toolbar p{margin:0;font-size:14px;font-weight:600;color:#155c84}
.exam-card{display:flex!important;flex-direction:column;min-width:0;padding:26px!important;scroll-margin-top:95px}
.exam-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}.exam-tags span{border:1px solid rgba(11,108,177,.13);border-radius:999px;background:rgba(195,231,250,.66);padding:6px 9px;font:600 11px/1.4 "Segoe UI",Arial,sans-serif;color:#155c84}
body#portal-page.portal-unified .section .exam-card .exam-location{font-size:13px;font-weight:600!important;color:#0878c7!important;margin:0 0 13px}
.exam-details{display:grid;gap:14px;margin:16px 0;font-size:14px;line-height:1.55;color:#2d688d}.exam-details dt{font-weight:650;color:#155c84;margin:0 0 4px}.exam-details dd{margin:0;font-weight:400}
body#portal-page.portal-unified .section .exam-card .exam-note{font-size:13px;line-height:1.6;margin:3px 0 18px;padding:12px 13px;border-radius:12px;background:rgba(199,230,247,.45)}
.exam-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:auto;padding-top:16px}.exam-links a{display:inline-flex;align-items:center;min-height:40px;border:1px solid rgba(7,89,148,.18);border-radius:12px;padding:10px 12px;background:rgba(255,255,255,.76);font:600 13px/1.3 "Segoe UI",Arial,sans-serif;color:#075582}
.exam-links a:hover,.ranking-filters button:hover,.exam-toolbar button:hover,.exam-more button:hover{background:#fff;color:#075582}
.exam-empty{padding:30px;border-radius:20px;background:rgba(255,255,255,.65);font-size:16px;color:#155c84}.exam-more{text-align:center;margin-top:28px}
.catalog-date{font:400 13px/1.65 "Segoe UI",Arial,sans-serif;color:#225e85;margin:26px 0 0}
body#portal-page :is(.ranking-group,.exam-card,.exam-empty,.exam-more button)[hidden]{display:none!important}
body#portal-page :is(.ranking-filters button,.exam-controls button,.exam-controls input,.exam-controls select,.exam-links a,.card-arrow,.exam-more button):focus-visible{outline:2px solid #075c91;outline-offset:4px}
@media(max-width:1000px){.exam-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body#portal-page .section .cards{grid-template-columns:minmax(0,1fr)}.exam-controls{padding:19px}.exam-filter-grid{grid-template-columns:minmax(0,1fr)}.exam-toolbar{align-items:flex-start;flex-direction:column}.ranking-card,.exam-card{padding:22px!important}.ranking-filters{gap:8px}.ranking-filters button{padding:10px 14px}.organization-logo{width:136px;height:64px}}

/* Worldwide university catalogue and source geography. */

/* Shared card and table views. Tables retain all active filters and pagination. */
.catalog-view-switch{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:18px 0 24px;color:#155c84;font:600 14px/1.4 "Segoe UI",Arial,sans-serif}
.catalog-view-switch>span{margin-right:6px}.catalog-view-switch button{border:1px solid rgba(7,89,148,.2);border-radius:999px;padding:10px 18px;background:rgba(255,255,255,.78);color:#145b84;font:600 14px/1.3 "Segoe UI",Arial,sans-serif;cursor:pointer}.catalog-view-switch button[aria-pressed="true"]{background:#0878c7;border-color:#0878c7;color:white}.catalog-view-switch button:hover{box-shadow:0 4px 12px rgba(8,83,139,.12)}
.catalog-table{width:100%;max-width:100%;min-width:0;overflow-x:hidden;overflow-y:auto;border:1px solid rgba(255,255,255,.85);border-radius:20px;background:rgba(245,252,255,.88);box-shadow:0 16px 42px rgba(8,83,139,.09);margin:20px 0 28px;max-height:76vh;overscroll-behavior:contain}.catalog-table table{width:100%;max-width:100%;min-width:0;border-collapse:separate;border-spacing:0;table-layout:fixed;font:400 14px/1.6 "Segoe UI",Arial,sans-serif;color:#18527d}.catalog-table th,.catalog-table td{padding:16px 10px;text-align:left;vertical-align:top;border-bottom:1px solid rgba(7,89,148,.13);overflow-wrap:normal}.catalog-table thead th{position:sticky;top:0;z-index:1;background:#d6effc;color:#07345f;font-weight:650}.catalog-table tbody th{color:#07345f;font-weight:650}.catalog-table tbody tr:nth-child(even){background:rgba(211,238,253,.32)}.catalog-table tbody tr:hover{background:rgba(198,232,250,.5)}.catalog-table tr:last-child td,.catalog-table tr:last-child th{border-bottom:0}
.catalog-table-meta{display:block;margin-top:6px;font-size:12px;font-weight:400;color:#386582}.catalog-table-rank{display:block;font-weight:650;color:#0878c7}.catalog-table-status{display:block;font-size:12px;font-weight:600;margin-bottom:8px;color:#075582}.catalog-table-links{display:flex;flex-direction:column;gap:12px}.catalog-table a{color:#075c91;font-weight:600;text-decoration:underline;text-underline-offset:3px}.catalog-table details{margin-top:10px;font-size:13px}.catalog-table summary{cursor:pointer;font-weight:600;color:#075c91}.catalog-table details p{margin:8px 0!important;font-size:13px!important;font-weight:400!important}.catalog-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body#portal-page .catalog-table-mode :is(.ranking-group,#university-results,#exam-results),body#portal-page :is(.catalog-table,.catalog-view-switch)[hidden]{display:none!important}body#portal-page :is(.catalog-view-switch button,.catalog-table,.catalog-table a,.catalog-table summary):focus-visible{outline:2px solid #075c91;outline-offset:4px}
@media(max-width:640px){.catalog-view-switch{justify-content:flex-start}.catalog-table{border-radius:16px;max-height:70vh}.catalog-table th,.catalog-table td{padding:14px 12px}}
.source-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 24px;align-items:end}.source-controls p{grid-column:1/-1;font-size:14px;margin:0;color:#155c84}.admission-subnav{display:flex;flex-wrap:wrap;gap:12px;margin:32px 0}.admission-subnav a{border-radius:14px;background:rgba(255,255,255,.75);border:1px solid rgba(7,89,148,.18);padding:12px 18px;font:600 15px/1.4 "Segoe UI",Arial,sans-serif;color:#075582}.university-card{min-height:420px}.university-card .organization-name{font-size:16px}.university-program{font-weight:600!important;color:#075582}.university-logo{object-fit:contain}.university-card h3{overflow-wrap:normal}body#portal-page :is(.ranking-card,.university-card,.university-card img,.university-card .organization-name,#university-empty,#university-more)[hidden]{display:none!important}@media(max-width:640px){.source-controls{grid-template-columns:1fr}.university-card{min-height:0}.admission-subnav a{flex:1;text-align:center}}
.university-combined{font-weight:650!important;color:#075582!important;margin:12px 0!important}.university-combined span{font-size:12px;font-weight:400}.catalog-table-logo{display:block;width:84px;max-width:100%;height:46px;object-fit:contain;object-position:left center;margin:0 0 12px}.catalog-table-logo[hidden]{display:none!important}.ranking-method{padding:18px 22px;border:1px solid rgba(7,89,148,.18);border-radius:16px;background:rgba(255,255,255,.6);margin:0 0 24px;font:14px/1.7 "Segoe UI",Arial,sans-serif;color:#155c84}.ranking-method summary{font-weight:650;cursor:pointer}.ranking-method p{font-size:14px!important;line-height:1.7!important;margin:12px 0!important}
#admission .exam-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:1000px){#admission .exam-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){#admission .exam-filter-grid{grid-template-columns:minmax(0,1fr)}}

/* Tables fit the content width; narrower screens stack labelled fields. */
.catalog-table :is(th,td){min-width:0;word-break:normal;overflow-wrap:break-word;hyphens:none}
body#portal-page .section .card h3{word-break:normal;overflow-wrap:normal;hyphens:none}






#examinations>.admission-subnav{margin:0 0 32px}
.admission-subnav a{overflow-wrap:normal;word-break:normal;flex:0 1 auto}
.filter-help{font:400 14px/1.65 "Segoe UI",Arial,sans-serif;color:#245f86;margin:18px 0 0}
.source-toolbar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px}
.source-toolbar button{border:1px solid rgba(7,89,148,.2);border-radius:999px;padding:11px 18px;background:rgba(255,255,255,.75);color:#145b84;font:600 14px/1.3 "Segoe UI",Arial,sans-serif;cursor:pointer}
.exam-filter select[multiple]{min-height:130px}
.exam-filter select[hidden]{display:none!important}
.catalog-multiselect{position:relative;font-weight:400}
.catalog-multiselect>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;border:1px solid rgba(7,89,148,.2);border-radius:12px;background:rgba(255,255,255,.94);padding:11px 13px;color:#07345f;font:400 15px/1.4 "Segoe UI",Arial,sans-serif;cursor:pointer;list-style:none;overflow-wrap:normal;word-break:normal}
.catalog-multiselect>summary::-webkit-details-marker{display:none}
.catalog-multiselect>summary::after{content:'⌄';flex:0 0 auto;font-size:20px;line-height:1}
.catalog-multiselect[open]>summary::after{content:'⌃'}
.catalog-multi-panel{position:absolute;z-index:10;top:calc(100% + 6px);left:0;width:100%;min-width:220px;padding:12px;border:1px solid #a5cfe8;border-radius:14px;background:#f5fbff;box-shadow:0 12px 30px rgba(8,83,139,.18)}
.catalog-multi-options{max-height:min(320px,42vh);overflow-y:auto;overscroll-behavior:contain}
.catalog-multi-options label{display:flex;align-items:flex-start;gap:10px;padding:10px 8px;border-radius:8px;font:400 14px/1.45 "Segoe UI",Arial,sans-serif;cursor:pointer;color:#07345f}
.catalog-multi-options label:hover{background:#deeffa}
.catalog-multi-options input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;margin:1px 0 0;accent-color:#0878c7}
.catalog-choice-search{width:100%;min-height:40px;border:1px solid #a5cfe8;border-radius:9px;padding:8px 10px;margin-bottom:8px;font:400 14px/1.4 "Segoe UI",Arial,sans-serif;color:#07345f}
.catalog-multi-clear{width:100%;margin-top:10px;padding:10px;border:1px solid #a5cfe8;border-radius:9px;background:white;color:#075582;font:600 14px/1.4 "Segoe UI",Arial,sans-serif;cursor:pointer}
.catalog-multi-clear:disabled{opacity:.5;cursor:default}
body#portal-page :is(.catalog-multi-options label,.catalog-multi-panel p)[hidden]{display:none!important}
body#portal-page :is(.catalog-multiselect summary,.catalog-multi-panel input,.catalog-multi-clear,.source-toolbar button):focus-visible{outline:2px solid #075c91;outline-offset:3px}
@media(max-width:640px){.source-toolbar{align-items:flex-start;flex-direction:column}.catalog-multi-panel{min-width:0}.admission-subnav a{flex:0 1 auto;text-align:left}}

#source-table thead th:nth-child(1){width:21%}#source-table thead th:nth-child(2){width:14%}#source-table thead th:nth-child(3){width:17%}#source-table thead th:nth-child(4){width:18%}#source-table thead th:nth-child(5){width:18%}#source-table thead th:nth-child(6){width:12%}

#exam-table thead th:nth-child(1){width:20%}#exam-table thead th:nth-child(2){width:14%}#exam-table thead th:nth-child(3){width:18%}#exam-table thead th:nth-child(4){width:17%}#exam-table thead th:nth-child(5){width:19%}#exam-table thead th:nth-child(6){width:12%}

#university-table thead th:nth-child(1){width:18%}#university-table thead th:nth-child(2){width:14%}#university-table thead th:nth-child(3){width:16%}#university-table thead th:nth-child(4){width:15%}#university-table thead th:nth-child(5){width:24%}#university-table thead th:nth-child(6){width:13%}

@media(max-width:1060px){
 .catalog-table table,.catalog-table tbody{display:block;width:100%;max-width:100%;min-width:0}
 .catalog-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .catalog-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid rgba(7,89,148,.16)}
 .catalog-table tbody :is(th,td){display:block;width:auto;min-width:0;padding:12px 14px;border-bottom:0}
 .catalog-table tbody th{grid-column:1/-1;background:rgba(211,238,253,.32)}
 .catalog-table tbody td:last-child{grid-column:1/-1}
 .catalog-table tbody td::before{content:attr(data-label);display:block;margin-bottom:5px;color:#07345f;font-size:12px;font-weight:650}
 .catalog-table-links{flex-direction:row;flex-wrap:wrap;gap:10px 18px}
 .catalog-table tbody tr:last-child{border-bottom:0}
}
@media(max-width:480px){
 .catalog-table tbody tr{grid-template-columns:minmax(0,1fr)}
}
