/* Watered Garden. Sizes and colors are measured from the Wix site. */
:root {
  --accent: #116dff;
  --title: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --text: "Proxima Nova", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --avenir: "Avenir Light", Avenir, "Avenir Next", "Nunito Sans", sans-serif;
  --line: rgba(191, 191, 191, 0.75);
}
@font-face { font-family: "Work Sans"; font-weight: 200; font-display: swap; src: url(shared/fonts/work-sans-latin-200-normal.woff2) format("woff2"); }
body { color: #000; font: 400 15px/1.5 var(--text); background: #fff; }
.backdrop { position: fixed; inset: 0; z-index: -1; background: #cfd8e3 url(/media/9cabc9_776f8d32bfd64000bc1be87e1ce47b2a-1600.webp) center center / cover no-repeat; }
h1, h2 { font-family: var(--title); font-weight: 200; margin: 0; }

/* ---- header ---- */
.site-header .inner, .list { width: 980px; max-width: 100%; margin: 0 auto; background: rgba(255, 255, 255, 0.75); }
.site-header .inner { position: relative; height: 131px; padding: 9px 20px 0; text-align: center; }
.site-title { margin: 0; font: 300 56px/63px var(--title); text-shadow: rgba(0, 0, 0, 0.4) 0 4px 5px; }
.site-title a { text-decoration: none; }
.tagline { margin: 0; font-size: 15px; line-height: 26px; text-shadow: rgba(0, 0, 0, 0.35) 0 2px 3px; }
.site-nav { border-top: 1px solid #000; }
.site-nav ul { list-style: none; display: flex; justify-content: center; gap: 20px; margin: 0; padding: 0; }
.site-nav a { font-size: 14px; line-height: 30px; text-decoration: none; }
.site-nav a:hover { color: var(--accent); }
.menu-toggle { display: none; }

/* ---- list of posts ---- */
.list { padding: 0 20px 26px; margin-bottom: 31px; }
.bar-home { display: none; }
.list .search { display: flex; justify-content: flex-end; align-items: flex-start; height: 101px; padding-top: 2px; }
.list .search input { width: 0; padding: 6px 0; border: 0; border-bottom: 1px solid transparent; background: none; font: 14px var(--text); transition: width 0.2s; }
.list .search:focus-within input { width: 180px; padding: 6px 8px; border-bottom-color: #000; outline: 0; }
.list .search button { border: 0; background: none; padding: 6px; cursor: pointer; display: flex; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #555; color: #fff; text-decoration: none; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover img { transform: scale(1.05); }
.card .shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.card .meta { position: absolute; top: 28px; left: 30px; right: 30px; font: 300 12px/16px var(--title); }
.card .title { position: absolute; left: 30px; right: 30px; bottom: 74px; font: 200 26px/30px var(--title); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .rule { position: absolute; left: 30px; right: 30px; bottom: 60px; border-top: 1px solid rgba(255, 255, 255, 0.85); }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; padding-top: 34px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: #000; font: 300 16px var(--title); text-decoration: none; }
.pager .here { color: #191919; font-weight: 400; }
.pager .off { color: #999; }
.pager .count { display: none; width: auto; padding: 0 14px; color: #777; }
.pager .first, .pager .previous, .pager .next, .pager .last, .pager .off { font-size: 24px; }

/* ---- footer ---- */
.site-footer { background: #fff; text-align: center; padding: 54px 20px 28px; margin-top: 0; }
.subscribe { width: 410px; max-width: 100%; margin: 0 auto; }
.subscribe h2 { font: 300 18px/22px var(--avenir); margin-bottom: 20px; }
.subscribe input[type=email] { display: block; width: 100%; height: 36px; padding: 3px 3px 3px 8px; border: 1px solid #000; background: #fff; font: 14px var(--avenir); border-radius: 0; }
.subscribe button { display: block; width: 100%; height: 35px; margin-top: 10px; border: 0; background: #000; color: #fff; font: 300 14px var(--avenir); cursor: pointer; border-radius: 0; }
.subscribe button:hover { background: #333; }
.copyright { margin: 70px 0 0; font-size: 14px; }

/* ---- a post ---- */
.post, .recent, .comments, .guest { width: 940px; max-width: calc(100% - 24px); margin-left: auto; margin-right: auto; background: #fff; border: 1px solid var(--line); }
.post { margin-top: 20px; padding: 60px 99px 50px; }
.post .byline { margin: 0 0 22px; font-size: 14px; line-height: 21px; }
.post h1 { font-size: 40px; line-height: 50px; margin-bottom: 23px; }
.post-body { font-size: 18px; line-height: 27px; }
.post-body h2, .post-body h3, .post-body h4 { font: 300 26px/1.3 var(--title); }
.post-body a { color: var(--accent); }
.post-body .pic figcaption, .post-body .video figcaption { font-size: 14px; }
.post-body:not(.spaced) .pic, .post-body:not(.spaced) .gallery, .post-body:not(.spaced) .video { margin-top: 8px; margin-bottom: 8px; }
.share { display: flex; gap: 26px; align-items: center; margin-top: 40px; padding: 18px 0; border-top: 1px solid rgba(0, 0, 0, 0.2); border-bottom: 1px solid rgba(0, 0, 0, 0.2); }
.share a, .share button { display: flex; color: #000; border: 0; background: none; padding: 0; cursor: pointer; }
.share .done { color: var(--accent); }
.recent { margin-top: 44px; background: none; border: 0; }
.recent .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; padding: 4px 10px; background: rgba(255, 255, 255, 0.75); }
.recent h2 { font: 400 18px var(--text); }
.recent .head a { font-size: 14px; text-decoration: none; }
.recent .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 33px; }
.tile { display: block; background: #fff; border: 1px solid var(--line); text-decoration: none; min-height: 314px; }
.tile img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tile .title { display: block; padding: 24px 24px 20px; font: 300 18px/1.35 var(--title); }
.tile:hover .title { color: var(--accent); }
.comments { padding: 40px 99px 50px; margin-top: 30px; margin-bottom: 60px; }
.comments h2 { font: 400 14px var(--text); padding-bottom: 14px; border-bottom: 1px solid rgba(0, 0, 0, 0.2); margin-bottom: 22px; }
.comment-form label { display: block; font-size: 14px; margin-bottom: 12px; }
.comment-form textarea, .comment-form input[type=text], .comment-form input[type=email] { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, 0.35); background: #fff; font: 15px var(--text); border-radius: 0; }
.comment-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.comment-form button, .guest button { min-width: 140px; padding: 9px 20px; border: 0; background: #000; color: #fff; font: 15px var(--text); cursor: pointer; border-radius: 0; }
.comment { padding: 22px 0 0; margin-top: 22px; border-top: 1px solid rgba(0, 0, 0, 0.12); font-size: 16px; line-height: 1.55; }
.comment .who { margin: 0 0 8px; font-size: 14px; }
.comment .who time { margin-left: 8px; opacity: 0.65; }
.comment .text p { margin: 0 0 0.6em; }
.comment.reply { margin-left: 34px; }

/* ---- guest password, search, notices ---- */
.guest { margin-top: 20px; margin-bottom: 60px; padding: 60px 30px 70px; text-align: center; }
.guest h1 { font-size: 40px; margin-bottom: 16px; }
.guest p { font-size: 17px; }
.guest form { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.guest input[type=password] { width: 260px; max-width: 60vw; padding: 9px 12px; border: 1px solid #000; font: 16px var(--text); border-radius: 0; }
.panel.plain.search-page { text-align: left; padding: 40px 99px 60px; --pagefind-ui-font: var(--text); --pagefind-ui-scale: 1; --pagefind-ui-primary: #000; --pagefind-ui-border-radius: 0; }
.search-page h1 { text-align: center; margin-bottom: 24px; }
.panel.plain { width: 940px; max-width: calc(100% - 24px); margin: 20px auto 60px; padding: 60px 30px; background: #fff; border: 1px solid var(--line); text-align: center; }
.panel.plain h1 { font-size: 40px; margin-bottom: 16px; }

/* ---- narrower screens ---- */
@media (max-width: 1000px) {
  .post, .comments { padding-left: 6%; padding-right: 6%; }
}
@media (max-width: 760px) {
  .site-header .inner { height: auto; padding: 30px 56px 26px; }
  .site-title { font-size: 22px; line-height: 36px; text-shadow: rgba(0, 0, 0, 0.3) 0 2px 3px; }
  .tagline { max-width: 210px; margin: 14px auto 0; font-size: 13.5px; line-height: 26px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 7px; position: absolute; top: 26px; right: 14px; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
  .menu-toggle span { display: block; height: 2px; background: #000; }
  .site-nav { display: none; margin-top: 14px; }
  .menu-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; line-height: 42px; font-size: 16px; }
  .list { padding: 0 0 20px; margin-bottom: 0; background: #fff; }
  .list .search { height: 50px; padding: 0 12px 0 18px; align-items: center; background: #1f1f1f; color: #fff; }
  .list .search input { color: #fff; margin-left: auto; }
  .list .search:focus-within input { width: 150px; border-bottom-color: #fff; }
  .list .search button { color: #fff; }
  .bar-home { display: block; color: #fff; font: 300 14px var(--title); text-decoration: none; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card .meta { left: 18px; right: 18px; }
  .card .title { left: 18px; right: 18px; font-size: 24px; line-height: 32px; }
  .card .rule { left: 18px; right: 18px; }
  .pager { padding-top: 22px; gap: 4px; }
  .pager .num { display: none; }
  .pager .count { display: inline-flex; }
  .site-footer { padding-top: 40px; }
  .subscribe { width: 260px; }
  .copyright { margin-top: 30px; font-size: 12px; }
  .post { padding: 28px 18px 30px; margin-top: 0; max-width: 100%; border-left: 0; border-right: 0; }
  .post h1 { font-size: 26px; line-height: 34px; }
  .post-body { font-size: 16px; line-height: 24px; }
  .post-body:not(.spaced) .pic, .post-body:not(.spaced) .gallery, .post-body:not(.spaced) .video { margin-top: 4px; margin-bottom: 4px; }
  .recent { max-width: 100%; margin-top: 24px; }
  .recent .tiles { grid-template-columns: 1fr; gap: 16px; }
  .tile { min-height: 0; }
  .comments { padding: 26px 18px 34px; max-width: 100%; border-left: 0; border-right: 0; margin-bottom: 0; }
  .comment-form .row { grid-template-columns: 1fr; }
  .panel.plain.search-page { padding: 30px 18px 40px; }
}
