.elementor-kit-988{--e-global-color-primary:#131414;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#C10E0E;--e-global-color-kadence1:#dd6b20;--e-global-color-kadence2:#C10E0E;--e-global-color-kadence3:#27241d;--e-global-color-kadence4:#423d33;--e-global-color-kadence5:#504a40;--e-global-color-kadence6:#625d52;--e-global-color-kadence7:#e8e6e1;--e-global-color-kadence8:#faf9f7;--e-global-color-kadence9:#ffffff;--e-global-typography-primary-font-family:"Nunito";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Lato";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;font-family:"Lato", Sans-serif;}.elementor-kit-988 e-page-transition{background-color:#FFBC7D;}.elementor-kit-988 h1{font-family:"Nunito", Sans-serif;}.elementor-kit-988 h2{font-family:"Nunito", Sans-serif;}.elementor-kit-988 h3{font-family:"Nunito", Sans-serif;font-size:20px;font-weight:700;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* =========================
   GLOBAL
   ========================= */

html,
body {
    background-image: none !important;
    background-color: #ffffff !important;
}

.back {
    background: radial-gradient(circle at top,
        #0d1b2a 0%,
        #0a1930 40%,
        #030712 80%
    ) !important;
}

.page-title {
    text-shadow: 0 0 20px rgba(150, 0, 255, 0.35);
}

/* Fix čudne visine samo za kurs ID 1538 
   (po potrebi možemo proširiti i na druge) */
.elementor-1538 .elementor-element-1293538b,
.elementor-1538 .elementor-element-7056553c,
.elementor-1538 .elementor-element-7056553c > .e-con-inner {
    height: auto !important;
    min-height: 0 !important;
}

/* =========================
   SINGLE COURSE – KARTICE
   ========================= */

/* Lijevi i desni card – zajedničko */
.course-card,
.course-card2 {
    background: #ffffff;
    border-radius: 60px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.20);
    padding: 34px;
    
    /* pregazi inline margine / visine iz Elementora */
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}

/* Lijevi card (glavni sadržaj) – malo veći padding */
.course-card2 {
    padding: 40px 50px;
}

/* Unutarnji Elementor container na LearnDash single course 
   – NEKA BUDE TRANSPARENTAN, BEZ DODATNOG CARDA */
.sfwd-courses .elementor-element-1293538b {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    min-height: auto !important;
}

/* Sakrij LearnDash navigacijske akcije */
.learndash-wrapper .ld-course-navigation .ld-course-navigation-actions {
    display: none;
}

/* ===============================
   LEARNDASH – ICON CHECKMARKS
   =============================== */

/* wrapper for icons */
.ld-course-navigation .ld-status-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    margin-right: 10px !important;
    transition: all 0.2s ease-in-out !important;
}

/* COMPLETED LESSON ICON ✓ */
.ld-status-icon.ld-status-complete {
    background: #6d28d9 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.25);
}

.ld-status-icon.ld-status-complete .ld-icon {
    font-size: 12px !important;
}

/* Hover */
.ld-lesson-item:hover .ld-status-icon.ld-status-complete {
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(109, 40, 217, 0.35);
}

/* INCOMPLETE LESSON ICON (empty) */
.ld-status-icon.ld-status-incomplete {
    border: 2px solid #c7c7d9 !important;
    background: #ffffff !important;
}

.ld-lesson-item:hover .ld-status-icon.ld-status-incomplete {
    border-color: #8b5cf6 !important;
    transform: scale(1.03);
}

/* hide default weird SVG parts (some themes add them) */
.ld-status-icon svg,
.ld-status-icon .ld-icon-checkmark {
    stroke-width: 2px !important;
}

/* =======================================
   COURSE GRID KARTICE – #cg-ekolegiji
   ======================================= */
/* ============================================================
   DISABLE CARD for unavailable courses (1538, 1272)
   ============================================================ */

/* 1) Grey-out the whole card background */

