/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/**
 * Admin bar styling
 */

#wpadminbar {
  opacity: 0.2;
  transition: opacity 0.2s ease;
}

#wpadminbar:hover {
  opacity: 1;
}

/** --------------------------------------------------------------------------------------------
 * ---------------------------- Buttons styling and effects ------------------------------------
------------------------------------------------------------------------------------------------ */

/* ---------------------------- Default styling ------------------------------------------------ */
.button-dune {
  outline-offset: 0.33em;
  outline: solid 1px;
  border: 0px;
  border-radius: 0.4em;
  position: relative;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* button style dependant*/
  outline-color: #f4cf8b;
  background: rgba(244, 207, 139, 0.2);
  color: #f4cf8b;
}

.button-dune::before,
.button-dune::after {
  content: "";
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  z-index: -1;
  position: absolute;
  width: 0.7em;
  height: 0.7em;
  left: 50%;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
  border-top-right-radius: 0.12em;

  /* button style dependant*/
  background-color: red;
}

.button-dune::before {
  top: -0.718em;
  transform: translateX(-50%) scale(1) rotate(-45deg);
}

.button-dune::after {
  bottom: -0.718em;
  transform: translateX(-50%) scale(1) rotate(-225deg);
}

.button-dune:hover::before,
.button-dune:hover::after {
  background-color: green;
}

.button-dune:hover::before {
  transform: translateX(-50%) scale(2.2) rotate(-45deg);
}

.button-dune:hover::after {
  transform: translateX(-50%) scale(2.2) rotate(-225deg);
}

/* ---------------------------- Yellow > Yellow ---------------------------------------------- */

.button-dune.button-dune--yellow-yellow {
  outline-color: #f4cf8b;
  background: rgba(244, 207, 139, 0.2);
  color: #f4cf8b;
}

.button-dune.button-dune--yellow-yellow:hover {
  outline-color: rgba(244, 207, 139, 0.5);
  background: #f4cf8b;
  color: #000;
}

.button-dune.button-dune--yellow-yellow::before,
.button-dune.button-dune--yellow-yellow::after {
  background-color: rgba(244, 207, 139, 0.5);
}

.button-dune.button-dune--yellow-yellow:hover::before,
.button-dune.button-dune--yellow-yellow:hover::after {
  background-color: #f4cf8b;
}

/* ---------------------------- White > Yellow ---------------------------------------------- */

