/*
* Colorful Blog theme main sttyle
* theme Author Noor Alam
*
*/

:root {
  ---light-body: #ecf0f3;
  --section-color: #f9f9fc;
  --black: #000;
  --white: #fff;
  --color-primary: #ff376c;
  --color-heding: #0d1013;
  --color-gray: #3c3e41;
  --color-gray-2: #626567;
  --gray: #6c757d;
  
  /* RTL Support Variables */
  --spacing-inline-start: 10px;
  --spacing-inline-end: 10px;
  --spacing-block-start: 10px;
  --spacing-block-end: 10px;
}


body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: var(--black);
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

a {
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  display: inline-block;
  color: var(--color-heding);
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
}

.bg-black {
  background: #000;
}

.text-white a {
  color: #fff;
}

.text-right {
  text-align: end;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: start;
}
h2,.h2{
  font-size:1.8rem
}
h3,.h3{
  font-size:1.5rem
}
h4,.h4{
  font-size:1.2rem
}
h5,.h5{
  font-size:1rem
}
h6,.h6{
  font-size:0.8rem
}
input[type="search"],
input[type="email"],
input[type="url"],
input[type="text"],
select {
  display: block;
  width: 100%;
  padding-block: 0.375rem;
  padding-inline: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  -webkit-transition: border-color 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
  -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
}

[type="search"]:focus,
[type="text"]:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
}

input[type="submit"],
button,
a#clickTop {
  border: 1px solid #ccc;
  padding: 5px 20px;
  vertical-align: middle;
  background: var(--color-primary);
  color: #fff;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
#clickTop-progress-wrap {
        max-width: 60px !important;
        max-height: 60px !important;
    }
input[type="submit"]:hover,
button:hover,
a#clickTop {
  background: #464646;
}
blockquote.wp-block-quote p {
  border-inline-start: 5px solid #000;
  padding-inline-start: 40px;
  margin-inline-start: -40px;
}

