.cky-btn-revisit-wrapper {
    display: none !important;
}

.prefer-course-widget-top.thim-ekit-single-course__meta:not(.black) * {
    color: var(--e-global-color-c762ff7);
}

.prefer-course-widget-top.thim-ekit-single-course__meta span i {
    color: var(--e-global-color-primary) !important;
    margin-right: 10px;
}

span.thim-ekit-single-course__meta__count-lesson {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.prefer-course-widget-right.thim-ekit-single-course__meta span.value {
    /* position: absolute;
    right: 0; */
    text-align: right;
}

.prefer-course-widget-right.thim-ekit-single-course__meta {
    flex-direction: column !important;
}

@media screen and (max-width: 1330px) {
    .prefer-course-widget-right.thim-ekit-single-course__meta .taxonomy span.value {
        margin-left: 0;
        margin-top: 0;
    }

}


.prefer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Max 3 oszlop */
    gap: 20px;
    /* Térköz az elemek között */
    justify-content: center;
}

.prefer-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
    /* Teljes elem kattintható */
    text-decoration: none;
    /* Link aláhúzás eltávolítása */
    transition: transform 0.3s ease-in-out;
}

.prefer-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease-in-out;
    /* Sötétedési animáció */
}

.prefer-item img.prefer-image {
    height: 100%;
}

.prefer-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.prefer-item:hover .prefer-overlay {
    background-color: #cc0025cc;
    color: #fff;
}

.prefer-item:hover img {
    filter: brightness(0.7);
}

.prefer-item:hover {
    transform: scale(1.05);
}

@media (max-width: 667px) {
    .prefer-item img.prefer-image {
        height: 300px;
    }
}

.thim-ekits-archive-course__topbar__orderby {
    display: none;
}

.thim-ekits-course__thumbnail .course-thumbnail,
.thim-ekits-course__thumbnail .course-thumbnail img,
.thim-ekits-course__thumbnail {
    width: 100%;
}

.wp-block-file *+.wp-block-file__button {
    color: white;
    padding: 0px 8px;
}

.prefer-course-widget-right span.price {
    float: right;
    font-weight: 500;
    font-size: 22px;
    color: black;
    text-align: right;
    margin-top: 4px;
}

.prefer-course-widget-right span.price span.tax {
    font-size: 15px;
    width: 100%;
    display: block;
    text-align: right;
}

.prefer-link-course {
    margin-top: 10px;
    margin-bottom: 20px;
}

.prefer-link-course span {
    font-size: 21px;
    font-weight: 500;
    color: #fff;
}

.prefer-course-widget-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

@media (min-width:768px) {
    .prefer-course-widget-bottom {
        margin: 0px 100px;
    }
}

@media (max-width: 768px) {
    .prefer-course-widget-bottom__title {
        margin-bottom: 15px;
    }

    .prefer-course-widget-bottom {
        flex-direction: column;
        align-items: center;
        margin-bottom: 25px;
    }
}
prefer-course-widget-bottom__title__text{
    text-transform: none;
}
.prefer-course-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e63946;
    /* piros szín */
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    /* eltünteti az alap böngésző nyilat */
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><path fill="%23e63946" d="M0 2l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    cursor: pointer;
}

.prefer-course-select:hover {
    border-color: #d62828;
    /* sötétebb piros hoverre */
}

