/* 글로벌 대학 탐색 — 한 단계씩 선택하고, 본문은 편안한 한 줄 폭으로 읽기 */
.gstudy{margin:0;padding:0}
.gstudy__title{margin-top:0}
.gstudy__intro{max-width:690px;margin-top:14px;font-size:17px;line-height:1.8;word-break:keep-all;color:var(--ink-60)}
.gstudy__trail{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:30px;font-size:13px;line-height:1.7}
.gstudy__crumb{min-height:32px;padding:3px 0;color:var(--ink-60);text-align:left;transition:color .2s,transform .2s}
button.gstudy__crumb{border-bottom:1px solid var(--ink-15)}
button.gstudy__crumb:hover{color:var(--accent-deep);border-color:var(--accent)}
button.gstudy__crumb:active{transform:scale(.96)}
.gstudy__crumb.is-current{font-weight:700;color:var(--ink)}
.gstudy__separator{color:#b3b3b3}
.gstudy__screen{margin-top:24px}
.gstudy__step{font-family:var(--f-body);font-size:12px;letter-spacing:.03em;color:var(--accent-deep);font-weight:700}
.gstudy__question{margin:8px 0 24px;font-family:var(--f-display);font-size:clamp(23px,2.8vw,35px);font-weight:700;line-height:1.4;letter-spacing:-.025em;word-break:keep-all}
.gstudy__question:focus,.gstudy-report__title:focus,.gstudy-report__section h4:focus{outline:none}
.gstudy__choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gstudy__choice{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;min-height:82px;padding:18px 34px 18px 18px;border:1px solid var(--ink-15);background:#fff;text-align:left;line-height:1.5;transition:background .2s,border-color .2s,transform .2s,color .2s}
.gstudy__choice strong{font-size:17px;font-weight:700;word-break:keep-all;overflow-wrap:anywhere}
.gstudy__choice small{font-size:12px;color:var(--ink-60);overflow-wrap:anywhere}
.gstudy__choice:hover{background:#f7f7f7;border-color:var(--ink);transform:translateY(-2px)}
.gstudy__choice:active{transform:scale(.97);background:#f3ebe9;border-color:var(--accent)}
.gstudy__choice:focus-visible,.gstudy__button:focus-visible,.gstudy__crumb:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.gstudy__arrow{position:absolute;right:14px;top:19px;color:var(--ink-60);font-size:17px}
.gstudy__choice:hover .gstudy__arrow{color:var(--accent-deep)}
.gstudy__choices--schools{grid-template-columns:repeat(3,minmax(0,1fr))}
.gstudy__choices--schools .gstudy__choice{min-height:100px;justify-content:flex-start}
.gstudy__choices--schools .gstudy__choice strong{font-size:16px}
.gstudy__note{margin-top:18px;max-width:690px;font-size:14px;line-height:1.8;color:var(--ink-60);word-break:keep-all}
.gstudy__note--before{margin:-10px 0 24px}
.gstudy__button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;border:1px solid var(--ink-15);font-size:14px;font-weight:700;line-height:1.6;text-align:center;transition:background .2s,border-color .2s,color .2s,transform .2s}
.gstudy__button:hover{background:#f3f3f3;border-color:var(--ink)}
.gstudy__button:active{transform:scale(.97)}
.gstudy__button--primary{background:var(--ink);border-color:var(--ink);color:#fff}
.gstudy__button--primary:hover{background:#303030;color:#fff}
.gstudy__button:disabled{cursor:wait;opacity:.65;transform:none}
.gstudy__note + .gstudy__button{margin-top:24px}
.gstudy__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.gstudy__actions--report{margin:0 0 36px;padding-bottom:24px;border-bottom:1px solid var(--ink-15)}
.gstudy__loading{display:flex;align-items:center;gap:12px;min-height:60px;font-size:16px;font-weight:600;line-height:1.8}
.gstudy__spinner{display:block;flex:0 0 22px;width:22px;height:22px;border:2px solid #e4e4e4;border-top-color:var(--accent);border-radius:50%;animation:gstudy-spin 1s linear infinite}
.gstudy__error{max-width:690px;font-size:17px;line-height:1.8;word-break:keep-all}
.gstudy__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.gstudy__copy{position:fixed;left:-9999px;top:0;opacity:0}
.gstudy-report{max-width:690px;margin:0 auto;overflow-wrap:anywhere}
.gstudy-report__title{margin:10px 0 18px;font-family:var(--f-display);font-size:clamp(27px,3.4vw,40px);line-height:1.35;font-weight:800;letter-spacing:-.025em;word-break:keep-all;overflow-wrap:anywhere}
.gstudy-report__meta{font-size:13px;line-height:1.8;color:var(--ink-60)}
.gstudy-report__toc{margin:28px 0 40px;border-top:1px solid var(--ink-15);border-bottom:1px solid var(--ink-15)}
.gstudy-report__toc summary{padding:17px 0;cursor:pointer;font-size:15px;font-weight:700}
.gstudy-report__toc summary:hover{color:var(--accent-deep)}
.gstudy-report__toc ol{display:grid;gap:10px;padding:0 0 20px;font-size:14px;line-height:1.7}
.gstudy-report__toc a:hover{color:var(--accent-deep);text-decoration:underline}
.gstudy-report__section{margin-top:44px}
.gstudy-report__section h4,.gstudy-report__sources h4{margin:0 0 20px;font-family:var(--f-display);font-size:clamp(21px,2.3vw,27px);line-height:1.5;letter-spacing:-.02em;word-break:keep-all;scroll-margin-top:calc(var(--header-h) + 30px)}
.gstudy-report__section > p{margin-top:18px;font-size:18px;line-height:1.8;font-weight:400;white-space:pre-line;word-break:keep-all;overflow-wrap:anywhere}
.gstudy-report__section > p.gstudy-report__refs{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px;font-size:13px;line-height:1.7;color:var(--ink-60)}
.gstudy-report__refs a{color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px}
.gstudy-report__refs a:hover{color:var(--ink)}
.gstudy-report__sources{margin-top:50px;padding-top:30px;border-top:1px solid var(--ink-15)}
.gstudy-report__sources ol{display:grid;gap:14px;font-size:14px;line-height:1.8}
.gstudy-report__sources a{border-bottom:1px solid var(--ink-15)}
.gstudy-report__sources a:hover{color:var(--accent-deep);border-color:var(--accent)}
.gstudy-report__notice{margin-top:28px;font-size:13px;line-height:1.8;color:var(--ink-60);word-break:keep-all}
.gstudy-print-root{display:none}
/* 03 순위 (2026-10-16) : 나라로 좁히기 · 1~10위 목록 · 근거 자료 */
.grank__search{margin:-6px 0 28px;max-width:690px}
.grank__label{display:block;margin-bottom:8px;font-size:13px;font-weight:700;color:var(--ink-60)}
.grank__row{display:flex;flex-wrap:wrap;gap:8px}
.grank__input{flex:1 1 220px;min-width:0;min-height:48px;padding:10px 14px;border:1px solid var(--ink-15);background:#fff;font-size:16px;line-height:1.5;border-radius:0;transition:border-color .2s}
.grank__input:focus{outline:none;border-color:var(--ink)}
.grank__go,.grank__world{flex:0 0 auto}
.grank__hint{min-height:1em;margin-top:8px;font-size:13px;line-height:1.7;color:var(--accent-deep);word-break:keep-all}
.grank__basis{max-width:690px;margin-bottom:28px;padding:18px 20px;background:#f7f7f7}
.grank__basis strong{display:block;margin-bottom:6px;font-size:13px;color:var(--ink-60)}
.grank__basis p{font-size:15px;line-height:1.8;word-break:keep-all}
.grank__list{display:grid;gap:0;max-width:860px;border-top:1px solid var(--ink-15)}
.grank__item{display:flex;gap:18px;padding:26px 0;border-bottom:1px solid var(--ink-15)}
.grank__no{flex:0 0 44px;font-family:var(--f-display);font-size:30px;font-weight:800;line-height:1;padding-top:2px;color:var(--accent-deep);text-align:right}
.grank__body{flex:1 1 auto;min-width:0}
.grank__name{margin:0;font-family:var(--f-display);font-size:clamp(19px,2vw,23px);font-weight:700;line-height:1.45;letter-spacing:-.02em;word-break:keep-all;overflow-wrap:anywhere}
.grank__en{margin-top:2px;font-size:13px;line-height:1.6;color:var(--ink-60);overflow-wrap:anywhere}
.grank__meta{margin-top:8px;font-size:14px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}
.grank__reason{margin-top:10px;font-size:15px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
.grank__body .grank__refs{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;font-size:13px;line-height:1.7;color:var(--ink-60)}
.grank__actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.grank__actions .gstudy__button{min-height:44px;padding:10px 16px;font-size:13px}
.grank__sources{max-width:860px}
@keyframes gstudy-spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.gstudy__choices{grid-template-columns:repeat(2,minmax(0,1fr))}.gstudy__choices--schools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){
  .gstudy__choices{gap:10px}.gstudy__choice{min-height:74px;padding:15px 28px 15px 14px}.gstudy__choice strong{font-size:16px}.gstudy__arrow{right:10px;top:16px}
  .gstudy__choices--schools{grid-template-columns:1fr}.gstudy__choices--schools .gstudy__choice{min-height:78px}
  .gstudy__actions--report{gap:8px}.gstudy__actions--report .gstudy__button{padding:10px 12px;font-size:13px}
  .gstudy-report__section > p{font-size:17px}.gstudy-report__section{margin-top:36px}
  .grank__item{gap:12px;padding:22px 0}.grank__no{flex-basis:30px;font-size:24px}
  .grank__actions .gstudy__button{flex:1 1 calc(50% - 4px)}.grank__actions .gstudy__button--primary{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){.gstudy__spinner{animation:none;border-top-color:var(--accent);border-right-color:var(--accent)}.gstudy__choice,.gstudy__button,.gstudy__crumb{transition:none}}
@media print{
  body.gstudy-printing > :not(.gstudy-print-root){display:none!important}
  body.gstudy-printing{background:#fff;color:#000}
  body.gstudy-printing .gstudy-print-root{display:block}
  .gstudy-print-root .gstudy-report{max-width:none;margin:0}
  .gstudy-print-root .gstudy-report__title{font-size:22pt}
  .gstudy-print-root .gstudy-report__section{margin-top:22pt}
  .gstudy-print-root .gstudy-report__section h4,.gstudy-print-root .gstudy-report__sources h4{font-size:15pt;break-after:avoid}
  .gstudy-print-root .gstudy-report__section > p{font-size:11pt;line-height:1.8;orphans:3;widows:3}
  .gstudy-print-root .gstudy-report__toc{display:none}
  .gstudy-print-root .gstudy-report__sources a::after{content:' (' attr(href) ')';font-size:9pt;word-break:break-all}
  .gstudy-print-root .gstudy-report__notice,.gstudy-print-root .gstudy-report__meta{font-size:9pt}
}
