@charset "UTF-8";
/* GENERAL STYLES */
:root {
  --ubgrits-color-text: #090b27;
  --ubgrits-color-main: #2838bf;
  --ubgrits-color-secondary: #b2bf01;
  --ubgrits-color-secondary-light: #dbea11;
  --ubgrits-color-gray: #484a63;
  --ubgrits-color-main-light: #5360cc;
  --ubgrits-color-white: #fff;
  --ubgrits-spacer--xs: min(1.5rem, 2vw);
  --ubgrits-spacer--s: min(2.5rem, 3vw);
  --ubgrits-spacer--m: min(4rem, 5vw);
  --ubgrits-spacer--l: min(6.5rem, 8vw);
  --ubgrits-spacer--xl: min(10.5rem, 13vw);
}

body {
  font-family: Inter, sans-serif;
  color: var(--ubgrits-color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

h2 {
  font-size: clamp(1.85rem, 1.85rem + (1vw - 0.2rem) * 1.083, 2.5rem);
}

h3 {
  font-size: 24px;
  font-weight: 700;
}

p {
  font-size: 19px;
  color: #111541;
}

a {
  font-weight: 700;
  text-decoration: none !important;
}

.no-posts-found {
  color: #5F5E8F;
  font-style: italic;
}

/* UTILITIES */
.container {
  width: 90%;
  max-width: 1200px;
}
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
}

/* Spacer utility */
.spacer-variable-xs {
  height: var(--ubgrits-spacer--xs);
}

.spacer-variable-s {
  height: var(--ubgrits-spacer--s);
}

.spacer-variable-m {
  height: var(--ubgrits-spacer--m);
}

.spacer-variable-l {
  height: var(--ubgrits-spacer--l);
}

.spacer-variable-xl {
  height: var(--ubgrits-spacer--xl);
}

.spacer-fixed-xxxs {
  height: 3px;
  overflow-y: hidden;
}

@media (min-width: 576px) {
  .spacer-fixed-xxxs {
    height: 4px;
  }
}
@media (min-width: 992px) {
  .spacer-fixed-xxxs {
    height: 6px;
  }
}
@media (min-width: 1400px) {
  .spacer-fixed-xxxs {
    height: 8px;
  }
}
.spacer-fixed-xxs {
  height: 6px;
  overflow-y: hidden;
}

@media (min-width: 576px) {
  .spacer-fixed-xxs {
    height: 12px;
  }
}
@media (min-width: 992px) {
  .spacer-fixed-xxs {
    height: 18px;
  }
}
@media (min-width: 1400px) {
  .spacer-fixed-xxs {
    height: 24px;
  }
}
.spacer-fixed-xs {
  height: 12px;
  overflow-y: hidden;
}

@media (min-width: 576px) {
  .spacer-fixed-xs {
    height: 15px;
  }
}
@media (min-width: 992px) {
  .spacer-fixed-xs {
    height: 18px;
  }
}
@media (min-width: 1400px) {
  .spacer-fixed-xs {
    height: 24px;
  }
}
.spacer-fixed-s {
  height: 18px;
  overflow-y: hidden;
}

@media (min-width: 576px) {
  .spacer-fixed-s {
    height: 20px;
  }
}
@media (min-width: 992px) {
  .spacer-fixed-s {
    height: 24px;
  }
}
@media (min-width: 1400px) {
  .spacer-fixed-s {
    height: 32px;
  }
}
.spacer-fixed-m {
  height: 24px;
  overflow-y: hidden;
}

@media (min-width: 567px) {
  .spacer-fixed-m {
    height: 30px;
  }
}
@media (min-width: 992px) {
  .spacer-fixed-m {
    height: 36px;
  }
}
@media (min-width: 1400px) {
  .spacer-fixed-m {
    height: 48px;
  }
}
.spacer-fixed-l {
  height: 36px;
  overflow-y: hidden;
}

@media (min-width: 576px) {
  .spacer-fixed-l {
    height: 42px;
  }
}
@media (min-width: 992px) {
  .spacer-fixed-l {
    height: 48px;
  }
}
@media (min-width: 1400px) {
  .spacer-fixed-l {
    height: 60px;
  }
}
.spacer-fixed-xl {
  height: 48px;
  overflow-y: hidden;
}

@media (min-width: 576px) {
  .spacer-fixed-xl {
    height: 72px;
  }
}
@media (min-width: 992px) {
  .spacer-fixed-xl {
    height: 96px;
  }
}
@media (min-width: 1400px) {
  .spacer-fixed-xl {
    height: 120px;
  }
}
.spacer-fixed-xxl {
  height: 96px;
  overflow-y: hidden;
}

@media (min-width: 576px) {
  .spacer-fixed-xxl {
    height: 144px;
  }
}
@media (min-width: 992px) {
  .spacer-fixed-xxl {
    height: 192px;
  }
}
@media (min-width: 1400px) {
  .spacer-fixed-xxl {
    height: 240px;
  }
}
/* Row utilities */
.row-2-col {
  display: flex;
  gap: 72px;
  flex-direction: column;
}

@media (min-width: 768px) {
  .row-2-col {
    flex-direction: row;
  }

  .row-2-col > figure {
    width: 50%;
  }
}
.row-2-col-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .row-2-col-column {
    width: 50%;
  }
}
.row-2-col,
.row-3-col {
  display: flex;
  gap: var(--ubgrits-spacer--s);
  flex-direction: column;
  margin-bottom: 24px !important;
}
.row-2-col > *,
.row-3-col > * {
  flex-grow: 1;
}

@media (min-width: 768px) {
  .row-2-col {
    flex-direction: row;
  }
  .row-2-col > * {
    width: 50%;
  }

  .row-3-col {
    flex-direction: row;
  }
  .row-3-col > * {
    width: 33%;
  }
}
.empty-50 {
  width: 50%;
}

.empty-33 {
  width: 33%;
}

.empty-70 {
  width: 70%;
}

.empty-30 {
  width: 30%;
}

.row-2-col-30-70 {
  display: flex;
  gap: 24px;
  flex-direction: column;
  margin-bottom: 24px !important;
  min-height: 200px;
}

@media (min-width: 768px) {
  .row-2-col-30-70 {
    flex-direction: row;
  }
}
.row-2-col-30-column,
.row-2-col-70-column {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .row-2-col-30-column {
    width: 30%;
  }

  .row-2-col-70-column {
    width: 70%;
  }
}
/* Link utilities */
.no-underline a {
  text-decoration: none;
}

