/*
 Theme Name:   pravda
 Theme URI:	http://example.com/astra-child
 Description:  Pravda custom styles
 Author:   	Marcel Pytlewski
 Author URI:   https://www.wpastra.com
 Template: 	astra
 Version:  	1.0.0
 License:  	GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:     	astra
 Text Domain:  astrachild
*/

figcaption.wp-element-caption {
  font-size: 14px;
}

ul.tldr {
  padding: 25px 45px;
  border-radius: 15px;
  background-color: #161d51;
  color: white;
  margin: 0 0 1.5em 0em;
}
ul.tldr a {
  color: var(--ast-global-color-4);
  text-decoration: underline;
  text-decoration-color: var(--ast-global-color-4);
}

ul.tldr:first-child::before {
  content: "W skrócie";
  display: block;
  font-size: 1.5rem; /* Adjust the size */
  line-height: 2em;
  font-weight: bold; /* Style as desired */
  margin-bottom: 10px; /* Adjust space between the text and the list */
}


/* Zdjęcia członków */

#czlonkowie-kontener img {
	aspect-ratio: 27/34;
	object-fit: cover;
}

/*Carousel fix */
picture.swiper-slide-image > img {
	border-radius: 15px
}
/* Border radius on homepage  */

.uael-post__bg-wrap{
	overflow: hidden;
	border-radius: 15px;
}


/* 3 linijki w tytułach */

.truncate-3 {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Redaktorzy */

.pp-author-boxes-avatar {
	display: flex;
	align-items: center;
	margin-right: 24px;
}

.ppma-category-group.ppma-category-group-1::before {
  content: "Tekst autorstwa";
  display: block;
  clear: both;
  box-sizing: inherit;
  padding-left:1.3rem;

  /* h2 */
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  color: var(--ast-global-color-3);
  line-height: 1.3;
  font-size: 1.7em;       
  margin: 20px 0 10px;    
  text-align: left;
}

.ppma-category-group-other-wraps::before {
  content: "Redakcja";
  display: block;
  clear: both;
  box-sizing: inherit;
  padding-left:1.3rem;

  /* h2 */
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  color: var(--ast-global-color-3);
  line-height: 1.3;
  font-size: 1.7em;       
  margin: 20px 0 10px;    
  text-align: left;
}

/* match your medium-breakpoint sizes */
@media (max-width: 1244px) {
  .ppma-category-group-other-wraps::before {
    font-size: 40px;
  }
}
@media (max-width: 921px) {
  .ppma-category-group-other-wraps::before {
    font-size: 25px;
  }
}
@media (max-width: 544px) {
  .ppma-category-group-other-wraps::before {
    font-size: 30px;
  }
}

/* Info o wieku posta */
.post-age-notice {
  display: flex;
  align-items: center;
  background-color: var(--e-global-color-astglobalcolor2);
  border-radius: 15px;
  padding: 1em;
  margin-bottom: 1.5em;
}
.post-age-notice .notice-icon {
  background: none;
  width: auto;
  height: auto;
  font-size: 32px;
  line-height: 1;
  margin-right: 15px;
  color: var(--ast-global-color-0); 
}
.post-age-notice .notice-text {
  color: #1c1c1c !important;
  line-height: 1.4;
}


/* Wyniki wyszukiwania */
.e-loop-nothing-found-message__text{
  display: block;
  clear: both;
  box-sizing: inherit;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  font-size: 1.7em;       
  margin: 20px 0 10px;    
  text-align: center;
}
body.search-results #alternatywy{
    display: none;
}


/* Zdjęcia autorów w boxie */

.pp-author-boxes-avatar img,
.pp-author-boxes-avatar picture img {
	object-fit:cover!important;
}

figure.wp-block-image picture img {
	width: inherit
}