.wp-block-quote cite,
.wp-block-quote footer {
  font-weight: 700;
}
/*Primery color*/
html body .bg-light {
  background-image: linear-gradient(60deg, #abecd6 0%, #fbed96 100%) !important;
}

.modal.show .modal-dialog {
  margin-bottom: 80px;
}

/* Header Top */
.hm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hmr-ss {
  display: flex;
  align-items: center;
}

.header .header-top {
  background-color: var(--section-color);
  padding: 10px 0;
}
.head-logo-sec {
  margin-inline-end: var(--spacing-inline-start);
  min-inline-size: 150px;
}
.header-top-all-content>.row {
  align-items: center;
}

h1.site-title {
  cursor: pointer;
  font-size: 30px;
  font-weight: 600;
}
.site-branding.brand-text a {
  color: var(--color-primary);
}
.menubar-content h1.site-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.header .search-box {
  background-color: var(---light-body);
  border-radius: 5px;
}

.header .search-box input {
  outline: none;
  border: none;
  color: var(--black);
  font-size: 18px;
  padding: 10px;
  background-color: var(---light-body);
}

.search-box input.search-submit {
  inline-size: 50px;
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: 0;
  z-index: 99;
  background: transparent;
  text-indent: 9999px;
}

.header .search-box input:focus {
  border: 1px solid #72aee6;
}

.header .search-box input.search-field {
  padding-inline-end: 50px;
}

.npaper.search-box form {
  display: block;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.npaper.search-box form label {
  display: block;
  width: 100%;
  overflow: hidden;
}

.header .search-box a {
  font-size: 18px;
  padding: 0 20px;
  transition: 0.3s;
}

.header .search-box a:hover {
  color: var(--color-primary);
}

.search-box form:before {
  display: flex;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f002";
  position: absolute;
  inset-inline-end: 20px;
  z-index: 1;
  block-size: 100%;
  align-items: center;
  inset-block-start: 0;
}

.hmr-ss2 .social-links {
  margin-inline-start: var(--spacing-inline-start);
}

.header .header-links {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.header .social-links a {
  font-size: 15px;
  padding: 0 4px;
  color: var(--gray);
  transition: 0.3s;
}

.header .social-links a:hover {
  color: var(--color-primary);
}

.header .pofile-box a {
  color: var(--black);
  transition: 0.3s;
  font-size: 30px;
}

.header .pofile-box a:hover {
  color: var(--color-primary);
}

.header .pofile-box a:hover {
  color: var(--color-primary);
}

/* Main Menu style */
.mobile-menu-bar {
  display: none;
}

.menu-bar {
  position: relative;
  color: #000;
}

.menubar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px;
  padding-inline: 50px;
  border-radius: 50px;
  margin-block-start: 50px;
  background-color: #fff;
  background-image: linear-gradient(141deg, #b2fce5 0%, #FFE6FA 100%)
}

.menubar-content a {
  text-decoration: none;
}

.Colorful-mmenu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.head-logo-sec p.site-description {
  margin-bottom: 0;
}

/*
.menu-bar.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  animation: fadeIn 0.5s;
}

.admin-bar .menu-bar.is-fixed {
  top: 32px;
  animation: fadeInAdmin 0.5s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    top: -20px;
  }

  100% {
    opacity: 1;
    top: 0;
  }
}

@keyframes fadeInAdmin {
  0% {
    opacity: 0;
    top: -20px;
  }

  100% {
    opacity: 1;
    top: 32px;
  }
}
*/
.serach-show {
  margin-inline-start: 20px;
  padding: 10px;
  cursor: pointer;
}

div#colorful-blog-menu ul {
  margin: 0;
}

.main-navigation ul {
  list-style: outside none none;
  padding: 0;
  margin-bottom: 0;
}

.main-navigation ul ul {
  margin: 0;
}

.main-navigation ul li {
  display: inline-block;
  position: relative;
}

.main-navigation ul li a {
  display: inline-block;
  padding-block: 1rem;
  padding-inline: 0.7rem;
  letter-spacing: 1px;
}

.main-navigation ul li:after {
  background: #fff none repeat scroll 0 0;
  content: "";
  block-size: 25px;
  margin-block-end: 12.5px;
  opacity: 0.2;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: 30%;
  inline-size: 1px;
}

.main-navigation ul li:last-child:after {
  display: none;
}

/*dropdown menu*/

.main-navigation ul li ul {
  position: absolute;
  inset-block-start: 60px;
  inset-inline-start: 0;
  z-index: 9;
  background: var(---light-body);
  inline-size: 250px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  visibility: hidden;
  text-align: start;
  -webkit-box-shadow: 0px 5px 42px -6px rgb(92 91 92);
  box-shadow: 0px 5px 42px -6px rgb(92 91 92);
}

.main-navigation ul li ul li {
  display: block;
}

.main-navigation ul li li a,
.main-navigation ul li li:first-child a,
.main-navigation ul li li:last-child a,
.main-navigation ul li:first-child li a {
  padding: 15px;
  text-transform: none;
}

.main-navigation ul li li:after {
  inset-block-end: auto;
  inline-size: 100%;
  block-size: 1px;
  inset-block-start: auto;
  margin-block-start: 0;
  opacity: 0.1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";
}

.main-navigation ul li li:hover>a,
.main-navigation ul li li.hover>a {
  background-color: #fff;
  color: #000;
}

.main-navigation ul li:hover>a,
.main-navigation ul li:focus>a {
  color: var(--color-primary);
}

.main-navigation ul li:hover ul,
.main-navigation ul li.hover ul {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  visibility: visible;
  inset-block-start: 50px;
  animation: slideDown 0.5s;
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
  }

  to {
    transform: translateY(0);
  }
}

.main-navigation ul ul li a {
  display: block;
}

.main-navigation ul li ul ul {
  inset-inline-start: 250px;
}

.main-navigation ul li:hover ul li ul {
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  visibility: hidden;
}

.main-navigation ul li:hover ul li:hover>ul {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  visibility: visible;
  inset-block-start: 20px;
}

.main-navigation ul ul ul ul ul {
  inset-inline-end: 250px;
  inset-inline-start: auto;
}

.main-navigation ul ul ul ul ul ul ul {
  inset-inline-end: auto;
  inset-inline-start: 250px;
}

.main-navigation ul ul ul ul ul ul ul ul ul {
  inset-inline-start: auto;
  inset-inline-end: 250px;
}

.main-navigation ul ul ul ul ul ul ul ul ul ul ul {
  inset-inline-end: auto;
  inset-inline-start: 250px;
}

.main-navigation ul>li.menu-item.menu-item-has-children {
  padding-inline-end: 15px;
}

.main-navigation ul ul li.menu-item.menu-item-has-children {
  padding-right: 0;
}

.main-navigation ul li.menu-item.menu-item-has-children>a {
  position: relative;
  z-index: 0;
}

.main-navigation ul li.menu-item.menu-item-has-children>a:after {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 2px;
  background: transparent;
  z-index: 99999;
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 8px;
  inset-block-end: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.main-navigation ul ul li.menu-item.menu-item-has-children>a:after {
  inset-inline-end: 12px;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

html body .slicknav_menu {
  z-index: 999;
  background: #000;
}

html body .slicknav_menu .slicknav_menutxt {
  display: none;
}

html body .slicknav_menu .slicknav_nav {
  background: #000;
  min-inline-size: 250px;
}

html body .slicknav_menu .slicknav_btn {
  border-radius: 0;
  background: #000;
}

html body .slicknav_nav a:hover,
html body .slicknav_menu .slicknav_nav a:focus,
html body .slicknav_menu .slicknav_nav a:active {
  border-radius: 0;
  background: inherit;
  color: inherit;
  opacity: 0.8;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

ul.slicknav_nav {
  background: #000;
  min-inline-size: 320px;
}

html body .slicknav_menu .slicknav_icon {
  margin: 0;
  inline-size: 20px;
  block-size: 15px;
}

html body.admin-bar .slicknav_menu {
  inset-block-start: 40px;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: block;
  }
}

/*Search style*/
.soff {
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.soff.popup-box-on {
  display: block;
  opacity: 1;
  visibility: visible;
}

#affsearch {
  background-color: #fff;
  block-size: 100%;
  inset-inline-start: 0;
  position: fixed;
  inset-block-start: 0;
  transition: all 0.5s ease-in-out 0s;
  inline-size: 100%;
  z-index: 999999;
}

#affsearch .sclose {
  color: #be5254;
  font-size: 40px;
  opacity: 1;
  padding: 10px 17px;
  position: fixed;
  inset-inline-end: 15px;
  inset-block-start: 15px;
}
#affsearch form.search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  block-size: 100%;
  inline-size: 100%;
  flex-flow: row wrap;
  align-content: center;
}

#affsearch form.search-form label {
  inline-size: 80%;
  max-inline-size: 800px;
  min-inline-size: 250px;
}