/* Card utilities */
.rsc-card {
  background-color: #fff;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.15);
}

.rsc-card:hover {
  cursor: pointer;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.07);
}

.rsc-card:active {
  cursor: pointer;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0);
}

/* MOBILE NAVIGATION */
/* NAVBAR */
/* Navbar Animations */
.general-navigation {
  height: 112px;
  width: 100%;
  z-index: 100;
  background-color: var(--ubgrits-color-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.general-navigation.scrolling-navbar {
  background-color: var(--ubgrits-color-main);
  backdrop-filter: saturate(200%) blur(10px);
  transition: transform ease-in-out 0.6s;
  -webkit-transition: transform ease-in-out 0.6s;
  -moz-transition: transform ease-in-out 0.6s;
  -ms-transition: transform ease-in-out 0.6s;
  -o-transition: transform ease-in-out 0.6s;
}

.scrolling-navbar.hide-nav-shadow {
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0);
}

.general-navigation .menu-item {
  list-style-type: none;
}

.own-navbar-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
  height: 72px;
  min-width: 90%;
  max-width: 1200px;
}
@media (min-width: 1200px) {
  .own-navbar-container {
    max-width: 1400px;
  }
}

.logo-gen-nav {
  /* padding-top: 44px; */
}
.logo-gen-nav .logo {
  display: block;
  width: 121px;
  height: 76px;
  top: 0;
  left: 0;
  background-image: url("img/grits-logo.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
}

/*
.general-navigation.scrolling-navbar .logo-gen-nav .logo {
  background-image: url("img/grits-logo-navbar.svg");
}
*/
.general-nav-items {
  margin-left: 100px;
}
@media (min-width: 1024px) {
  .general-nav-items {
    visibility: visible;
  }
}
@media (min-width: 1200px) {
  .general-nav-items {
    margin-left: 208px;
  }
}
.general-nav-items .menu {
  margin-bottom: 0;
  padding-inline-start: 0;
  display: flex;
  flex-direction: row;
  gap: 32px;
  list-style-type: none;
}
.general-nav-items .menu li {
  font-size: clamp(15px, 0.875rem + (1vw - 3.2px) * 0.104, 16px);
}
.general-nav-items .menu li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}
.general-nav-items .menu li.current_page_item > a {
  text-decoration: none;
  color: #c8d172;
}
.general-nav-items .sub-menu {
  position: absolute;
  padding-inline-start: 0;
  list-style-type: none;
  margin-top: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
  background-color: var(--ubgrits-color-main);
  border: 1px solid rgba(255, 255, 255, 0.35);
  visibility: hidden;
}
.general-nav-items .sub-menu.visible {
  visibility: visible;
}
.general-nav-items .sub-menu li {
  background-color: var(--ubgrits-color-main);
  padding: 4px 12px;
  text-transform: none;
  font-size: 13px;
  letter-spacing: normal;
  /* &:not(:first-child) {
      border-top: 1px solid tomato;
  } */
}
.general-nav-items .sub-menu li a {
  font-weight: 500;
}
.general-nav-items .sub-menu li a:hover {
  color: #c8d172;
}

@media (min-width: 576px) {
  .menu-button {
    margin-top: -22px;
  }
}
@media (min-width: 1024px) {
  .menu-button {
    display: none;
  }
}

@media (min-width: 576px) {
  #menu-button-icon {
    height: 15px;
  }
}

.hamburger {
  position: absolute;
  right: 24px;
  top: 87px;
  z-index: 2010;
}
@media (min-width: 780px) {
  .hamburger {
    right: 44px;
    top: 72px;
  }
}

.hamburger .line {
  width: 26px;
  height: 2px;
  background-color: #fff;
  display: block;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.hamburger:hover {
  cursor: pointer;
}

@media (min-width: 1024px) {
  #hamburger-button {
    display: none;
  }
}

/* Hamburger animation */
#hamburger-button.is-active .line:nth-child(2) {
  opacity: 0;
}

#hamburger-button.is-active .line:nth-child(1) {
  -webkit-transform: translateY(13px) rotate(45deg);
  -ms-transform: translateY(13px) rotate(45deg);
  -o-transform: translateY(13px) rotate(45deg);
  transform: translateY(7px) rotate(45deg);
}

#hamburger-button.is-active .line:nth-child(3) {
  -webkit-transform: translateY(-13px) rotate(-45deg);
  -ms-transform: translateY(-13px) rotate(-45deg);
  -o-transform: translateY(-13px) rotate(-45deg);
  transform: translateY(-7px) rotate(-45deg);
}

/* FOOTER */
.project-logos .main-logos-display {
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 36px;
}
@media (min-width: 768px) {
  .project-logos .main-logos-display {
    flex-direction: row;
  }
}
.project-logos .main-logos-display #main-logo-poctefa {
  max-width: 300px;
  width: 100%;
}
@media (min-width: 576px) {
  .project-logos .main-logos-display #main-logo-poctefa {
    max-width: 320px;
  }
}
@media (min-width: 992px) {
  .project-logos .main-logos-display #main-logo-poctefa {
    max-width: 360px;
  }
}
.project-logos .main-logos-display #main-logo-ub {
  max-width: 220px;
  width: 100%;
}
@media (min-width: 576px) {
  .project-logos .main-logos-display #main-logo-ub {
    max-width: 220px;
  }
}
@media (min-width: 992px) {
  .project-logos .main-logos-display #main-logo-ub {
    max-width: 280px;
  }
}

.main-footer {
  background-color: #101a70;
  color: #fff;
  padding-top: 48px;
  padding-bottom: 48px;
  font-size: 14px;
}
.main-footer li a {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
}

.main-footer .menu {
  list-style-type: none;
  padding-inline-start: 0;
}

.main-footer-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}

.footer-whole-row {
  text-align: center;
  padding-top: 48px;
}

.footer-whole-row a {
  color: #fff;
  text-decoration: none;
}

#menu-menuinferior1 a,
#menu-menuinferior2 a,
#menu-menuinferior3 a,
#menu-menuinferior4 a {
  color: #fff;
}

.members-access {
  font-size: 12px;
  color: #fff;
  opacity: 0.6;
  margin-bottom: 24px;
  display: block;
}
.members-access.inactive {
  cursor: default;
  pointer-events: none;
}

