/* MEDITATII HERO */

.meditatii-hero {
  width: 100%;
  box-sizing: border-box;
  padding: 3.5rem 1.25rem 3rem;
  background-color: #F3EDF1;
  text-align: center;
}

.meditatii-hero-content {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.meditatii-hero h1 {
  max-width: 700px;
  margin: 0 auto 1.25rem;
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  line-height: 1.25;
  font-weight: 700;
  color: #5B2B95;
}

.meditatii-hero p {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.65;
    color: #171515;
}

/*DESCRIPTION SECTION + BENEFITS*/

/* MEDITATII BENEFITS GRID */
.meditatii-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  align-items: start;
  gap: 2rem 0.75rem;

  width: 100%;
  box-sizing: border-box;
  margin: 2.5rem auto 0;
  padding: 0 0.75rem;

  list-style: none;
  color: #5B2B95;
}

/* Each benefit */
.meditatii-benefit {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;

  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Benefit icons */
.meditatii-benefit-icon {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

/*SUBJECT GRID*/

.subjects-section {
  width: 100%;
  box-sizing: border-box;
  padding: 3.5rem 0 3rem;
  background: #F3EDF1;
}

.subjects-section .regular-content-container {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 0;
}

.subjects-intro {
  width: 100%;
  box-sizing: border-box;
  padding: 0 1.25rem;
  text-align: center;
}

.subjects-intro h2 {
  max-width: 22ch;
  margin: 0 auto 1.25rem;
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  line-height: 1.25;
  font-weight: 700;
  color: #5B2B95;
}

.subjects-intro p {
  max-width: 35ch;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  color: black
}

/* SUBJECT GRID — MOBILE */

.subjects-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    width: 90%;
    margin: 2.5rem auto 0;
}

/* SUBJECT CARD */

.subject-card {
  width: 100%;
  min-width: 0;
  color: #171515;
}

.subject-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 2px solid #5B2B95;
  border-radius: 18px;
  box-sizing: border-box;
}


.subject-card-content {
  padding: 0.8rem 0.25rem 0;
}

.subject-card-content p {
  margin: 0 0 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: #171515;
}

/* SELECT LINK */

.subject-card-link {
  display: inline-block;
  color: #5B2B95;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 200ms ease;
}

.subject-card-link:hover {
  color: #8A5BC2;
}

.subject-card-link:focus-visible {
  outline: 3px solid #FFC000;
  outline-offset: 4px;
  border-radius: 2px;
}

.demo-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
  margin: 5rem auto 0;
  padding: 0 1rem;
  text-align: center;
}

.demo-cta h2 {
  margin: 0;
  max-width: 30ch;
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  line-height: 1.3;
  color: #5B2B95;
}

.demo-cta-button {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background-color: #5B2B95;
  color: #F3EDF1;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.demo-cta-button:hover {
  background-color: #8A5BC2;
  /*border-color: #171515;*/
  color: #F3EDF1;
}

/*MEDIA QUERY - DESKTOP*/


@media (min-width: 1200px){


.meditatii-hero {
    padding: 5rem 2rem 4rem;
}

.meditatii-hero h1 {
    font-size: 3rem;
    max-width: 850px;
}

.meditatii-hero p {
    font-size: 1.15rem;
}

/*DESCRIPTION SECTION + BENEFITS - DESKTOP*/

.meditatii-benefits-grid {
    gap: 3rem 1.5rem;
    margin-top: 3.5rem;
    padding: 0 2rem;
    }

.meditatii-benefit {
  font-size: 1.1rem;
  gap: 0.65rem;
}

.meditatii-benefit-icon {
  width: 60px;
  height: 60px;
}

.subjects-intro p {
  width: 90%;
  max-width: none;
  margin: 0 auto;
  font-size: 1.5rem;
}

.subjects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 2.5rem;
  max-width: 1200px;
  width: 90%;
  margin: 3.5rem auto 0;
}

.subjects-section {
  padding: 5rem 0 4rem;
}

.subjects-intro h2 {
  font-size: 3rem;
  max-width: 28ch;
}

.subject-card-image {
  border-radius: 22px;
}

.subject-card-content {
  padding: 1rem 0.25rem 0;
}

.demo-cta-button {
  font-size:1.5rem;
}


}

/* TABLET LANDSCAPE / SMALL TABLETS */

@media (min-width: 700px) and (max-width: 1199px) {

    .subjects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
        width: 90%;
        max-width: 1000px;
    }

}