/*
Theme Name: JLL Solstice
Template: twentytwentyfour
*/

/* Global Styles */

html {
  overflow-x: hidden;
}

body {
   -webkit-font-smoothing: antialiased;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: auto;
}

@media (max-width: 980px) {
  .entry-content h2 {
    font-size: 3rem !important;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1rem;
  }

}

.entry-content .is-layout-constrained>.alignwide {
  max-width: 1428px;
}

@media (max-width: 820px) {
  h1.has-xx-large-font-size {
    font-size: 2rem!important;
    line-height: 2.875rem;
  }

  h2 {
    font-size: 2.625rem;
  }
}

.meet-the-startups p {
  font-size: 1.125rem!important;
  line-height: 1.625rem!important;
}

div.foundation-leadership>h2,
div.get-in-touch>h2 {
  font-size: 2.625rem;
  line-height: inherit;
}

@media (max-width: 576px) {
  div:not(.foundation-leadership)>h2 {
    font-size: 1.625rem;
    line-height: 2rem;
  }

  .entry-content .wp-block-group p {
    margin-top: 0;
  }

}

.entry-content .is-layout-constrained>.alignwide {
    max-width: 1428px;
}

/* Global container padding */

@media (max-width: 820px) {
.entry-content.has-global-padding {
    padding-right: 15px;
    padding-left: 15px;
  }
  .entry-content.has-global-padding .has-global-padding {
    padding-right: 0;
    padding-left: 0;
  }
}

/* Header */
@media (max-width: 600px) {
  header .custom-logo {
    width: 170px;
  }

  header .tab.menu-item a {
    padding: .5rem;
  }
}


/* Footer Styles */

.wp-block-navigation.dividers-accent-nine {
  padding-top: 10px
}
.wp-block-navigation.dividers-accent-nine .wp-block-navigation-item {
  border-right: 1px solid #989898;
  padding-right: 10px;
}
.wp-block-navigation.dividers-accent-nine .wp-block-navigation-item:last-child {
  border:none;
}


.wp-block-media-text__content h2, .wp-block-media-text__content h3,
.wp-block-columns:not(.cards-row) h2, .wp-block-columns:not(.cards-row) h3 {
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 2rem;
  letter-spacing: -.0025em;
  padding-bottom: .625rem;
  font-family: "Source Sans Pro Regular", Helvetica, sans-serif;
  margin: 0;
}


/* Remove underline from text links */
.wp-block-post-content .has-link-color a {
  text-decoration: none;
}

.wp-block-media-text__content h1,
.wp-block-columns:not(.cards-row) h1 {
  font-weight: 400;
  font-size: 4.25rem;
  line-height: 4.75rem;
  border: 0;
  margin: 0;
  padding-bottom: 1rem;
  font-family: "Source Sans Pro Light", sans-serif;
}

.wp-block-media-text__content p, .wp-block-columns p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0;
}

.wp-block-media-text__content .wp-block-button a,
.wp-block-columns:not(.cards-row) > .wp-block-button > a {
  font-size: 1rem;
  height: 44px;
  border-radius: 6px;
  padding: .5625rem 1rem;
  font-weight: 600;
  font-family: "Source Sans Pro Semibold", Helvetica, sans-serif;
  position: relative;
  padding-right: 2.625rem;
}

.wp-block-media-text__content .wp-block-button a:after,
.wp-block-columns:not(.cards-row) > .wp-block-button > a:after {
  content: "";
  background-image: url(./assets/images/right-arrow-white.svg);
  background-repeat: no-repeat;
  height: 20px;
  /*position: absolute;*/
  right: 16px;
  top: auto;
  width: 20px;
  /*margin-top: 4px;*/
}

  footer .footer-nav ul.wp-block-navigation__container li a {
    font-size: 14px;
  }

@media (max-width: 1199px) {
  footer .has-global-padding {
    padding-right: 15px;
    padding-left: 15px;
  }

  footer .wp-block-column .is-layout-flex {
    flex-wrap: nowrap;
  }
}

@media (max-width: 1199px) {
  footer .has-global-padding {
    padding-right: 15px;
    padding-left: 15px;
  }

  footer .wp-block-column .is-layout-flex {
    flex-wrap: nowrap;
  }
}

