/*
Theme Name:         Food Future Systems Theme
Theme URI:          https://github.com/a8cteam51/team51-project-scaffold
Author:             Automattic Special Projects
Author URI:         https://wpspecialprojects.com
Description:        IFFS provides visitors with access to the best research on food systems and sustainability in one place.
Version:            1.0.0
Update URI:			false
Requires at least:  6.5
Requires PHP:       8.3
License:            GNU General Public License v3 or later
License URI:        http://www.gnu.org/licenses/gpl-3.0.html
Text Domain:        food-system-future
Domain Path:        /languages
Tags:               scaffold
*/
.has-huge-font-size {
  line-height: 1.3;
}

html {
  scroll-behavior: smooth;
}

/*
* Global styles, clean up gap on just wp-site-blocks top-level blocks
*/
:where(.wp-site-blocks) > *, .wp-site-blocks > .entry-content > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.wp-block-cover.alignfull .wp-block-cover__inner-container {
  flex: 1;
}

a {
  text-underline-offset: 14%;
  text-decoration-thickness: 0.1rem !important;
  text-underline-position: from-font;
}
a:hover {
  /* stylelint-disable-next-line value-keyword-case -- currentColor is a valid CSS keyword that should remain capitalized */
  text-decoration-color: currentColor;
}

@media (max-width: 781px) {
  .hide-md {
    display: none;
  }
}

/*
* Error 404 page styles
*/
@media (max-width: 599px) {
  .error404 .bg-image-container {
    background-image: none !important;
  }
}

/*
* Author page styles
*/
.author-social {
  display: flex;
  gap: var(--wp--preset--spacing--50);
  list-style: none;
  padding: var(--wp--preset--spacing--50) 0 0 0;
  margin: 0;
}
.author-social .author-social__link {
  display: inline-block;
  text-indent: -9999px;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease;
}
.author-social .author-social__link.network-linkedin {
  background-image: url(./assets/img/linkedin-logo.svg);
}
.author-social .author-social__link.network-twitter {
  background-image: url(./assets/img/twitter-logo.svg);
}
.author-social .author-social__link.network-instagram {
  background-image: url(./assets/img/instagram-logo.svg);
}
.author-social .author-social__link.network-bluesky {
  background-image: url(./assets/img/bluesky-logo.svg);
}
.author-social .author-social__link:hover {
  opacity: 0.8;
}

.about-us-author-list {
  gap: 0;
}

.team-member {
  padding-top: clamp(2.5rem, 1.219rem + 3.563vw, 3.5rem);
  padding-bottom: calc(var(--wp--preset--spacing--40) * 2);
}
.team-member .wp-block-avatar img {
  max-width: 298px;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
}
@media (max-width: 781px) {
  .team-member .wp-block-avatar img {
    max-width: 100%;
  }
}
.team-member .wp-block-post-author-biography {
  font-size: var(--wp--preset--font-size--paragraph-m);
  margin-block-start: var(--wp--preset--spacing--20);
}
.team-member .wp-block-post-author-biography p:first-child {
  margin-top: 0;
}
.team-member .wp-block-post-author-biography .wp-block-details {
  padding-top: var(--wp--preset--spacing--20);
}
.team-member .wp-block-post-author-name {
  margin-block-start: var(--wp--preset--spacing--20);
}
.team-member:first-of-type {
  padding-top: var(--wp--preset--spacing--50);
}

.page-template-default .wp-block-post-title, .article-template-default .wp-block-post-title {
  margin-bottom: 0;
}

.article-template-default .entry-content > :first-child {
  margin-top: 0 !important;
}
.article-template-default .entry-content ul li {
  margin-bottom: 1rem;
}

/*
* Sharedaddy sharing links styles
*/
.sharedaddy.sd-sharing-enabled {
  margin-top: var(--wp--preset--spacing--50);
}
.sharedaddy.sd-sharing-enabled .sd-title {
  font-size: var(--wp--preset--font-size--heading-five);
  font-weight: 500;
  margin-bottom: var(--wp--preset--spacing--40);
}
.sharedaddy.sd-sharing-enabled .sd-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--20);
}
.sharedaddy.sd-sharing-enabled .sd-content ul li {
  margin: 0;
}
.sharedaddy.sd-sharing-enabled .sd-content ul li a.sd-button {
  background-color: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}
.sharedaddy.sd-sharing-enabled .sd-content ul li a.sd-button::before {
  content: none;
}
.sharedaddy.sd-sharing-enabled .sd-content ul li a.sd-button > span {
  font-size: var(--wp--preset--font-size--paragraph-m);
  font-weight: 600;
  margin: 0;
  text-decoration: underline;
  color: var(--wp--preset--color--contrast);
  font-family: var(--wp--preset--font-family--be-vietnam-pro);
}
.sharedaddy.sd-sharing-enabled .sd-content ul li a.sd-button:hover {
  box-shadow: none;
}
.sharedaddy.sd-sharing-enabled .sd-content ul li a.sd-button:hover > span {
  text-decoration: none;
}

/**
 * Header menu
 */
