/*
Theme Name: GP Jobs Pro
Theme URI: https://generatepress.com/
Description: Child theme for GeneratePress.
Author: RoshKart
Author URI: https://roshkart.in
Template: generatepress
Version: 1.0.0
*/


/* ================================
   Hero Section CSS
================================= */

.mobile-menu-control-wrapper .menu-toggle {
  background-color: white;
}

/* Search Bar Styling */
#wp-block-search__input-1 {
  border-radius: 8px 0 0 8px;
}

.wp-block-search__button {
  border-radius: 0 8px 8px 0;
}

.wp-block-search__inside-wrapper {
  display: flex;
  gap: 0;
}

.wp-block-search__inside-wrapper input {
  border-radius: 6px 0 0 6px;
  margin: 0;
}

.wp-block-search__inside-wrapper button {
  border-radius: 0 6px 6px 0;
  margin: 0;
}

/* Responsive Search Width */
@media (max-width: 768px) {
  .wp-block-search__inside-wrapper {
    width: 80% !important;
  }
}

/* ================================
   Hover Effect on Element
================================= */

.gb-element-b2208598 div:hover {
  transition: all 0.3s ease;
  transform: translateY(-4px);
}

/* ================================
   WhatsApp Blink Animation
================================= */

@keyframes Roshkart-GreenBorderAnimation {
  0% {
    border-color: rgba(37, 211, 102, 0.2);
  }
  50% {
    border-color: rgba(37, 211, 102, 0.94);
  }
  100% {
    border-color: rgba(37, 211, 102, 0.2);
  }
}

.whatsappblink {
  animation: Roshkart-GreenBorderAnimation 1.5s ease-in-out infinite;
  border: 2px solid rgba(37, 211, 102, 0.5); /* fallback */
  border-radius: 6px;
}

/* ================================
   Comment Section Styling
================================= */

#respond {
  background: #ffffff;
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  font-family: 'Segoe UI', sans-serif;
}

#respond h3.comment-reply-title {
  font-size: 22px;
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  padding: 14px;
  margin: 12px 0 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  background: #fafafa;
  transition: border 0.3s ease;
}

.comment-form textarea:focus,
.comment-form input:focus {
  border-color: #0073aa;
  outline: none;
  background: #fff;
}

.comment-form-cookies-consent {
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.comment-form-cookies-consent input {
  margin-right: 8px;
}

.comment-form .form-submit input.submit {
  background-color: #0073aa;
  color: #fff;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.comment-form .form-submit input.submit:hover {
  background-color: #005e8a;
}

/* ================================
   Sticky Sidebar
================================= */

.sticky-sidebar {
  position: sticky;
  top: 80px; /* Adjust based on your header height */
  align-self: flex-start;
  z-index: 10;
}

/* ================================
   Single Post Text Link Margin
================================= */

.gb-text-583eaca1 .gb-text a {
  margin-right: 10px;
}
