/*
 * What the CMS needs beyond the design's stylesheet (gcce.css, the design's styles.css unchanged
 * apart from the font addresses): pages other than the home page, written in the editor, lists,
 * search, the password form and the footer menu, in the design's type, colours and lines.
 */

/* Pages without the opening photograph: the header is a slate band of its own (its fade would
   otherwise fall over the page heading). */
.no-hero .site-header{position:relative;padding-bottom:0;background:linear-gradient(180deg,rgba(17,23,25,.82),rgba(17,23,25,.6))}

/* The page heading uses the design's grey introduction band. */
.page-heading .eyebrow{margin-bottom:12px}
.page-heading h1{max-width:900px;margin-inline:auto}

/* Text written in the editor, in the reading column. */
.page-body{background:#fff}
.page-date{margin-bottom:28px;text-align:center}
.page-photo{max-width:1000px;margin:0 auto 56px}
.page-photo img{width:100%;height:auto}
.page-photo figcaption{margin-top:10px;font-size:11px;color:var(--muted)}
.prose{max-width:720px;margin-inline:auto;font-size:15px;line-height:1.9;color:var(--ink)}
.prose-wide{max-width:none}
.prose>*+*{margin-top:1.15em}
.prose h2{font-size:clamp(24px,2.2vw,32px);line-height:1.35;margin-top:2em}
.prose h3{font-size:21px;margin-top:1.8em}
.prose h4{font-size:15px;font-weight:700;margin:1.6em 0 0}
.prose h2+*,.prose h3+*,.prose h4+*{margin-top:.7em}
.prose a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.prose a:hover{color:#666e70}
.prose ul,.prose ol{padding-left:1.3em}
.prose li+li{margin-top:.4em}
.prose blockquote{margin-inline:0;padding-left:24px;border-left:1px solid #aeb5b2;font-size:19px;line-height:1.7}
.prose img{height:auto}
.prose figure{margin-inline:0}
.prose figcaption{margin-top:10px;font-size:11px;color:var(--muted)}
.prose hr{border:0;border-top:1px solid var(--line);margin-block:2.4em}
.prose table{width:100%;border-collapse:collapse;font-size:13px}
.prose th,.prose td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line)}
.prose pre{overflow:auto;padding:16px;background:var(--paper);font-size:13px}

/* Lists (archives, search) in the contact columns' look. */
.item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:54px}
.item-card{border-top:1px solid #b8bfbc;padding-top:26px;display:flex;flex-direction:column;align-items:stretch;color:var(--company)}
.item-card .activity-role{min-height:14px}
.item-card h3 a{text-decoration:none}
.item-card h3 a:hover{color:#666e70}
.item-card>p:not(.activity-role){font-size:13px;line-height:1.9;color:var(--muted);margin-top:12px}
.item-card .text-link{margin-top:auto;padding-top:22px}
.item-card .arrow-out{width:16px;height:16px}
.list-empty{text-align:center;color:var(--muted)}
.pager{display:flex;justify-content:space-between;gap:20px;margin-top:56px;font-size:13px}
.pager a{text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:6px}
@media(max-width:980px){.item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}}
@media(max-width:600px){.item-grid{grid-template-columns:1fr}}

/* Search and password forms. */
.site-search{max-width:620px;margin:0 auto 56px}
.site-search label{display:block;font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.site-search-row{display:flex;gap:12px}
.site-search input{flex:1;min-width:0;padding:12px 16px;border:1px solid #aeb5b2;border-radius:0;background:#fff;color:var(--ink);font:inherit;font-size:14px}
.site-search button{padding:12px 22px;border:1px solid var(--company);background:var(--company);color:#fff;font-size:13px;cursor:pointer}
.site-search button:hover{background:#1d3866}
.form-error{max-width:620px;margin:-40px auto 40px;font-size:13px;color:#8a2a1c}
.not-found-link{max-width:420px;margin-inline:auto}

/* Notices, regions and the footer menu. */
.notice{margin:0;padding:12px 20px;background:var(--company);color:#fff;font-size:13px;text-align:center}
.region-sidebar{padding-block:20px 60px}
.region-footer{padding-bottom:24px;font-size:12px}
.footer-links{display:flex;flex-wrap:wrap;gap:8px 22px}
.footer-links a{text-decoration:none}
.footer-links a:hover{text-decoration:underline;text-underline-offset:4px}

/* Links under a top menu item, in the open menu. */
.navigation .nav-sub{padding-left:16px;font-size:14px}
