/*
Theme Name: NewsWP
Theme URI: https://walkerwp.com/newswp-wordpress-theme/
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, e-commerce, full-site-editing, block-patterns, full-width-template, rtl-language-support, threaded-comments, translation-ready, block-styles, wide-blocks
Author: WalkerWP
Author URI: https://walkerwp.com/
Description: NewsWP is the ultimate WordPress theme designed to showcase captivating news and compelling stories effortlessly. With its full site editing capabilities and intuitive drag-and-drop builder, customization has never been easier.Create a unique, professional website in minutes using the one-click demo importer, while the responsive design ensures your site looks stunning on any device. Built-in SEO optimization helps your voice reach a wider audience, making your content more impactful.Unleash the power of storytelling and elevate your website to new heights with NewsWP. Ready to start? Explore NewsWP at https://walkerwp.com/newswp-wordpress-theme/.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: newswp
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
.newswp-text-deocration-none a {
  text-decoration: none;
}
.wp-block-navigation__responsive-container.is-menu-open {
  padding: 15px;
}
/* **************************************** CORE BLOCKS **************************************** */
/* ********** Navigation ********** */
ul.is-style-link-hover-primary li a:hover {
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--primary) !important;
}
ul.is-style-link-hover-primary li a {
  padding: 15px 8px 17px 8px;
}
ul.is-style-link-hover-primary .current-menu-item a {
  background: var(--wp--preset--color--white) !important;
  color: var(--wp--preset--color--primary) !important;
}
/* Secondary */
ul.is-style-link-hover-secondary li a:hover {
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--secondary) !important;
}
ul.is-style-link-hover-secondary li a {
  padding: 15px 8px 17px 8px;
}
ul.is-style-link-hover-secondary .current-menu-item a {
  background: var(--wp--preset--color--white) !important;
  color: var(--wp--preset--color--secondary) !important;
}
/* Terniary */
ul.is-style-link-hover-terniary li a:hover {
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--terniary) !important;
}
ul.is-style-link-hover-terniary li a {
  padding: 15px 8px 17px 8px;
}
ul.is-style-link-hover-terniary .current-menu-item a {
  background: var(--wp--preset--color--white) !important;
  color: var(--wp--preset--color--terniary) !important;
}
/* ***** Pgae-List ***** */
.is-style-hide-bullet-list {
  list-style-type: none;
  padding: 0px;
}
/*********** Group / Row ***********/
.is-style-box-shadow-hover {
  transition: all 0.2s ease-in-out;
}
.is-style-box-shadow {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}
.is-style-box-shadow-medium {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}
.is-style-box-shadow-large {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}
.is-style-box-shadow-hover:hover {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease-in-out;
}
/*********** Cover / Featured Image / Image ***********/
.is-style-cover-hover-zoom-in,
.is-style-cover-hover-zoom-out {
  overflow: hidden;
}
.is-style-cover-hover-zoom-in img {
  transform: scale(1);
  transition: all ease-in-out 0.2s;
}
.is-style-cover-hover-zoom-in:hover img {
  transform: scale(1.2);
  transition: all ease-in-out 0.2s;
}
.is-style-cover-hover-zoom-out img {
  transform: scale(1.2);
  transition: all ease-in-out 0.2s;
}
.is-style-cover-hover-zoom-out:hover img {
  transform: scale(1);
  transition: all ease-in-out 0.2s;
}
.is-style-image-pulse img {
  animation: pulse 2s infinite;
}
.is-style-image-hover-pulse:hover img {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
.is-style-image-spin img {
  animation: spin 2s linear infinite;
  animation-play-state: running;
}
.is-style-image-spin img:hover {
  animation-play-state: paused;
  transition: all 0.2s ease-in-out;
}
.is-style-image-hover-spin:hover img {
  animation: spin 2s linear infinite;
  transition: all 0.2s ease-in-out;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*********** Categories ***********/
.is-style-category-background-primary > span.wp-block-post-terms__separator,
.is-style-category-background-secondary > span.wp-block-post-terms__separator,
.is-style-category-background-mixed > span.wp-block-post-terms__separator {
  display: none !important;
}
.is-style-category-background-primary,
.is-style-category-background-secondary,
.is-style-category-background-mixed {
  display: flex;
  gap: 5px;
}
.is-style-category-background-primary > a,
.is-style-category-background-secondary > a,
.is-style-category-background-mixed > a,
.is-style-category-background-primary > span,
.is-style-category-background-secondary > span,
.is-style-category-background-mixed > span {
  padding: 2px 5px 2px 5px;
  text-decoration: none;
}
/* Primary */
.is-style-category-background-primary > a,
.is-style-category-background-primary > span {
  background: var(--wp--preset--color--primary);
}
.is-style-category-background-primary > a:hover,
.is-style-category-background-primary > span:hover {
  background-color: var(--wp--preset--color--secondary);
  transition: all ease-in-out 0.2s;
}
/* Secondary */
.is-style-category-background-secondary > a,
.is-style-category-background-secondary > span {
  background: var(--wp--preset--color--secondary);
}
.is-style-category-background-secondary > a:hover,
.is-style-category-background-secondary > span:hover {
  background: var(--wp--preset--color--primary);
  transition: all ease-in-out 0.2s;
}
/* Mixed */
.is-style-category-background-mixed > a:nth-child(3n + 1) {
  background-color: var(--wp--preset--color--primary);
}
.is-style-category-background-mixed > a:nth-child(3n + 1):hover {
  background-color: var(--wp--preset--color--secondary);
}
.is-style-category-background-mixed > a:nth-child(3n + 2) {
  background-color: var(--wp--preset--color--terniary);
}
.is-style-category-background-mixed > a:nth-child(3n + 2):hover {
  background-color: var(--wp--preset--color--primary);
}
.is-style-category-background-mixed > a:nth-child(3n) {
  background-color: var(--wp--preset--color--secondary);
}
.is-style-category-background-mixed > a:nth-child(3n):hover {
  background-color: var(--wp--preset--color--terniary);
}
/* Single Post */
.is-style-category-background-mixed > span:nth-child(3n + 1) {
  background-color: var(--wp--preset--color--primary);
}
.is-style-category-background-mixed > span:nth-child(3n + 1):hover {
  background-color: var(--wp--preset--color--secondary);
}
.is-style-category-background-mixed > span:nth-child(3n + 2) {
  background-color: var(--wp--preset--color--terniary);
}
.is-style-category-background-mixed > span:nth-child(3n + 2):hover {
  background-color: var(--wp--preset--color--primary);
}
.is-style-category-background-mixed > span:nth-child(3n) {
  background-color: var(--wp--preset--color--secondary);
}
.is-style-category-background-mixed > span:nth-child(3n):hover {
  background-color: var(--wp--preset--color--terniary);
}

/*********** Pagination ***********/
.is-style-pagination-primary a {
  border: 1px solid var(--wp--preset--color--primary);
  text-decoration: none;
  padding: 8px 16px 8px 16px;
}
.is-style-pagination-primary span.current {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  padding: 9px 17px 9px 17px;
}
.is-style-pagination-primary a:hover {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
}
.is-style-pagination-secondary a {
  border: 1px solid var(--wp--preset--color--secondary);
  text-decoration: none;
  padding: 8px 16px 8px 16px;
}
.is-style-pagination-secondary span.current {
  background: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--white);
  padding: 9px 17px 9px 17px;
}
.is-style-pagination-secondary a:hover {
  background: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--white);
}