@media (max-width: 820px) {
  footer .wp-block-columns  {
    flex-wrap: nowrap !important;
    padding-left: 0!important;
    padding-right: 0!important;
  }

  footer .wp-block-columns .footer-logo img  {
    object-fit: contain;
  }

  footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: auto!important;
  }
}

@media (max-width: 768px) {

  footer .has-global-padding {
    padding-left: 70px;
    padding-right: 30px;
  }

  footer .footer-nav > .wp-block-group:first-child {
    display: block;
    column-count: 2;
    position: relative;
  }

  footer .wp-block-social-links {
    position: absolute;
    top: 0;
    right: 0;
  }

  footer .footer-nav ul.wp-block-navigation__container li a {
    font-size: 14px;
  }

  footer .footer-nav > .wp-block-group:first-child  > .wp-block-group:first-child {
    padding-bottom: 1rem;
  }

  footer .is-style-with-divider .wp-block-navigation-item__content:after {
    content: "\00a0|";
    padding-inline-start: 0.1rem!important;
  }

  footer .wp-block-navigation:has(li.is-style-with-divider) {
    gap: 4px!important;
  }
}

@media (max-width: 576px) {
  footer .footer-nav > .wp-block-group:first-child {
    display: none;
  }
  footer > .wp-block-group > .wp-block-columns {
    display: block!important;
  }

  footer .footer-legal {
    padding-top: .5rem;
  }
}

/* Buttons */
.wp-block-button.is-style-forward-arrow .wp-block-button__link,
.wp-block-button.is-style-forward-arrow--inverted .wp-block-button__link,
.wp-block-button.is-style-forward-arrow--blue {
  display: flex;
  align-items: center;
}

.wp-block-button.is-style-forward-arrow .wp-block-button__link::after {
  content: "";
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  background: url(./assets/images/right-arrow.svg) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-left: 0.5em;
}

.wp-block-button.is-style-forward-arrow--inverted .wp-block-button__link::after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url(./assets/images/right-arrow-white.svg) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-left: 0.5em;
}

.wp-block-button.is-style-forward-arrow--blue .wp-block-button__link::after {
  content: "";
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  background: url(./assets/images/right-arrow-blue.svg) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-left: 0.5em;
}


.wp-block-buttons .wp-block-button .wp-block-button__link.has-base-2-background-color:hover {
  background-color: rgba(237, 243, 244, 0.9) !important;
}

/* Feature Banner 1 */

@media (max-width: 600px) {
  .featured-banner {
    padding-top: 0!important;
  }

  .featured-banner .wp-block-button__link {
    padding-right: 20px!important;
    padding-left: 20px!important;
    height: auto!important;
  }
}

/* stats */

