/*
Theme Name:   Somentra Child
Theme URI:    https://themeforest.net/user/greatives
Description:  Somentra Child Theme
Version:      2.1.0
Author:       Greatives Team
Author URI:   https://greatives.eu
Template:     impeka
*/

:root {
  --lions-yellow: #EBB700;
  --lions-blue: #0033A0;
  --lions-gray: #55565A;
  --lions-secondary-blue: #407CCA;
  --lions-secondary-dark-blue: #0D2240;
  --lions-secondary-orange: #FF5B35;
  --lions-secondary-light-gray: #B3B2B1;

  --text-light: #F2F6FD;
  --text-dark: #0D2240;

  --h1-font-size: clamp(4rem, 2.2857rem + 3.5714vw, 5.5rem);
  --h2-font-size: clamp(2rem, 1.1429rem + 1.7857vw, 2.75rem);
  --h3-font-size: clamp(1.4375rem, 0.8661rem + 1.1905vw, 1.9375rem);
  --main-font-size: clamp(1rem, 0.5714rem + 0.8929vw, 1.375rem);
  --small-font-size: clamp(0.875rem, 0.7321rem + 0.2976vw, 1rem);
}

::selection {
  background-color: var(--lions-yellow);
  color: var(--lions-secondary-dark-blue);
}

body,
h1,
h2,
h3,
h4 {
  letter-spacing: 1px;
  color: var(--text-dark);
}

/* Navigation */

#grve-main-header {
  position: fixed !important;
  width: 80% !important;
  left: 10% !important;
  top: 1rem !important;
  border-radius: 2rem;
  padding: 1rem;

  .grve-container {
    max-width: 100% !important;
    width: 100% !important;
  }

  .grve-header-row {
    margin: 0 !important;
  }

  .grve-logo,
  .grve-header-menu {
    padding: 0 !important;
  }

  .grve-right-area {
    .grve-header-elements {
      margin: 0 !important;
      padding: 0 !important;
    }

    ul {
      margin: 0;
      list-style-type: none;
      display: flex;
      align-items: center;
      gap: 1rem;
    }
  }
}

.grve-logo a {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  font-weight: 400;

  &::after {
    content: "Lions Club de Spa";
  }

  &:hover {
    color: var(--lions-blue);
    font-weight: 700;
  }
}


#grve-main-responsive-header {
  position: fixed !important;
  width: calc(100% - 2rem) !important;
  left: 1rem !important;
  top: 1rem !important;
  border-radius: 2rem;
  padding: 1rem;

  .grve-container {
    max-width: 100% !important;
    width: 100% !important;
  }

  .grve-header-row {
    margin: 0 !important;
  }
}

#grve-responsive-menu-area {
  width: calc(100% - 2rem);
  top: 5rem;
  left: 1rem;
  /* height: 60vh; */




  .grve-area-inner {
    position: relative !important;
    overflow: auto !important;
    height: fit-content !important;
    border-radius: 2rem;
    background-color: white;
    color: var(--lions-secondary-dark-blue);
    border: solid 1px var(--lions-yellow);
  }

  a {
    color: var(--lions-secondary-dark-blue) !important;
    font-size: 1.5rem !important;
    width: 100% !important;
  }

  .grve-area-scroller {
    position: static !important;
    /* height: calc(100% - 2rem) !important; */
    width: 100%;
    margin: 0 !important;
    padding: 1rem !important;

    .grve-area-container {
      padding: 0;
    }
  }

  ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  li {
    display: flex;
    width: 100%;
    justify-content: center;
    line-height: 1.4;

    .grve-link-wrapper {
      width: 100%;
    }

    a {
      width: 100%;
      text-align: left;
    }
  }

  .grve-area-bottom,
  .grve-hidden-menu-text {
    margin: 0;
  }

  .grve-area-bottom {
    li:last-child {
      line-height: 1;
      text-align: center;
      flex-direction: column;

      a {
        text-align: center;
      }

      &::before {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--lions-yellow);
        margin-bottom: 1rem;
      }
    }
  }
}

#grve-theme-content {
  @media (max-width: 1024px) {
    padding-top: 6rem !important;
  }
}

#grve-header {
  @media (max-width: 1024px) {
    padding-bottom: 0 !important;
  }
}

/* Centrer le menu central */
#grve-main-menu {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
}

.cta {
  padding: .5rem 1rem;
  line-height: 100%;
  border-radius: 2rem;
  background-color: var(--lions-yellow);
  border: 1px solid var(--lions-blue);
  color: var(--lions-secondary-dark-blue);
  transition: all 0.5s ease;

  &:hover {
    background-color: var(--lions-blue);
    color: white;
  }
}

.grve-main-content-wrapper {
  @media (max-width: 1024px) {
    padding-top: 0 !important;
  }
}

.joinUsLink {
  display: inline !important;
  position: relative;

  &::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    border-top-width: .143em;
    border-top-style: solid;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .25s cubic-bezier(.785, .135, .15, .86);
    border-color: var(--lions-blue);
  }

  &:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  &:hover {
    color: var(--lions-blue);
  }
}