.footer-legal {
  margin-bottom: 12px;
}
.footer-legal a {
  font-size: 13px;
  font-weight: 500;
  color: #a6a2bb;
}
.footer-legal a:first-of-type {
  border-right: 1px solid #a6a2bb;
  padding-right: 12px;
}
.footer-legal a:last-of-type {
  padding-left: 6px;
}

/* LOGIN */
#login {
  width: 100%;
  height: 100vh;
  background-color: #221656;
}
#login #nav,
#login #backtoblog {
  text-align: center;
  color: #fff;
}
#login .submit .button-primary {
  background: #b0c100;
  border-color: #b0c100;
  font-weight: 600;
}

.login form {
  width: 320px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  border-radius: 3px;
}

.login #backtoblog a,
.login #nav a {
  color: #fff;
}
.login #backtoblog a:hover,
.login #nav a:hover {
  color: #c8d172;
}

.login h1 a {
  background-image: none, url("img/grits-logo-full.svg");
  background-size: contain;
  width: 204px;
  height: 130px;
}

#login-message {
  width: 320px;
  margin-left: auto;
  margin-right: auto;
}
#login-message p {
  font-size: 19px;
}

/* CONTACT PAGE */
.contacte-content a {
  color: var(--ubgrits-color-main-light);
}
.contacte-content a:hover {
  color: var(--ubgrits-color-main);
}

.wpcf7 {
  width: 100%;
}
@media (min-width: 768px) {
  .wpcf7 {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
  }
}
.wpcf7 p {
  font-size: 15px;
}
.wpcf7 input {
  margin-top: 2px;
  height: 40px;
  border-color: transparent;
}
.wpcf7 textarea {
  border-color: transparent;
}
.wpcf7 label {
  width: 100%;
}
.wpcf7 .wpcf7-text,
.wpcf7 .wpcf7-textarea {
  width: 100%;
}
.wpcf7 .wpcf7-submit {
  background: #b0c100;
  border: none;
  font-weight: 600;
  color: #fff;
  padding: 6px 18px;
  cursor: pointer;
  border-radius: 4px;
  float: right;
  clear: both;
  /* Clears the float */
}
.wpcf7 .wpcf7-submit:hover {
  background: #9aa801;
}

/*  BLOG */
.posts-list-image {
  margin-bottom: 12px;
}
@media (min-width: 576px) {
  .posts-list-image {
    margin-bottom: 18px;
  }
}
@media (min-width: 768px) {
  .posts-list-image {
    margin-bottom: 0;
  }
}
.posts-list-image a {
  display: block;
  height: 246px;
  width: 100%;
}
@media (min-width: 768px) {
  .posts-list-image a {
    height: 306px;
  }
}
@media (min-width: 992px) {
  .posts-list-image a {
    height: 266px;
  }
}
@media (min-width: 1200px) {
  .posts-list-image a {
    height: 246px;
  }
}
.posts-list-image a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
}

.post-content h2:first-of-type {
  margin-bottom: 12px;
}
.post-content .post-data {
  margin-bottom: 12px;
  color: #535783;
}
.post-content .post-image {
  margin-bottom: 48px;
  height: 200px;
  width: 100%;
}
@media (min-width: 380px) {
  .post-content .post-image {
    height: 286px;
  }
}
@media (min-width: 576px) {
  .post-content .post-image {
    height: 326px;
  }
}
@media (min-width: 768px) {
  .post-content .post-image {
    height: 366px;
  }
}
@media (min-width: 992px) {
  .post-content .post-image {
    height: 468px;
  }
}
@media (min-width: 1200px) {
  .post-content .post-image {
    height: 528px;
  }
}
.post-content .post-image img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-content .post-categories {
  margin-bottom: 24px;
}
.post-content .category-label,
.post-content .tag-label {
  display: inline-flex;
  padding: 3px 8px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: #E4EBFF;
  color: #0F235C;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-right: 6px;
}
@media (min-width: 768px) {
  .post-content .category-label,
.post-content .tag-label {
    font-size: 10px;
  }
}
@media (min-width: 992px) {
  .post-content .category-label,
.post-content .tag-label {
    font-size: 11px;
  }
}
.post-content .mes-novetats-container {
  padding-top: 48px;
}

/* POSTS LIST */
.posts-list .main-container {
  padding-bottom: 0;
}
.posts-list h2 {
  color: #262B37;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.5px;
  border-bottom: 1px solid #262B37;
  margin-top: 36px;
  margin-bottom: 72px;
}
.posts-list h3 {
  margin-top: 0;
  margin-bottom: 8px;
}
.posts-list h3 a {
  color: var(--ubgrits-color-main-light);
  font-size: 28px;
}
.posts-list-segueix a {
  color: var(--ubgrits-color-main-light);
  font-weight: 600;
  text-decoration: none;
}
.posts-list-segueix a::after {
  content: "→";
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.posts-list-segueix a:hover::after {
  transform: translateX(4px);
}
.posts-list p {
  font-size: 19px;
}
.posts-list .row {
  margin-bottom: 96px;
}
.posts-list .posts-list-texts {
  display: flex;
  align-content: space-between;
  flex-direction: column;
  justify-content: space-between;
}
.posts-list .post-categories {
  margin-bottom: 24px;
}
.posts-list .category-label,
.posts-list .tag-label {
  display: inline-flex;
  padding: 3px 8px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: #E4EBFF;
  color: #0F235C;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-right: 6px;
}
@media (min-width: 768px) {
  .posts-list .category-label,
.posts-list .tag-label {
    font-size: 10px;
  }
}
@media (min-width: 992px) {
  .posts-list .category-label,
.posts-list .tag-label {
    font-size: 11px;
  }
}
.posts-list .novetat-info {
  color: #5F5E8F;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .posts-list .novetat-info {
    font-size: 14px;
    margin-bottom: 6px;
  }
}

/*
.own-pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
*/
.posts-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 64px;
  margin-bottom: 36px;
}
@media (min-width: 992px) {
  .posts-pagination {
    margin-top: 36px;
  }
}
.posts-pagination .posts-pagination-container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  gap: 3px;
}
.posts-pagination .posts-pagination-container a, .posts-pagination .posts-pagination-container span {
  padding: 8px 12px;
}
.posts-pagination .posts-pagination-container a {
  color: #111541;
  font-weight: 400;
  text-decoration: none !important;
}
.posts-pagination .posts-pagination-container .page-numbers {
  transition: 0.2s ease-in;
  -webkit-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
}
.posts-pagination .posts-pagination-container .page-numbers.current,
.posts-pagination .posts-pagination-container .page-numbers:hover {
  background-color: #e4ebff;
}
.posts-pagination .posts-pagination-container .page-numbers:active {
  background-color: #d1d4f3;
}