/* ********** Read More ********** */
.is-style-read-more-primary:hover {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--light) !important;
}
.is-style-read-more-secondary:hover {
  background: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--light) !important;
}

/* ********** Post Title ********** */
.is-style-title-hover-primary.wp-block-post-title a:hover,
.is-style-title-hover-secondary.wp-block-post-title a:hover {
  background-size: 100% 3px;
}
.is-style-title-hover-primary a {
  display: inline;
  text-decoration: none;
  background-image: linear-gradient(var(--wp--preset--color--primary), var(--wp--preset--color--primary));
  background-position: 0 1.05em;
  background-size: 0 3px;
  background-repeat: no-repeat;
  transition: background-size 0.5s;
}
.is-style-title-hover-secondary a {
  display: inline;
  text-decoration: none;
  background-image: linear-gradient(var(--wp--preset--color--secondary), var(--wp--preset--color--secondary));
  background-position: 0 1.05em;
  background-size: 0 3px;
  background-repeat: no-repeat;
  transition: background-size 0.5s;
}
/* ********** Categories List ********** */
/* Primary */
.flex * {
  display: flex;
  justify-content: space-between;
}
.is-style-category-primary {
  list-style: none;
  padding: 0px;
}
.is-style-category-primary li {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--wp--preset--color--primary);
  color: var(--wp--preset--color--primary);
}
.is-style-category-primary a {
  color: var(--wp--preset--color--primary);
  text-decoration: none;
}
/* Secondary */
.is-style-category-secondary {
  list-style: none;
  padding: 0px;
}
.is-style-category-secondary li {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--secondary);
}
.is-style-category-secondary a {
  color: var(--wp--preset--color--secondary);
  text-decoration: none;
}
/* Terniary */
.is-style-category-terniary {
  list-style: none;
  padding: 0px;
}
.is-style-category-terniary li {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--wp--preset--color--terniary);
  color: var(--wp--preset--color--terniary);
}
.is-style-category-terniary a {
  color: var(--wp--preset--color--terniary);
  text-decoration: none;
}
/* White */
.is-style-category-light {
  list-style: none;
  padding: 0px;
}
.is-style-category-light li {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--wp--preset--color--light);
  color: var(--wp--preset--color--light);
}
.is-style-category-light a {
  color: var(--wp--preset--color--light);
  text-decoration: none;
}
/* Dark */
.is-style-category-dark {
  list-style: none;
  padding: 0px;
}
.is-style-category-dark li {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--wp--preset--color--dark);
  color: var(--wp--preset--color--dark);
}
.is-style-category-dark a {
  color: var(--wp--preset--color--dark);
  text-decoration: none;
}
/* ********** Social Icon ********** */
.is-style-social-links-radius-none > li {
  border-radius: 0px;
}
/* ********** Tag Cloud ********** */
.wp-block-tag-cloud.is-style-tag-background-primary a,
.wp-block-tag-cloud.is-style-tag-background-secondary a,
.wp-block-tag-cloud.is-style-tag-background-terniary a,
.wp-block-tag-cloud.is-style-tag-background-foreground a {
  padding: 2px 4px;
  margin-bottom: 5px;
  text-decoration: none;
}
/* Primary */
.wp-block-tag-cloud.is-style-tag-background-primary a {
  background-color: var(--wp--preset--color--primary);
}
.wp-block-tag-cloud.is-style-tag-background-primary a:hover {
  background-color: var(--wp--preset--color--secondary);
}
/* Secondary */
.wp-block-tag-cloud.is-style-tag-background-secondary a {
  background-color: var(--wp--preset--color--secondary);
}
.wp-block-tag-cloud.is-style-tag-background-secondary a:hover {
  background-color: var(--wp--preset--color--terniary);
}
/* Terniary */
.wp-block-tag-cloud.is-style-tag-background-terniary a {
  background-color: var(--wp--preset--color--terniary);
}
.wp-block-tag-cloud.is-style-tag-background-terniary a:hover {
  background-color: var(--wp--preset--color--secondary);
}
/* Foreground */
.wp-block-tag-cloud.is-style-tag-background-foreground a {
  background-color: var(--wp--preset--color--foreground);
}
.wp-block-tag-cloud.is-style-tag-background-foreground a:hover {
  background-color: var(--wp--preset--color--dark);
}
/* ********** Contact Form 7 ********** */
/* contact Newsletter 1 */
.newswp-contact-newsletter-1 form p input,
.newswp-contact-newsletter-1 form p textarea {
  padding: 10px;
  margin-bottom: 5px;
  font-size: var(--wp--preset--font-size--normal);
  border: 1px solid var(--wp--preset--color--dark);
  width: -webkit-fill-available;
}
.newswp-contact-newsletter-1 form p input[type="submit"] {
  padding: 10px;
  font-size: var(--wp--preset--font-size--medium) !important;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--light);
  width: -webkit-fill-available;
}
.newswp-contact-newsletter-1 form p input[type="submit"]:hover {
  padding: 10px;
  font-size: var(--wp--preset--font-size--medium) !important;
  background: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--light);
  width: 100%;
}
/* contact Newsletter 2 */
.newswp-contact-newsletter-2 form {
  position: relative;
  width: 100%;
}
.newswp-contact-newsletter-2 form p input {
  padding: 12px;
  margin-bottom: 5px;
  font-size: var(--wp--preset--font-size--normal);
  color: var(--wp--preset--color--dark-alt);
  border: 1px solid var(--wp--preset--color--border);
  width: -webkit-fill-available;
}
.newswp-contact-newsletter-2 form p textarea {
  padding: 12px;
  margin-bottom: 5px;
  font-size: var(--wp--preset--font-size--normal);
  border: 1px solid var(--wp--preset--color--border);
  width: -webkit-fill-available;
}
.newswp-contact-newsletter-2 form p input[type="submit"] {
  position: absolute;
  top: 0%;
  right: 0%;
  padding: 12px;
  font-size: var(--wp--preset--font-size--normal) !important;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--light);
  width: fit-content;
  border: 1px solid var(--wp--preset--color--primary);
}
.newswp-contact-newsletter-2 form p input[type="submit"]:hover {
  background: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--light);
  border: 1px solid var(--wp--preset--color--secondary);
}
.newswp-slide-blog-group {
  margin: 0% !important;
  overflow: hidden;
}
/* ********** Back To Top ********** */
.newswp-scrollto-top {
  position: fixed;
  display: inline-block;
  width: 50px;
  height: 50px;
  right: 25px;
  bottom: 25px;
  z-index: 9999;
  border-radius: 50%;
  text-indent: -5000px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.089);
  background-color: var(--wp--preset--color--primary);
  transition: all ease-in-out 0.2s;
}
.block-editor-block-list__block .wp-block .newswp-scrollto-top {
  display: none;
}
.block-editor-block-list__block .wp-block .is-selected .newswp-scrollto-top {
  display: block;
}
.newswp-scrollto-top:hover {
  background: var(--wp--preset--color--secondary);
  cursor: pointer;
}
.newswp-scrollto-top::after {
  content: "";
  width: 50px;
  height: 50px;
  background-color: #fff;
  -webkit-mask-image: url(assets/images/up-arrow.svg);
  mask-image: url(assets/images/up-arrow.svg);
  mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  position: absolute;
  left: 0;
  top: 0;
}
/* Slider Marquee */
.newswp-marquee-wrapper {
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}
.newswp-marquee-content {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  animation: newswp-marquee 15s linear infinite;
  flex-wrap: nowrap;
  display: flex;
  flex-wrap: nowrap;
}
.newswp-marquee-content:hover {
  animation-play-state: paused;
}
.newswp-marquee-wrapper .newswp-marquee-content.block-editor-block-list__block,
.newswp-marquee-content.block-editor-block-list__block {
  animation: none;
}
.newswp-marquee-content li {
  overflow: hidden;
  position: relative;
  display: inline-block;
  flex: 1 0 auto;
  margin-block-start: 0;
  white-space: nowrap;
  flex: 1 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes newswp-marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* Slider Navigation */

.wp-block-query.newswp-blog-slider:hover .newswp-slider-nav > div {
  opacity: 0.5;
  transition: all 0.2s ease-in-out;
}

.newswp-slider-nav > .swiper-button-prev {
  left: 0%;
  transition: all 0.2s ease-in-out;
}
.wp-block-query.newswp-blog-slider:hover .newswp-slider-nav > .swiper-button-prev {
  transform: translateX(20px);
  transition: all 0.2s ease-in-out;
}
.wp-block-query.newswp-blog-slider:hover .newswp-slider-nav > .swiper-button-next {
  transform: translateX(-20px);
  transition: all 0.2s ease-in-out;
}
.newswp-slider-nav > .swiper-button-next {
  right: 0px;
  transition: all 0.2s ease-in-out;
}
.newswp-slider-buttons-group {
  position: unset !important;
}
.newswp-slider-buttons-group .newswp-slider-nav > div {
  opacity: 0;
  color: var(--wp--preset--color--white) !important;
  font-size: var(--wp--preset--font-size--large-medium) !important;
  transition: all 0.2s ease-in-out;
}
.newswp-slider-buttons-group .newswp-slider-nav > div:hover {
  opacity: 1 !important;
  color: var(--wp--preset--color--white) !important;
  font-size: var(--wp--preset--font-size--large-medium) !important;
}

.newswp-slider-buttons-group .newswp-slider-nav > div::after {
  padding: 8px 12px;
  font-size: var(--wp--preset--font-size--very-large) !important;
  border: 1px solid var(--wp--preset--color--white) !important;
}
.newswp-slider-buttons-group .newswp-slider-nav > div:hover:after {
  padding: 8px 12px;
  background-color: var(--wp--preset--color--primary) !important;
  font-size: var(--wp--preset--font-size--very-large) !important;
  border: 1px solid var(--wp--preset--color--white) !important;
}
