/*!
 * bootScore custom styles
 */

// Add your own code here!
// Because this file is compiled after Bootstrap, you're also able to use Bootstrap mixins for better code.
// Some examples can be found here: https://bootscore.me/documentation/bootstrap-css-sass
//RESET
a {
  text-decoration: none;
  color: inherit;
}
//COLOR
.bg-blk {
  background-color: $c-black;
}
.c-yellow {
  color: $c-yellow;
}
.faded {
  color: #B3B3B3;
}
//STRUCTURE
.nr-cont-sm {
  width: min(625px, 100%);
}
.nr-cont-md {
  width: min(992px, 100%);
}
.nr-cont-lg {
  width: 100vw;
}
.px24, .px-24 {
  padding-left:24px;
  padding-right: 24px;
}
section:not(.hero) {
  margin: 0;
  margin-bottom: 40px;

}
.mobilonbalra {
  text-align: left;

}
@include media-breakpoint-up(sm) {
  .mobilonbalra {
    text-align: center;

  }
}

//BUTTON
.nr-btn {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 900;
  border-radius: 0;
  &:focus, &:hover {
    background-color: $c-black;
    color: $c-green;
  }
}
//HEADER
#nav-main {
  background-color: white;
  box-shadow: 0px 0px 16px 4px rgba(0, 0, 0, 0.25);
  height: 64px;
  > .container {
    align-items: center;
  }
  .offcanvas-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    ul {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 100%;
      gap: 64px;
    }
  }
  .nav-link {
    font-size: 18px;
    text-transform: uppercase;
  }

  .fblink {
    margin-top: 100px;
    display: inline-block;
  }
  .ytlink {
    margin-top: 32px;
  }
}
@include media-breakpoint-up(lg) {
  #nav-main {
    height: 112px;
    > .container {
      align-items: flex-end;
    }
    .fblink {
      margin-top: unset;
      padding: 8px;
      margin-left: 64px!important;
    }
    .ytlink {

        
        position: relative;

        margin-left: 0!important;

    }
    .offcanvas-body {
      flex-direction: row;
      align-items: flex-end;
      ul {
        flex-direction: row;
        justify-content: flex-end;
        width: auto;
        gap:64px;
        min-width: 33vw;
      }
    }
  }
}
//SWIPER
.caro {
  height: 557px;
  overflow:hidden;
  position: relative;
}
.swiper-container {
  margin-left: 50%;
  transform: translateX(-50%);
  width: 1320px;
}
.swiper-wrapper {

  min-height: 514px;
}
.swiper-slide {
  width: 346px;
  height: 498px;
  padding: 8px;
  background:  linear-gradient(to top, hsl(134, 42%, 57%), hsl(59, 78%, 69%));
  > .content {
    background-color: white;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    padding: 48px 32px 16px 32px;
    > * {
      flex-shrink: 0;
      flex-grow: 0;
      width: 100%;
      margin:0;
      padding:0;
    }
    > img {
      max-width: 100%;
      max-height: 191px;
      object-fit: contain;
    }
    > h3 {
      font-size: 20px;
      font-weight: 700;
      line-height: 1.4;
      padding-top: 16px;
      padding-bottom: 4px;
    }
    .ironev {
      font-size:16px;
      line-height: 1.4;
      text-transform: uppercase;
      padding-bottom:4px;
    }
    .cim {
      font-size:12px;
      font-weight:700;
      line-height: 1.4;
      padding-bottom:8px;
    }
    .excerpt {
      max-height: 68px;
      overflow: hidden;
      padding-bottom:16px;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }
}

//GRIDEK
.tile-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  .btnsect {
    padding-left: 0px;
  }
  .tile {
    flex-grow: 0;
    flex-shrink: 0;
    aspect-ratio: 1;
    width: 100%;
    background-color: $c-green;
    position: relative;
    isolation: isolate;
    &:hover, &:focus, &:active, &:focus-within {
      .tile-bg {
        opacity: 0;
      }
      .tile-content {
        * {
          color: white;
        }
        &.fotoval {
          color: $c-black;
        }
      }
    }
    &:nth-child(odd) {
      background-color: $c-yellow;
    }
    .tile-bg {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index:10;
      transition: all 300ms ease-in-out;
      img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        object-fit: cover;
        filter: grayscale(1) brightness(1.4);
      }
      .grad {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 12;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 26.04%, #000000 82.81%), linear-gradient(132.14deg, #EEEB73 -0.01%, #64BF79 100.01%);
        background-blend-mode: multiply;
        mix-blend-mode: multiply;
      }
    }
    .tile-content {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index:12;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: stretch;
      padding: 24px;
      overflow: hidden;
      * {
        color: $c-black;
      }
      &.fotoval * {
        color: white;
      }

      h3 {
        margin-left: 0;
        font-size: 20px;
        line-height: 1.4;
        padding-bottom:8px;
        font-weight: 700;
      }
      p {
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 0;
      }
    }

    &.esemeny {
      padding:24px;

    }
    &.hir {
      aspect-ratio: 2 / 1;
      display: grid;
      grid-template-columns: 50% 50%;
      grid-template-rows: 1fr;
      background-color: $c-yellow;
      > * {
      position: relative;
      left: unset;
      top: unset;

      }
      .tile-content {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        max-height: 178px;
        margin:auto;
        &.fotoval * {
          color: $c-black;
        }
        h3 {
          font-size:1rem;
          line-height: 1;
        }
      }
      .tile-bg {

        grid-column: 2 / 3;
        grid-row: 1 / 2;
      }
      &:nth-child(even) {
        background-color: white;
        .tile-content {
          grid-column: 2 / 3;
          grid-row: 1 / 2;
        }
        .tile-bg {
          grid-column: 1 / 2;
          grid-row: 1 / 2;
        }
      }
    }

  }

}
@include media-breakpoint-down(md) {
  .tile-grid .tile.hir .tile-content {
    justify-content: flex-start;

  }
}
@include media-breakpoint-up(md) {
  .tile-grid {
    gap:43px;
    .btnsect {
      padding-left: 43px;
    }
    .tile {
      width: 268px;
      height: 268px;
    }
    .tile {
      &.hir {
        aspect-ratio: 1;
        grid-template-columns: 1fr;
        .tile-bg {
          grid-column: 1 / 2;
        }
        .tile-content {
          grid-column: 1 / 2;
          max-height: unset;
          &.fotoval * {
            color: white;
          }
          h3 {
            line-height: 1.4;
          }
        }
        &:nth-child(even) {
          background-color: $c-green;
          .tile-content {
            grid-column: 1 / 2;
          }
        }

      }
    }
  }
}

