.alba-news {
  padding: 0 var(--medium-hmargin);
}

.alba-news-loader {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background-color: transparent;
  position: relative;
}

.alba-news-loader > div {
  background-color: var(--teal);
  width: 0%;
  height: 100%;
  border-radius: 3px;
  position: absolute;
  left: 0;
  right: auto;
  right: unset;
}

.alba-news-loader.active > div {
  animation: loader 1s ease-in-out infinite;
}

@keyframes loader {
  0% {
    width: 0%;
    left: 0;
    right: auto;
    right: unset;
  }
  50% {
    width: 100%;
    left: 0;
    right: auto;
    right: unset;
  }
  50.000001% {
    width: 100%;
    right: 0;
    left: auto;
    left: unset;
  }
  100% {
    width: 0%;
    right: 0;
    left: auto;
    left: unset;
  }
}

.alba-news-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 40px;
}

.wp-block-alba-case-studies > .alba-news-inner {
  display: block;
}

.alba-news-inner .block-editor-block-list__layout > div {
  width: 100%;
}

@media screen and (max-width: 1200px) {
  .alba-news {
    padding: 0 var(--small-hmargin);
  }
  .alba-news-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 992px) {
  .alba-news {
    padding: 0;
  }
}

@media screen and (max-width: 700px) {
  .alba-news-inner {
    grid-template-columns: 1fr;
  }
  .alba-news-inner,
  .alba-news-inner .block-editor-block-list__layout {
    grid-gap: 20px;
  }
}

/** News block **/
.alba-new {
  display: block;
  background-color: transparent;
  border: 1px solid transparent;
  transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out !important;
  box-sizing: border-box;
}

.alba-new-inner {
  background-color: var(--white-200);
  border: 1px solid var(--teal);
  transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out;
  padding: 20px;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.alba-new-inner > p {
  flex: 1;
}

.alba-new:hover {
  background-color: var(--white-300);
  border-color: var(--teal);
}

.alba-new:hover > .alba-new-inner {
  transform: translate(-10px, -10px);
  border-color: var(--teal);
}

.alba-new img {
  display: block;
  width: 100%;
  height: 13vw;
  object-fit: cover;
  background-color: var(--grey-500);
}

.alba-new-inner > span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.alba-new-inner > span > span {
  color: var(--black);
  text-transform: uppercase;
  font-size: 0.85rem;
}

.alba-new-inner > div {
  margin-top: 15px;
  margin-bottom: 10px;
}

.alba-new-inner > div > p {
  color: var(--dark);
  font-size: 1.3rem;
  font-weight: 600;
}

.alba-new-inner > div > span {
  font-size: 0.9rem;
  font-family: "SourceSans", sans-serif;
  letter-spacing: 0.04rem;
}

.alba-new-inner > p {
  color: var(--dark);
  margin: 2px 0 20px 0 !important;
}

/** NEWS PAGE **/
.alba-new-page {
  width: 100vw;
  min-height: 100svh;
  min-height: 100vh;
  margin-left: calc(var(--small-vmargin) * -1);
  padding: var(--large-vmargin) var(--medium-hmargin) var(--medium-vmargin);
  background-color: var(--white-200);
  position: relative;
}

.alba-new-head {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: var(--small-vmargin);
}

.alba-new-head h1 {
  color: var(--teal);
}

.alba-new-head span {
  font-size: 1.3rem;
  margin-top: 15px;
  display: block;
}

.alba-new-content {
  display: flex;
  align-items: stretch;
  margin-bottom: 10vw;
}

.alba-theme .alba-new-page > h2,
.alba-theme .alba-new-page > h3 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--teal);
}

.alba-new-page > .alba-news {
  margin-bottom: 5vw;
}

.alba-new-left {
  flex-basis: 60%;
  padding-right: var(--small-vmargin);
}

.alba-new-left > .mobile-thumbnail {
  display: none;
  border: 1px solid var(--black);
  border-radius: 20px;
}

.alba-new-right {
  flex-basis: 40%;
  position: relative;
}

.alba-new-right > img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.alba-new-left > a {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--grey-100) !important;
  display: block;
  margin-bottom: 20px;
  transition: color 0.2s ease-in-out;
}

.alba-new-left > a:hover {
  color: var(--grey-300) !important;
}

.alba-new-left > span {
  text-transform: uppercase;
  display: block;
  margin: 20px 0;
  font-size: 0.9rem;
}

.alba-new-left > div p {
  max-width: 100% !important;
}

.alba-new-left > div p {
  margin-bottom: 20px;
}

.alba-new-left > div .alba-button > p {
  margin-bottom: 0;
  padding-left: 0;
}

.alba-new-left > div .alba-button.left {
  margin-left: var(--small-vmargin);
}

.alba-new-left > div h3 {
  margin-top: 80px;
  margin-bottom: 10px;
}

.alba-new-left > div * {
  max-width: 100%;
}

.alba-news-bottom {
  margin-bottom: var(--small-vmargin);
}

.alba-new-content figure {
  margin: 0;
}

.alba-new-content figure iframe {
  width: 100%;
  height: 25vw;
}

@media screen and (max-width: 1500px) {
  .alba-new-left > h2 {
    padding-right: 0;
  }
}