.button-dune.button-dune--white-yellow {
  outline-color: rgba(244, 207, 139, 0.4);
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

.button-dune.button-dune--white-yellow:hover {
  outline-color: #f4cf8b;
  background: #f4cf8b;
  color: #000;
}

.button-dune.button-dune--white-yellow::before,
.button-dune.button-dune--white-yellow::after {
  background-color: rgba(244, 207, 139, 0.5);
}

.button-dune.button-dune--white-yellow:hover::before,
.button-dune.button-dune--white-yellow:hover::after {
  background-color: #f4cf8b;
}

/* ---------------------------- White > Light-purple ---------------------------------------------- */

.button-dune.button-dune--white-light-purple {
  outline-color: rgba(229, 198, 255, 0.4);
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

.button-dune.button-dune--white-light-purple:hover {
  outline-color: #e5c6ff;
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.button-dune.button-dune--white-light-purple::before,
.button-dune.button-dune--white-light-purple::after {
  background-color: rgba(229, 198, 255, 0.4);
}

.button-dune.button-dune--white-light-purple:hover::before,
.button-dune.button-dune--white-light-purple:hover::after {
  background-color: #e5c6ff;
}

/* ---------------------------- Purple > Purple ---------------------------------------------- */

.button-dune.button-dune--purple-purple {
  outline-color: #e39de3;
  background: rgba(42, 0, 101, 0.3);
  color: #fff;
}

.button-dune.button-dune--purple-purple:hover {
  outline-color: #e5c6ff;
  background: #e39de3;
  color: #2a0065;
}

.button-dune.button-dune--purple-purple::before,
.button-dune.button-dune--purple-purple::after {
  background-color: rgba(227, 157, 227, 0.5);
}

.button-dune.button-dune--purple-purple:hover::before,
.button-dune.button-dune--purple-purple:hover::after {
  background-color: #e5c6ff;
}

/* -------------------------------------------------------------------------- */
/* ------------------------- Button v2 -------------------------------------- */
.button-dune2 {
  outline: none;
  border: none;
  border-radius: 0;
  min-width: 140px;
  position: relative;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  margin: 5px;

  background: #f4cf8b;
  color: #24201d;
}
.button-dune2::before,
.button-dune2::after {
  content: "";
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  background: center center no-repeat;
  background-size: cover;
  height: 7px;
  z-index: -1;
  position: absolute;

  left: -5px;
  right: -5px;
}
.button-dune2::before {
  top: -8px;
}
.button-dune2::after {
  bottom: -8px;
}
.button-dune2 > span::before,
.button-dune2 > span::after {
  content: "";
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  width: 1px;
  background: #ebcf9a4d;
  position: absolute;

  top: -4px;
  bottom: -4px;
}
.button-dune2 > span::after {
  left: -5px;
}
.button-dune2 > span::before {
  right: -5px;
}

/* ---------------------------- Yellow > Yellow ----------------------------------------- */

.button-dune2.button-dune--yellow-yellow {
  background: #f4cf8b;
  color: #24201d;
}
.button-dune2.button-dune--yellow-yellow > span::before,
.button-dune2.button-dune--yellow-yellow > span::after {
  background: #ebcf9a4d;
}

.button-dune2.button-dune--yellow-yellow:hover {
  background: #fff5d2;
  color: #24201d;
}
.button-dune2.button-dune--yellow-yellow:hover > span::before,
.button-dune2.button-dune--yellow-yellow:hover > span::after {
  background: #ebcf9a;
}

/* ---------------------------- Purple > Purple ----------------------------------------- */

.button-dune2.button-dune--purple-purple {
  background: #faaaff;
  color: #24201d;
}
.button-dune2.button-dune--purple-purple > span::before,
.button-dune2.button-dune--purple-purple > span::after {
  background: #faaaff;
}

.button-dune2.button-dune--purple-purple:hover {
  background: #311c35;
  color: #faaaff;
}

/* ---------------------------- Style in BLOG Content ----------------------------------------- */
.text .wp-block-image :where(figcaption) {
  margin-bottom: 0;
  margin-top: 1.5em;
  color: var(--bricks-color-rpxhic);
}

.text > * {
  margin-bottom: 2rem;
}
.text > *:last-child {
  margin-bottom: 0;
}
.text > *:first-child {
  margin-top: 0;
}
.text h1,
.text h2,
.text h3,
.text h4,
.text h5,
.text h6 {
  margin-top: var(--xxl-56);
  margin-bottom: var(--xxl-40);
  font-weight: 500;
  font-family: "TT_Firs_Neue_Medium";
  text-transform: uppercase;
  color: var(--bricks-color-e15e09);
  opacity: 0.8;
}
.text h1.underline,
.text h2.underline,
.text h3.underline,
.text h4.underline,
.text h5.underline,
.text h6.underline {
  padding-bottom: var(--lg-20);
  border-bottom: 1px solid rgb(230 199 255 / 20%);
}
.text h1 {
  line-height: 95%;
  font-size: clamp(2.4rem, 2.738vw, 100rem);
}
.text h2 {
  line-height: 95%;
  font-size: clamp(2.2rem, 2.143vw, 100rem);
}
.text h3 {
  line-height: 100%;
  font-size: clamp(1.7rem, 1.548vw, 100rem);
}
.text h4,
.text h5,
.text h6 {
  line-height: 118%;
  font-size: clamp(1.4rem, 1.31vw, 100rem);
}
.text ul,
.text ol {
  margin-top: 0;
  padding-left: 20px;
}
.text ul > li,
.text ol > li {
  margin-bottom: 0.5rem;
}
.text ul > li:last-child,
.text ol > li:last-child {
  margin-bottom: 0;
}
.text a {
  opacity: 0.8;
  color: #e5c6ff;
  text-decoration: underline;
}
.text a:hover {
  text-decoration: none;
}
.text .wp-block-heading.dune {
  text-align: center;
  position: relative;
}
.text .wp-block-heading.dune:before,
.text .wp-block-heading.dune:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 7px;
  height: 100%;
  background-size: cover;
}
.text .wp-block-heading.dune:before {
  left: -4px;
}
.text .wp-block-heading.dune:after {
  right: -4px;
}
.text .wp-block-heading.dune span {
  padding: 10px;
  display: block;
}
.text .wp-block-heading.dune span:before,
.text .wp-block-heading.dune span:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background: #ebcf9a;
}
.text .wp-block-heading.dune span:before {
  top: 0;
}
.text .wp-block-heading.dune span:after {
  bottom: 0;
}
.text .wp-block-buttons {
  gap: 10px;
}
.text .wp-block-button {
  font-family: "TT_Firs_Neue_Medium";
  font-weight: 500;
  line-height: 1em;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 0.714vw, 1.4rem);
  outline: none;
  border: none;
  border-radius: 0;
  min-width: 140px;
  position: relative;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  margin: 5px;

  background: #f4cf8b;
  color: #24201d;
}
.text .wp-block-button:before,
.text .wp-block-button:after {
  content: "";
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  background: center center no-repeat;
  background-size: cover;
  height: 7px;
  z-index: -1;
  position: absolute;
  left: -5px;
  right: -5px;
}
.text .wp-block-button:before {
  top: -8px;
}
.text .wp-block-button:after {
  bottom: -8px;
}
.text .wp-block-button .wp-block-button__link {
  padding: 1.2em 1.8em;
  margin: 0;
  background: 0;
  color: inherit;
  font-size: 1em;
  border-radius: 0;
  width: 100%;
  text-decoration: none !important;
}
.text .wp-block-button .wp-block-button__link:before,
.text .wp-block-button .wp-block-button__link:after {
  content: "";
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  width: 1px;
  background: #ebcf9a4d;
  position: absolute;
  top: -4px;
  bottom: -4px;
}
.text .wp-block-button .wp-block-button__link:before {
  right: -5px;
}
.text .wp-block-button .wp-block-button__link:after {
  left: -5px;
}
.text .wp-block-button:hover {
  background: #fff5d2;
  color: #24201d;
}
.text .wp-block-button:hover .wp-block-button__link:before,
.text .wp-block-button:hover .wp-block-button__link:after {
  background: #ebcf9a;
}
.text > figure.wp-block-video,
.text > figure.wp-block-embed.is-type-video {
  width: 80vw;
  margin: var(--xxl-96) 0;
  border-radius: 4px;
  overflow: hidden;
  margin-left: calc(50% - calc(80vw / 2));
}
.text > figure.wp-block-video video,
.text > figure.wp-block-embed.is-type-video iframe {
  background-color: var(--bricks-color-hajgni);
}
.text > figure.wp-block-image {
  width: 80vw;
  margin: var(--xxl-96) 0;
  border-radius: 4px;
  overflow: hidden;
  margin-left: calc(50% - calc(80vw / 2));
  border: 1px solid rgba(244, 207, 139, 0.3);
  padding: var(--lg-20);
}
.text > figure.wp-block-image a {
  display: block;
}
.text > figure.wp-block-image img {
  width: 100%;
  border-radius: 4px;
  background-color: var(--bricks-color-hajgni);
}
.text .lightbox-trigger {
  outline: none !important;
}
.text > figure.wp-block-gallery {
  width: 80vw;
  margin: var(--xxl-96) 0;
  border-radius: 4px;
  overflow: hidden;
  margin-left: calc(50% - calc(80vw / 2));
  border: 1px solid rgba(244, 207, 139, 0.3);
  padding: var(--lg-20);
  gap: 10px;
  flex-wrap: nowrap;
}
.text > figure.wp-block-gallery img {
  border-radius: 4px;
  background-color: var(--bricks-color-hajgni);
}
.text > .wp-block-carousel {
  width: 95vw;
  margin: var(--xxl-96) 0;
  border-radius: 4px;
  overflow: hidden;
  margin-left: calc(50% - calc(80vw / 2));
  border: 1px solid rgba(244, 207, 139, 0.3);
  padding: var(--lg-20);
}
.text > .wp-block-carousel .wp-block-image {
  margin: 0;
}
.text > .wp-block-carousel .wp-block-image img {
  border-radius: 4px;
  width: 55vw;
  aspect-ratio: 9 / 5;
  object-fit: cover;
  background-color: var(--bricks-color-hajgni);
}
.wp-lightbox-overlay .scrim {
  background: rgba(0, 0, 0, 0.6) !important;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}
