/*
 Theme Name:   Educrat Child
 Theme URI:    https://themeforest.net/item/educrat-online-course-education-wordpress-theme/39691021
 Description:  Educrat Child Theme
 Author:       ApusTheme
 Author URI:   https://themeforest.net/user/apustheme/portfolio
 Template:     educrat
 Version:      1.0.0
 Text Domain:  educrat-child
*/

.apus-offcanvas {
  visibility: hidden;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100% !important;
  background: #fff;
  height: 100dvh !important;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  -webkit-flex-direction: column;
}

.header-offcanvas {
  padding: 18px 5px;
  border-bottom: 1px solid #EDEDED;
  background-color: #130642;
}

.header-offcanvas .logo img {
  max-height: 30px;
  width: auto;
}

.megamenu > li > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.9375rem;
  font-weight: 400;
  transition: all 0.3s ease-in-out 0s;
  position: relative;
  text-transform: capitalize;
  padding: 7px 15px;
  border-radius: 8px;
  background: transparent;
  font-family: 'H-65';
}

.megamenu > li > a .fa,
.megamenu > li > a img {
  max-width: 24px !important;
  margin-left: 3px;
}

@font-face {
  font-family: 'HC-85';
  src: url(fonts/'HelveticaNeueLTGEO-85Heavy.woff2') format('woff2'),
      url('fonts/HelveticaNeueLTGEO-85Heavy.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'H-65';
  src: url(fonts/HelveticaNeueLTGEOW82-65Medium.woff2') format('woff2'),
      url('fonts/HelveticaNeueLTGEOW82-65Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'H-55';
  src: url(fonts/HelveticaNeueLTGEOW82-55Roman.woff2') format('woff2'),
      url('fonts/HelveticaNeueLTGEOW82-55Roman.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'H-45';
  src: url(fonts/HelveticaNeueLTGEOW82-45Light.woff2') format('woff2'),
      url('fonts/HelveticaNeueLTGEOW82-45Light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}



h1, h2, h3, h4, h5, h6 {
  font-family: 'HC-85', sans-serif !important;
}

.avatar-wrapper {
  border-radius: 500px !important;
}



.tutor-course-wishlist-btn.save-bookmark-btn.tutor-iconic-btn.tutor-iconic-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-header.v4 {
    background-color: #ecf0ff !important;
    margin-bottom: 50px;
    margin-bottom: 50px;
}

.course-category-item {
  text-transform: none !important;
}

.wrapper_rating_avg {
    display: none !important;
}

.course-layout-item .course-cover .sale-label {
  text-transform: none !important;
}

.woocommerce-error {
    border-radius: 10px !important;
    margin: 0 !important;
    border: none;
}

.error-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

.tutor-download-certificate {
    max-width: 100% !important;

}
.tutor-certificate-demo {
    max-width: 950px !important;
    margin: 0 auto;
}

.tutor-download-certificate {
padding-bottom: 35px !important;
}

.tutor-dc-certificate-details {
max-width: 100%;
display: flex;
align-content: center;
justify-content: center;
}
div#apus-header-mobile .logo img {
    max-width: 100px;
}

.header-mobile {
  padding: 25px 0px !important;
}


.review-stars-rated-wrapper {
  display: none !important;
}

.tutor-rating-container {
  display: none !important;
}
a.tutor-icon-brand-github {
    display: none !important;
}
.tutor-user-public-profile .tutor-user-profile-content {
  width: 100%;
}
.wrapper_rating_avg {
    display: none !important;
}
.wrapper_rating_avg.d-flex.align-items-center {
    display: none !important;
}
.tutor-iconic-btn-outline {
    border-color: #1a064f;
    color: #1a064f;
}

.tutor-ratings {
  display: none !important;
}
/*

.tutor-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
*/
.image-wrapper {
    width: 100%
inherit;
}

.course-layout-item .course-cover img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.tutor-download-certificate {

    padding-top: 50px;
}

@media (max-width: 992px) {
 .course-header.v4 {
  padding-top: 50px;
}
}

@media (max-width: 650px) {
 
    .course-header.v4 {
      padding-top: 50px;
    }
}

@media (max-width: 650px) {
    .tutor-certificate-info {
        grid-template-columns: repeat(1, 1fr) !important;
        
    }
    .course-header.v4 {
      padding-top: 50px;
    }
}

  .main-content {
        padding-top: 3rem !important;
}

@media (min-width: 1200px) {
    .main-content {
        padding-top: 3rem;
}
}

.tutor-certificate-info {
  gap: 50px;
}

section#apus-breadscrumb {
    display: none !important;
}

.tutor-dc-certificate-details {
    padding: 0px 50px;
    margin: 0 !important;

}

.woocommerce-shipping-fields,
.woocommerce-shipping-fields h3 {
    display: none !important;
}

#checkout_fondy_form {
    max-width: 100% !important;

}

.payment_box.payment_method_fondy {
    padding: 0 !important;

}

.cart-subtotal {
    display: none;

}


/*
 Temporary hide of the elements
*/
.css-18cfhgi,
.css-ip6g53,
.css-1my4551,
.css-14r566y,
button.css-1r8tgr2,
button.css-1o7tol6,
button.css-le9po5,
div#wp-tutor_qna_text_editor-editor-container .mce-toolbar-grp {
  displდay: none !important;
}

.skip-quiz-btn,
.tutor-course-ratings {
  display: none;
}



@media (max-width: 768px) {
  .tutor-header-right-side {
    position: absolute;
    right: -20px;
    top: -33px;
  }
}


/* Override parent theme 870px cap when Article Detail widget is used */
.main-content-detail.only-main .inner-detail:has(.article-detail-widget) {
  max-width: 100%;
}

/* ═══════════════════════════════════════════════
   Article Detail Widget
   ═══════════════════════════════════════════════ */

.article-detail-widget {
  max-width: 100%;
  margin: 0 auto;
}

/* ── Header Row (inside hero banner) ── */
.hero-banner__content .article-detail__header {
  margin-top: 14px;
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-direction: row;
  width: -webkit-fill-available;
  width: stretch;
}

.article-detail__header-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-detail__header-share {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.article-detail__share-label {
  font-family: 'H-65', sans-serif;
  font-size: 14px;
  color: inherit;
  opacity: 0.75;
}

.hero-banner__content .article-detail__category {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero-banner__content .article-detail__date {
  color: rgba(255, 255, 255, 0.75);
  font-family: 'H-65';
}

/* ── Header Row ── */
.article-detail__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  flex-direction: column;
}

.article-detail__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.article-detail__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.article-detail__category {
  font-family: 'H-65', sans-serif;
  font-size: 14px;
  color: #6440fb;
  background: #ecf0ff;
  padding: 4px 14px;
  border-radius: 20px;
}

.article-detail__date {
  font-family: 'H-45', sans-serif;
  font-size: 14px;
  color: #666;
}

.article-detail__views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'H-55', sans-serif;
  font-size: 14px;
  color: #666;
}

.article-detail__views i {
  font-size: 18px;
}

.hero-banner__content .article-detail__views {
  color: rgba(255, 255, 255, 0.75);
}

/* ── Two-Column Body ── */
.article-detail__body {
  margin-top: 10px;
}

@media (max-width: 991px) {
  .article-detail__body {
    display: flex;
    flex-direction: column;
  }

  .article-detail__sidebar-col {
    order: -1;
    margin-bottom: 24px;
  }
}

/* Content sections */
.article-detail__section {
  margin-bottom: 36px;
}

.article-detail__section h2 {
  font-family: 'HC-85', sans-serif;
  font-size: 24px;
  color: #6440fb;
  margin: 0 0 16px;
  scroll-margin-top: 100px;
}

.article-detail__section h3 {
  font-family: 'H-65', sans-serif !important;
  font-size: 20px;
  color: #1a064f;
  margin: 0 0 12px;
}

.article-detail__section h4 {
  font-family: 'H-65', sans-serif !important;
  font-size: 17px;
  color: #1a064f;
  margin: 0 0 10px;
}

.article-detail__section h5 {
  font-family: 'H-65', sans-serif !important;
  font-size: 15px;
  color: #1a064f;
  margin: 0 0 8px;
}

.article-detail__section h6 {
  font-family: 'H-65', sans-serif !important;
  font-size: 14px;
  color: #1a064f;
  margin: 0 0 8px;
}

.article-detail__section-content {
  font-family: 'H-55', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #444;
}

.article-detail__section a {
  color: #6440fb !important;
  font-family: 'H-65';
}

.article-detail__section-content a {
  text-decoration: underline;
  word-break: break-all;
}

.article-detail__section-content a:hover {
  color: #5233d4;
}

.article-detail__section-content p {
  margin-bottom: 14px;
}

.article-detail__section-content ul,
.article-detail__section-content ol {
  margin-bottom: 14px;
  padding-left: 20px;
}

.article-detail__section-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 14px 0;
  cursor: zoom-in;
}

/* ── Sidebar ── */
.article-detail__sidebar {
  position: sticky;
  top: 100px;
}

/* TOC */
.article-detail__toc {
  background: #f6f8ff;
  border: 1.5px solid #c9d4f5;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 20px;
}

.article-detail__toc-heading {
  font-family: 'HC-85', sans-serif;
  font-size: 17px;
  color: #1a064f;
  margin: 0 0 14px;
}

.article-detail__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-detail__toc-list li {
  margin-bottom: 6px;
}

.article-detail__toc-link {
  display: block;
  font-family: 'H-55', sans-serif;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  padding: 6px 12px;
  border-left: 3px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: all 0.2s ease;
}

.article-detail__toc-link:hover {
  color: #1a064f;
  background: #ecf0ff;
  border-left-color: #c9d4f5;
}

.article-detail__toc-link.is-active {
  color: #1a064f;
  font-family: 'H-65', sans-serif;
  background: #ecf0ff;
  border-left-color: #6440fb;
}

/* Download Button */
.article-detail__download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  font-family: 'HC-85', sans-serif !important;
  font-size: 15px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  background: rgba(100, 64, 251, 0.09);
  color: #6440fb;
  border: none;
}

.article-detail__download-btn:hover {
  background: #6440fb;
  color: #fff;
}

.article-detail__download-btn i,
.article-detail__download-btn svg {
  font-size: 30px;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  transition: all 0.3s ease-in-out;
}

.article-detail__download-btn svg {
  fill: #6440fb;
}

.article-detail__download-btn:hover svg {
  fill: #fff;
}

.article-detail__share-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.article-detail__share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(100, 64, 251, 0.09);
  color: #6440fb;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  font-size: 20px;
}

.article-detail__share-icon:hover {
  background: #6440fb;
  color: #fff;
}

.hero-banner__content .article-detail__share-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.hero-banner__content .article-detail__share-icon:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .article-detail__sidebar {
    position: static !important;
    top: auto !important;
    margin-top: 36px;
  }
}


