/**
** 4kultury.min.css 
*/
:root {
	
	--mygap: 20px;
	--mygap-category: 10px;
	
	--myline-height: 1.72;
	--myline-height-md: 1.8;
	--myline-height-lg: 1.9;
	--myline-height-xl: 2.2;	
	
	--myborder-radius-div: 0;
	--myborder-radius-img: 0;	
	--myborder-radius-bagde: 0;	
	
	--mynavi-color: #fff;
	--mylink-color: #042999;;
	--mylinkhover-color: #ff0468;
	
	--mynavlink-color: #030381;
	--mynavlinkhover-color: #fff;
	--mynavlinkbg-color: #f44b4b;	
	
	--myreder-color: #dd2900;
	--mycolor-bluer: #000082;
	--mycolor-bluer2: #030380;
	--mycolor-bluer3: #3bbacf;
	
	--mycolor-reder: #fc3243;
	--mycolor-reder-two: #4f4f4f;
	
	--myitem-border-color: #ccc;
	--myitem-border-color2: #37c8ab;
	
	--myshadow: rgba(0, 0, 0, 0.3) 0px 3px 5px;
	--myshadow2: 4px 9px 17px -4px rgba(186, 186, 186, 1);
}


html, body{	
	padding-top: 30px;
	font-family: "Inter", sans-serif;
}


a {
    text-decoration: none;
    color: var(--mylink-color);
	&:hover {
		color: var(--mylinkhover-color);	
	}
}

.navbar{	
	background-color: var(--mynavi-color);
}

.navbar .navbar-nav .nav-link {
    color: var(--mynavlink-color);
	font-weight: 600 !important;
}

.navbar .navbar-nav .nav-link:hover{
    color: var(--mynavlinkhover-color);
	background-color: var(--mynavlinkbg-color);
}

.nav-item.dropdown.toaxmenu:hover .dropdown-menu {
    display: block; 
    position: absolute; 
    z-index: 1000; 
}


.navbar-brand {
	
	padding-top: 0;
	padding-bottom: 0;
	
	.blbrandlogo{
		width: 276px;
		transition: width 0.3s ease;
	}
}

.navbar-toggler {
  background-color: #e3e3e3 !important
}

.topheaderhero {

	margin-top: 85px;
	width: 100%;
	height: 100px;	
	display: flex;
	align-items: center;
	justify-content: center;	
	.addinfo{
		background-color: rgb(255, 255, 255,0.7);
		padding:15px;
		h1{
			font-size: clamp(2.2rem, 5vw, 3.10em);
			font-weight: 900;
			color: #0e2040;			
			.logercl{
				color: #000;	
			}
			
		}
		
		h4{
			color: #030381;
			font-size: font-size: clamp(1.5rem, 5vw, 2.60em);
			margin-top: 1.5rem;
		}
	}		
}

.maintoper{	
	margin-top: 2rem;
	line-height: var(--myline-height-md);
}

.divheaderinfo{
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	h3{
		color:var(--mycolor-bluer2);
		font-size: 2.0em;
		font-weight: 800;
	}
}


.pagehero{	
	background-color: #fff;
	padding: 60px 0px 0px 0px;	
	
	.mdomainheader {
		font-size: 2.20rem  !important;
		font-weight: 600 ;	
		color: var(--mycolor-bluer);
	}
}

.tofeatures{
	
	margin-top: 0.1rem;
	
	h3 {
		font-size: 1.60rem;
		font-weight: 600 ;	
		position: relative;
		display: inline-block;
		color: var(--mylink-color);
		margin-bottom: 1.8rem;
		&::after {
			content: "";
			display: block;
			width: 120px;
			height: 4px;
			background-color: var(--mycolor-bluer3);
			position: absolute;
			bottom: -18px;
			left: 0;
		}
	}	
}

.tolisting{
	margin-top: 0.6rem;
	margin-bottom: 2.6rem;
}

.tocategories{
	margin-top: 1.8rem;
	margin-bottom: 2.7rem;
}

