.courses-loop-item {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    position: relative;
}

.courses-loop-title h2.elementor-heading-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 46px;
}

.tutor-sc-category {
    background: #fff;
    color: #043032;
    box-shadow: rgb(120 225 216 / 20%) 0px 8px 24px;
    font-size: 14px;
    line-height: 15px;
    font-weight: 600;
    padding: 5px 20px;
    border-radius: 50px;
    width: fit-content;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 1;
    font-family: 'Anek Bangla';
}

.tutor-item-price {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    font-family: sans-serif;
    /* Replace with your theme font */
}

/* The New Price */
.tutor-item-price span {
    font-size: 17px;
    font-weight: 700;
    color: #eb5790;
    /* Professional Blue */
}

/* The Old Price */
.tutor-item-price del {
    font-size: 12px;
    color: #718096;
    /* Muted Gray */
    text-decoration: line-through;
    opacity: 0.8;
}

/* Main price container */
.tutor-sc-price .price {
    display: flex;
    align-items: baseline;
    /* Aligns the bottom of the numbers perfectly */
    gap: 8px;
    font-family: "Poppins", sans-serif;
    /* Matches your checkout font */
}

/* 1. The New Price (inside <ins>) */
.tutor-sc-price .price ins {
    order: 1;
    /* Forces the new price to appear first (on the left) */
    text-decoration: none;
    /* Removes the default underline from <ins> tags */
}

.tutor-sc-price .price ins .amount {
    font-size: 20px;
    font-weight: 700;
    color: #eb5790;
    /* The pink color from your reference */
}

/* 2. The Old Price (inside <del>) */
.tutor-sc-price .price del {
    order: 2;
    /* Forces the old price to appear second (on the right) */
}

.tutor-sc-price .price del .amount {
    font-size: 14px;
    color: #8c98a9;
    /* Muted grayish-blue */
    text-decoration: line-through;
    font-weight: 500;
}

/* Hide the screen reader text so it doesn't mess up the flex layout */
.tutor-sc-price .price .screen-reader-text {
    display: none !important;
}

/* Container to align them side-by-side */
.tutor-meta-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.tutor-sc-level,
.tutor-sc-duration {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
}

/* Specific colors for Level */
.tutor-sc-level {
    background-color: #eeffff;
    color: #043032;
    /* Indigo */
    line-height: 14px;
    border: 1px solid #e0e7ff;
    font-family: 'Anek Bangla';
}

/* Specific colors for Duration */
.tutor-sc-duration {
    background-color: #f0fdf4;
    color: #16a34a;
    /* Green */
    line-height: 12px;
    border: 1px solid #dcfce7;
    font-family: 'Anek Bangla';
}

.lms-service-box:hover {
    background: linear-gradient(135deg, #ffffff 0%, #e0fbfc 100%);
    box-shadow: 0 20px 25px -5px rgba(0, 194, 203, 0.1);
}

/* --- Global Animation --- */
/* This handles the drawing and erasing effect for all highlights */
@keyframes drawAndErase {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    25%,
    75% {
        clip-path: inset(0 0 0 0);
    }

    100% {
        clip-path: inset(0 0 0 100%);
    }
}

/* --- Base Typography --- */
.faq-heading,
.title-heading {
    font-family: sans-serif;
    font-size: 2.5rem;
    text-align: center;
}

/* --- Shared Highlight Logic --- */
.sketch-highlight,
.title-sketch-highlight,
.review-sketch-highlight {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.sketch-highlight::after,
.title-sketch-highlight::after,
.review-sketch-highlight::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: -2%;
    width: 104%;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -1;
    animation: drawAndErase 4s ease-in-out infinite;
}

/* --- 1. PINK VARIATION (#F3BFE7) --- */
.sketch-highlight::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='16' viewBox='0 0 100 16' fill='none' preserveAspectRatio='none'%3E%3Cg filter='url(%23filter0_d_131_5)'%3E%3Cpath d='M93.9724 0L4.47239 6C3.27239 8 4.63905 8.16667 5.47239 8L43.4724 6L17.9724 10.5C11.9724 12.9 15.1391 13.5 17.4724 13.5L77.9724 11C83.9724 9.8 80.8057 9.16667 78.4724 9L35.9724 9.5C40.7724 7.1 76.6391 4.5 93.9724 3.5C97.5724 1.9 95.4724 0.5 93.9724 0Z' fill='%23F3BFE7'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_131_5' x='0' y='0' width='99.9609' height='21.5' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='4'/%3E%3CfeGaussianBlur stdDeviation='2'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.952941 0 0 0 0 0.74902 0 0 0 0 0.905882 0 0 0 0.25 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_131_5'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_131_5' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E");
}

/* --- 2. TEAL VARIATION (#1DD4D1) --- */
.title-sketch-highlight::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='16' viewBox='0 0 100 16' fill='none' preserveAspectRatio='none'%3E%3Cg filter='url(%23filter0_d_131_5)'%3E%3Cpath d='M93.9724 0L4.47239 6C3.27239 8 4.63905 8.16667 5.47239 8L43.4724 6L17.9724 10.5C11.9724 12.9 15.1391 13.5 17.4724 13.5L77.9724 11C83.9724 9.8 80.8057 9.16667 78.4724 9L35.9724 9.5C40.7724 7.1 76.6391 4.5 93.9724 3.5C97.5724 1.9 95.4724 0.5 93.9724 0Z' fill='%231DD4D1'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_131_5' x='0' y='0' width='99.9609' height='21.5' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='4'/%3E%3CfeGaussianBlur stdDeviation='2'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.113725 0 0 0 0 0.831373 0 0 0 0 0.819608 0 0 0 0.25 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_131_5'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_131_5' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E");
}

