/*:root {*/
/* --color-blue: #00B8F7;*/
/* --color-grey: #55596D;*/
/* --color-neutral-grey: #9098b1;*/
/* --font-family-Poppins: 'Poppins', Arial, Helvetica, sans-serif;*/
/*}*/

/* Tabs nav */

.activity.bp-user #main {
    min-height: 700px;
}

.bp-user #buddypress #my-courses,
.bp-user #buddypress #my-courses * {
    font-family: var(--font-family-Poppins);
}

.bp-user .single-course-wrapper .row {
    margin-top: 15px;
}


html .bp-user.is-user-profile #buddypress div#item-nav ul li.current a span,
.bp-user #buddypress div#item-nav ul li.current a span {
    color: #4b92f7 !important;
}

.bp-user.is-user-profile #buddypress div#item-nav ul li a:hover,
.bp-user #buddypress div#item-nav ul li a:hover {
    background: #f0f0f0;
}

.bp-user #buddypress div#item-nav ul li:first-child a:hover {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.bp-user #buddypress div#item-nav ul li:last-child a:hover {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

#buddypress div#item-nav {
    overflow: visible;
}

.bp-user #buddypress div#item-nav {
    padding-left: 0 !important;
    margin-top: 9em !important;
    box-shadow: 0px 0px 22px -5px rgba(171, 171, 171, 0.3);
    border-radius: 15px;
    margin-bottom: 4em;
    min-height: auto;
    height: auto;
    float: left;
}

.bp-user #buddypress div.item-list-tabs ul {
    margin-bottom: 0;
}

.bp-user #buddypress div#item-nav ul li a:before,
.bp-user .bp-light-icons #buddypress div#item-nav ul li a:before {
    color: #000000 !important;
    display: inline-block;
    font-size: 20px !important;
    margin-right: 10px;
    margin-bottom: 0 !important;
    width: 25px;
}

.bp-user.is-user-profile #buddypress div#item-nav ul li a,
#buddypress div.item-list-tabs ul li a,
.bp-user .bp-light-icons #buddypress div#item-nav ul li a {
    color: #000000;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    min-height: 60px;
    padding: 15px 30px;
    font-family: 'Poppins', sans-serif !important;
    font-size: 12px;
}

#subnav ul li a {
    min-height: 40px !important;
}

#buddypress div.item-list-tabs#subnav ul li.selected a,
#buddypress div.item-list-tabs#subnav ul li.current a {
    border: 2px solid #4b92f7;
    border-radius: 25px !important;
}

.bp-user #item-nav > .item-list-tabs {
    max-width: 100%;
    display: block;
    width: 100%;
    height: 100%;
}

.bp-user #buddypress div#item-nav li {
    width: 100%;
    display: block;
}

.bp-user #buddypress div#item-nav ul li a span {
    top: 35% !important;
    left: initial !important;
    right: 5% !important;
}

html .is-user-profile #buddypress .profile-tabs .current a,
.bp-user #buddypress div#item-nav ul li.current a {
    background: linear-gradient(90deg, rgb(75, 146, 247) 5%, #f7f7f7 100%) !important;
    color: #ffffff !important;
}

html .bp-user.is-user-profile #buddypress div#item-nav ul li.current a:before,
.bp-user #buddypress div#item-nav ul li.current a:before {
    color: #ffffff;
}

.bp-overlay-menu.is-user-profile #buddypress div#item-nav ul li a:before {
    color: #000000 !important;
}

.toggle-header {
    display: none;
    visibility: hidden;
    pointer-events: none;
}

/* Avatar */

.bp-user #item-header-avatar {
    position: absolute !important;
    left: 2% !important;
    bottom: -25% !important;
    z-index: 4 !important;
}


/****** Top part *****/

.bp-user #header-cover-image {
    background-color: #f9f9f9;
}

body.buddypress div#item-header #header-cover-image {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

body.bp-overlay-menu div#item-header {
    min-height: 350px;
}

.buddypress.bp-light-icons div#item-header {
    position: relative;
}

.bp-user #main-container .coupon-products {
    margin-top: 10px;
}


/* Meta */

.bp-user #item-header-content {
    position: absolute !important;
    width: auto;
    margin: 0;
    left: 15.5%;
    bottom: -25%;
    z-index: 3 !important;
}

