/*
Theme Name: Geller FSE
Author: Leibowitz Branding & Design
Author URI: https://leibowitz.nyc
Description: Geller FSE is designed to take advantage of the new design tools introduced in WordPress 6.1.
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 5.6
Version: 2023.05
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: geller
*/

sup a,
a:has(sup) {
  text-decoration: none;
}
:is(h1, h2, h3, h4, h5, h6) a {
  text-decoration: none;
}

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

html {
  box-sizing: inherit;
}

iframe {
  display: block;
}

img {
  display: block;
  width: 100%;
}

.wp-block-cover {
  padding: 0;
}

/* Sticky header */

.wp-site-blocks > header.wp-block-template-part:first-child {
  position: sticky;
  inset-block-start: 0;
  background-color: white;
  z-index: 300;
}

/* Page highlighting */
header .wp-block-navigation-item__content {
  border-block-end: 0.125em solid transparent;
}

header .wp-block-navigation-item__content:hover,
header .wp-block-navigation-item__content:focus {
  border-block-end: 0.125em solid var(--wp--preset--color--contrast);
  text-decoration: none;
}

header .wp-block-navigation-item__content[aria-current="page"] {
  border-block-end: 0.125em solid var(--wp--preset--color--custom-orange);
  font-weight: bold;
}

.wp-site-blocks select {
  padding: 0.875rem 2.25rem 0.875rem 0.5rem;
  border: 1px solid var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--contrast);
  background-color: transparent;
  background-image: url("/wp-content/themes/geller-fse/assets/shapes/select-arrow.svg");
  background-position: calc(100% - 1em);
  background-size: 1.125rem 0.5rem;
  background-repeat: no-repeat;
  --webkit-appearance: none;
  appearance: none;
}

/* Utility classes */
.wp-site-blocks .m-0 {
  margin: 0;
}

.wp-site-blocks .p-0 {
  padding: 0;
}

ul.is-style-cornflower-blue-border-be li {
  padding-block: 2.4375rem;
  font-weight: 700;
  border-block-end: 0.125rem solid
    var(--wp--preset--color--custom-light-cornflower-blue);
}

.why-geller .has-cornflower-blue-be {
  padding-block-end: 1rem;
}

.why-geller .has-cornflower-blue-border-be + * {
  margin-block-start: 1.5rem;
}

.has-cornflower-blue-border-be h3 {
  margin-block-start: 0;
}

.has-cornflower-blue-border-be p {
  margin-block-end: 0;
}

.has-cornflower-blue-border-be {
  padding-block-end: 2rem;
  border-block-end: 0.125rem solid
    var(--wp--preset--color--custom-light-cornflower-blue);
}

.has-cornflower-blue-border-be + * {
  margin-block-start: 2rem;
}

.wp-block-acf-chatgpt-two-columns ul {
  margin-block-end: 0;
}

.wp-site-blocks .is-style-cornflower-blue-border-be li::before {
  content: unset;
}

.list-style-none {
  list-style: none;
}

.position-relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.visibility-visible {
  visibility: visible;
}

/* Custom block styles */
/* core/button */

/* Match the styles defined in theme.json */
.wp-site-blocks button.styled {
  background-color: unset;
  border-radius: 0;
  border-color: currentColor;
  border-width: 0.75px;
  border-style: solid;
  color: var(--wp--preset--color--secondary);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--base);
  font-weight: 300;
  line-height: inherit;
  padding-top: 0.6875em;
  padding-right: 1.21875em;
  padding-bottom: 0.6875em;
  padding-left: 1.21875em;
  text-decoration: none;
  text-transform: uppercase;
}

button.styled:hover {
  background-color: var(--wp--preset--color--primary);
  border-color: transparent;
  color: var(--wp--preset--color--white);
  font-weight: 600;
}

.wp-element-button,
button.styled {
  transition: color 250ms, background 250ms;
}

:is(.wp-element-button, button.styled).has-white-color:hover {
  background-color: var(--wp--preset--color--custom-light-cornflower-blue);
  color: var(--wp--preset--color--contrast) !important;
}

.wp-block-group.is-style-cta-wrapper {
  margin: 0;
  padding-block: 1.5rem;
  background-color: var(--wp--preset--color--custom-light-cornflower-blue);
}

.wp-block-group.is-style-cta-wrapper a {
  text-decoration-color: transparent;
  text-transform: uppercase;
}

