/*
Theme Name: IIOL
Version: 2025
Description: A block-based theme for IIOL.
*/

:root {
  --animate-duration: 4s;
  accent-color: var(--wp--preset--color--secondary);
}

/*
 * Reset
 */

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;

  /* Prevent font size inflation */
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

* {
  margin: 0;
}

body {
  /* Improve text rendering */
  -webkit-font-smoothing: antialiased;
  background-image: url("assets/img/texture_white.png");
  overflow-x: hidden;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  height: auto;
  max-width: 100%;
}

/* Remove built-in form typography styles */
input,
button,
textarea,
select {
  font: inherit;
}

/* Bootstrap */

.row {
  --bs-gutter-x: 30px;
}

/* Style form fields */
button[type="submit"],
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="url"],
input[type="file"],
textarea,
select {
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--navy);
  color: var(--wp--preset--color--foreground);
  border-radius: 0;
  font-size: var(--wp--preset--font-size--standard);
  line-height: 1.5625;
  padding: 11px;
  width: 100%;
}

input,
textarea {
  caret-color: var(--wp--preset--color--secondary);
}

button[type="submit"] {
  cursor: pointer;
  width: unset;
}

select {
  appearance: none;
  background-image:
    url("assets/img/arrow_filter.svg"),
    linear-gradient(
      to bottom,
      var(--wp--preset--color--white) 0%,
      var(--wp--preset--color--white) 100%
    );
  background-position:
    right 11px top 50%,
    0 0;
  background-repeat: no-repeat, repeat;
  background-size: 20px, 100%;
  font-weight: var(--wp--custom--font-weight--regular);
  padding-right: 42px;
}

select::-ms-expand {
  display: none;
}

select[multiple="multiple"] {
  background: none;
  background-color: var(--wp--preset--color--white);
  padding-right: 11px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--wp--preset--color--secondary);
  outline: 0;
}

/*
 * Typography
 */

a {
  text-decoration-color: var(--wp--preset--color--primary);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

address {
  font-style: normal;
  margin-bottom: 1rem;
}

blockquote {
  font-size: 1.375rem;
  text-align: left;
}

@media (min-width: 768px) {
  blockquote {
    font-size: 1.6875rem;
  }
}

dl div {
  margin-bottom: 0.25rem;
}

dt {
  font-weight: 700;
}

dd > :last-child {
  margin-bottom: 0;
}

hr {
  border: 2px solid var(--wp--preset--color--dark-background);
}

strong {
  font-weight: var(--wp--custom--font-weight--bold);
}

time {
  font-style: normal;
}

ol,
p,
ul {
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  ol,
  p,
  ul {
    margin-bottom: 20px;
  }
}

@media (min-width: 992px) {
  h3 {
    line-height: 1.1851851852;
  }
}

/*
 * Link effects
 */

*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--wp--preset--color--secondary);
  outline-offset: 4px;
  transition: none !important;
}

a,
a img,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
  transition: all 0.2s ease-in-out;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  font-weight: inherit;
  text-decoration: inherit;
}

/*
 * Admin bar
 */

@media only screen and (max-width: 782px) {
  #wpadminbar {
    display: none !important;
  }
}

@media only screen and (min-width: 782px) {
  .admin-bar .site-container {
    padding-top: 32px;
  }
}

/*
 * Universal site elements
 */

.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  display: block;
}

.skip-link:focus-visible {
  top: 20px;
  left: 20px;
  z-index: 99999;
}

.site-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 83px;
}

@media (min-width: 768px) {
  .site-container {
    padding-bottom: 90px;
  }
}

@media (min-width: 992px) {
  .site-container {
    padding-bottom: 83px;
  }
}

.site-header {
  padding: 20px 0;
}

.logo__link {
  display: inline-block;
}

.logo__link:hover {
  opacity: 0.5;
}