//HERO
.hero {

  overflow: hidden;
  &.regi {
    margin-top: 40px;
  }
  /* img {
    height: 105vw;
    transform: translateX(-36%);
    display: block;
    max-width: unset;
  } */
  padding-bottom:54px;
}
@include media-breakpoint-up(lg) {
  .page-template-page-whatson .hero {
    padding-bottom: 54px;
  }
  .hero {
   margin-top:64px;
    padding-bottom:100px;
    position: relative;
    &.regi {
          margin-top: 0;

    }
    /* img {
      width: min(100vw, 1910px);
      transform: none;
      height: auto;
    } */
  }

}
.ujhero {
  width: 100vw;
  height: auto;
  position: relative;
  z-index: 4;
}
.intro-elso {
  position: absolute;
  z-index: 10;
  width: 38rem;
  left: 50%;
  bottom: 51%;
  transform: translateX(-62%);
  font-size:clamp(16px, 2vw, 36px);

}
.intro-elso-mobile {
  width: 100%;
  padding-bottom: 1rem;
}
.hero-2 {
  width: 100vw;
  height: 100vw;
  margin-top: 64px;
  position: relative;
  background-color: $c-green;

  .hero-bg {
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100%;
     img {
      grid-column: 1 / 2;
      grid-row: 1 / 2;
      width: 100%;
      height: 100%;
      position: relative;
      z-index: 10;
      object-fit: cover;
      filter: grayscale(1) brightness(1.4);
    }
    .grad {
      position: relative;
      z-index: 15;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0) 26.04%, #000000 82.81%), linear-gradient(132.14deg, #EEEB73 -0.01%, #64BF79 100.01%);
      background-blend-mode: normal, multiply, normal, normal;
      mix-blend-mode: multiply;
      grid-column: 1 / 2;
      grid-row: 1 / 2;
    }

  }
  .content {
    padding: 32px 24px;
    position: relative;
    z-index: 15;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    * {
      margin: 0;
      padding: 0;
      margin-bottom:8px;
      color:white;
    }
    h1 {
      font-size:32px;
      line-height: 1.4;
      font-weight: 700;
    }
    a, p {
      font-size: 20px;
      font-family: 'Tahoma', 'Source Sans Pro', sans-serif, -apple-system;
    }
    a {
      color: $c-yellow;
      text-decoration: underline;
    }
    .idopont {
      font-weight: 700;
    }
  }


}
@include media-breakpoint-up(lg) {
  .hero-2 {
    margin-top: 112px;
    height: 30vw;
    .content {
      padding: 0;
      padding-bottom: 22px;
    }

  }
}
//POPUP
.modal {
  .modal-dialog {
    max-width: unset;
    position: absolute;
    left: 50%;


  }
  &.show {
    .modal-dialog {
      transform: translateX(-50%);
    }
  }
  .modal-content {
    isolation: isolate;
    width: 91vw;
    max-width: 820px;
    background: transparent;
    border: 0px solid transparent;
    iframe {
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
    }
    .modal-header {
      width: 91vw;
      max-width: 820px;
      height: 91vw;
      max-height: 820px;
      position: relative;
      padding: 0;
      img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        object-fit: cover;
        filter: grayscale(1) brightness(1.4);
      }
      .grad {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 12;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 26.04%, #000000 82.81%), linear-gradient(132.14deg, #EEEB73 -0.01%, #64BF79 100.01%);
        background-blend-mode: normal, multiply, normal, normal;
        mix-blend-mode: multiply;
      }
      button {
        position: absolute;
        z-index: 15;
        right: 9px;
        top: 9px;
        background: none;
      }
      .header-content {
        padding-left: 24px;
        padding-right:24px;
        padding-bottom: 32px;
        height: 100%;
        position: relative;
        z-index: 14;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        * {
          margin:0;
          padding: 0;
          margin-bottom: 8px;
        }
        h1 {
          font-size: 32px;
        }
        p {
          font-size:20px;
        }
        p + p {
          font-weight: 700;
          font-family: 'Tahoma', 'Source Sans Pro', sans-serif, -apple-system;
        }
      }
    }
    .modal-body {
      background: white;
      padding: 32px 24px;
      > div {
        max-width: 620px;
        p {
          margin: 0;
          padding: 0;
          margin-bottom: 25px;
          text-align: justify;
        }
      }
    }
  }
  .modaldekor {
    width: 100%;

  }
}
@include media-breakpoint-up(md) {
  .modal {
    .modal-content {
      .modal-header {
        height: 34vw;
        max-height: 312px;
        button {
          right: 32px;
          top:32px;
        }
      }
    }
  }
}