/* ═══════════════════════════════════════════════
   Hero Banner Widget
   ═══════════════════════════════════════════════ */

.hero-banner-widget {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
}

.hero-banner__content {
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-banner__title {
  font-family: 'HC-85', sans-serif !important;
  font-size: 30px;
  line-height: 1.25;
  color: inherit;
  margin: 0 0 1.5rem;
  align-items: center;
  display: block;
}

.hero-banner__icon {
  display: inline-flex;
  align-items: center;
  font-size: 32px;
  flex-shrink: 0;
}

.hero-banner__icon i,
.hero-banner__icon svg {
  color: inherit;
  fill: currentColor;
  width: 1em;
  height: 1em;
}

.hero-banner__desc {
  font-family: 'H-45', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: inherit;
  opacity: 0.85;
  margin: 0;
}

.hero-banner__bottom-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-banner__bottom-row > .hero-banner__sponsor {
  margin-top: 0;
}

.hero-banner__bottom-row > .article-detail__header {
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .hero-banner__bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-banner__bottom-row > .hero-banner__sponsor,
  .hero-banner__bottom-row > .article-detail__header {
    flex: none;
    width: 100%;
    min-width: 100%;
  }
}

.hero-banner__info-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-banner__info-title {
  font-family: 'HC-85', sans-serif !important;
  font-size: 16px;
  color: inherit;
  margin-bottom: 0;
}

.hero-banner__info-text {
  font-family: 'H-65', sans-serif;
  line-height: 1.5;
  color: inherit;
  opacity: 0.85;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.hero-banner__info-text::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  display: inline-block;
}

.hero-banner__sponsor {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  margin-top: 14px;
  background: rgb(255 255 255);
  backdrop-filter: blur(4px);
  padding: 1rem;
  border-radius: 8px;
  justify-content: center;
  min-width: 50%;
  text-decoration: none;
  color: inherit;
  max-width: 50%;
}

.hero-banner__sponsor-text {
  font-family: 'H-65', sans-serif;
  font-size: 14px;
  color: #1a094f;
  opacity: 1;
  font-weight: 500;
  max-width: 400px;
}

.hero-banner__sponsor-logo {
  width: 100%;
  max-width: 150px !important;
  object-fit: contain;
  display: block;
}

.hero-banner__image {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: 25%;
}

.hero-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .hero-banner-widget {
    flex-direction: column;
    border-radius: 0 !important;
  }

  .hero-banner__content {
    padding: 32px 28px;
    width: 100%;
  }

  .hero-banner__title {
    font-size: 26px;
  }

  .hero-banner__desc {
    font-size: 14px;
  }

  .hero-banner__sponsor {
    flex-direction: column;
    text-align: center;
  }

  .hero-banner__image {
    display: none;
  }

  .article-detail__sidebar {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-banner__content .article-detail__header {
    text-align: center;
    align-items: center;
    justify-content: space-between;
  }

  .article-detail__header-share {
    align-items: center;
  }
}

@media (max-width: 390px) {
  .hero-banner__content .article-detail__header {
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .article-detail__header-meta {
    align-items: center;
  }
}


/* ═══════════════════════════════════════════════
   Posts Slider Widget
   ═══════════════════════════════════════════════ */

.posts-slider-widget {
  max-width: 100%;
}

/* Slider mode: full viewport width */
.posts-slider-widget[data-layout="slider"] .posts-slider__slides {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 !important;
}


/* Grid mode: stays within container */
.posts-slider__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(var(--cols-ld), 1fr);
}

.posts-slider__grid .posts-slider__grid-item {
  display: flex;
}

.posts-slider__grid .posts-slider__card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.posts-slider__grid .posts-slider__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.posts-slider__grid .posts-slider__card-btn {
  margin-top: auto;
}

@media (max-width: 1599px) {
  .posts-slider__grid {
    grid-template-columns: repeat(var(--cols-d), 1fr);
  }
}

@media (max-width: 1399px) {
  .posts-slider__grid {
    grid-template-columns: repeat(var(--cols-sd), 1fr);
  }
}

@media (max-width: 1199px) {
  .posts-slider__grid {
    grid-template-columns: repeat(var(--cols-t), 1fr);
  }
}

@media (max-width: 767px) {
  .posts-slider__grid {
    grid-template-columns: repeat(var(--cols-m), 1fr);
  }
}

/* Header */
.posts-slider__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 3rem;
}