.menu {
  display: flex;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.menu-header-secondary {
  align-items: center;
  display: none;
  justify-content: flex-end;
  margin: 0 -15px 30px -15px;
}

.menu-header-secondary > li {
  padding: 0 15px;
}

@media (min-width: 992px) {
  .menu-header-secondary {
    display: flex;
  }
}

.site-content {
  flex: 1;
}

.header.header--with-image .header__inner {
  margin-top: 30px;
}

.header .header__heading {
  margin-bottom: 0;
}

.header .header__excerpt {
  margin-top: 10px;
}

@media (min-width: 768px) {
  .header.header--with-image .header__inner {
    margin-top: 55px;
  }

  .header .header__excerpt {
    margin-top: 15px;
  }
}

@media (min-width: 992px) {
  .header.header--with-image {
    position: relative;
  }

  .header.header--with-image::after {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, #fff 100%);
    content: "";
    height: 100%;
    mix-blend-mode: multiply;
    width: 100%;
  }

  .header.header--with-image .header__border {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }

  .header.header--with-image .header__image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .header.header--with-image .header__inner {
    position: relative;
    z-index: 1;
    color: var(--wp--preset--color--background);
    margin-top: 120px;
    margin-bottom: 155px;
  }

  .header.header--with-image.header--with-breadcrumbs .header__inner {
    margin-top: 50px;
  }

  .header.header--with-image div.breadcrumbs {
    margin-bottom: 50px;
  }

  .header.header--with-image div.breadcrumbs a {
    color: var(--wp--preset--color--background);
  }

  .header.header--with-image div.breadcrumbs a:hover {
    color: var(--wp--preset--color--secondary);
  }
}

.site-footer {
  padding: 0 0 10px 0;
}

.site-footer .site-footer__row {
  align-items: center;
}

.logo--footer {
  margin-bottom: 20px;
}

.menu-footer-primary {
  flex-direction: column;
}

.menu-footer-primary {
  margin-bottom: 15px;
}

.menu-footer-primary > li + li {
  margin-top: 15px;
}

.menu-footer-primary a {
  color: var(--wp--preset--color--foreground);
  font-family: var(--wp--preset--font-family--poppins);
  font-size: 1rem;
  font-weight: var(--wp--custom--font-weight--semi-bold);
  line-height: 1.5625;
  text-decoration: none;
}

.menu-footer-primary a:hover {
  color: var(--wp--preset--color--primary);
}

.site-footer .site-footer__colophon {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.site-footer .site-footer__colophon__divider {
  display: none;
}

.social-media {
  align-items: center;
  display: flex;
  list-style: none;
  margin: 0 -7.5px;
  padding-left: 0;
}

.social-media .social-media__item {
  padding: 0 7.5px;
}

.social-media .social-media__link {
  background-image: var(--custom_bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40px;
  display: block;
  height: 40px;
  width: 40px;
}

.social-media .social-media__link:hover {
  background-image: var(--custom_hover_bg);
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 15px;
  }

  .logo--footer {
    margin-bottom: 0;
  }

  .menu-footer-primary {
    align-items: flex-end;
  }

  .site-footer .site-footer__colophon {
    justify-content: flex-start;
    margin-top: 40px;
  }

  .site-footer .site-footer__colophon__divider {
    display: inline;
  }
}

@media (min-width: 992px) {
  .menu-footer-primary {
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
  }

  .menu-footer-primary > li + li {
    margin-top: 0;
    margin-left: 30px;
  }

  .site-footer .site-footer__colophon {
    margin-top: 20px;
  }
}

.site-cta {
  position: fixed;
  z-index: 9999;
  bottom: 0;
  background-color: var(--wp--preset--color--primary);
  box-shadow: 0px -2px 6.1px 0px rgba(0, 0, 0, 0.35);
  padding: 15px 0;
  width: 100%;
}

.site-cta .site-cta__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.site-cta .site-cta__copy {
  color: var(--wp--preset--color--white);
  font-family: var(--wp--preset--font-family--poppins);
  font-size: 0.875rem;
  line-height: 1.215;
}

.site-cta .site-cta__link {
  flex: 0 1 auto;
  margin-left: 15px;
}

@media (min-width: 768px) {
  .site-cta .site-cta__copy {
    font-size: 1.3125rem;
    line-height: 1.43;
  }
}

@media (min-width: 992px) {
  .site-cta .site-cta__inner {
    justify-content: center;
  }

  .site-cta .site-cta__link {
    margin-left: 30px;
  }
}

/*
 * Commonly used elements
 */

.back {
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.back .back__link {
  font-family: var(--wp--preset--font-family--poppins);
  color: var(--wp--preset--color--primary);
  font-size: 1.1875rem;
  font-weight: var(--wp--custom--font-weight--semi-bold);
  line-height: 1.2631578947;
  text-transform: uppercase;
}

.back .back__link:hover {
  color: var(--wp--preset--color--secondary);
}

@media (min-width: 768px) {
  .back {
    margin-top: 60px;
    margin-bottom: 60px;
  }
}

.block-header {
  margin-bottom: 30px;
}

.block-header .block-header__heading {
  margin-bottom: 0;
}

.block-header .block-header__heading + .block-header__description {
  margin-top: 10px;
}

.block-header .block-header__link {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .block-header {
    margin-bottom: 40px;
  }

  .block-header .block-header__heading + .block-header__description {
    margin-top: 15px;
  }
}

@media (min-width: 992px) {
  .block-header .row {
    justify-content: center;
    text-align: center;
  }

  .block-header.block-header--left .row {
    justify-content: flex-start;
    text-align: left;
  }
}

div.breadcrumbs {
  margin-bottom: 30px;
}

div.breadcrumbs a {
  color: var(--wp--preset--color--primary);
}

div.breadcrumbs a:hover {
  color: var(--wp--preset--color--secondary);
}

.excerpt--farm .excerpt__image-wrap {
  margin-bottom: 10px;
}

.excerpt .excerpt__image {
  border-radius: 15px;
  margin-bottom: 20px;
}

.excerpt--farm .excerpt__image {
  margin-bottom: 0;
}

.excerpt .excerpt__meta {
  margin-bottom: 10px;
}

.excerpt .excerpt__title {
  margin-bottom: 0;
}

.excerpt .excerpt__excerpt {
  margin-top: 10px;
  margin-bottom: 0;
}

.excerpt .excerpt__link {
  display: inline-block;
  margin-top: 10px;
}

.learn-more {
  color: var(--wp--preset--color--primary);
  font-size: 1.125rem;
}

.learn-more--small {
  color: var(--wp--preset--color--foreground);
  font-size: 0.875rem;
  font-style: italic;
  font-weight: var(--wp--custom--font-weight--regular);
  line-height: 1.9;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
}

.learn-more:hover {
  color: var(--wp--preset--color--secondary);
  text-decoration-color: var(--wp--preset--color--secondary);
}

.learn-more--reverse,
.has-bg--secondary .spm-statistic__link .learn-more {
  color: var(--wp--preset--color--white);
}

.learn-more--reverse:focus,
.has-bg--secondary .spm-statistic__link .learn-more:focus {
  outline-color: var(--wp--preset--color--white);
}

.learn-more--reverse:hover,
.has-bg--secondary .spm-statistic__link .learn-more:hover {
  color: var(--wp--preset--color--white);
  opacity: 0.5;
  text-decoration-color: var(--wp--preset--color--primary);
}

.has-bg--secondary .spm-statistic__link .learn-more--small:hover {
  text-decoration-color: currentColor;
}

.pagination {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .pagination {
    margin-top: 50px;
    text-align: center;
  }
}

.post-categories {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.post-categories li {
  display: inline-block;
  margin-right: 1em;
}

.post-categories li:last-child {
  margin-right: 0;
}

.posts-navigation {
  margin-top: 30px;
}

.posts-navigation .nav-links {
  display: flex;
  justify-content: space-between;
}

.row-post {
  border-bottom: 2px solid var(--wp--preset--color--dark-background);
  padding-bottom: 30px;
}

.row-post .row-post__image {
  border-radius: 15px;
  margin-bottom: 20px;
}

.row-post .row-post__meta {
  margin-bottom: 10px;
}

.row-post .row-post__title {
  margin-bottom: 0;
}

.row-post .row-post__excerpt {
  margin-top: 10px;
  margin-bottom: 0;
}

.row-post .row-post__link {
  display: inline-block;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .row-post .row-post__image {
    margin-bottom: 30px;
  }

  .row-post .row-post__meta {
    margin-bottom: 12px;
  }

  .row-post .row-post__excerpt {
    margin-top: 12px;
  }

  .row-post .row-post__link {
    margin-top: 12px;
  }
}

@media (min-width: 992px) {
  .row-post .row-post__image {
    margin-bottom: 0;
  }
}

.sep {
  color: var(--wp--preset--color--primary);
}

.wp-element-button {
  display: inline-block;
  text-align: center;
  text-shadow: none !important;
}

.wp-element-button:focus-visible {
  outline: 5px solid var(--wp--preset--color--foreground);
  outline-offset: -5px;
}

.wp-element-button.is-style-bar {
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--primary);
  font-size: 0.875rem;
  font-weight: var(--wp--custom--font-weight--bold);
  line-height: 1.3571428571;
  padding: 8px 15px;
  white-space: nowrap;
}

.wp-element-button.is-style-bar:focus-visible {
  outline-color: var(--wp--preset--color--foreground);
}

.wp-element-button.is-style-bar:hover {
  background-color: var(--wp--preset--color--foreground);
  color: var(--wp--preset--color--background);
}

@media (min-width: 768px) {
  .wp-element-button.is-style-bar {
    font-size: 1rem;
    font-weight: var(--wp--custom--font-weight--semi-bold);
    line-height: 1.3125;
    padding: 10px 20px;
  }
}

/*
 * Plugin styles
 */

/*
 * Gravity Forms
 */

.gfield {
  border: 0;
  margin: 0 0 25px 0;
  padding: 0;
}

.gfield_label {
  color: var(--wp--preset--color--foreground);
  display: block;
  font-family: var(--wp--preset--font-family--poppins);
  font-size: var(--wp--preset--font-size--label);
  font-weight: var(--wp--custom--font-weight--semi-bold);
  margin-bottom: 6px;
  padding: 0 !important;
}

.gfield_description,
.gform-field-label--type-sub {
  display: block;
  font-family: var(--wp--preset--font-family--archivo);
  font-size: 1rem;
  font-style: italic;
  font-weight: var(--wp--custom--font-weight--regular);
  line-height: 1.4;
  margin: 8px 0;
}

.field_description_above .gfield_description {
  margin-top: 0;
}

/* Hidden labels */
.gform_wrapper .hidden_label .gfield_label,
.gform_wrapper label.hidden_sub_label,
.gform_wrapper label.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  width: 1px;
}

.gform_wrapper li.hidden_label input {
  margin-top: 8px;
}

.gform_wrapper
  .field_sublabel_hidden_label
  .ginput_complex.ginput_container
  input[type="text"],
.gform_wrapper
  .field_sublabel_hidden_label
  .ginput_complex.ginput_container
  select {
  margin-bottom: 8px;
}

.gform_wrapper .left_label li.hidden_label input,
.gform_wrapper .right_label li.hidden_label input {
  margin-left: 3.7%;
}

.gform_wrapper .hidden_label input.large,
.gform_wrapper .hidden_label select.large,
.gform_wrapper .top_label input.large,
.gform_wrapper .top_label select.large {
  width: 100%;
}

/* Sections */
.gsection_title {
  margin-bottom: 0;
}

/* Fields with choices */
.gchoice,
.gfield-image-choice-wrapper-inner,
.ginput_container_consent {
  align-items: center;
  display: flex;
}

.gfield-choice-input,
.ginput_container_consent input[type="checkbox"] {
  margin-right: 10px;
}

.gfield-choice-input + label,
.ginput_container_consent input[type="checkbox"] + label {
  font-size: var(--wp--preset--font-size--regular);
}

.gchoice + .gchoice {
  margin-top: 0;
}

.gfield-choice-image-wrapper {
  margin-bottom: 15px;
}

/* List fields */
.gfield_list_icons {
  margin-top: 15px;
}

.gfield_list_group + .gfield_list_group {
  margin-top: 15px;
}

.add_list_item,
.delete_list_item {
  display: none;
}

/* Upload fields */
.gform_fileupload_rules {
  margin-top: 15px;
  margin-bottom: 0;
}

/* Complex fields */
.ginput_container--name {
  display: flex;
  margin: 0 -15px;
}

.ginput_container--name > span {
  flex: 1;
  padding: 0 15px;
}

.ginput_container_address {
  display: flex;
  flex-direction: column;
}

.ginput_container_address > span + span {
  margin-top: 15px;
}

.gfield--type-time .ginput_complex {
  align-items: center;
  display: flex;
  margin: 0 0.125em;
}

.gfield--type-time .ginput_complex > div {
  padding: 0 0.125em;
}

/*Datepicker*/
.gform-theme-datepicker:not(.gform-legacy-datepicker) {
  background-color: var(--wp--preset--color--background);
  border: 0;
  padding: 10px;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  display: inline-block;
  margin-bottom: 10px;
  width: 50%;
}

.ui-datepicker-next {
  text-align: right;
}

.ui-datepicker-month {
  margin-bottom: 10px;
}

.ui-datepicker-year {
  margin-bottom: 10px;
}

/* Messages */
.gform_validation_errors,
.gfield_validation_message {
  background-color: var(--wp--preset--color--white);
  padding: 15px;
}

.gform_validation_errors:focus,
.gfield_validation_message:focus {
  outline: 0;
}

.validation_message--hidden-on-empty {
  padding: 0;
}

/* Hide icons */
.gform_save_link svg {
  display: none;
}

/* Required fields */
.gfield_required {
  color: var(--wp--preset--color--primary);
  font-weight: var(--wp--custom--font-weight--bold);
}

.gfield_required:before {
  content: " ";
}

/*
 * Search and Filter
 */

.searchandfilter ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.searchandfilter li {
  margin-bottom: 15px;
}

.searchandfilter li:last-child {
  margin-bottom: 0;
}

.searchandfilter .search-filter-reset {
  color: var(--wp--preset--color--primary);
  text-decoration: none;
}

.searchandfilter .search-filter-reset:hover {
  color: var(--wp--preset--color--secondary);
}

@media (min-width: 768px) {
  .searchandfilter ul {
    align-items: center;
    flex-direction: row;
    margin: 0 -15px;
  }

  .searchandfilter li {
    flex: 1;
    margin-bottom: 0;
    padding: 0 15px;
  }
}

/*
 * Block spacing - outer blocks
 */

.header + .spm-blocks > :first-child {
  margin-top: 40px;
}

.spm-blocks > * + * {
  margin-top: 40px;
}

.spm-blocks > :last-child {
  margin-bottom: 40px;
}

.has-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 0;
}

.has-bg--secondary {
  background-color: var(--wp--preset--color--secondary);
}

.spm-blocks > .has-bg + .has-bg {
  margin-top: 0;
}

.spm-blocks > .has-bg--md + .has-bg,
.spm-blocks > .has-bg--lg + .has-bg,
.spm-blocks > .has-bg--xl + .has-bg {
  margin-top: 40px;
}

.has-bg--secondary + .has-bg--secondary {
  padding-top: 0;
}

.has-bg--secondary .block-header {
  color: var(--wp--preset--color--white);
}

.has-bg--secondary .block-header a:not(.wp-element-button) {
  color: var(--wp--preset--color--white);
}

.has-bg--secondary .block-header a:not(.wp-element-button):focus-visible {
  outline-color: var(--wp--preset--color--white);
}

.has-bg--secondary .block-header a:not(.wp-element-button):hover {
  color: var(--wp--preset--color--white);
  opacity: 0.5;
  text-decoration-color: var(--wp--preset--color--primary);
}

.has-bg--secondary .block-header a.wp-element-button {
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--primary);
}

