  * {
  box-sizing: border-box;
}

:root {
  --wp--preset--font-family--ubuntu: "Ubuntu", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--wp--preset--color--foreground);
  font-size: var(--wp--preset--font-size--normal);
  font-weight: 400;
  line-height: var(--wp--custom--typography--line-height--normal);
}

html :where(.editor-styles-wrapper) ol,
html :where(.editor-styles-wrapper) ul,
ul,
ol {
  padding: 0 0 0 1rem;
}

strong,
b {
  font-weight: 700;
}

a:hover,
a:focus {
  text-decoration: none;
}

.is-style-even-height .wp-block-column > * {
  height: 100%;
}

.wp-block-post-content > *,
.footer > * {
  padding-right: 20px !important;
  padding-left: 20px !important;
}

@media (min-width: 1240px) {
  .wp-block-post-content > *,
  .footer > * {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

html :where(.editor-styles-wrapper) h1,
html :where(.editor-styles-wrapper) h2,
html :where(.editor-styles-wrapper) h3,
html :where(.editor-styles-wrapper) h4,
html :where(.editor-styles-wrapper) h5,
html :where(.editor-styles-wrapper) h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: var(--wp--custom--typography--line-height--tiny);
  letter-spacing: -1px;
  word-wrap: break-word;
}

h1,
.is-style-h1 {
  font-size: var(--wp--preset--font-size--huge);
}

h2,
.is-style-h2 {
  font-size: var(--wp--preset--font-size--extra-large);
}

h3,
.is-style-h3 {
  font-size: var(--wp--preset--font-size--large);
}

h4,
.is-style-h4 {
  font-size: var(--wp--preset--font-size--medium);
}

h5,
.is-style-h5 {
  font-size: var(--wp--preset--font-size--normal);
}

h6,
.is-style-h6 {
  font-size: var(--wp--preset--font-size--small);
}

.wp-block-code code {
  line-height: var(--wp--custom--typography--line-height--tiny);
}

.wp-site-blocks,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
  padding-left: var(--wp--custom--spacing--outer);
  padding-right: var(--wp--custom--spacing--outer);
}

.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-cover,
body
  > .is-root-container
  > .wp-block-template-part
  > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
  margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
  margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
  width: unset;
}

.wp-block-button__link,
:where(button) {
  box-shadow: 0 0;
  border-radius: var(--wp--custom--spacing--border-radius);
  text-transform: uppercase;
  font-size: var(--wp--preset--font-size--small);
  font-weight: var(--wp--custom--typography--button-weight);
}

.wp-block-button__link:hover,
.wp-block-button__link:focus {
}

.wp-block-pullquote p {
  font-size: inherit;
}

.wp-block-pullquote {
  border: 1px solid var(--wp--preset--color--background-alt-two);
  border-radius: var(--wp--custom--spacing--border-radius);
  font-size: var(--wp--preset--font-size--medium);
  padding-bottom: 2rem;
  padding-top: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
}

.wp-block-pullquote::before {
  content: "\e901";
  display: flex;
  font-family: icons;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  left: 50%;
  line-height: 1;
  padding: 0.5rem;
  position: absolute;
  speak: never;
  text-align: center;
  text-decoration: inherit;
  text-rendering: auto;
  text-transform: none;
  top: 0;
  transform: translate3d(-50%, -50%, 0);
  vertical-align: top;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul ul ul {
  list-style-type: disc;
}

.is-style-no-list-style {
  list-style-type: none;
  padding-left: 0;
}

.wp-block-file {
  align-items: center;
  display: flex;
}

.wp-block-file .wp-block-file__button {
  align-items: center;
  background: var(--wp--preset--color--primary);
  border-radius: var(--wp--custom--spacing--border-radius);
  color: var(--wp--preset--color--text-alt);
  display: flex;
  width: max-content;
}

.wp-block-file .wp-block-file__button::before {
  content: "\e900";
  display: flex;
  font-family: icons;
  font-size: 1rem;
  line-height: 1;
  margin-right: 0.25rem;
}

.wp-block-pullquote cite,
.wp-block-pullquote footer,
.wp-block-pullquote__citation {
  text-transform: none;
}

.wp-block-quote {
  border-left: 1px solid currentColor;
  padding-left: var(--wp--custom--spacing--baseline);
}

.wp-block-embed figcaption,
.wp-block-table figcaption {
  color: var(--wp--preset--color--foreground);
}

.wp-block-table.is-style-stripes {
  border-bottom: 0;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background: var(--wp--preset--color--background-alt);
}

.wp-block-button__link {
  transition: all 300ms ease;
}

footer.wp-block-template-part:not(.site-footer) {
  padding-top: 60px !important;
  border-top: 1px solid var(--wp--preset--color--background-alt-two);
}

.site-footer {
  margin-top: 60px !important;
}

button,
button:focus,
button:active,
button:visited {
  color: inherit; /* Inherits the color from the parent */
}

.wp-block-heading {
  word-break: break-word;
}

.wp-block-group.team-member {
  height: 100%;
}

.wp-block-query .team-ifsa.wp-block-post:last-child {
  margin-bottom: 4rem;
}

.is-style-fill-primary .wp-block-button__link {
  background: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--text-alt);
}