html .is-user-profile div#item-header div#item-header-content > h4,
.buddypress div#item-header div#item-header-content h4 {
    color: #000000 !important;
    font-weight: 500;
    text-align: left !important;
    padding-bottom: 40px;
}

.buddypress div#item-header div#item-header-content #item-buttons {
    margin-top: 5px !important;
}

.buddypress div#item-header div#item-meta {
    max-width: 100% !important;
}

html .is-user-profile div#item-header div#item-header-content a {
    width: 130px !important;
    max-width: inherit;
    padding: 0 10px !important;
    border-radius: 5px;
    background: #4b92f7 !important;
    border: 1px solid #4b92f7 !important;
    color: #ffffff !important;
}

.kleo_bp_profile_member_type_label {
    display: none;
}


/* Courses list */

#my-courses .list-wrap-active {
    -webkit-box-shadow: 0px 0px 22px -5px rgba(171, 171, 171, 0.3);
    -moz-box-shadow: 0px 0px 22px -5px rgba(171, 171, 171, 0.3);
    box-shadow: 0px 0px 22px -5px rgba(171, 171, 171, 0.3);
    padding: 0;
    border-radius: 15px;
    min-height: 205px;
}

/* POPRAWKA: Usunięcie sztywnej szerokości 270px */
#my-courses article a img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    padding: 0;
}

#my-courses .meter {
    width: 100%;
    display: inline-block;
}

/* POPRAWKA: Usunięcie sztywnej szerokości 500px */
#my-courses article h2 a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
    font-weight: 600;
    color: #333333;
}

.entry-list-wrap .entry {
    width: 100%;
    padding: 15px 15px;
    box-sizing: border-box;
}

.img-list-wrap {
    display: block;
    width: 100%;
    min-height: 250px;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.entry-list-wrap .entry {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.entry-meta-list .meter.red > span {
    background: #4b92f7 !important;
}

.meter.green > span {
    background-color: #4b92f7 !important;
}

.list-course-author {
    height: 20px !important;
    width: auto !important;
    border-radius: 0 !important;
}

.course-author a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
}

/* === MODYFIKACJA IKONY POSTĘPU: OTWARTA KSIĄŻKA (LINIOWA) === */
.progress-ic-wrap {
    display: inline-flex !important;
    align-items: center !important;
    margin-left: 25px;
}

/* Ukrycie starego obrazka (trójkąta) */
.progress-ic-wrap img, 
.progress-ic-wrap svg {
    display: none !important;
}

/* Wstawienie nowej ikonki otwartej książki przed tekstem */
.progress-ic-wrap::before {
    content: "\e9b7"; /* Kod liniowej ikonki  książki */
    font-family: 'fontello'; 
    font-size: 14px;
    color: #4b92f7;
    margin-right: 8px;
    font-weight: normal;
}

/* Zapewnienie widoczności tekstu "X z Y lekcji..." */
.course-lesson-progress {
    display: inline-block !important;
    margin-left: 0 !important;
    padding: 0 !important;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #64748b;
}
/* =================================================================== */

.entry-meta-list .course-excerpt {
    font-family: 'Poppins', sans-serif;
    color: #5f5f5f;
    line-height: 1.4;
    font-size: 15px;
}


/* Table */

.coupons-table-wg {
    width: 100%;
}

.coupons-table-wg tr th,
.coupons-table-wg tr td {
    width: 20%;
}

#my-courses .course {
    margin-bottom: 25px !important;
}

/* Course Progress */
div.meter > span {
    display: flex;
    align-items: center;
    padding: 0 0 0 10px;
    height: 100%;
    position: relative;
    overflow: hidden;
    color: #353535;
    min-width: 55px;
    font-weight: 700;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.meter.red > span {
    background-color: #ff2626;
    color: #ffffff;
}

.meter.orange > span {
    background-color: #ffa100;
    color: #ffffff;
}

.meter.green > span {
    background-color: #63a95f;
    color: #ffffff;
}

.single-podcast {
    margin-bottom: 25px;
}

.hr-title abbr {
    font-family: var(--font-family-Poppins);
}

.dl-horizontal dt, dd p {
    font-family: var(--font-family-Poppins);
}

.bluebghalf {
    background: #f7faff;
    position: absolute;
    height: 88%;
    top: 0;
    z-index: 0;
    width: 100%;
}

.bbp-template-notice ul li {
    font-family: var(--font-family-Poppins);
}

.add-new-article {
    padding: 10px;
    color: #4b92f7 !important;
    border-radius: 0 !important;
    float: right;
    border: 1px solid #4b92f7 !important;
}

.add-new-article:after {
    background: #ffffff;
    border-radius: 0 !important;
    opacity: 1;
}

.add-new-article:hover {
    color: #1293c4 !important;
}

.article-content {
    font-family: "Poppins", sans-serif;
}

.course-completion-rate.progress {
    margin-bottom: 0 !important;
}

.single-course-wrapper div#item-header-avatar img.avatar {
    width: 165px !important;
    border-radius: 15px !important;
    border: 5px solid #ffffff;
}

