:root {
  --primary-blue: #164ac8;
}
.cf7-contact-us .wpcf7-not-valid-tip:not(:first-of-type) {
  display: none !important;
}

.blog_main_page_st .all_blog_post_main article h2 {
  line-height: 20px;
}

.blog_main_page_st .all_blog_post_main article h2 a {
  font-size: 20px;
  line-height: 20px !important;
  text-decoration: none;
  color: #000 !important;
}
.blog_main_page_st .all_blog_post_main article h2 a:hover {
  color: var(--primary-blue);
}

.blog_main_page_st .all_blog_post_main header .post-author a {
  color: #6b6a75;
}

.blog_main_page_st .all_blog_post_main .posts-card-main {
  border: 1px solid #cdcdcd;
  border-radius: 20px;
  overflow: hidden;
  background-color: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.blog_main_page_st .all_blog_post_main .posts-card-main:hover {
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.post-thumbnail {
  overflow: hidden;
}

.post-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 240px;
  transition: transform 0.5s ease;
}

.posts-card-main:hover .post-thumbnail img {
  transform: scale(1.08);
}

.entry_read .read_link a {
  padding: 10px 20px;
  background-color: var(--primary-blue);
  color: #fff;
  border-radius: 25px;
  border: 1px solid var(--primary-blue);
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.entry_read .read_link a:hover {
  color: var(--primary-blue);
  background-color: #fff;
}

.custom-pagination .page-numbers {
  margin: 0px 3px;
}

.custom-pagination a.page-numbers {
  color: #fff;
  background-color: var(--primary-blue);
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--primary-blue);
  transition: all 0.3s ease-in-out;
  font-size: 18px;
  font-weight: 700;
}

.custom-pagination a.page-numbers:hover {
  background-color: #fff;
  color: var(--primary-blue);
}

.custom-pagination .page-numbers.current {
  border: 2px solid var(--primary-blue);
  padding: 10px;
  border-radius: 10px;
  color: var(--primary-blue);
  font-size: 18px;
  font-weight: 700;
}

.sticky-header-btn-blog a.btn {
  display: inline-flex;
  line-height: 55px;
  border-radius: 8px;
}

.get-header-btn-blog a.btn {
  display: inline-flex;
  line-height: 45px;
  padding-left: 25px;
  padding-right: 25px;
  border-radius: 8px;
}

.ind-sec-img-display .pxl-post--featured a img {
  display: none;
}

.blog-page-btn a {
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
}

.pxl-item--comment {
  display: none !important;
}

.audit_web {
  display: flex;
}

.audit_web input {
  border-radius: 10px 0px 0px 10px;
}

.audit_web p {
  display: flex;
  width: 100%;
}

.audit_web span.wpcf7-form-control-wrap {
  margin-bottom: 0px !important;
}

.audit_web input[type="submit"] {
  border-radius: 0px 10px 10px 0px;
}

.tab_heading_pos .pxl-tabs--title {
  justify-content: center;
}

.review_form .review_form_sec .form_heading_main h3 {
  color: #112167;
}

.review_form input::placeholder,
.review_form textarea::placeholder {
  color: #8b8989;
}

.review_form input[type="text"],
.review_form input[type="email"],
.review_form textarea {
  border: none;
  border-bottom: 1px solid #b2b2b2 !important;
  border-radius: 0px;
}

.review_form .rating_sec_label label {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.review_form .review_form_sec {
  box-shadow: 3px 3px 10px #cdcdcd !important;
  padding: 30px 50px;
  border-radius: 10px;
}

.review_form .success_message .testimonial-success {
  color: green;
  padding: 10px 20px;
  margin-top: 20px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 500;
  background-color: #00800020;
}

/* Layout and Label styling */
.review_form .rating-section {
  margin-bottom: 20px;
  font-family: inherit;
}

.review_form .rating-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

/* Flex group arranged backwards to handle CSS cascading selection */
.review_form .star-rating-group {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

/* Container must be relative so the hidden inputs anchor to it */
.review_form .star-rating-group {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
  position: relative; /* Added */
}

.review_form .star-rating-group input[type="radio"] {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;

  /* Give it physical presence so the browser can attach the validation bubble */
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  cursor: pointer;

  /* Keeps it from blocking mouse clicks on your SVG stars */
  z-index: -1;
}

/* If the form is submitted and the rating is missing, highlight the star area */
.star-rating-group :invalid ~ label svg {
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

/* Optional: Gives a slight nudge to the user when the form validation fires */
form:submitted .star-rating-group, /* If your theme/script adds a class on submit */
.star-rating-group:has(input:invalid:focus-within) {
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

/* Star base styling */
.review_form .star-rating-group label {
  cursor: pointer;
  transition: transform 0.15s ease;
}

.review_form .star-rating-group label svg {
  width: 28px;
  height: 28px;
  fill: #e2e8f0;
  /* Soft gray for unselected state */
  transition: fill 0.2s ease;
}

/* Hover Effect: Scale star slightly when hovered */
.review_form .star-rating-group label:hover {
  transform: scale(1.15);
}

/* The Magic: Color the selected star and ALL stars before it */
.review_form .star-rating-group input[type="radio"]:checked ~ label svg,
.review_form .star-rating-group label:hover svg,
.review_form .star-rating-group label:hover ~ label svg {
  fill: #ffb900;
  /* Warm golden color */
}

@media screen and (max-width: 550px) {
  .review_sec_google .ti-reviews-container {
    width: 100%;
    max-width: 370px;
  }
}
