/*
Theme Name: YFS Journal
Theme URI: https://yetunde-siemers.com/
Author: Yetunde F. Siemers
Author URI: https://yetunde-siemers.com/
Description: A quiet, grey and white journal theme that matches yetunde-siemers.com. Two archive layouts from one theme (List and Photo grid), a category bar, category-aware previous and next links, and an "Overview by category" page template. No dates are shown, no comments are output, and nothing is loaded from other servers.
Version: 1.0.3
Requires at least: 6.3
Tested up to: 6.8
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: yfs-journal
Tags: blog, photography, one-column, grid-layout, custom-menu, featured-images, accessibility-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   Fonts: Lato, served from the theme folder (latin subset, SIL Open Font Licence)
   ========================================================================== */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lato-400.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/lato-700.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lato-400-italic.woff2") format("woff2");
}

/* ==========================================================================
   Design values, taken from yetunde-siemers.com (assets/site.css)
   ========================================================================== */
:root {
  --ink: #757575;        /* headings, links, buttons: 4.61:1 on white */
  --text: #555;          /* body text: 7.46:1 on white */
  --line: #ddd;          /* 1 px lines and card borders */
  --bg: #fff;
  --font: "Lato", sans-serif;
  --measure: 30rem;      /* text column, about 70 characters per line */
  --wide: 1100px;        /* wide images, grid, header */
  --gutter: 16px;
  --gap: 24px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 106.25%; /* 17 px */
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.8;
}
img,
video,
iframe {
  max-width: 100%;
}
img {
  height: auto;
}
img:is([sizes="auto" i], [sizes^="auto," i]) {
  contain-intrinsic-size: 3000px 1500px;
}
a {
  color: var(--ink);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.3;
  margin: 1.6em 0 0.6em;
}
h1 { font-size: 2rem; letter-spacing: 0.02em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }
p {
  margin: 0 0 1.2em;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em auto;
}

/* Accessibility helpers */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -200px;
  z-index: 100;
  background-color: var(--bg);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Header: solid white bar, 1 px line below
   ========================================================================== */
.site-header {
  background-color: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 5px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 16px;
}
.site-title {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-decoration: none;
  text-underline-offset: 6px;
}
.site-title:hover {
  text-decoration: underline;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
}
.site-nav .sub-menu {
  display: contents; /* sub-menu items sit in the same row */
}
.site-nav a,
.category-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 24px;
  text-decoration: none;
  text-underline-offset: 6px;
}
.site-nav a:hover,
.category-bar a:hover {
  text-decoration: underline;
  text-decoration-color: var(--ink);
}
.site-nav a[aria-current="page"],
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.category-bar a[aria-current="page"],
.category-bar a[aria-current="true"],
.site-title[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--ink);
}

/* Link to the main site: a filled box, never the active-page underline */
.site-nav a.main-site-link {
  padding: 9px 16px; /* 24 px line + 18 px padding + 2 px border = 44 px */
  border: 1px solid var(--ink);
  border-radius: 0;
  background-color: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}
.site-nav a.main-site-link:hover,
.site-nav a.main-site-link:focus-visible {
  background-color: #fff;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a.main-site-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .site-nav a.main-site-link {
    transition: none;
  }
}

/* Menu button: only shown on phones when the menu script has run */
.menu-toggle {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background-color: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  background-color: var(--ink);
  color: #fff;
}
@media (max-width: 799px) {
  .site-nav {
    flex-basis: 100%;
  }
  .has-menu-toggle .menu-toggle {
    display: inline-flex;
  }
  .has-menu-toggle .site-nav {
    display: none;
    padding-bottom: 8px;
  }
  .has-menu-toggle .site-nav.is-open {
    display: block;
  }
  .has-menu-toggle .site-nav ul {
    flex-direction: column;
  }
  .has-menu-toggle .site-nav a {
    display: flex;
  }
}

/* ==========================================================================
   Layout
   ========================================================================== */