//FOOTER
footer {

  position: relative;
  img.dekor {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    z-index:10

  }
  .blackfill {
    background-color: #000;
    height: 33%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 8;
  }
  .content {
    position: relative;
    padding-top: 24vw;
    padding-bottom: 40px;
    z-index: 20;
    //left: 50%;
    //transform: translateX(-50%);
    //width: calc(100% - 84px);
    //max-width: 1296px;
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: flex-start;
    align-items: flex-end;
    .img-cont {
      display:flex;
      flex-wrap: wrap;
      width: 100%;
      gap: 23px;
      justify-content: space-between;
      img {
        height: 45px;
        max-width: 109px;
      }
      a + a {

      }
    }
    #footer-menu {
      flex-direction: column;
    }
    .footermenu {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      min-width: 300px;
      padding-bottom:41px;

      a {
        text-decoration: none;
        margin-bottom: 16px;
        color: white;
        font-size: 20px;
      }
    }
  }
}
@include media-breakpoint-up(md) {
  footer {

    .blackfill {
      height: calc(100% - 17vw);
    }
    .content {
      padding-top: 16vw;
      .img-cont {
        gap: 45px;
        img {
          height: 62px;
          max-width: 191px;
          Justify-content: space-between;
        }
      }
      padding-bottom: 60px;
      .footermenu {
        width: 100%;
      flex-shrink: 0;
        justify-content: flex-end;
        ul {
          justify-content: flex-end;
        }
        a {


          
        }
      }
      #footer-menu {
        flex-direction: row;
      }
    }
  }
}
//Tortenetek gyujto
.stories {
  .accordion {
    a:hover {
      color: currentColor;
      * {
        color: currentColor;
      }
    }
    .accordion-button:focus {
      box-shadow: none;
    }

    .accordion-item {
      border: none;
      margin-top:28px;
    }

    .accordion-button:not(.collapsed)::after, .accordion-button::after {

    }
    .accordion-body {
      padding-top: clamp(16px,3vw,48px);
      padding-bottom: clamp(16px,3vw,48px);
    }


  .accordion-header {
      button.accordion-button {
        padding: 0;
        width: fit-content;
        background: transparent;
        font-size: clamp(1rem, 3vw, 32px);
        color: $c-black;
        box-shadow: none;
        &::after {
          height: 1em;
          width: 1em;
          background: url("../img/vector18.png");
          background-size: 1em;
          background-repeat: no-repeat;
          background-position: center;
        }

        p {
          margin: 0;
          font-size: clamp(1rem, 3vw, 32px);
          padding-right: 0.75em;

        }
      }
    }
  }
  .story {
    width: 100%;
    border: none;
    background: transparent;
    box-shadow: unset;
    display: flex;
    justify-content: flex-start;
    padding-bottom:8px;
    align-items: flex-end;
    .photo {
      width: clamp(20px, 25vw, 286px);
      aspect-ratio: 1;
      flex-shrink: 0;
      flex-grow: 0;
      position: relative;
      img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        object-fit: cover;
        filter: grayscale(1) brightness(1.4);
      }
      .grad {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 12;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 26.04%, #000000 82.81%), linear-gradient(132.14deg, #EEEB73 -0.01%, #64BF79 100.01%);
        background-blend-mode: normal, multiply, normal, normal;
        mix-blend-mode: multiply;
      }
    }
    .content {
      flex-grow: 1;
      flex-shrink: 1;
      padding-left: 8px;
      text-align: start;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-end;
      * {
        padding: 0;
        margin:0;
        line-height: 1.4;
      }
      h3 {
        font-weight: 700;
        font-size: 16px;
      }
      p {
        font-size: 12px ;
      }
      .cim {
        font-weight: 700;
      }
    }
  }
}
@include media-breakpoint-up(md) {
  .stories {
    .accordion {
      .accordion-item {
        margin-top:12px;
      }

    }
    .story {
      //44 bofre v2
      padding-bottom:36px;
      .content {
        padding-left: 40px;
        * {
          margin-bottom: 8px;
        }
        h3 {
          font-size: 36px;
        }
        p {
          font-size:24px;
        }
        .ironev, .cim {
          font-size: 32px;
        }
      }
    }
  }
}

