/* ==========================================================================
   Get global options
   ========================================================================== */
/* ==========================================================================
   Vars
   ========================================================================== */
body {
  --gp-search-modal-overlay-bg-color: #0f3443f0;
}

/* ==========================================================================
   Queries
   ========================================================================== */
/* ==========================================================================
   Includes
   ========================================================================== */
.separate-containers .entry:not(.post) .featured-image {
  margin-top: 0;
}

body {
  font-size: 18px;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   All headings
   ========================================================================== */
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  margin-top: 50px;
}
h1:first-child,
h2:first-child,
h3:first-child {
  margin-top: 0;
}

@media (max-width: 960px) {
  body.blog .site-main,
  body.archive .site-main {
    padding: 20px;
    margin: 0;
  }
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.9;
  z-index: 10;
}

video[poster] {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.footer-widgets-container.grid-container {
  padding: 70px 40px;
}
@media (max-width: 600px) {
  .footer-widgets-container.grid-container {
    padding: 25px;
  }
}

.mobile-header-navigation .site-logo.mobile-header-logo img {
  height: 60px !important;
}

.menu a[target=_blank]:after,
.sf-menu a[target=_blank]:after {
  content: "\f504";
  font-family: "dashicons";
  opacity: 0.5;
  margin-left: 2px;
  transform: translateY(1.5px);
  display: inline-block;
  line-height: 0;
  font-weight: normal;
}

@media (min-width: 600px) {
  .site-header .main-navigation .main-nav > ul li.nav-button {
    margin-left: 20px;
  }
}
@media (min-width: 600px) {
  .site-header .main-navigation .main-nav > ul li.nav-button a {
    background-color: var(--accent);
    border-radius: 3px;
    color: white;
    padding: 15px 20px !important;
    line-height: 1;
    transition: 0.3s all ease;
  }
  .site-header .main-navigation .main-nav > ul li.nav-button a:hover {
    background-color: var(--accent-2);
    color: white;
  }
}
.site-header .main-navigation .main-nav > ul > li:not(.nav-button) > a {
  padding-left: 10px;
  padding-right: 10px;
}
.site-header .main-navigation .main-nav > ul > li:not(.nav-button) > a .dropdown-menu-toggle {
  padding-right: 0;
  padding-left: 5px;
}
.site-header .main-navigation .main-nav > ul ul {
  width: 300px;
}
@media (min-width: 960px) {
  .site-header .main-navigation .main-nav > ul ul:before {
    content: "";
    background-color: transparent;
    border: 12px solid transparent;
    border-color: transparent transparent var(--base) transparent;
    top: 0;
    left: 20px;
    transform: translateY(-100%);
    position: absolute;
    z-index: 30;
  }
  .site-header .main-navigation .main-nav > ul ul li a {
    padding: 5px 20px;
  }
  .site-header .main-navigation .main-nav > ul ul li:first-child a {
    padding-top: 15px;
  }
  .site-header .main-navigation .main-nav > ul ul li:last-child a {
    padding-bottom: 20px;
  }
}

.sticky-enabled .main-navigation.is_stuck {
  z-index: 50 !important;
}

.secondary-navigation.has-top-bar {
  padding-left: 20px !important;
  padding-right: 10px !important;
}

.prefooter iframe {
  margin-bottom: -9px;
}

#search-modal-input {
  background-color: white;
}

body.search .site-content {
  display: grid;
  padding: 40px 25px;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (max-width: 600px) {
  body.search .site-content {
    padding: 25px;
  }
}
body.search .site-content .search-box {
  padding: 40px;
  background-color: #f0f7f8;
}
body.search .site-content .search-box .search-form {
  margin: 0 auto;
  width: 300px;
}
body.search .site-content .search-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}
body.search .site-content .search-container .status-publish a.permalink {
  font-size: 14px;
}
body.search .site-content .search-container .status-publish h3 {
  text-transform: none;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px;
}
body.search .site-content .search-container .status-publish h3 a {
  text-decoration: none;
}
body.search .site-content .search-container .status-publish p {
  font-size: 16px;
  line-height: 1.3;
}

div.top-bar .inside-top-bar {
  justify-content: flex-end;
}
@media (max-width: 600px) {
  div.top-bar .inside-top-bar {
    justify-content: center;
  }
}
div.top-bar .inside-top-bar .widget:first-child {
  margin-left: 0 !important;
  margin-right: auto;
}
div.top-bar .inside-top-bar .widget:last-child {
  margin-right: 0 !important;
}
div.top-bar p {
  margin-bottom: 0;
}
div.top-bar a {
  text-decoration: none;
}
div.top-bar a:hover {
  text-decoration: none;
}

.widget h2,
.widget h3 {
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1.5em;
}
.widget a {
  text-decoration: none;
}

