/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Hover state for search submit button */

button.e-search-submit:hover {
  background-color: #f36f38;
  transition: background-color 0.3s ease;
}

/* Badge container */
.post-category-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* Main badge style */
.badge-main {
  display: inline-block;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 2px solid #333;
  border-radius: 50px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  background-color: transparent;
  transition: all 0.3s;
}

.badge-main:hover {
  background-color: #f2f2f2;
}

/* Sub badge (e.g., category badge) */
.badge-sub {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background-color: #0073aa;
  transition: background-color 0.3s;
}

/* Badge theme variations */
.passion_for_life {
  background-color: #ffdd0a;
  color: #231f20;
}

.neighbors_goods {
  background-color: #7ed7f5;
  color: #231f20;
}

.neighbors {
  background-color: #454545;
  color: #fff;
}

.art_people {
  background-color: #003e88;
  color: #fff;
}
.neighbors_balance {
  background-color: #faefcc;
  color: #1e1e1e;
}

.behind_the_brand {
  background-color: #c0c1c0;
  color: #231f20;
}

.art_moment {
  background-color: #17b387;
  color: #fff;
}

/* Tag-style badge */
.badge-tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #333;
  border-radius: 50px;
  font-family: "FC Iconic";
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  background-color: transparent;
  transition: all 0.3s;
}

/* Weekly badge */
.badge-sub-weekly {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 35px;
  background-color: #fee267;
  color: #231f20;
  font-family: "FC Iconic";
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
}

/* Small badges for #sub-weekly */
#sub-weekly .badge-tag {
  font-size: 8px;
  padding: 4px 10px;
}

#sub-weekly .badge-sub-weekly {
  font-size: 8px;
  padding: 5px 10px;
}

.box-menu .elementor-nav-menu--main .elementor-item {
  padding-bottom: 20px !important;
}

.search-bar .cls-1 {
  fill: #231f20 !important;
}
.social-header .cls-1{
  fill: #fff;
  stroke-width: 0%;
}
.social-header .cls-2,
.social-header .cls-3 {
  stroke-width: 0%;
}
.social-header .elementor-social-icons-wrapper {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.social-header .elementor-grid-item {
  opacity: 0;
  transform: translateX(-20px) scale(1);
  animation: iconSplit 0.6s ease-out forwards;
}

/* Delayed animation for each icon */
.social-header .elementor-grid-item:nth-child(1) {
  animation-delay: 0.2s;
}
.social-header .elementor-grid-item:nth-child(2) {
  animation-delay: 0.4s;
}
.social-header .elementor-grid-item:nth-child(3) {
  animation-delay: 0.6s;
}
.social-header .elementor-grid-item:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes iconSplit {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.menu-dropdown li {
  width: fit-content;
}
img.e-page-transition--preloader {
  filter: drop-shadow(3px 2px 6px rgba(30,30,30,0.5)) !important;
}
#nb-post-content p
{
    text-align:justify;
    max-width:50%;
    margin:0 auto;
}

/* ========== Responsive Settings ========== */

/* Large Laptop (1440px and above) */
@media (min-width: 1440px) {
  /* Customize if needed for large screens */
}

/* Standard Laptop/Desktop (1025px - 1439px) */
@media (min-width: 1025px) and (max-width: 1439px) {
  #nb-post-content p {
    max-width: 70%;
  }
}

/* Large Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .badge-main,
  .badge-sub,
  .badge-tag,
  .badge-sub-weekly {
    font-size: 10px;
    padding: 3px 8px;
  }

  .social-header .elementor-grid-item {
    gap: 0.75rem;
  }

  #nb-post-content p {
    max-width: 90%;
  }
}

/* Tablet (600px - 768px) */
@media (min-width: 600px) and (max-width: 768px) {
  .badge-main,
  .badge-sub,
  .badge-tag,
  .badge-sub-weekly {
    font-size: 12px;
    padding: 3px 8px;
  }

  .social-header .elementor-grid-item {
    gap: 0.5rem;
  }

  .box-menu .elementor-nav-menu--main .elementor-item {
    padding-bottom: 15px !important;
  }

  #nb-post-content p {
    max-width: 95%;
  }
}

/* Mobile (up to 599px) */
@media (max-width: 599px) {
  .badge-main,
  .badge-sub,
  .badge-tag,
  .badge-sub-weekly {
    font-size: 10px;
    padding: 2px 6px;
  }

  .social-header .elementor-grid-item {
    gap: 0.3rem;
  }

  .box-menu .elementor-nav-menu--main .elementor-item {
    padding-bottom: 10px !important;
  }

  #nb-post-content p {
    max-width: 100%;
    padding: 0 1rem;
  }

  .elementor-social-icons-wrapper {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
}