html .bp-user.is-user-profile #buddypress div#item-nav ul li.current a:before, .bp-user #buddypress div#item-nav ul li.current a:before {
    color: #ffffff !important;
}


.single-course-wrapper #item-header-avatar {
    border: none !important;
}


.bp-user #main-container .coupon-info {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #a9a9a9;
}

.bp-user #main-container .coupon-info:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: unset;
}

.coupon-product .actions .action {
    font-size: 12px;
    line-height: 14px;
    padding-right: 5px;
    margin-right: 5px;
    border-right: 1px solid #a9a9a9;
}

.coupon-product .actions .action:last-child {
    padding-right: 0;
    margin-right: 0;
    border-right: unset;
}

#buddypress div.item-list-tabs#subnav ul li.selected a, #buddypress div.item-list-tabs#subnav ul li.current a {
    padding: 5px 15px !important;
}

#object-nav .responsive-tabs li a {
    padding: 12px 20px !important;
    font-size: 14px !important;
    min-height: auto !important;

}

#object-nav .responsive-tabs li {
    display: flex;
    align-items: center;
    height: 100%;
}

#object-nav .responsive-tabs li a:before {
    margin-bottom: 0 !important;
}

#object-nav .responsive-tabs li a:after {
    bottom: 1px !important;
}

.post-template-single-full-width .video iframe {
    height: 438px !important;
}

#buddypress div.item-list-tabs .responsive-tabs li.selected {
    border-bottom: 2px solid #00B8F7;
}

#buddypress div.item-list-tabs .responsive-tabs #home-groups-li .selected a,
#buddypress div.item-list-tabs .responsive-tabs #home-groups-li {
    margin-left: 20px;
    padding-left: 0 !important;
}

#buddypress div.item-list-tabs .responsive-tabs li:last-child .selected a,
#buddypress div.item-list-tabs .responsive-tabs li:last-child {
    margin-right: 20px;
    padding-right: 0 !important;
}

#buddypress .activity-timeline {
    height: 90% !important;
}

#buddypress .activity-list .activity-avatar {
    border: #06a5e6 3px solid;
}

body.groups #buddypress .activity-list .activity-avatar.rounded img.avatar {
    margin: 2px;
}

body.activity-permalink #buddypress ul.item-list {
    padding: 60px;
}

body.groups:not(.topic) #buddypress #bbpress-forums h2:first-child {
    display: none;
}

form[name="lostpassword"] input[name="user_login"] {
    border-radius: 5px;
    border: 1px solid #D9DFF2;
}

form[name="lostpassword"] button[name="submit"] {
    border-radius: 5px;
    background: #00B8F7;
    box-shadow: 0px 10px 30px 0px rgba(64, 191, 255, 0.24);
    color: var(--background-white, #FFF);
    text-align: center;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
    letter-spacing: 0.5px;
    border: 0;
    padding: 14px 40px;
}

.tml-lostpassword ul.tml-links {
    list-style-type: none;
    padding-top: 20px;
}

/* ==========================================================================
   BIMV: BEZPIECZNA ARCHITEKTURA PROFILU (Oczyszczanie białych ramek)
   ========================================================================== */

/* 1. Usunięcie starych marginesów ze strony i wymuszenie wypełnienia */
.bimv-bp-content-area,
.bimv-bp-sidebar {
    padding: 0 0px; 
}

/* 2. Formatowanie białego boxa w którym ląduje CAŁA zawartość prawej strony */
.bimv-bp-inner-content {
    width: 100%;
    display: block;
    background: #ffffff;
    border-radius: 15px;
    padding: 30px; 
    -webkit-box-shadow: 0 0 22px -5px rgba(171, 171, 171, 0.3);
    -moz-box-shadow: 0 0 22px -5px rgba(171, 171, 171, 0.3);
    box-shadow: 0 0 22px -5px rgba(171, 171, 171, 0.3);
}

/* Wymuszenie pełnej szerokości samej treści zakładki - by nie obcinało elementów */
body.bp-user #buddypress #item-body {
    width: 100% !important;
    padding: 20px 0 0 0 !important;
    margin: 0 !important;
}