/*** ÀMBITS ***/
.ambit .ambit-pretitol {
  font-size: 11px;
  color: #ffffff;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0;
  letter-spacing: 1px;
}
@media (min-width: 768px) {
  .ambit .ambit-pretitol {
    font-size: 12px;
  }
}
.ambit .ambit-banner {
  height: 280px;
  /* background-image should go here but are listed below at an id basis */
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 50%, cover;
  /* Gradient covers 50% height, image covers full */
  background-position: bottom, center;
  /* Position gradient at the top, image in the center */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
@media (min-width: 576px) {
  .ambit .ambit-banner {
    height: 300px;
  }
}
@media (min-width: 768px) {
  .ambit .ambit-banner {
    height: 320px;
  }
}
@media (min-width: 992px) {
  .ambit .ambit-banner {
    height: 340px;
  }
}
@media (min-width: 1200px) {
  .ambit .ambit-banner {
    height: 360px;
  }
}
.ambit .ambit-banner#ambit-envelliment-banner,
.ambit .ambit-banner#ambit-envejecimiento-banner,
.ambit .ambit-banner#ambit-vieillissement-banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)), url("img/envelliment-banner.jpg");
}

/* Fonts */
@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-VariableFont_slnt,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal italic;
}
/* MAIN PAGE */
#mainCarouselFade .carousel-control-next-icon,
#mainCarouselFade .carousel-control-prev-icon {
  visibility: hidden;
}

#mainCarouselFade {
  z-index: -1000;
}
#mainCarouselFade .carousel-item {
  max-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-intro {
  margin-left: auto;
  margin-right: auto;
  width: 65%;
  line-height: 1.3;
  text-align: center;
}
.main-intro p {
  color: var(--ubgrits-color-gray);
  font-weight: 300;
  font-size: 25px;
}
.main-intro .highlight {
  transition: background-size 0.5s ease;
  font-weight: 500;
}

.main-copy {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.main-copy p {
  color: var(--ubgrits-color-gray);
  font-weight: 300;
  font-size: 19px;
}
.main-copy strong {
  font-weight: 600;
}

.main-copy.row-2-col {
  gap: 13%;
}

.main-sections-wrapper {
  background: linear-gradient(to bottom, transparent 20%, #f3f4ff 20%, #f3f4ff 80%, transparent 80%);
}

.main-sections {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.main-sections .row-3-col {
  text-align: center;
}

.main-sections .linies-de-recerca-card {
  text-align: center;
  background-image: url("img/grits-linies-de-recerca-.webp");
  background-size: cover;
  height: 320px;
  display: flex;
  align-items: flex-end;
}
.main-sections .linies-de-recerca-card h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  background: #2838bfe6;
  height: 74px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  flex-grow: 1;
}

.main-sections .row-3-col .rsc-card {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  height: 280px;
  display: flex;
  align-items: flex-end;
}
.main-sections .row-3-col .rsc-card.projectes-destacats-card {
  background-image: url("img/projectes-destacats.webp");
}
.main-sections .row-3-col .rsc-card.publicacions-card {
  background-image: url("img/publicacions.webp");
}
.main-sections .row-3-col .rsc-card.tesis-card {
  background-image: url("img/tesis-doctorals.webp");
}
.main-sections .row-3-col h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  background-color: #2838bfe6;
  height: 74px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  flex-grow: 1;
  padding: 24px;
}

/* grans-linies-i-sublinies-de-recerca */
#grans-linies-i-sublinies-de-recerca .row-3-col .rsc-card {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  height: 360px;
  display: flex;
  align-items: flex-end;
}
#grans-linies-i-sublinies-de-recerca .row-3-col .rsc-card.projectes-destacats-card {
  background-image: url("img/grits-projectes-destacats.webp");
}
#grans-linies-i-sublinies-de-recerca .row-3-col .rsc-card.publicacions-card {
  background-image: url("img/grits-publicacions.webp");
}
#grans-linies-i-sublinies-de-recerca .row-3-col .rsc-card.tesis-card {
  background-image: url("img/grits-tesis.webp");
}
#grans-linies-i-sublinies-de-recerca .row-3-col h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  background-color: #2838bfe6;
  height: 100px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  flex-grow: 1;
  padding: 24px;
}

.sub-header {
  height: 260px;
  background-image: url("img/subheader-bckg-linies-de-recerca.png");
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sub-header h2 {
  color: var(--ubgrits-color-secondary-light);
  text-align: center;
  letter-spacing: -1px;
}

.single-projectes .sub-header,
#projectes-destacats .sub-header {
  background-image: url("img/projectes-banner.webp");
}

.single-publicacions .sub-header,
.post-type-archive-publicacions .sub-header,
#publicacions .sub-header {
  background-image: url("img/publicacions-banner.webp");
}

#tesis-doctorals .sub-header {
  background-image: url("img/tesis-doctorals-banner.webp");
}
.single-post .sub-header {
  height: 112px;
}
.single-post .sub-header h2 {
  font-size: 32px;
}

.conceptualitzacio-i-metodologia-del-treball-social-card {
  background-image: url("img/conceptualitzacio-i-metodologia-del-treball-social.webp");
}

.treball-social-i-contextos-dintervencio-card {
  background-image: url("img/treball-social-i-contextos-dintervencio.webp");
}

/* treball-social-i-contextos-dintervencio */
#treball-social-i-contextos-dintervencio .text-intro {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#treball-social-i-contextos-dintervencio .text-intro p {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0;
  color: var(--ubgrits-color-gray);
}

h3.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: clamp(17.905px, 1.119rem + (1vw - 3.2px) * 1.052, 28px);
  font-style: normal;
  font-weight: 700;
  color: var(--ubgrits-color-main-light);
  text-align: center;
}
h3.section-title:after {
  content: "";
  display: inline-block;
  background-color: #a6aeeb;
  background-size: contain;
  background-repeat: repeat;
  width: 48px;
  height: 6px;
  margin-top: 12px;
}

