/*
Theme Name: Timecamp - new
Theme URI: https://timecamp.com
Author: dawid panfil
Description: Nowy szablon TC
Version: 0.2
Text Domain: tcnew
*/

/** import fonts**/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
	/* 	basic colors */
	--white: #fff;
    --black: #000;
	
    --basic_dark: #1b1b20;
    --basic_dark_hover: var(--black);
	
	
	--grey: #f3f3f3;
    --grey_hover: #d9d9d9;
	--grey-light-50: #F8FAFC;
	--grey-light-600: #B7BBC2;
	--grey-light-800: #7D8086;
	--grey-dark-900: #222324;
	
	--selective_yellow: #f7b801;
    --selective_yellow_hover: #dfa601;
	
	--blue-900: #0A1A38;
	
	/* primary colors */
	--green-50: #F2FCF6;
	--green-500: #25CF60;
	--green-600: #17B54E;

	/* 	borders */
	--big_border_radius: 36px;
	--medium_border_radius: 24px;
    --small_border_radius: 6px;
	
	/* 	text settings */
	--text_opacity: 0.6;
    --text_font_family: "Pretendard", sans-serif;
}

* {
    font-family: var(--text_font_family);
}


/* ------------------------------------------ CUSTOM CONTAINER WIDTH -------------------------------- */

// LAYOUT

.row {
  margin: 0;
  padding: 0;
}

.container {
  @media (min-width: 1200px) {
    max-width: 1310px;
  }
  @media (min-width: 1920px) {
    max-width: 1494px;
  }
}

/* --------------------------------- BASIC SETTINGS ------------------------------------- */

a {
	color: var(--green-500);
	text-decoration: none;
}

a:hover {
	color: var(--green-600);
	text-decoration: none;
}

h4 {
    font-size: 18px;
}

p {
    font-size: 18px;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.78;
    letter-spacing: normal;
    font-family: var(--text_font_family);
	font-weight: 400;
}

img {
/*     max-width: 100%; */
    height: auto;
}

/*WEBINAR BANNER - z 10rem na 6rem po promocji*/
main#main {
    margin: 10rem auto 0 auto;
    width: 100%;
}

body {
    background: var(--white);
    overflow-x: hidden;
}

/* -------------------------- BUTTONS ------------------------ */
.btn-filled {
    border-radius: var(--big_border_radius);
    padding: 16px 36px;
    color: var(--white) !important;
    font-weight: 600;
	font-size: 18px;
    border: none;
	cursor: pointer;
	text-align: center;
	width: fit-content;
	transition: all 0.2s ease-in-out;
}
.btn-outline{
	border-radius: var(--big_border_radius);
	border: 1px solid var(--grey-dark-900);
	color: var(--black);
	padding: 16px 36px;
	font-weight: 600;
	font-size: 18px;
	cursor: pointer;
	text-align: center;
	width: fit-content;
	transition: all 0.2s ease-in-out;
}

/* BUTTONS VARIANTS */