#cg-ekolegiji article#post-1272 {
    background: #e5e7eb !important;                /* light grey */
    border-color: rgba(71, 85, 105, 1) !important;  /* dark grey border */
    pointer-events: none !important;               /* disables all clicking */
}

/* 2) Grey-out IMAGE */

#cg-ekolegiji article#post-1272 .thumbnail img {
    filter: grayscale(1) brightness(0.55) !important;
    opacity: 0.55 !important;
}

/* 3) Grey-out all text */

#cg-ekolegiji article#post-1272 .content {
    color: #6b7280 !important;   /* grey text */
}


#cg-ekolegiji article#post-1272 .content *:not(.ribbon) {
    color: #6b7280 !important;
}

/* 4) Disable hover animations (no lift, no glow) */

#cg-ekolegiji article#post-1272 {
    transform: none !important;
    box-shadow: none !important;
}


#cg-ekolegiji article#post-1272:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* 5) KEEP RIBBON NORMAL (overwrite grey) */

#cg-ekolegiji article#post-1272 .ribbon {
    filter: none !important;
    opacity: 1 !important;
    color: #ffffff !important;
}

/* Ukloni hover efekt dizanja za te kartice */

#cg-ekolegiji article#post-1272:hover {
    transform: none !important;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.35) !important;
    border-color: rgba(59, 130, 246, 0.12) !important;
}
/* Ukloni hover efekt dizanja kartice za te dvije */

#cg-ekolegiji article#post-1272:hover {
    transform: none !important;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.35) !important;
    border-color: rgba(59, 130, 246, 0.12) !important;
}
/* thumbnail hover */
#cg-ekolegiji .thumbnail img {
    transition: transform 0.35s ease;
    transform:scale(1.05);
}

/* wrapper thumbnail */
#cg-ekolegiji .thumbnail {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 -1px 6px rgba(255, 255, 255, 0.04);
}

#cg-ekolegiji .thumbnail::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 35%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(3, 7, 18, 0.55) 100%
    );
    pointer-events: none;
}

#cg-ekolegiji article:hover .thumbnail img {
    transform: scale(1.1);
}

/* Full card (article) */
#cg-ekolegiji .items-wrapper .item article {
    background: #ffffff !important;
    border-radius: 24px !important;
    border: 1px solid rgba(59, 130, 246, 0.12) !important;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.35) !important;
    overflow: hidden !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.25s ease;
}

/* Hover effect */
#cg-ekolegiji .items-wrapper .item article:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.55) !important;
    border-color: rgba(112, 40, 175, 0.9) !important;
}

#cg-ekolegiji .items-wrapper .item article::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.18),
        rgba(255, 255, 255, 0)
    );
    pointer-events: none;
}

/* Top image */
#cg-ekolegiji .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    margin: auto 0 !important;
    display: block;
    border-radius: 24px 24px 0 0 !important;
    padding: 0 !important;
    transition: transform 0.35s ease;
}

/* Content area */
#cg-ekolegiji .content {
    padding: 18px 20px 20px !important;
}

/* Title */
#cg-ekolegiji .content .entry-title {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 8px !important;
    text-align: center !important;
}

/* "By Stem" line */
#cg-ekolegiji .content .author {
    display: none !important;
    text-align: center !important;
    justify-content: center !important;
}

/* Categories (FSB, RITEH…) */
#cg-ekolegiji .content .categories {
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #6b7280 !important;
    margin-bottom: 10px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

/* Remove folder icon */
#cg-ekolegiji .content .categories .icon.dashicons.dashicons-category,
#cg-ekolegiji .item .categories i,
#cg-ekolegiji .item .categories svg {
    display: none !important;
}

/* Separator line */
#cg-ekolegiji .content .separator {
    margin: 8px 0 12px !important;
}

/* Hide bottom meta */
#cg-ekolegiji .content .bottom-meta {
    display: none !important;
    text-align: center !important;
    justify-content: center !important;
}