@media screen and (min-width: 521px) and (max-width: 980px) {
  .stats .wp-block-columns .wp-block-column:first-child {
    flex-basis: 100% !important;
    padding-bottom: 1rem!important;
  }

  .stats .wp-block-columns .wp-block-column:not(:first-child) {
    flex-basis: calc(33.33% - 20px)!important;
  }

  .wp-block-columns {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 520px) {
  .stats .wp-block-columns .wp-block-column:first-child {
    padding-bottom: 2rem!important;
    padding-left: 40px;
    padding-right: 40px;
  }

  .stats .wp-block-columns .wp-block-column:not(:first-child) {
   text-align: center!important;
  }

  .stats .wp-block-columns .wp-block-column:not(:first-child) p {
    width: 72%;
    margin:0 auto;
    line-height: 24px!important;
   }

   .stats .wp-block-columns .wp-block-column:not(:first-child) h2 {
    font-size: 40px!important;
  }
}

@media (max-width: 400px) {
  .stats .wp-block-columns .wp-block-column:first-child {
    padding-left: 15px;
    padding-right: 15px;
  }
}


/* Subscribe Banner */

.subscribe-banner figure img {
  height: 360px;
  object-fit: cover;
}

@media screen and (min-width: 601px) and (max-width: 1023px) {
  .subscribe-banner h2 {
    margin-top: 0;
  }
  .subscribe-banner figure img {
    height: 300px;
    object-fit: cover;
  }
}

@media (max-width: 600px) {
  .subscribe-banner figure img {
    height: 300px;
    object-fit: cover;
  }

}

@media (max-width: 768px) {
  .subscribe-banner h2 {
    font-size: 40px !important;
  }
}

/* Cards Grid */

.cards-grid > .wp-block-column {
  border-radius: 6px;
}

.cards-grid > .wp-block-column > .wp-block-group {
  position: relative;
  padding-bottom: 5rem!important;
  height: 100%;
  border-radius: 6px;
}

@media (max-width: 620px) {
  .cards-grid > .wp-block-column > .wp-block-group {
    padding-top: 2rem !important;
  }
}

.cards-grid > .wp-block-column > .wp-block-group .cards-read-more .wp-block-button__link {
  position: absolute;
  z-index: 5;
  background: none!important;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  height: 100%;
  text-indent: -9999px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding-bottom: 1.25rem;
}

.cards-grid > .wp-block-column > .wp-block-group .cards-read-more .wp-block-button__link::after {
  content: "";
  width: 16px;
  height: 16px;
}

.cards-grid > .wp-block-column > .wp-block-group:hover {
  background: #09779E;
  color: white;
}

.cards-grid > .wp-block-column > .wp-block-group:hover * {
  color: white;
}

.cards-grid > .wp-block-column > .wp-block-group:hover .wp-block-button__link::after {
  content: "";
  background: url(./assets/images/right-arrow-white.svg) no-repeat!important;
}



.cards-grid > .wp-block-column > .wp-block-group:hover .wp-block-button__link::after {
  content: "";
  background-image: url(./assets/images/right-arrow-white.svg)!important;
  background-size: no-repeat!important;
  background-position: -5px -4px !important;
}



/* Remove default margins on blocks */
.wp-site-blocks > footer {
  margin-block-start: 0 !important;
}

.wp-block-post-title {
  display: none;
}

.wp-block-post .wp-block-post-title {
  display: block;
}

.has-source-sans-light-font-family {
  font-weight: 300;
}

.paragraph-large {
  font-size: 32px;
}

footer.wp-block-template-part .wp-block-site-logo img {
  min-width: 150px
}

/* Pill Overlay */

.pill-overlay mark {
  border-radius: 100px;
  padding: 6px 12px;
}

/* Portfolio */

.facetwp-template .fwpl-result {
  border: 1px solid rgba(0, 62, 81, .25);
  border-radius: 1.25rem;
  overflow: hidden;
}

.facetwp-template .post-thumbnail {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 171px;
  border-bottom: 1px solid #cdcfcf;
  position: relative;
}

.facetwp-template .post-thumbnail .pill-overlay {
  position: absolute;
  right: 1rem;
  top: .5rem;
  margin-top: .5rem;
}

.facetwp-template .post-thumbnail img {
  max-height: 120px;
  max-width: 12.105rem;
  height: auto;
}

.facetwp-template .post-content {
  padding: .75rem 1.5rem;
  border-radius: 0 0 1.25rem 1.25rem;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.625rem;
}

.facetwp-template .post-content p {
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: .25rem;
}

.facetwp-template .post-link {
  padding: .75rem 1.5rem;
  font-weight: 600;
}

.facetwp-template .post-link:after {
  content: "";
  background-image: url(./assets/images/arrow-right.svg);
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: 100%;
  position: relative;
  top: 3px;
  margin-left: 5px;
}

.facetwp-type-checkboxes {
  display: flex;
  flex-wrap: wrap;
}
.facetwp-facet-portfolio .facetwp-checkbox {
  background: 0 0;
  border-radius: 33px;
  border: 1px solid rgba(19, 30, 41, .25);
  height: auto;
  line-height: 32px;
  font-size: 1.125rem;
  margin: 0 .5rem .75rem 0;
  padding: 0 .75rem;
}

.facetwp-display-value {
  padding-right: 0;
}

.facetwp-facet-portfolio .facetwp-checkbox  .facetwp-counter {
  display: none;
}

.facetwp-checkbox.checked {
  background-image: none!important;
  background-color: black;
  color: white;
}

.facetwp-reset {
  background: none;
  padding: 5px 8px 5px 0;
  color: #131e29;
  border: 0;
  font-size: 1.125rem;
  line-height: 1.5rem;
  font-weight: 600;
}

.facetwp-reset:hover {
  cursor: pointer;
  border: none;
}

.facetwp-reset:focus {
  outline: none;
}

.facetwp-reset:after {
  content: "";
  background: url(./assets/images/close.svg) no-repeat;
  display: inline-block;
  width: .65625rem;
  height: .65625rem;
  margin-left: .46875rem;
}

.facet-selections {
  display: none;
  margin: 0;
}


.facet-selections ul {
  margin: 0!important;
  padding: .5rem 0 0 .85rem!important;
}

.facet-selections ul li {
  font-size: 1.125rem;
}

.facetwp-selections .facetwp-selection-value:after {
  content: ", ";
}

@media (max-width: 820px) {

  .facet-selections {
    display: block;
  }

  .facet-header {
    display: block!important;
  }

  .facet-header > .wp-block-column:first-child {
    padding-bottom: 1rem;
  }

  .fwpl-layout.portfolio-gallery {
    grid-template-columns: repeat(2, 1fr)!important;
    grid-gap: 30px!important;
  }

  .facetwp-facet-portfolio {
    display: block!important;
    height: 0;
    overflow: hidden;
    margin: 0!important;
  }
  .facetwp-facet-portfolio.show {
    height: auto;
  }
  .facetwp-facet-portfolio .facetwp-checkbox {
    background: #131e29 url(./assets/images/checkbox.svg) 96% 50% no-repeat;
    background-size: 22px;
    border-radius: 0;
    border: 0;
    font-size: .833rem;
    margin: 0 0 .1rem;
    padding: 1rem;
    color: #d9d8d8;
    line-height: 23px;
    height: auto;
  }

  .facetwp-facet-portfolio .facetwp-checkbox.checked {
    border: 0;
    color: #d9d8d8;
    background: #131e29 url(./assets/images/checked.svg) 96% 50% / 22px no-repeat !important;
  }
  .facet-header .select-dropdown {
    background: #131e29;
    display: flex;
    padding: 1rem .9rem;
    color: #d9d8d8;
    position: relative;
    font-size: .833rem;
    border-radius: 10px;
    border-bottom: 1px solid #000;
    line-height: 1;
  }

  .facet-header .select-dropdown.active {
    border-radius: 0;
  }
  .facet-header .select-dropdown:after {
    content: "";
    display: block;
    background: url(./assets/images/carat-down.svg) 100% 50% no-repeat;
    background-size: 1rem;
    height: 1.15rem;
    width: 1.25rem;
    position: absolute;
    right: .8rem;
    top: auto;
  }
}

@media (max-width: 480px) {
  .fwpl-layout.portfolio-gallery {
    grid-template-columns: repeat(1, 1fr)!important;
    grid-gap: 30px!important;
  }
}

/* Leadership */

.wp-block-query .leadership .wp-block-post-terms {
  font-style: italic;
}

.wp-block-query .leadership .wp-block-post-terms .wp-block-post-terms__separator {
  display: block;
  text-indent: -9999px;
  height: 1px;
}

.modal-query .modal-category .wp-block-post-terms__separator {
  display: block;
  text-indent: -9999px;
  height: 1px;
}


/* Solstice Patterns */

.button-with-arrow strong {
  display: inline-flex;
}
.button-with-arrow strong > img {
  display: flex;
}
.button-with-arrow strong img {
  margin-left: 5px;
}
.cards-row-content {
  padding: 2rem 3.2rem 0 3.2rem;
}

.cards-row .wp-block-column>.wp-block-image img {
  border-radius: 6px;
}

.cards-row-content .wp-block-button__link {
  margin-top: 1rem;
  font-size: 1rem;
}

.cards-row-column {
  display: flex;
  align-items: center;
  border-radius: 6px;
}

.cards-row .wp-block-button__link {
  display: flex;
  align-items: center;
}

.cards-row .wp-block-button__link img {
  margin-left: 12px;
}

.cards-row .cards-row-content h3 {
  font-size: 48px;
}

.cards-row .cards-row-content p {
  font-size: 24px;
}

@media (max-width: 768px) {
  .cards-row-content {
    padding: 3rem;
  }

  .cards-row {
    display: block;
  }

  .cards-row .wp-block-media-text__content {
    padding: 40px;
    min-height: 200px;
  }

  .cards-row .cards-row-content h3 {
    font-size: 32px;
  }

  .cards-row .cards-row-content p {
    font-size: 20px;
  }

  .cards-row .wp-block-media-text__content h3 {
    margin-bottom: 1rem;
  }

  .cards-row .wp-block-media-text__media {
    border-top: 15px solid white;
  }
}

.hero {
  position: relative;
  min-height: 400px;
  padding-top: 5rem;
}

.hero-header h1 {
  font-size: 4.75rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .hero-header h1 {
    font-size: 3.75rem;
 }
}

@media (max-width: 520px) {
  .hero-header h1 {
  font-size: 3rem;
 }
}

.hero .hero-header {
  padding-bottom: 5rem;
}

.hero .hero-main {
  position: relative;
  margin: 0 auto !important;
  min-height: 600px;
  z-index: 1;
}

.hero .hero-main h3 {
  font-size: 32px;
  padding-bottom: 1.3rem
}

.hero .hero-main p {
  font-size: 24px;
}

.hero-main .wp-block-column:first-child {
  background-color: #f8f9fa;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  right: 42%;
  width: 100%;
}

.hero-main .wp-block-column:nth-child(2) {
  width: 42%;
  margin-left: 58%;
}

.hero-main figure {
  height: 600px;
}

.hero-main figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero-text {
  padding-bottom: 100px;
  padding-left: 10rem;
}

.hero .wp-block-media-text {
  position: relative;
}

.hero .wp-block-media-text__media {
  position: relative;
  z-index: 1;
}

.hero:after {
  background: white;
  content: "";
  position: relative;
  bottom: 0;
  width: 100%;
  height: 80px;
  display: block;
  z-index: 0;
  margin-top: -80px;
}

@media (max-width: 1023px) {
  .hero .hero-main {
    min-height: 350px;
  }

  .hero-main figure {
    height: 350px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-main {
    margin: 0 !important;
    max-width: 100% !important;
    display: block !important;
  }

  .hero .hero-header {
    padding: 0 3rem 2rem 3rem;
  }

  .hero-main .wp-block-column:first-child {
    position: relative;
    right: 0;
    left: 0;
  }

  .hero-main .wp-block-column:nth-child(2) {
    width: auto;
    margin-left: 0;
    padding: 2rem;
  }
}

.hero:after {
  content: none;
}

/* tabs */

div.alignwide.is-layout-constrained > div {
  max-width: 100%;
}

.sp-tab__nav-link {
  border-width: 2px!important;
}
.wpdt-c .powered_by_link {
  display: none!important;
}

.sp-tab__active {
  border-bottom: 2px solid #dd9933!important;
}

ul.sp-tab__nav-tabs {
  border: none!important;
}

.sp-tab__tab-pane {
  padding: 0!important;
  border: none!important;
}

/* Content Wide Right Pattern */

.content-wide-right-img .content-wide-right-columns > .wp-block-column:first-child .wp-block-separator {
  display: block;
  width: 100%;
  max-width: 90%;
  margin: 0;
}
.content-wide-right-img .content-wide-right-columns .wp-block-image {
  width: 50vw;
  margin-right: calc((100vw - 1200px) / 2);
  height: 100%;
}


.content-wide-right-img .content-wide-right-columns .wp-block-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}


@media (min-width: 1025px) {
  .content-wide-right-img .content-wide-right-columns > .wp-block-column:first-child {
    padding-right: 3rem;
  }
}
@media (max-width: 1200px) {

  .content-wide-right-img .content-wide-right-columns>.wp-block-column:first-child {
    padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left);
  }

  .content-wide-right-img .content-wide-right-columns .wp-block-image {
    width: 100%;
  }

}

@media (max-width: 820px) {
  .content-wide-right-columns > .wp-block-column > .wp-block-spacer {
    height: 3.4rem!important;
    margin-top: 0!important;
  }
}

/* Forms */

.gform_required_legend {
  display: none;
}

.gform_wrapper.gravity-theme .gfield_label {
  color: #131e29;
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 300 !important;
  line-height: 1.5rem;
  margin-bottom: 4px !important;
  padding: 0;
}

.gform_wrapper.gravity-theme textarea {
  height: 4rem !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  background: #fff;
  border: 1px solid rgba(19, 30, 41, .25) !important;
  color: #000;
  font-size: 1.125rem !important;
  padding: 1rem;
  width: 100%;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  height: 36px;
  font-weight: 300;
  border-radius: 0;
}

.gform_wrapper .gform_fields .gfield.email .ginput_container_email {
  position: relative;
}
.gform_wrapper .gform_fields .gfield.email .ginput_container_email:before {
  content: "";
  background-image: url(./assets/images/email.svg);
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  top: 50%;
  left: .8rem;
  transform: translateY(-50%);
}