.wp-block-group.is-style-cta-wrapper a:hover {
  font-weight: bold;
}

/* Three Columns */
.wp-block-buttons.is-style-three-columns .wp-block-button {
  display: flex;
  flex: 1 1 100%;
  height: 100%;
}
.wp-block-buttons.is-style-three-columns .wp-element-button {
  padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60);
  color: var(--wp--preset--color--primary);
  background-color: var(--wp--preset--color--custom-light-cornflower-blue);
  text-transform: uppercase;
  width: 100%;
  display: flex;
  align-self: center;
  height: 100%;
  justify-content: center;
  align-items: center;
  line-height: 1.5;
  letter-spacing: 1.2px;
  border: none;
}

.wp-block-buttons.is-style-three-columns .wp-element-button:is(:hover, :focus) {
  color: white;
  background-color: var(--wp--preset--color--primary);
  font-weight: 700;
}

/* core/columns */
/* add padding to content column */
.wp-block-columns.is-style-image-edge-start .wp-block-column:last-of-type,
.wp-block-columns.is-style-image-edge-end .wp-block-column:first-of-type {
  /* padding-block: var(--wp--preset--spacing--80); */
}

.wp-block-cover__inner-container > :first-child {
  margin-block-start: 0;
}

/* free media from parent column */
.wp-site-blocks
  .wp-block-columns:is(.is-style-image-edge-start, .is-style-image-edge-end)
  .wp-block-column
  > :is(.wp-block-image, .wp-block-cover) {
  position: relative;
  width: 100vw;
}

/* shift media to viewport edge */
.wp-site-blocks
  .wp-block-columns:is(.is-style-image-edge-start, .is-style-image-edge-end)
  .wp-block-column
  > .wp-block-cover {
  inset-inline-start: calc(-1 * var(--wp--style--root--padding-left));
}

/* override the minimum height set in core styles */
.wp-block-columns.is-style-image-edge-end .wp-block-column > .wp-block-cover {
  min-height: 15.625rem !important;
}

/* make images fill the column */
.wp-block-columns:is(.is-style-image-edge-start, .is-style-image-edge-end)
  .wp-block-column
  .wp-block-image
  img {
  object-fit: cover;
}

/* make cover content full width */
.wp-block-columns:is(.is-style-image-edge-start, .is-style-image-edge-end)
  .wp-block-cover__inner-container {
  width: 100% !important;
}

/* contain content in grid boundaries */
.wp-block-columns.is-style-image-edge-start
  .wp-block-cover__inner-container:not(:has(.has-background)),
.wp-block-columns.is-style-image-edge-end
  .wp-block-cover__inner-container:not(:has(.has-background)) {
  padding-inline: var(--wp--style--root--padding-left);
}

.wp-block-columns.is-style-image-edge-start
  .wp-block-cover__inner-container:not(:has(.has-background))
  .wp-block-image {
  position: relative;
  inset-inline-start: calc(-1 * var(--wp--style--root--padding-left));
  width: calc(100% + var(--wp--style--root--padding-left));
}

.wp-block-columns.is-style-image-edge-end
  .wp-block-cover__inner-container:not(:has(.has-background))
  .wp-block-image {
  position: relative;
  inset-inline-end: calc(-1 * var(--wp--style--root--padding-left));
  width: calc(100% + var(--wp--style--root--padding-left));
}

/* core/column */
.wp-block-column:is(.is-style-angle-start, .is-style-angle-end) {
  position: relative;
}

/* Angle start */
.wp-block-column.is-style-angle-start::after {
  inset: 0;
  /* transform: rotateY(180deg); */
}

/* core/group */
.wp-block-group.is-style-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(23.625rem, 1fr));
  gap: 1.5rem;
}

.wp-block-group.is-style-two-col {
}

.wp-block-group.is-style-two-col > .wp-block-group:nth-of-type(even) {
  background-color: var(--wp--preset--color--base);
}

.wp-block-group.is-style-two-col > .wp-block-group:nth-of-type(odd) {
  background-color: var(--wp--preset--color--white);
}