#affsearch form.search-form input {
  min-block-size: 70px;
  border-radius: 0;
  font-size: 20px;
}

#affsearch form.search-form input.search-submit {
  min-inline-size: 150px;
}
button.sclose {
  background: transparent none repeat scroll 0 0;
  border: 0 none;
  cursor: pointer;
}

.sclose {
  float: right;
  font-weight: bold;
  line-height: 1;
  text-shadow: 0 1px 0 #fff;
}



.beshop-cradit {
  text-align: center;
  color: rgb(0, 0, 0);
  position: absolute;
  inset-inline-start: 0px;
  inset-inline-end: 0px;
  inset-block-end: 10px;
  font-size: 12px;
}

.besearch-icon i,
.beshop-top-social i {
  margin-inline-start: var(--spacing-inline-start);
}

/*
 #
 # Widget style
 #
 */
.widget h2,
h2.widget-title {
  font-size: 18px;
  margin-block-end: 1.5rem;
  padding-block-end: 8px;
  font-weight: 600;
}

.widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget ul li {
  margin-bottom: 5px;
}

.widget ul li {
  margin-block-end: 5px;
  padding-block-end: 5px;
  border-block-end: 1px solid #ededed;
}

.widget ul li:last-child {
  border-block-end: 0;
}

.widget ul li a {
  color: inherit;
  text-decoration: inherit;
}

.widget ul li a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.widget .search-form .search-submit {
  inline-size: 97%;
  margin-block-start: 5px;
}

.tagcloud a {
  border: 1px solid #ededed;
  background: #fff;
  padding-block: 5px;
  padding-inline: 7px;
  margin-inline-end: 2px;
  margin-block-end: 5px;
}

.tagcloud {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
}
.widget a.tag-cloud-link {
  font-size: 16px !important;
  text-decoration: inherit;
  border: 1px solid #fff;
  padding-block: 3px;
  padding-inline: 10px;
  margin-inline-end: 5px;
  margin-block-end: 10px;
}
.widget-area {
  inset-block-start: 50px;
  position: sticky;
  align-self: flex-start;
}

/*
 #
 # page And post style
 #
 */
