/*
Theme Name: Bay Islands Magazine
Description: Editorial theme for Bay Islands Magazine, with a configurable homepage feature, island and topic archives, and article reading tools.
Author: Bay Islands Magazine
Version: 1.1.1
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bay-islands-magazine
*/
:root {
  --ink: #173b3c;
  --teal: #123f40;
  --gold: #ad7b3d;
  --paper: #f8f6f0;
  --white: #fffefb;
  --line: #dcded3;
  --muted: #5f706b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button {
  background: none;
}
a,
button,
input,
select {
  touch-action: manipulation;
}
a:hover {
  color: var(--gold);
}
button:hover {
  color: var(--gold);
}
:focus-visible {
  outline: 3px solid #b4772a;
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
}
p {
  margin-bottom: 1.2em;
}
.wrap {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 999;
  background: var(--teal);
  color: white;
  padding: 15px;
}
.skip:focus {
  top: 5px;
}
.topline {
  background: var(--teal);
  color: #e8e8d8;
  font-size: 10px;
  letter-spacing: 2px;
}
.topline .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
}
.topline i {
  font-style: normal;
  color: #d9b779;
  padding-inline: 8px;
}
.private-label {
  letter-spacing: 1.5px;
  font-size: 9px;
}
.private-label span {
  color: #d9b779;
  margin-right: 6px;
}
.site-header {
  position: sticky;
  top: -32px;
  z-index: 20;
  background: var(--paper);
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 112px;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}
.brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 50%;
}
.wordmark {
  font-family: var(--serif);
  font-size: 39px;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 13px;
  letter-spacing: -1.4px;
}
.magazine {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 2.1px;
}
.brandline {
  display: block;
  font-size: 9px;
  letter-spacing: 2.9px;
  margin-top: 10px;
}
.brandline i {
  color: var(--gold);
  font-style: normal;
  margin-inline: 5px;
}
.masthead-note {
  font-size: 12px;
  line-height: 1.5;
  border-left: 1px solid var(--line);
  padding-left: 30px;
  margin-right: auto;
  margin-left: 30px;
}
.masthead-note em {
  font-family: var(--serif);
  font-size: 18px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.icon-button {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  position: relative;
  padding: 10px;
  border-radius: 50%;
}
.icon-button:hover {
  background: #eaece3;
}
.icon {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.saved-count {
  position: absolute;
  right: 0;
  top: 0;
  background: var(--teal);
  color: white;
  min-width: 17px;
  height: 17px;
  line-height: 17px;
  font-size: 10px;
  border-radius: 20px;
}
.menu-button {
  display: none;
}
.navline {
  border-block: 1px solid var(--line);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
  font-size: 12px;
}
.nav-primary {
  display: flex;
  gap: 31px;
  align-items: center;
}
nav a {
  padding-block: 15px;
  position: relative;
}
nav a[aria-current="page"]:after {
  content: "";
  height: 2px;
  background: var(--gold);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.nav-divider {
  height: 16px;
  width: 1px;
  background: var(--line);
}
.about-nav {
  font-size: 11px;
  color: var(--muted);
}
.about-nav span {
  margin-left: 8px;
}
main {
  min-height: 50vh;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--gold);
}
.home-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 29px 24px;
}
.home-intro p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.home-intro .eyebrow {
  color: var(--ink);
  font-weight: 400;
}
.feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 475px;
  background: #e9ede3;
}
.feature-image {
  overflow: hidden;
  position: relative;
  min-height: 475px;
}
.feature-image img {
  height: 100%;
  width: 100%;
  position: absolute;
  transition: transform 0.65s;
}
.feature-image:hover img {
  transform: scale(1.025);
}
.image-corner {
  position: absolute;
  bottom: 24px;
  left: 27px;
  color: white;
  font-size: 10px;
  letter-spacing: 2px;
  background: #123f40cc;
  padding: 7px 12px;
}
.feature-copy {
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-copy .eyebrow {
  margin-bottom: 20px;
}
.feature-copy h1 {
  font-size: 48px;
  letter-spacing: -1.8px;
  margin-bottom: 22px;
  max-width: 450px;
}
.feature-copy p {
  font-size: 14px;
  color: #52665d;
  line-height: 1.75;
  max-width: 350px;
}
.byline {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.byline .dot {
  color: #a6afa3;
}
.text-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
.feature-copy .text-link {
  margin-top: 25px;
  align-self: flex-start;
  border-bottom: 1px solid #9fada0;
  padding-bottom: 7px;
}
.text-link span {
  font-size: 20px;
  line-height: 1;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
}
.section-head h2 {
  font-size: 35px;
  letter-spacing: -1px;
  margin: 5px 0 0;
}
.latest {
  margin-block: 65px;
}
.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 42px;
}
.filter-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 7px 13px;
  font-size: 11px;
  min-height: 36px;
}
.chip.active,
.chip[aria-pressed="true"] {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 25px;
}
.card {
  position: relative;
  min-width: 0;
}
.card-image {
  display: block;
  overflow: hidden;
  background: #e4e9df;
  aspect-ratio: 1.6;
  margin-bottom: 17px;
}
.card-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s;
}
.card-image:hover img {
  transform: scale(1.035);
}
.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 9px;
}
.card .eyebrow {
  font-size: 9px;
  letter-spacing: 1.4px;
}
.island-label {
  font-size: 9px;
  color: var(--muted);
}
.card h3 {
  font-size: 25px;
  letter-spacing: -0.6px;
  margin-bottom: 11px;
}
.card p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 16px;
}
.card .byline {
  font-size: 9px;
  padding-right: 30px;
}
.card-save {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 36px;
  height: 36px;
}
.card-save .icon {
  width: 17px;
}
.save-article[aria-pressed="true"] .icon {
  fill: var(--gold);
  stroke: var(--gold);
}
.sidebar {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.sidebar h2 {
  font-family: var(--serif);
  font-size: 27px;
  margin-bottom: 15px;
}
.side-note {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.side-note p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}
.signature {
  font-size: 10px;
  line-height: 1.7;
}
.signature strong {
  font-weight: 600;
}
.archive-item {
  display: flex;
  gap: 15px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.archive-item > span {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 25px;
}
.archive-item h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 7px;
}
.archive-item small {
  font-size: 9px;
  color: var(--muted);
}
.archive-title {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.browse-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 38px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 44px;
  background: var(--teal);
  color: #fff;
  border: 1px solid var(--teal);
  font-size: 12px;
  padding: 12px 22px;
}
.button:hover {
  background: #245454;
  color: white;
}
.button.outline {
  background: transparent;
  color: var(--teal);
}
.button.outline:hover {
  background: #e9ede3;
}
.island-section {
  border-top: 1px solid var(--line);
  padding-block: 52px 60px;
}
.island-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.island-tile {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: var(--teal);
}
.island-tile img {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  transition: transform 0.5s;
}
.island-tile:hover img {
  transform: scale(1.03);
}
.island-tile:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #123f40e0, transparent 85%);
}
.island-tile > div {
  position: absolute;
  z-index: 1;
  bottom: 23px;
  left: 25px;
  right: 25px;
  color: white;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.island-tile h3 {
  font-size: 35px;
  margin: 0 0 5px;
}
.island-tile small {
  font-size: 10px;
  letter-spacing: 0.3px;
}
.island-tile .arrow {
  font-size: 26px;
}
.mission {
  background: #e7ebdf;
  text-align: center;
  padding: 54px 20px 60px;
}
.mission h2 {
  font-size: 35px;
  margin: 13px 0 18px;
}
.mission p {
  max-width: 570px;
  margin: 0 auto 25px;
  color: #52665d;
  font-size: 14px;
}
.page-heading {
  padding-block: 48px 28px;
}
.page-heading h1 {
  font-size: 55px;
  letter-spacing: -2px;
  margin: 12px 0 15px;
}
.page-heading > p {
  max-width: 650px;
  color: var(--muted);
  font-size: 15px;
}
.explorer {
  margin-bottom: 65px;
}
.searchbox {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #b9c4b8;
  background: var(--white);
  padding: 0 16px;
  min-height: 48px;
}
.searchbox input {
  border: 0;
  outline: none;
  background: none;
  color: var(--ink);
  width: 100%;
  min-width: 0;
  font-size: 14px;
  padding: 13px 0;
}
.searchbox:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.searchbox .icon {
  width: 19px;
}
.explorer-controls {
  display: grid;
  grid-template-columns: 1fr 190px 165px;
  gap: 15px;
  margin-bottom: 22px;
}
.select-wrap label {
  display: block;
  font-size: 10px;
  margin-bottom: 5px;
  color: var(--muted);
}
.select-wrap select {
  width: 100%;
  height: 48px;
  border: 1px solid #b9c4b8;
  border-radius: 0;
  background: var(--white);
  padding-inline: 12px;
  color: var(--ink);
  font-size: 12px;
}
.explorer-search label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
.results-bar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 28px;
}
.results-bar p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}
.quiet-button {
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 11px;
  padding: 6px 0;
}
.explorer .cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 25px;
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 55px 20px;
  background: #eaece3;
}
.empty h2 {
  font-size: 30px;
}
.empty p {
  font-size: 14px;
  color: var(--muted);
}
.breadcrumbs {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  padding-top: 30px;
  margin-bottom: 25px;
}
.article-head {
  max-width: 850px;
  margin: 0 auto 30px;
  text-align: center;
}
.article-head h1 {
  font-size: 55px;
  letter-spacing: -1.8px;
  margin: 16px 0 20px;
}
.article-head .deck {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 25px;
}
.article-head .byline {
  justify-content: center;
  font-size: 11px;
}
.article-hero {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 2.1;
  object-fit: cover;
  background: #e4e9df;
}
.photo-credit {
  font-size: 9px;
  color: var(--muted);
  margin: 8px 0 0;
}
.reading-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 700px) 1fr;
  gap: 40px;
  margin-top: 40px;
}
.article-tools {
  position: sticky;
  top: 155px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.tool-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  font-size: 11px;
  text-align: left;
}
.tool-button .icon {
  width: 17px;
}
.article-tools .eyebrow {
  color: var(--muted);
  font-size: 9px;
}
.font-controls {
  display: flex;
  gap: 7px;
}
.font-controls button {
  border: 1px solid var(--line);
  width: 37px;
  height: 37px;
}
.font-controls button:last-child {
  font-size: 19px;
}
.article-body {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.85;
  min-width: 0;
}
.article-body.large-type {
  font-size: 23px;
}
.article-body p {
  margin-bottom: 1.5em;
}
.article-body > p:first-child:first-letter {
  float: left;
  font-size: 64px;
  line-height: 0.8;
  margin: 10px 9px 0 0;
  color: var(--gold);
}
.article-body h2,
.article-body h3,
.article-body h4 {
  font-size: 29px;
  line-height: 1.3;
  margin: 35px 0 18px;
  font-family: var(--serif);
  font-weight: 400;
}
.article-body a {
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.article-body ul,
.article-body ol {
  padding-left: 25px;
}
.article-body li {
  margin-bottom: 10px;
}
.article-body blockquote {
  border-left: 2px solid var(--gold);
  padding: 10px 25px;
  margin: 30px 0;
  font-size: 24px;
  font-style: italic;
}
.article-body figure {
  margin: 30px 0;
}
.article-body figure img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #edece6;
}
.article-body figcaption {
  font-family: var(--sans);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  margin-top: 10px;
}
.source-note {
  font-family: var(--sans);
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.7;
  margin-top: 35px;
  padding-top: 20px;
  color: var(--muted);
}
.article-end {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.related {
  margin-block: 65px;
}
.related .cards {
  grid-template-columns: repeat(3, 1fr);
}
#reading-progress {
  height: 3px;
  background: var(--gold);
  width: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  padding-bottom: 70px;
}
.about-layout p {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.8;
}
.about-layout img {
  aspect-ratio: 1.1;
  width: 100%;
  object-fit: contain;
  background: #e9ecdf;
}
.about-layout h2 {
  font-size: 30px;
  margin-top: 30px;
}
.contact-box {
  padding: 24px;
  background: #e9ecdf;
  margin-top: 30px;
}
.contact-box p {
  font: 14px/1.7 var(--sans);
  margin-bottom: 12px;
}
.contact-box a {
  font-size: 13px;
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.site-footer {
  background: var(--teal);
  color: #e8ebdf;
  padding-top: 46px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 35px;
  padding-bottom: 40px;
}
.footer-wordmark {
  font-family: var(--serif);
  font-size: 27px;
  display: block;
  line-height: 1.2;
  margin-bottom: 17px;
}
.footer-wordmark em {
  font-size: 18px;
  font-weight: 400;
}
.footer-top p {
  font-size: 11px;
  line-height: 1.8;
  color: #b5c9bd;
}
.footer-top h2 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #d0b47e;
  margin: 5px 0 17px;
}
.footer-top > div > a:not(.footer-wordmark) {
  display: block;
  font-size: 11px;
  margin: 8px 0;
  color: #d3dfd4;
}
.footer-top a:hover {
  color: #dfbc7e;
}
.footer-bottom {
  border-top: 1px solid #ffffff25;
  padding-block: 20px;
  font-size: 9px;
  display: flex;
  justify-content: space-between;
  color: #adc2b6;
}
dialog {
  width: min(670px, calc(100% - 32px));
  max-height: calc(100vh - 60px);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 28px 35px;
  color: var(--ink);
  box-shadow: 0 25px 90px #001c2c44;
}
dialog::backdrop {
  background: #102c32b3;
  backdrop-filter: blur(4px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
dialog h2 {
  font-size: 33px;
  margin-bottom: 25px;
}
.muted {
  font-size: 11px;
  color: var(--muted);
}
#search-status {
  margin-block: 18px 10px;
}
.search-result {
  display: flex;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-block: 15px;
  align-items: center;
}
.search-result img {
  width: 65px;
  height: 58px;
}
.search-result h3 {
  font-size: 19px;
  margin: 0 0 5px;
}
.search-result small {
  font-size: 9px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--teal);
  color: white;
  padding: 12px 24px;
  font-size: 12px;
  box-shadow: 0 5px 20px #0002;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: calc(100% - 32px);
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.loading {
  padding-block: 60px;
}
.error-box {
  padding: 50px 0;
}
.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;
}
@media (min-width: 1500px) {
  .feature {
    min-height: 510px;
  }
  .feature-image {
    min-height: 510px;
  }
  .feature-copy h1 {
    font-size: 54px;
  }
}
@media (max-width: 1080px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .wordmark {
    font-size: 32px;
  }
  .magazine {
    display: none;
  }
  .masthead-note {
    margin-left: 5px;
    padding-left: 20px;
  }
  .nav-primary {
    gap: 23px;
  }
  .feature-copy {
    padding: 35px 30px;
  }
  .feature-copy h1 {
    font-size: 42px;
  }
  .editorial-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 28px;
  }
  .sidebar {
    padding-left: 24px;
  }
  .reading-layout {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 30px;
  }
  .reading-layout > div:last-child:empty {
    display: none;
  }
  .footer-top {
    gap: 25px;
  }
  .card h3 {
    font-size: 23px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 115px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    top: -29px;
  }
  .topline .wrap {
    min-height: 29px;
  }
  .topline {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .topline i {
    padding-inline: 4px;
  }
  .private-label {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .masthead {
    height: 84px;
    gap: 8px;
  }
  .brand {
    gap: 9px;
    min-width: 0;
  }
  .brand img {
    width: 52px;
    height: 52px;
  }
  .wordmark {
    font-size: 27px;
    letter-spacing: -1px;
    display: block;
  }
  .magazine {
    display: block;
    letter-spacing: 4.4px;
    font-size: 8px;
    margin-top: 5px;
    margin-left: 2px;
  }
  .brandline {
    display: none;
  }
  .masthead-note {
    display: none;
  }
  .header-actions {
    gap: 0;
  }
  .icon-button {
    width: 35px;
    height: 40px;
    padding: 8px;
  }
  .icon {
    width: 20px;
    height: 20px;
  }
  .saved-nav {
    display: none;
  }
  .menu-button {
    display: inline-flex;
  }
  .navline {
    border-bottom: 1px solid var(--line);
    border-top: 0;
  }
  .navline nav {
    display: none;
    min-height: 0;
    padding-bottom: 20px;
  }
  .navline nav.open {
    display: block;
  }
  .nav-primary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
  }
  .nav-primary a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .nav-divider {
    display: none;
  }
  .about-nav {
    display: block;
    padding: 15px 0 0;
  }
  .home-intro {
    padding-block: 22px 18px;
  }
  .home-intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.7px;
  }
  .home-intro p {
    display: none;
  }
  .feature {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .feature-image {
    min-height: 0;
    aspect-ratio: 1.4;
  }
  .feature-copy {
    padding: 28px 25px 32px;
  }
  .feature-copy .eyebrow {
    margin-bottom: 13px;
    font-size: 9px;
  }
  .feature-copy h1 {
    font-size: 39px;
    letter-spacing: -1.6px;
    margin-bottom: 16px;
    max-width: 430px;
  }
  .feature-copy p {
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 18px;
  }
  .feature-copy .text-link {
    margin-top: 20px;
  }
  .feature-copy .byline {
    font-size: 9px;
  }
  .image-corner {
    bottom: 15px;
    left: 17px;
    font-size: 8px;
  }
  .latest {
    margin-block: 43px;
  }
  .section-head {
    margin-bottom: 21px;
    align-items: center;
  }
  .section-head h2 {
    font-size: 29px;
    letter-spacing: -0.8px;
  }
  .section-head .text-link {
    font-size: 10px;
    gap: 6px;
  }
  .section-head .eyebrow {
    font-size: 8px;
    letter-spacing: 1.7px;
  }
  .editorial-layout {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .filter-line {
    gap: 7px;
    margin-bottom: 24px;
  }
  .chip {
    font-size: 10px;
    padding: 7px 12px;
    min-height: 35px;
  }
  .cards {
    gap: 30px 17px;
  }
  .card-image {
    aspect-ratio: 1.3;
    margin-bottom: 13px;
  }
  .card-topline {
    display: block;
    margin-bottom: 7px;
  }
  .card .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .island-label {
    font-size: 8px;
    display: block;
    margin-top: 4px;
  }
  .card h3 {
    font-size: 20px;
    letter-spacing: -0.5px;
    line-height: 1.15;
  }
  .card p {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card .byline {
    display: block;
    font-size: 8px;
    line-height: 1.7;
  }
  .card .byline .dot {
    display: none;
  }
  .card .byline > span {
    display: block;
  }
  .card-save {
    bottom: -3px;
    right: -8px;
  }
  .island-section {
    padding-block: 36px 40px;
  }
  .island-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .island-tile {
    min-height: 160px;
  }
  .island-tile img {
    object-position: center 45%;
  }
  .island-tile > div {
    bottom: 20px;
    left: 23px;
    right: 23px;
  }
  .island-tile h3 {
    font-size: 32px;
  }
  .mission {
    padding: 38px 20px 43px;
  }
  .mission h2 {
    font-size: 29px;
  }
  .mission p {
    font-size: 13px;
  }
  .page-heading {
    padding-block: 31px 22px;
  }
  .page-heading h1 {
    font-size: 42px;
    letter-spacing: -1.7px;
  }
  .page-heading > p {
    font-size: 13px;
  }
  .explorer {
    margin-bottom: 42px;
  }
  .explorer-controls {
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
  }
  .explorer-search {
    grid-column: 1/-1;
  }
  .explorer .cards {
    grid-template-columns: 1fr 1fr;
    gap: 30px 17px;
  }
  .results-bar {
    padding-bottom: 14px;
    margin-bottom: 23px;
  }
  .results-bar p {
    font-size: 10px;
  }
  .quiet-button {
    font-size: 10px;
  }
  .breadcrumbs {
    padding-top: 20px;
    margin-bottom: 25px;
    font-size: 9px;
  }
  .article-head {
    text-align: left;
    margin-bottom: 25px;
  }
  .article-head h1 {
    font-size: 39px;
    letter-spacing: -1.3px;
    line-height: 1.1;
  }
  .article-head .deck {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
  }
  .article-head .byline {
    justify-content: start;
    font-size: 10px;
  }
  .article-hero {
    aspect-ratio: 1.4;
    max-height: 390px;
  }
  .photo-credit {
    font-size: 8px;
  }
  .reading-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 23px;
  }
  .article-tools {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-block: 1px solid var(--line);
    padding: 10px 0;
    gap: 10px;
  }
  .article-tools > .eyebrow {
    display: none;
  }
  .tool-button {
    font-size: 10px;
    gap: 7px;
  }
  .font-controls button {
    width: 31px;
    height: 31px;
  }
  .article-body {
    font-size: 18px;
    line-height: 1.85;
  }
  .article-body.large-type {
    font-size: 22px;
  }
  .article-body h2,
  .article-body h3,
  .article-body h4 {
    font-size: 26px;
  }
  .article-body > p:first-child:first-letter {
    font-size: 57px;
  }
  .related {
    margin-block: 45px;
  }
  .related .cards {
    grid-template-columns: 1fr 1fr;
  }
  .related .card:nth-child(3) {
    display: none;
  }
  .about-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 45px;
  }
  .about-layout p {
    font-size: 18px;
  }
  .about-layout > div:last-child {
    order: -1;
  }
  .about-layout img {
    max-height: 280px;
    aspect-ratio: 1.4;
  }
  .about-layout h2 {
    font-size: 28px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }
  .footer-top > div:first-child {
    grid-column: 1/-1;
  }
  .footer-top > div:last-child {
    grid-column: 1/-1;
  }
  .footer-top p {
    margin-bottom: 0;
  }
  .footer-wordmark {
    font-size: 29px;
  }
  .footer-bottom {
    display: block;
    font-size: 8px;
    line-height: 1.9;
  }
  .footer-bottom span {
    display: block;
  }
  dialog {
    padding: 20px;
    max-height: calc(100dvh - 24px);
  }
  dialog h2 {
    font-size: 28px;
  }
  .dialog-top {
    margin-bottom: 10px;
  }
  .dialog-top .eyebrow {
    font-size: 8px;
  }
  .search-result h3 {
    font-size: 18px;
  }
  .search-result {
    gap: 13px;
  }
  .searchbox input {
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .wordmark {
    font-size: 24px;
  }
  .brand img {
    width: 45px;
    height: 45px;
  }
  .wrap {
    width: calc(100% - 28px);
  }
  .feature-copy {
    padding: 25px 20px;
  }
  .feature-copy h1 {
    font-size: 35px;
  }
  .feature-copy .byline {
    gap: 6px;
  }
  .cards,
  .explorer .cards {
    gap: 27px 13px;
  }
  .card h3 {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .topline,
  .site-footer,
  .article-tools,
  .related,
  dialog,
  #toast {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  .reading-layout {
    display: block;
  }
  .article-body {
    font-size: 12pt;
  }
  .article-hero {
    max-height: 300px;
  }
  .article-head h1 {
    font-size: 30pt;
  }
}

.mobile-only {
  display: none;
}
@media (max-width: 760px) {
  .mobile-only {
    display: block;
  }
  .header-actions .icon-button {
    min-width: 40px;
    min-height: 44px;
  }
  .chip {
    min-height: 40px;
  }
  .font-controls button {
    min-width: 40px;
    min-height: 40px;
  }
}
.site-header {
  top: 0;
}
@media (max-width: 760px) {
  .site-header {
    top: 0;
  }
}

/* WordPress templates and controls */
[hidden] {
  display: none !important;
}
body:not(.bim-js) [data-open-saved],
body:not(.bim-js) [data-save-id],
body:not(.bim-js) .menu-button {
  display: none;
}
.site-header {
  top: 0;
}
.admin-bar .site-header {
  top: 32px;
}
.nav-end {
  display: flex;
  align-items: center;
}
.assigned-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.assigned-menu a {
  display: block;
}
.nav-saved {
  border: 0;
  padding: 12px 0;
  text-align: left;
  font-size: 14px;
}
.editor-link {
  margin-top: 20px;
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.image-corner {
  text-transform: uppercase;
}
.explorer-controls {
  grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(100px, 150px)) auto;
  align-items: end;
}
.apply-filters {
  min-height: 48px;
  white-space: nowrap;
}
.pagination {
  margin-block: 32px 0;
  display: flex;
  justify-content: center;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--line);
}
.pagination .current {
  color: var(--white);
  background: var(--teal);
}
.screen-reader-text {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.dialog-search {
  display: flex;
  gap: 10px;
}
.dialog-search .searchbox {
  flex: 1;
  min-width: 0;
}
.saved-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.saved-row a {
  font: 19px/1.3 var(--serif);
  overflow-wrap: anywhere;
}
#saved-dialog .button {
  margin-top: 16px;
}
.article-tools {
  top: 178px;
}
.admin-bar .article-tools {
  top: 210px;
}
.font-controls [aria-pressed="true"] {
  background: #e9ede3;
  border-color: #8c9f91;
}
.reading-layout {
  margin-bottom: 42px;
}
.article-body img,
.article-body video,
.article-body iframe {
  max-width: 100%;
}
.article-body img,
.article-body video {
  height: auto;
}
.article-body .wp-block-image {
  margin-inline: 0;
}
.article-body h5,
.article-body h6 {
  font-family: var(--serif);
  font-size: 21px;
  margin-block: 25px 14px;
}
.article-body table {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.article-body pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.page-article {
  padding-bottom: 60px;
}
.page-article .article-body,
.page-article .comments-area {
  width: min(100%, 700px);
  margin: 30px auto 0;
}
.comments-area {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 32px;
}
.comment-list {
  padding-left: 24px;
}
.comment-list .children {
  padding-left: 18px;
}
.comments-area label {
  display: block;
  font-size: 13px;
}
.comments-area input:not([type="checkbox"]),
.comments-area textarea,
.post-password-form input {
  max-width: 100%;
  padding: 9px;
  border: 1px solid var(--line);
  background: var(--white);
}
.comments-area input[type="submit"] {
  background: var(--teal);
  color: white;
  cursor: pointer;
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
@media (max-width: 760px) {
  .nav-end {
    display: block;
  }
  .nav-primary {
    gap: 0 16px;
  }
  body:not(.bim-js) .navline nav {
    display: block;
  }
  .explorer-controls {
    grid-template-columns: 1fr 1fr;
  }
  .explorer-controls .apply-filters {
    align-self: end;
    width: 100%;
  }
  .dialog-search {
    flex-direction: column;
  }
  .dialog-search .button {
    align-self: flex-start;
  }
  .article-tools {
    top: auto;
  }
  .saved-row a {
    font-size: 17px;
  }
}
@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}

body:not(.bim-js) .article-tools { visibility: hidden; }
.text-link .icon, .button .icon { width: 17px; height: 17px; }
.about-nav .icon { width: 12px; height: 12px; }
.island-tile .arrow .icon { width: 25px; height: 25px; }
@media (max-width: 760px) {
    body:not(.bim-js) .article-tools { display: none; }
}

/* Optional advertising placements */
.bim-ad {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: #edf0e8;
}
.bim-ad--home-banner {
  margin-top: clamp(22px, 4vw, 38px);
}
.bim-ad--home-sidebar,
.bim-ad--article-end {
  margin: 26px 0;
}
.bim-ad__label {
  color: #435c51;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}
.bim-ad__placeholder {
  display: grid;
  min-height: 80px;
  padding: 16px;
  place-items: center;
  border: 1px dashed #a8b4a9;
  color: #435c51;
  font-size: 14px;
}
.bim-ad--home-sidebar .bim-ad__placeholder {
  min-height: 148px;
}
.bim-ad__link {
  display: block;
  justify-self: center;
  max-width: 100%;
}
.bim-ad__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
