
li.wp-block-post.courses.type-courses.status-publish.has-post-thumbnail.hentry, .tutor-card.tutor-course-card
 {
    position: relative;
    box-shadow: 0 0 1px rgb(21, 125, 185), 0 0 10px #000, 0 0 10px rgb(40, 151, 51);
}

li.wp-block-post.courses.type-courses.status-publish.has-post-thumbnail.hentry::after, .tutor-card.tutor-course-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(
    90deg,
    #19839b 0%,
    #269540 50%,
    #19839b 100%
);

}


.single.single-courses, body.archive.post-type-archive.post-type-archive-courses.wp-custom-logo.wp-theme-webtroopswp-clean.tutor-lms.tutor-frontend  {
    margin-top: 48px;
}

.tutor-btn-outline-primary, .tutor-card:not(.tutor-no-border){
  border: unset !important;
  /* box-shadow: 0px 14px 0px rgba(13, 229, 240, 0.11); */
}
/* 
.tutor-card.tutor-course-card {
    box-shadow: 0px 0px 14px 0px rgba(13, 229, 240, 0.11);
} */

/* Hide author name and avatar below course title */
.tutor-meta.tutor-mt-auto {
    display: none !important;
}

.tutor-course-short-desc {
    margin-top: 8px;
    font-size: 16px;
    color: #b8c1cc;
    max-width: 720px;
}



/* =========================
   HERO
========================= */
.course-hero {
  background:
    radial-gradient(
      1200px 400px at 70% 50%,
      rgba(13, 229, 240, 0.15),
      transparent 60%
    ),
    linear-gradient(180deg, #041d2c 0%, #062a40 100%);
  padding: 90px 16px;
}

.course-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.course-hero-left {
  max-width: 540px;
}

.course-badge {
  background: rgba(13, 229, 240, 0.15);
  color: #0de5f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}

.course-title {
  font-size: 52px;
  line-height: 62px;
  margin-bottom: 18px;
  color: #ffffff;
}

.course-short-desc {
  font-size: 18px;
  line-height: 28px;
  color: #cfeaf3;
}

.course-hero-image {
  width: 100%;
  height: 100%;
}

.course-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

p.course-inner-para{
  font-size: 15px;
  line-height: 25px;
}
/* =========================
   MAIN
========================= */
.course-main {
  padding: 80px 16px;
  /* background: #13334840; */
}

.course-main-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
}

.section-heading {
  font-size: 32px;
  margin-bottom: 24px;
  color: #fff;
}

.course-description {
  font-size: 17px;
  line-height: 28px;
  color: #333333;
}

/* =========================
   SIDEBAR
========================= */
.course-sidebar {
  position: sticky;
  top: 120px;
}

.course-sidebar-box {
  background: #062a40;
  border-radius: 30px;
  padding: 30px;
  box-shadow:
    0 0 1px rgba(13, 229, 240, 0.2),
    0 0 20px rgba(13, 229, 240, 0.08),
    0 0 40px rgba(13, 229, 240, 0.35);
}

/* Meta */
.course-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.meta-item span {
  color: #cfeaf3;
}

.meta-item strong {
  font-weight: 400;
  color: #ffffff;
}

/* Skills */
.course-skills {
  margin-bottom: 26px;
}

.course-skills h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #ffffff;
}

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

.course-skills li {
  font-size: 14px;
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
  color: #cfeaf3;
}

.course-skills li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0de5f0;
}

/* CTA */
.course-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.cta-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 50px;
  font-weight: 400;
  text-decoration: none;
  transition: 0.35s all ease-in-out;
}

.tutor-btn-outline-primary{

  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.35s all ease-in-out;
}
/* Mail */
.cta-btn.primary, .tutor-btn-outline-primary {
  background: #0de5f0;
  color: #062a40;
}

.cta-btn.primary:hover, .tutor-btn-outline-primary:hover, .tutor-btn-outline-primary:focus, .tutor-btn-outline-primary:active {
  background: #ffffff;
  color: #062a40;
}

/* Call */
.cta-btn.secondary {
  background: #f4f4f4;
  color: #062a40;
}

.cta-btn.secondary:hover {
  background: #0de5f0;
  color: #062a40;
}

/* WhatsApp */
.cta-btn.whatsapp {
  background: #25D366;
  color: #ffffff;
  height: 60px;
  align-content: center;
}

.cta-btn.whatsapp:hover {
  background: #1fb85a;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .course-hero-inner,
  .course-main-inner {
    grid-template-columns: 1fr;
  }

  .course-title {
    font-size: 40px;
    line-height: 50px;
  }

  .course-hero-image img {
    min-height: 320px;
  }

  .course-sidebar {
    position: static;
    margin-top: 40px;
  }
}

/* CUSTOM CSS FOR COURSES CARD  */

.tutor-card {
    background-color: #062A40 !important;
    /* border-radius: 50px; */
}

.tutor-course-card .tutor-course-name, .tutor-course-card .tutor-course-name a {
    color: #fff !important;
}

/* =====================================================
   COURSE GRID – KADENCE + TUTOR LMS (CUSTOM CARD STYLE)
   ===================================================== */

/* Grid spacing */
.wp-block-post-template.is-layout-grid {
  gap: 28px;
}

/* Course card */
.wp-block-post.type-courses {
  background: #0b2a3a;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-post.type-courses:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* Inner padding */
.wp-block-post.type-courses > .wp-block-group {
  padding: 28px !important;
}

/* Featured image */
.wp-block-post-featured-image {
  margin: -28px -28px 20px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}

.wp-block-post-featured-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Course title */
.wp-block-post-title {
  margin: 0 0 12px;
}

.wp-block-post-title a {
  color: #ffffff;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
}

.wp-block-post-title a:hover {
  color: #22e0e8;
}

/* Course excerpt */
.wp-block-post-excerpt__excerpt {
  color: #b8c9d6;
  font-size: 15px;
  line-height: 25px;
  /* margin-bottom: 10px; */
}

/* Hide default "Read More" */
.wp-block-post-excerpt__more-text {
  display: none;
}

/* Divider before CTA */
/* .wp-block-post.type-courses::after {
  content: "";
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 18px 0 20px;
} */

/* Fake CTA button (visual only) */
/* .wp-block-post.type-courses .wp-block-group__inner-container::after {
  content: "Start Learning";
  display: block;
  text-align: center;
  padding: 14px 20px;
  background: #1fe3eb;
  color: #06202b;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease;
} */

.wp-block-post.type-courses:hover
.wp-block-group__inner-container::after {
  background: #18c9d1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .wp-block-post-featured-image img {
    height: 180px;
  }

  .wp-block-post-title a {
    font-size: 18px;
  }
}