.posts-slider__header-text {
  flex: 1;
}

.posts-slider__title {
  font-family: 'HC-85', sans-serif !important;
  font-size: 28px;
  color: #1a064f;
  margin: 0 0 6px;
}

.posts-slider__desc {
  font-family: 'H-65', sans-serif;
  font-size: 15px;
  color: #666;
  margin: 0;
  line-height: 1.5;
  max-width: 650px;
}

.posts-slider__header-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: 'HC-85', sans-serif !important;
  font-size: 15px;
  text-decoration: none;
  background: rgba(100, 64, 251, 0.09);
  color: #6440fb;
  border: none;
  transition: all 0.3s ease-in-out;
  flex-shrink: 0;
  cursor: pointer;
}

.posts-slider__header-btn:hover {
  background: #6440fb;
  color: #fff;
}

.posts-slider__header-btn i,
.posts-slider__header-btn svg {
  font-size: 23px;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  transition: all 0.3s ease-in-out;
}

.posts-slider__header-btn svg {
  fill: #6440fb;
}

.posts-slider__header-btn:hover svg {
  fill: #fff;
}

/* Cards */
.posts-slider__slide {
  padding: 0 10px;
}

.posts-slider__card {
  border-radius: 12px;
  overflow: hidden;
  background: #f3efff;
  transition: box-shadow 0.3s ease;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.posts-slider__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1200px) {
  .posts-slider__card {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .posts-slider__card {
    padding: 0.75rem;
  }
}


.posts-slider__card-image {
  display: block;
  overflow: hidden;
  border-radius: 12px;
}

.posts-slider__card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.posts-slider__card:hover .posts-slider__card-image img {
  transform: scale(1.04);
}

.posts-slider__card-body {
  padding: 16px 4px;
}

.posts-slider__card-title {
  font-family: 'HC-85', sans-serif !important;
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0 0 8px;
}

.posts-slider__card-title a {
  color: #6440fb;
  text-decoration: none;
  transition: color 0.2s;
}

.posts-slider__card-title a:hover {
  color: #6440fb;
}

.posts-slider__card-desc {
  font-family: 'H-65', sans-serif;
  color: #777;
  line-height: 1.5;
  margin: 0 0 12px;
}

.posts-slider__card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  margin-top: auto;
  font-family: 'HC-85', sans-serif !important;
  font-size: 15px;
  background: rgba(100, 64, 251, 0.09);
  color: #6440fb;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  width: fit-content;
}