/* Subnav cleaning (Wyzerowanie tła i ramki w nawigacji drugiego poziomu) */
#buddypress div.item-list-tabs#subnav,
.item-list-tabs#subnav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 50px !important;
    margin-bottom: 25px !important;
}

/* ==========================================================================
   BIMV: NAPRAWA SIATKI I SZEROKOŚCI KURSÓW W PROFILU
   ========================================================================== */

/* 1. Kafelki Sensei (Zakładka Moje Kursy z wtyczki) - Przejście na GRID */
.bimv-bp-inner-content ul.sensei-course-list,
.bimv-bp-inner-content .sensei-course-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.bimv-bp-inner-content ul.sensei-course-list li.course,
.bimv-bp-inner-content .sensei-course-list li.course {
    width: 100% !important; 
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    box-sizing: border-box;
    border: 1px solid #eaeaea;
    border-radius: 10px;
}

/* 2. Ostateczna naprawa szerokości autorskich zakładek (Aktywne / Ukończone) */
/* Czyste resetowanie bez kolizji z zewnętrznymi tłami */
article.pradeep-child-theme {
    width: 100% !important;
    margin-bottom: 30px !important;
    display: block !important;
}

/* Usuwamy wewnętrzne białe tło z kafelka, bo "leży" on już na głównym białym tle profilu */
article.pradeep-child-theme .list-wrap-active {
    width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    background: transparent !important; 
    border-radius: 15px !important;
    box-shadow: none !important; 
    border: 1px solid #eaeaea !important; /* Pozostawiamy tylko subtelną obwódkę */
}

/* Likwidacja domyślnych Bootstrapowych ograniczeń wielkości (.col-lg) na korzyść elastycznego wiersza */
article.pradeep-child-theme .list-wrap-active .row {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 !important;
}

article.pradeep-child-theme .list-wrap-active .row > div:first-child {
    flex: 0 0 35% !important;
    max-width: 35% !important;
    padding: 0 !important;
}

article.pradeep-child-theme .list-wrap-active .row > div.entry-list-wrap {
    flex: 0 0 65% !important;
    max-width: 65% !important;
    padding: 25px 30px !important;
}

/* Ochrona proporcji miniaturki kursu */
article.pradeep-child-theme .img-list-wrap {
    width: 100% !important;
    height: 100% !important;
    min-height: 250px !important;
    border-radius: 15px 0 0 15px !important;
    background-size: cover !important;
    background-position: center !important;
}

