/*

Radicle Threads Custom CSS
Author: Ginger Ngo

*/

 @import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Animations */
@keyframes rainbow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
}

.rainbow {
  background-image: linear-gradient(102deg, #3864ff, #0e91f3, #049635, #da9a04, #de6b00, #ff2424, #ae0ce7);
}

/* Countdown Banner for Footer */
#countdown-banner {
  display: none;
  position: fixed;
  width: 100%;
  z-index: 1000;
  bottom: 0;
  padding: 0.5rem;
  background: #8f5d46;
}
#countdown-banner .container {
  display: flex;
  align-content: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
}
@media screen and (max-width: 600px) {
  #countdown-banner .container {
    flex-direction: column;
    font-size: 0.9rem;
    text-align: center;
  }
}
#countdown-banner #content {
  display: none;
}

body, body * {
  font-family: 'Lora' !important;
  letter-spacing: normal !important;
}

h2 {
  margin-top: 1rem;
}

p, p *,
label, label *,
input, textarea {
  font-size: 1rem !important;
}

button {
  font-size: 1rem !important;
  font-weight: 700 !important;
}

/* Header Title & Image */

.title-area {
  height: 300px;
}
.title-area * {
  font-weight: 700;
}

.site-title {
  width: 100% !important;
  height: 300px !important;
  clip: auto !important;
}

ul.menu {
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 600px) {
  ul.menu {
    flex-direction: column;
  }
}
ul.menu li a {
  font-size: 13px;
  font-weight: 700;
}

/* Front Page */

#home-featured.fp1 {
  background: #FFF !important;
  max-width: 1200px;
  margin: 1rem auto;
}
#home-featured.fp1 section,
#home-featured.fp1 section img {
  width: 100%;
}
#home-featured.fp1 section .widget-title.widgettitle {
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
}
#home-featured.fp1 * {
  color: white !important;
  font-weight: 700;
  background: transparent;
  margin: auto;
}
#home-featured.fp1 .slide {
  animation: fade 8s ease-in-out;
}
#home-featured.fp2 section .widget-wrap {
  display: flex;
  flex-direction: column-reverse;
}
#home-featured.fp2 section .widget-wrap .widget-title.widgettitle {
  position: relative;
  width: 100%;
  margin: auto;
  display: block;
  left: 0;
}
@media screen and (max-width: 600px) {
  #home-featured.fp1 {
    height: 100%;
    margin: 5rem auto;
  }
  #home-featured.fp4 .widget-title,
  #home-featured.fp4 .enews-widget input,
  #home-featured.fp4 .enews-widget input[type="submit"] {
    width: 100%;
  }
}

.product_list_widget {
  display: flex;
  justify-content: space-around;
}
.product_list_widget li {
  width: 20%;
  display: flex;
  flex-direction: column;
}
.product_list_widget li a {
  display: flex;
  flex-direction: column;
}
.product_list_widget li img {
  width: 100% !important;
}
@media screen and (max-width: 600px) {
  .product_list_widget {
    flex-direction: column;
  }
  .product_list_widget li {
    width: 100% !important;
  }
}

/* Default Page */
.post header .entry-meta,
.single .prevnext-post,
.page article .entry-meta {
  display: none;
}

/* align full fix for WP Columns content */
.entry-content .alignfull,
.entry-content .wp-block-columns,
.entry-content .wp-block-media-text {
  max-width: 1130px !important;
  margin: auto !important;
  padding: 1rem 0;
}
.entry-content .wp-block-columns .wp-block-column > div {
  max-width: 100% !important;
  margin: auto !important;
}

/* Blog */
.more-link {
  color: white !important;
  padding: 0.25rem 0.5rem;
}
.cat-links a {
  font-size: 0.9rem;
}

/* Blog Footer */
@media screen and (min-width: 600px) {
  .footer-widget-area {
    width: 100%;
  }
  .footer-widget-area form {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-content: center;
  }
  .footer-widget-area form input {
    margin-bottom: 0;
    margin-right: 1%;
  }
}

/* Related Posts Widget */
.related-posts-list .related-post {
  display: flex;
  flex-direction: column;
}

/* Page Template Feature Image */
.page-template-page_feature_image .feature-image {
  max-height: 500px;
  overflow: hidden;
}
.page-template-page_feature_image .feature-image img {
  padding: 1rem;
  height: 100%;
  display: block;
  max-height: 500px;
  width: auto;
  margin: auto;
}

/* Page Template Custom Excerpts for Patterns */
.page-template-page_custom_excerpts .pattern-post-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  justify-content: space-between;
}
.page-template-page_custom_excerpts .pattern-post-list .pattern-post {
  list-style: none;
  width: 48%;
  padding: 2rem 1%;
}

.page-template-page_custom_excerpts .pattern-post-list .pattern-post .pattern-post-details {
  display: flex;
  flex-direction: column;
}
.page-template-page_custom_excerpts .pattern-post-list .pattern-post .pattern-post-details .feature-image {
  padding: 0 0 1rem 0;
}

@media screen and (max-width: 600px) {
  .page-template-page_custom_excerpts .pattern-post-list .pattern-post {
    width: 100%;
  }
}

.pattern-summary-list {
  padding: 0 1rem 1rem 1rem !important;
  font-size: 1rem;
}
.pattern-summary-list li {
  padding-bottom: 1rem;
}
.pattern-summary-list .pattern-button {
  list-style: none;
  padding: 1rem 0 0;
}
.pattern-summary-list .pattern-button a {
  background: #8f5d46;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  display: inline-block;
  text-align: center;
}
.pattern-summary-list .pattern-button a:hover {
  background: #f8f7f4;
  color: black;
}


/* Single Product Page, Woocommerce */
.single-product time {
  display: none;
}
.single-product .product_tag-pride h1 {
  padding: 0.75rem !important;
  background-image: linear-gradient(102deg, #3864ff, #0e91f3, #049635, #da9a04, #de6b00, #ff2424, #ae0ce7);
  color: white;
  font-weight: 700;
  background-size: 400% 400%;
  -webkit-animation: rainbow 30s ease infinite;
  -moz-animation: rainbow 30s ease infinite;
  animation: rainbow 30s ease infinite;
}
.single-product.tag-pride nav.nav-secondary.headhesive--stick,
.single-product .product_tag-pride button[type="submit"]:not(.disabled):hover {
  background-image: linear-gradient(102deg, #3864ff, #0e91f3, #049635, #da9a04, #de6b00, #ff2424, #ae0ce7) !important;
  font-weight: 700;
  color: white !important;
}
.single-product.tag-pride nav.nav-secondary.headhesive--stick * {
  font-weight: 700;
  color: white;
}
.single-product .woocommerce-variation-add-to-cart {
  display: flex;
}