.is-style-fill-primary .wp-block-button__link::selection {
  background: var(--wp--preset--color--foreground);
}

div.wp-block-button.is-style-outline > .wp-block-button__link {
  background: transparent;
  border: 2px solid var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  box-shadow: 0 0;
  color: var(--wp--preset--color--primary);
  padding: 4px 16px;
}

.wp-block-button.is-style-outline {
  color: var(--wp--preset--color--primary);
}

.is-style-outline .wp-block-button__link:hover,
.is-style-outline .wp-block-button__link:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background: var(--wp--preset--color--background-alt);
  border-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--primary);
}

.is-style-outline > .wp-block-button__link:not(.has-text-color),
.wp-block-button__link.is-style-outline:not(.has-text-color) {
  color: var(--wp--preset--color--primary);
}

.is-style-outline > .wp-block-button__link:not(.has-text-color):hover,
.is-style-outline > .wp-block-button__link:not(.has-text-color):focus,
.wp-block-button__link.is-style-outline:not(.has-text-color):hover,
.wp-block-button__link.is-style-outline:not(.has-text-color):focus {
  background: var(--wp--preset--color--background-alt);
  color: var(--wp--preset--color--primary);
}

.is-style-no-outline-fill .wp-block-button__link {
  color: var(--wp--preset--color--foreground);
  background-color: transparent;
  border: 0px solid transparent;
  font-weight: 700;
  padding: 10px 12px;
  transition: color 300ms ease;
}

.is-style-no-outline-fill
  .wp-block-button__link:hover
  .is-style-no-outline-fill
  .wp-block-button__link:focus {
  color: var(--wp--preset--color--primary);
}

.sidebar {
  flex-grow: 1;
  gap: 0px;
}

.sidebar * {
  gap: 0px !important;
  margin-block-start: 0px !important;
}

.is-style-box-shadow {
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.24);
  padding: var(--wp--custom--spacing--baseline);
  position: relative;
}

.wp-block-image.is-style-box-shadow {
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.24);
  padding: 0;
}

.wp-block-image figcaption {
  margin: 0;
  padding: var(--wp--custom--spacing--small);
}

.wp-block-image.alignleft,
.wp-block-image.alignright {
  margin-block-start: var(--wp--custom--spacing--baseline);
}

.is-style-letter-space {
  letter-spacing: 3px;
}

.is-style-gradient-color {
  background: linear-gradient(
    135deg,
    var(--wp--preset--color--primary),
    var(--wp--preset--color--secondary)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

header .wp-block-button__link {
  padding: calc(var(--wp--custom--spacing--small) / 2)
    var(--wp--custom--spacing--medium);
}

.wp-block-group.alignfull,
.wp-block-media-text.alignfull,
*[class^="wp-container"] > *.alignfull + *.alignfull {
  margin-block-start: 0;
}

.edit-post-visual-editor__post-title-wrapper > * + *.alignfull,
.block-editor-block-list__layout.is-root-container > * + *.alignfull {
  margin-block-start: 0;
}

.wp-site-blocks .entry-content > *:last-child:not(.alignfull) {
  margin-block-end: var(--wp--style--block-gap);
}

.wp-site-blocks > *:last-child {
  margin-block-start: 0;
}

.wp-block-image figcaption {
  color: var(--wp--preset--color--foreground-alt);
}

.wp-block-cover.alignfull {
  width: unset;
}

.home #wp--skip-link--target,
.page-template-page-hero #wp--skip-link--target,
.post-template-single-hero #wp--skip-link--target {
  margin-block-start: 0;
}

ul.wp-block-categories-list {
  list-style: none;
  margin-left: -1.5rem;
}

/* Navigation */
.wp-block-navigation a {
  color: inherit;
  text-decoration: none;
}

.wp-block-navigation-item__content {
  --count: 0;
}

.wp-block-navigation-item:nth-child(1) .wp-block-navigation-item__content {
  --count: 0;
}

.wp-block-navigation-item:nth-child(2) .wp-block-navigation-item__content {
  --count: 1;
}

.wp-block-navigation-item:nth-child(3) .wp-block-navigation-item__content {
  --count: 2;
}

.wp-block-navigation-item:nth-child(4) .wp-block-navigation-item__content {
  --count: 3;
}

.wp-block-navigation-item:nth-child(5) .wp-block-navigation-item__content {
  --count: 4;
}

.wp-block-navigation-item:nth-child(6) .wp-block-navigation-item__content {
  --count: 5;
}

.wp-block-navigation-item:nth-child(7) .wp-block-navigation-item__content {
  --count: 6;
}

.wp-block-navigation-item:nth-child(8) .wp-block-navigation-item__content {
  --count: 7;
}

.wp-block-navigation__responsive-container.has-modal-open
  .wp-block-navigation-item__content {
  animation-delay: calc(var(--count) * 100ms);
  animation-duration: 500ms;
  animation-fill-mode: forwards;
  animation-name: fadeInLeft;
  animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);
  opacity: 0;
}