.tocategorylist{
	
	margin-bottom: 2.6rem;
	.ullisting{
		display: grid;
		gap: var(--mygap);
		grid-template-columns: 1fr;
		@media (min-width: 1200px) {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}	
		
		.tocatcatitem{
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0.3rem 0;
			
			h5{
				padding:0;
				margin:0;
			}
			
		}
	}
}

.toarticlecontent{
	line-height: var(--myline-height-md);
	h2{
		font-size: 1.9rem;
		color: var(--mycolor-bluer);
		font-weight: 700; 
		position: relative;
		display: inline-block;
		margin-bottom: 1.9rem;

		&::after {
			content: "";
			display: block;
			width: 100px;
			height: 4px;
			background-color: var(--mycolor-reder-two);
			position: absolute;
			bottom: -18px;
			left: 0;
		}
		
	}

	h3, h4{
		font-size: 1.7rem !important;
		color: var(--mylink-color);
	}		
		
	ul{
		list-style: none;
		padding-left: 0;
		line-height: var(--myline-height-lg);
		li::before {
			content: "\f058"; 
			font-family: "Font Awesome 5 Free";
			font-weight: 900; 
			margin-right: 5px;
			color: var(--mylink-color);
		}
	}	
}

.tostaticpage{
	
	.blpgitem {
		line-height: var(--myline-height-md);
		
		h3{
			font-size: 1.60rem;
			font-weight: 600 ;	
			position: relative;
			display: inline-block;
			color: var(--mylink-color);
			margin-bottom: 1.8rem;
			&::after {
				content: "";
				display: block;
				width: 90px;
				height: 4px;
				background-color: var(--mycolor-bluer3);
				position: absolute;
				bottom: -18px;
				left: 0;
			}
		}	
	}
}



.categorylist{
	
	.artcatitem{
		display: flex;
		align-items: start;
		justify-content: space-between;
		gap: 1em;
		
		.rightcol{
			padding-left: 1.5rem;
			
			h4{
				font-size: 2.10em;
				font-weight: 600;
			}
			
			.headeros{
				display: flex;
				align-items: center;
				justify-content: space-between;
			}
		}
		
	}
}

.medfooter{
	margin-top: 3.5rem;
	padding-top: 1.2rem;
	border-top: 3px solid #ccc;
	h5{
		color: var(--mycolor-bluer);	
	}
}

.mybadge {
	display: inline-block;
	white-space: nowrap;
	vertical-align: baseline;
	padding: 5px 8px;
	text-align: center;	
	border-radius: 5px;
	line-height: 1;
	width:38px;
}

.mybg-info{
	background-color: #dfdfdf;
	color: #37c8ab;
}

.mybg-red{
	background-color: red;
	color: white;
}


.mybg-green{
	background-color: #48752c;
	color: #fff;
}

.mybg-pink{
	background-color: #f44b4b;
	color: #fff;
}


.bg-reder {
	background-color: #d02b4a;
	color: #fff;
	opacity: .8;
}

.bg-fiolet{
	background-color: #7515ce;
	color: #fff;
}

.bg-yelow{
	background-color: #ffde5b;
	color: #0037c4;
}

.bg-green{
	background-color: #48752c;
	color: #fff;
}

.circle {
	display: inline-table;
	vertical-align: middle;
	width: 28px;
	height: 28px;  
	background-color: #bbb;
	border-radius: 50%;
}

.circle__content {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}


.lineclamp1{-webkit-line-clamp: 1;}
.lineclamp2{-webkit-line-clamp: 2;}
.lineclamp3{-webkit-line-clamp: 3;}
.lineclamp4{-webkit-line-clamp: 4;}
.lineclamp5{-webkit-line-clamp: 5;}

.mfs65{font-size: 0.65em;}
.mfs75{font-size: 0.75em;}
.mfs85{font-size: 0.85em;}
.mfs95{font-size: 0.95em;}
.mfs100{font-size: 1em;}
.mfs110{font-size: 1.1em;}
.mfs150{font-size: 1.5em;}