.contextos,
.metodologia {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}
.contextos a,
.contextos a:hover,
.metodologia a,
.metodologia a:hover {
  color: #090b27;
  margin-bottom: 24px;
}

.contextos-cards,
.metodologia-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: center;
}

/*
a:hover .contextos-card img,
a:hover .metodologia-card img {
    transform: scale(1.1);
}
*/
.metodologia-card,
.contextos-card {
  width: 240px;
}
.metodologia-card .grits-card-img-container,
.contextos-card .grits-card-img-container {
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.metodologia-card .grits-card-img-container img,
.contextos-card .grits-card-img-container img {
  height: 240px;
  width: 240px;
  transition: 0.3s ease-in-out;
}
.metodologia-card .grits-card-img-container img:hover,
.contextos-card .grits-card-img-container img:hover {
  transform: scale(1.05);
}
.metodologia-card h4,
.contextos-card h4 {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  font-weight: 600;
  line-height: 1.2;
}

.objectius {
  background-color: #f3f5ff;
}

.objectius-list {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  list-style: none;
  margin-bottom: 0;
}
.objectius-list li {
  margin-bottom: 24px;
  position: relative;
  padding-left: 24px;
  color: var(--ubgrits-color-gray);
}
.objectius-list li::before {
  content: "";
  display: inline-block;
  background-image: url("img/grits-check.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  position: absolute;
  left: -18px;
}
.objectius-list li:last-child {
  margin-bottom: 0;
}

#conceptualitzacio-i-metodologia-del-treball-social .text-intro {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
#conceptualitzacio-i-metodologia-del-treball-social .text-intro p {
  font-size: 19px;
  color: var(--ubgrits-color-gray);
}

/* PROJECTE */
.projecte-tag {
  display: inline-block;
  color: #2838BF;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 23px;
  /* 176.923% */
  letter-spacing: 0.5px;
  background: #DBEA11;
  text-transform: uppercase;
  padding: 4px 12px;
}

.single-projectes .projecte {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.single-projectes .projecte h2 {
  color: #484A63;
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  line-height: 27px;
}
.single-projectes .projecte h3 {
  color: #5562C5;
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
  line-height: 23px;
}
.single-projectes .projecte .post-thumbnail img {
  max-width: 100%;
  height: auto;
}
.single-projectes .projecte .two-columns {
  column-count: 1;
}
@media (min-width: 768px) {
  .single-projectes .projecte .two-columns {
    column-count: 2;
    column-gap: 48px;
  }
}
.single-projectes .projecte .investigadors-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.single-projectes .projecte .investigador-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 150px;
}
.single-projectes .projecte .investigador-imatge img {
  height: 124px;
  width: 124px;
  border-radius: 100%;
}
.single-projectes .projecte .nom-investigador {
  font-size: 15px;
  color: var(--ubgrits-color-text);
  font-weight: 600;
  text-align: center;
}
.single-projectes .projecte .objectius-del-projecte ul {
  list-style: none;
  margin-bottom: 0;
}
.single-projectes .projecte .objectius-del-projecte li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 0;
  font-size: 19px;
  color: var(--ubgrits-color-text);
}
.single-projectes .projecte .objectius-del-projecte li::before {
  content: "";
  display: inline-block;
  background-image: url("img/grits-check.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 22px;
  height: 22px;
  position: absolute;
  left: -36px;
}
.single-projectes .projecte .objectius-del-projecte li:last-child {
  margin-bottom: 0;
}
.single-projectes .projecte .publicacions-projecte-container {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.single-projectes .projecte .publicacio-projecte-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: fit-content;
}
.single-projectes .projecte .publicacio-projecte-item .publicacio-projecte-item-coberta {
  position: relative;
  height: 300px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.12);
}
.single-projectes .projecte .publicacio-projecte-item .publicacio-projecte-item-coberta img {
  height: 100%;
  max-width: 400px;
  object-fit: cover;
}
.single-projectes .projecte .publicacio-projecte-item .publicacio-projecte-item-coberta .publicacio-projecte-item-tipus {
  position: absolute;
  right: 0;
  bottom: 6px;
  background-color: rgba(220, 234, 16, 0.9);
  color: #2838bf;
  padding: 3px 12px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 600;
}
.single-projectes .projecte .publicacio-projecte-item .publicacio-projecte-item-titol {
  width: 0;
  min-width: 100%;
  text-align: center;
  font-size: 15px;
  color: var(--ubgrits-color-text);
  font-weight: 600;
}
.single-projectes .projecte .publicacio-projecte-item:hover .publicacio-projecte-item-coberta {
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.07);
}
.single-projectes .projecte .publicacio-projecte-item:active .publicacio-projecte-item-coberta {
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}

