/* Coaching Services CPT Widget */

.cs-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.cs-card {
  background-color: #ffe6ec;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  height: 100%;
}

.cs-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.cs-content {
  position: relative;
  padding: 40px 28px 30px;
  text-align: left;
}

.cs-icon-circle {
  position: absolute;
  top: -45px;
  left: 32px;
  width: 90px;
  height: 90px;
  border-radius: 999px;
  background-color: #215cbf;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.25);
}

.cs-icon-circle .cs-icon-inner i {
  font-size: 34px;
  color: #ffffff;
}

.cs-title {
  font-size: 26px;
  line-height: 1.3;
  margin: 18px 0 16px;
  font-weight: 700;
  color: #111827;
}

.cs-title a {
  color: inherit;
  text-decoration: none;
}

.cs-text {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 22px;
}

.cs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background-color: #111827;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.cs-btn:hover {
  background-color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.25);
}

.cs-pagination {
  text-align: center;
  margin-top: 30px;
}

/* UL of pagination */
.cs-pagination ul.page-numbers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 8px;
}

/* Pagination Items */
.cs-pagination ul.page-numbers li {
  display: inline-block;
}

/* Pagination Links */
.cs-pagination a.page-numbers,
.cs-pagination span.page-numbers {
  display: inline-block;
  padding: 8px 14px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  color: #444;
  background: #fff;
  transition: all 0.25s ease;
}

/* Hover */
.cs-pagination a.page-numbers:hover {
  border-color: #0073e5;
  color: #0073e5;
}

/* Active Page */
.cs-pagination span.current {
  background: #0073e5;
  border-color: #0073e5;
  color: #fff;
  font-weight: 600;
}

/* Prev/Next styles */
.cs-pagination .prev,
.cs-pagination .next {
  font-weight: bold;
}




@media (max-width: 1024px) {
  .cs-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cs-services-grid {
    grid-template-columns: 1fr;
  }

  .cs-content {
    padding: 32px 20px 28px;
  }

  .cs-icon-circle {
    left: 20px;
  }
}


/* Coaching Blog Posts Widget */

.cb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.cb-card {
  border: 2px solid #1e40af;
  border-radius: 28px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cb-image-wrap {
  position: relative;
  overflow: hidden;
}

.cb-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.cb-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background-color: #215cbf;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}

.cb-date {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #215cbf;
  color: #ffffff;
  padding: 10px 18px;
  text-align: center;
}

.cb-date-day {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
}

.cb-date-mon {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
}

.cb-content {
  padding: 26px 26px 26px;
}

.cb-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 14px;
  color: #111827;
}

.cb-title a {
  color: inherit;
  text-decoration: none;
}

.cb-title a:hover {
  color: #215cbf;
}

.cb-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
}

@media (max-width: 1024px) {
  .cb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cb-grid {
    grid-template-columns: 1fr;
  }
}

/* Coaching Testimonials CPT Widget */

.ct-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.ct-card {
  border-radius: 26px;
  border: 2px solid #1e40af;
  background-color: #ffffff;
  padding: 32px 32px 28px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ct-stars {
  color: #fbbf24;
  font-size: 18px;
  margin-bottom: 20px;
}

.ct-stars span {
  margin-right: 2px;
}

.ct-text {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 26px;
  font-weight: 600;
  color: #111827;
}

.ct-user {
  display: flex;
  align-items: center;
  margin-top: auto;
  gap: 16px;
}

.ct-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}

.ct-name {
  font-size: 18px;
  font-weight: 700;
  color: #1d4ed8;
}

.ct-role {
  font-size: 14px;
  color: #6b7280;
  margin-top: 3px;
}

@media (max-width: 1024px) {
  .ct-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ct-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Widget Styles */
.coaching-faq-wrapper {
  display: flex;
  flex-direction: column;
}

.coaching-faq-item {
  transition: all 0.3s ease;
  border-radius: 5px;
  /* Default fallback */
  margin-bottom: 30px;
  /* Space between items */
  background: transparent;
  /* Let children decide bg */
}

.coaching-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 10px;
  /* Default closed state radius */
}

/* When active, flatten the bottom corners of the question */
.coaching-faq-item.active .coaching-faq-question {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.coaching-faq-answer {
  display: none;
  padding: 20px;
  font-size: 15px;
  line-height: 1.6;
  border-radius: 0 0 10px 10px;
  /* Default bottom radius */
}

/* Ensure the answer top corners are flat to match the question */
.coaching-faq-item.active .coaching-faq-answer {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

/* Add SVG Arrow */
.coaching-faq-question::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
}

.coaching-faq-item.active .coaching-faq-question::after {
  transform: rotate(-180deg);
}