/* Document type pages and their country pages (tools/build-pages.py). */

.section__intro { color: var(--ev-muted); margin-top: -1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.section__more { margin-top: 1.5rem; color: var(--ev-muted); }

/* Credential tables: hairline rows, the credential's name in the display face, the U.S. result emphasized. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cred-table { width: 100%; min-width: 34rem; border-collapse: collapse; border-top: 1px solid var(--ev-ink); }
.cred-table th, .cred-table td { text-align: left; vertical-align: top; padding: 1rem 1.5rem 1rem 0.25rem; border-bottom: 1px solid var(--ev-rule); line-height: 1.5; }
.cred-table thead th { padding-block: 0.7rem; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--ev-muted); }
.cred-table tbody th { width: 34%; font-family: var(--ev-serif); font-weight: 500; font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.005em; color: var(--ev-ink); }
.cred-table tbody td { color: var(--ev-body); }
.cred-table tbody td:last-child { width: 30%; padding-right: 0.25rem; color: var(--ev-ink); font-weight: 500; }
.table-note { margin-top: 1rem; font-size: var(--wp--preset--font-size--small); color: var(--ev-muted); }

/* Points: short statements side by side under a full-width title, each under its own rule and the gold check of the logo. */
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.points li { border-top: 1px solid var(--ev-ink); padding-top: 1.25rem; color: var(--ev-ink); font-size: 1.0625rem; line-height: 1.55; }
.points li::before { content: ""; display: block; width: 1.6rem; height: 1.6rem; margin-bottom: 0.9rem; border: 2px solid var(--ev-seal); border-radius: 50%; background: no-repeat center / 0.8rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%23FBB304' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Upload: what to send, as a checklist on its own card beside the instructions. */
.upload { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.upload__intro h2 { margin-top: 0; }
.upload__intro p { color: var(--ev-body); }
.upload__card { background: var(--ev-mist); border-radius: 14px; padding: clamp(0.75rem, 2vw, 1.25rem) clamp(1.5rem, 3vw, 2.25rem); }
.upload__card .checklist { columns: auto; }
.upload__card .checklist li { padding-block: 0.95rem; border-bottom-color: rgba(20,33,61,.1); }
.upload__card .checklist li::before { top: 1.3rem; }
.upload__card .checklist li:last-child { border-bottom: 0; }

/* Facts: a paragraph of context beside two or three short facts, each in its own box. */
.facts { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.facts__main p { margin-top: 0; font-size: 1.0625rem; line-height: 1.7; }
.facts__side { display: grid; gap: 1.25rem; }
.fact { border: 1px solid var(--ev-rule); border-radius: 12px; padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.fact h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.fact p { margin: 0; color: var(--ev-muted); }

/* Topics: text in several parts under a full-width title. Each part has its own rule and heading. */
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: clamp(1.75rem, 3.5vw, 3rem); }
.topic { border-top: 1px solid var(--ev-ink); padding-top: 1.25rem; }
.topic h3 { margin: 0 0 0.75rem; font-size: 1.1875rem; line-height: 1.3; }
.topic p { margin: 0; color: var(--ev-body); line-height: 1.7; }

/* Aside: a short note that is a section of its own. The title on the left, the text on a card on the right. */
.aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.aside h2 { margin: 0; }
.aside__body { background: var(--ev-mist); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.aside__body p { margin: 0; font-size: 1.0625rem; line-height: 1.7; color: var(--ev-body); }
.aside__body p + p { margin-top: 1rem; }
@media (max-width: 781px) { .upload, .facts, .aside { grid-template-columns: 1fr; } }

/* The countries a document type has a page for. With none yet, the section does not show. */
.country-index { list-style: none; margin: 0; padding: 0; columns: 4 11rem; column-gap: 2rem; border-top: 1px solid var(--ev-ink); }
.country-index li { break-inside: avoid; border-bottom: 1px solid var(--ev-rule); }
.country-index a { display: block; padding: 0.7rem 0.25rem; text-decoration: none; font-weight: 500; color: var(--ev-ink); }
.country-index a:hover { color: var(--ev-navy); text-decoration: underline; text-decoration-color: var(--ev-seal); text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; }
.section--countries:not(:has(.country-index)) { display: none; }

/* Header: the Academic evaluations menu in two groups, by purpose and by document. */
.site-nav .nav-label > .wp-block-navigation-item__content { pointer-events: none; padding-bottom: 0.2rem !important; font-size: 0.75rem; font-weight: 600; color: var(--ev-muted) !important; }
@media (min-width: 1120px) {
	.site-nav .nav-two-col > .wp-block-navigation__submenu-container { display: grid; grid-template-columns: repeat(2, minmax(14.5rem, 1fr)); grid-auto-flow: row dense; column-gap: 0.5rem; }
	.site-nav .nav-two-col > .wp-block-navigation__submenu-container > .wp-block-navigation-item { grid-column: 1; }
	.site-nav .nav-two-col > .wp-block-navigation__submenu-container > .wp-block-navigation-item.nav-col-2 { grid-column: 2; }
}
