/* Karyl Rickard — sitewide styles.
   Containers and columns carry the original Avada settings as CSS variables
   (--awb-padding-top, --awb-bg-color, ...) in their style attribute. */

@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(/fonts/open-sans-normal-latin.woff2) format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 300 800; font-display: swap; src: url(/fonts/open-sans-italic-latin.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/fonts/playfair-display-normal-latin.woff2) format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/fonts/playfair-display-italic-latin.woff2) format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #303030; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.5rem; overflow-x: hidden; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: #0b65a5; }
a:hover, a:focus { color: #094372; }
figure { margin: 0; }
:focus-visible { outline: 2px solid #0b65a5; outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 10px; top: -60px; z-index: 1000; background: #0e5b85; color: #fff; padding: 10px 16px; border-radius: 3px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 10px; color: #fff; }

/* ---------- header ---------- */
.site-header { background: #fff; text-align: center; }
.logo { display: inline-block; margin: 24px auto 21px; line-height: 0; }
.logo img { width: 300px; height: auto; }
.site-nav { border-top: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; }
.menu { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.menu a { position: relative; display: block; padding: 0 22px; line-height: 2.5rem; font-size: 1rem; color: #333; text-decoration: none; }
.menu a:hover, .menu a:focus { color: #0e5b85; }
.menu a[aria-current="page"] { color: #0e5b85; }
.menu a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid #fff; filter: drop-shadow(0 1px 0 #e8e8e8); z-index: 2; }
.menu-toggle { display: none; }
@media (max-width: 800px) {
  .logo { margin: 20px auto; }
  .site-nav { padding: 6px 30px; border-bottom: 0; }
  .menu-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; height: 50px; padding: 0 0 0 12px; background: #fff; border: 1px solid #dadada; font: inherit; font-size: 0.875rem; color: #333; cursor: pointer; }
  .menu-toggle svg { width: 50px; height: 18px; padding: 0 14px; border-left: 1px solid #dadada; box-sizing: content-box; fill: #8fbcd9; }
  .menu { display: none; flex-direction: column; border: 1px solid #dadada; border-top: 0; text-align: left; }
  .nav-open .menu { display: flex; }
  .menu a { padding: 13px 16px; line-height: 1.375rem; border-top: 1px solid #ececec; font-size: 0.9375rem; }
  .menu a[aria-current="page"]::after { display: none; }
  .menu a[aria-current="page"] { font-weight: 600; }
}

/* ---------- home slideshow ---------- */
.hero { position: relative; height: 50vw; max-height: 720px; min-height: 200px; overflow: hidden; background: #3a3a3a; }
.hero .slides { list-style: none; margin: 0; padding: 0; height: 100%; }
.hero li { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero li.on { opacity: 1; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.slide-pause { position: absolute; right: 14px; bottom: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slide-pause svg { width: 14px; height: 14px; fill: currentColor; }
.slide-pause[aria-pressed="true"] svg { display: none; }
.slide-pause[aria-pressed="true"]::before { content: ""; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* ---------- page title bar ---------- */
.ptb { height: 300px; display: flex; align-items: center; justify-content: center; padding: 0 30px; text-align: center;
  /* Scrolls with the page (not fixed): a fixed background is stretched to the whole window's height,
     which enlarged this photo 2-4x and made it blurry. */
  background: #4d7fb8 url(/images/page-title-bar-fog.webp) 50% 35% / cover no-repeat; }
.ptb h1 { margin: 0; color: #fff; text-shadow: 0 1px 8px rgba(0,40,80,.35); font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 400; font-size: 3.125rem; line-height: 1.3; }
@media (max-width: 800px) { .ptb { height: 100px; background-image: image-set(url(/images/page-title-bar-fog-1200.webp) 1x, url(/images/page-title-bar-fog.webp) 2x); background-position: center; } .ptb h1 { font-size: 1.96875rem; } }

/* ---------- content layout ---------- */
main { padding: 0 0 40px; }
main > .con:first-of-type, main > .ptb + .con { margin-top: 60px; }
main > .con { margin-left: 0; margin-right: 0; }
.con { margin: 0 -30px; padding: var(--awb-padding-top, 0) 30px var(--awb-padding-bottom, 0); background: var(--awb-background-color, transparent);
  border-top: var(--awb-border-sizes-top, 0) solid var(--awb-border-color, transparent); border-bottom: var(--awb-border-sizes-bottom, 0) solid var(--awb-border-color, transparent); }
.row { max-width: 1170px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: stretch; }
.row--nested { max-width: none; }
/* column settings come from the column's own style attribute; reset so they don't inherit the container's */
.col { --awb-padding-top: 0; --awb-padding-right: 0; --awb-padding-bottom: 0; --awb-padding-left: 0; --awb-bg-color: transparent; --awb-border-color: transparent;
  --awb-border-top: 0; --awb-border-right: 0; --awb-border-bottom: 0; --awb-border-left: 0; --awb-margin-top-large: 0; --awb-margin-bottom-large: 20px; }
.col { width: var(--w); margin-top: var(--awb-margin-top-large, 0); margin-bottom: var(--awb-margin-bottom-large, 20px); }
.col--box > .colw { background: var(--awb-bg-color, transparent); padding: var(--awb-padding-top, 0) var(--awb-padding-right, 0) var(--awb-padding-bottom, 0) var(--awb-padding-left, 0);
  border-style: solid; border-color: var(--awb-border-color, transparent); border-width: var(--awb-border-top, 0) var(--awb-border-right, 0) var(--awb-border-bottom, 0) var(--awb-border-left, 0); }
.colw { padding-top: var(--awb-padding-top, 0); }
.col--box > .colw { height: 100%; }
.col--box > .colw { padding-top: var(--awb-padding-top, 0); }
.col--box > .colw { height: 100%; }
.colw::after { content: ""; display: table; clear: both; }
@media (max-width: 800px) {
  .col { width: 100%; }
}

/* text blocks */
.txt p { margin: 0 0 20px; }
.txt h1, .txt h2, .txt h3, .txt h4, .txt h5, .txt h6 { font-family: 'Playfair Display', Georgia, serif; margin: 0; }
.txt h1, .txt .h1 { font-size: 3.4rem; line-height: 1.2; font-style: italic; font-weight: 400; color: #094372; margin-bottom: 54px; }
.txt h2:not(.h1):not(.h3):not(.h4), .txt .h2 { font-size: 2.125rem; line-height: 1.3; font-weight: 500; color: #094372; margin-bottom: 34px; }
.txt h3:not(.h1):not(.h2):not(.h4), .txt .h3 { font-size: 1.75rem; line-height: 1.5; font-weight: 400; color: #002a3a; margin-bottom: 28px; }
.txt h4:not(.h1):not(.h2):not(.h3), .txt .h4 { font-size: 1.25rem; line-height: 1.5; font-weight: 400; color: #327f2e; margin-bottom: 20px; }
.txt ul, .txt ol { margin: 16px 0; padding-left: 40px; }
.txt ul ul, .txt ul ol, .txt ol ul { margin: 0; }
.txt blockquote { margin: 32px 40px; padding: 15px; background: rgba(178,226,255,.25); border-left: 4px solid #0e5b85; font-style: italic; }
.txt blockquote p:last-child { margin-bottom: 0; }
.txt a { font-weight: 700; text-decoration: none; }
.txt a:hover, .txt a:focus { text-decoration: underline; }
.alignleft { float: left; margin: 0 25px 15px 0; }
.alignright { float: right; margin: 0 0 15px 25px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.qmark { float: left; font-size: 3.75rem; line-height: 3.25rem; color: #4f8aa5; margin: 0 10px 0 0; font-family: 'Open Sans', sans-serif; }
@media (max-width: 800px) {
  .txt h1, .txt .h1 { font-size: 2.0625rem; margin-bottom: 33px; }
  .txt h2:not(.h1):not(.h3):not(.h4), .txt .h2 { font-size: 1.64375rem; margin-bottom: 26px; }
  .txt h3:not(.h1):not(.h2):not(.h4), .txt .h3 { font-size: 1.4375rem; margin-bottom: 23px; }
  .txt blockquote { margin: 24px 0 24px 20px; }
}
@media (max-width: 640px) { .alignleft, .alignright { float: none; display: block; margin: 0 auto 20px; } }

/* images, separators, buttons */
.imgel { line-height: 0; }
.imgel--c { text-align: center; }
.imgel img { width: auto; }
.sep { width: 100%; }
.sep--line { border-top: 1px solid #e0dede; }
.btnrow { margin: 0; }
.btnrow--center { text-align: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: #1878a8; color: #fff !important; font-size: 0.8125rem; font-weight: 600; line-height: 1rem; letter-spacing: 1px; text-transform: uppercase; padding: 11px 23px; border-radius: 2px; text-decoration: none; transition: background-color .2s; }
.btn:hover, .btn:focus { background: #0e5b85; }
.btn--lg { font-size: 0.9375rem; padding: 15px 28px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.donate { margin: 0; text-align: center; }
.paypal-btn { display: inline-block; font: inherit; font-weight: 700; font-size: 0.9375rem; color: #2c2e2f; background: #ffc439; border: 0; border-radius: 20px; padding: 8px 36px; cursor: pointer; }
.paypal-btn:hover, .paypal-btn:focus { background: #f2ba36; }

/* contact */
.contact-box { max-width: 760px; }
.mail-show { margin-top: 20px; }
.js-mail-addr { font-weight: 700; user-select: all; }

/* gallery */
.gallery, .gallery ul { list-style: none; margin: 0; padding: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 10px; align-items: start; }
.gallery ul li { margin-bottom: 10px; }
.gallery a { display: block; }
.gallery img { width: 100%; height: auto; display: block; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox-inner { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 50px 64px 20px; }
.lightbox img { max-width: 100%; max-height: calc(100% - 60px); width: auto; height: auto; }
.lb-cap { color: #fff; text-align: center; margin: 14px 0 0; font-size: 1rem; max-width: 800px; min-height: 24px; }
.lightbox button { position: absolute; background: rgba(0,0,0,.4); color: #fff; border: 0; cursor: pointer; font-size: 2.5rem; line-height: 1; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 3px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 8px; top: 8px; }
.lb-count { position: absolute; top: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 0.875rem; margin: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid #e8e8e8; padding: 25px 30px; text-align: center; font-size: 0.8125rem; color: #05384d; }
.site-footer p { margin: 0; }
.site-footer a { color: #1c685b; font-weight: 600; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus { text-decoration: underline; }
.dv { padding: 0 8px; }
@media (max-width: 640px) { .dv { display: none; } .site-footer p { line-height: 1.9; } }

.tc { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
