/* Logos Bible School: site styles (rebuilt from the Squarespace design settings) */
@font-face{font-family:'Raleway';font-style:normal;font-weight:500 800;font-display:swap;src:url(/fonts/raleway-latin.woff2) format('woff2')}
@font-face{font-family:'Raleway';font-style:italic;font-weight:500 700;font-display:swap;src:url(/fonts/raleway-latin-italic.woff2) format('woff2')}

:root{
  --white:hsl(40,23%,95%); --black:hsl(0,0%,17%); --accent:hsl(208,24%,54%);
  --lightAccent:hsl(40,17%,86%); --darkAccent:hsl(211,34%,17%);
  --sqs-site-gutter:3vw; --sqs-site-max-width:1800px; --sqs-mobile-site-gutter:6vw;
  --body-font:"Times New Roman",Times,serif;
  --heading-font:"Raleway",sans-serif;
  --button-font:"Helvetica Neue",Arial,sans-serif;
  --step:1.2vw;               /* Squarespace type scale: size = (value - 1) * step + 1rem */
}
@media (max-width:767px){:root{--step:calc(.012 * min(100vh, 900px))}}

/* colour themes (same five as Squarespace) */
.white{--bg:var(--white);--text:var(--black);--link:var(--accent);--btn-bg:var(--accent);--btn-text:var(--white);--btn2:var(--accent)}
.light{--bg:var(--lightAccent);--text:var(--black);--link:var(--accent);--btn-bg:var(--accent);--btn-text:var(--white);--btn2:var(--accent)}
.bright{--bg:var(--accent);--text:var(--white);--link:var(--white);--btn-bg:var(--white);--btn-text:var(--accent);--btn2:var(--white)}
.dark{--bg:var(--darkAccent);--text:var(--white);--link:var(--accent);--btn-bg:var(--accent);--btn-text:var(--white);--btn2:var(--white)}
.black{--bg:var(--black);--text:var(--white);--link:var(--accent);--btn-bg:var(--accent);--btn-text:var(--white);--btn2:var(--white)}

*,*::before,*::after{box-sizing:border-box}
html{font-size:14px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--lightAccent);color:var(--black);font-family:var(--body-font);
  font-size:calc(.1 * var(--step) + 1rem);line-height:1.5;letter-spacing:.01em;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--link)}
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--white);color:var(--black);padding:.6rem 1rem}
.skip:focus{left:1rem;top:1rem}

/* ---------- typography ---------- */
h1,h2,h3,h4,.as-h1,.as-h2,.as-h3,.as-h4{font-family:var(--heading-font);font-weight:500;letter-spacing:0;color:inherit;margin:2rem 0;white-space:pre-wrap}
h1,.as-h1{font-size:calc(5.5 * var(--step) + 1rem);line-height:.936}
h2,.as-h2{font-size:calc(3.2 * var(--step) + 1rem);line-height:1.0464}
h3,.as-h3{font-size:calc(1.5 * var(--step) + 1rem);line-height:1.128}
h4,.as-h4{font-size:calc(.4 * var(--step) + 1rem);line-height:1.1808}
.sqs-html-content{overflow-wrap:break-word}
.sqs-html-content p,.sqs-html-content li{margin:1rem 0;white-space:pre-wrap}
.sqs-html-content>:first-child{margin-top:0}
.sqs-html-content>:last-child{margin-bottom:0}
.sqsrte-large{font-size:calc(.5 * var(--step) + 1rem);line-height:1.5}
.sqsrte-small{font-size:1rem;line-height:1.5}
.sqs-html-content a{color:var(--link)}
.sqs-html-content ul,.sqs-html-content ol{padding-left:40px}
.sqs-html-content li{margin:0}
.sqs-html-content li>p{margin:.5em 0}
blockquote{margin:1rem 0;padding-left:1em}

