.label {
  text-align: center;
  font-size: var(--text-s);
  font-weight: 500;
  text-transform: uppercase;
  color: var(--clr-text-primary);
  border-radius: var(--radius-full);
  padding: 0.4rem 1.8rem;
}

.label-primary {
  background-color: var(--clr-bg-primary-l-2);
}

.label-light {
  background-color: var(--clr-bg-light);
}

/*Tableau de bord - Cards */

.dashboard-card {
  display: flex !important;
  flex-direction: row !important;
  grid-template-columns: 4rem 1fr;
  align-items: center !important;
  border: 1px solid var(--clr-border-primary);
  border-radius: var(--radius-site);
  padding: var(--space-s);
}

.dashboard-card img {
  width: 8rem;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-full);
}

.dashboard-card__content {
  gap: 0;
}

.dashboard-card__meta {
  flex-direction: row !important;
  align-items: center !important;
  font-size: var(--text-s) !important;
}

.dashboard-card__meta .ts-action {
  font-size: var(--text-s) !important;
}

/* Bullet Points */

.bullet-points ul {
  display: flex !important;
  flex-direction: column;
  gap: 0.6em;
  list-style: none;
  margin-block: 0 0.9rem;
  padding: 0;
}

.bullet-points-no-padding ul,
.bullet-points-no-padding li {
  padding: 0;
}

.bullet-points-icon li {
  position: relative;
  padding-left: 28px;
}

.bullet-points-icon ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  -webkit-mask-image: url("/wp-content/uploads/2025/02/Checkbox.svg"); /* Use SVG as a mask */
  mask-image: url("/wp-content/uploads/2025/02/Checkbox.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.bullet-points-icon-primary ul li::before {
  background-color: var(--clr-bg-primary); /* Set the color */
}

.bullet-points-icon-light ul li::before {
  background-color: var(--clr-bg-light); /* Set the color */
}

/*Tableau de bord - Cards */

.status {
  text-align: center;
  font-size: var(--text-s);
  font-weight: 500;
  text-transform: uppercase;

  border-radius: var(--radius-full);
  padding: 0.4rem 1.8rem;
}

.status-publish {
  background-color: rgb(216, 255, 216);
  color: green;
}

.status-unpublished {
  background-color: rgb(210, 210, 210);
  color: rgb(66, 66, 66);
}

.status-draft {
  background-color: rgb(255, 234, 195);
  color: rgb(206, 134, 0);
}

/*Profile pictures*/

.profile-picture {
  flex-shrink: 0;
  height: 5rem;
  width: 5rem;
}

.profile-picture img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-full);
}

/*Icon Size*/

.icon-size-m {
  display: flex !important;
  flex-shrink: 0;
}

.icon-size-m svg {
  width: 5rem;
  height: 5rem;
  fill: var(--clr-bg-primary);
}

/*FAQ*/

.faq-questions details {
  border: 1px solid var(--clr-border-grey-l-1);
  border-radius: 6px;
}

.faq-questions summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 2rem 5rem 2rem 2rem;
  position: relative;
}

.faq-questions p {
  padding: 0 2rem 2rem 2rem;
}

.faq-questions summary::after {
  content: "";
  background-image: url("/wp-content/uploads/2025/02/Arrow-white.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 12px;
  position: absolute;
  right: 2rem;
  top: 2rem;
  border-radius: 50%;
  background-color: var(--clr-bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  transition: all 0.3s ease-in-out;
}

.faq-questions details[open] > summary::after {
  transform: rotate(90deg);
}

/*CTA*/

.global-cta {
  display: grid !important;
  padding: var(--space-m);
  border: 1px solid var(--clr-border-primary);
  border-radius: var(--radius-site);
  align-items: center !important;
}

.global-cta > div:nth-child(1) > svg {
  height: 100px;
}

.global-cta > div:nth-child(2) {
  gap: var(--space-xs);
}

.global-cta > div:nth-child(2) > div > span {
  font-size: var(--text-l);
  font-weight: 600;
}

@media (min-width: 768px) {
  .global-cta {
    grid-template-columns: 100px 1fr 200px;
  }
  .global-cta > div:nth-child(2) > div > p {
    max-width: 80ch;
  }
  .global-cta > div:nth-child(3) {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .global-cta {
    grid-template-columns: 1fr;
  }
  .global-cta > div:nth-child(2) {
    text-align: center;
  }
  .global-cta > div:nth-child(1),
  .global-cta > div:nth-child(3) {
    margin: auto;
  }
}

/*Hero Banner Img */

.hero-banner-img {
  min-height: min(30rem, 30vh);
  background-size: cover;
  background-repeat: no-repeat;
}