/* Pàgina publicació */
.single-publicacions .publicacio-container,
.post-type-archive-publicacions .publicacio-container,
#publicacions .publicacio-container,
#tesis-doctorals .publicacio-container,
#llibres .publicacio-container,
#revistes .publicacio-container,
#altres .publicacio-container {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 36px;
  background-color: #f3f4ff;
  padding: 48px;
  border-radius: 12px;
}
@media (min-width: 768px) {
  .single-publicacions .publicacio-container,
.post-type-archive-publicacions .publicacio-container,
#publicacions .publicacio-container,
#tesis-doctorals .publicacio-container,
#llibres .publicacio-container,
#revistes .publicacio-container,
#altres .publicacio-container {
    flex-direction: row;
  }
}
.single-publicacions .publicacio-coberta,
.post-type-archive-publicacions .publicacio-coberta,
#publicacions .publicacio-coberta,
#tesis-doctorals .publicacio-coberta,
#llibres .publicacio-coberta,
#revistes .publicacio-coberta,
#altres .publicacio-coberta {
  height: 100%;
  box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.04);
  position: relative;
  align-self: center;
  align-self: flex-start;
}
@media (min-width: 768px) {
  .single-publicacions .publicacio-coberta,
.post-type-archive-publicacions .publicacio-coberta,
#publicacions .publicacio-coberta,
#tesis-doctorals .publicacio-coberta,
#llibres .publicacio-coberta,
#revistes .publicacio-coberta,
#altres .publicacio-coberta {
    height: 100%;
    max-width: 50%;
  }
}
.single-publicacions .publicacio-coberta img,
.post-type-archive-publicacions .publicacio-coberta img,
#publicacions .publicacio-coberta img,
#tesis-doctorals .publicacio-coberta img,
#llibres .publicacio-coberta img,
#revistes .publicacio-coberta img,
#altres .publicacio-coberta img {
  width: 200px;
  height: auto;
}
.single-publicacions .projecte-tag,
.post-type-archive-publicacions .projecte-tag,
#publicacions .projecte-tag,
#tesis-doctorals .projecte-tag,
#llibres .projecte-tag,
#revistes .projecte-tag,
#altres .projecte-tag {
  position: absolute;
  bottom: 18px;
  left: 0;
  display: inline-block;
  color: #17259e;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 23px;
  letter-spacing: 0.5px;
  background: #DBEA11;
  text-transform: uppercase;
  padding: 2px 12px;
}
.single-publicacions .publicacio-dades,
.post-type-archive-publicacions .publicacio-dades,
#publicacions .publicacio-dades,
#tesis-doctorals .publicacio-dades,
#llibres .publicacio-dades,
#revistes .publicacio-dades,
#altres .publicacio-dades {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
}
@media (min-width: 992px) {
  .single-publicacions .publicacio-dades,
.post-type-archive-publicacions .publicacio-dades,
#publicacions .publicacio-dades,
#tesis-doctorals .publicacio-dades,
#llibres .publicacio-dades,
#revistes .publicacio-dades,
#altres .publicacio-dades {
    width: 70%;
  }
}
.single-publicacions .publicacio-dades--full,
.post-type-archive-publicacions .publicacio-dades--full,
#publicacions .publicacio-dades--full,
#tesis-doctorals .publicacio-dades--full,
#llibres .publicacio-dades--full,
#revistes .publicacio-dades--full,
#altres .publicacio-dades--full {
  width: 100%;
}
.single-publicacions .publicacio-dades .projecte-tag,
.post-type-archive-publicacions .publicacio-dades .projecte-tag,
#publicacions .publicacio-dades .projecte-tag,
#tesis-doctorals .publicacio-dades .projecte-tag,
#llibres .publicacio-dades .projecte-tag,
#revistes .publicacio-dades .projecte-tag,
#altres .publicacio-dades .projecte-tag {
  position: static;
  align-self: flex-start;
}
@media (min-width: 992px) {
  .single-publicacions .publicacio-dades.tesis-tutoritzacio,
.post-type-archive-publicacions .publicacio-dades.tesis-tutoritzacio,
#publicacions .publicacio-dades.tesis-tutoritzacio,
#tesis-doctorals .publicacio-dades.tesis-tutoritzacio,
#llibres .publicacio-dades.tesis-tutoritzacio,
#revistes .publicacio-dades.tesis-tutoritzacio,
#altres .publicacio-dades.tesis-tutoritzacio {
    width: 100%;
  }
}
.single-publicacions .publicacio-dades p, .single-publicacions .publicacio-dades a, .single-publicacions .publicacio-dades span,
.post-type-archive-publicacions .publicacio-dades p,
.post-type-archive-publicacions .publicacio-dades a,
.post-type-archive-publicacions .publicacio-dades span,
#publicacions .publicacio-dades p,
#publicacions .publicacio-dades a,
#publicacions .publicacio-dades span,
#tesis-doctorals .publicacio-dades p,
#tesis-doctorals .publicacio-dades a,
#tesis-doctorals .publicacio-dades span,
#llibres .publicacio-dades p,
#llibres .publicacio-dades a,
#llibres .publicacio-dades span,
#revistes .publicacio-dades p,
#revistes .publicacio-dades a,
#revistes .publicacio-dades span,
#altres .publicacio-dades p,
#altres .publicacio-dades a,
#altres .publicacio-dades span {
  font-size: 14px;
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .single-publicacions .publicacio-dades p, .single-publicacions .publicacio-dades a, .single-publicacions .publicacio-dades span,
.post-type-archive-publicacions .publicacio-dades p,
.post-type-archive-publicacions .publicacio-dades a,
.post-type-archive-publicacions .publicacio-dades span,
#publicacions .publicacio-dades p,
#publicacions .publicacio-dades a,
#publicacions .publicacio-dades span,
#tesis-doctorals .publicacio-dades p,
#tesis-doctorals .publicacio-dades a,
#tesis-doctorals .publicacio-dades span,
#llibres .publicacio-dades p,
#llibres .publicacio-dades a,
#llibres .publicacio-dades span,
#revistes .publicacio-dades p,
#revistes .publicacio-dades a,
#revistes .publicacio-dades span,
#altres .publicacio-dades p,
#altres .publicacio-dades a,
#altres .publicacio-dades span {
    font-size: 19px;
  }
}
.single-publicacions .publicacio-dades h3,
.post-type-archive-publicacions .publicacio-dades h3,
#publicacions .publicacio-dades h3,
#tesis-doctorals .publicacio-dades h3,
#llibres .publicacio-dades h3,
#revistes .publicacio-dades h3,
#altres .publicacio-dades h3 {
  font-size: 19px;
  color: var(--ubgrits-color-main-light);
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .single-publicacions .publicacio-dades h3,
.post-type-archive-publicacions .publicacio-dades h3,
#publicacions .publicacio-dades h3,
#tesis-doctorals .publicacio-dades h3,
#llibres .publicacio-dades h3,
#revistes .publicacio-dades h3,
#altres .publicacio-dades h3 {
    font-size: 22px;
  }
}
.single-publicacions .any-de-publicacio,
.post-type-archive-publicacions .any-de-publicacio,
#publicacions .any-de-publicacio,
#tesis-doctorals .any-de-publicacio,
#llibres .any-de-publicacio,
#revistes .any-de-publicacio,
#altres .any-de-publicacio {
  font-size: 19px;
  font-weight: 600;
}
.single-publicacions .link-button,
.post-type-archive-publicacions .link-button,
#publicacions .link-button,
#tesis-doctorals .link-button,
#llibres .link-button,
#revistes .link-button,
#altres .link-button {
  display: inline-flex;
  align-items: center;
  color: #111541;
  border: 1px solid #dcdff6;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  background-color: #ebecfc;
}
.single-publicacions .link-button::before,
.post-type-archive-publicacions .link-button::before,
#publicacions .link-button::before,
#tesis-doctorals .link-button::before,
#llibres .link-button::before,
#revistes .link-button::before,
#altres .link-button::before {
  content: "";
  display: inline-block;
  background-image: url("img/link-open.svg");
  background-size: contain;
  background-repeat: no-repeat;
  min-width: 19px;
  width: 19px;
  height: 19px;
  position: relative;
  left: -4px;
  top: 0px;
  margin-right: 6px;
}
.single-publicacions .link-button:hover,
.post-type-archive-publicacions .link-button:hover,
#publicacions .link-button:hover,
#tesis-doctorals .link-button:hover,
#llibres .link-button:hover,
#revistes .link-button:hover,
#altres .link-button:hover {
  background-color: #e6e8f8;
}
.single-publicacions .download-pdf-button,
.post-type-archive-publicacions .download-pdf-button,
#publicacions .download-pdf-button,
#tesis-doctorals .download-pdf-button,
#llibres .download-pdf-button,
#revistes .download-pdf-button,
#altres .download-pdf-button {
  display: inline-flex;
  align-items: center;
  color: #111541;
  border: 1px solid #dcdff6;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  background-color: #ebecfc;
}
.single-publicacions .download-pdf-button::before,
.post-type-archive-publicacions .download-pdf-button::before,
#publicacions .download-pdf-button::before,
#tesis-doctorals .download-pdf-button::before,
#llibres .download-pdf-button::before,
#revistes .download-pdf-button::before,
#altres .download-pdf-button::before {
  content: "";
  display: inline-block;
  background-image: url("img/download-pdf.svg");
  background-size: contain;
  background-repeat: no-repeat;
  min-width: 24px;
  width: 24px;
  height: 24px;
  position: relative;
  left: -8px;
  top: 1px;
}
.single-publicacions .download-pdf-button:hover,
.post-type-archive-publicacions .download-pdf-button:hover,
#publicacions .download-pdf-button:hover,
#tesis-doctorals .download-pdf-button:hover,
#llibres .download-pdf-button:hover,
#revistes .download-pdf-button:hover,
#altres .download-pdf-button:hover {
  background-color: #e6e8f8;
}
.single-publicacions .pagination,
.post-type-archive-publicacions .pagination,
#publicacions .pagination,
#tesis-doctorals .pagination,
#llibres .pagination,
#revistes .pagination,
#altres .pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 48px;
}
.single-publicacions .pagination a, .single-publicacions .pagination span,
.post-type-archive-publicacions .pagination a,
.post-type-archive-publicacions .pagination span,
#publicacions .pagination a,
#publicacions .pagination span,
#tesis-doctorals .pagination a,
#tesis-doctorals .pagination span,
#llibres .pagination a,
#llibres .pagination span,
#revistes .pagination a,
#revistes .pagination span,
#altres .pagination a,
#altres .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ubgrits-color-main);
  border: 1px solid #dcdff6;
  background-color: #fff;
  transition: background-color 0.2s;
}
.single-publicacions .pagination a:hover, .single-publicacions .pagination span:hover,
.post-type-archive-publicacions .pagination a:hover,
.post-type-archive-publicacions .pagination span:hover,
#publicacions .pagination a:hover,
#publicacions .pagination span:hover,
#tesis-doctorals .pagination a:hover,
#tesis-doctorals .pagination span:hover,
#llibres .pagination a:hover,
#llibres .pagination span:hover,
#revistes .pagination a:hover,
#revistes .pagination span:hover,
#altres .pagination a:hover,
#altres .pagination span:hover {
  background-color: #f3f4ff;
}
.single-publicacions .pagination .current,
.post-type-archive-publicacions .pagination .current,
#publicacions .pagination .current,
#tesis-doctorals .pagination .current,
#llibres .pagination .current,
#revistes .pagination .current,
#altres .pagination .current {
  background-color: var(--ubgrits-color-main);
  color: #fff;
  border-color: var(--ubgrits-color-main);
}
.single-publicacions .pagination .current:hover,
.post-type-archive-publicacions .pagination .current:hover,
#publicacions .pagination .current:hover,
#tesis-doctorals .pagination .current:hover,
#llibres .pagination .current:hover,
#revistes .pagination .current:hover,
#altres .pagination .current:hover {
  background-color: var(--ubgrits-color-main);
}
.single-publicacions .pagination .dots,
.post-type-archive-publicacions .pagination .dots,
#publicacions .pagination .dots,
#tesis-doctorals .pagination .dots,
#llibres .pagination .dots,
#revistes .pagination .dots,
#altres .pagination .dots {
  border: none;
  background: none;
}
.single-publicacions .pagination .dots:hover,
.post-type-archive-publicacions .pagination .dots:hover,
#publicacions .pagination .dots:hover,
#tesis-doctorals .pagination .dots:hover,
#llibres .pagination .dots:hover,
#revistes .pagination .dots:hover,
#altres .pagination .dots:hover {
  background: none;
}