.wp-lightbox-overlay .close-button {
  fill: #f4cf8b !important;
}
.wp-lightbox-overlay .lightbox-image-container figure {
  border-radius: 4px;
  border: #f4cf8b 1px solid;
  overflow: hidden;
}
.wp-lightbox-overlay .lightbox-image-container img {
  border-radius: 4px;
  background-color: var(--bricks-color-hajgni);
}
@media (max-width: 767px) {
  .text > figure.wp-block-gallery,
  .text > figure.wp-block-image,
  .text > figure.wp-block-video,
  .text > figure.wp-block-embed.is-type-video {
    width: 90vw;
    margin-left: calc(50% - calc(90vw / 2));
  }
  .text > .wp-block-carousel {
    width: 100vw;
    margin-left: calc(50% - calc(90vw / 2));
  }
  .text > .wp-block-carousel .wp-block-image img {
    width: 70vw;
  }
}
@media (max-width: 576px) {
  .text > .wp-block-carousel .wp-block-image img {
    width: 85vw;
  }
}

/* ---------------------------- Load More in Media ----------------------------------------- */
#load-more .jet-filters-pagination__link {
  outline: none;
  border: none;
  border-radius: 0;
  min-width: 140px;
  position: relative;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  margin: 5px;
  text-align: center;

  background: #f4cf8b;
  color: #24201d;
}
#load-more .jet-filters-pagination__link::before,
#load-more .jet-filters-pagination__link::after {
  content: "";
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  background: center center no-repeat;
  background-size: cover;
  height: 7px;
  z-index: -1;
  position: absolute;

  left: -5px;
  right: -5px;
}
#load-more .jet-filters-pagination__link::before {
  top: -8px;
}
#load-more .jet-filters-pagination__link::after {
  bottom: -8px;
}
#load-more .jet-filters-pagination__link > span::before,
#load-more .jet-filters-pagination__link > span::after {
  content: "";
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  width: 1px;
  background: #ebcf9a4d;
  position: absolute;

  top: -4px;
  bottom: -4px;
}
#load-more .jet-filters-pagination__link > span::after {
  left: -5px;
}
#load-more .jet-filters-pagination__link > span::before {
  right: -5px;
}

