:root {
  --teal: #3a9f87;
  --dark: #3a3a3a;
  --text: #4b4f58;
  --light: #f5f5f5;
  --mint: #bdd;
  --sand: #f1e6d3;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font: 15px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: #fff;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--teal); }
a:hover { color: var(--dark); }
::selection { background: var(--mint); color: #000; }
h1, h2, h3, h4, h5, h6 { color: var(--text); font-weight: 600; line-height: 1.3; margin: 0 0 20px; clear: both; }
h1, h2 { font-size: 30px; }
h3 { font-size: 25px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 15px; }
p, ul, ol, figure, blockquote { margin: 0 0 1.75em; }
ul, ol { padding-left: 3em; }
blockquote { border-left: 5px solid rgba(0, 0, 0, .05); padding: 20px; font-size: 1.2em; font-style: italic; }
hr { border: 0; border-top: 1px solid #ccc; margin: 20px 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { background: #fff; border-bottom: 1px solid #eaeaea; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; max-width: none; }
.logo img { display: block; width: 290px; padding: 10px 0; }
.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 0 1em; line-height: 70px; text-decoration: none; }
.menu .has-sub > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.menu ul { display: none; position: absolute; left: 0; top: 100%; z-index: 10; width: 240px; background: #fff; border-top: 2px solid var(--mint); box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .1); }
.menu li:hover > ul, .menu li:focus-within > ul { display: block; }
.menu ul a { display: block; padding: .9em 1em; text-decoration: none; border-bottom: 1px solid #eaeaea; }
.burger { display: none; font-size: 28px; color: var(--teal); cursor: pointer; }

/* content area */
.site-content { background: #fff center top / 100% auto; padding: 4em 0; }
.sheet { background: #fff; padding: 5.34em 6.67em; margin-bottom: 2em; overflow-wrap: break-word; }
.sheet.page:not(:has(> .entry-title)) { padding-top: 2em; }
.entry-title { font-size: 30px; margin-bottom: 10px; }
.entry-title a { color: var(--dark); text-decoration: none; }
.entry-meta { color: var(--teal); line-height: 1.45; margin-bottom: 2em; }
.entry-meta a { text-decoration: none; }
.entry-content a { text-decoration: underline; }
.post-thumb { margin-bottom: 1.5em; }
.post-thumb img { display: block; margin: 0 auto; }
.post-nav { display: flex; justify-content: space-between; padding: 0 1em 2em; }
.post-nav a { text-decoration: none; }
.archive-head { padding: 3em 6.67em; }
.archive-head h1 { color: var(--dark); font-size: 40px; margin: 0; }
.card { display: flex; gap: 40px; align-items: flex-start; }
.card-picture { flex: 0 0 50%; }
.card-picture img { display: block; width: 100%; }
.card > div { flex: 1; min-width: 0; }
.pager { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; margin-bottom: 2em; }
.pager a, .pager span { display: inline-block; min-width: 2.5em; padding: 0 .8em; line-height: 2.5em; text-align: center; background: #fff; text-decoration: none; }
.pager .current { background: var(--teal); color: #fff; }
.comments h3 { font-size: 20px; }
.comments ol { list-style: none; padding: 0; }
.comments li { border-bottom: 1px solid #eee; padding: 1em 0; }
.comment-by time { color: #888; font-size: .9em; margin-left: .5em; }
.form-note, .map-link { background: #f2f5f7; padding: 1.5em; }

/* blocks */
.has-text-align-center, .aligncenter { text-align: center; }
.has-text-align-right, .alignright { text-align: right; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
img.alignright { float: right; margin: 0 0 1em 1.5em; }
img.aligncenter { display: block; margin: 0 auto; }
.wp-block-image img, .wp-caption img { display: block; }
.wp-block-image.aligncenter img, .wp-caption.aligncenter img { margin: 0 auto; }
.wp-block-image.size-full { margin: 2rem 0; }
figcaption { font-size: 13px; text-align: center; margin-top: .5em; }
.has-small-font-size { font-size: 13px; }
.has-medium-font-size { font-size: 20px; }
.has-large-font-size { font-size: 36px; }
.has-ast-global-color-4-background-color { background-color: var(--light); }
.has-ast-global-color-5-color { color: #fff; }
.has-ast-global-color-6-background-color { background-color: #f2f5f7; }
.has-white-background-color { background-color: #fff; }
.has-background { padding: 20px 2.4em; }
.wp-block-separator { border: 0; border-top: 2px solid; color: #ccc; }
.wp-block-separator.has-background { padding: 0; height: 2px; border: 0; }
.wp-block-separator:not(.is-style-wide) { width: 100px; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .5em; margin-bottom: 1.75em; }
.wp-block-button__link, .ghostkit-button { display: inline-block; background: var(--mint); color: #000; border-radius: 2px; padding: 14px 28px; line-height: 1; text-decoration: none; }
.ghostkit-button-wrapper { text-align: center; margin-bottom: 1.75em; }
.ghostkit-button-xl { font-size: 1.3em; background: #c1c7b7; }
.wp-block-columns { display: flex; gap: 2em; }
.wp-block-column { flex: 1; min-width: 0; }
.wp-block-group.has-background { padding: 2em; }
.wp-block-media-text { display: grid; grid-template-columns: 50% 1fr; align-items: center; margin-bottom: 1.75em; }
.wp-block-media-text__media img { display: block; width: 100%; }
.wp-block-media-text__content { padding: 0 8%; }
.wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 1em; margin-bottom: 1.75em; }
.wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.wp-block-cover__background { position: absolute; inset: 0; z-index: 1; background: #000; opacity: .5; }
.wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; color: #fff; }
.wp-block-gallery { display: flex; flex-wrap: wrap; gap: 16px; }
.wp-block-gallery > figure { flex: 1 1 calc(33.33% - 16px); margin: 0; }
.wp-block-gallery.columns-1 > figure { flex-basis: 100%; }
.wp-block-gallery.columns-2 > figure { flex-basis: calc(50% - 16px); }
.wp-block-gallery.is-cropped img { width: 100%; height: 100%; object-fit: cover; }
.wp-block-video video { width: 100%; }
.tiled-gallery__gallery { display: flex; flex-direction: column; gap: 4px; margin-bottom: 1.75em; }
.tiled-gallery__row { display: flex; gap: 4px; }
.tiled-gallery__col { display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 0; }
.tiled-gallery__item { margin: 0; flex: 1; }
.tiled-gallery__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.is-style-square .tiled-gallery__item img { aspect-ratio: 1; }
.has-rounded-corners-10 img { border-radius: 10px; }
.wp-block-spacer { clear: both; }
.wp-block-post-featured-image img { display: block; width: 100%; object-fit: cover; }

/* home */
.latest-posts { display: grid; gap: 1.25em 2em; list-style: none; padding: 2em; background: var(--light); text-align: center; text-transform: uppercase; font-size: 20px; }
.latest-posts.columns-2 { grid-template-columns: 1fr 1fr; }
.latest-posts__image img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: .5em; }
.latest-posts__title { color: #000; }
.wp-block-categories { background: var(--light); padding: 20px 2.4em 20px 3.4em; }

/* footer */
.site-footer { background: var(--sand); text-align: center; padding: 20px; min-height: 80px; display: flex; align-items: center; justify-content: center; }
.site-footer p { margin: 0; }

@media (max-width: 921px) {
  .site-header .wrap { flex-wrap: wrap; }
  .burger { display: block; }
  .logo img { width: 150px; }
  .site-header nav { display: none; flex-basis: 100%; }
  #nav-toggle:checked ~ nav { display: block; }
  .menu { flex-direction: column; }
  .menu > li > a { line-height: 3em; border-top: 1px solid #eaeaea; }
  .menu ul { display: block; position: static; width: auto; border: 0; box-shadow: none; padding-left: 1em; }
  .sheet, .archive-head { padding: 2em 1.5em; }
  .card { flex-direction: column; }
}
@media (max-width: 600px) {
  .wp-block-columns, .wp-block-media-text { display: block; }
  .latest-posts.columns-2 { grid-template-columns: 1fr; }
  .wp-block-gallery > figure { flex-basis: calc(50% - 16px); }
  .tiled-gallery__row { flex-direction: column; }
  .site-content { padding: 1em 0; }
}