.site-main {
  padding: 32px var(--gutter) 64px;
}
.page-header,
.entry-header,
.post-context,
.archive-description,
.search-summary {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}
.page-header {
  margin-bottom: 24px;
}
.page-header .archive-description {
  max-width: none;
  margin: 0;
}
.page-title,
.entry-title {
  margin-top: 0.2em;
}
.page-header .search-form {
  margin-top: 16px;
}

/* Category bar: plain links like the header links */
.category-bar {
  max-width: var(--wide);
  margin: 0 auto 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.category-bar ul {
  list-style: none;
  margin: 0 -12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
}

/* Listings: heading, category bar and results line share the width of the posts */
.layout-list.blog .category-bar,
.layout-list.archive .category-bar,
.layout-list.archive .page-header,
.layout-list.search .page-header,
.layout-list.search .search-summary {
  max-width: 760px;
}
.layout-grid.archive .page-header,
.layout-grid.search .page-header,
.layout-grid.search .search-summary {
  max-width: var(--wide);
}

/* ==========================================================================
   Button: btn-line, as on the main site
   ========================================================================== */
.btn-line,
.page-numbers,
.search-submit,
.wp-block-button__link,
.wp-block-file .wp-block-file__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 24px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background-color: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}
.btn-line:hover,
.btn-line:focus-visible,
a.page-numbers:hover,
a.page-numbers:focus-visible,
.search-submit:hover,
.search-submit:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.wp-block-file .wp-block-file__button:hover,
.wp-block-file .wp-block-file__button:focus-visible {
  background-color: var(--ink);
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .btn-line,
  .page-numbers,
  .search-submit,
  .wp-block-button__link,
  .wp-block-file .wp-block-file__button {
    transition: none;
  }
}

/* Pagination: numbered, with previous and next */
.pagination {
  max-width: var(--wide);
  margin: 48px auto 0;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.pagination .page-numbers {
  min-width: 44px;
  padding: 10px 14px;
}
.pagination .page-numbers.current {
  background-color: var(--ink);
  color: #fff;
  font-weight: 700;
}
.pagination .page-numbers.dots {
  border-color: transparent;
  cursor: default;
}

/* ==========================================================================
   Archive layout: List
   ========================================================================== */
.post-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: var(--gap);
}
.card {
  background-color: var(--bg);
  border: 1px solid var(--line);
  padding: 24px;
}
.card-title {
  margin: -7px 0 3px; /* the link below is 14 px taller than the text; the card looks unchanged */
  font-size: 1.35rem;
}
.card-title a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  text-underline-offset: 5px;
}
.card-title a:hover {
  text-decoration: underline;
}
.card-excerpt {
  color: var(--text);
}
.card-excerpt p {
  margin: 0 0 16px;
}

/* ==========================================================================
   Archive layout: Photo grid (pure CSS)
   ========================================================================== */