@media (max-width: 479px) {
  .header-menu {
    flex-wrap: nowrap;
  }
}
.header-menu .wp-block-navigation-item__content:hover {
  text-decoration-color: var(--wp--preset--color--accent-3);
}

/*
* Footer styles
*/
footer .newsletter-signup-bar {
  gap: var(--wp--preset--spacing--80);
}
footer .newsletter-signup-bar .wp-block-jetpack-contact-form-container {
  flex-grow: 1;
  max-width: 806px;
}
@media (max-width: 1079px) {
  footer .newsletter-signup-bar {
    gap: var(--wp--preset--spacing--50);
    flex-direction: column;
    align-items: flex-start;
  }
  footer .wp-block-buttons.is-content-justification-right {
    justify-content: flex-start !important;
  }
}
footer a:not(.copyright-menu a) {
  text-decoration-color: var(--wp--preset--color--accent-3);
}
footer a:not(.copyright-menu a):hover {
  text-decoration-color: var(--wp--preset--color--accent-3);
}

/**
 * Topic Taxonomy
 */
.topic-overview {
  position: relative;
}
@media (min-width: 782px) and (max-width: 1279px) {
  .topic-overview .wp-block-columns .wp-block-column:last-child {
    padding-bottom: 315px;
  }
}
@media (max-width: 781px) {
  .topic-overview .wp-block-columns {
    row-gap: var(--wp--preset--spacing--80);
  }
}
.topic-overview .topic-toc a {
  text-decoration: none;
}
.topic-overview .topic-toc a:hover {
  text-decoration: underline;
}
.topic-overview figure.wp-block-image {
  position: absolute;
  bottom: -1rem;
  z-index: -1;
  right: var(--wp--preset--spacing--90);
}
@media (max-width: 781px) {
  .topic-overview figure.wp-block-image {
    position: relative;
    bottom: calc((var(--wp--preset--spacing--95) + 1rem) * -1);
    right: unset;
    margin-top: calc(118px - var(--wp--preset--spacing--95));
  }
}

@media (max-width: 781px) {
  .news-reports-topic .wp-block-columns {
    padding-bottom: var(--wp--preset--spacing--80);
  }
}

/*
* Search Library Banner
*/
.search-library-banner {
  position: relative;
  top: -1px;
}

