/* #### Theme Variation Styles & Blocks #### */

:root {
  --body-font-family: "Yu Gothic", "Hv", "Helvetica", "Yu Gothic", sans-serif;
  --heading-font-family:
    "Yu Gothic", "Hv", "Helvetica", "Yu Gothic", sans-serif;
  --body-font-size: 1.75rem;
  --page-title-font-size: 5rem;
  --heading-line-height: 1.3;
  --body-line-height: 1.8;

  /* ## Theme Color Palette - START ## */
  --highlight-color: #e7af1b;
  --highlight-color-hover: #d29f12;
  --highlight-bg-color: #e7af1b;
  --highlight-bg-text-color: #fff;
  --highlight-color-alt: #0b1451;
  --highlight-color-alt-2: #0b1451;
  --highlight-color-alt-3: #2b91dd;
  --highlight-color-alt-3-hover: #0e69af;
  --light-bg-color: #f0f9ff;
  --light-bg-text-color: var(--text-color);
  --light-bg-title-color: var(--highlight-color);
  --orange-btn-bg-color: #e7af1b;
  --orange-btn-bg-color-hover: #d29f12;
  --orange-btn-text-color: #fff;
  --dark-bg-color: #0b1451;
  --dark-bg-text-color: #fff;
  --title-color: #0b1451;
  --text-color: #0e0f19;
  --text-light-color: #737585;
  --green-color: #15bd66;
  --red-color: #c73f1c;
  --green-btn-bg-color: #15bd66;
  --green-btn-bg-color-hover: #12ab6c;

  /* ## Theme Color Palette - END ## */

  --sub-header-bg-color: #f2edea;
  --sub-header-title-color: #fff;
  --sub-header-text-color: #fff;
  --table-background-color: #f0f9ff;
  --table-border-color: #eee;
  --btn-font-size: 1.6rem;
  --btn-bg-color: linear-gradient(45deg,
      #e7af1b 0%,
      #f4df8d 24%,
      #f9eac4 54%,
      #e7af1b 100%);
  --btn-text-color: var(--title-color);
  --btn-bg-color-flat: #e7af1b;
  --btn-bg-color-hover: linear-gradient(45deg,
      #c18e02 0%,
      #f4df8d 24%,
      #e9cd87 54%,
      #e7af1b 100%);
  --btn-box-shadow: inset 0 0 0 2px #e7af1b, 0 0.2rem 0.26rem rgb(0 0 0 / 2%);
  --btn-box-shadow-hover:
    inset 0 0 0 2px #d29f12, 0 0.2rem 0.26rem rgb(0 0 0 / 2%);
  --btn-transition: none;
  --btn-text-transform: uppercase;
  --btn-font-weight: normal;
  --btn-df-min-height: 5.5rem;
  --btn-df-padding: 1.5rem 2.8rem;
  --btn-border-width: 2px;
  --btn-df-line-height: 1.5;
  --btn-stroked-line-height: 1.4;
  --dark-btn-bg-color-hover: #070e39;
  --form-control-bg-color: #fff;
  --form-control-border-color: #0b1451;
  --form-control-border-color-hover: #070e39;
  --form-control-padding: 1.1rem 2rem 0.9rem;
  --form-control-height: var(--btn-df-min-height);
  --form-control-font-size: 1.8rem;
  --form-control-box-shadow: 0;
  --form-control-box-shadow-hover: 0;
  --featured-post-cover-overlay-bg: linear-gradient(to bottom,
      rgb(11 20 81 / 0%) 0%,
      rgb(11 20 81 / 80%) 40%,
      rgb(11 20 81 / 95%) 100%);
  --sidebar-width: 33rem;
  --sidebar-title-font-weight: 700;
  --sidebar-title-font-size: 2rem;
  --sidebar-title-text-align: left;
  --sidebar-title-margin: 0 0 3rem;
  --box-bg-color: 240, 249, 255;
  --box-box-shadow: 0 0.2rem 0.26rem rgb(0 0 0 / 2%);
  --box-border: 1px solid #eee;
  --df-border-radius: 1.4rem;
  --hf-border-radius: 1.4rem;
  --thumbnail-border-radius: 1.4rem;
  --df-padding-unit: 4rem;
  --df-p-margin-unit: 3rem;
  --menu-toggle-icon: url("../../inspireclub/img/menu-bar-icn.svg");
  --menu-toggle-icon-active: url("../../inspireclub/img/menu-close-icn.svg");
  --menu-search-toggle-icon: url("../../inspireclub/img/menu-search-icn.svg");
}

@media (width <=992px) {
  :root {
    --mobile-nav-bar-height: 7rem;
    --btn-font-size: 1.8rem;
    --menu-toggle-icon-size: 24px;
  }
}

@media (width <=500px) {
  :root {
    --df-column-gap: 2.4rem;
    --df-padding-unit: 3rem;
    --df-margin: var(--df-margin-unit);
  }
}

body.front {
  letter-spacing: 1.1px;
}

/* ## Animations ## */
.animated {
  animation-duration: 0.7s;
}

/* ## Grid Adjustments ## */
body {
  overflow-x: hidden;
  background: #fff;
  min-width: 100%;
}

.d-flex {
  display: flex !important;
}

.d-contents {
  display: contents !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

@media (width >=992px) {
  :root {
    --rem-font-size: 50%;
    --container-width: 980px;
  }
}

@media (width >=1280px) {
  :root {
    --rem-font-size: 52%;
    --container-width: 1160px;
  }
}

@media (width >=1367px) {
  :root {
    --rem-font-size: 57%;
  }

  .extended-container {
    --container-width: 1640px;
  }
}

@media (width >=1441px) {
  :root {
    --rem-font-size: 62.5%;
    --container-width: 1200px;
  }

  .editor-styles-wrapper .block-editor-writing-flow {
    margin: 0 auto;
  }

  .page-template-page-without-sidebar .sub-header .centered-column,
  .page-template-page-without-sidebar main>.container>.row>.content-holder,
  .page-template-page-without-sidebar .author-info-container .col-md-12 {
    max-width: calc(100% - 33rem) !important;
  }
}

@media (width >=1600px) {
  :root {
    --container-width: 1362px;
  }
}

@media (width >=1800px) and (height >=920px) {
  :root {
    --container-width: 1362px;
  }
}

@media (width >=2200px) {
  html {
    background-color: var(--light-bg-color);
    background-image: url("../img/poker-pattern.png");
    background-repeat: repeat;
    background-size: 150px 150px;
    animation: pattern_move_45 30s linear infinite;
  }

  body {
    background: #fff;
    max-width: 1920px;
    min-width: 0;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #ccc;
    box-shadow: 0 0.2rem 3rem rgb(0 0 0 / 20%);
  }
}

@media (width <=992px) {
  :root {
    --rem-font-size: 55%;
  }

  body.front {
    letter-spacing: 1px;
  }

  body,
  .editor-styles-wrapper {
    width: 100%;
    max-width: 100%;
  }
}

@media (width <=600px) {
  body.front {
    letter-spacing: 0.8px;
  }
}

@media (width <=360px) {
  :root {
    --rem-font-size: 52%;
  }
}

/* ## HELPERS ## */

/* Borders */
.has-dark-border-color {
  border-color: var(--dark-bg-color);
}

.has-green-border-color {
  border-color: var(--green-btn-bg-color);
}

.has-highlight-border {
  border: 1px solid var(--btn-bg-color-flat);
}

/* Moving Bg Pattern */
.has-bg-pattern,
.box.has-bg-pattern,
#page-footer {
  background-color: var(--light-bg-color);
  background-image: url("../img/poker-pattern.avif");
  background-image: image-set(url("../img/poker-pattern.avif") 1x,
      url("../img/poker-pattern.webp") 1x);
  background-repeat: repeat;
  background-size: 150px 150px;
  animation: pattern_move_45 30s linear infinite;
}

@keyframes pattern_move_45 {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 150px 150px;
  }
}

/* Alt Light Bg */
.has-alt-light-bg {
  background: #fbfbfb url("../img/alt-light-bg-dec.webp") no-repeat center bottom / contain;
}

@media (width <=992px) {
  .has-alt-light-bg {
    background-size: 200vw auto;
  }
}

/* Alt Light Bg 2 */
.has-alt-light-bg-2 {
  background: #fbfbfb;
  background: linear-gradient(0deg,
      rgb(251 251 251 / 100%) 0%,
      rgb(255 255 255 / 100%) 100%);
}

/* Dark bg */
.has-dark-bg-img {
  background: var(--dark-bg-color) url("../img/sub-header-bg.avif") no-repeat center center / cover !important;
  background-image: image-set(url("../img/sub-header-bg.avif") 1x,
      url("../img/sub-header-bg.webp") 1x);
}