@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Oswald:wght@300;400;500;600&display=swap');


:root {
    
    /* Основные цвета */
    --color-background_body:#FFFFFF; /* белый */
    --color-background-basic:#2A2A2A; /* черный */
    --color-second:#F2F2F2;/* серый */
    --color-accent:#f42309;/* оранж */
    --color-white:#FFFFFF;/* белый*/
    --color-red:#990002;/* красный*/
    --color-black:#000000; /* черный */
    --filter1:invert(67%) sepia(87%) saturate(1812%) hue-rotate(2deg) brightness(101%) contrast(101%);/* оранж */
    --filter2:invert(100%) sepia(8%) saturate(3191%) hue-rotate(305deg) brightness(125%) contrast(114%);/* белый */
  
    /* Основные шрифт */
    --font-main: 'Montserrat', 'Roboto', 'sans-serif';
}

/* элементы с жирным начертанием */ 
h1, h2, h3, h4, h5, h6,
.stream-title {
    font-family: var(--font-main)!important;
    font-weight: 500; 
}


.subheader{
    font-family: var(--font-main);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--color-black);
    margin-bottom: 30px;
}

 
body {
    font-family: var(--font-main)!important;
    font-weight: 400;
    background: var(--color-background_body);
}

/* растягиваем по ширине контейнер с колонками */
.main-page-block .container {
    width: 90%!important;
    max-width: 1340px;
}

/* центрируем */
.gc-main-content.with-left-menu .container {
    margin-left: auto;
    margin-right: auto;
}

/* скрываем лишнее */
.logo.gc-account-logo {
    display: none;
}
.gc-main-content .page-header h1 {
    display: none;
}

/* таблица с тренингами */
.stream-table {
    margin: 0 !important;
}

/* каждая карточка тренинга */
.accessible-training .stream-table tr {
    position: relative;
    display: block;
    width: 100%;
    min-height: 240px;
    background: var(--color-second);
    margin: 0 0 20px;
    overflow: hidden;
    -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    -webkit-box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* hover эффект */
.stream-table tr:hover {
    -webkit-transform: translateX(3px) scale(1.01);
        -ms-transform: translateX(3px) scale(1.01);
            transform: translateX(3px) scale(1.01);
    -webkit-box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ячейки */
.accessible-training .stream-table tr td {
    display: block;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
}

/* убираем серую заливку */
.accessible-training .stream-table tr td:hover {
   background: none !important;
}

/* ссылка — блок с отступом под картинку */
.accessible-training .stream-table tr a {
    position: relative;
    display: block;
    min-height: 240px;
    padding: 30px 20px 30px 220px; /* смещение под превью */
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

/* псевдоэлемент — картинка */
.accessible-training .stream-table tr a::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0; /* растягиваем на всю высоту */
    left: 0;
    width: 200px; /* ширина превью */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Превью для модулей */
/* Модуль 1 */
.accessible-training .stream-table tr:nth-child(1) a::before {
    background-image: url('https://fs.getcourse.ru/fileservice/file/download/a/837503/sc/275/h/e702fc13dc0f3219fb3cf00ff9c2c362.jpg');
}
/* Модуль 2 */
.accessible-training .stream-table tr:nth-child(2) a::before {
    background-image: url('https://fs.getcourse.ru/fileservice/file/download/a/837503/sc/275/h/e702fc13dc0f3219fb3cf00ff9c2c362.jpg');
}
/* Модуль 3 */
.accessible-training .stream-table tr:nth-child(3) a::before {
    background-image: url('https://fs.getcourse.ru/fileservice/file/download/a/837503/sc/275/h/e702fc13dc0f3219fb3cf00ff9c2c362.jpg');
}
/* Модуль 4 */
.accessible-training .stream-table tr:nth-child(4) a::before {
    background-image: url('https://fs.getcourse.ru/fileservice/file/download/a/837503/sc/197/h/c281a5b40f59e7f3e646e47a2f9a7b01.jpg');
}
/* Заголовок подтренинга */
.accessible-training .stream-table tr td a .stream-title {
    font-family: var(--font-main)!important;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--color-black);
    }


/* Скрываем количество уроков */
.accessible-training .stream-table a > div b  {
    display: none;
}

/* строка  преподавателем и описанием */
.stream-table tr div {
    font-family: var(--font-main)!important;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 10px; 
    font-size: 14px;
    overflow: hidden;    
    color: var(--color-black);
}

/* --- Адаптивность --- */

@media (max-width: 991px) {
/* Заголовок подтренинга */
.accessible-training .stream-table tr td a .stream-title {
    font-size: 20px;
    }
 /* строка  преподавателем и описанием */
   .accessible-training .stream-table tr div {
      font-size: 12px;
    }
        .subheader{
    font-size: 20px;
}

}

 @media (max-width: 767px) {
  /* Заголовок подтренинга */
.accessible-training .stream-table tr td a .stream-title {
    font-size: 18px;
    }
     
     /* строка  преподавателем и описанием */
.stream-table tr div {
    font-size: 10px;
 }
     .subheader{
    font-size: 20px;
}    
}

@media (max-width: 575px) {
 /* карточка под мобильный вид */
    .accessible-training .stream-table tr a {
        padding: 15px;
        min-height: 240px;
        display: block;
        position: relative;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
    }

    /* картинка сверху */
    .accessible-training .stream-table tr a::before {
        content: '';
        display: block;
        width: 100%;           
        height: 160px;         
        background-size: cover;
        background-position: center;
        margin-bottom: 15px;   
        position: relative;    
    }
    
        /* Заголовок подтренинга */
     .accessible-training .stream-table tr td a .stream-title {
        font-size: 16px;
        }
    
    /* строка  преподавателем и описанием */
   .accessible-training .stream-table tr div {
      font-size: 12px;
 }
       .subheader{
    font-size: 20px;
} 
}