article.pradeep-child-theme .entry-list-wrap .entry {
    width: 100% !important;
    min-height: 100% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Odblokowanie przycinającego się tytułu kursu */
article.pradeep-child-theme h2 a {
    white-space: normal !important; 
    width: 100% !important;
    display: block !important;
}

/* RWD: Responstywność dla mniejszych ekranów (np. tablety) */
@media (max-width: 991px) {
    article.pradeep-child-theme .list-wrap-active .row > div:first-child,
    article.pradeep-child-theme .list-wrap-active .row > div.entry-list-wrap {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    article.pradeep-child-theme .img-list-wrap {
        border-radius: 15px 15px 0 0 !important;
        min-height: 200px !important;
    }
}

/* ==========================================================================
   BIMV: WYEKSTRAHOWANE STYLE Z KODU INLINE (PHP)
   ========================================================================== */

/* Struktura i marginesy (z pliku buddypress.php) */
.bimv-bp-profile-section {
    padding-top: 40px;
    padding-bottom: 60px;
}

.bimv-subscription-block {
    margin-bottom: 20px;
    background-color: #1DB6CF;
    padding: 15px;
    border-radius: 5px;
    text-align: right;
}

.bimv-subscription-block a {
    color: white;
    font-weight: bold;
}

.bimv-bp-page-title {
    font-size: 20px;
}

/* Reset struktury w kafelkach kursów (z pliku bp-custom.php) */
.bimv-course-article {
    margin-bottom: 30px;
}

.bimv-course-list-wrap {
    overflow: hidden;
}

.bimv-course-row {
    margin: 0;
}

.bimv-course-img-col {
    padding: 0;
}

/* Paski postępu dla kursów na profilu */
.bimv-course-progress-bar {
    background: #4b92f7 !important;
    color: #fff;
}

.bimv-course-progress-bar.completed {
    background: #22c55e !important;
}

.course-lesson-progress.completed {
    color: #22c55e;
    font-weight: 500;
}

/* Przyciski i statusy na profilu */
.course.coursesprogress .status.completed { 
    padding: 10px 20px; 
}

.buddypress a.button.sensei-certificate-link, 
#buddypress a.button.sensei-certificate-link, 
.buddypress .course.coursesprogress a.button.sensei-certificate-link { 
    display: inline-block; 
    border: none; 
    color: #fff; 
    text-align: center; 
    text-transform: uppercase; 
    font-weight: 700; 
    cursor: pointer; 
    padding: 10px 20px; 
    font-size: 12px; 
    line-height: 1.0em; 
    border-radius: 5px; 
    background: #52a8e8; 
}

.buddypress a.button.sensei-certificate-link:hover { 
    background: #3b6e92; 
}

p.sensei-results-links { 
    margin: 0; 
}


/* ==========================================================================
   BIMV: ZAKŁADKA MOJE ARTYKUŁY - FORMATOWANIE TYTUŁÓW
   ========================================================================== */

/* Optymalizacja wielkości i grubości fontu dla tytułów postów na profilu */
body.bp-user #buddypress .bimv-bp-inner-content article.post .entry-title,
body.bp-user #buddypress .bimv-bp-inner-content article.post .entry-title a,
body.bp-user #buddypress .bimv-bp-inner-content .type-post h2,
body.bp-user #buddypress .bimv-bp-inner-content .type-post h2 a,
body.bp-user #buddypress .bimv-bp-inner-content .type-post h3,
body.bp-user #buddypress .bimv-bp-inner-content .type-post h3 a {
    font-size: 16px !important;
    font-weight: 500 !important; /* Zmiana z domyślnego bold (700) na medium (500) */
    line-height: 1.4 !important;
    color: #333333 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Subtelny efekt najechania (hover) nawiązujący do kolorystyki platformy */
body.bp-user #buddypress .bimv-bp-inner-content article.post .entry-title a:hover,
body.bp-user #buddypress .bimv-bp-inner-content .type-post h2 a:hover,
body.bp-user #buddypress .bimv-bp-inner-content .type-post h3 a:hover {
    color: #0ea5e9 !important;
    text-decoration: none !important;
}

/* ==========================================================================
   BIMV: GLOBALNA NAPRAWA TŁA (TRÓJKĄTY I WARSTWY)
   ========================================================================== */

/* 1. Nieruchoma tapeta wyciągnięta przed białe tło strony (z-index: 0) */
.bluebghalf {
    background: #f7faff !important;
    position: fixed !important; 
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;  
    height: 100vh !important; 
    z-index: 0 !important; /* Poprawka: wychodzimy zza białego tła body */
    pointer-events: none !important; /* Tło jest "duchem", nie blokuje kliknięć */
}

/* 2. Trójkąt leży tuż nad jasnoniebieską tapetą */
.rectangle-bg {
    z-index: 1 !important;
    pointer-events: none !important;
}

/* 3. Czyszczenie starych, białych ramek motywu Kleo, które tworzyły zasłonę */
body.groups #main,
body.bp-user #main,
body.groups .main-color,
body.groups .alternate-color,
body.groups .container-wrap,
body.bp-user .main-color,
body.bp-user .alternate-color,
body.bp-user .container-wrap {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
}

/* 4. Treść grupy i profilu bezpiecznie wyniesiona ponad wszystkie tła (z-index: 10) */
#main-container,
.bimv-bp-profile-section,
.bimv-bp-content-area {
    position: relative !important;
    z-index: 10 !important;
}

/* ==========================================================================
   BIMV MOBILE: PROFIL UŻYTKOWNIKA
   ========================================================================== */
@media (max-width: 768px) {
    /* Reset absolutnego pozycjonowania nagłówka */
    .bp-user #item-header-avatar {
        position: relative !important;
        left: 0 !important;
        bottom: 0 !important;
        display: flex;
        justify-content: center;
        margin-top: -80px; /* Wyciągnięcie awatara nad zdjęcie w tle */
        z-index: 5 !important;
    }
    
    .single-course-wrapper div#item-header-avatar img.avatar {
        width: 120px !important; /* Zmniejszenie awatara na mobile */
        height: auto !important;
    }

    .bp-user #item-header-content {
        position: relative !important;
        left: 0 !important;
        bottom: 0 !important;
        text-align: center !important;
        margin-top: 15px !important;
        padding: 0 15px;
    }

    html .is-user-profile div#item-header div#item-header-content > h4 {
        text-align: center !important;
        padding-bottom: 15px !important;
    }

    /* Przebudowa nawigacji zakładek na przewijaną w poziomie (scroll) */
    .bp-user #buddypress div#item-nav {
        margin-top: 2em !important;
        float: none !important;
        box-shadow: none !important;
    }

    .bp-user #buddypress div#item-nav ul {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
    }

    .bp-user.is-user-profile #buddypress div#item-nav ul li a {
        padding: 10px 20px !important;
        min-height: 45px !important;
        white-space: nowrap;
    }

    /* Dopasowanie tabel i białego kontenera */
    .bimv-bp-inner-content {
        padding: 15px !important;
    }

    .coupons-table-wg {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Pełna szerokość kafelków w gridzie na najmniejszych ekranach */
    .bimv-bp-inner-content ul.sensei-course-list,
    .bimv-bp-inner-content .sensei-course-list {
        grid-template-columns: 1fr !important;
    }
}

