/*--------------------------------------------------------------
# ARCHIVE

For blog page and archives pages like category, author etc.. 
ONLY for post type = post 
ADD your own stylesheet for custom post type archive 
OR, if it uses sames styles, add it to enqueue style function in functions.php 

--------------------------------------------------------------*/

/* LOAD MORE */

.loadmore-container {
  margin: 35px 0 70px;
  text-align: center;
}

.mahii-loadmore {
  display: inline-block;
  padding: 15px 30px;
  background-color: #000;
  color: #fff;
  transition: all 0.4s;
}

.mahii-loadmore.loading {
  display: none !important;
}

.mahii-loadmore:hover {
  cursor: pointer;
  background-color: #333;
  color: #fff;
}
/* loader */
.loarder-container {
  padding: 25px 0 65px;
  text-align: center;
}

.loader-05 {
  display: inline-block;
  width: 40px;
  height: 40px;
  color: inherit;
  vertical-align: middle;
  pointer-events: none;
  border: 5px solid #000;
  border-top-color: #333;
  border-radius: 50%;
  animation: 1s loader-05 linear infinite;
  position: relative;
}

@keyframes loader-05 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.blog .post-list article,
.archive .post-list article {
  box-shadow: 2px 2px 10px 0 var(--accent-color);
  position: relative;
  margin-bottom: 16px;
}

.blog .post-list article .entry-content,
.archive .post-list article .entry-content {
  padding: 24px 66px 32px;
}

.blog .post-list article h3,
.archive .post-list article h3 {
  text-align: center;
}

.blog .post-list article h3 a,
.archive .post-list article h3 a {
  text-decoration: none;
}

.blog .post-list article .section-btn,
.archive .post-list article .section-btn {
  margin: 0 auto;
}

.blog .post-list article p,
.archive .post-list article p {
  margin: 11px 0 16px;
  text-align: center;
}

.blog .post-list article img,
.archive .post-list article img {
  width: 100%;
  height: 222px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 1024px) {
  .blog .post-list,
  .archive .post-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .blog .post-list article,
  .archive .post-list article {
    width: calc(33% - 8px);
  }
}

.post-type-archive-video .post-list article:before {
  display: block;
  content: "";
  position: absolute;
  top: 73px;
  left: 52%;
  transform: translateX(-50%) rotate(90deg);
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 69px solid var(--accent-color);
  z-index: 1;
  filter: blur(4px);
  opacity: 0.85;
}

.post-type-archive-video .post-list article:after {
  display: block;
  content: "";
  position: absolute;
  top: 71px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 69px solid var(--white);
  z-index: 2;
}

.header-blog #breadcrumbs a {
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
}

.header-blog #breadcrumbs span {
  font-weight: 400;
  color: var(--white);
}

/* DIGI FORMATION */

.digiforma-card-grid-page .digiforma-card-grid-filter-label {
  justify-content: space-between;
  gap: 8px;
}

.digiforma-card-grid-page .digiforma-card-grid-filter-label select {
  border: none;
  position: relative;
  border-bottom: 1px solid var(--accent-color);
}

.digiforma-card-grid-page .digiforma-card-grid-filter-label select {
  border-bottom: none;
  background: linear-gradient(
    to right,
    var(--second-graduate-color-primary),
    var(--second-graduate-color-secondary)
  );
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: bottom;
}

.digiforma-card-grid-page .digiforma-card-grid-filter-label span,
.digiforma-card-grid-page
  .digiforma-card-grid-filter-label
  .filter-search.digiforma-card-grid-search,
.filter-search.digiforma-card-grid-search span {
  font-weight: 600;
}

.digiforma-formation-page-header-breadcrumb {
  display: flex;
  gap: 4 px;
}

.digiforma-formation-page-header-breadcrumb a {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
}

.header.digiforma-card-grid-header {
  min-height: 500px;
}

.digiforma-bandeau-chiffre-desc {
  color: var(--text-color);
}

.filter-search.digiforma-card-grid-search {
  gap: 8px;
}

.filter-search.digiforma-card-grid-search input {
  border: none;
  border-bottom: 1px solid var(--accent-color);
  padding: 12px 18px;
}

.graduate .filter-search.digiforma-card-grid-search input {
  border-bottom: none;
  background: linear-gradient(
    to right,
    var(--second-graduate-color-primary),
    var(--second-graduate-color-secondary)
  );
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: bottom;
}

.filter-search.digiforma-card-grid-search input:focus {
  outline: none;
}

.card-info.digiforma-card-grid-card-info {
  color: var(--text-color);
}

.digiforma-card-grid-card-sessions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 16px;
}

.detail-tag.digiforma-card-grid-card-duration {
  display: flex;
  align-items: center;
  gap: 4px;
}

.detail-tag.digiforma-card-grid-card-duration svg {
  stroke: var(--secondary-color) !important;
}
.program .digiforma-btn {
  font-size: 16px;
  font-weight: 600;
}