.topublic{background-color: #b4f9eb; color: #0b9378;}
.tprivate{background-color: #ffe4d3; color: #f60;}
.tocounteros{background-color: #ffc5dc;color: #ff0367;}


.padinger{padding: 14px 0; transition: padding 0.3s ease;}
.navbar.shrink { padding: 4px 0}
.shrink .navbar-brand .blbrandlogo {
  width: 150px; /* Możesz dostosować tę wartość */
}

.image-block img {
	border-radius: 20px;
	width: 100%;
	object-fit: cover;
}
	
.image-center img {
	border-radius: 20px;
}


.item-grid {
	width: 100%;
	height: 100%;
}

.h-100 {
	height: 100% !important;
}

.imageobj {
	width: 100%;
	object-fit: cover;
}

.text-bg-green-med {
  color: #fff !important;
  background-color: #3d3f64;
}

/* === POPRAWIONE STYLE DLA OBRAZKÓW Z OVERLAY === */
.imgincontent {
  width: 100%;
  display: block;
}

.artoneimege {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
}

.artmainimg {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.artmainimg img {
    display: block;
    max-width: 100%;
    height: auto;
    width: 100%;
    border-radius: 20px;
}

.textterinfoimx {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 15px;
    z-index: 2;
    box-sizing: border-box;
}

.textterinfoimx::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: -20px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4) 32%, rgba(0,0,0,0.8));
    z-index: -1;
    border-radius: 0 0 20px 20px;
}

.imginfo {
    display: block;
    color: white;
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

/* Responsywne style dla obrazków */
@media screen and (max-width: 768px) {
  .textterinfoimx {
    padding: 8px 12px;
  }
  
  .imginfo {
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .textterinfoimx {
    padding: 6px 10px;
  }
  
  .imginfo {
    font-size: 11px;
  }
}

/* Custom Haloatopia button styling */
.btn-haloatopia {
	background-color: #ff4055; 
	border-color: #ff4055;
	color: #fff;
	font-weight: 500;
	transition: all 0.3s ease;
}

.btn-haloatopia:hover {
	background-color: #3300FF; 
	border-color: #3333CC;	
	color: #fff;
	box-shadow: 0 0 8px rgba(255, 64, 85, 0.5);
}

.btn-haloatopia:focus, .btn-haloatopia:active {
	background-color: #d83547 !important; 
	border-color: #d83547 !important;
	box-shadow: 0 0 0 0.25rem rgba(255, 64, 85, 0.25) !important;
}

.badge.text-bg-green-med {
  max-width: 280px; 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

.artheaderurl {
	word-wrap: break-word; 
	overflow: hidden;
	display: -webkit-box; 
	-webkit-line-clamp: 3; 
	-webkit-box-orient: vertical;
	line-height: 1.2em;
	max-height: 3.6em;
	text-overflow: ellipsis;
}


/* Dynamiczne menu artykulu */
.article-menu {
    background: #f8f9fa;
    padding: 10px 0;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.article-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-menu-list li {
    margin: 8px 0;
}

.article-menu-list li.submenu {
    margin-left: 20px;
}


.article-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-menu-list li {
    margin: 5px 0;
}

.article-menu-list li.submenu {
    margin-left: 20px;
}

article-menu-list li:not(.submenu) > a,
.article-menu-list li:not(.submenu) > a:link,
.article-menu-list li:not(.submenu) > a:visited,
.article-menu-list li:not(.submenu) > a:hover,
.article-menu-list li:not(.submenu) > a:active {
    color: var(--mylink-color);
    text-decoration: none;
    padding: 2px 0;
    font-weight: bold;
}

.article-menu-list a,
.article-menu-list a:link,
.article-menu-list a:visited,
.article-menu-list a:hover,
.article-menu-list a:active {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 2px 0;
}

.article-menu-list a:hover {
    color: #007bff;
}

.article-menu-title {
    font-weight: bold;
    margin-bottom: 0px;
    color: #333;
}


.article-menu-header {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 10px;
}

.toggle-menu {
    color: #666;
    cursor: pointer;
    font-size: 0.9em;
    text-decoration: none;
    user-select: none;
	margin-left:10px;
}

.toggle-menu:hover {
    color: #007bff;
}

.article-menu-list {
    max-height: 1000px;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 1;
    overflow: hidden;
}

.article-menu-list.hidden {
    max-height: 0;
    opacity: 0;
}