/* Boundary Waters Experience: site styles (modeled on the 2016 Divi design) */
@font-face { font-family: "ETmodules"; src: url("/assets/etmodules.ttf") format("truetype"); font-display: block; }
:root {
  --text: #555; --head: #333; --link: #1f7fc4; --accent: #2ea3f2;
  --green: #386019; --dark: #283139; --footer: #222; --line: #e2e2e2;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 15px/1.7 "Open Sans", Arial, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { color: var(--head); font-weight: 500; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 30px; } h2 { font-size: 26px; } h3 { font-size: 22px; } h4 { font-size: 18px; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.4em; }
table { border-collapse: collapse; max-width: 100%; }
td, th { padding: 6px 10px; border: 1px solid var(--line); vertical-align: top; }
.container { width: 88%; max-width: 1080px; margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; z-index: 100; background: #fff; padding: 8px 12px; }
.et-icon { font-family: "ETmodules"; speak: never; font-style: normal; line-height: 1; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.1); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 120px; padding: 10px 0; }
.logo { flex: 0 0 auto; }
.logo img { display: block; height: 100px; width: auto; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; }
.site-nav li { position: relative; list-style: none; }
.site-nav .menu > li > a { display: block; padding: 10px 11px; font-weight: 600; font-size: 14px; color: #555; }
.site-nav .menu > li.current > a, .site-nav a:hover { color: var(--accent); text-decoration: none; }
.site-nav .menu > li.has-sub > a { padding-right: 26px; }
.site-nav .has-sub > a::after { content: ""; position: absolute; right: 10px; top: 50%; margin-top: -6px; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.site-nav ul ul { display: none; position: absolute; left: 0; top: 100%; min-width: 250px; padding: 12px 0; margin: 0;
  background: #fff; border-top: 3px solid var(--accent); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.site-nav ul ul ul { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
.site-nav ul ul a { display: block; padding: 6px 20px; font-size: 14px; color: #555; }
.site-nav li:hover > ul, .site-nav li:focus-within > ul { display: block; }
.sub-toggle, .nav-toggle { display: none; }

/* page content */
.page { padding: 50px 0 60px; }
.entry-title { font-size: 32px; margin-bottom: .8em; }
.entry img.alignright, .entry .alignright { float: right; margin: 0 0 1em 1.5em; }
.entry img.alignleft, .entry .alignleft { float: left; margin: 0 1.5em 1em 0; }
.entry .aligncenter { display: block; margin: 0 auto 1em; }
.entry::after { content: ""; display: table; clear: both; }
.wp-caption { margin: 0 0 1em; max-width: 100%; }
.wp-caption figcaption { font-size: 13px; color: #777; padding-top: 4px; }
.button, .contact-form button { display: inline-block; padding: 8px 22px; border: 2px solid var(--accent); border-radius: 3px;
  background: var(--accent); color: #fff; font: 600 16px/1.5 "Open Sans", Arial, sans-serif; cursor: pointer; }
.button:hover, .contact-form button:hover { background: #1c8bd6; border-color: #1c8bd6; text-decoration: none; }

/* Divi-style sections (home, contact, Christian content) */
.sec { padding: 54px 0; }
.sec.full { padding: 0; }
.sec + .sec:not([style]) { padding-top: 20px; }
.row { width: 88%; max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 0 5.5%; }
.row + .row { margin-top: 30px; }
.col { flex: 1 1 100%; min-width: 0; }
.c1_2 { flex-basis: 47%; } .c1_3 { flex-basis: 29.6%; } .c2_3 { flex-basis: 64.8%; } .c1_4 { flex-basis: 20.8%; }
.al-center { text-align: center; } .al-left { text-align: left; } .al-right { text-align: right; }
.dark, .dark h1, .dark h2, .dark h3, .dark h4, .dark a { color: #fff; }
.dark p { color: rgba(255,255,255,.88); }
.txt h1 { font-size: 30px; }
.blurb { margin-bottom: 30px; }
.blurb .bm img { display: block; margin: 0 auto 18px; border-radius: 2px; }
.blurb h4 { font-size: 18px; margin-bottom: .5em; }
.blurb .et-icon { font-size: 32px; display: inline-block; margin-bottom: 14px; }
.blurb.left { display: flex; gap: 16px; text-align: left; }
.blurb.left .et-icon { margin: 0; }
.fullimg { display: block; width: 100%; }
.modimg { display: block; margin: 0 auto; }
.cta { padding: 20px 0; }
.cta.dark { background: transparent; }
.cta h2 { font-size: 26px; }
.cta .button { margin-top: 6px; }

/* slider */
.slider { position: relative; height: clamp(300px, 46vw, 560px); overflow: hidden; background: #333; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s; display: flex; align-items: center; justify-content: center; }
.slide.on { opacity: 1; }
.slide-text { background: rgba(0,0,0,.67); border-radius: 3px; padding: 14px 30px; margin: 0 6%; }
.slide-text h2 { color: #fff; font-weight: 300; font-size: clamp(26px, 4.5vw, 46px); margin: 0; }
.sl-prev, .sl-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.35); color: #fff; border: 0;
  font-size: 40px; line-height: 1; width: 48px; height: 60px; cursor: pointer; }
.sl-prev { left: 0; } .sl-next { right: 0; }
.sl-dots { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; }
.sl-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; margin: 0 5px; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.sl-dots button.on { background: #fff; }

/* contact form */
.contact-form label { display: block; font-weight: 600; color: var(--head); margin-bottom: 4px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 3px; font: inherit; color: #333; background: #f7f7f7; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); background: #fff; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status.ok { color: #2a7a2a; font-weight: 600; }
.form-status.err { color: #b3261e; font-weight: 600; }

/* footer */
.site-footer { background: var(--footer); color: #aaa; font-size: 14px; }
.ftr { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; gap: 16px; flex-wrap: wrap; }
.ftr p { margin: 0; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.social a { color: #ccc; font-size: 22px; }
.social a:hover { color: #fff; text-decoration: none; }

/* phones and small tablets */
@media (max-width: 980px) {
  .hdr { flex-wrap: wrap; min-height: 80px; }
  .logo img { height: 72px; }
  .nav-toggle { display: block; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--accent); content: ""; }
  .nav-toggle span { top: 21px; } .nav-toggle span::before { top: -7px; left: 0; } .nav-toggle span::after { top: 7px; left: 0; }
  .site-nav { display: none; width: 100%; padding-bottom: 12px; border-top: 3px solid var(--accent); }
  .site-nav.open { display: block; }
  .site-nav .menu { display: block; }
  .site-nav .menu > li > a { padding: 10px 4px; border-bottom: 1px solid #eee; }
  .site-nav .has-sub > a::after { display: none; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 0; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .sub-toggle::after { content: ""; position: absolute; left: 18px; top: 15px; width: 8px; height: 8px; border-right: 2px solid #777; border-bottom: 2px solid #777; transform: rotate(45deg); }
  .sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); top: 20px; }
  .site-nav ul ul, .site-nav li:hover > ul, .site-nav li:focus-within > ul { display: none; position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; }
  .site-nav ul ul ul { display: block !important; }
  .site-nav li.open > ul { display: block; }
  .c1_2, .c1_3, .c2_3, .c1_4 { flex-basis: 100%; }
  .entry img.alignright, .entry img.alignleft, .entry .alignright, .entry .alignleft { float: none; display: block; margin: 0 auto 1em; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .page { padding: 32px 0 40px; }
  .entry-title { font-size: 26px; }
  .sec { padding: 36px 0; }
  .ftr { justify-content: center; text-align: center; }
  .logo img { height: 58px; }
}