/* Posts main title */
.newsm-title {
  position: relative;
  margin-block-end: 2rem;
  letter-spacing: 6px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--black);
  display: inline-block;
  z-index: 9999;
  padding-block: 5px;
  padding-inline: 14px;
}

.newsm-title:after {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 2%;
  block-size: 100%;
  content: "";
  background: var(--color-primary);
  z-index: -1;
}

.nxsingle-post .post-thumbnail img {
  border-radius: 5px;
  overflow: hidden;
}

header.entry-header.page-header {
  margin-block-end: 1.5rem;
}

header.page-header.archive-header {
  background: #fff;
  background-image: linear-gradient(-225deg, #E3FDF5 0%, #FFE6FA 100%);
  border-radius: 5px;
}

span.catname {
  background: #ededed;
  padding-block: 10px;
  padding-inline: 15px;
  margin-inline-end: var(--spacing-inline-start);
}

/*posts List style*/

.nx-list-item .single-nx-list-item {
  display: flex;
  align-items: center;
  margin-block-end: 2rem;
  background: #fff;
}

.nx-list-item .single-nx-list-item.nx-no-img {
  border-inline-start: 5px solid var(--color-primary);
}

.nx-list-item .nx-single-list-img {
  flex: 0 0 50%;
}

.nx-list-item .nx-single-list-details {
  padding-block: 20px;
  padding-inline-start: 25px;
  padding-inline-end: 10px;
}

.nx-list-item a.nx-list-categories {
  text-decoration: none;
  color: var(--color-primary);
  font-size: 12px;
  transition: 0.3s;
}

.nx-list-item .nx-single-list-img img {
  width: 100%;
  transition: 0.3s;
}

.nx-list-item .nx-single-list-img img:hover {
  filter: brightness(1.1);
}

.nx-list-item .nx-list-title a {
  font-size: 22px;
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  transition: 0.3s;
  line-height: 1.3;
}

.nx-list-item .nx-list-title a:hover {
  color: var(--color-primary);
}

.nx-list-item a.nx-list-categories:hover {
  color: var(--black);
}

.nx-list-item p.nx-list-dres {
  color: var(--gray);
  letter-spacing: 0.5px;
  padding-block-end: 10px;
}

.nx-list-item a.nx-list-btn {
  text-decoration: none;
  color: var(--black);
  transition: 0.3s;
  font-size: 14px;
  font-weight: 600;
}

.nx-list-item a.nx-list-btn:hover {
  letter-spacing: 2px;
  color: var(--color-primary);
}

.nx-list-item .nx-list-load-more-btn {
  margin-block-start: 40px;
}

.nx-list-item .nx-list-load-more-btn a {
  display: inline-block;
  background: var(--white);
  padding-block: 10px;
  padding-inline: 15px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.3s;
  border: 1px solid var(--gray);
}

.nx-list-item .nx-list-load-more-btn a:hover {
  background: var(--black);
  color: var(--white);
}

.nx-list-item .nx-list-load-more-btn i {
  margin-inline-start: 5px;
}

a.catname {
  margin-inline-end: 5px;
}

.tag-btns a {
  margin-inline-end: 5px;
  color: var(--color-primary);
  padding-block: 5px;
  padding-inline: 15px;
  text-decoration: inherit;
}
.tag-btns a:hover {
  text-decoration: underline;
}
article.post.sticky>div,
article.post.sticky .grid-item-post {
  border: 1px solid #555;
}

.site-main .grid-item:nth-child(1n) .grid-item-post,
html body aside section.bg-light:nth-child(1n) {
  background-image: linear-gradient(60deg, #abecd6 0%, #fbed96 100%) !important;
  padding: 20px;
}

.site-main .grid-item:nth-child(2n) .grid-item-post,
html body aside section.bg-light:nth-child(2n),
#affsearch {
  background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%) !important;
}

.site-main .grid-item:nth-child(3n) .grid-item-post,
html body aside section.bg-light:nth-child(3n),
.navigation.post-navigation .nav-links, 
.comments-area {
  background-image: linear-gradient(to top, #feada6 0%, #f5efef 100%) !important;
}

@media (max-width: 767px) {
  #affsearch form.search-form input.search-submit {
      margin-block-start: 16px;
      inline-size: 80%;
    }
  .newsm-title {
    font-size: 24px;
  }

  .nx-list-item .single-nx-list-item {
    margin-block-end: 50px;
  }
.nx-list-item .single-nx-list-item{
  flex-flow: row wrap;
}
  .nx-list-item .nx-single-list-img {
    flex: 0 0 100%;
    margin-block-end: 30px;
  }
}