/* --- 3. ORANGE VARIATION (#FF3A00) --- */
.review-sketch-highlight::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='16' viewBox='0 0 100 16' fill='none' preserveAspectRatio='none'%3E%3Cg filter='url(%23f_orange)'%3E%3Cpath d='M93.9724 0L4.47239 6C3.27239 8 4.63905 8.16667 5.47239 8L43.4724 6L17.9724 10.5C11.9724 12.9 15.1391 13.5 17.4724 13.5L77.9724 11C83.9724 9.8 80.8057 9.16667 78.4724 9L35.9724 9.5C40.7724 7.1 76.6391 4.5 93.9724 3.5C97.5724 1.9 95.4724 0.5 93.9724 0Z' fill='%23FF3A00'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='f_orange' x='0' y='0' width='99.9609' height='21.5' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='4'/%3E%3CfeGaussianBlur stdDeviation='2'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 0.227451 0 0 0 0 0 0 0 0 0.25 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_131_5'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_131_5' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E");
}

.lms-faqs .e-n-accordion-item[open]>.e-n-accordion-item-title {
    border-radius: 20px 20px 0 0;
    outline: none;
}

.lms-faqs .e-n-accordion {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.lms-faqs .e-n-accordion-item {
    width: 49%;
}

@media screen and (max-width: 768px) {
    .lms-faqs .e-n-accordion-item {
        width: 100%;
    }
}

span.e-n-accordion-item-title-icon {
    background: #000;
    padding: 10px;
    border-radius: 50px;
}

.review-awards-pretext:before {
    z-index: 1;
    content: "";
    background: url(/wp-content/uploads/2026/04/message-box.svg) 50%/cover no-repeat;
    width: 191px;
    height: 51px;
    display: block;
    position: relative;
    top: -35px;
    left: 65%;
    rotate: -5deg;
}

.review-awards-pretext h2 {
    width: 145px;
    z-index: 1;
    position: absolute;
    top: -19px;
    left: 82%;
    rotate: -8deg;
}

@media screen and (max-width: 768px) {
    .review-awards-pretext:before {
        top: -35px;
        left: 25%;
    }

    .review-awards-pretext h2 {
        top: -27px;
        left: 40%;
    }
}

.tutor-wrap {
    margin-top: 30px;
}

@media (max-width: 767px) {
    .tutor-screen-frontend-dashboard {
        padding-bottom: 0px;
    }

    .tutor-dashboard #tutor-dashboard-footer-mobile {
        display: none;
    }

    body.admin-bar.tutor-screen-frontend-dashboard .tutor-wrap.tutor-pb-80,
    body.admin-bar.tutor-screen-frontend-dashboard .tutor-wrap-parent {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    body.admin-bar.tutor-screen-frontend-dashboard .elementor-theme-builder-content-area,
    body.admin-bar.woocommerce-account .elementor-theme-builder-content-area {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

}

@media (max-width: 1024px) {
    body.admin-bar #elementor-popup-modal-263.dialog-type-lightbox {
        position: fixed !important;
        inset: auto 0 0 0 !important;
        height: 100vh !important;
    }
}

/* Hide the input wrapper initially */
.search-reveal-widget .e-search-input-wrapper {
    opacity: 0;
    visibility: hidden;
    width: 40px;
    transition: opacity 0.3s ease, visibility 0.3s ease, width 0s ease 0.3s;
    /* width changes instantly after fade out */
    pointer-events: none;
    /* Prevent interaction when hidden */
}

/* Revealed state make input visible */
.search-reveal-widget.search-revealed .e-search-input-wrapper {
    opacity: 1;
    visibility: visible;
    width: 365px;
    max-width: 365px;
    transition: opacity 0.3s ease, visibility 0.3s ease, width 0s ease 0s;
    pointer-events: auto;
}

/* Keep the icon always visible and clickable */
.search-reveal-widget .e-search-label {
    cursor: pointer;
}



/* ==================================================== */



.hero-slider-section span.swiper-pagination-bullet {
    border-radius: 100px !important;
    width: 30px !important;
    height: 5px !important;
}

.mobile-sidebar-menu .elementor-nav-menu .elementor-item.has-submenu {
    justify-content: space-between;
}


.mobile-sidebar-menu span.sub-arrow svg {
    display: none;
}

.mobile-sidebar-menu span.sub-arrow:before,
.mobile-sidebar-menu span.sub-arrow:after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 1px;
    background: #999;
    position: absolute;
    right: 20px;
    top: 20px;
    border: none;
}

.mobile-sidebar-menu span.sub-arrow:before {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.cat-loop {
    box-shadow: 0 2px 10px rgb(0 0 0 / 3%);
}

.cat-title {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.shop-p .price-holder,
.category-p .price-holder {
    flex-direction: column !important;
    align-items: start;
}

.shop-p .price-holder .buy-b,
.shop-p .price-holder .buy-b a,
.category-p .price-holder .buy-b,
.category-p .price-holder .buy-b a {
    width: 100%;
}
