@import url('https://fonts.cdnfonts.com/css/bahnschrift');

/* Proportions, fonts and colours transcribed from the current portfolio.
   Cloudinary URLs and the existing content API are retained. */
body {
  font-family: Bahnschrift, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  text-align: center;
  color: rgba(0,0,0,.4);
  background: #fff;
}
a { text-decoration: none; color: rgba(0,0,0,.4); }
a:hover, a:focus, a:active { color: rgba(0,0,0,.8); }
a[aria-current="page"] { color: rgba(0,0,0,.8); cursor: default; }
.archTitle {
  font-weight:400; height:10vh; margin-top:5vh; max-width:100%;
  padding-top:5vh; text-transform:uppercase;
}
.archTitle a { color:rgba(0,0,0,.7); font-size:1em; letter-spacing:.06em; }
.archTitle img { max-width:100%; width:280px; }
.introTitle {
  font-weight:400; height:10vh; left:50%; margin:0; position:absolute;
  text-transform:uppercase; top:50%; transform:translate(-50%,-50%);
}
.introTitle a { color:rgba(0,0,0,.7); font-size:1.5em; letter-spacing:.06em; }
.introTitle img { width:420px; max-width:85vw; }
nav {
  color:rgba(0,0,0,.4); height:5vh; list-style-type:none; margin:auto;
  overflow:hidden; padding:0; text-transform:lowercase; width:80vw;
}
nav a { border-left:2px solid rgba(0,0,0,.4); padding:0 30px; }
nav a:first-child { border-left:none; }

/* Image and caption fade together: 75 ms out, immediately followed by 75 ms in. */
.carousel {
  margin:auto; overflow:hidden; padding:0; position:relative; width:90%; height:70vh;
}
.carousel ul { margin:0; padding:0; list-style:none; }
.slide {
  border:none; height:100%; width:100%; margin-bottom:1em;
  position:absolute; top:0; left:0; z-index:200;
}
.slide[hidden] { display:none !important; }
.slide.current { display:block; z-index:500; }
.slide img {
  display:block; height:85%; margin-left:auto; margin-right:auto;
  object-fit:scale-down; object-position:center; top:-5%; width:100%;
}
.slide .copy {
  color:rgba(0,0,0,.25); font-family:"Times New Roman",Times,serif;
  font-size:.8em; height:15%; margin:auto; padding-top:1%; width:70%;
}
.slide .copy, .slide h4 { display:block; text-align:center; }
.slide h4 { margin:0; padding:.25em; }
.slide p { bottom:0; clear:both; margin:0; padding:5px; display:block; text-align:center; }
.btn-prev, .btn-next {
  background:transparent; border:0; line-height:1; opacity:.5; outline:0;
  padding:10px 5px; position:absolute; top:0; width:50%; height:100%;
  z-index:700; -webkit-tap-highlight-color:transparent; cursor:pointer;
}
.btn-prev:hover, .btn-next:hover { opacity:.4; }
.btn-prev:focus-visible, .btn-next:focus-visible { outline:1px solid #aaa; outline-offset:-2px; }
.btn-prev { left:5%; transform:rotate(180deg); }
.btn-next { right:5%; }
.btn-prev img { display:block; margin-bottom:60vh; margin-left:37vw; }
.btn-next img { display:block; margin-left:38vw; margin-top:60vh; }
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
address {
  float:left; font-style:normal; height:70vh; margin-left:-148px;
  max-width:100%; padding-left:50vw; text-align:left;
}
address img { max-width:100%; width:150px; }
.news-page { min-height:70vh; }
.news-list { width:min(680px,84vw); margin:0 auto 4rem; text-align:left; }
.news-page > h2 { margin:0 auto 3rem; font-size:1rem; font-weight:400; }
.news-entry { margin-bottom:4rem; }
.news-entry time { font-family:Bahnschrift,Arial,sans-serif; font-size:.875rem; }
.news-entry h3 { font-size:1rem; font-weight:400; margin:1rem 0; }
.news-entry .news-text {
  font-family:"Times New Roman",Times,serif; font-size:1rem;
  line-height:1.5; white-space:pre-wrap;
}
.news-entry figure { margin:1.5rem 0 0; }
.news-entry img { display:block; max-width:100%; height:auto; margin:auto; }
.news-entry figcaption {
  font-family:"Times New Roman",Times,serif; font-size:.8rem; margin-top:.5rem; color:rgba(0,0,0,.4);
}
.news-empty { font-family:"Times New Roman",Times,serif; font-size:1rem; margin-top:4rem; }
.example-note { font-size:.875rem; margin:0 0 3rem; }
.test-page { max-width:680px; margin:8vh auto; padding:0 1.5rem; text-align:left; line-height:1.6; }
.test-page h1 { font-size:1.25rem; font-weight:400; }
.test-page a { text-decoration:underline; }
.test-page li { margin-bottom:1rem; }
@media (max-width:1024px) {
  .introTitle img { width:275px; }
  .carousel { width:100%; }
  .slide { top:-6%; }
  .slide img {
    height:auto; left:50%; max-height:80%; max-width:90%; position:absolute;
    top:50%; transform:translate(-50%,-55%); width:auto;
  }
  .slide .copy { bottom:1vh; min-height:5vh; height:auto; padding:0 0 0 5vw; position:absolute; width:87vw; }
  .btn-prev,.btn-next { opacity:.2; }
  .btn-next img { position:absolute; margin:0; right:1rem; bottom:13vh; }
  .btn-prev img { position:absolute; margin:0; right:1rem; top:13vh; }
  .btn-prev { left:0; }
  .btn-next { right:0; }
  nav { min-height:2rem; height:auto; padding-bottom:1rem; }
  .news-list { width:84vw; }
}
@media (max-width:360px) {
  nav a { padding:0 24px; }
  address { float:none; margin:0 auto; padding:0; width:80vw; height:auto; min-height:70vh; }
}
@media (max-height:500px) and (orientation:landscape) {
  .carousel { min-height:360px; }
  .archTitle { min-height:40px; }
  .slide .copy { bottom:0; }
}

.managed-theme body {background:var(--bt-background);color:var(--bt-ink);font-family:var(--bt-ui),Arial,sans-serif}
.managed-theme nav,.managed-theme a {color:var(--bt-ink)}
.managed-theme a:hover,.managed-theme a:focus-visible {text-decoration:underline}
.managed-theme .slide .copy,.managed-theme .news-entry figcaption {color:var(--bt-caption)}
.managed-theme .slide .copy,.managed-theme .news-text,.managed-theme .news-entry figcaption,.managed-theme .news-empty {font-family:var(--bt-editorial),serif}
.managed-theme .news-entry time {font-family:var(--bt-ui),sans-serif}