/* Footer */
.grve-footer-wrapper {
  width: calc(100% - 2rem);
  margin: auto;
  margin-bottom: 1rem;
  border-radius: 4rem;
  overflow: hidden;

  @media (max-width: 768px) {
    border-radius: 2rem;
  }

  .grve-container {
    .grve-footer-row {
      @media (max-width: 768px) {
        flex-direction: column;
      }

      .grve-footer-column-1-2 {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 1;
      }

      .grve-footer-column-1-4 {
        width: auto !important;
      }
    }

    .grve-widget {
      margin: 0 !important;

      a {
        transition: all 0.3s ease;
      }
    }
  }

  .grve-widget-area {
    .grve-container {
      padding: 2rem 4rem !important;
      padding-bottom: 1rem !important;

      @media (max-width: 768px) {
        padding: 2rem !important;
      }

      p {
        strong {
          color: var(--lions-yellow);
        }
      }
    }
  }
}

.grve-widget-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem !important;
  line-height: 100%;
}


/* Bypass le !important présent dans le thème */
body #grve-theme-wrapper .grve-link-text {
  font-size: 1rem !important;
  line-height: normal;
}

@media only screen and (max-width: 767px) {

  .grve-footer-column-1-2 {
    gap: 1rem;
  }
}

.widget.widget_nav_menu li {
  font-size: 1rem;
}

.grve-footer-bar {
  padding: 2rem 4rem !important;
  padding-top: 0 !important;

  @media (max-width: 768px) {
    padding: 2rem !important;
  }

  .grve-container {
    width: 100%;
    max-width: 100% !important;
  }
}