@media screen and (max-width: 1200px) {
  .alba-new img {
    height: 20vw;
  }
  .alba-new-left {
    padding-right: 0;
  }
  .alba-new-left > div p:not(:first-child),
  .alba-new-left > div h3 {
    padding-left: 0;
  }
  .alba-new-left > div .alba-button.left {
    margin-left: 0;
  }
  .alba-new-content {
    display: block;
  }
  .alba-new-left > .mobile-thumbnail {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 40vw;
    margin-bottom: 40px;
  }
  .alba-new-right {
    display: none;
  }
  .alba-new-left > h2 {
    padding-right: 0;
  }
  .alba-new-content figure iframe {
    height: 40vw;
  }
  .alba-news-bottom .alba-new:nth-child(3) {
    display: none;
  }
}

@media screen and (max-width: 700px) {
  .alba-new img {
    height: 40vw;
  }
}

/** INVESTMENT PAGE **/
.alba-investment-page {
  width: 100vw;
  min-height: 100svh;
  min-height: 100vh;
  margin-left: calc(var(--small-vmargin) * -1);
  padding: var(--large-vmargin) var(--medium-hmargin) 0;
  background-color: var(--white-200);
  position: relative;
}

.alba-investment-head {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: var(--small-vmargin);
}

.alba-investment-head h1 {
  color: var(--teal);
}

.alba-investment-content {
  display: flex;
  align-items: stretch;
  margin-bottom: var(--small-vmargin);
}

.alba-investment-content + .alba-button {
  margin-bottom: var(--small-vmargin);
}

.alba-investment-page > .alba-investments {
  margin-bottom: 5vw;
}

.alba-investment-left {
  flex-basis: 60%;
  padding-right: var(--small-vmargin);
}

.alba-investment-left > .mobile-thumbnail {
  display: none;
}

.alba-investment-left > p:first-child {
  color: var(--teal);
  font-family: "SourceSans", sans-serif;
  letter-spacing: 0.04rem;
}

.alba-investment-left > p:first-child + h1 {
  color: var(--teal);
}

.alba-investment-left > p:first-child + h1 + ul {
  margin-bottom: var(--small-hmargin);
}

.alba-investment-right {
  flex-basis: 40%;
  position: relative;
}

.alba-investment-right > img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.alba-investment-left > a {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--grey-100) !important;
  display: block;
  margin-bottom: 40px;
  transition: color 0.2s ease-in-out;
}

.alba-investment-left > a:hover {
  color: var(--grey-300) !important;
}

.alba-investment-left > span {
  text-transform: uppercase;
  display: block;
  margin: 20px 0;
  font-size: 0.9rem;
}

.alba-investment-left > div p {
  max-width: 100% !important;
}

.alba-investment-left > div p {
  margin-bottom: 20px;
}

.alba-investment-left > div .alba-button > p {
  margin-bottom: 0;
  padding-left: 0;
}

.alba-investment-left > div .alba-button.left {
  margin-left: var(--small-vmargin);
}

.alba-investment-left > div h3 {
  margin: 10px 0;
}

.alba-investment-left > div * {
  max-width: 100%;
}

.alba-investment-content figure {
  margin: 0;
}

.alba-investment-content figure iframe {
  width: 100%;
  height: 25vw;
}

.alba-investments-bottom {
  width: calc(100% + var(--medium-hmargin) * 2);
  margin-left: calc(var(--medium-hmargin) * -1);
  background-color: var(--white-300);
  padding: var(--medium-vmargin) var(--medium-hmargin);
}

.alba-theme .alba-investments-bottom > h2 {
  margin-bottom: var(--smaller-vmargin);
  color: var(--teal);
}

.alba-theme .alba-investments-bottom > .alba-button {
  margin-top: var(--smaller-vmargin);
}

.alba-new[data-no-link="1"] {
  cursor: auto;
}

.alba-investments-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.alba-investment-inner {
  padding: 0 0 20px 0;
  border: 1px solid var(--grey-100);
}

.alba-investment {
  border: 1px solid transparent;
}

.alba-investment-inner > div {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 0 20px;
}

.alba-investment-inner > div > p {
  font-size: 0.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--grey-400);
  white-space: nowrap;
}

.alba-theme .alba-investment-inner > ul {
  padding: 0 20px;
  margin: 10px 0;
  list-style-type: none;
}

.alba-investment img {
  height: 25vw;
}

/* filters */

.alba-news-filters {
  display: flex;
  gap: 10px 20px;
  margin-bottom: 20px;
}

.alba-news-filters .alba-button.white {
  background-color: var(--white-300);
}

.alba-news-filters .alba-button.white:hover {
  background-color: var(--teal);
  border-color: var(--white);
  color: var(--white);
}

.alba-news-filters .alba-button:hover {
  background-color: var(--teal-500);
  color: var(--white);
  border-color: var(--white);
}

@media screen and (max-width: 1500px) {
  .alba-investment-left > h2 {
    padding-right: 0;
  }
}

@media screen and (max-width: 1200px) {
  .alba-investment-left {
    padding-right: 0;
  }
  .alba-investment-left > div p:not(:first-child),
  .alba-investment-left > div h3 {
    padding-left: 0;
  }
  .alba-investment-left > div .alba-button.left {
    margin-left: 0;
  }
  .alba-investment-content {
    display: block;
  }
  .alba-investment-left > .mobile-thumbnail {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 40vw;
    margin-bottom: 40px;
  }
  .alba-investment-right {
    display: none;
  }
  .alba-investment-left > h2 {
    padding-right: 0;
  }
  .alba-investment-content figure iframe {
    height: 40vw;
  }
  .alba-investments-bottom .alba-investment:nth-child(3) {
    display: none;
  }
  .alba-investments-inner {
    gap: 20px;
  }
}

@media screen and (max-width: 700px) {
  .alba-investment img {
    height: 50vw;
  }
  .alba-investments-inner {
    grid-template-columns: 1fr;
  }
}
