/*
 Theme Name:   Copriciel
 Theme URI:    https://www.copriciel.com
 Description:  Child theme of for Copriciel modifications
 Author:       Copriciel
 Author URI:   https://www.copriciel.com
 Template:     kadence
 Version:      1.0.0
 Text Domain:  copriciel
*/

/* Horizontal layout */
#archive-container .entry.loop-entry {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

/* Image (thumbnail) */
#archive-container .entry.loop-entry .post-thumbnail {
  flex: 0 0 250px;
  max-width: 250px;
	height: 100%;
	padding-bottom: 0;
}

#archive-container .entry.loop-entry .post-thumbnail img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

#archive-container .entry.loop-entry div.entry-content-wrap header.entry-header h2.entry-title {
	line-height: 1.2em;
}

#archive-container .entry.loop-entry .entry-content-wrap header.entry-header {
	margin-bottom: 0em;
}

#archive-container .entry.loop-entry div.entry-content-wrap div.entry-summary, .entry.loop-entry div.entry-content-wrap div.entry-summary p {
	margin: 0;
}

#archive-container .entry.loop-entry div.entry-content-wrap footer.entry-footer div.entry-actions p.more-link-wrap {
	margin: 0.5em;
	text-align: right;
}

#archive-container .entry.loop-entry .entry-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 10px 0 0;
}

/* Responsive : image on top */
@media (max-width: 768px) {
  #archive-container .entry.loop-entry {
    flex-direction: column;
  }

  #archive-container .entry.loop-entry .post-thumbnail {
    max-width: 100%;
    width: 100%;
  }

  #archive-container .entry.loop-entry .post-thumbnail img {
    width: 100%;
    height: auto;
  }
}

/* Breadcrumb styled like taxonomies */
.kadence-bc-home span {
    font-size: 0; /* hide "Accueil" text */
}

.kadence-bc-home span::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 0.25rem;
    background: no-repeat center / contain;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"><path d="M3 9.75L12 3l9 6.75V21a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-5H10v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9.75z"/></svg>');
}

.kadence-breadcrumb-container {
    margin-bottom: .5em;
    letter-spacing: .05em;
    font-size: 70%;
    text-transform: uppercase;
}

.kadence-breadcrumb-container a {
    text-decoration: none;
    font-weight: bold;
		color: var(--global-palette-highlight) !important; /* override */
}

.kadence-breadcrumb-container .bc-delimiter {
	margin: 0 .25em;
}