.post-grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  align-items: start;
}
@media (min-width: 600px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.grid-link {
  display: block;
  color: var(--ink);
  text-decoration: none;
}
.grid-photo {
  position: relative;
  display: block;
}
.grid-photo img {
  display: block;
  width: 100%;
  height: auto;   /* natural aspect ratio */
}

/* Hover label: lower left corner, fades in on hover and keyboard focus */
.photo-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: 80%;
  padding: 8px 14px;
  background-color: #fff;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}
.photo-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--ink);
}
.grid-item:hover .photo-label,
.grid-item:focus-within .photo-label {
  opacity: 1;
}
.grid-caption {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .photo-label {
    transition: none;
  }
}
/* Devices without hover: no overlay, the title sits below the photo */
@media (hover: none) {
  .photo-label {
    display: none;
  }
  .grid-caption {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
}

/* ==========================================================================
   Single posts and pages
   ========================================================================== */
.post-context {
  margin-bottom: 24px;
}
.entry-featured {
  margin: 0 auto 32px;
}
.entry-featured img {
  display: block;
  width: 100%;
  height: auto;
}
.entry-featured--large {
  max-width: var(--wide);
}
.entry-featured--normal {
  max-width: var(--measure);
}
.entry-terms,
.entry-tags {
  font-size: 15px;
  color: var(--text);
  margin: 0 0 1em;
}
.entry-footer {
  max-width: var(--measure);
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.entry-footer:empty {
  display: none;
}
.page-links {
  max-width: var(--measure);
  margin: 24px auto;
}

/* Previous and next */
.post-navigation {
  max-width: var(--measure);
  margin: 48px auto 0;
}
.post-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.post-navigation .btn-line {
  flex: 1 1 240px;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.post-navigation .nav-next .btn-line,
.post-navigation .btn-line.nav-next {
  align-items: flex-end;
  text-align: right;
}
.nav-label {
  font-size: 14px;
  letter-spacing: 0.04em;
}
.nav-title {
  font-weight: 700;
}

/* ==========================================================================
   Block content
   ========================================================================== */
.entry-content > * {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}
.entry-content > .alignwide {
  max-width: var(--wide);
}
.entry-content > .alignfull {
  max-width: none;
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
}
.entry-content > .alignleft,
.alignleft {
  float: left;
  margin: 0.3em 1.5em 1em 0;
}
.entry-content > .alignright,
.alignright {
  float: right;
  margin: 0.3em 0 1em 1.5em;
}
.entry-content > .alignleft {
  margin-left: max(0px, calc((100% - var(--measure)) / 2));
  max-width: 50%;
}
.entry-content > .alignright {
  margin-right: max(0px, calc((100% - var(--measure)) / 2));
  max-width: 50%;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.entry-content::after {
  content: "";
  display: table;
  clear: both;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}
.entry-content li {
  margin-bottom: 0.3em;
}
figure {
  margin: 0 0 1.6em;
}
figure img {
  display: block;
}
figcaption,
.wp-element-caption,
.wp-caption-text,
.gallery-caption {
  margin-top: 8px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
.wp-caption {
  max-width: 100%;
}
.sticky,
.bypostauthor {
  /* no special styling */
  outline: 0;
}

/* Images */
.wp-block-image img {
  height: auto;
}
.wp-block-image.alignfull img,
.wp-block-image.alignwide img {
  width: 100%;
}

/* Gallery (mirrors the WordPress block library) */
.wp-block-gallery.has-nested-images {
  display: flex;
  flex-wrap: wrap;
  align-items: normal;
  gap: 16px;
}
.wp-block-gallery.has-nested-images figure.wp-block-image {
  margin: 0;
  flex-grow: 1;
  width: calc(50% - 8px);
  display: flex;
  flex-direction: column;
}
@media (min-width: 600px) {
  .wp-block-gallery.has-nested-images:not(.columns-1):not(.columns-2) figure.wp-block-image {
    width: calc(33.333% - 10.667px);
  }
}
.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image {
  width: 100%;
}
.wp-block-gallery.is-cropped figure.wp-block-image img {
  flex: 1 0 0%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quote */
.wp-block-quote,
blockquote {
  border-left: 2px solid var(--ink);
  padding: 4px 0 4px 20px;
  color: var(--ink);
  font-style: italic;
  font-size: 1.1rem;
}
.wp-block-quote cite,
blockquote cite {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 15px;
  font-style: normal;
}
.wp-block-quote p:last-of-type {
  margin-bottom: 0;
}
.wp-block-pullquote {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  text-align: center;
}
.wp-block-pullquote blockquote {
  border-left: 0;
  padding: 0;
}

/* Table */
.wp-block-table {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  border: 1px solid var(--line);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  color: var(--ink);
}

/* Code */
code,
kbd,
pre {
  font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
  font-size: 0.9em;
}
code {
  background-color: #f5f5f5;
  padding: 0.1em 0.3em;
}
pre,
.wp-block-code,
.wp-block-preformatted {
  background-color: #f5f5f5;
  border: 1px solid var(--line);
  padding: 16px;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.6;
}
pre code {
  background: none;
  padding: 0;
}

/* Columns (mirrors the WordPress block library) */
.wp-block-columns {
  display: flex;
  flex-wrap: wrap !important;
  align-items: normal !important;
  gap: 2em;
}
.wp-block-column {
  flex-basis: 100%;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}
@media (min-width: 782px) {
  .wp-block-columns {
    flex-wrap: nowrap !important;
  }
  .wp-block-column {
    flex-basis: 0;
    flex-grow: 1;
  }
  .wp-block-column[style*="flex-basis"] {
    flex-grow: 0;
  }
}
.wp-block-column > :first-child {
  margin-top: 0;
}

/* Buttons and other flex layouts */
.is-layout-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
}
.is-layout-flex > * {
  margin: 0;
}
.wp-block-buttons {
  margin-bottom: 1.6em;
}

/* Responsive embeds (mirrors the WordPress block library) */
.wp-block-embed {
  overflow-wrap: break-word;
}
.wp-block-embed iframe {
  max-width: 100%;
}
.wp-block-embed__wrapper {
  position: relative;
}
.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper::before {
  content: "";
  display: block;
  padding-top: 50%;
}
.wp-embed-responsive .wp-has-aspect-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
  padding-top: 56.25%;
}
.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper::before {
  padding-top: 75%;
}
.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper::before {
  padding-top: 100%;
}

/* Separator */
.wp-block-separator {
  border: 0;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Photo grid single posts: 980 px column, text 680 px, images up to the column
   ========================================================================== */
.layout-grid.single .category-bar {
  max-width: 980px;
}
.layout-grid.single .entry-header,
.layout-grid.single .post-context,
.layout-grid.single .entry-footer,
.layout-grid.single .post-navigation {
  max-width: 680px;
}
.layout-grid.single .entry-content {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.layout-grid.single .entry-content > * {
  max-width: 680px;
}
.layout-grid.single .entry-content > :is(figure, img, .wp-block-image, .wp-block-gallery, .wp-block-embed, .wp-block-video, .wp-block-cover, .wp-block-media-text, .alignwide, .alignfull, .alignleft, .alignright, .aligncenter),
.layout-grid.single .entry-content > p:has(img) {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.layout-grid.single .entry-content img {
  width: auto;       /* overrides the width and height WordPress writes into the tag */
  max-width: 100%;   /* never wider than the column; never upscaled beyond its natural size */
  height: auto;
}
.layout-grid.single .entry-content :is(.aligncenter, .alignleft, .alignright) {
  float: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.layout-grid.single .entry-content figure img,
.layout-grid.single .entry-content p > img,
.layout-grid.single .entry-content p > a > img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Overview by category: square tiles
   ========================================================================== */
.page-template-page-overview .page-header,
.page-template-page-overview .entry-content > *,
.overview-group {
  max-width: var(--wide);
}
.overview-group {
  margin: 0 auto 48px;
}
.overview-group h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
}
.overview-group h2 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.overview-group h2 a:hover {
  text-decoration: underline;
}
.overview-count {
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
}
.overview-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
@media (min-width: 700px) {
  .overview-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .overview-tiles {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.tile-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.tile-photo .tile-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile .photo-title,
.tile-empty-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
/* Post without a featured image: light grey square, title always visible */
.tile-empty {
  position: relative;
  display: block;
  background-color: #eee;
}
.tile-empty-title {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: 80%;
  padding: 8px 14px;
  background-color: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.overview-more {
  margin: 16px 0 0;
}

/* ==========================================================================
   Search form, 404
   ========================================================================== */
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
}
.search-form label {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
}
.search-field {
  min-height: 44px;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background-color: var(--bg);
  color: var(--text);
  font: inherit;
  font-weight: 400;
}
.not-found,
.no-results {
  max-width: var(--measure);
  margin: 0 auto;
}
.not-found .search-form,
.back-link {
  margin-top: 24px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px var(--gutter) 32px;
  text-align: center;
  color: var(--ink);
  font-size: 15px;
}
.site-footer p {
  margin: 0;
}
.copyright {
  white-space: nowrap;
}
.site-footer a {
  display: inline-block;
  padding: 10px 6px;
  color: var(--ink);
}