.wp-block-navigation:not(.has-background)
  .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--foreground);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(80px, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 0;
  flex-shrink: 0;
  flex-basis: 300px;
}

.page-content--sidebar {
  flex-grow: 1;
  width: 100%;
}

/* Navigation */
.wp-block-navigation__responsive-container-content {
  --wp--style--block-gap: var(--wp--custom--spacing--small);
  gap: var(--wp--style--block-gap);
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  .wp-block-navigation__submenu-container {
  padding-top: 0;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  font-size: 14px;
  font-weight: 500;
  padding: 12px;
}

.wp-block-navigation
  .has-child
  :where(.wp-block-navigation__submenu-container) {
  left: auto;
  right: 0;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  line-height: var(--wp--custom--typography--line-height--tiny);
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  .has-child
  .submenu-container,
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  .has-child
  .wp-block-navigation__submenu-container {
  padding-top: var(--wp--custom--spacing--medium);
  /* padding-bottom: var(--wp--custom--spacing--medium); */
}

.wp-block-navigation__responsive-container.is-menu-open
  .has-child
  .wp-block-navigation__submenu-container
  .wp-block-navigation-item {
  padding-bottom: var(--wp--custom--spacing--medium);
}

.wp-block-navigation__responsive-container.is-menu-open
  .has-child
  .wp-block-navigation__submenu-container
  .wp-block-navigation-item:last-child {
  padding-bottom: 0;
}

.wp-block-navigation__responsive-container-content .has-background {
  padding: 0;
}

@media (min-width: 600px) {
  .wp-block-navigation:not(.has-background)
    .wp-block-navigation__responsive-container:not(.hidden-by-default)
    .wp-block-navigation__submenu-container {
    background: var(--wp--preset--color--background);
    border: 1px solid var(--wp--preset--color--background-alt-two);
    border-radius: var(--wp--custom--spacing--border-radius);
    box-shadow: 0px 0px 12px rgb(0 0 0 / 8%);
    color: var(--wp--preset--color--foreground);
  }

  /* For block navigations with background. */
  .wp-block-navigation.has-background
    .wp-block-navigation__responsive-container:not(.hidden-by-default)
    .wp-block-navigation__submenu-container {
    border: 0;
    border-radius: var(--wp--custom--spacing--border-radius);
    box-shadow: 0px 0px 12px rgb(0 0 0 / 8%);
  }

  .wp-block-navigation
    .wp-block-navigation__responsive-container:not(.hidden-by-default)
    .wp-block-navigation__submenu-container {
    font-size: var(--wp--preset--font-size--small);
  }

  .wp-block-navigation
    .has-child
    :where(.wp-block-navigation__submenu-container)
    .wp-block-navigation__submenu-container {
    right: 20px;
    left: auto;
    top: 100%;
  }

  .wp-block-navigation
    .wp-block-navigation__responsive-container:not(.hidden-by-default)
    .has-child
    .wp-block-navigation__submenu-container {
    padding: var(--wp--custom--spacing--small);
  }

  .wp-block-navigation__responsive-container:not(.hidden-by-default)
    .wp-block-navigation__responsive-container-content {
    --wp--style--block-gap: var(--wp--custom--spacing--medium);
  }

  .wp-block-navigation__responsive-container:not(.hidden-by-default)
    .wp-block-navigation-item__content {
    padding: var(--wp--custom--spacing--small)
      var(--wp--custom--spacing--medium);
  }

  .wp-block-navigation__responsive-container:not(.hidden-by-default)
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item:hover,
  .wp-block-navigation__responsive-container:not(.hidden-by-default)
    .wp-block-navigation__submenu-container
    .wp-block-navigation-item:focus-within {
    background-color: var(--wp--preset--color--background-alt);
  }
}

/* Blog Styles */
.wp-block-query .wp-block-post-author__avatar {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-right: var(--wp--custom--spacing--small);
}

.wp-block-query .wp-block-post-author__avatar .avatar {
  border-radius: var(--wp--custom--spacing--rounded-border);
}

.wp-block-post-terms a {
  color: var(--wp--preset--color--foreground);
  pointer-events: none;
  text-decoration: none;
}

.wp-block-post-terms__separator {
  visibility: hidden;
}

.wp-block-query-pagination-next .rich-text,
.wp-block-query-pagination-previous .rich-text {
  visibility: hidden;
}

.wp-block-post-terms__separator::after {
  color: var(--wp--preset--color--foreground-alt);
  content: "|";
  display: inline-block;
  left: 0;
  padding-right: 6px;
  visibility: visible;
}

.wp-block-query-pagination-numbers .page-numbers {
  margin-right: 0;
}

.wp-block-query
  .is-layout-grid
  .wp-block-post
  .wp-block-post-featured-image
  .wp-post-image {
  height: 275px;
  max-width: 380px;
  object-fit: cover;
  width: 100%;
}

.wp-block-query
  .is-layout-grid
  .wp-block-post.team-ifsa
  .wp-block-post-featured-image
  .wp-post-image {
  height: 303px;
}

.wp-block-query .wp-block-post .wp-block-post-featured-image .wp-post-image {
  transform: scale(1);
  transition: transform 500ms ease-in-out;
}

.wp-block-query .wp-block-post-title:where(:not(.is-style-h4)) {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5em;
}

.wp-block-query .wp-block-post .wp-block-read-more {
  color: var(--wp--preset--color--foreground);
  text-decoration: underline;
  position: relative;
}

.is-nowrap .wp-block-image {
  flex-shrink: 0;
  max-width: 100%;
}

.wp-block-image img {
  object-fit: cover;
}

@media only screen and (max-width: 560px) {
  body .is-layout-constrained > .alignright {
    float: none;
    margin: 1em auto;
  }
}

@media only screen and (max-width: 600px) {
  main .is-nowrap {
    flex-wrap: wrap !important;
  }
}

.wp-block-query .wp-block-post .wp-block-read-more:hover,
.wp-block-query .wp-block-post .wp-block-read-more:focus {
  color: var(--wp--preset--color--primary);
  text-decoration: none;
}

.wp-block-query .wp-block-post .wp-block-read-more::after {
  content: "→";
  content: url(/wp-content/themes/eri-block-theme/assets/css/"data:image/svg+xml,%3Csvg xmlns='http:/www.w3.org/2000/svg' width='16px' height='16px' fill='none' stroke='rgb(51,0,114)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' style='display:inline-block;vertical-align:middle' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  color: var(--wp--preset--color--primary);
  position: absolute;
  top: 2px;
  right: -20px;
}

.wp-block-query .wp-block-post .wp-block-read-more.is-style-button-style {
  align-items: center;
  background-color: var(--wp--preset--color--primary);
  border-radius: var(--wp--custom--spacing--border-radius);
  border-color: var(--wp--preset--color--primary);
  border-width: 2px;
  border-style: solid;
  color: var(--wp--preset--color--text-alt) !important;
  display: inline-flex;
  font-size: var(--wp--preset--font-size--small);
  font-weight: var(--wp--custom--typography--button-weight);
  justify-content: center;
  padding-top: 4px;
  padding-right: 16px;
  padding-bottom: 4px;
  padding-left: 16px;
  text-transform: uppercase;
  text-decoration: none !important;
}

.wp-block-query
  .wp-block-post
  .wp-block-read-more.is-style-button-style::after {
  display: none;
}

.wp-block-query .wp-block-post-title a {
  color: var(--wp--preset--color--foreground);
  text-decoration: none;
}

.wp-block-query .wp-block-post-title a:hover,
.wp-block-query .wp-block-post-title a:focus {
  color: var(--wp--preset--color--primary);
  text-decoration: underline;
}

.page-numbers {
  align-items: center;
  border: 1px solid var(--wp--preset--color--background-alt-two);
  border-right-width: 0;
  color: var(--wp--preset--color--primary);
  display: flex;
  font-size: 15px;
  font-weight: 500;
  height: 32px;
  justify-content: center;
  text-decoration: none;
  width: 32px;
}

.page-numbers.current {
  background-color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--text-alt);
}

.page-numbers:last-child {
  border-right-width: 1px;
}

.wp-block-query-pagination {
  gap: 0;
}

.wp-block-query-pagination > .wp-block-query-pagination-previous {
  align-items: center;
  border: 1px solid var(--wp--preset--color--background-alt-two);
  border-right-width: 0;
  color: var(--wp--preset--color--primary);
  display: flex;
  font-size: 15px;
  font-weight: 500;
  height: 32px;
  justify-content: center;
  margin-right: 0;
  text-decoration: none;
  width: 32px;
}

.wp-block-query-pagination > .wp-block-query-pagination-next {
  align-items: center;
  border: 1px solid var(--wp--preset--color--background-alt-two);
  border-left-width: 0;
  color: var(--wp--preset--color--primary);
  display: flex;
  font-size: 15px;
  font-weight: 500;
  height: 32px;
  justify-content: center;
  margin-left: 0;
  text-decoration: none;
  width: 32px;
}

.wp-block-query-pagination-numbers {
  align-items: center;
  display: flex;
}

.wp-block-query-pagination > .wp-block-query-pagination-numbers {
  margin-right: 0;
}

.wp-block-query .wp-block-post {
  margin-bottom: 4rem;
}

.wp-block-query .wp-block-post:last-child {
  margin-bottom: 0;
}

.wp-block-latest-comments {
  padding-left: 0;
}

.wp-block-latest-comments__comment-avatar {
  border-radius: var(--wp--custom--spacing--rounded-border);
}

.wp-block-calendar table th {
  background-color: var(--wp--preset--color--background-alt);
  border-color: var(--wp--preset--color--background-alt-two);
}

.wp-block-calendar table tbody,
.wp-block-calendar table caption {
  color: var(--wp--preset--color--foreground);
}

.wp-block-search__button {
  background-color: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  border-radius: var(--wp--custom--spacing--border-radius);
  color: var(--wp--preset--color--text-alt);
  cursor: pointer;
}

input,
input[type="search"],
input[type="text"],
textarea {
  color: var(--wp--preset--color--foreground);
  background: var(--wp--preset--color--background-alt);
  border-color: var(--wp--preset--color--background-alt-two);
  border-radius: var(--wp--custom--spacing--border-radius);
}

input::placeholder {
  color: var(--wp--preset--color--foreground-alt);
}

select {
  background: var(--wp--preset--color--background-alt);
  border-color: var(--wp--preset--color--background-alt-two);
  border-radius: var(--wp--custom--spacing--border-radius);
  color: var(--wp--preset--color--foreground);
  padding: var(--wp--custom--spacing--small);
}

.wp-block-search.wp-block-search__button-inside
  .wp-block-search__inside-wrapper {
  background: var(--wp--preset--color--background-alt);
  border-color: var(--wp--preset--color--background-alt-two);
  border-radius: var(--wp--custom--spacing--border-radius);
}

/* Single Page Style */
.wp-block-post-author__avatar .avatar {
  border-radius: var(--wp--custom--spacing--rounded-border);
  display: block;
}

.wp-block-post-comments-form input[type="submit"] {
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 30%);
}

.single .wp-block-post-author__avatar {
  margin-right: var(--wp--custom--spacing--small);
}

.single .wp-block-post-author {
  align-items: center;
}

.wp-block-post-comments-form textarea,
.wp-block-post-comments-form input:not([type="submit"]) {
  border-color: var(--wp--preset--color--background-alt-two);
}

.wp-block-post-comments-form .comment-form-cookies-consent {
  align-items: flex-start;
  gap: var(--wp--custom--spacing--small);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--wp--preset--color--primary);
}