div[data-type="core/buttons"] .block-list-appender__toggle {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   Generic
   ========================================================================== */
.btn, body #sb_instagram .sbi_follow_btn a, .wp-block-file .wp-block-file__button, .gform-button--width-full, .wp-block-button a.wp-block-button__link,
.wp-block-button div.wp-block-button__link, .read-more.button, .gform_footer input[type=submit], .gb-button-wrapper .gb-button {
  font-weight: 700;
  cursor: pointer;
  padding: 8px 15px !important;
  text-decoration: none !important;
  font-size: 14px !important;
  display: inline-block !important;
  position: static;
  border-radius: 3px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}
@media (max-width: 600px) {
  .btn, body #sb_instagram .sbi_follow_btn a, .wp-block-file .wp-block-file__button, .gform-button--width-full, .wp-block-button a.wp-block-button__link,
  .wp-block-button div.wp-block-button__link, .read-more.button, .gform_footer input[type=submit], .gb-button-wrapper .gb-button {
    display: block;
    width: 100%;
  }
}

/* ==========================================================================
   Core buttons
   ========================================================================== */
.wp-block-buttons {
  margin-top: 30px;
  margin-bottom: 30px;
}
@media (max-width: 600px) {
  .wp-block-buttons {
    margin-top: 20px;
  }
}
.wp-block-buttons:first-child {
  margin-top: 0;
}
.wp-block-buttons:last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .wp-block-buttons .wp-block-button {
    display: block;
    width: 100%;
  }
}

/* ==========================================================================
   GeneratePress buttons
   ========================================================================== */
/* ==========================================================================
   Gravity forms buttons
   ========================================================================== */
.gform_footer input[type=submit]:last-child {
  margin-bottom: 0;
  margin-right: 0;
}

/* ==========================================================================
   Blog buttons
   ========================================================================== */
/* ==========================================================================
   Buttons
   ========================================================================== */
/* ==========================================================================
   Nav buttons
   ========================================================================== */
@media (min-width: 960px) {
  .nav-button > a {
    font-weight: bold;
    cursor: pointer;
    padding: 15px 25px !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 600;
    display: inline-block !important;
    position: static;
    border-radius: 3px;
    background-color: var(--accent);
    color: white;
  }
  .nav-button > a:hover {
    background-color: var(--accent-2);
    color: white;
  }
}

/* ==========================================================================
   Gforms buttons
   ========================================================================== */
.gform-button--width-full {
  width: 100% !important;
  text-align: center;
}

.wp-block-file {
  display: flex;
  align-content: center;
  align-items: center;
  margin-bottom: 15px;
}
.wp-block-file a {
  order: 1;
  text-decoration: none;
}
.wp-block-file a:not(.wp-block-file__button) {
  color: var(--contrast);
  pointer-events: none;
}
.wp-block-file .wp-block-file__button {
  margin: 0 15px 0 0;
  order: 0;
  color: var(--white-color);
  background-color: var(--accent);
}
.wp-block-file .wp-block-file__button:hover {
  color: var(--white-color);
  background-color: var(--accent-2);
}

.wp-block-gallery {
  margin-bottom: 1.5em;
}
.wp-block-gallery:last-child {
  margin-bottom: 0;
}

.wp-block-group.is-layout-flex {
  gap: 0.75em;
}
.wp-block-group.is-layout-flex.align-items-top {
  align-items: flex-start;
}

h1.wp-block-heading,
h2.wp-block-heading,
h3.wp-block-heading {
  margin-top: 50px;
}
h1.wp-block-heading:first-child,
h2.wp-block-heading:first-child,
h3.wp-block-heading:first-child {
  margin-top: 0;
}

.is-style-kicker + h1.wp-block-heading,
.is-style-kicker + h2.wp-block-heading,
.is-style-kicker + h3.wp-block-heading {
  margin-top: 0;
}

.wp-block-separator {
  border-color: var(--base);
  margin-top: 30px;
  margin-bottom: 30px;
}

.wp-block-image.is-style-rounded img {
  border-radius: 3px;
}

.wp-block-image {
  margin-bottom: 30px;
  margin-top: 30px;
}
@media (max-width: 600px) {
  .wp-block-image {
    margin-bottom: 15px;
    margin-top: 15px;
  }
}

.wp-block-list {
  padding-left: 2em;
  margin-left: 0;
}
.wp-block-list > li {
  margin-bottom: 8px;
  position: relative;
}

ul.is-style-checkmark,
ol.is-style-checkmark {
  padding-left: 0.5em;
  margin-left: 0;
}
ul.is-style-checkmark:last-child,
ol.is-style-checkmark:last-child {
  margin-bottom: 0;
}
ul.is-style-checkmark > li,
ol.is-style-checkmark > li {
  list-style: none;
  padding-left: 1.7em;
}
ul.is-style-checkmark > li:last-child,
ol.is-style-checkmark > li:last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  ul.is-style-checkmark > li,
  ol.is-style-checkmark > li {
    padding-left: 30px;
  }
}
ul.is-style-checkmark > li:before,
ol.is-style-checkmark > li:before {
  content: "\f147";
  font-family: "dashicons";
  font-size: 1.5em;
  position: absolute;
  line-height: 1.25em;
  left: 0;
  top: 0;
  color: var(--accent);
}
ul.is-style-checkmark > li > ul,
ul.is-style-checkmark > li > ol,
ol.is-style-checkmark > li > ul,
ol.is-style-checkmark > li > ol {
  margin-top: 10px;
  margin-bottom: 15px;
}