/* underline-curve highlight on key words */
.hl{background-repeat:no-repeat;background-position:0 96%;background-size:100% .32em;padding-bottom:.08em}
.hl--accent{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M1 7 Q50 1 99 7' fill='none' stroke='%236e8ca6' stroke-width='2.6' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E")}
.hl--white{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M1 7 Q50 1 99 7' fill='none' stroke='%23f5f3ef' stroke-width='2.6' stroke-linecap='square' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E")}

/* ---------- header ---------- */
.site-header{position:absolute;top:0;left:0;right:0;z-index:20;color:var(--text)}
.header-inner{display:flex;align-items:center;padding:1.8vw var(--sqs-site-gutter);gap:2.5vw}
.site-title{font-family:var(--heading-font);font-weight:800;text-transform:uppercase;letter-spacing:.13em;
  font-size:calc(.5 * var(--step) + 1rem);line-height:1.4;color:inherit;text-decoration:none;margin-right:auto}
.header-nav ul{display:flex;gap:2vw;list-style:none;margin:0;padding:0}
.header-nav a{color:inherit;text-decoration:none;font-size:calc(.1 * var(--step) + 1rem);line-height:1.5;
  background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .2s}
.header-nav a:hover,.header-nav a[aria-current=page]{background-size:100% 1px}
.btn.header-cta{font-size:1rem;padding:1rem 1.3rem;border:0;background:var(--btn-bg);color:var(--btn-text)}
.burger{display:none;background:none;border:0;padding:10px;color:inherit;cursor:pointer;width:44px;height:44px;position:relative}
.burger span{position:absolute;left:10px;right:10px;height:1px;background:currentColor;transition:transform .25s}
.burger span:first-child{top:18px}.burger span:last-child{top:25px}
.burger[aria-expanded=true] span:first-child{transform:translateY(3.5px) rotate(45deg)}
.burger[aria-expanded=true] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}
.mobile-menu{position:fixed;inset:0;z-index:-1;background:var(--bg);color:var(--text);display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:3rem;padding:6rem 6vw}
.mobile-menu[hidden]{display:none}
.mobile-menu ul{list-style:none;margin:0;padding:0;text-align:center}
.mobile-menu li{margin:.4em 0}
.mobile-menu a:not(.btn){color:inherit;text-decoration:none;font-size:calc(1.5 * var(--step) + 1rem);line-height:1.6}
body.menu-open{overflow:hidden}
@media (max-width:767px){
  .header-nav,.header-inner>.header-cta{display:none}
  .burger{display:block;width:47px;height:37px;padding:0}
  .burger span{left:6px;right:6px}
  .burger span:first-child{top:13px}.burger span:last-child{top:24px}
  .header-inner{padding:var(--sqs-mobile-site-gutter)}
  .site-title{line-height:1.2}
}

/* ---------- sections ---------- */
.page-section{position:relative;display:flex;flex-direction:column;justify-content:center;background:var(--bg);color:var(--text)}
.section-height--small{min-height:33vh}
.section-height--medium{min-height:66vh}
.section-height--large{min-height:100vh}
.section-height--custom{min-height:var(--custom-height,0)}
.vertical-alignment--top{justify-content:flex-start}
.vertical-alignment--bottom{justify-content:flex-end}
.section-background{position:absolute;inset:0;overflow:hidden;background:var(--bg)}
.section-background img{width:100%;height:100%;object-fit:cover}
.section-overlay{position:absolute;inset:0;background:var(--bg)}
.background-width--inset{padding:var(--sqs-site-gutter)}
.background-width--inset .section-background{inset:var(--sqs-site-gutter)}
.content-wrapper{position:relative;z-index:1;width:100%;padding:3.3vmax 0}
.section-height--medium .content-wrapper{padding:6.6vmax 0}
.section-height--large .content-wrapper{padding:9.9vmax 0}
.section-height--custom .content-wrapper{padding:1vmax 0}
.section-height--custom.pad-0 .content-wrapper{padding:0}
main>.page-section:first-child{padding-top:var(--header-h,97px)}
.content{width:100%}

/* fluid-engine grid blocks (positions come from each page's own layout rules) */
.fe-block{position:relative;min-width:0}
.fe-block>.sqs-block{height:100%;display:flex;flex-direction:column;justify-content:flex-start}
.sqs-block-content{width:100%}
.image-block .sqs-block-content,.image-block .sqs-block-alignment-wrapper{height:100%}
.sqs-block-alignment-wrapper{display:flex}
.fluid-image-container{position:relative;width:100%;height:100%;overflow:hidden}
.fluid-image-container a{display:block;height:100%}
.fluid-image-container img{position:absolute;inset:0;width:100%;height:100%;object-fit:var(--image-component-object-fit,cover);object-position:var(--image-component-focal-point,50% 50%)}
.fluid-image-container.content-fit img{object-fit:contain}
hr{border:0;border-top:1px solid currentColor;margin:0;width:100%;opacity:1}
.hr-block .sqs-block-content{display:flex;align-items:center;height:100%}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;font-family:var(--button-font);
  letter-spacing:.05em;line-height:1.2;border-radius:10px;text-decoration:none;cursor:pointer;border:1px solid transparent;
  font-size:calc(.1 * var(--step) + 1rem);padding:1rem 1.3rem;transition:opacity .15s}