//KONTENTOLDALAK
//ESEMENY
.main-content {
  padding: 32px 24px;
  padding-bottom:140px;
  p {
    text-align: justify;
  }
}
@include media-breakpoint-up(md) {
  .main-content {
    padding-top: 82px;
    padding-bottom:100px;
  }
}

//MISC
#esemenyek {
  margin-bottom: 88px;
}
.nagyintro {
  font-size: clamp(24px, 5vw, 40px);
  padding-bottom: clamp(82px, 25vw, 131px);
  p {
    line-height: 1.15;
  }

}
.galeria-hir {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
  gap:1rem;
  * {
    flex-shrink: 0;
    flex-grow: 0;
  }
  a {
    padding: 0;
  }
  img {
    width: 230px;
    height: 230px;
    object-fit: cover;
  }
}

// EVENT LIST
.bpb-event-list {
  .bpb-event-list-view {
    justify-content: space-evenly;
    .event {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 24px;
      aspect-ratio: 1;
      > a {

      }
      .event-cat {
        .badge {
          color: black;
          background: #fff;
        }
      }
    }
  }
  .event {
    min-width: 320px;


    > a {
      width: 100%;
      aspect-ratio: 1;
      img {
        aspect-ratio: 1;
        object-fit: cover;
      }

      display: block;
      position: relative;
      height: fit-content;
      width: fit-content;

      &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 26.04%, #000000 82.81%), linear-gradient(132.14deg, #EEEB73 -0.01%, #64BF79 100.01%);
        background-blend-mode: multiply;
        mix-blend-mode: multiply;
      }
    }
    .event-cat {
      .badge {
        color: $c-yellow;
        background: $c-black;
        border-radius: 1000px;
      }
    }
  }
}
.page-template-page-fooldal2 {
  .bpb-event-list .bpb-event-list-view {
    .event {
      position: relative;

      > a {
        position: absolute;
        inset:0;
        z-index: 1;
      }
      > div {
        z-index: 2;
        * {
          color: white;
        }
        h3 {

            margin-left: 0;
            font-size: 20px;
            line-height: 1.4;
            padding-bottom:8px;
            font-weight: 700;

        }
      }

    }
  }
}
@include media-breakpoint-down(sm) {
  .bpb-event-list {
    .event {
      min-width: 100%;
    }
  }
}