.hero-link {
  margin-block-end: 0.5rem;
  color: var(--wp--preset--color--primary);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-link::before {
  content: "";
  margin-inline-end: 0.25rem;
  width: 0.5rem;
  height: 0.75rem;
  display: inline-block;
  background-image: url("/wp-content/themes/geller-fse/assets/shapes/arrow-orange.svg");
  background-size: contain;
}

.wp-block-group.is-style-two-col > .wp-block-group {
  margin: 0;
  padding: 6rem;
}

footer.wp-block-template-part {
  margin-block-start: 0;
}

/* core/list */
/* Two columns */
:is(ul, ol).is-style-two-columns {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(12rem, 1fr));
  gap: 1em;
}

.wp-block-acf-chatgpt-two-columns.align-left-col-center
  .wp-block-column:first-of-type {
  align-self: center;
}

ul.is-style-default,
.wp-block-acf-chatgpt-two-columns ul,
.wp-block-acf-leib-adam-angles-two ul {
  margin-inline-start: 1rem;
  margin-block-end: 0;
  padding-inline-start: 1rem;
  list-style-type: none;
}

ul.is-style-default li,
.wp-block-acf-chatgpt-two-columns ul li,
.wp-block-acf-leib-adam-angles-two ul li {
  position: relative;
}

ul.is-style-default li::before,
.wp-block-acf-leib-adam-angles-two ul li::before,
.wp-block-acf-chatgpt-two-columns ul li::before {
  content: "";
  margin-block-start: 0.1875rem;
  width: 0.53625em;
  height: 0.685em;
  display: inline-block;
  background-image: url("/wp-content/themes/geller-fse/assets/shapes/bullet.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  inset-block-start: 0.55em;
  inset-inline-start: -1rem;
  transform: translateY(-50%);
}

.post-container {
  height: 100%;
}

html {
  scroll-padding-top: 7.5rem;
}

/* core/navigation-link */
.wp-block-navigation {
  position: relative;
}

/* core/navigation-link */
/* wp-block-navigation-item__content */
.wp-block-navigation-link.is-style-cta
  .wp-block-navigation-item__content::after {
  content: "";
  margin-inline-start: 0.5rem;
  width: 0.53625em;
  height: 0.6875em;
  display: inline-block;
  background-image: url("/wp-content/themes/premierpath-wp/assets/icons/arrow-primary-light-blue.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* core/post-template */
.wp-block-post > .wp-block-group:hover,
.wp-block-post > .wp-block-group:has(:focus) {
  background-color: var(--wp--preset--color--tertiary-cloud);
}

.wp-block-post > .wp-block-group:has(:focus) {
  outline: 0.25em solid var(--wp--preset--color--primary-midnight);
}

.wp-block-post-title span {
  font-size: 1rem;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Hide full menu by default */
.wp-block-navigation__responsive-container:not(.hidden-by-default):not(
    .is-menu-open
  ) {
  display: none;
}

/* Show menu icon by default */
.wp-block-navigation__responsive-container-open:not(.always-shown) {
  display: block;
}

/* Style menu toggles */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  text-transform: uppercase;
  font-weight: 700;
}

.wp-block-post-template.is-style-team-query {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 1.5rem;
}

.wp-block-post-template.is-style-team-query li {
  margin: 0;
  flex-basis: 17.375rem;
}

/* 
  News Redesign 
*/

#news-query ul .wp-block-post {
  height: fit-content;
}

#news-query .wp-block-post-template.is-flex-container li {
  height: fit-content !important;
}

#news-query ul .wp-block-post:hover .wp-block-group {
  background-color: rgb(58, 84, 165) !important;
}

#news-query ul .wp-block-post .wp-block-group {
  transition: all 0.2s ease-in;
}
#news-query ul .wp-block-post .wp-block-group h2 {
  text-transform: none !important;
}

#news-query ul .wp-block-post .wp-block-group h2 a {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

#news-query ul .wp-block-post:hover .wp-block-group a {
  color: white !important;
}

#news-query ul .wp-block-post-featured-image {
  margin-bottom: 0 !important;
}

#news-query figure {
  aspect-ratio: 16 / 8 !important;
}

#news-query ul .post-container {
  position: relative;
  height: 140px !important;
  width: 100%;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

#news-query ul .post-container h2 {
  margin-left: initial !important;
  width: 85%;
  font-size: 18px;
}

#news-query ul .post-container a::after {
  position: absolute;
  content: "";
  top: 40%;
  right: 25px;
  background-image: url("./assets/shapes/arrow-orange.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: rotate(180deg);
  z-index: 2;
  width: 25px;
  height: 25px;
}

