/* Stránka O mně */

.about {
  padding-top: 4px;
}

/* ---------- Můj příběh ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
  margin-top: 2px;
}

.story__photo {
  width: 100%;
  aspect-ratio: 366 / 274;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.story__text {
  padding-top: 16px;
}

.story__text h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
}

/* ---------- Hlavní blok: vzdělání + přístup ---------- */
.about__main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  grid-template-areas: "education approach";
  column-gap: clamp(24px, 4vw, 56px);
  margin-top: 36px;
}

.education > h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
}

/* Můj přístup */
.approach {
  grid-area: approach;
  align-self: start;
  position: relative;
  z-index: 1;
  padding: 18px 22px 20px;
  text-align: center;
  background: rgba(250, 242, 218, 0.92);
}

.approach__lotus {
  width: 48px;
  margin: 0 auto 2px;
}

.approach h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.approach__list {
  display: grid;
  gap: 8px;
  text-align: left;
  font-size: 0.98rem;
  line-height: 1.3;
}

.approach__list li {
  position: relative;
  padding-left: 34px;
}

.approach__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: url("../../img/icons/fajfka.svg") center / contain no-repeat;
}

/* Vzdělání */
.education {
  grid-area: education;
  position: relative;
  z-index: 1;
}

.education__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.education__name {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  color: var(--color-green-dark);
}

.education__subtitle {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.2rem;
}

.education__subtitle--strong {
  font-weight: 500;
}

.schools {
  display: grid;
  gap: 18px;
}

.school {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #f8efd6;
}

.school img {
  width: 40px;
  flex: none;
  margin-top: 4px;
}

.school strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  font-size: 1.12rem;
  color: var(--color-green-dark);
}

.school em {
  display: block;
  line-height: 1.4;
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.courses-column {
  padding-left: clamp(16px, 2vw, 24px);
  border-left: 2px solid rgba(201, 162, 78, 0.6);
}

.courses {
  display: grid;
  gap: 10px;
}

.courses li {
  position: relative;
  padding-left: 52px;
  font-size: 0.92rem;
  line-height: 1.3;
}

.courses li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 30px;
  height: 30px;
  background: url("../../img/icons/lotos.svg") center / contain no-repeat;
}

.courses em {
  display: block;
  font-size: 0.92rem;
}

/* Dekorace: ensó za kartou přístupu a kvetoucí větev vpravo dole */
.about__main::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -60px;
  width: 300px;
  height: 340px;
  background: url("../../img/decor/enso.png") center / contain no-repeat;
  pointer-events: none;
}

.about__blossom {
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 230px;
  pointer-events: none;
}

/* ---------- Responzivita ---------- */
@media (max-width: 1000px) {
  .about__blossom {
    display: none;
  }
}

@media (max-width: 800px) {
  .story {
    grid-template-columns: 1fr;
  }

  .story__text {
    padding-top: 0;
  }

  .about__main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "approach"
      "education";
  }

  .education {
    margin-top: 32px;
  }

  .about__main::before {
    display: none;
  }

  .education__columns {
    grid-template-columns: 1fr;
  }

  .courses-column {
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 2px solid rgba(201, 162, 78, 0.6);
  }
}