.wp-block-post-navigation-link {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 50%;
  min-width: 0;
  max-width: 50%;
}

.wp-block-post-navigation-link a {
  display: block;
  padding: var(--wp--custom--spacing--baseline);
  padding-top: var(--wp--custom--spacing--baseline);
  padding-bottom: var(--wp--custom--spacing--baseline);
  transition: background 300ms ease-in-out;
}

.wp-block-post-navigation-link:hover a,
.wp-block-post-navigation-link a:focus {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--text-alt);
}

.post-navigation-link-next {
  text-align: right;
}

/* Comments Style */
.comment {
  background-color: var(--wp--preset--color--background-alt);
  border: 1px solid var(--wp--preset--color--background-alt-two);
  border-radius: var(--wp--custom--spacing--border-radius);
  padding: clamp(0.25rem, 2vw, var(--wp--custom--spacing--baseline));
}

.comment .comment,
.comment + .comment {
  margin-block-start: var(--wp--style--block-gap);
}

.comment.depth-1,
.comment.depth-3 {
  background-color: var(--wp--preset--color--background-alt);
}

.comment.depth-2,
.comment.depth-4 {
  background-color: var(--wp--preset--color--background);
}

.wp-block-comment-template ol {
  padding-left: 0;
}

.wp-block-avatar__image {
  display: block;
}