/* Qui som */
#qui-som {
  background-color: #f6f7ff;
}
#qui-som .investigador-foto {
  width: 120px;
  height: 120px;
}
#qui-som .investigador-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 100%;
}
#qui-som .investigadors-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 12px;
}
#qui-som .investigador-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  background-color: white;
  min-height: 380px;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.04);
  color: var(--ubgrits-color-gray);
  font-weight: inherit;
}
#qui-som .investigador-card:hover {
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
@media (min-width: 768px) {
  #qui-som .investigador-card {
    width: 49%;
  }
}
@media (min-width: 1024px) {
  #qui-som .investigador-card {
    width: 32.3%;
  }
}
@media (min-width: 1200px) {
  #qui-som .investigador-card {
    width: 24%;
  }
}
#qui-som .investigador-card h3 {
  text-align: center;
  font-size: 22px;
}
#qui-som .investigador-card p {
  text-align: center;
}
#qui-som .investigadora-principal,
#qui-som .coordinadora {
  color: #5562C5;
  font-size: 11px;
  font-weight: 600;
  line-height: 23px;
  letter-spacing: 0.77px;
  text-transform: uppercase;
}

/* Single investigador */
.single-investigadors {
  background-color: #f6f7ff;
}
.single-investigadors .investigador-foto {
  width: 120px;
  height: 120px;
}
.single-investigadors .investigador-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 100%;
}
.single-investigadors .investigador-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
}
.single-investigadors .investigador-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  background-color: white;
  border-radius: 12px;
  padding: 24px 48px;
  box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.04);
  color: var(--ubgrits-color-gray);
  font-weight: inherit;
}
.single-investigadors .investigador-card h3 {
  text-align: center;
  font-size: 22px;
}
.single-investigadors .investigador-card p {
  text-align: center;
}
.single-investigadors .investigador-card .investigador-descripcio {
  max-width: 600px;
}
.single-investigadors .investigador-card .investigador-curriculum p {
  text-align: left;
}
.single-investigadors .investigador-card h4 {
  color: #5562C5;
  font-size: 20px;
  margin-bottom: 18px;
  font-style: normal;
  font-weight: 700;
}
.single-investigadors .investigador-card ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.single-investigadors .investigador-card .investigador-projectes li,
.single-investigadors .investigador-card .investigador-publicacions li {
  display: inline-block;
  background: #F2F3F9;
  margin-left: 2px;
  margin-right: 2px;
  margin-bottom: 6px;
  align-items: center;
}
.single-investigadors .investigador-card ul li:hover {
  background: #e3e6f7;
}
.single-investigadors .investigador-card ul li a {
  display: block;
  color: #101542;
  font-weight: 400;
  text-decoration: none !important;
  font-size: 19px;
  padding: 6px 12px;
}
.single-investigadors .investigadora-principal,
.single-investigadors .coordinadora {
  color: #5562C5;
  font-size: 11px;
  font-weight: 600;
  line-height: 23px;
  letter-spacing: 0.77px;
  text-transform: uppercase;
}

