/* site.css — layout chrome for the static Heroic Life Discipleship demo.
   Rebuilt from the original theme's header / nav / hero / footer rules, made fluid, responsive and accessible.
   Brand palette recovered from the original theme + logo: */
:root {
  --hld-logo-blue: #0079a9;   /* logo shield */
  --hld-logo-orange: #f9a134; /* logo "Discipleship" wordmark */
  --hld-blue: #60b4e3;        /* primary accent: h3, buttons, testimonials */
  --hld-blue-dark: #176083;   /* links */
  --hld-heading: #1c6083;     /* h2 */
  --hld-link-hover: #279fd9;
  --hld-orange: #f08e1a;      /* accents, mailing-list heading, orange bullets */
  --hld-gray-light: #e6e9eb;  /* footer / light boxes */
  --hld-gray-dark: #484546;
  --hld-gray: #949698;
  --hld-header-bg: rgba(0, 0, 0, .8);
  --wrap: 1168px;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { overflow-x: hidden; }
a { text-decoration-skip-ink: auto; }
main article .post-content a:not(.button) { text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--hld-orange); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: #fff; color: var(--hld-blue-dark); padding: .75em 1.25em; font-weight: 700; }
.skip-link:focus { left: 1em; top: 1em; }

/* ---------- header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; height: 80px; background: var(--hld-header-bg); z-index: 900; padding: 10px 20px; }
.header .inner-header { max-width: var(--wrap); margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 30px; }
.header .logo { flex: 0 0 auto; width: 210px; display: block; }
.header .logo img { width: 100%; height: auto; display: block; }
.nav { display: none; margin-left: auto; }
.nav__list { display: flex; flex-wrap: nowrap; margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; margin: 0 15px; list-style: none; display: flex; align-items: center; }
.nav__item > a { color: #d1d2d4; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; font-weight: 400; padding: 8px 0; white-space: nowrap; }
.nav__item > a:hover, .nav__item > a:focus-visible { color: #fff; }
.nav__item.is-current > a { color: #fff; font-weight: 700; }
.sub-toggle { background: none; border: 0; color: #d1d2d4; cursor: pointer; padding: 4px 0 4px 6px; font-size: 12px; }
.nav .sub-menu { display: none; position: absolute; top: 100%; left: -10px; min-width: 200px; margin: 6px 0 0; padding: 0; list-style: none; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.nav .sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav .sub-menu li { margin: 0; background: #fff; }
.nav .sub-menu li a { display: block; padding: 10px 14px; color: #000; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.nav .sub-menu li:hover, .nav .sub-menu li:focus-within { background: var(--hld-blue); }
.nav .has-sub:hover .sub-menu, .nav .has-sub:focus-within .sub-menu, .nav .has-sub.is-open .sub-menu { display: block; }

.nav-mobile-toggle { margin-left: auto; background: none; border: 0; width: 44px; height: 44px; padding: 7px; cursor: pointer; }
.nav-mobile-toggle svg { width: 100%; height: 100%; fill: #e7e7e7; }
.nav-mobile { position: fixed; top: 80px; right: 0; width: min(300px, 100%); height: calc(100vh - 80px); overflow-y: auto; background: var(--hld-gray-dark); z-index: 899; }
.nav-mobile[hidden] { display: none; }
.nav-mobile__list, .nav-mobile .sub-menu { list-style: none; margin: 0; padding: 0 30px; }
.nav-mobile .sub-menu { padding: 0 0 0 1em; width: 100%; }
.nav-mobile__item { margin: 0; display: flex; flex-wrap: wrap; align-items: center; }
.nav-mobile__item > a { flex: 1; }
.nav-mobile li { margin: 0; }
.nav-mobile a { display: block; font-size: 20px; color: #e7e7e7; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-mobile .sub-menu a { font-size: 18px; padding: 10px 0; }
.nav-mobile .sub-toggle { display: none; }
.nav-mobile a[aria-current="page"] { color: #fff; font-weight: 700; }
@media (min-width: 992px) {
  .nav { display: block; }
  .nav-mobile-toggle, .nav-mobile { display: none !important; }
}
@media (max-width: 767px) { .header .logo { width: 160px; } }

/* ---------- hero / content header ---------- */
.content-header { display: block; height: auto; min-height: 300px; width: 100%; background-color: var(--hld-logo-blue); background-position: center; background-size: cover; background-repeat: no-repeat; position: relative; }
.content-header.darken::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.content-header .content-header-inner { position: relative; }
.content-header .content-header-inner { max-width: 968px; width: auto; margin: 0 auto; padding: 120px 20px 40px; }
.content-header .content-header-inner h1 { color: #fff; font-size: 3em; margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.content-header.home { min-height: 550px; }
.content-header.home .content-header-inner { display: flex; align-items: center; gap: 30px; padding-top: 140px; }
.content-header.home .copy { flex: 1 1 55%; }
.content-header.home .copy h1 { font-size: 3em; line-height: 1.15; }
.content-header.home .hero-sub { color: #fff; font-size: 1.5em; line-height: 1.4; font-weight: 300; margin: .8em 0; max-width: none; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.content-header.home .copy .button-container { text-align: left; padding-left: 0; }
.content-header.home .copy .button-container .button { margin-left: 0; }
.content-header.home .ebook { flex: 0 0 38%; text-align: center; }
.content-header.home .ebook img { max-height: 340px; width: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)); }
@media (max-width: 767px) {
  .content-header .content-header-inner h1 { text-align: center; font-size: 2em; }
  .content-header.home { min-height: 480px; }
  .content-header.home .content-header-inner { display: block; text-align: center; }
  .content-header.home .copy h1 { font-size: 2.1em; }
  .content-header.home .hero-sub { font-size: 1.15em; }
  .content-header.home .copy .button-container { text-align: center; }
  .content-header.home .ebook { display: none; }
}

/* ---------- main ---------- */
main.site-main, main { width: auto !important; padding: 0 !important; margin: 0; }
main.site-main:focus { outline: none; }
.main-inner { max-width: var(--wrap); margin: 0 auto; padding: 40px 20px; }
.home .main-inner { padding-bottom: 0; }
.content-blocks > * { max-width: 100%; }
main article .post-content { margin-left: auto; margin-right: auto; max-width: 1000px; }
/* original fixed-width inner boxes -> fluid */
.overview-box .overview-box-inner, .fd-box .fd-box-inner, .testimonials-box .testimonials-box-inner, .about-us-box .about-us-box-inner,
.fd-imagine-box .fd-imagine-box-inner, .fd-help-box .fd-help-box-inner, .fd-ss-box .fd-ss-box-inner, .author-block .author-block-inner,
.curriculum-blurb .curriculum-blurb-item, div.contact-us .inner-contact-us, .semester .semester-inner, .semester .semester-header,
.training-overview, .workshop-tracks .track-inner, .signup {
  max-width: 1168px; width: auto !important; margin-left: auto; margin-right: auto; }
.semester .semester-inner, .semester .semester-header, .semester .semester-body { box-sizing: border-box; }
a.button { min-width: 0; max-width: 100%; transition: background-color .15s, color .15s, opacity .15s; }
a.button[class*="button-outline"]:hover, a.button[class*="button-outline"]:focus-visible { background: rgba(255,255,255,.12); }
a.button.button-solid-blue3:hover, a.button.button-solid-blue3:focus-visible { opacity: .9; color: #fff; }
a.button:not([class*="button-"]) { color: #fff; background: var(--hld-blue); }
.video-container { max-width: 700px; margin: 1em auto 1.5em; }
.fdc-training-video .video-container { max-width: none; }
table { border-collapse: collapse; }
.semester-table { width: 100%; }
@media (max-width: 767px) { .semester .semester-body { overflow-x: auto; } }
.form-replaced { text-align: center; }

/* contact boxes / page */
div.contact-us { padding: 40px 20px; }
div.contact-us .inner-contact-us { text-align: center; }
div.contact-us .contact-email .button { text-transform: none; }
.contact-card { max-width: 560px; margin: 2em auto; padding: 2em; border: 3px solid var(--hld-blue); text-align: center; }
.contact-card__label { text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: var(--hld-orange); margin: 0; }
.contact-card__email { font-family: "Roboto Slab", serif; font-size: 1.5em; margin: .3em 0 1em; word-break: break-word; }
.contact-social { text-align: center; }

/* free ebook */
.ebook-download { display: flex; gap: 30px; align-items: center; max-width: 700px; margin: 2em auto; padding: 2em; background: var(--hld-gray-light); }
.ebook-download .ebook-cover { width: 160px; flex: 0 0 auto; }
.ebook-download h3 { margin-top: 0; }
.ebook-download .button-container { text-align: left; padding: 0; }
.ebook-download .button { margin: 0 0 1em; }
@media (max-width: 600px) { .ebook-download { flex-direction: column; text-align: center; } .ebook-download .button-container { text-align: center; } }

/* ---------- blog index ---------- */
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 30px; }
.blog-filter button { font: inherit; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; border: 1px solid var(--hld-blue); background: #fff; color: var(--hld-blue-dark); padding: 6px 12px; cursor: pointer; }
.blog-filter button span { color: var(--hld-gray); }
.blog-filter button.is-active, .blog-filter button:hover { background: var(--hld-blue); color: #fff; }
.blog-filter button.is-active span, .blog-filter button:hover span { color: #e8f4fb; }
.blog-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.blog-card { margin: 0; background: #fff; border: 1px solid #e3e6e8; display: flex; flex-direction: column; transition: box-shadow .15s; }
.blog-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.blog-card[hidden] { display: none; }
.blog-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hld-gray-light); }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__noimg { width: 100%; height: 100%; background: linear-gradient(135deg, var(--hld-logo-blue), var(--hld-blue)); }
.blog-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.blog-card__meta { margin: 0 0 .4em; font-size: 13px; text-transform: uppercase; font-weight: 700; color: var(--hld-blue); }
.blog-card__cats { color: var(--hld-orange); font-weight: 400; margin-left: .5em; }
.blog-card__title { font-size: 1.35em; line-height: 1.3; margin: 0 0 .4em; max-width: none; }
.blog-card__title a { color: var(--hld-heading); }
.blog-card__title a:hover { color: var(--hld-link-hover); }
.blog-card__excerpt { margin: 0 0 1em; color: #333; flex: 1; }
.blog-card__author { margin: 0; font-size: 13px; text-transform: uppercase; color: var(--hld-gray-dark); letter-spacing: .5px; }

/* ---------- single post ---------- */
article.post { max-width: 1000px; margin: 30px auto 0; }
article.post .heading-post { font-size: 2.6em; line-height: 1.2; color: var(--hld-heading); max-width: 700px; margin: 0 auto .3em; }
article.post .meta { max-width: 700px; margin: 0 auto 2em; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
article.post .meta .meta-author { float: none; margin: 0; }
article.post .featured-blog-image { max-width: 1000px; margin: 0 auto 40px; }
article.post .featured-blog-image img { width: 100%; height: auto; }
article.post .post-content img { height: auto; }
article.post .post-content blockquote { border-left: 4px solid var(--hld-blue); margin: 1.5em auto; padding: .2em 1.2em; color: #333; font-style: italic; max-width: 700px; }
.author-bio { max-width: 700px; margin: 3em auto 0; padding: 1.5em 2em; background: var(--hld-gray-light); }
.author-bio h2 { font-size: 1.2em; margin: 0 0 .3em; }
.author-bio p { margin: .4em 0; }
.topic-list { max-width: 700px; margin: 2em auto 0; }
.post-nav { max-width: 700px; margin: 3em auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid #ddd; padding-top: 1.5em; }
.post-nav a { display: block; color: var(--hld-heading); font-family: "Roboto Slab", serif; }
.post-nav a span { display: block; font-family: Lato, sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--hld-blue); margin-bottom: .3em; }
.post-nav__next { text-align: right; }
.back-to-blog { max-width: 700px; margin: 2em auto 0; }
@media (max-width: 767px) { article.post .heading-post { font-size: 1.8em; } .post-nav { grid-template-columns: 1fr; } .post-nav__next { text-align: left; } }

/* ---------- footer ---------- */
.footer { background: var(--hld-gray-light); padding: 40px 20px 20px; }
.footer .inner-footer { max-width: 1068px; width: auto; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 0 11%; }
.footer .footer-quote { grid-column: 1 / -1; width: auto; max-width: 860px; margin: 0 auto 20px; padding: 0; font-style: italic; text-align: center; color: #333; }
.footer .footer-quote cite { font-style: normal; white-space: nowrap; }
.footer .footer-left { width: auto; float: none; margin: 0 0 30px; }
.footer .footer-left ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.footer .footer-left li { margin: .4em 0; font-size: .9em; }
.footer .footer-right { border-top: 1px solid var(--hld-gray-dark); width: auto; float: none; padding-top: 10px; }
.footer .footer-icons { display: flex; gap: 10px; margin-top: 10px; }
.footer .footer-icons img { width: 32px; height: 32px; }
.footer .mailing-list-heading { display: block; text-transform: uppercase; font-weight: 700; color: var(--hld-orange); letter-spacing: 1px; margin-top: 24px; font-size: 16px; }
.footer .mailing-list p { margin: .4em 0 0; }
.footer .copyright { grid-column: 1 / -1; font-size: .8em; margin-top: 30px; }
@media (min-width: 992px) {
  .footer .inner-footer { grid-template-columns: 1fr 1fr; }
  .footer .footer-left ul { margin-top: 40px; }
}

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

/* fluid version of the original fixed-width grid */
.grid-container { width: auto !important; max-width: 1008px; margin-left: auto; margin-right: auto; }
.fdc-training-video iframe { border: 0; }
.social-media-icon-row { margin-bottom: 1em; }
.no-hero .main-inner { padding-top: 110px; }
.topic-list span { margin-right: .5em; }
.topic-list ul { padding-left: 0; }
.grid-container .grid-item-half { min-width: 0; flex: 1 1 45%; }