/* Price ribbon */
#cg-ekolegiji .thumbnail .ribbon {
    background: #6d28d9 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-radius: 0 10px 0 10px !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;

    width: auto !important;
    min-width: 90px !important;
}

/* Bottom button wrapper (if present) */
#cg-ekolegiji .content .button {
    margin-top: 14px !important;
}

/* Buy / continue button */
#cg-ekolegiji .content .button a,
#cg-ekolegiji .content a.btn-primary,
#cg-ekolegiji .content .buttons a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 10px 18px !important;
    border-radius: 12px !important;
    background: #4f46e5 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.2s ease;
}

#cg-ekolegiji .content .button a:hover,
#cg-ekolegiji .content a.btn-primary:hover,
#cg-ekolegiji .content .buttons a:hover {
    background: #3b31c7 !important;
    transform: translateY(-2px);
}

#cg-ekolegiji .content hr.separator {
    display: none !important;
}

#cg-ekolegiji img {
    padding: 0 !important;
}

/* =======================================
   FILTER SIDEBAR – .ek-filter
   ======================================= */

.ek-filter {
    display: flex;
    justify-content: center;
}

/* Naslov filtera */
.ek-filter .learndash-course-grid-filter label {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 10px !important;
    display: block !important;
}

/* LearnDash filter unutar kolone */
.ek-filter .learndash-course-grid-filter {
    width: 100%;
    max-width: 280px;
}

/* Bijela kartica oko filtera */
.ek-filter .learndash-course-grid-filter .filter-wrapper {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    padding: 18px 18px 20px;
}

/* Razmak između polja */
.ek-filter .learndash-course-grid-filter form > div {
    margin-bottom: 14px;
}

/* Labeli */
.ek-filter .learndash-course-grid-filter label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

/* Checkbox liste */
.ek-filter .learndash-course-grid-filter .ld-course-cb-wrap,
.ek-filter .learndash-course-grid-filter .ld-filter-taxonomies,
.ek-filter .learndash-course-grid-filter .ld-course-taxonomies-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ek-filter .learndash-course-grid-filter input[type="checkbox"] {
    accent-color: #6d28d9;
    cursor: pointer;
}

.ek-filter .learndash-course-grid-filter .ld-course-cb-wrap label,
.ek-filter .learndash-course-grid-filter .ld-filter-taxonomies label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    margin: 0;
}

/* WRAP ZA GUMBE */
.ek-filter .learndash-course-grid-filter .buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

/* Osnovni stil za sve gumbe */
.ek-filter .learndash-course-grid-filter .buttons .button {
    width: 100% !important;
    border-radius: 999px !important;
    border: none !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

/* POTVRDI – class="button apply blue" */
.ek-filter .learndash-course-grid-filter .buttons .button.apply.blue {
    background: linear-gradient(90deg, #5f00ff, #d600ff) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 24px rgba(95, 0, 255, 0.35) !important;
}

.ek-filter .learndash-course-grid-filter .buttons .button.apply.blue:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 16px 34px rgba(95, 0, 255, 0.55) !important;
}

/* OČISTI – class="button clear grey" */
.ek-filter .learndash-course-grid-filter .buttons .button.clear.grey {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
    box-shadow: none !important;
}

.ek-filter .learndash-course-grid-filter .buttons .button.clear.grey:hover {
    background: #e5e7eb !important;
    transform: translateY(-1px) !important;
}

/* Terms – blagi fade, jači na hover */
.ek-filter .learndash-course-grid-filter .terms label {
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.ek-filter .learndash-course-grid-filter .terms input[type="checkbox"] {
    opacity: 0.75;
    transform: scale(1.05);
}

.ek-filter .learndash-course-grid-filter .terms label:hover,
.ek-filter .learndash-course-grid-filter .terms label:hover input[type="checkbox"] {
    opacity: 1;
}

.learndash-course-grid-filter {
    border: none !important;
}

/* Mobitel */
@media (max-width: 768px) {
    .ek-filter .learndash-course-grid-filter {
        max-width: 100%;
    }
}/* End custom CSS */