.footerCopy {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 11px;

  a {
    transition: all 0.3s ease;
  }

  @media (max-width: 768px) {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

.footerCopyLeft {
  display: flex;
  gap: 1rem;

  @media (max-width: 768px) {
    width: 100%;
    justify-content: space-between;
  }

  p {
    margin: 0;
  }
}

.footerCopyRight {
  a {
    font-size: 1rem;
  }
}

/* Hero section */

.heroContainer {
  position: relative;
}

.heroImage {
  height: calc(100dvh - 9rem);

  @media (max-width: 768px) {
    height: calc(100dvh - 7rem);
  }

  .vc_column-inner {
    border-radius: 4rem;
    height: 100%;
    width: calc(100% - 2rem) !important;
    margin: auto;
    position: relative;

    @media (max-width: 768px) {
      border-radius: 2rem;
    }

    &::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 4rem;
      background: linear-gradient(180deg, rgba(28, 79, 156, 0.20) 0%, rgba(28, 79, 156, 0.90) 100%);

      @media (max-width: 768px) {
        border-radius: 2rem;
      }
    }
  }
}

.heroTitle {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: white;
  text-align: center;
  z-index: 1;
  /* 64px en mobile, 88px en desktop */
  font-size: var(--h1-font-size);
  width: 100%;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  line-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  @media (max-width: 768px) {
    flex-direction: column;
  }

  &::before {
    content: "";
    display: block;
    width: 1.5em;
    height: 1.5em;
    background-image: url("https://testeocene8.be/wp-content/uploads/2025/12/LCI_emblem_white.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
}

.heroTitleText,
.heroLogo {
  padding: 0;
  margin: 0;

  .vc_column-inner {
    padding: 0 !important;
  }
}

.heroBottom {
  position: absolute;
  bottom: 3rem;
  z-index: 1;
  width: calc(100% - 6rem);
  left: 50%;
  transform: translateX(-50%);

  .vc_column-inner {
    &::after {
      display: none;
    }
  }
}

.heroBottomLeft {
  /* 45px en mobile et 62px en desktop */
  font-size: clamp(2.8125rem, 1.5982rem + 2.5298vw, 3.875rem);
  margin: 0;
  padding: 0;
  font-weight: 600;

  @media (max-width: 768px) {
    display: none;
  }
}

.heroBottomCenter {
  margin: 0 !important;
}

.heroBottomRight {
  margin: 0 !important;
  padding: 0;
  display: flex;
  justify-content: flex-end;

  @media (max-width: 768px) {
    display: none;
  }

  h2 {
    color: var(--text-light);
    font-weight: 300;
    /* 45px en mobile et 62px en desktop */
    font-size: clamp(2.8125rem, 1.5982rem + 2.5298vw, 3.875rem);
    margin: 0;
    padding: 0;
    width: fit-content;
  }

  strong {
    font-weight: 500;
  }
}

/* Dernières actualités */
.newsRow {
  display: flex;

  .vc_column-inner {
    padding: 0 !important;
  }
}

.newsSection {
  background-color: rgba(64, 124, 202, 0.05);
  border-radius: 4rem;
  padding: 3rem 5% !important;
  margin: auto;
  margin-top: 2rem;
  width: calc(100% - 2rem) !important;

  /* 4K screens */
  @media (min-width: 2560px) {
    padding: 3rem 15% !important;
  }

  @media (max-width: 768px) {
    padding: 2rem !important;
    border-radius: 2rem;
  }

  .newsItem {
    width: calc(33.333% - 1rem);
    background-color: white;

    /* 4K screens */
    @media (min-width: 2560px) {
      width: calc(33.333% - 1rem);
    }
  }
}

.vc_column-inner {
  padding: 0 2rem;
}

.vc_row {
  margin: 0 !important;

  &::before,
  &::after {
    display: none;
  }
}

.newsGridContainer {
  .vc_column-inner {
    padding: 0 !important;
  }

  .vc_pageable-slide-wrapper {
    display: flex;
    gap: 1rem;
    margin: 0 !important;

    @media (max-width: 768px) {
      flex-direction: column;
    }

    &::after,
    &::before {
      display: none;
    }

    .vc_grid-item {
      padding: 0 !important;

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

  .wpb_text_column {
    margin: 0 !important;
  }
}


.vc_gitem-animated-block {
  border-radius: 1rem;
  overflow: hidden;
  height: 25%;
}

.newsButton {
  margin: 0 !important;


  .vc_general {
    width: 100%;
    border-radius: 4rem !important;
    background-color: transparent !important;
    border: solid 2px var(--lions-yellow) !important;
    color: var(--lions-secondary-dark-blue) !important;
    position: relative;
    overflow: hidden;
    z-index: 0;
    padding: .5rem 1rem !important;

    &::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: var(--lions-yellow);
      z-index: -1;
      transform: translateY(100%);
      transition: transform 0.3s ease;

    }

    &:hover::after {
      transform: translateY(0);
    }
  }
}

.newsTitle {
  margin-bottom: 1rem !important;

  h4 {
    font-size: 1.375rem !important;
    font-size: clamp(1rem, 0.5714rem + 0.8929vw, 1.375rem) !important;
    margin: 0;
    padding: 0;
    line-height: 100%;
    font-weight: 500;

    @media (max-width: 768px) {
      font-size: 1rem !important;
    }

    a {
      display: block;
      width: 100%;
    }
  }
}

.newsExerpt {
  p:first-child {
    display: none;
  }

  p:nth-child(2) {
    margin: 0;
    padding: 0;

    a {
      display: block;
      width: 100%;
    }
  }
}

.newsCard {
  .vc_grid-item-mini {
    border-radius: 2rem;
    overflow: hidden;
    padding: 1rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;

    &::before,
    &::after {
      display: none;
    }

    .vc_gitem-animated-block {
      height: auto;
      width: 100%;
    }

    .vc_gitem-zone-mini {
      height: 100%;
    }

    .vc_gitem-zone {
      flex: 1;
    }

    .vc_gitem_row {
      height: 100%;

    }
  }

  .vc_gitem-col {
    padding: 0 !important;
    background-color: white;
  }
}

.newsCardBottom {
  display: flex;
  flex-direction: column;
  height: 100%;

  div:nth-child(2) {
    flex: 1;
  }
}

.newsSeeMore,
.seeMoreButton {
  height: 100px;
  width: 100px;
  margin: 0 !important;

  .vc_general {

    height: 100px;
    width: 100px;
    padding: 0 !important;
    background-color: white !important;
    transition: all 0.3s ease;
    border-radius: 50% !important;
    border: solid 2px var(--lions-yellow) !important;
    color: var(--lions-secondary-dark-blue) !important;
    overflow: hidden;

    @media (max-width: 768px) {
      border-radius: 4rem !important;
    }

    &::before {
      content: "Voir plus";
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      width: 100%;
      font-size: 1rem;
      transform: translateX(-100%);
      transition: all 0.3s ease;
    }

    &::after {
      content: "\f061";
      font: var(--fa-font-solid);
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      width: 100%;
      font-size: 1.5rem;
      transform: translate(-50%, -50%) rotate(-45deg);
      background-color: transparent;
      position: absolute;
      top: 50%;
      left: 50%;
      transition: all 0.3s ease;
    }

    &:hover::before {
      transform: translateX(0);
    }

    &:hover::after {
      transform: translate(50%, -50%) rotate(0deg);
    }
  }

  @media (max-width: 768px) {
    height: auto;
    width: 100%;

    .vc_general {
      width: 100% !important;
      height: auto !important;
      display: flex !important;
      justify-content: center;
      align-items: center;
      padding: .5rem 1rem !important;
      gap: 1rem;

      &::before,
      &::after {
        width: fit-content;
        transform: translateX(0) rotate(0deg);
        position: initial;
      }

      &::before {
        content: "Voir tous les articles";
      }
    }
  }
}

.newsContainer {
  display: flex;
  gap: 1rem;
  margin: 0 !important;

  @media (max-width: 768px) {
    flex-direction: column;
    align-items: center;
  }

  .newsButton {
    width: 100%;
  }
}

.newsButtonColumn {
  flex: 1;
  display: flex;
  align-items: flex-end;

  .vc_column-inner {
    height: fit-content;
  }
}

.newsGridContainer {
  width: 100% !important;

  .vc_row,
  .vc_grid-container {

    &::before,
    &::after {
      display: none;
    }
  }

  .vc_grid-container,
  .vc_grid {
    margin: 0 !important;
  }
}

.newsH2 {
  font-size: var(--h2-font-size);
  font-weight: 600;
  margin-bottom: 3rem !important;

  @media (max-width: 768px) {
    margin-bottom: 2rem !important;
  }
}

/* Welcome section */

.welcomeSection {
  width: 95% !important;
  margin: auto !important;
  margin-bottom: 4rem;
  left: 0 !important;
  padding: 5rem 0;

  /* 4k screens */
  @media (min-width: 2560px) {
    width: 80% !important;
  }

  @media (max-width: 1024px) {
    width: 90% !important;
  }

  @media (max-width: 768px) {
    width: 100% !important;
    padding: 2rem 0;
  }
}

.welcomeH2 {
  font-size: clamp(2rem, 1.1429rem + 1.7857vw, 2.75rem) !important;
  margin-bottom: 4rem !important;
  font-weight: 600;
  line-height: 100%;

  @media (max-width: 768px) {
    margin-bottom: 2rem !important;
  }
}

.welcomeText {
  line-height: 1.4;
  max-width: 70ch;

  p {
    font-size: clamp(1rem, 0.5714rem + 0.8929vw, 1.375rem);

    strong {
      background-color: var(--lions-yellow);
      padding: 0 .25rem;
      color: var(--lions-secondary-dark-blue);
      border-radius: 8px;
      font-weight: 400;
    }
  }
}



.welcomeButton {
  a {
    font-size: clamp(1rem, 0.5714rem + 0.8929vw, 1.375rem) !important;
    padding-left: 8px !important;
    position: relative;
    color: var(--lions-blue) !important;
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
    transition: all .25s cubic-bezier(.785, .135, .15, .86);
    z-index: 5;
    font-weight: 600;

    &::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: calc(100% - 18px);
      height: .143em;
      transform-origin: right center;
      background-color: var(--lions-blue);
      transition: all .25s cubic-bezier(.785, .135, .15, .86);
      z-index: -1;
      border-radius: .5rem;
    }

    &:hover {
      color: var(--text-light) !important;
    }

    &:hover::after {
      height: 100%;
    }
  }

  .vc_btn3.vc_btn3-style-custom {
    background: transparent
  }
}

.welcomeSectionRight {
  border-radius: 4rem;
  overflow: hidden;
  padding: 0 !important;

  @media (max-width: 768px) {
    display: none !important;
  }
}

.welcomeImageMobile {
  display: none;

  @media (max-width: 768px) {
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    margin-top: 2rem;
    padding: 0 !important;
  }
}

.actionsH2 {
  font-size: var(--h2-font-size);
  font-weight: 600;
  margin-bottom: 2rem !important;

  @media (max-width: 768px) {
    margin-bottom: 1rem !important;
  }
}

.actionsText {
  font-size: clamp(1rem, 0.5714rem + 0.8929vw, 1.375rem);
  line-height: 1.4;
}

.actionsRow,
.charityRow {
  margin-top: 2rem;

  .newsSection {
    margin: auto;
    float: none;
    background-color: #FEFBF2;

    .vc_column-inner {
      padding: 0 !important;
    }

    .newsItem {
      width: calc(33.333% - 1rem);

      .newsBody {
        gap: 1.5rem;
      }

      .cardsTags {
        margin-bottom: 1rem;

        span {
          margin-top: 0;

          @media (max-width: 768px) {
            margin-bottom: .5rem;
          }
        }
      }

      .cardsInfos {
        font-size: var(--small-font-size);
      }

      img {
        aspect-ratio: 21 / 9;
      }
    }
  }
}

.charityRow {
  .newsSection {
    background-color: #ff5a350f;

    .newsItem {
      width: calc(50% - 1rem);

      img {
        aspect-ratio: 16 / 9;
      }
    }
  }
}

.supportRow {
  width: 80% !important;
  float: none !important;
  margin: auto;
  padding-top: 5rem;
  padding-bottom: 5rem;

  @media (max-width: 768px) {
    width: 100% !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.supportH2 {
  font-size: var(--h2-font-size);
  font-weight: 600;
  margin-bottom: 2rem !important;

  @media (max-width: 768px) {
    margin-bottom: 1rem !important;
  }
}

.supportText {
  font-size: clamp(1rem, 0.5714rem + 0.8929vw, 1.375rem);
  line-height: 1.4;
  margin-bottom: 0 !important;

  strong {
    background-color: var(--lions-yellow);
    padding: 0 .25rem;
    color: var(--lions-secondary-dark-blue);
    border-radius: 8px;
    font-weight: 600;
  }
}

/* Post Page */

.postTitleContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.postTitle {
  font-size: var(--h1-font-size);
  font-weight: 600;
  line-height: 100%;
  text-align: center;
  position: relative;
  margin-bottom: 5rem !important;

  &::after {
    content: "";
    display: block;
    width: 5rem;
    height: 8px;
    background-color: var(--lions-yellow);
    border-radius: 2px;
    position: absolute;
    right: 0;
  }
}

.postOverview {
  display: flex;
  gap: 4rem;
  width: 100%;
  margin: auto;
  margin-bottom: 4rem;

  @media (max-width: 768px) {
    flex-direction: column-reverse;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  /* 4K screens */
  @media (min-width: 2560px) {
    gap: 10rem;
    width: 80%;
  }
}

.postSingleMedia {
  flex: 1;


  #grve-single-media {
    margin: 0;

    .grve-container {
      width: 100% !important;
      height: 100% !important;
      max-width: 100% !important;
    }
  }
}

.postThumbnail {
  max-height: 500px;
  border-radius: 2rem;
  overflow: hidden;
  margin: 0;

  @media (max-width: 1024px) {
    max-height: none;
    border-radius: 1rem;
  }

  .grve-thumbnail-wrapper {
    width: 100% !important;
  }
}

.postInfosItem {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: .5rem;

  i {
    color: var(--lions-secondary-blue);
  }

  span {
    font-size: 1rem;
    font-weight: 500;
  }
}

.postTags {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.postTag {
  display: flex;
  padding: 0.5rem 1rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 2.25rem;
  border: 1px solid var(--lions-gray);
  background: #FFF;
  line-height: 100%;
}

.postBody {
  .grve-container {
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 2rem;
  }

  p,
  li {
    font-size: clamp(1rem, 0.5714rem + 0.8929vw, 1.375rem);
    line-height: 1.4;
  }

  a {
    color: var(--lions-blue);
    transition: all 0.3s ease;

    &:hover {
      text-decoration: underline;
    }
  }
}

.activity,
.charity {
  max-width: 60%;
  margin: auto;

  /* 4K screens */
  @media (min-width: 2560px) {
    max-width: 50%;
  }

  @media (max-width: 1024px) {
    max-width: 80%;
  }

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

.goal,
.particularity,
.actions,
.whyHelp {
  padding: 2rem;
  background-color: #0033a017;
  border-radius: 2rem;

  &:not(:last-child) {
    margin-bottom: 2rem;
  }

  @media (max-width: 768px) {
    padding: 1rem;
    border-radius: 1rem;
  }
}

.particularity,
.whyHelp {
  background-color: rgb(253, 248, 230);
}

.goalTitle,
.particularityTitle,
.actionsTitle,
.whyHelpTitle {
  color: var(--lions-blue);
  font-size: var(--h3-font-size);
  font-weight: 600;
  line-height: 100%;
  margin-bottom: 1rem !important;
}

.tickets {
  display: inline-block;
  border-radius: 4rem;
  background-color: transparent;
  border: solid 2px var(--lions-yellow);
  color: var(--lions-secondary-dark-blue);
  position: relative;
  overflow: hidden;
  z-index: 0;
  padding: .5rem 1rem;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lions-yellow);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.3s ease;

  }

  &:hover {
    color: var(--lions-secondary-dark-blue) !important;
  }

  &:hover::after {
    transform: translateY(0);
  }

  i {
    margin-left: 0.5rem;
  }
}

.activityGalleryH2 {
  font-size: var(--h2-font-size);
  font-weight: 600;
  margin-bottom: 2rem;
}

.returnToArchive {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: var(--lions-secondary-dark-blue);
  font-weight: 500;
  position: fixed;
  top: 6rem;
  left: 2rem;
  transition: all 0.3s ease;

  i {
    transition: transform 0.3s ease;
  }

  &:hover {
    color: var(--lions-blue);

    i {
      transform: translateX(-5px);
    }
  }

  @media (max-width: 768px) {
    display: none;
  }
}

/* News archive */

.newsList {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;

  @media (max-width: 768px) {
    flex-direction: column;
    align-items: center;
  }
}

.newsItem {
  position: relative;
  transition: all 0.3s ease;
  background-color: #F5F8FC;
  padding: 1rem;
  border-radius: 2rem;
  width: calc(33.333% - 1rem);

  &:hover {
    box-shadow: inset 0 0 0 2px var(--lions-yellow);
  }

  /* 4K screens */
  @media (min-width: 2560px) {
    width: calc(25% - 1rem);
  }

  @media (max-width: 1024px) {
    width: calc(50% - 1rem) !important;
  }

  @media (max-width: 768px) {
    width: 100% !important;
  }
}

.newsItem:nth-child(3) {
  @media (min-width: 769px) and (max-width: 1024px) {
    display: none;
  }
}

.newsInner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.newsBody {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: .5rem;
}

.newsBodyContent {
  flex: 1;
}

.newsImage {
  img {
    border-radius: 1rem;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
  }
}

.newsDate {
  text-align: right;
  margin: 0;
  font-weight: 300;
  font-size: clamp(0.875rem, 0.7321rem + 0.2976vw, 1rem);
}

.newsLink {
  width: 100%;
}

.newsTitle {
  font-size: var(--h3-font-size);
  font-weight: 600;
  line-height: 100%;
}

/* About us */

.aboutH1 {
  font-size: var(--h1-font-size);
  font-weight: 600;
  line-height: 100%;
  text-align: center;
  width: fit-content;
  margin: 2rem auto !important;
  position: relative;

  &::after {
    content: "";
    display: block;
    width: 100%;
    height: 8px;
    background-color: var(--lions-yellow);
    border-radius: 2px;
    position: absolute;
    right: 0;
  }
}

.aboutSubtitle {
  font-family: 'Adobe Calson';
  font-size: var(--h3-font-size);
  font-style: italic;
  color: var(--lions-secondary-light-gray);
}

.aboutH2 {
  font-size: var(--h2-font-size);
  font-weight: 600;
  margin-bottom: 3rem !important;

  @media (max-width: 768px) {
    margin-bottom: 2rem !important;
  }
}

.aboutText {
  font-size: var(--main-font-size);
  line-height: 1.4;
  margin-bottom: 4rem !important;

  strong {
    background-color: var(--lions-yellow);
    padding: 0 .25rem;
    color: var(--lions-blue);
    border-radius: 8px;
    font-weight: 400;
  }
}

.aboutImage {
  .wpb_wrapper {
    width: 100%;

    .vc_single_image-wrapper {
      width: 100%;
    }
  }

  img {
    border-radius: 4rem;
    overflow: hidden;
    margin: auto;
    margin-top: 2rem;

    @media (max-width: 768px) {
      border-radius: 1rem;
    }
  }
}

.aboutImageContainer {
  margin-bottom: 10rem;

  @media (max-width: 1024px) {
    margin-bottom: 6rem;
  }

  @media (max-width: 768px) {
    margin-bottom: 4rem;
  }
}


.aboutContent {
  width: 70%;
  margin: auto !important;

  /* 4K screens */
  @media (min-width: 2560px) {
    width: 60%;
  }

  @media (max-width: 1024px) {
    width: 80%;
  }

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

/* About us members */

.memberList {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;

  @media (max-width: 1024px) {
    justify-content: center;
  }
}

.memberItem {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .5rem;

  width: calc(25% - 2rem);

  @media (max-width: 1024px) {
    width: calc(50% - 2rem);
  }

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

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

.memberName,
.memberSurname {
  font-size: var(--main-font-size);
  color: var(--lions-blue);
  font-weight: 500;
  margin: 0;
}

.memberSurname {
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.memberPhoto {
  height: 100%;

  img {
    border-radius: 1rem;
    height: 100%;
    object-fit: cover;
  }
}


/* Archives */

.archiveHeading {
  margin-bottom: 2rem;
}

.archiveH1 {
  font-size: var(--h1-font-size);
  font-weight: 600;
  line-height: 100%;
  text-align: center;
  width: fit-content;
  margin: 2rem auto !important;
  position: relative;

  &::after {
    content: "";
    display: block;
    width: 100%;
    height: 8px;
    background-color: var(--lions-yellow);
    border-radius: 2px;
    position: absolute;
    right: 0;
  }
}

.archiveQuote {
  font-family: 'Adobe Calson';
  color: var(--lions-secondary-light-gray);
  font-size: var(--h3-font-size);
  font-style: italic;
  text-align: center;
  margin-bottom: 4rem !important;

  @media (max-width: 768px) {
    margin-bottom: 2rem !important;
  }
}

.archiveText {
  font-size: var(--main-font-size);
  line-height: 1.4;
  max-width: 70ch;
  margin: auto !important;
  margin-bottom: 4rem !important;

  strong {
    background-color: var(--lions-yellow);
    padding: 0 .25rem;
    color: var(--lions-blue);
    border-radius: 8px;
    font-weight: 400;
  }
}

.cardsItem {
  position: relative;
  transition: all 0.3s ease;
  background-color: #F5F8FC;
  padding: 2rem;
  border-radius: 4rem;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 2rem;

  &:hover {
    box-shadow: inset 0 0 0 2px var(--lions-yellow);
  }

  @media (max-width: 768px) {
    flex-direction: column;
    padding: 1rem;
    border-radius: 2rem;
  }
}

.cardsBody {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.cardsBodyLink {
  display: inline-block;
  text-align: center;
  border-radius: 4rem;
  background-color: var(--lions-yellow);
  transition: background-color 0.3s ease;
  z-index: 0;
  padding: .5rem 1rem;
  color: var(--lions-secondary-dark-blue);

  &:hover {
    color: var(--lions-secondary-dark-blue) !important;
    background-color: hsl(47, 80%, 57%);
  }
}

.newsLink {
  display: inline-block;
  text-align: center;
  border-radius: 4rem;
  background-color: transparent;
  border: solid 2px var(--lions-yellow);
  color: var(--lions-secondary-dark-blue);
  position: relative;
  overflow: hidden;
  z-index: 0;
  padding: .5rem 1rem;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lions-yellow);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.3s ease;

  }

  &:hover {
    color: var(--lions-secondary-dark-blue) !important;
  }

  &:hover::after {
    transform: translateY(0);
  }
}

.cardsOverlay,
.newsOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cardsInner {
  display: flex;
  gap: 2rem;

  @media (max-width: 768px) {
    flex-direction: column;
    gap: 1rem;
  }
}

.cardsImage {
  img {
    border-radius: 2rem;
    object-fit: cover;
    height: 100%;
    max-width: 500px;

    @media (max-width: 768px) {
      border-radius: 1rem;
      max-width: 100%;
    }
  }
}

.cardsTitle {
  font-size: var(--h2-font-size);
  font-weight: 600;
  margin: 0;
  margin-bottom: 1rem !important;
}

.cardsInfos {
  font-size: var(--main-font-size);
  font-weight: 500;

  &:not(:last-child) {
    margin-bottom: 0.5rem !important;
  }

  i {
    color: var(--lions-secondary-blue);
    margin-right: 0.5rem;
  }
}

.cardsExcerpt {
  font-size: clamp(1rem, 0.8571rem + 0.2976vw, 1.125rem);
  line-height: 1.4;
  margin: 1.5rem 0 !important;
}

.cardTag {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 2.25rem;
  border: 1px solid var(--lions-gray);
  font-size: 0.875rem;
  font-weight: 500;
  margin-right: 0.5rem;
  margin-top: 1rem;
}

.charityContent {
  max-width: 95ch;
  margin: auto !important;

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

.archiveH2 {
  font-size: var(--h2-font-size);
  font-weight: 600;
  margin-bottom: 2rem !important;

  @media (max-width: 768px) {
    margin-bottom: 1rem !important;
  }
}

.charityFormSection {
  border-radius: 4rem;
  background-color: #F5F8FC;
  width: calc(100% - 2rem) !important;
  padding: 3rem 10% !important;

  @media (max-width: 1024px) {
    padding: 2rem 5% !important;
    border-radius: 2rem;
  }

  .archiveH2,
  .archiveText {
    width: 100% !important;
    text-align: center !important;
  }

  input,
  textarea {
    background-color: #E5E8EC;
  }

  .wpcf7 {
    max-width: 1000px;
    margin: auto;
  }

  @media (max-width: 768px) {
    margin: auto;
  }
}

.loadMoreButton {
  font-family: "Outfit", sans-serif;
  font-size: var(--small-font-size);
  float: right;
  padding: .5rem 1rem;
  border-radius: 4rem;
  border: solid 2px var(--lions-yellow);
  background-color: transparent;
  color: var(--lions-secondary-dark-blue);
  position: relative;
  overflow: hidden;
  z-index: 0;
  cursor: pointer;
  margin-top: 2rem;

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--lions-yellow);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.3s ease;

  }

  &:hover {
    color: var(--lions-secondary-dark-blue);
  }

  &:hover::after {
    transform: translateY(0);
  }

  &:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
  }

  @media (max-width: 768px) {
    float: none;
    display: block;
    margin: 2rem auto 0 auto;
  }
}

.alm-btn-wrap {
  max-width: 1200px;
  margin: auto;
}

.charityItems {
  margin-bottom: 5rem;

  @media (max-width: 768px) {
    margin-bottom: 2rem;
  }
}

/* Contact page */

.contactSection {
  width: 80% !important;
  margin: auto !important;
  margin-bottom: 4rem;
  left: 0 !important;

  /* 4k screens */
  @media (min-width: 2560px) {
    width: 60% !important;
  }

  @media (max-width: 1024px) {
    width: 90% !important;
  }

  @media (max-width: 768px) {
    width: 100% !important;
  }
}

.contactH1 {
  font-size: var(--h1-font-size);
  font-weight: 600;
  line-height: 100%;
  text-align: center;
  width: fit-content;
  margin: 2rem auto !important;
  margin-bottom: 8rem !important;
  position: relative;

  &::after {
    content: "";
    display: block;
    width: 100%;
    height: 8px;
    background-color: var(--lions-yellow);
    border-radius: 2px;
    position: absolute;
    right: 0;
    z-index: -1;
  }
}

.contactH2 {
  font-size: var(--h2-font-size);
  font-weight: 600;
  margin-bottom: 2rem !important;

  @media (max-width: 768px) {
    margin-bottom: 1rem !important;
  }
}

.contactItem {
  padding: 2rem !important;
  font-size: var(--main-font-size);
  border-radius: 2rem;
  background-color: #F5F8FC;
  width: calc(50% - 1rem) !important;
  margin-bottom: 2rem;


  &:first-child {
    margin-right: 1rem;
  }

  &:last-child {
    margin-left: 1rem;
  }

  i {
    color: var(--lions-secondary-blue);
  }

  @media (max-width: 1024px) {
    width: 100% !important;

    &:first-child,
    &:last-child {
      margin: 0 !important;
      margin-bottom: 1rem !important;
      padding: 1.5rem !important;
    }
  }

  .vc_column-inner {
    padding: 0 !important;
  }
}

.contactText {
  margin: 0 !important;
}

/* Join us page */

.joinSection {
  width: 80% !important;
  margin: auto !important;
  margin-bottom: 4rem;
  left: 0 !important;

  /* 4k screens */
  @media (min-width: 2560px) {
    width: 60% !important;
  }

  @media (max-width: 1024px) {
    width: 90% !important;
  }

  @media (max-width: 768px) {
    width: 100% !important;
  }
}

/* .contactForm {
  label {
    margin-bottom: 2rem;
  }
} */

.joinH1 {
  font-size: var(--h1-font-size);
  font-weight: 600;
  line-height: 100%;
  text-align: center;
  width: fit-content;
  margin: 2rem auto !important;
  margin-bottom: 8rem !important;
  position: relative;

  &::after {
    content: "";
    display: block;
    width: 100%;
    height: 8px;
    background-color: var(--lions-yellow);
    border-radius: 2px;
    position: absolute;
    right: 0;
    z-index: -1;
  }
}

.joinForm {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;

  @media (max-width: 768px) {
    gap: 1rem;
  }

  input,
  textarea {
    font-size: var(--main-font-size);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: inset 0 0 0 1px var(--lions-secondary-light-gray);
    border: none;
    width: 100%;
    transition: all 0.3s ease;

    &:active,
    &:focus {
      outline: none;
      box-shadow: inset 0 0 0 2px var(--lions-yellow);
    }

    @media (max-width: 768px) {
      padding: .75rem;
    }
  }
}

.joinFormTop {
  display: flex;
  gap: 2rem;

  @media (max-width: 768px) {
    flex-direction: column;
    gap: 1rem;
  }

  label {
    width: 100%;
  }
}

.joinSend {
  border-radius: 10rem !important;
  background-color: var(--lions-yellow) !important;
  color: var(--lions-secondary-dark-blue) !important;
  /* font-size: var(--main-font-size) !important; */
  padding: 1rem 2rem !important;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;

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

  &:hover {
    filter: brightness(0.9);
  }
}

.wpcf7-spinner,
.wpcf7-submit {
  float: right;
}



.newsletterH2 {
  font-size: var(--h2-font-size);
  font-weight: 600;
  margin-bottom: 2rem !important;

  @media (max-width: 768px) {
    margin-bottom: 1rem !important;
  }
}

.newsletterText {
  font-size: var(--main-font-size);
  line-height: 1.4;
}

.newsletter {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  max-width: 1000px;
  margin: auto !important;

  @media (max-width: 768px) {
    flex-direction: column;
  }

  .wpcf7-form-control[type="submit"] {
    font-size: 1rem !important;
  }
}

.newsletterSection {
  margin-top: 6rem;
}

.newsletterEmail {
  font-size: var(--small-font-size);
  padding: 1rem !important;
  border-radius: 1rem !important;
  box-shadow: inset 0 0 0 1px var(--lions-secondary-light-gray);
  border: none;
  transition: all 0.3s ease;

  &:active,
  &:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--lions-yellow);
  }

  @media (max-width: 768px) {
    padding: .75rem;
  }
}

.wpcf7-form-control[type="submit"] {
  width: fit-content;
  border-radius: 10rem !important;
  background-color: var(--lions-yellow) !important;
  color: var(--lions-secondary-dark-blue) !important;
  padding: .5rem 1rem !important;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: var(--main-font-size) !important;
  white-space: nowrap;
  filter: none;
  font-size: var(--small-font-size) !important;

  @media (max-width: 768px) {
    width: 100%;
    text-align: center;
  }
}

.wpcf7-form-control[type="submit"]:hover {
  background-color: hsl(47, 80%, 57%) !important;
}

.newsletter .wpcf7-spinner {
  flex-shrink: 0;
  margin: 0;
  align-self: center;
}

/* News article */

.news {
  width: 50% !important;
  margin: auto !important;

  /* 4K screens */
  @media (min-width: 2560px) {
    width: 40% !important;
  }

  @media (max-width: 1024px) {
    width: 70% !important;
  }

  @media (max-width: 768px) {
    width: 95% !important;
  }

  .wp-block-image {
    margin-bottom: 2rem;

    img {
      border-radius: 2rem;
      overflow: hidden;

      @media (max-width: 768px) {
        border-radius: 1rem;
      }
    }
  }

  .postTitleWrapper {
    width: fit-content;
  }

  .postTitleContainer {
    flex-direction: column;
    margin-bottom: 4rem;
  }

  .postTitle {
    margin-bottom: 1rem !important;
  }

  .postDate {
    margin-top: 1rem;
    font-weight: 300;
    font-size: clamp(0.875rem, 0.7321rem + 0.2976vw, 1rem);
    width: 100%;
  }

  .postThumbnail {
    max-height: none;
  }
}