.has-bg--secondary .block-header a.wp-element-button:hover {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
}

@media (min-width: 768px) {
  .header + .spm-blocks > :first-child {
    margin-top: 60px;
  }

  .spm-blocks > * + * {
    margin-top: 60px;
  }

  .spm-blocks > :last-child {
    margin-bottom: 60px;
  }

  .spm-blocks > .has-bg--md + .has-bg {
    margin-top: 0;
  }

  .spm-blocks > .has-bg--lg + .has-bg,
  .spm-blocks > .has-bg--xl + .has-bg {
    margin-top: 60px;
  }

  .has-bg {
    padding: 80px 0;
  }
}

@media (min-width: 992px) {
  .header.header--with-image + .spm-blocks > .has-bg:first-child {
    margin-top: 0;
  }

  .spm-blocks > .has-bg--lg + .has-bg {
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .spm-blocks > .has-bg--xl + .has-bg {
    margin-top: 0;
  }
}

/*
 * Block spacing - inner blocks
 */

.spm-inner-blocks-row {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.spm-inner-blocks-row > * + * {
  margin-block-start: 25px;
}

@media (min-width: 768px) {
  .spm-inner-blocks-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px;
  }

  .spm-inner-blocks-row > * + * {
    margin-block-start: unset;
  }

  /* Default: 1 item, 3 items or 5+ items */
  .spm-inner-blocks-row > * {
    flex: 0 1 33.3333%;
    padding: 0 15px;
  }

  .spm-inner-blocks-row > *:not(:nth-child(-n + 3)) {
    margin-block-start: 30px;
  }

  /* Special case: exactly 2 items */
  .spm-inner-blocks-row:has(> :nth-child(2):last-child) > * {
    flex: 0 1 50%;
  }

  /* Special case: exactly 4 items */
  .spm-inner-blocks-row:has(> :nth-child(4):last-child) > * {
    flex: 0 1 25%;
    margin-block-start: 0;
  }
}

.spm-inner-block-content-wrap {
  background-color: white;
  padding: 15px;
}

/*
 * Utility classes
 */

.break-out {
  position: relative;
  right: 50%;
  left: 50%;
  margin-right: -50vw;
  margin-left: -50vw;
  max-width: 100vw;
  width: 100vw;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.link-has-image:hover img {
  opacity: 0.5;
}

.text-large {
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.5625;
}

.text-right {
  text-align: right;
}

.text-small {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.5833;
}

.text-subheading {
  display: block;
  font-family: var(--wp--preset--font-family--poppins);
  font-size: var(--wp--preset--font-size--card);
  font-weight: var(--wp--custom--font-weight--semi-bold);
  line-height: 1.25;
  margin-bottom: 10px;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .text-subheading {
    margin-bottom: 15px;
  }
}

.wysiwyg *:has(+ h2) {
  margin-bottom: 20px !important;
}

.wysiwyg li + li {
  margin-top: 10px;
}

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

@media (min-width: 768px) {
  .wysiwyg *:has(+ h2) {
    margin-bottom: 30px !important;
  }
}

/*
 * Borders
 */

.has-border {
  position: relative;
}

.has-border::before,
.has-border::after {
  position: absolute;
  left: 0;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: 100vw auto;
  content: "";
  display: block;
  height: 100%;
  pointer-events: none;
  width: 100%;

  /* Subpixel rendering fixes */
  backface-visibility: hidden;
  image-rendering: crisp-edges;
  transform: translateZ(0);
}

.has-border--top::before {
  top: -1px; /* Subpixel rendering fix */
  background-image: url("assets/img/border-top.svg");
  background-position: top center;
}

.has-border--bottom::after {
  bottom: -1px; /* Subpixel rendering fix */
  background-image: url("assets/img/border-bottom.svg");
  background-position: bottom center;
}

@media (min-width: 768px) {
  .spm-single .spm-single__content *:has(+ h2) {
    margin-bottom: 30px !important;
  }
}

.spm-index {
  padding-bottom: 40px;
}

.spm-index .spm-index__sticky-posts {
  padding: 40px 0;
}

.spm-index .spm-index__sticky-post {
  margin-bottom: 30px;
}

.spm-index .spm-index__sticky-post:last-child {
  margin-bottom: 0;
}

.spm-index .spm-index__posts {
  display: flex;
  flex-direction: column;
  margin-bottom: -30px;
}

.spm-index .spm-index__posts > * {
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .spm-index {
    padding-bottom: 60px;
  }

  .spm-index .spm-index__sticky-posts {
    padding: 60px 0;
  }

  .spm-index .spm-index__posts {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 -15px -50px;
  }

  .spm-index .spm-index__posts > * {
    flex: 0 1 50%;
    margin-bottom: 50px;
    padding: 0 15px;
  }
}

@media (min-width: 992px) {
  .spm-index .spm-index__posts > * {
    flex: 0 1 33.3333%;
  }
}

.header-post .header-post__heading {
  margin-bottom: 15px;
}

.header-post .header-post__image {
  border-radius: 15px;
  margin-bottom: 30px;
  width: 100%;
}

.header-post .header-post__date {
  font-family: var(--wp--preset--font-family--poppins);
  font-size: 1.1875rem;
  font-weight: var(--wp--custom--font-weight--semi-bold);
  display: block;
  line-height: 1.1578947368;
  margin-bottom: 30px;
}

/* WordPress Image Classes */

.alignleft {
  float: left;
  margin: 0 20px 15px 0;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignright {
  float: right;
  margin: 0 0 15px 20px;
}

.filters {
  margin-top: 40px;
  margin-bottom: 30px;
}

.filters .filters__heading {
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .filters {
    margin-top: 60px;
    margin-bottom: 50px;
  }
}

@media (min-width: 992px) {
  .filters {
    margin-top: 45px;
  }
}

.single .wp-element-caption {
  font-style: italic;
}

.video-wrap {
  position: relative;
  padding-bottom: 10px;
}

.video-wrap::after {
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("assets/img/play.svg");
  background-position: bottom right 20px;
  background-repeat: no-repeat;
  background-size: 84px 56px;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  pointer-events: none;
}
