/* Site-specific overrides (keep selectors specific; avoid overriding theme defaults) */

/* Centered invocation lines on About Myself (e.g. "|| ... ||") */
.custom-page .shloka-text {
  text-align: center;
  color: #7e131d;
  font-weight: 700;
  margin: 28px 0;
  font-family: "Noto Sans Kannada", sans-serif;
}

/* Song cards (classification pages) */
.song-card {
  border-radius: 12px;
  transition: all 0.2s ease;
  border: 1px solid #d6d6d6;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.song-card:hover {
  background: #f7f7f7;
  color: inherit;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.song-card .btn-outline-primary {
  border-color: #b53636;
  color: #b53636;
}

.song-card .btn-outline-primary:hover {
  background: #c45151;
  border-color: #c45151;
  color: #fff;
}

/* Classification pills (song page sidebar) */
.classification-pill {
  background: #f6f6f6;
  color: #a12d2b;
  padding: 12px 16px;
  border-radius: 28px;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 1px solid #f0f0f0;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.classification-pill:hover {
  background: #a12d2b;
  color: #fff;
}

.classification-pill-badge {
  background-color: #a12d2b !important;
  color: #fff !important;
  font-weight: 800;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.classification-pill:hover .classification-pill-badge {
  background: #fff !important;
  color: #a12d2b !important;
}

.classification-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 0;
  margin-top: 20px;
}

.classification-widget .widget-title,
.classification-widget h5 {
  color: #b53636;
  font-weight: 800;
  margin-bottom: 0;
}

.classification-pill-name {
  font-weight: 700;
  line-height: 1.2;
}

/* Testimonials (home + testimonials page) */
.pd-testimonial-photo {
  width: 200px;
  height: 240px;
  overflow: hidden;
  border: 4px solid #f5b40a;
  border-radius: 2px;
  background: #fff;
}

.pd-testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

/* Home slider needs compact cards because it shows 2 slides at once */
.testimonial-section .sigma_testimonial.style-2 .sigma_testimonial-inner > div {
  min-width: 0;
}

.testimonial-section .sigma_testimonial.style-2 .sigma_testimonial-inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.testimonial-section .sigma_testimonial.style-2 .sigma_testimonial-inner .sigma_testimonial-thumb {
  margin-right: 0;
  margin-bottom: 16px;
  width: auto;
}

.testimonial-section .sigma_testimonial.style-2 .sigma_testimonial-inner .sigma_testimonial-thumb::before {
  content: none;
  display: none;
}

.testimonial-section .sigma_testimonial.style-2 .sigma_testimonial-inner .sigma_testimonial-body {
  width: 100%;
}

.testimonial-section .sigma_testimonial.style-2 .sigma_testimonial-inner .sigma_testimonial-body p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  font-size: 14px;
  line-height: 1.6;
  overflow: hidden;
}

.pd-testimonial-photo--sm {
  width: 210px;
  height: 230px;
}

@media (max-width: 991px) {
  .pd-testimonial-photo--sm {
    width: 180px;
    height: 200px;
  }
}

@media (max-width: 575px) {
  .pd-testimonial-photo--sm {
    width: 280px;
    height: 300px;
  }

  .testimonial-section .sigma_testimonial.style-2 .sigma_testimonial-inner {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Prevent slides from visually bleeding into each other */
.testimonial-section .sigma_testimonial-slider .slick-slide {
  padding: 14px 12px;
  box-sizing: border-box;
}
.testimonial-section .sigma_testimonial-slider .slick-list {
  margin: 0 -12px;
}

/* Homepage testimonials: add breathing room and a more “card” feel */
.testimonial-section {
  padding-top: 10px;
  padding-bottom: 10px;
}

.testimonial-section .sigma_testimonial.style-2 .sigma_testimonial-inner {
  border-radius: 12px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.testimonial-section .sigma_testimonial.style-2 .sigma_testimonial-inner .sigma_testimonial-body {
  padding-bottom: 22px;
  margin-bottom: 22px;
}

.testimonial-section .pd-testimonial-photo--sm {
  border: 0;
  margin-top: 4px;
}

.testimonial-section .sigma_testimonial-author cite {
  font-size: 15px;
  line-height: 1.35;
}

.testimonial-section .sigma_testimonial-author span {
  font-size: 13px;
  line-height: 1.6;
}

/* Read more button sizing */
.pd-testimonial-readmore {
  border-radius: 999px !important;
  padding: 10px 18px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}

.testimonial-section .pd-testimonial-readmore {
  padding: 9px 16px !important;
  font-size: 12px !important;
}

/* Testimonials page: keep the horizontal card layout but size the left photo properly */
.testimonials-page .sigma_testimonial.style-2 .sigma_testimonial-inner {
  align-items: center;
}
.testimonials-page .sigma_testimonial.style-2,
.testimonials-page .sigma_testimonial.style-2 .sigma_testimonial-inner {
  height: 100%;
}
.testimonials-page .sigma_testimonial.style-2 .sigma_testimonial-inner .sigma_testimonial-thumb {
  width: 220px;
  margin-right: 24px;
}
.testimonials-page .pd-testimonial-photo {
  width: 220px;
  height: 260px;
}
.testimonials-page .pd-testimonial-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
.testimonials-page .sigma_testimonial-footer {
  margin-top: auto;
}
.testimonials-page .sigma_testimonial.style-2 .sigma_testimonial-inner > div {
  min-width: 0;
}
.testimonials-page .sigma_testimonial.style-2 .sigma_testimonial-inner .sigma_testimonial-body p {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  .testimonials-page .sigma_testimonial.style-2 .sigma_testimonial-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .testimonials-page .sigma_testimonial.style-2 .sigma_testimonial-inner .sigma_testimonial-thumb {
    margin-right: 0;
    margin-bottom: 18px;
    width: auto;
  }
  .testimonials-page .pd-testimonial-photo {
    width: 200px;
    height: 240px;
  }
}

/* Blog index (traditional list) */
.blog-index .blog-post + .blog-post {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #efefef;
}

.blog-index .blog-post__title {
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 40px;
  line-height: 1.15;
}

.blog-index .blog-post__title-link {
  color: #7e131d;
  text-decoration: none;
  text-transform: none;
  font-size: inherit;
  font-weight: inherit;
}

.blog-index .blog-post__title-link:hover {
  color: #b53636;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .blog-index .blog-post__title {
    font-size: 44px;
  }
}

.blog-index .blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.blog-index .blog-post {
  text-align: left;
}

.blog-index .blog-post__content {
  color: #000;
}

@media (max-width: 767px) {
  .sigma_testimonial.style-2 .sigma_testimonial-inner {
    flex-direction: column;
    align-items: center;
  }
  .sigma_testimonial.style-2 .sigma_testimonial-inner .sigma_testimonial-thumb {
    margin-right: 0;
    margin-bottom: 20px;
    width: auto;
  }
  .pd-testimonial-photo {
    width: 200px;
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .testimonial-section .pd-testimonial-photo.pd-testimonial-photo--sm {
    width: min(280px, 100%);
    height: 300px;
  }
}