@media (max-width: 580px) {
  .nx-list-item .single-nx-list-item {
    flex-wrap: wrap;
    margin-block-end: 50px;
  }

  .nx-list-item .nx-single-list-img {
    flex: 0 0 100%;
    margin-block-end: 30px;
  }

  .nx-list-item .nx-single-list-details {
    padding-inline-start: 20px;
  }
}

h2.entry-title a,
h2.entry-title {
  color: #1b1b1b;
}

/*posts grid style*/

.grid-item .grid-item-post:hover .grid-item-img:before,
.grid-item .grid-item-post:hover .grid-item-img:after {
  opacity: 1;
}

.grid-item .grid-item-post:hover .grid-item-img:before {
  inset-block-end: -1%;
  inset-inline-end: -3%;
}

.grid-item .grid-item-post:hover .grid-item-img:after {
  inset-block-start: -4%;
  inset-inline-start: -3%;
}

.grid-item a.fashion-bototm-categories {
  font-size: 12px;
  color: var(--color-primary);
}

.grid-item .grid-item-img {
  position: relative;
}

a.catimg-top,
a.catname {
  background: #ff376c;
  padding-block: 4px;
  padding-inline: 17px;
  border-radius: 15px;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  margin-block-end: 10px;
  transition: 0.5s;
  transform: scale(1);
}

.catimg-top:hover,
a.catname:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.grid-item h2.grid-item-title {
  font-size: 28px;
  line-height: 1.2;
  transition: 0.3s;
  font-weight: 400;
}
.grid-item-post .entry-meta {
  margin-block-end: 15px;
}
.grid-item h2.grid-item-title a {
  text-decoration: none;
  color: var(--black);
  transition: 0.3s;
}

.grid-item h2.grid-item-title a:hover {
  color: var(--color-primary);
}

.grid-item p {
  color: var(--gray);
  padding-block-end: 15px;
}

.grid-item a.grid-item-btn {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  transition: 0.3s;
  background: var(--color-primary);
  padding: 20px;
  border-radius: 50%;
  inline-size: 50px;
  block-size: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.grid-item a.grid-item-btn:hover {
  color: #fff;
}

.grid-item a.grid-item-btn i {
  transition: 0.5s;
}

.grid-item a.grid-item-btn:hover i {
  margin-inline-start: 10px;
}

.grid-item-post {
  background: #fff;
  box-shadow: 0 0 25px rgb(0 0 0 / 7%);
  border-radius: 5px;
}

.grid-item-post img {
  border-radius: 15px;
  transition: 0.5s;
  block-size: 280px;
}

.grid-item-post img:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

a.grid-item-img-link {
  overflow: hidden;
}

.grid-item-post .grid-item-details {
  padding: 20px;
  text-align: center;
}

.pagination .nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  inline-size: 100%;
  padding: 10px;
}

.pagination .nav-links a,
.pagination .nav-links span {
  padding-block: 5px;
  padding-inline: 10px;
  -webkit-box-shadow: 0px 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0px 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  margin-inline-end: 10px;
  background: var(--white);
  color: var(--white);
  background: var(--color-primary);
  border-radius: 50%;
  inline-size: 50px;
  block-size: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: inherit;
}

.pagination .nav-links a:hover,
.pagination .nav-links span {
  font-size: 105%;
}

.entry-meta a,
.entry-meta span,
.ghead-meta {
  font-size: 13px;
  margin-inline-end: 5px;
  line-height: 1;
  text-decoration: inherit;
}

.post-thumbnail img {
  border: 1px solid #ededed;
}

.nboxp-grimg {
  position: relative;
}

.nbox-grid-cat {
  background: #f8669d;
  color: #fff;
  padding-block: 8px;
  padding-inline: 10px;
  border-radius: 0 10px 10px 0;
  position: absolute;
  inset-block-start: 10px;
  inset-inline-start: 0;
  font-size: 14px;
}

.nbox-grid-cat:hover {
  background: #c7366d;
  color: #fff;
}