#news-query figure {
  margin: 0 !important;
  max-height: 300px;
  overflow: hidden;
}

#news-query .wp-block-post-template-is-layout-grid {
  max-width: 100%;
}


@media screen and (max-width: 480px) {
  #news-query ul .post-container {
    height: 100px !important;
  }
  #news-query ul .post-container a::after {
    right: 5px;
  }

  #news-query ul .post-container h2 {
    font-size: 14px;
  }

  .wp-block-leib-news-filters select {
    min-width: 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 980px) {
  #news-query ul .post-container {
  }
  .wp-block-post-template.is-flex-container.is-flex-container.columns-2 > li {
    width: 100%;
  }
}

.location-list li:last-child {
  border-block-end: transparent !important;
}
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6 {
  text-transform: capitalize !important;
}

.single-post .wp-block-post-title {
  text-transform: capitalize !important;
}
.single-post .related-content_heading a {
  text-transform: capitalize !important;
}

@media only screen and (min-width: 1281px) {
	.footer-srow {
		flex-direction: row !important;
	}
}

@media only screen and (min-width: 1081px) and (max-width: 1280px) {
	.footer-srow {
		flex-direction: column-reverse !important;
		justify-content: flex-end;
		align-items: flex-end !important;
	}
	
	.footer-srow .wp-block-buttons {
		align-items: flex-end;
	}
}




@media only screen and (min-width: 1080px) {
	.wp-site-blocks .main-footer,
  .wp-site-blocks .legal-footer {
    padding-inline: 5rem;
    flex-direction: row;
    justify-content: space-between;
  }
	.main-footer nav ul,
  .legal-footer nav ul {
    flex-direction: row;
    gap: var(--wp--preset--spacing--30);
  }
	
	
}

.footer-srow {
		flex-direction: column;
				align-items: center ;

	}
	
	.footer-srow .wp-buttons {
		align-items: center ;
	}