/* ---------------------------- Load More in Media - Yellow ----------------------------------------- */
#load-more .jet-filters-pagination__link {
  background: #f4cf8b;
  color: #24201d;
}
#load-more .jet-filters-pagination__link > span::before,
#load-more .jet-filters-pagination__link > span::after {
  background: #ebcf9a4d;
}

#load-more .jet-filters-pagination__link:hover {
  background: #fff5d2;
  color: #24201d;
}
#load-more .jet-filters-pagination__link:hover > span::before,
#load-more .jet-filters-pagination__link:hover > span::after {
  background: #ebcf9a;
}

/* ---------------------------- Style Sign-up Form in Popup ----------------------------------------- */
#signup_popup_form {
  justify-content: center !important;
}

/* Signup button styling */
#signup_popup_form .bricks-button:before,
#signup_popup_form .bricks-button:after {
  content: "";
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  width: 1px;
  background: #ebcf9a4d;
  position: absolute;
  top: -4px;
  bottom: -4px;
}

#signup_popup_form .bricks-button:before {
  right: -5px;
}

#signup_popup_form .bricks-button:after {
  left: -5px;
}

#signup_popup_form .bricks-button {
  padding: 1.2em 1.8em;
  margin: 0;
  background: 0;
  color: inherit;
  font-size: 1em;
  border-radius: 0;
  width: 100%;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

#signup_popup_form .submit-button-wrapper {
  font-family: "TT_Firs_Neue_Medium";
  font-weight: 500;
  line-height: 1em;
  text-transform: uppercase !important;
  font-size: clamp(0.9rem, 0.714vw, 1.4rem);
  outline: none;
  border: none;
  border-radius: 0;
  min-width: 140px;
  position: relative;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  margin: 5px;
  background: #f4cf8b;
  color: #24201d;
  padding: 0px;
}

#signup_popup_form .submit-button-wrapper:before,
#signup_popup_form .submit-button-wrapper:after {
  content: "";
  transition: all 0.6s cubic-bezier(0.94, 0.17, 0.11, 0.73);
  background: center center no-repeat;
  background-size: cover;
  height: 7px;
  z-index: -1;
  position: absolute;
  left: -5px;
  right: -5px;
}

#signup_popup_form .submit-button-wrapper:before {
  top: -8px;
}

#signup_popup_form .submit-button-wrapper:after {
  bottom: -8px;
}

/* End Signup button styling */
/* Signup Email Field styling */
#signup_popup_form .form-group:nth-child(1) {
  font-size: 1.4em;
  font-weight: 600;
  border: solid 1px rgba(244, 207, 139, 0.3);
  padding: 5px;
  margin-bottom: 36px;
  color: #fff;
}
/* End Signup Email Field styling */

#signup_popup_form .form-group:nth-child(2) {
  padding-bottom: 10px;
}

#signup_popup_form .options-wrapper li {
  display: flex;
  justify-content: center;
}

#signup_popup_form input[type="checkbox"] {
  width: 0px;
}
#signup_popup_form input[type="checkbox"]:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 30%;
  left: 0;
  width: 14px;
  height: 14px;
  border: 2px solid #f4cf8b;
  background-color: transparent;
  transform: translate(-150%, -40%) rotate(45deg);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

#signup_popup_form input[type="checkbox"]:checked:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 30%;
  left: 0;
  width: 6px;
  height: 6px;
  border: 2px solid #f4cf8b;
  background-color: #f4cf8b;
  transform: translate(-284%, -28%) rotate(45deg);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
