/* Shared navigation across the ranking and economics pages. */
header nav[aria-label="Main"]{display:flex;align-items:center;flex-wrap:wrap;gap:4px 20px}
header nav[aria-label="Main"]>a,header .resources>summary{display:flex;align-items:center;min-height:44px;font:700 14px/1.4 Arial,sans-serif;text-decoration:none;color:var(--ink);white-space:nowrap}
header nav [aria-current="page"],header .resources-current>summary{color:var(--orange);text-decoration:underline;text-underline-offset:6px}
header .resources{position:relative;padding:0;border:0}
header .resources>summary{list-style:none;cursor:pointer;gap:8px}
header .resources>summary::-webkit-details-marker{display:none}
header .resources>summary::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
header .resources[open]>summary::after{transform:translateY(2px) rotate(225deg)}
header .resources-menu{position:absolute;right:0;top:calc(100% + 2px);z-index:20;min-width:190px;max-height:60vh;overflow-y:auto;overscroll-behavior:contain;background:var(--paper);border:1px solid var(--line);box-shadow:0 10px 24px #18272020;padding:8px}
header .resources-menu a{display:flex;align-items:center;min-height:44px;padding:10px 14px;font:700 14px/1.4 Arial,sans-serif;text-decoration:none;white-space:nowrap}
header .resources-menu a:hover,header .resources-menu a:focus-visible{background:var(--ink);color:var(--paper)}
header nav a:focus-visible,header .resources>summary:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
header nav> a:hover,header .resources>summary:hover{color:var(--orange)}
.method-page{max-width:960px}.method-intro{padding:46px 0 30px;border-bottom:1px solid var(--line)}
.method-intro h1{margin-top:12px}.method-page .links{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:14px}
#method-content{padding:30px 0 65px;font-size:16px;line-height:1.8}
#method-content h2{font-size:38px;margin-top:36px}#method-content h3{font-size:28px;line-height:1.2;margin:32px 0 14px}
#method-content .method-box{padding:22px 26px;background:#e7ecd8;border-left:3px solid var(--green);margin:24px 0}
#method-content .method-box h3:first-child{margin-top:0}#method-content p{max-width:80ch}
@media(max-width:1100px){header .edition{display:none}}
@media(max-width:700px){header nav[aria-label="Main"]{gap:0 16px;margin-top:8px}header .resources-menu{left:0;right:auto}.method-intro{padding-top:30px}#method-content .method-box{padding:18px}}