/* dodanie marginesu */
#buddypress .activity-list li .activity-content {
    position: relative;
    margin-right: 60px;
}

#buddypress form#whats-new-form #whats-new-content {
    padding: 0;
    margin-bottom: 30px;
    margin-right: 60px;
}


/* ==========================================================================
   BIMV: GLOBALNY WYGLĄD AWATARÓW (CIENIE ZAMIAST RAMEK)
   ========================================================================== */

/* 1. Zabezpieczenie kontenerów nadrzędnych (usunięcie starych ramek i teł) */
body.bp-user #buddypress div#item-header-avatar,
body.bp-user #buddypress div#item-header-avatar.rounded,
body.groups #buddypress div#item-header-avatar,
body.groups #buddypress div#item-header-avatar.rounded,
#buddypress .activity-list .activity-avatar,
#buddypress .activity-list .activity-avatar.rounded {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* 2. Zdjęcie profilowe główne - zaktualizowany kolor cienia rgb(75 146 247) */
body.bp-user #buddypress div#item-header-avatar img.avatar,
body.groups #buddypress div#item-header-avatar img.avatar,
.single-course-wrapper div#item-header-avatar img.avatar {
    border: none !important; 
    
    /* Duży awatar: większe przesunięcie i rozmycie */
    -webkit-box-shadow: 0px 12px 24px -6px rgba(75, 146, 247, 0.4) !important;
    -moz-box-shadow: 0px 12px 24px -6px rgba(75, 146, 247, 0.4) !important;
    box-shadow: 0px 12px 24px -6px rgba(75, 146, 247, 0.4) !important;
    
    object-fit: cover !important;
    background-color: #ffffff !important;
}

/* 3. Awatary na liście aktywności i forum (widok ze zrzutu ekranu) */
#buddypress .activity-list .activity-avatar img.avatar,
#buddypress .activity-list .activity-avatar.rounded img.avatar,
#buddypress div.item-list-tabs#subnav ul li .item-avatar img.avatar {
    border: none !important; 
    
    /* Mały awatar: proporcjonalnie mniejszy cień, ten sam kolor */
    -webkit-box-shadow: 0px 6px 12px -3px rgba(75, 146, 247, 0.4) !important;
    -moz-box-shadow: 0px 6px 12px -3px rgba(75, 146, 247, 0.4) !important;
    box-shadow: 0px 6px 12px -3px rgba(75, 146, 247, 0.4) !important;
    
    object-fit: cover !important;
    background-color: #ffffff !important;
    margin: 0 !important; /* Neutralizacja marginesów z klasy .rounded */
}

/* 4. Poprawki mobilne (Główne zdjęcie w profilu) */
@media (max-width: 768px) {
    body.bp-user #buddypress div#item-header-avatar a,
    body.bp-user #buddypress div#item-header-avatar img.avatar {
        width: 110px !important;
        height: 110px !important;
        border-radius: 50% !important;
        border: none !important; 
    }
}