/* Archive Publicacions */
/*
.post-type-archive-publicacions,
#publicacions,
#tesis-doctorals,
#llibres, 
#revistes {

    .publicacions-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 2%;
    }

    .publicacio-container {
        max-width: 48%;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 2%;
        background-color: #f3f4ff;
        padding: 24px;
        border-radius: 6px;
        cursor: pointer;

        @media (min-width: 768px) {
            max-width: 32%;
        }

        @media (min-width: 1200px) {
            max-width: 23%;
        }

        &:hover {
            background-color: #e3e6f7;;
        }
    }

    .publicacio-coberta {
        width: 100%;
        box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.04);
        position: relative;

        img {
            max-width: 100%;
        }

    }

    .projecte-tag {
        display: inline-block;
        color: #17259e;
        font-size: 9px;
        font-style: normal;
        font-weight: 600;
        line-height: 18px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        padding: 0px 6px !important;
        border-radius: 3px;
    }

    .publicacio-dades {
        width: 100%;

        p {
            font-size: 14px;
            font-weight: 400;
        }

        h3 {
            font-size: 18px;
            color: var(--ubgrits-color-main-light);
        }
    }
}
*/
/* Card projecte */
.projectes-card .row-3-col {
  flex-wrap: wrap;
}
.projectes-card .project-card {
  max-width: 100%;
  height: 280px;
  width: 100%;
  position: relative;
}
@media (min-width: 768px) {
  .projectes-card .project-card {
    max-width: 48%;
    height: 370px;
    width: 47%;
  }
}
.projectes-card .project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projectes-card .project-card h3 {
  position: absolute;
  bottom: 0;
  color: #FFF;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  background: rgba(40, 56, 191, 0.9);
  margin: 0;
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  width: 100%;
}

/* Mega Menu */
@media (max-width: 991px) {
  #mega-menu-wrap-headerMenuLocation.mega-menu-wrap {
    margin-top: 40px;
  }

  #mega-menu-wrap-headerMenuLocation .mega-menu-toggle .mega-toggle-blocks-right .mega-toggle-block:only-child {
    position: relative;
    top: -26px;
  }
}
/*
.mega-menu-item.mega-menu-item-type-post_type.mega-menu-item-object-page.mega-menu-item-has-children.mega-menu-item-278 .mega-menu-link,
.mega-menu-item.mega-menu-item-type-post_type.mega-menu-item-object-page.mega-menu-item-has-children.mega-menu-item-279 .mega-menu-link {
    line-height: 25px !important;
}
    */

/* Single notícia */
.noticia-titol {
  color: var(--ubgrits-color-main-light);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 6px;
}
.noticia-meta {
  color: #4b4d72;
  margin-bottom: 12px;
  font-style: italic;
}
.noticia .post-categories {
  margin-bottom: 24px;
}
.noticia .category-label,
.noticia .tag-label {
  display: inline-flex;
  padding: 3px 8px;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: #E4EBFF;
  color: #0F235C;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.noticia-featured-img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.noticia {
  overflow: hidden;
}
.noticia-tornar {
  color: var(--ubgrits-color-main-light);
  font-weight: 600;
  text-decoration: none;
}
.noticia-tornar:hover {
  color: var(--ubgrits-color-main);
  text-decoration: underline;
}
.noticia-content h2,
.noticia-content h3,
.noticia-content h4 {
  margin-top: 24px;
  margin-bottom: 18px;
}

/* Arxiu notícies */
.noticia-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #e8e9f0;
  text-decoration: none;
  color: inherit;
}
.noticia-item:hover {
  text-decoration: none;
  color: inherit;
}
.noticia-item-imatge {
  flex-shrink: 0;
  width: 200px;
}
.noticia-item-imatge img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.noticia-item-titol {
  color: var(--ubgrits-color-main-light);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}
.noticia-item-meta {
  color: #4b4d72;
  font-style: italic;
  margin-bottom: 12px;
}
.noticia-item-info p {
  color: var(--ubgrits-color-gray);
}

/* Filtre toggle */
.filtre-toggle {
  display: inline-flex;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--ubgrits-color-main);
  margin-bottom: 16px;
}
.filtre-toggle__btn {
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ubgrits-color-main);
  background: var(--ubgrits-color-white);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.filtre-toggle__btn:hover {
  text-decoration: none;
  color: var(--ubgrits-color-main);
  background: #E4EBFF;
}
.filtre-toggle__btn--active {
  background: var(--ubgrits-color-main);
  color: var(--ubgrits-color-white);
}
.filtre-toggle__btn--active:hover {
  background: var(--ubgrits-color-main);
  color: var(--ubgrits-color-white);
}

/* Badge impacte */
.badge-impacte {
  color: #ffffff;
  font-weight: 600;
  background-color: #5361cc;
  text-transform: uppercase;
  font-size: 11px !important;
  padding: 4px 8px;
  letter-spacing: .5px;
  border-radius: 4px;
  white-space: nowrap;
  display: block;
  width: fit-content;
  margin-top: 6px;
}

/*# sourceMappingURL=index.css.map */