section.no-results.not-found.xmain-404 {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

footer.entry-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

footer.entry-footer span {
  margin-inline-end: 10px;
  padding-inline-end: 10px;
  border-inline-end: 1px solid #ccc;
}

footer.entry-footer span,
footer.entry-footer span a {
  font-size: 14px;
}

footer.entry-footer span:last-child {
  border: none;
}

.site-info a {
  color: inherit;
}
.site-footer .site-info a,
.navigation.post-navigation .nav-links a {
  text-decoration: inherit;
}
.navigation.post-navigation .nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  padding-block: 20px;
  padding-inline: 10px;
  margin-block-end: 3rem;
  background: #fff;
}

.navigation.post-navigation .nav-links .nav-next {
  margin-inline-start: auto;
}

.comments-area {
  background: #fff;
  padding-block: 20px;
  padding-inline: 20px;
  margin-block-end: 20px;
}

.comments-area .comment-form-comment label {
  display: block;
}

.comments-area .comment-form-comment textarea {
  inline-size: 100%;
}

/*404 style*/
.xmain-404 {
  block-size: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.xmain-404 h1 {
  font-size: 60px;
  background: -webkit-linear-gradient(rgb(214, 3, 3), rgb(65, 9, 9));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/*
# Footer style
*/
.site-footer {
    box-shadow: 0 0 25px rgb(0 0 0 / 7%);
    background-color: #E4E4E1;
    background-image: linear-gradient(-225deg, #69EACB 0%, #EACCF8 48%, #6654F1 100%);
}

.site-info.text-center {
  font-size: 14px;
  color: var(--black);
  letter-spacing: 1px;
}

a#clickTop {
  inset-inline-end: 5px !important;
}

/* RTL Language Support */
[dir="rtl"] {
  direction: rtl;
}

[dir="rtl"] body {
  direction: rtl;
  text-align: start;
}

[dir="rtl"] .main-navigation ul li ul {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

[dir="rtl"] .main-navigation ul li ul ul {
  inset-inline-start: auto;
  inset-inline-end: 250px;
}

[dir="rtl"] .search-box form:before {
  inset-inline-start: 20px;
  inset-inline-end: auto;
}

[dir="rtl"] .grid-item a.grid-item-btn:hover i {
  margin-inline-start: 0;
  margin-inline-end: 10px;
}

[dir="rtl"] .nx-list-item .nx-list-load-more-btn i {
  margin-inline-start: 0;
  margin-inline-end: 5px;
}

[dir="rtl"] .besearch-icon i,
[dir="rtl"] .beshop-top-social i {
  margin-inline-start: 0;
  margin-inline-end: var(--spacing-inline-start);
}

[dir="rtl"] .main-navigation ul li:after {
  inset-inline-start: 0;
  inset-inline-end: auto;
}

[dir="rtl"] .main-navigation ul li.menu-item.menu-item-has-children>a:after {
  inset-inline-start: 2px;
  inset-inline-end: auto;
}

[dir="rtl"] .main-navigation ul ul li.menu-item.menu-item-has-children>a:after {
  inset-inline-start: 12px;
  inset-inline-end: auto;
}

/* RTL Typography and Spacing Adjustments */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
  text-align: start;
}

[dir="rtl"] .newsm-title:after {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

[dir="rtl"] .nx-list-item .single-nx-list-item.nx-no-img {
  border-inline-start: none;
  border-inline-end: 5px solid var(--color-primary);
}

[dir="rtl"] blockquote.wp-block-quote p {
  border-inline-start: none;
  border-inline-end: 5px solid #000;
  padding-inline-start: 0;
  padding-inline-end: 40px;
  margin-inline-start: 0;
  margin-inline-end: -40px;
}

/* RTL Accessibility and Focus States */
[dir="rtl"] .main-navigation ul li:focus>a,
[dir="rtl"] .main-navigation ul li:hover>a {
  color: var(--color-primary);
}

/* RTL Mobile Adjustments */
@media (max-width: 768px) {
  [dir="rtl"] .nx-list-item .nx-single-list-details {
    padding-inline-start: 20px;
    padding-inline-end: 20px;
  }
  
  [dir="rtl"] .menubar-content {
    padding-inline: 20px;
  }
}

/* RTL Container Queries Support */
@container (max-width: 768px) {
  [dir="rtl"] .nx-list-item .single-nx-list-item {
    flex-direction: column;
  }
  
  [dir="rtl"] .nx-list-item .nx-single-list-img {
    flex: none;
    inline-size: 100%;
  }
}