.btn:hover{opacity:.8}
.btn--small{font-size:calc((.1 * var(--step) + 1rem) * .8)}
.btn--large{font-size:calc((.1 * var(--step) + 1rem) * 1.22)}
.btn--primary{background:var(--btn-bg);color:var(--btn-text)}
.btn--secondary,.btn--tertiary{background:transparent;color:var(--btn2);border-color:var(--btn2)}
.btn-wrap{display:flex;width:100%}
.sqs-block-button-container--center{justify-content:center}
.sqs-block-button-container--right{justify-content:flex-end}
.btn-wrap.sqs-stretched,.btn-wrap.sqs-stretched .btn{width:100%;height:100%}
.button-block .sqs-block-content{height:100%}

/* ---------- accordion ---------- */
.accordion{border-top:1px solid currentColor}
.accordion-item{border-bottom:1px solid currentColor}
.accordion-item summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;list-style:none;
  padding:15px 0;font-family:var(--body-font);font-weight:400;font-size:calc(.1 * var(--step) + 1rem);line-height:normal}
.accordion-item summary::-webkit-details-marker{display:none}
.plus{position:relative;width:14px;height:14px;flex:none}
.plus::before,.plus::after{content:"";position:absolute;background:currentColor;left:0;right:0;top:50%;height:1px;transition:transform .2s}
.plus::after{transform:rotate(90deg)}
details[open] .plus::after{transform:rotate(0)}
.accordion-item__description{padding:24px 0 16px;font-size:1rem}
.accordion-item__description.sqsrte-large{font-size:calc(.5 * var(--step) + 1rem)}
.accordion-item__description p{margin:1rem 0;white-space:pre-wrap}
.accordion-item__description p:first-child{margin-top:0}

/* ---------- social icons ---------- */
.social{display:flex;gap:12px;flex-wrap:wrap}
.social-icon-alignment-center{justify-content:center}
.social-icon-alignment-right{justify-content:flex-end}
.social a{color:inherit;display:inline-flex;width:24px;height:24px}
.social-icons-size-medium a{width:30px;height:30px}
.social-icons-size-large a{width:38px;height:38px}
.social svg{width:100%;height:100%;fill:currentColor}

/* ---------- scrolling text banner ---------- */
.marquee{overflow:hidden;width:100%}
.marquee__text{margin:0;white-space:nowrap;font-size:8rem;line-height:1.0625}
.marquee__track{display:inline-block;animation:marquee 40s linear infinite}
@keyframes marquee{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.marquee__track{animation:none}}

/* ---------- form (matches Squarespace form look) ---------- */
.form{display:block;padding:6%}
.form .field,.form fieldset{display:block;border:0;margin:0 0 20px;padding:0;min-width:0}
.form legend,.form .field>label{display:block;padding:0 0 4px;margin:0;line-height:1.5;font-size:calc(.1 * var(--step) + 1rem)}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.form .row label{display:block;font-size:calc(.1 * var(--step) + 1rem);line-height:1.5}
.form .row label input{margin-top:2px}
.form input,.form select,.form textarea{display:block;width:100%;font:inherit;font-size:calc(.1 * var(--step) + 1rem);padding:10px;
  border:1px solid var(--black);border-radius:0;background:var(--bg);color:var(--text);line-height:1.5}
.form select{font-size:1rem;padding-right:32px;min-height:43px}
.form textarea{height:100px;resize:vertical}
.form .lab{display:flex;flex-wrap:wrap;column-gap:.3em}
.form .lab>span{display:block}
.form .req{font-size:1rem;opacity:.7}
.form button{margin-top:0;font-size:calc(.1 * var(--step) + 1rem);padding:1rem 1.3rem;border:0}
.form .hp{position:absolute;left:-9999px}
.form-status{margin:0}

/* footer = normal sections */
.site-footer .page-section:first-child{padding-top:0}

/* desktop/mobile copies of a button */
@media (min-width:768px){.only-mobile{display:none!important}}
@media (max-width:767px){.only-desktop{display:none!important}}

/* keep intentionally blank lines, like the original */
.sqs-html-content :is(p,h1,h2,h3,h4):empty::before{content:"\200b"}