.wp-block-comment-template {
  --wp--style--block-gap: 1rem;
}

.submit.wp-block-button__link {
  font-weight: var(--wp--custom--typography--button-weight);
}

.wp-block-comment-reply-link a {
  background-color: var(--wp--preset--color--primary);
  border-radius: var(--wp--custom--spacing--border-radius);
  border-color: var(--wp--preset--color--primary);
  border-width: 0;
  border-style: solid;
  box-shadow: 0 4px 14px 0 rgb(0 0 0 / 30%);
  color: var(--wp--preset--color--text-alt);
  display: inline-block;
  font-size: var(--wp--preset--font-size--small);
  font-weight: var(--wp--custom--typography--button-weight);
  padding: calc(0.25em + 2px) calc(1.333em + 2px);
  text-decoration: none;
  transform: translate3d(0, 0, 0);
  transition: transform 300ms ease-in-out;
}

.wp-block-comment-reply-link a:hover {
  transform: translate3d(0, -3px, 0);
}

.wp-block-comments-title {
  word-break: break-word;
}

/**
 * Header
 */
.header__top-bar a {
  color: var(--wp--preset--color--text-alt);
  text-decoration: none;
}

/**
 * Footer
 */
.footer__contact.is-layout-flex {
  align-items: flex-start;
}

.footer a {
  color: var(--wp--preset--color--foreground);
}

.footer
  .wp-block-navigation
  .wp-block-navigation-item__content.wp-block-navigation-item__content {
  line-height: var(--wp--custom--typography--line-height--normal);
}

.footer
  .wp-block-navigation
  .wp-block-navigation__container
  > .wp-block-navigation-item
  + .wp-block-navigation-item {
  margin-right: 0;
}

@supports not (aspect-ratio: 1 / 1) {
  .footer
    .wp-block-navigation
    .wp-block-navigation__container
    > .wp-block-navigation-item
    + .wp-block-navigation-item {
    margin-right: var(--wp--custom--spacing--baseline);
  }
}

@media only screen and (max-width: 650px) {
  .footer__ {
    flex-wrap: wrap !important;
  }

  .footer__main > *:first-child {
    flex-wrap: wrap !important;
  }

  .footer__contact,
  .footer__emergencies {
    flex-basis: 100% !important;
  }
}