.prefer-course-select:focus {
    outline: none;
    border-color: #d62828;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}


.prefer-course-widget__extra-text {
    display: block;
    font-size: 14px;
    margin-top: -20px;
    margin-bottom: 10px;
    text-align: justify;
}
/**/
.list-section.ekits-course-tabs {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
    margin-top: 15px;
}

.list-section.ekits-course-tabs:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
/**/

/* course maindata */
.tab-item-title {
    margin: 0px 0px 0px 0px;
    padding: 0px 30px 20px 30px;
    color: var(--e-global-color-accent);
    border-color: var(--e-global-color-9a8a52a);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25em;
}

.ekits-content-course-tabs {
    padding: 0px 30px 15px 30px;
}

.list-section.ekits-course-tabs {
    padding: 20px 0px 0px 0px;
}
.instructor-avatar{
    width: 250px;
    height: 250px;
    object-fit: cover;
}

/* Curriculum section toggle */
.curriculum-sections .section-header {
    cursor: pointer;
}

.curriculum-sections .section-header .section-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
/* Minden instructor-item elrejtése */
.instructor-item {
    display: none !important;
}


.section-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    color: var(--e-global-color-accent, #cc0025);
    font-size: 14px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-toggle-btn:hover {
    color: var(--e-global-color-primary, #e63946);
}

.section-toggle-btn.open i {
    transform: rotate(180deg);
}

.section-toggle-btn i {
    transition: transform 0.3s ease;
}
.section-desc-wrapper {
    display: block !important;
    overflow: hidden;
    max-height: 0;
    padding: 0 0;
    transform: translateY(-20px);
    transition:
        max-height 0.25s ease,
        padding 0.25s ease,
        opacity 0.25s ease,
        transform 0.35s ease;
}

.section-desc-wrapper.open {
    max-height: 500px;
    padding: 10px 0;
    opacity: 1;
    transform: translateY(0);
}
.section-desc {
    margin: 0;
    color: #666;
    line-height: 1.6;
}
.curriculum-sections .section .section-header{
    margin: 0px 0px 0px 0px !important;
}
.elementor-16866 .thim-ekit-single-course__title__content {
    text-transform: none !important;
}

.elementor .prefer-course-widget-bottom__title__text{
    text-transform: none;
}
.elementor .course-curriculum .section-header .section-title{
    text-transform: none;
}

.zoho-course-type {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.course-type-training {
    background: #22B14C;
    color: #fff;
}

.course-type-other {
    background: #FF7F27;
    color: #fff;
}

.prefer-course-expired {
    filter: grayscale(60%);
    opacity: 0.70;
}

/* Prefer download browser (WPDM packages on /letoltes) */
.prefer-download-browser .wpdm-shortcode-toolbar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.prefer-download-browser .wpdm-shortcode-toolbar .card-body,
.prefer-download-browser .wpdm-shortcode-toolbar .panel-body {
    padding: 16px 20px;
}

.prefer-download-browser .wpdm-shortcode-toolbar .form-control,
.prefer-download-browser .wpdm-shortcode-toolbar .wpdm-custom-select,
.prefer-download-browser .wpdm-shortcode-toolbar .custom-select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.prefer-download-browser .wpdm-shortcode-toolbar .form-control:focus,
.prefer-download-browser .wpdm-shortcode-toolbar .wpdm-custom-select:focus,
.prefer-download-browser .wpdm-shortcode-toolbar .custom-select:focus {
    outline: none;
    border-color: #cc0025;
    box-shadow: 0 0 0 3px rgba(204, 0, 37, 0.2);
}

.prefer-download-browser .wpdm-shortcode-toolbar .btn-info {
    background-color: #cc0025;
    border-color: #cc0025;
    color: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.prefer-download-browser .wpdm-shortcode-toolbar .btn-info:hover,
.prefer-download-browser .wpdm-shortcode-toolbar .btn-info:focus {
    background-color: #a8001e;
    border-color: #a8001e;
    color: #fff;
}

.prefer-download-browser .well.c2a3 {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 16px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.prefer-download-browser .well.c2a3:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #d4dbe6;
}

.prefer-download-browser .well.c2a3 .media {
    display: flex;
    align-items: center;
    gap: 16px;
}

.prefer-download-browser .well.c2a3 .media-body {
    flex: 1;
    min-width: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

.prefer-download-browser .well.c2a3 .media-heading {
    margin: 0 0 6px 0;
    font-size: 16px;
    line-height: 1.35;
}

.prefer-download-browser .well.c2a3 .media-heading a,
.prefer-download-browser .well.c2a3 .media-heading > span {
    color: #cc0025;
    font-weight: 700;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}

.prefer-download-browser .well.c2a3 .media-heading .text-muted {
    display: inline-block;
    margin-left: 12px;
    font-size: 13px;
    font-weight: 400;
    color: #666;
}

.prefer-download-browser .well.c2a3 .wpdm_icon {
    height: 48px;
    width: auto;
    flex-shrink: 0;
}

.prefer-download-browser .well.c2a3 .btn-primary,
.prefer-download-browser .well.c2a3 .wpdm-download-link {
    background-color: #cc0025;
    border: 1px solid #cc0025;
    color: #fff;
    border-radius: 12px;
    padding: 11px 28px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.prefer-download-browser .well.c2a3 .btn-primary:hover,
.prefer-download-browser .well.c2a3 .btn-primary:focus,
.prefer-download-browser .well.c2a3 .wpdm-download-link:hover,
.prefer-download-browser .well.c2a3 .wpdm-download-link:focus {
    background-color: #a8001e;
    border-color: #a8001e;
    color: #fff;
}

@media (max-width: 767px) {
    .prefer-download-browser .well.c2a3 .media {
        flex-direction: column;
        align-items: stretch;
    }

    .prefer-download-browser .well.c2a3 .mr-3,
    .prefer-download-browser .well.c2a3 .ml-3 {
        margin: 0 !important;
        text-align: left !important;
    }

    .prefer-download-browser .well.c2a3 .media-heading .text-muted {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }

    .prefer-download-browser .well.c2a3 .btn-primary,
    .prefer-download-browser .well.c2a3 .wpdm-download-link {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* Horizontal category list (Elementor thim-ekits-categories) */
.prefer-category-horizontal .thim-categories-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.prefer-category-horizontal .thim-categories-items {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* =========================================================
   PREFER SHOP SIDEBAR
   - nincs fix szélesség
   - minden tartalom belefér a rendelkezésre álló helybe
   ========================================================= */

#prefer-shop-sidebar-wrapper,
#prefer-shop-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Az információs blokk */
#prefer-shop-content .prefer-course-widget-right {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Egy sor */
#prefer-shop-content
.thim-ekit-single-course__meta__count-lesson {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    align-items: start;
}

/* A jobb oldali érték */
#prefer-shop-content
.thim-ekit-single-course__meta__count-lesson .value {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;

    text-align: right;

    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Hosszú kurzuskód */
#prefer-shop-content #kurzuskod .value {
    overflow-wrap: anywhere;
    word-break: break-all;
}

/* Taxonomy sorok */
#prefer-shop-content
.thim-ekit-single-course__meta__count-lesson.taxonomy {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;

    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Taxonomy érték */
#prefer-shop-content
.thim-ekit-single-course__meta__count-lesson.taxonomy .value {
    position: static !important;
    margin: 0 !important;
    min-width: 0;
    max-width: 100%;

    text-align: right !important;

    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}


/* =========================================================
   ÁR
   ========================================================= */

#prefer-shop-content span.price {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: right;
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 767px) {

    #prefer-shop-content
    .thim-ekit-single-course__meta__count-lesson {
        grid-template-columns: minmax(0, 1fr) minmax(0, 45%);
        gap: 8px;
    }

}