/* ==========================================================================
   Leadership Concepts — static rebuild of the Drupal 7 "lc" theme
   Desktop styles reproduce the original; the media queries at the bottom
   add the mobile-friendly behavior.
   ========================================================================== */

/* Fonts ------------------------------------------------------------------ */
@font-face {
  font-family: "CartoGothicStdBook";
  src: url("../fonts/CartoGothicStd-Book.woff") format("woff");
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "CartoGothicStdItalic";
  src: url("../fonts/CartoGothicStd-Italic.woff") format("woff");
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "SofiaPro";
  src: url("../fonts/sofiaprolight.woff") format("woff");
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PerspectiveSansBold";
  src: url("../fonts/persansb.woff") format("woff");
  font-weight: normal; font-style: normal; font-display: swap;
}
/* Cardo (open source) is loaded from Google Fonts in each page's <head>. */

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #e7f3f7 url("../images/bg-page.png") top center repeat-y;
  color: #222;
  font-family: CartoGothicStdBook, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }

a { text-decoration: underline; }
a:link, a:visited { color: #1175b4; }
a:hover, a:focus { color: #000; }

p { margin: 0 0 15px; }
ul, ol { margin: 15px 0; padding-left: 40px; }
blockquote { margin: 1em 40px; }

i, em {
  font-family: CartoGothicStdItalic, Arial, Helvetica, sans-serif;
  font-style: normal;
}

h1, h2 { font-family: SofiaPro, Arial, Helvetica, sans-serif; font-weight: normal; }
h1 { font-size: 28px; line-height: 1.2; margin: 0; padding: 0 0 17px; }
h2 { font-size: 24px; line-height: 1.2; margin: 0.83em 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 50%; top: 0; z-index: 50;
  transform: translate(-50%, -100%);
  background: rgba(0,0,0,.7); color: #fff !important;
  padding: 4px 16px; text-decoration: none;
}
.skip-link:focus { transform: translate(-50%, 0); }

.clearfix::after { content: ""; display: table; clear: both; }

.img-left, .img-right { border: 1px solid #ccc; }
.img-left  { float: left;  margin: 0 15px 10px 0; }
.img-right { float: right; margin: 0 0 10px 15px; }

/* Page container --------------------------------------------------------- */
.page {
  width: 100%;
  max-width: 962px;
  margin: 0 auto;
}

/* Header ----------------------------------------------------------------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.site-logo { display: block; padding: 36px 19px; }
.site-logo img { width: 314px; }

.site-phone {
  color: #0995d0;
  font-family: SofiaPro, Arial, Helvetica, sans-serif;
  font-size: 26px;
  line-height: 24px;
  padding: 36px 19px;
  margin: 0;
  text-align: right;
}
.site-phone a, .site-phone a:link, .site-phone a:visited {
  color: inherit; text-decoration: none;
}

.nav-toggle { display: none; }

/* Main navigation (desktop) --------------------------------------------- */
.main-nav {
  background: #1175b4;
  height: 40px;
  clear: both;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; }
.main-nav > ul > li { position: relative; }

.main-nav a,
.main-nav a:link,
.main-nav a:visited {
  display: block;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav > ul > li > a {
  font-family: PerspectiveSansBold, Arial, Helvetica, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  height: 40px;
  line-height: 40px;
  padding: 0 25px;
}
.main-nav > ul > li:first-child > a { padding: 0 25px 0 28px; }
.main-nav > ul > li:last-child > a  { padding: 0 28px 0 25px; }

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus,
.main-nav > ul > li:hover > a,
.main-nav > ul > li:focus-within > a,
.main-nav > ul > li.active-trail > a { background: #0995d0; }

/* Dropdowns */
.main-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  margin-top: 2px;
  background: #0995d0;
  box-shadow: 0 5px 10px #1175b4;
}
.main-nav li.has-children:hover > .submenu,
.main-nav li.has-children:focus-within > .submenu { display: block; }
.main-nav .coaching .submenu { width: 228px; }
.main-nav .about .submenu    { width: 300px; }

.main-nav .submenu a {
  font-family: CartoGothicStdBook, Arial, Helvetica, sans-serif;
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  padding: 0 25px;
}
.main-nav .submenu a:hover,
.main-nav .submenu a:focus { background: #000; }

/* Breadcrumb ------------------------------------------------------------- */
.breadcrumb {
  background: #0995d0;
  color: #fff;
  font-size: 12px;
  line-height: 21px;
  margin: 0 0 20px;
  padding: 8px 10px;
}
.breadcrumb ol { list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: inline; }
.breadcrumb li + li::before { content: " » "; }
.breadcrumb a, .breadcrumb a:link, .breadcrumb a:visited { color: #fff; }

/* Inner-page layout ------------------------------------------------------ */
.columns {
  display: flex;
  align-items: flex-start;
}
.sidebar {
  order: 1;
  flex: 0 0 25%;
  padding-right: 0;
}
.content {
  order: 2;
  flex: 1 1 75%;
  min-width: 0;
}

.section-nav ul { list-style: none; margin: 0; padding: 0; }
.section-nav a,
.section-nav a:link,
.section-nav a:visited {
  display: block;
  padding: 0 10px;
  line-height: 37.5px;
  text-decoration: none;
  color: #1175b4;
}
.section-nav a:hover,
.section-nav a:focus,
.section-nav a.active { color: #000; }

/* Quote banner (inner pages) */
.quote-banner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  background: #d7e6ec;
  color: #01578e;
  font-family: CardoRegular, Cardo, "Times New Roman", serif;
  font-size: 18px;
  line-height: 21px;
  padding: 15px 15px 13px 20px;
  margin: 0 0 20px;
}
.quote-banner .quote-text { flex: 0 1 280px; }
.quote-banner blockquote {
  font-size: 19px;
  line-height: 1.3;
  margin: 20px 0 0;
}
.quote-banner blockquote p { margin: 0 0 15px; }
.quote-banner figure { flex: 0 0 auto; margin: 0; }
.quote-banner figure img { width: 380px; }

.attribution {
  font-family: CardoItalic, Cardo, serif;
  font-style: italic;
  text-align: right;
  margin: 0;
}

.page-body { margin-bottom: 20px; }

.location {
  font-family: CartoGothicStdItalic, Arial, Helvetica, sans-serif;
  font-size: 13px;
  margin: 0 0 20px;
}

/* Home page -------------------------------------------------------------- */
.hero {
  background: url("../images/bg-home-main.jpg") no-repeat left top;
  height: 381px;
  margin-bottom: 20px;
}
.hero-text {
  font-size: 26px;
  line-height: 1.4;
  width: 554px;
  padding: 100px 0 0 54px;
}
.hero-text p { margin: 0 0 15px; }

.home-blocks {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.home-about {
  width: 470px;
  border-right: 1px solid #b5dff1;
  padding: 15px 25px 0;
}
.home-about .img-left { margin-top: 4px; margin-bottom: 100px; }

.home-quote {
  width: 470px;
  background: url("../images/quote.png") top left no-repeat;
  color: #01578e;
  font-family: CardoRegular, Cardo, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.4;
  padding: 15px 25px;
}
.home-quote blockquote { margin: 20px 0 0; }
.home-quote blockquote p { margin: 0 0 15px; }
.home-quote strong { font-family: CardoBold, Cardo, serif; font-weight: 700; }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  color: #555;
  font-family: SofiaPro, Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 21px;
  padding: 25px 0 10px;
}
.site-footer p { margin: 0 0 15px; }
.footer-menu ul { list-style: none; margin: 0; padding: 0; }
.footer-menu li { display: inline; }
.footer-menu a,
.footer-menu a:link,
.footer-menu a:visited { color: #555; text-decoration: none; padding: 0 0 0 5px; }
.footer-menu li + li a { border-left: 1px solid #ccc; margin-left: 7px; }
.footer-menu a:hover, .footer-menu a:focus { text-decoration: underline; }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Below the original page width: drop the decorative side background
   and give the content a little breathing room. */
@media (max-width: 1049px) {
  body { background: #fff; }
}
/* Tablet and down: hamburger menu, scaled hero, stacked home blocks */
@media (max-width: 959px) {
  .page { padding: 0 16px; }

  .site-header { flex-wrap: wrap; align-items: center; }
  .site-logo { padding: 24px 0 20px; }
  .site-phone { padding: 24px 0 20px; font-size: 22px; }

  .nav-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: #1175b4;
    color: #fff;
    border: 0;
    margin: 0;
    padding: 0 16px;
    height: 44px;
    font-family: PerspectiveSansBold, Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav-toggle:focus-visible { outline: 2px solid #000; outline-offset: -4px; }
  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: transform .2s;
  }
  .nav-toggle-icon::before,
  .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-icon::before { top: -6px; }
  .nav-toggle-icon::after  { top: 6px; }
  .nav-open .nav-toggle-icon { background: transparent; }
  .nav-open .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-icon::after  { transform: translateY(-6px) rotate(-45deg); }

  .main-nav { height: auto; display: none; }
  .nav-open .main-nav,
  .no-js .main-nav { display: block; }
  .main-nav > ul { display: block; border-top: 1px solid rgba(255,255,255,.25); }
  .main-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.25); }
  .main-nav > ul > li > a,
  .main-nav > ul > li:first-child > a,
  .main-nav > ul > li:last-child > a {
    height: auto;
    line-height: 1.3;
    padding: 12px 16px;
    white-space: normal;
  }
  .main-nav > ul > li:hover > a,
  .main-nav > ul > li:focus-within > a { background: none; }
  .main-nav > ul > li.active-trail > a,
  .main-nav > ul > li > a:hover,
  .main-nav > ul > li > a:focus { background: #0995d0; }

  /* Submenus always open, indented under their parent */
  .main-nav .submenu,
  .main-nav .coaching .submenu,
  .main-nav .about .submenu {
    display: block;
    position: static;
    width: auto;
    margin: 0;
    box-shadow: none;
    background: #0d68a1;
  }
  .main-nav .submenu a {
    height: auto;
    line-height: 1.3;
    padding: 10px 16px 10px 32px;
    white-space: normal;
  }

  .hero {
    height: auto;
    aspect-ratio: 962 / 381;
    background-size: cover;
  }
  .hero-text {
    width: 54%;
    padding: 10.4% 0 0 5.6%;
    font-size: clamp(17px, 2.7vw, 26px);
  }

  .home-blocks { display: block; }
  .home-about, .home-quote { width: auto; }
  .home-about { border-right: 0; padding: 15px 0 0; }
  .home-about .img-left { margin-bottom: 10px; }
  .home-quote {
    border-top: 1px solid #b5dff1;
    margin-top: 10px;
    padding: 25px 0 15px;
    background-position: 0 15px;
  }
}

/* Phones */
@media (max-width: 699px) {
  body { font-size: 16px; }

  .site-header { justify-content: center; text-align: center; }
  .site-logo { padding: 20px 0 6px; }
  .site-logo img { width: 280px; }
  .site-phone { width: 100%; text-align: center; padding: 0 0 16px; font-size: 20px; }

  /* Hero: show the photo as a band, text underneath */
  .hero {
    aspect-ratio: auto;
    height: auto;
    background: #eaf4f8;
  }
  .hero::before {
    content: "";
    display: block;
    height: 190px;
    background: url("../images/bg-home-main.jpg") no-repeat right center;
    background-size: auto 100%;
  }
  .hero-text {
    width: auto;
    padding: 18px 16px 6px;
    font-size: 20px;
  }

  /* Inner pages: content first, section menu after */
  .columns { display: block; }
  .sidebar {
    border-top: 1px solid #b5dff1;
    padding-top: 10px;
    margin-bottom: 10px;
  }
  .section-nav a { line-height: 1.3; padding: 9px 0; }

  .quote-banner {
    flex-direction: column-reverse;
    gap: 0;
    padding: 0 0 15px;
  }
  .quote-banner figure,
  .quote-banner figure img { width: 100%; }
  .quote-banner .quote-text { flex: none; padding: 0 16px; }
  .quote-banner blockquote { margin-top: 15px; }

  h1 { font-size: 26px; }
  h2 { font-size: 22px; }

  ul, ol { padding-left: 24px; }
  blockquote { margin: 1em 0 1em 20px; }

  .img-right, .img-left { float: none; display: block; margin: 0 auto 15px; }
  .home-about .img-left { float: left; margin: 4px 15px 10px 0; }

  .site-footer { flex-direction: column-reverse; align-items: center; text-align: center; }
  .footer-menu { margin-bottom: 8px; }
}