/*
* Search Options
*/
@media (max-width: 781px) {
  .search-options-columns {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
.search-options-columns .wp-block-heading {
  word-break: normal;
}
.search-options-columns .is-style-arrow.wp-block-button .wp-block-button__link {
  white-space: normal;
}

@media (max-width: 781px) {
  .wp-block-buttons.hide-mobile {
    display: none;
  }
}
@media (min-width: 782px) {
  .wp-block-buttons.hide-desktop {
    display: none;
  }
}

.wp-block-button__link {
  transition: all ease 0.3s;
}

/*
* Common Card Carousel
*/
.card-carousel {
  position: relative;
}
.card-carousel .wp-block-cloudcatch-splide-carousel, .card-carousel .splide-carousel__container {
  position: initial;
  padding-top: 64px;
  width: 100%;
}
.card-carousel .wp-block-cloudcatch-splide-carousel .splide__arrows, .card-carousel .splide-carousel__container .splide__arrows {
  position: absolute;
  top: calc(var(--wp--preset--spacing--50) * -2);
  transform: translateY(-100%);
  left: calc(100vw - (var(--wp--preset--spacing--90) * 2 + 50px));
}
.card-carousel .wp-block-cloudcatch-splide-carousel .splide__arrows .splide__arrow, .card-carousel .splide-carousel__container .splide__arrows .splide__arrow {
  opacity: 1;
  background: none;
  border: none;
  border-radius: 0;
  width: 50px;
  height: 50px;
}
.card-carousel .wp-block-cloudcatch-splide-carousel .splide__arrows .splide__arrow:disabled, .card-carousel .splide-carousel__container .splide__arrows .splide__arrow:disabled {
  opacity: 0.5;
}
.card-carousel .wp-block-cloudcatch-splide-carousel .splide__arrows .splide__arrow svg, .card-carousel .splide-carousel__container .splide__arrows .splide__arrow svg {
  display: none;
}
.card-carousel .wp-block-cloudcatch-splide-carousel .splide__arrows .splide__arrow::before, .card-carousel .splide-carousel__container .splide__arrows .splide__arrow::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
}
.card-carousel .wp-block-cloudcatch-splide-carousel .splide__arrows .splide__arrow.splide__arrow--next, .card-carousel .splide-carousel__container .splide__arrows .splide__arrow.splide__arrow--next {
  right: -50px;
}
.card-carousel .wp-block-cloudcatch-splide-carousel .splide__arrows .splide__arrow.splide__arrow--next::before, .card-carousel .splide-carousel__container .splide__arrows .splide__arrow.splide__arrow--next::before {
  background: url(./assets/img/arrow-right-control.svg) no-repeat center center;
}
.card-carousel .wp-block-cloudcatch-splide-carousel .splide__arrows .splide__arrow.splide__arrow--prev, .card-carousel .splide-carousel__container .splide__arrows .splide__arrow.splide__arrow--prev {
  left: calc((var(--wp--preset--spacing--40) + 50px) * -1);
}
.card-carousel .wp-block-cloudcatch-splide-carousel .splide__arrows .splide__arrow.splide__arrow--prev::before, .card-carousel .splide-carousel__container .splide__arrows .splide__arrow.splide__arrow--prev::before {
  background: url(./assets/img/arrow-left-control.svg) no-repeat center center;
}
.card-carousel .wp-block-cloudcatch-splide-carousel .wp-block-splide-carousel, .card-carousel .wp-block-cloudcatch-splide-carousel .post-template-carousel, .card-carousel .wp-block-cloudcatch-splide-carousel .categories-carousel, .card-carousel .splide-carousel__container .wp-block-splide-carousel, .card-carousel .splide-carousel__container .post-template-carousel, .card-carousel .splide-carousel__container .categories-carousel {
  overflow: visible;
}
.card-carousel .wp-block-cloudcatch-splide-carousel .wp-block-splide-carousel:not(.is-overflow) .splide__arrows, .card-carousel .wp-block-cloudcatch-splide-carousel .post-template-carousel:not(.is-overflow) .splide__arrows, .card-carousel .wp-block-cloudcatch-splide-carousel .categories-carousel:not(.is-overflow) .splide__arrows, .card-carousel .splide-carousel__container .wp-block-splide-carousel:not(.is-overflow) .splide__arrows, .card-carousel .splide-carousel__container .post-template-carousel:not(.is-overflow) .splide__arrows, .card-carousel .splide-carousel__container .categories-carousel:not(.is-overflow) .splide__arrows {
  display: none;
}
.card-carousel .carousel-cursor {
  width: 96px;
  height: 96px;
  background: var(--wp--preset--color--accent-1);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  transform: translate(-50%, -50%);
  display: block;
  transition: opacity 0.2s ease;
}
.card-carousel .carousel-cursor span {
  background: url(./assets/img/arrow-left-carousel.svg) no-repeat center center;
  width: 100%;
  height: 100%;
  z-index: 101;
  display: block;
  content: "";
}

/*
* Topic Carousel
*/
.topics-carousel .splide__slide-link {
  z-index: 10;
  cursor: pointer;
}
.topics-carousel .splide__slide .card-content {
  cursor: pointer;
  padding: var(--wp--preset--spacing--50);
}
.topics-carousel .splide__slide .card-content > .wp-block-heading {
  transition: all ease 0.3s;
  position: relative;
  max-width: 90%;
}
.topics-carousel .splide__slide .card-content > .wp-block-heading::before {
  opacity: 0;
  content: url(/wp-content/themes/food-system-future/assets/img/arrow-right-card-green.svg);
  margin-right: var(--wp--preset--spacing--40);
  transition: all ease 0.3s;
  left: calc(var(--wp--preset--spacing--60) * -1);
  position: absolute;
  margin-top: -4px;
}
.topics-carousel .splide__slide .wp-block-image {
  margin-bottom: 0;
}
.topics-carousel .splide__slide .wp-block-image.aligncenter {
  align-self: center;
}
.topics-carousel .splide__slide .wp-block-image img {
  width: 100%;
  max-height: 140px;
  transition: transform 0.3s ease;
  margin-bottom: -5px;
  mix-blend-mode: multiply;
  object-fit: contain;
}
.topics-carousel .splide__slide.topic-health-nutrition .wp-block-image, .topics-carousel .splide__slide.topic-zoonoses .wp-block-image {
  max-height: 180px;
}
.topics-carousel .splide__slide.topic-health-nutrition .wp-block-image img, .topics-carousel .splide__slide.topic-zoonoses .wp-block-image img {
  margin-bottom: -15px;
}
.topics-carousel .splide__slide:last-child {
  margin-bottom: 0;
}
.topics-carousel .splide__slide:hover .card-content > .wp-block-heading {
  transform: translateX(var(--wp--preset--spacing--50));
  text-decoration: none;
  font-weight: 600;
  color: var(--wp--preset--color--accent-4);
}
.topics-carousel .splide__slide:hover .card-content > .wp-block-heading::before {
  opacity: 1;
  left: calc(var(--wp--preset--spacing--50) * -1);
}
.topics-carousel .splide__slide:hover .wp-block-image img {
  transform: scale(1.075) translateY(-5px);
  cursor: pointer;
}

/*
* Fact card pattern
*/
.fact-card {
  width: 336px;
}
.fact-card.is-content-justification-right {
  align-self: flex-end;
  margin-bottom: clamp(-125px, 437.14px - 33.57vw, 40px);
}
@media (max-width: 479px) {
  .fact-card.is-content-justification-right {
    align-self: center;
  }
}
@media (max-width: 479px) {
  .fact-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: var(--wp--preset--spacing--40);
  }
  .fact-card > * {
    margin: 0 !important;
    max-width: 100%;
  }
}

/*
* Article source card pattern
*/
.article-source-card {
  max-width: 336px;
}
.article-source-card .source-link a {
  white-space: wrap;
  text-align: left;
  line-height: 1.5;
  text-decoration: underline;
}
/*# sourceMappingURL=style.css.map */