.footer__logo {
  flex-shrink: 0;
  flex-basis: 180px;
}

.footer__logo .wp-block-image img {
  object-fit: contain;
}

.footer__main-menus > * {
  flex-grow: 1;
  flex-basis: 100%;
}

.footer__contact {
  flex-basis: 40%;
}

@media only screen and (max-width: 800px) {
  .footer__contact {
    flex-wrap: wrap !important;
  }
}

.footer__emergencies {
  flex-basis: 50%;
}

.footer__main nav li {
  font-size: var(--wp--preset--font-size--small);
}

.footer__main nav a:hover,
.footer__main nav a:focus {
  text-decoration: underline;
}

.footer__main-menus ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.footer__main-menus ul li {
  line-height: 24px;
  margin-bottom: 5px;
}

.footer__main-menus ul li:last-child {
  line-height: 24px;
  margin-bottom: 0;
}

.footer__main-menus ul a {
  color: var(--wp--preset--color--foreground);
  display: block;
  line-height: 1.5;
  text-decoration: none;
}

.footer__main-menus ul a:hover,
.footer__main-menus ul a:focus {
  color: var(--wp--preset--color--foreground);
  text-decoration: underline;
}

@media only screen and (max-width: 800px) {
  .footer__main-menus {
    flex-wrap: wrap !important;
  }

  .footer__main-menus > * {
    flex-basis: 48%;
  }
}

.wp-social-link:first-child a {
  padding-left: 0;
  margin-left: 0;
}

.footer__extra-links {
  align-items: flex-start;
  column-gap: 24px;
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  justify-content: space-between;
}

.footer__extra-links li a {
  color: var(--wp--preset--color--foreground);
  display: block;
  line-height: 1.5;
  text-decoration: none;
}

.footer__extra-links li a:hover,
.footer__extra-links li a:focus {
  color: var(--wp--preset--color--foreground);
  text-decoration: underline;
}

/* Team Template pages */
.team-ifsa-template .wp-block-post-featured-image,
.post-type-team-ifsa .wp-block-post-featured-image {
  aspect-ratio: 425 / 550;
  flex-shrink: 0;
  flex-grow: 1;
}

#contact {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Program Page */
.single-program__content {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 80px;
}

.single-program__content-container {
  flex-grow: 1;
  flex-basis: 100%;
  margin-right: 0;
}

.single-program__details {
  background: var(--wp--preset--color--background-alt);
  border: 1px solid var(--wp--preset--color--background-alt-two);
  min-width: 400px;
  padding: 24px 20px;
}

.single-program__details-title {
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
  margin-bottom: 20px;
}

.single-program__details-detail {
  border-top: 1px solid var(--wp--preset--color--background-alt-two);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 12px 0;
}

.single-program__details-detail-title {
  flex-basis: 50%;
  max-width: 50%;
  flex-grow: 1;
  margin: 0;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
}

.single-program__details-detail-content {
  flex-basis: 50%;
  max-width: 50%;
  flex-grow: 1;
  margin: 0;
  min-width: 0;
  font-size: 15px;
}

.single-program__overview-kicker {
  font-weight: 700;
  text-transform: uppercase;
}

.button--primary {
  background: var(--wp--preset--color--primary);
  border: 0;
  border-radius: 4px;
  color: var(--wp--preset--color--text-alt);
  padding: 9px 20px;
  letter-spacing: 0.5px;
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  text-decoration: none;
}

.button--primary:hover,
.button--primary:focus {
  background: #230050;
}

.single-program__details-detail:last-of-type {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--wp--preset--color--background-alt-two);
}

.single-program__section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--wp--preset--color--background-alt-two);
}

.section-title {
  margin-top: 0;
}

.housing-gallery {
  margin-top: 30px;
}

.housing-details-title {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 8px;
}

.toggles {
  border: 1px solid var(--wp--preset--color--background-alt-two);
}

.toggles__toggle-heading {
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--wp--preset--color--background-alt-two);
  box-shadow: 0 0;
  cursor: pointer;
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  padding: 18px 24px;
  width: 100%;
}

.toggles__toggle:last-child .toggles__toggle-heading {
  border-bottom: 0;
}

.toggles__toggle-title {
  font-size: 18px;
  line-height: 1.3;
  font-style: normal;
  font-weight: 700;
}

.toggles__toggle-content {
  background: var(--wp--preset--color--background-alt);
  display: none;
  overflow: hidden;
  transition: height 1000ms ease;
}

.toggles__toggle--open .toggles__toggle-content {
  display: block;
}

.toggles__toggle-content-wrapper {
  padding: 24px;
}

.toggles__toggle-icon {
  background: var(--wp--preset--color--background-alt);
  align-items: center;
  display: flex;
  height: 24px;
  justify-content: center;
  position: relative;
  width: 24px;
}

.toggles__toggle-icon::before {
  background: var(--wp--preset--color--foreground);
  content: "";
  display: block;
  width: 12px;
  height: 2px;
}