.btn-filled.green,
.tcgreen {
    background-color: var(--green-500);
}
.btn-filled.green:hover,
.tcgreen:hover {
    background-color: var(--green-600);
}
.btn-filled.gradient{
	background: linear-gradient(110.94deg, #2D80EB 36.16%, #2466BC 88.93%);
}
.btn-filled.gradient:hover{
	background: linear-gradient(110.94deg, #2D80EB 36.16%, #2466BC 88.93%);
}

.btn-filled.light-blue{
	background-color: var(--blue-light);
	color: black !important;
	font-weight: 700;
}
.btn-filled.light-blue:hover{
	filter: brightness(0.97);
}

.btn-filled.light-grey{
	background-color: var(--grey-light-50);
	color: black !important;
}
.btn-filled.light-grey:hover{
	filter: brightness(0.93);
}

.btn-outline:hover{
	text-decoration: none;
	color: var(--black);
	border: 1px solid var(--green-500);
}

.orangeButton {
    padding: 15px 40px;
    background-color: var(--selective_yellow);
    border-radius: 50px;
}

.orangeButton a {
    color: var(--white) !important;
    font-weight: 700 !important;
}

/* -------------------------------------------- SEARCH FORM ---------------------------------- */
.search-form{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-bottom: 140px;
}
.search-form::before{
	content: "";
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 106%;
    border-radius: 24px;
    background: var(--green-50, #F2FCF6);
    z-index: -1;
}
.search-form__title{
	color: var(--grey-dark-900);
	font-size: 44px;
	font-style: normal;
	font-weight: 700;
	line-height: 116%;
	margin-bottom: 44px;
	text-align: center;
}
.search-form__title span{
	color: var(--green-500);
}
.search-form__form{
	position: relative;
}
.search-form__form .search-field{
    width: 630px;
    padding: 20px 65px;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0px 8px 32px 0px rgba(125, 128, 134, 0.20);
    outline: transparent;
    border: none;
    font-size: 18px;
    font-weight: 400;
}
.search-form__form .search-button{
	position: absolute;
	top: 27%;
	left: 1.5rem;
	outline: none;
	background-color: transparent;
	border: none;
	color: gray;
	cursor: pointer;
}

/* ----------- ROW ------------- */
.row{
	margin-left: 0 !important;
	margin-right: 0  !important;
}

/* ----------------------------------- LATEST COMPONENT ---------------------- */
.title-of-section{
	display: flex;
	width: 100%;
    font-weight: 700;
    font-size: 36px;
	color: var(--grey-dark-900);
    margin-bottom: 48px !important;
}

.latest{
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px 32px;
	margin: 0 0 140px 0;
}
.latest .thumb{
	grid-column: span 2;
}
.latest .thumb img{
	border-radius: 24px;
	width: 100%
}
.latest article{
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.latest article .new-label{
	color: var(--green-500);
	text-transform: uppercase;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 26px;
	margin-bottom: 16px;
}
.latest article h1{
	color: var(--grey-dark-900);
	font-size: 36px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	margin-bottom: 2rem;
}
.latest article h1:hover{
	color: var(--green-500);
}
.latest article p{
	color: var(--light-gray-800, #323333);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 25px; 
	/* 	TRIM TO 4 LINES */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
    line-clamp: 4;
    overflow: hidden;
}
.latest article a{
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--light-gray-900, #222324);
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 22px;
	margin-top: 28px;
	transition: all 0.2s ease-in-out;
	text-decoration: none;
}
.latest article a:hover{
	gap: 10px;
}

/* -------------------- CARDS LAYOUT ------------------------ */
.latest2x, .normal-posts{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 32px;
}
.normal-posts > .card.card-fullWidth {
    grid-column: span 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
	gap: 0px 32px;
}
.normal-posts > .card.card-fullWidth img {
	grid-column: span 2;
}
.normal-posts > .card.card-fullWidth .card-body {
	padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.normal-posts > .card.card-fullWidth .card-body h3 a {
	font-size: 32px;
}
.normal-posts > .card.card-fullWidth .card-img-top {
	height: 400px !important;
 	object-fit: cover;
}

/* ----------------- CARD BANNER ------------------ */
.card-banner{
	border-radius: 24px;
	background-color: var(--blue-900);
	display: flex;
	padding: 48px 40px;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
}
.card-banner .text{
	display: flex;
	flex-direction: column;
    max-width: 285px;
}
.card-banner .text h2{
	color: var(--white, #FFF);
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 36px;
	padding: 0;
}
.card-banner .text p{
	color: var(--white, #FFF);
	font-size: 18px;
	font-weight: 400;
	line-height: 26px;
	padding: 0;
}

/* ------------------------------------------- CARDS --------------------------------------- */

.posts-list .card h3 {
    margin: 17px 0;
	padding: 0 !important;
	min-height: 69px;
}

.posts-list .card h3 a {
    color: var(--basic_dark);
    font-size: 24px;
    font-weight: 700;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.42;
	/* 	TRIM TO 2 LINES */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    line-clamp: 2;
    overflow: hidden;
}

.posts-list .card {
    border: none;
    background: none;
}

.posts-list .card .card-body {
	padding: 17px 0 0 0;
}

.posts-list .card .card-img-top{
	border-radius: var(--medium_border_radius);
	/* height: 240px; */
}

.posts-list .card .card-title a:hover{
	color: var(--green-500) !important;
	text-decoration: none;
}

.posts-list .card .card-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.67;
	/* 	TRIM TO 3 LINES */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    line-clamp: 3;
    overflow: hidden;
	min-height: 80px;
}

.posts-list .card .card-footer {
	border-top:  1px solid #E2E4E7;
	background-color: transparent;
	padding: 10px 0 0 0;
}

.posts-list .card .card-footer ul {
    display: flex;
    gap: 2rem;
    padding: 0;
}
.posts-list .card .card-footer li:first-of-type {
	list-style: none;
}
.posts-list .card .card-footer li::marker{
	color: #7D8086;
}

.posts-list .card .card-footer span {
	color: var(--grey-light-800, #7D8086);
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 23px;
}

.posts-list .pagination {
    text-align: center;
    border: none;
	margin-top: 96px;
}

.posts-list .pagination .col-lg-12 {
	display: flex;
    gap: 24px;
    justify-content: center;
}

.posts-list .pagination span {
/*     border-radius: var(--big_border_radius);
    border-style: solid;
    border-width: 2px;
    border-color: var(--tufts_blue);
    color: var(--tufts_blue);
    margin-left: auto;
    line-height: 1;
    text-decoration: none;
    padding: 5px 10px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer; */
	color: var(--grey-dark-900, #222324);
    /* font-family: Pretendard; */
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px;
    cursor: pointer;
}

.posts-list .pagination a{
	color: var(--grey-dark-900, #222324);
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 22px;
}


/* -------------------------------------- FULL BANNERS SMALL / BIG -------------------------------  */
.full-banner{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.full-banner.small{
	padding: 42px 0;
	gap: 48px;
	background: var(--grey-light-50, #F8FAFC);
	margin: 96px 0;
}
.full-banner.small p{
	color: var(--grey-dark-900);
	font-size: 28px;
	font-weight: 700;
	margin: 0 !important;
}
.full-banner.small span{
	color: var(--green-500);
}
.full-banner.big{
	flex-direction: column;
	padding: 80px 0;
	background: var(--grey-light-50, #F8FAFC);
	margin: 140px 0 50px 0;
}
.full-banner.big .buttons{
	display: flex;
	align-items: center;
	gap: 40px;
}
.full-banner.big h2{
	color: var(--light-gray-900, #222324);
	text-align: center;
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 32px;
}
.full-banner.big p{
	color: var(--grey-dark-800, #323333);
	text-align: center;
	font-size: 18px;
	font-weight: 400;
	line-height: 26px;
	margin-bottom: 40px;
	max-width: 600px;
}
