/* The directory, field notes and reading lists each have their own rhythm. */
:root {
  --paper: #faf9f4;
  --white: #fffefa;
  --ink: #173e35;
  --muted: #4e645b;
  --line: #d4ded4;
}
.atlas-hero {
  grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.75rem, 5vw, 5rem) 0;
}
.atlas-hero .eyebrow { letter-spacing:.15em; color:#476657; margin-bottom:1.4rem; }
.atlas-hero h1 { font: 500 clamp(3.5rem,5.5vw,5.5rem)/1 Georgia,serif; letter-spacing:-.055em; margin-bottom:1.35rem; }
.atlas-hero h1 em { color:#2f6752; font-weight:400; }
.atlas-hero .lead { font-size:1.03rem; line-height:1.65; max-width:41ch; }
.atlas-hero .search-form { background:white; box-shadow:0 3px 13px #2445390a; }
.atlas-hero .hero-links { font-size:.8rem; }
.campus-feature { margin:0; min-width:0; }
.campus-cover {
  display:grid; grid-template-rows:1fr auto; position:relative; min-height:0;
  height:clamp(335px, 33vw, 455px); isolation:isolate;
  border-radius:5px 38px 5px 5px; overflow:hidden; color:white; background:#26473c;
}
.campus-cover:hover { text-decoration:none; color:white; }
.campus-cover img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; }
.campus-cover:after { content:""; position:absolute; inset:26% 0 0; background:linear-gradient(transparent,#071b1373 66%,#071b13e8); z-index:0; pointer-events:none; }
.cover-caption { grid-row:2; color:white; position:relative; z-index:1; display:flex; gap:12px; justify-content:space-between; align-items:end; padding:clamp(1rem, 2.5vw, 2.1rem); }
.cover-caption small { display:block; font-size:.78rem; letter-spacing:.035em; margin-bottom:5px; }
.cover-caption strong { display:block; font:500 clamp(1.65rem, 2.6vw, 2.6rem)/1.08 Georgia,serif; }
.cover-arrow { display:grid; place-items:center; flex:none; width:40px; height:40px; border:1px solid #ffffffe8; border-radius:50%; font-size:1.15rem; }
.campus-cover:hover .cover-arrow { background:white; color:var(--ink); }
.catalogue-stats { grid-template-columns:repeat(4,minmax(0,1fr)); background:#19483c; color:#fff9e9; padding:1.45rem clamp(1rem,4vw,4rem); gap:1.5rem; border:0; border-radius:5px; }
.catalogue-stats>div+div { padding-left:clamp(1rem,3vw,3rem); border-left:1px solid #ffffff40; }
.catalogue-stats strong { font-size:clamp(1.85rem,3.4vw,3.05rem); }
.catalogue-stats span { color:#e3eee3; font-size:.78rem; }
.uni-card { border-radius:5px 16px 5px 5px; }
.uni-card-body { min-height:138px; padding:20px 21px 24px; }
.uni-card h3 { font:500 1.45rem/1.18 Georgia,serif; letter-spacing:-.025em; }
.uni-card .round-arrow { width:29px; height:29px; }
.campus-thumb { position:relative; overflow:hidden; aspect-ratio:1.98; background:#e3e9dc; }
.campus-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.campus-city { position:absolute; bottom:.65rem; left:.75rem; padding:.27rem .55rem; border-radius:3px; color:#173f32; background:#fffef6f2; font-size:.7rem; line-height:1.4; font-weight:650; }
.city-tile { background:repeating-linear-gradient(115deg, transparent 0 30px, #d6e4ce 31px 32px),#e8ede0; color:#294f3e; display:flex; flex-direction:column; padding:1.25rem; justify-content:end; min-height:100%; }
.city-tile strong { font:italic 2rem/1.12 Georgia,serif; }
.detail-visual>.city-tile { min-height:170px; }
.programme-thumb { width:58px; height:58px; flex:none; aspect-ratio:1; object-fit:cover; border-radius:5px; }
.collection-card { border-radius:5px; background:#eaf0f2; border:0; border-top:3px solid #658694; }
.collection-card:nth-child(4n+2), .collection-card:nth-child(4n+3) { background:#eff2f3; }
.collection-card>a:hover { background:#dee8eb; border-radius:0; }
.collection-card h3 { margin-top:0; }
.student-path { border-radius:5px; background:#f5eddf; border-color:#e6d7bd; }
.student-path:nth-child(2) { background:#e9eff0; border-color:#ccdadd; }
.guide-shelf { padding-bottom:2rem; }
.guide-card { border-top:3px solid #ad7952; padding-block:1rem; }
.guide-meta { gap:.5rem; margin-bottom:1.15rem; color:#755035; font-size:.73rem; }
.guide-card p { font-size:.94rem; line-height:1.6; }
.guide-card h3 { min-height:0; }
.guide-shelf .hero-community { margin-top:2rem; }
.photo-rights { padding:3rem 0; max-width:78ch; margin-inline:auto; }
.photo-rights ul { list-style:none; padding:0; }
.photo-rights li { border-bottom:1px solid var(--line); padding:.85rem 0; scroll-margin-top:5rem; font-size:.92rem; }
.photo-rights li span { display:block; margin-top:.35rem; overflow-wrap:anywhere; }
.photo-rights a { text-decoration:underline; text-underline-offset:3px; }
@media(max-width:820px) {
  .atlas-hero { gap:1.5rem; }
  .atlas-hero h1 { font-size:clamp(3rem,6.4vw,4.25rem); }
  .campus-cover { height:350px; }
}
@media(max-width:660px) {
  .atlas-hero { grid-template-columns:minmax(0,1fr); gap:1.4rem; padding:1.85rem 0 1.25rem; }
  .atlas-hero .eyebrow { margin-bottom:1rem; }
  .atlas-hero h1 { font-size:clamp(3.2rem,12.5vw,4.15rem); margin-bottom:1rem; }
  .atlas-hero .lead { font-size:1rem; margin-bottom:1rem; }
  .atlas-hero .hero-links { margin-top:10px; gap:1.15rem; }
  .campus-cover { height:clamp(190px,60vw,290px); border-top-right-radius:24px; }
  .cover-arrow { width:32px; height:32px; }
  .catalogue-stats { grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:1rem; }
  .catalogue-stats>div+div { border:0; padding-left:0; }
  .catalogue-stats>div:nth-child(even) { border-left:1px solid #ffffff40; padding-left:1.2rem; }
  .catalogue-stats strong { font-size:1.85rem; }
  .catalogue-stats span { font-size:.73rem; }
  .uni-card-body { min-height:0; padding:1rem 1.15rem; }
  .programme-thumb { width:43px; height:49px; }
  .collection-card h3 { margin-top:0; }
}
@media(print) {
  .campus-feature, .campus-thumb, .programme-thumb, .detail-visual { display:none; }
  .catalogue-stats { background:white; color:black; }
}
.collection-card { overflow:hidden; }
.collection-card>a { display:grid; grid-template-columns:minmax(0,1fr) minmax(92px,.44fr); grid-template-rows:auto 1fr auto; column-gap:1.15rem; padding:1.35rem; }
.collection-card h3, .collection-card p, .collection-card .collection-count { grid-column:1; }
.collection-card h3 { grid-row:1; font-size:clamp(1.25rem,1.9vw,1.75rem); margin:0 0 .75rem; }
.collection-card p { grid-row:2; margin-bottom:.85rem; }
.collection-card .collection-count { grid-row:3; }
.collection-card .round-arrow { display:none; }
.selection-photo { grid-column:2; grid-row:1/4; width:100%; height:100%; min-height:112px; max-height:205px; object-fit:cover; border-radius:3px; }
@media(max-width:660px) {
  .collection-card>a { grid-template-columns:minmax(0,1fr) 83px; column-gap:.85rem; padding:1rem; }
  .collection-card h3 { margin-top:0; max-width:100%; }
  .selection-photo { max-height:155px; align-self:start; }
}
/* A conversation invitation alongside the catalogue and the reading guides. */
.community.forum-invite {
  display:grid; grid-template-columns:auto minmax(0,1fr); gap:clamp(1rem,3vw,3rem);
  align-items:center; padding:clamp(1.4rem,4vw,3rem);
  background:#eaf0e7; border:1px solid #ccd8c9; border-radius:5px 28px 5px 5px;
}
.community.forum-invite h2 { margin:.4rem 0 .65rem; }
.community.forum-invite p { max-width:64ch; margin:0; }
.forum-invite-links { display:flex; gap:1.15rem; align-items:center; flex-wrap:wrap; margin-top:1.2rem; }
.forum-talk-icon { position:relative; width:4.6rem; height:4.6rem; }
.forum-talk-icon i,.forum-talk-icon b { position:absolute; height:2rem; width:2.9rem; border-radius:1.2rem 1.2rem 0 1.2rem; background:#b4905e; top:1.75rem; left:1.2rem; }
.forum-talk-icon i { z-index:1; top:.45rem; left:.15rem; background:#244f40; border-radius:1.2rem 1.2rem 1.2rem 0; box-shadow:0 0 0 3px #eaf0e7; }
@media(max-width:660px) {
  .community.forum-invite { grid-template-columns:1fr; gap:.4rem; }
  .forum-talk-icon { display:none; }
}
