/* This guide shares the portfolio's academic reading layout and typeface. */
.scholarship-page { max-width: 1160px; }
.scholarship-page .content { max-width: 880px; }
.guide-hero { padding: 8px 0 18px; border-bottom: 1px solid var(--rule); }
.small-label { font: 600 11px/1.5 system-ui, sans-serif; letter-spacing: .13em; text-transform: uppercase; color: #35644e; }
.guide-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.18; margin: 16px 0 22px; letter-spacing: -.025em; }
.guide-hero h1 em { color: #265a43; font-weight: normal; }
.guide-dek { font-size: 1.15rem; max-width: 64ch; color: #444; }
.guide-stats { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 26px 0 18px; font: 14px/1.5 system-ui, sans-serif; color: var(--muted); }
.guide-stats strong { color: #265a43; font-size: 1.35rem; margin-right: 5px; }
.review-note, .review-date { color: var(--muted); font: 12px/1.6 system-ui, sans-serif; }
.guide-note { background: #f4f6f2; border-left: 3px solid #567d65; padding: 14px 16px; font-size: .92rem; }
.guide-nav { margin-top: 26px; font-size: .9rem; }
.guide-nav ul { list-style: none; padding: 0; margin: 8px 0; }
.guide-nav li { margin-bottom: 6px; }
.guide-nav a, .country-index a, .back-top a, .permalink { color: #265a43; }
.guide-nav a:visited, .country-index a:visited { color: #265a43; }
.sri-section { padding: 1px 0 8px; }
.filters { background: #f6f6f2; border: 1px solid #d3d8cf; padding: 20px; margin: 24px 0 16px; }
.filters label { display: block; font: 600 12px/1.5 system-ui, sans-serif; margin-bottom: 6px; color: #39483e; }
.filters input, .filters select { font: 14px/1.5 system-ui, sans-serif; width: 100%; max-width: 100%; min-width: 0; padding: 10px; color: #222; background: #fff; border: 1px solid #a7b0a8; border-radius: 3px; }
.filters input:focus-visible, .filters select:focus-visible, button:focus-visible, summary:focus-visible, input[type=checkbox]:focus-visible { outline: 2px solid #265a43; outline-offset: 3px; }
.filter-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 16px; }
.filter-footer, .checklist-footer { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 16px; }
.filter-footer p, .checklist-footer p { margin: 0; font: 13px/1.5 system-ui, sans-serif; }
.text-button { border: 0; background: transparent; padding: 5px 0; color: #265a43; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: 13px/1.5 system-ui, sans-serif; }
.country-index { display: flex; flex-wrap: wrap; gap: 7px 16px; padding: 8px 0 16px; font-size: .9rem; }
.funding-key { font-size: .88rem; color: var(--muted); margin: 12px 0 30px; }
.country { border-top: 1px solid var(--rule); padding: 30px 0 18px; margin-top: 16px; scroll-margin-top: 24px; }
.country-heading { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; }
.country-heading h3 { font-size: 1.6rem; font-weight: normal; margin: 0 0 12px; }
.country-region { color: var(--muted); font: 11px/1.5 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em; flex-shrink: 0; }
.country-intro, .country-prepare { font-size: .95rem; }
.country-prepare { margin: 16px 0 20px; }
.university-guide { margin: 12px 0; border-left: 2px solid #9aaa9c; padding: 3px 0 3px 14px; }
summary { cursor: pointer; }
.university-guide > summary { font-weight: bold; font-size: .95rem; color: #265a43; }
.table-scroll { overflow-x: auto; }
.university-guide table { border-collapse: collapse; width: 100%; font-size: .87rem; margin-top: 12px; }
.university-guide caption { text-align: left; color: var(--muted); padding: 0 0 10px; font-size: .85rem; }
.university-guide th, .university-guide td { text-align: left; vertical-align: top; border-bottom: 1px solid #ddd; padding: 10px 12px 10px 0; }
.university-guide thead { font: 600 11px/1.5 system-ui, sans-serif; text-transform: uppercase; color: #555; }
.university-guide tbody th { width: 31%; font-weight: normal; }
.award { border: 1px solid #d6dbd3; border-radius: 4px; margin: 12px 0; scroll-margin-top: 24px; background: #fff; }
.award > summary { padding: 17px 20px; }
.award > summary::marker { color: #42664c; }
.award-heading { font-weight: bold; font-size: 1.02rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0; }
.tag { display: inline-block; font: 11px/1.5 system-ui, sans-serif; padding: 3px 7px; border: 1px solid #d2d9cf; background: #fafbf9; color: #4b584e; border-radius: 3px; }
.tag.local { background: #eaf3e9; border-color: #b7cdb4; color: #285433; }
.tag.funding { color: #5b4b27; background: #faf7ee; border-color: #ded6bf; }
.award-preview { display: block; font-size: .9rem; color: #555; }
.award[open] > summary { border-bottom: 1px solid #d6dbd3; background: #f9faf7; }
.award:target { border-color: #53795b; box-shadow: 0 0 0 2px #e7eee5; }
.award-body { padding: 0 20px 18px; font-size: .92rem; }
.award-body dl { margin: 18px 0; }
.award-body dt { font-weight: bold; margin: 16px 0 3px; }
.award-body dd { margin: 0; }
.source-links { padding-top: 12px; border-top: 1px solid #e1e4dd; font-size: .86rem; overflow-wrap: anywhere; }
.review-date { margin-bottom: 8px; }
.permalink { font-size: .84rem; }
.back-top { text-align: right; margin: 16px 0 0; font-size: .82rem; }
.related-route { padding: 14px 16px; background: #f4f6f2; font-size: .92rem; margin-top: 20px; }
.empty-results { padding: 24px; border: 1px dashed #9aaa9c; }
.empty-results h3 { margin-top: 0; }
.section-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 2.4em; border-bottom: 1px solid var(--rule); padding-bottom: 8px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; padding: 0; border: 0; }
.outline-button { border: 1px solid #a7b0a8; color: #265a43; background: white; padding: 8px 12px; border-radius: 3px; cursor: pointer; font: 12px/1.5 system-ui, sans-serif; }
.document-checklist { border: 0; padding: 0; margin: 20px 0 0; }
.document-checklist legend { font-weight: bold; margin-bottom: 10px; }
.document-checklist label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e1e4dd; cursor: pointer; font-size: .95rem; }
.document-checklist input { accent-color: #265a43; width: 18px; height: 18px; margin: 5px 0 0; flex-shrink: 0; }
.document-checklist label:has(input:checked) span { color: #506357; }
.timeline { list-style: none; padding: 0 0 0 22px; border-left: 1px solid #b3c5b2; margin: 25px 0; }
.timeline li { position: relative; margin: 0 0 25px; font-size: .95rem; }
.timeline li::before { content: ''; position: absolute; width: 8px; height: 8px; background: #42664c; border-radius: 50%; top: 9px; left: -26.5px; }
.timeline p { margin: 7px 0 0; color: #555; }
.degree-advice { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; background: #f4f6f2; padding: 20px; margin-bottom: 20px; }
.degree-advice h3 { margin: 0 0 8px; }
.degree-advice p { font-size: .93rem; margin: 0; }
.faq { margin: 14px 0; border-bottom: 1px solid #ddd; padding-bottom: 14px; }
.faq summary { color: #265a43; font-weight: bold; font-size: .98rem; }
.faq p { font-size: .95rem; margin: 12px 0 0; }
@media (max-width: 700px) {
  .scholarship-page { gap: 26px; }
  .guide-nav { display: none; }
  .guide-hero h1 { font-size: 2.1rem; }
  .country-heading { flex-wrap: wrap; gap: 0 16px; margin-bottom: 12px; }
  .country-heading h3 { margin-bottom: 0; }
  .country-region { margin-top: 4px; }
  .filters { padding: 16px; }
  .award > summary { padding: 15px; }
  .award-body { padding-left: 15px; padding-right: 15px; }
  .degree-advice { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .filter-row { grid-template-columns: 1fr; }
  .filter-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { font-size: 11pt; color: #000; }
  .scholarship-page { display: block; max-width: none; margin: 0; padding: 0; }
  .scholarship-page .content { max-width: none; }
  .sidebar, .skip-link, .filters, .country-index, .back-top, button, .permalink, .checklist-footer { display: none !important; }
  .award, .university-guide, .faq { break-inside: avoid; }
  .award, .country, .faq { box-shadow: none; }
  .source-links a::after { content: ' (' attr(href) ')'; font-size: 8pt; overflow-wrap: anywhere; }
  .guide-stats { margin: 10px 0; }
  h2, h3, summary { break-after: avoid; }
}