.toggles__toggle-icon::after {
  background: var(--wp--preset--color--foreground);
  content: "";
  display: block;
  width: 12px;
  height: 2px;
  position: absolute;
  top: 11px;
  left: 6px;
  transform: rotate(-90deg);
  transition: transform 300ms ease;
}

.toggles__toggle--open .toggles__toggle-icon::after {
  transform: rotate(0deg);
}

@media only screen and (min-width: 1010px) {
  .single-program__content {
    align-items: flex-start !important;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .single-program__overview-content {
    margin-right: 30px;
  }

  .single-program__content-container {
    margin-right: 30px;
  }

  .single-program__overview {
    align-items: flex-start !important;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .single-program__section {
    padding-top: 60px;
    margin-top: 60px;
  }
}

/* Dates and Fees */
.dates-fees__header {
  display: flex;
  flex-wrap: nowrap;
  padding: 20px 0 12px;
}

.dates-fees__term {
  align-items: center;
  border-top: 1px solid var(--wp--preset--color--background-alt-two);
  display: flex;
  flex-wrap: nowrap;
  padding: 20px 0 12px;
}

.dates-fees__term:last-child {
  border-bottom: 1px solid var(--wp--preset--color--background-alt-two);
}

.dates-fees {
  background: var(--wp--preset--color--background-alt);
  border: 1px solid var(--wp--preset--color--background-alt-two);
  padding: 20px 20px 32px;
}

.date-fees__term-item {
  flex: 1;
}

.dates-fees__header-title {
  flex: 1;
  font-weight: 700;
}

.button--no-style {
  background: transparent;
  border: 0;
  box-shadow: 0 0;
  cursor: pointer;
  font-weight: 400;
  padding: 0;
  text-decoration: none;
}

.button--no-style:hover,
.button--no-style:focus {
  text-decoration: underline;
}

.arrow-link {
  position: relative;
}

.arrow-link::after {
  content: "→";
  content: url(/wp-content/themes/eri-block-theme/assets/css/"data:image/svg+xml,%3Csvg xmlns='http:/www.w3.org/2000/svg' width='16px' height='16px' fill='none' stroke='rgb(0,0,0)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' style='display:inline-block;vertical-align:middle' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  color: var(--wp--preset--color--foreground);
  position: absolute;
  top: 2px;
  right: -20px;
}

.lightbox {
  background-color: rgba(0, 0, 0, 0.2);
  display: none;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

.dates-fees-lightbox__content {
  background: var(--wp--preset--color--background);
  border: 2px solid var(--wp--preset--color--background-alt-two);
  border-radius: 4px;
  max-height: 90vh;
  overflow-y: scroll;
  padding: 40px;
  margin: 40px auto;
  max-width: 600px;
  position: relative;
}

.dates-fees-lightbox__term-title {
  font-weight: 500;
  font-size: 17px;
  margin: 0;
}

.dates-fees-lightbox__section-title {
  color: var(--wp--preset--color--primary);
  font-size: 17px;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 16px;
}

.dates-fees-lightbox__data {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 0 12px;
}

.dates-fees-lightbox__data-title,
.dates-fees-lightbox__data-value {
  flex: 1;
  font-size: 15px;
}

.dates-fees-lightbox__data-title {
  font-weight: 700;
}

.dates-fees-lightbox__details {
  font-size: 14px;
}

.dates-fees-lightbox__section {
  border-bottom: 1px solid var(--wp--preset--color--background-alt-two);
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.date-fees-lightbox-close {
  align-items: center;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--text-alt);
  cursor: pointer;
  display: flex;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
}

.lightbox--open {
  display: flex;
}

.dates-fees-lightbox__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.counselors__header {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.counselors__header a.ifsa-team__schedule {
  padding: 9px 20px;
  letter-spacing: 0.5px;
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  text-decoration: none;
}

.counselor__person {
  background: var(--wp--preset--color--background-alt);
  border: 1px solid var(--wp--preset--color--background-alt-two);
  display: inline-block;
  padding: 24px 28px;
  width: max-content;
}

.counselors__people {
  display: flex;
  flex-wrap: wrap;
}

.counselor__name {
  line-height: 1.2;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 12px;
}

.counselor__title {
  margin-top: 12px;
  margin-bottom: 0;
}

.student-stories__container {
  display: flex;
  flex-wrap: nowrap;
}

.student-stories__container img {
  aspect-ratio: 300 / 200;
  width: 100%;
  height: auto;
  object-fit: cover;
}

p:has(iframe) {
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  width: 100%;
}

p > iframe {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.student-stories__story {
  color: var(--wp--preset--color--foreground);
  text-decoration: none;
  flex-basis: calc(33.333333% - 40px);
  max-width: calc(33.333333% - 40px);
  margin-right: 20px;
}

.student-stories__name {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  margin-top: 0px;
  margin-bottom: 24px;
}

.student-stories .arrow-link {
  text-decoration: none;
}

.student-stories .arrow-link:hover,
.student-stories .arrow-link:focus {
  text-decoration: underline;
}

.student-stories .arrow-link::after {
  content: url(/wp-content/themes/eri-block-theme/assets/css/"data:image/svg+xml,%3Csvg xmlns='http:/www.w3.org/2000/svg' width='16px' height='16px' fill='none' stroke='rgb(51,0,114)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' style='display:inline-block;vertical-align:middle' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
}

.student-stories__story:last-child {
  margin-right: 0;
}

.image-slides {
  margin-top: 40px;
}

.image-slide__image {
  aspect-ratio: 690 / 500;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.image-slides {
  overflow: hidden;
}

.image-slides__container {
  display: flex;
}

.image-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.carousel {
  padding: 0 30px;
  position: relative;
}

@media only screen and (min-width: 600px) {
  .carousel {
    padding: 0 90px;
  }
}

.carousel__arrows {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}

.carousel__dot {
  border: 2px solid var(--wp--preset--color--foreground);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0;
  cursor: pointer;
  padding: 0;
  display: flex;
  height: 11px;
  margin: 0 8px;
  width: 11px;
}

.carousel__dot--active {
  background: var(--wp--preset--color--foreground);
}

.embla__button {
  background: transparent;
  border: 0;
  box-shadow: 0 0;
  cursor: pointer;
  padding: 0;
}

.embla__button__svg {
  fill: var(--wp--preset--color--background-alt-two);
  width: 24px;
}

/* Content styles */
.content > *:first-child {
  margin-top: 0;
}

.content > *:last-child {
  margin-bottom: 0;
}

.wp-block-table {
  padding: 20px !important;
  /* font-family: var(--wp--preset--font-family--base); */
  color: var(--wp--preset--color--black);
  background-color: var(--wp--preset--color--background-alt);
  border: 1px solid var(--wp--preset--color--background-alt-two);
  margin: 1rem 0;
  overflow-x: auto;
}

.wp-block-table td,
.wp-block-table th {
  word-break: normal;
}
.wp-block-table td,
.wp-block-table th {
  word-break: normal;
}
.wp-block-table td,
.wp-block-table th {
  border: none;
  border-bottom: 1px solid var(--wp--preset--color--background-alt-two);
  line-height: 1.4em;
}

.block-ifsa-hero + * {
  padding-top: 60px;
}

.block-ifsa-hero + .wp-block-group {
}

.sidebar {
  margin-left: 30px;
}

@media only screen and (max-width: 850px) {
  .sidebar {
    flex-basis: auto;
    margin-left: 0;
    position: relative;
    padding-bottom: 30px;
    top: 0 !important;
    width: 100%;
  }

  .sidebar--sticky {
    max-width: 100% !important;
  }

  .block-ifsa-hero + .wp-block-group {
    flex-direction: column-reverse;
  }
}

/* Search Results */
.search-results .wp-block-post-featured-image {
  aspect-ratio: 200 / 200 !important;
  max-width: 200px;
}

.search-results .wp-block-query .wp-block-post-title {
  font-weight: 600;
  font-size: 18px;
}

.search-results .wp-block-query .wp-block-post-title a {
  text-decoration: underline;
}

.search-results .wp-block-query .wp-block-post {
  display: block;
  margin-bottom: 0;
}

.search-results .wp-block-query .wp-block-post > .wp-block-group {
  width: 100%;
}

.flare-background {
  background: url("https://ifsav4.wpengine.com/wp-content/uploads/2023/10/back-student-quote-mobile.jpg");
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: scroll;
  background-repeat: no-repeat;
  border-top: 1px solid var(--wp--preset--color--background-alt-two);
  border-bottom: 1px solid var(--wp--preset--color--background-alt-two);
}

@media only screen and (min-width: 768px) {
  .flare-background {
    background: url("https://ifsav4.wpengine.com/wp-content/uploads/2023/10/back-student.jpg");
  }
}

/* Forms */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea {
  background: var(--wp--preset--color--background-alt);
  border: 1px solid var(--wp--preset--color--background-alt-two);
  border-radius: 0;
  box-shadow: none;
  padding: 12px;
  height: 50px;
}

input[type="submit"] {
  background: var(--wp--preset--color--primary);
  border-color: var(--wp--preset--color--primary);
  box-shadow: none;
  color: var(--wp--preset--color--text-alt);
  font-size: var(--wp--preset--font-size--small);
  font-weight: var(--wp--custom--typography--button-weight);
  padding: calc(var(--wp--custom--spacing--small) / 2)
    var(--wp--custom--spacing--medium);
  text-transform: uppercase;
  text-align: center;
}

.gfield_consent_label {
  color: #404040;
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
}

#field_1_7 .gfield_label {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

#field_1_7 .ginput_container {
  align-items: flex-start;
  display: flex;
}

#field_1_7 input[type="checkbox"] {
  margin: 5px 10px 0 0;
}

.form__note {
  text-align: center;
}

.gform_footer {
  justify-content: center;
}

@media only screen and (max-width: 1240px) {
  .search-results .hero__content-wrapper {
    padding: 32px 20px;
  }

  .search-results .wp-site-blocks main > .wp-block-group {
    padding: 60px 20px 0;
  }
}
