/* Gary Shaw Life - complete Additional CSS replacement */


/* Buttons */

.contact-form input[type="submit"],
.contact-form button[type="submit"],
.contact-form .wp-block-button__link {
  background: #143149 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}


/* Hide WordPress action bar */

#actionbar {
  display: none !important;
}


/* Global typography */

body,
p,
li,
a,
button,
input,
select,
textarea,
label {
  font-family: "Manrope", Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.site-title a,
.entry-title,
.entry-title a {
  font-family: "Newsreader", Georgia, serif !important;
  font-weight: 500;
}

blockquote,
blockquote p {
  font-family: "Newsreader", Georgia, serif !important;
}


/* Testimonials and Contact: shared page alignment */

.page-id-389 .entry-content,
.page-id-38 .entry-content {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}


/* Contact page headings */

.page-id-38 .entry-content > h2 {
  margin-top: 56px;
  margin-bottom: 20px;
}

.page-id-38 .entry-content > h2:first-child {
  margin-top: 0;
}


/* Contact form panel */

.page-id-38 #contact-form-38 {
  background: #1e1e1e;
  border: 1px solid #565656;
  padding: 30px;
  margin: 28px 0 0;
}

.page-id-38 .contact-form form > br {
  display: none;
}

.page-id-38 .grunion-field-wrap {
  margin-bottom: 20px;
}

.page-id-38 .contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.page-id-38 .contact-form input[type="text"],
.page-id-38 .contact-form input[type="email"],
.page-id-38 .contact-form textarea {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  background: #ffffff;
  color: #1e1e1e;
  border: 1px solid #8a8a8a;
  border-radius: 3px;
  padding: 12px;
}

.page-id-38 .contact-form textarea {
  min-height: 190px;
}

.page-id-38 .contact-submit {
  margin-bottom: 0;
}

@media screen and (max-width: 600px) {
  .page-id-38 #contact-form-38 {
    padding: 22px 18px;
  }
}


/* Coaching page: remove stray grid bullets */

.page-id-580 .entry-content ul[style*="display: grid"],
.page-id-580 .entry-content ul[style*="display: grid"] > li {
  list-style: none !important;
}

.page-id-580 .entry-content ul[style*="display: grid"] > li::marker {
  content: "";
}


/* Testimonials: improve long-form readability */

.page-id-389 blockquote,
.page-id-389 blockquote p,
.page-id-389 blockquote footer {
  font-style: normal;
}


/* Internal-page featured images */

@media screen and (min-width: 768px) {
  body.page:not(.home) .single-featured-image-header img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
  }

  body.page-id-389 .single-featured-image-header img,
  body.page-id-38 .single-featured-image-header img {
    object-position: center top !important;
  }
}


/* Contact form confirmation message */

.page-id-38 .contact-form-submission h4 {
  font-size: 0 !important;
}

.page-id-38 .contact-form-submission h4::after {
  content: "Thank you for your message.";
  display: block;
  font-family: "Newsreader", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
}

@media screen and (max-width: 600px) {
  .page-id-38 .contact-form-submission h4::after {
    font-size: 2rem;
  }
}


/* Visually hide WordPress's theme-generated page titles */

body.page:not(.twentyseventeen-front-page)
.site-main > article.page > .entry-header,

body.twentyseventeen-front-page
.site-main > article.page > .panel-content > .wrap > .entry-header {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Highlight the current menu page */

.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a,
.navigation-top a[aria-current="page"],
body.home .navigation-top #menu-item-10 > a {
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: inset 0 -3px 0 #8aa3b5;
}


/* Centred, compact footer */

.site-footer .widget-column.footer-widget-1 {
  float: none !important;
  width: 100% !important;
}

.site-footer .widget-area {
  padding: 1.25em 0 0.75em;
  text-align: center;
}

.site-footer .widget-area .widget {
  padding-bottom: 0;
}

.site-footer .footer-widget-1 .widget_block > div {
  padding: 0 16px !important;
}

.site-footer .site-info {
  float: none !important;
  width: 100% !important;
  padding-top: 0;
  text-align: center;
}


/* Homepage: shorter opening banner */

body.home.twentyseventeen-front-page.has-header-image .custom-header {
  display: block;
  height: auto !important;
  min-height: 0 !important;
}

body.home.twentyseventeen-front-page.has-header-image .custom-header-media {
  position: relative;
  height: clamp(260px, 34vh, 340px) !important;
  min-height: 0 !important;
  max-height: none;
}

body.home.twentyseventeen-front-page.has-header-image .custom-header-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  padding: 0;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

body.home.twentyseventeen-front-page.has-header-image .site-branding {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  padding: 24px 0;
}


/* Homepage: bring the introduction closer to the navigation */

body.home .site-main > article.page:first-child > .panel-content > .wrap {
  padding-top: 40px;
}


/* Homepage: anchor spacing and keyboard focus */

#gsl-home [id] {
  scroll-margin-top: 100px;
}

#gsl-home a:focus-visible {
  outline: 2px solid #8aa3b5;
  outline-offset: 5px;
}


/* Homepage: consultation button interaction */

#gsl-home a.gsl-button:hover,
#gsl-home a.gsl-button:focus-visible {
  background: #214c67 !important;
  color: #ffffff !important;
}


/* Homepage: smaller screens */

@media screen and (max-width: 767px) {
  body.home.twentyseventeen-front-page.has-header-image .custom-header-media {
    height: 240px !important;
  }

  body.home.twentyseventeen-front-page.has-header-image .site-branding {
    margin-bottom: 0 !important;
    padding: 20px 0;
  }

  body.home .site-main > article.page:first-child > .panel-content > .wrap {
    padding-top: 28px;
  }
}