.posts-slider__card-btn:hover {
  background: #6440fb;
  color: #fff;
}

.posts-slider__card-btn i,
.posts-slider__card-btn svg {
  font-size: 15px;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease-in-out;
}

.posts-slider__card-btn svg {
  fill: #6440fb;
}

.posts-slider__card-btn:hover svg {
  fill: #fff;
}

/* Slick arrows override for this widget */
.posts-slider-widget .posts-slider__slides {
  position: relative;
}

.posts-slider__slides .slick-track {
  display: flex !important;
}

.posts-slider__slides .slick-slide {
  height: auto;
  display: flex !important;
}

.posts-slider__slides .slick-slide > div {
  display: flex;
  width: 100%;
}

.posts-slider__slides .posts-slider__card {
  height: 100%;
}

.posts-slider-widget .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid #e0e0e0;
  color: #1a064f;
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0;
}

.posts-slider-widget .slick-arrow i {
  font-size: 14px;
}

.posts-slider-widget .slick-prev {
  left: 8px;
}

.posts-slider-widget .slick-next {
  right: 8px;
}

.posts-slider-widget .slick-arrow:hover {
  background: #6440fb;
  border-color: #6440fb;
  color: #fff;
}

@media (max-width: 768px) {
  .posts-slider-widget .slick-arrow {
    display: none !important;
  }

  .posts-slider__header {
    flex-direction: column;
    gap: 12px;
  }

  .posts-slider__title {
    font-size: 22px;
  }

  .posts-slider__card-image img {
    height: 180px;
  }
}

/* Testimonials: full-width single slide on mobile */
@media (max-width: 768px) {
  .testimonial-main.slick-slider .slick-list {
    padding: 0 !important;
  }

  .widget-testimonials.style4 .slick-carousel .slick-slide {
    padding: 2rem !important;
  }
}