.wp-block-social-links li.wp-social-link,
.widget ul.wp-block-social-links li.wp-social-link {
  margin-bottom: 0;
}
.wp-block-social-links li.wp-social-link a,
.widget ul.wp-block-social-links li.wp-social-link a {
  display: block;
}

.block-editor-block-list__block.wp-block-spacer {
  background-color: rgba(128, 128, 128, 0.1);
}

.wp-block-table td,
.wp-block-table th {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding-left: 15px;
  padding-right: 15px;
}

figure.wp-block-table table thead {
  text-align: left;
  border-bottom: none;
}
figure.wp-block-table table thead tr th {
  background-color: var(--base);
}
.gb-accordion__item:after {
  content: "";
  position: absolute;
  background-color: var(--base);
  height: 40px;
  width: 40px;
  right: 0;
  bottom: 0;
  transform: translateX(50%) translateY(50%);
  border-radius: 100%;
  background-image: url("/wp-content/themes/flower-facts-theme-2024/assets/images/mark-only-white.svg");
  background-repeat: no-repeat;
  background-size: contain;
  border: 8px solid var(--base);
  background-position: center center;
}

/* ==========================================================================
   Padding on the frontend
   ========================================================================== */
@media (min-width: 600px) and (max-width: 960px) {
  :where(.entry-content > .gb-container) {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 1260px) {
  :where(.entry-content > .gb-container) {
    padding-left: 25px;
    padding-right: 25px;
  }
}

/* ==========================================================================
   Padding in the editor AND on the frontend
   ========================================================================== */
:where(.entry-content > .gb-container),
:where(.gb-is-root-block > .gb-container),
:where(.gb-root-block-generateblocks-container > .gb-container),
:where(.block-library-block__reusable-block-container > .gb-container) {
  padding: 60px 25px;
}
@media (min-width: 600px) and (max-width: 960px) {
  :where(.entry-content > .gb-container),
  :where(.gb-is-root-block > .gb-container),
  :where(.gb-root-block-generateblocks-container > .gb-container),
  :where(.block-library-block__reusable-block-container > .gb-container) {
    padding: 45px 25px;
  }
}
@media (max-width: 600px) {
  :where(.entry-content > .gb-container),
  :where(.gb-is-root-block > .gb-container),
  :where(.gb-root-block-generateblocks-container > .gb-container),
  :where(.block-library-block__reusable-block-container > .gb-container) {
    padding: 25px;
  }
}

/* ==========================================================================
   Default to left alignment when we set it on the block
   ========================================================================== */
@media (max-width: 600px) {
  .entry-content > .gb-container,
  .prefooter > .gb-container {
    text-align: left;
  }
}

/* ==========================================================================
   Positioning
   ========================================================================== */
.gb-container > .gb-container {
  position: relative;
}

/* ==========================================================================
   Dotted line on containers
   ========================================================================== */
.gb-inside-container .block-editor-inner-blocks,
.block-editor-block-list__block.gb-container > .gb-container {
  outline: 1px dashed rgba(128, 128, 128, 0.4);
}

.is-style-kicker {
  color: var(--accent);
}

body #sb_instagram {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}
body #sb_instagram .sbi_follow_btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  top: auto;
  transform: translateY(50%) translateX(-50%);
  text-transform: uppercase;
  z-index: 50;
  margin: 0 !important;
}
body #sb_instagram .sbi_follow_btn a {
  background: var(--accent) !important;
  box-shadow: none !important;
  color: white !important;
  margin: 0 !important;
}
body #sb_instagram .sbi_follow_btn a:hover {
  background: var(--accent-2) !important;
  box-shadow: none !important;
}
body #sb_instagram #sbi_images {
  margin: 0 !important;
  padding: 0 !important;
}
body #sb_instagram #sbi_images .sbi_item {
  position: relative;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
}
body #sb_instagram #sbi_images .sbi_item:before {
  content: "+";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  font-size: 100px;
  color: white;
  z-index: 20;
  opacity: 0;
  transition: 0.6s all ease;
  pointer-events: none;
}
body #sb_instagram #sbi_images .sbi_item:after {
  opacity: 0;
  content: "";
  background-color: var(--accent);
  position: absolute;
  inset: 0;
  transition: 0.3s all ease;
  pointer-events: none;
  z-index: 10;
}
body #sb_instagram #sbi_images .sbi_item:hover:after {
  opacity: 0.85;
}
body #sb_instagram #sbi_images .sbi_item:hover:before {
  opacity: 1;
  transform: translateY(-50%) translateX(-50%) rotate(180deg);
}