/* Media query: desktop */
@media only screen and (min-width: 782px) {
	
  /* Team bio padding */
  .single-people .wp-block-column:last-of-type {
    padding-inline-start: var(--wp--preset--spacing--80);
  }

  /* Three Columns */
  .wp-block-buttons.is-style-three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .desktop-padding-is-32 {
    padding-inline-start: 2rem;
  }

  /* Fix padding for Gutenberg editor two-column layout */
  .two-columns-gb-fix .wp-block-column:last-of-type {
    padding-inline-start: 2rem;
    padding-inline-start: clamp(
      2rem,
      calc(calc(calc(100vw - 1184px) / 2) * 2),
      8rem
    );
  }

  

  .legal-footer nav ul {
    gap: var(--wp--preset--spacing--60);
  }

  

  .wp-block-group.is-style-two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1440px;
  }

  .wp-block-group.is-style-two-col > .wp-block-group {
    padding: 2rem var(--wp--style--root--padding-right) 2rem
      var(--wp--style--root--padding-left);
  }

  .white-contrast-columns .wp-block-column:last-of-type::after {
    content: unset;
  }

  .white-contrast-columns::before,
  .white-contrast-columns::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    inset-block-start: 0;
    z-index: -1;
  }

  .white-contrast-columns::before {
    inset-inline-start: 0;
    background-color: var(--wp--preset--color--white);
  }

  .white-contrast-columns::after {
    inset-inline-end: 0;
    background-color: var(--wp--preset--color--contrast);
  }

  /* core/columns */
  /* adjust media sizing */
  .wp-site-blocks
    .wp-block-columns:is(.is-style-image-edge-start, .is-style-image-edge-end)
    .wp-block-column
    > :is(.wp-block-image, .wp-block-cover) {
    position: absolute;
    height: 100%;
    width: 50%;
  }
  .wp-site-blocks
    .wp-block-columns.dual-covers:is(
      .is-style-image-edge-start,
      .is-style-image-edge-end
    )
    .wp-block-column
    > :is(.wp-block-image, .wp-block-cover) {
    height: 50%;
  }

  .wp-site-blocks
    .wp-block-columns.dual-covers:is(
      .is-style-image-edge-start,
      .is-style-image-edge-end
    )
    .wp-block-column
    > :is(.wp-block-image, .wp-block-cover):nth-of-type(2) {
    inset-block-start: 50%;
  }

  /* shift media to viewport edge */
  .wp-site-blocks
    .wp-block-columns.is-style-image-edge-start
    .wp-block-column
    > :is(.wp-block-image, .wp-block-cover) {
    inset-inline-start: 0;
  }

  .wp-site-blocks
    .wp-block-columns.is-style-image-edge-end
    .wp-block-column
    > :is(.wp-block-image, .wp-block-cover) {
    inset-inline-start: unset;
    inset-inline-end: 0;
  }

  /* remove the minimum height set in base styles above */
  .wp-site-blocks
    .wp-block-columns.is-style-image-edge-end
    .wp-block-column
    > .wp-block-cover {
    min-height: unset !important;
  }

  /* contain content in grid boundaries */
  .wp-site-blocks
    .wp-block-columns.is-style-image-edge-start
    .wp-block-cover__inner-container {
    padding-inline-start: max(2rem, calc(calc(100vw - 1184px) / 2));
    padding-inline-end: 2rem;
  }

  .wp-site-blocks
    .wp-block-columns.is-style-image-edge-end
    .wp-block-cover__inner-container:not(:has(.has-background)) {
    padding-inline-start: 2rem;
    padding-inline-end: min(2rem, calc(calc(100vw - 1184px) / 2));
  }

  /* restrict content width */
  .wp-site-blocks
    .wp-block-columns:is(.is-style-image-edge-start, .is-style-image-edge-end)
    .wp-block-column
    > *:not(.wp-block-cover, .wp-block-image),
  .max-width-cover-columns .wp-block-cover__inner-container {
    max-width: 29.875rem;
  }
  .max-width-cover-columns.mis .wp-block-cover__inner-container {
    margin-inline-start: 0;
  }
  .max-width-cover-columns.mie .wp-block-cover__inner-container {
    margin-inline-end: 0;
  }

  /* core/column */
  /* Angle start and end */
  .wp-block-column.is-style-angle-start::before,
  .wp-block-column.is-style-angle-end::after {
    content: "";
    width: 6rem;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    position: absolute;
    z-index: 10;
    inset-block-start: 0;
  }

  /* Angle start */
  .angle-start-sibling-padding {
    padding-inline-end: clamp(2rem, 5vw, 6rem);
  }
  .angle-end-sibling-padding {
    padding-inline-start: clamp(2rem, 5vw, 6rem);
  }
  /* Base */
  .wp-block-column.is-style-angle-start::before {
    background-image: url("/wp-content/themes/geller-fse/assets/shapes/angle/start/angle-start-base.svg");
    inset-inline-start: -6rem;
  }
  /* White */
  .wp-block-column.is-style-angle-start.has-white-ray::before {
    background-image: url("/wp-content/themes/geller-fse/assets/shapes/angle/start/angle-start-white.svg");
  }
  /* Contrast */
  .wp-block-column.is-style-angle-start.has-contrast-ray::before {
    background-image: url("/wp-content/themes/geller-fse/assets/shapes/angle/start/angle-start-contrast.svg");
  }
  /* Primary */
  .wp-block-column.is-style-angle-start.has-contrast-ray::before {
    background-image: url("/wp-content/themes/geller-fse/assets/shapes/angle/start/angle-start-primary.svg");
  }

  /* Angle end */
  /* Base */
  .wp-block-column.is-style-angle-end::after {
    background-image: url("/wp-content/themes/geller-fse/assets/shapes/angle/end/angle-end-base.svg");
    inset-inline-end: -6rem;
  }
  /* White */
  .wp-block-column.is-style-angle-end.has-white-ray::after {
    background-image: url("/wp-content/themes/geller-fse/assets/shapes/angle/end/angle-end-white.svg");
  }
  /* Contrast */
  .wp-block-column.is-style-angle-end.has-contrast-ray::after {
    background-image: url("/wp-content/themes/geller-fse/assets/shapes/angle/end/angle-end-contrast.svg");
  }

  /* Unhide nav menu when it can fit */
  .wp-block-navigation__responsive-container:not(.hidden-by-default):not(
      .is-menu-open
    ),
  header .wp-block-search {
    display: block;
  }
  .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }

  /* Navy block trio */
  :is(ul, ol).is-style-navy-block-trio li {
    flex-basis: 23.625rem;
  }
}
