/* =====================================================================
   text module — aa-text-block (schedule-style copy + optional image)
   ===================================================================== */

.aa-text-block {
  background: var(--bg, #f9f7f5);
}

.aa-text-block > .container-xl {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (min-width: 1200px) {
  .aa-text-block > .container-xl {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.aa-text-block__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  max-width: 520px;
}

.aa-text-block__copy--full {
  max-width: none;
  width: 100%;
}

.aa-text-block__intro,
.aa-text-block__body {
  font-size: 16px;
  line-height: 1.6;
  color: #627679;
}

.aa-text-block__intro p,
.aa-text-block__body p {
  margin: 0 0 12px;
}

.aa-text-block__intro p:last-child,
.aa-text-block__body p:last-child {
  margin-bottom: 0;
}

.aa-text-block__img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(29, 53, 51, 0.08);
  background: #eef2f0;
  width: 100%;
}

.aa-text-block__img img {
  width: 100%;
  height: auto;
  display: block;
}

.aa-text-block__img svg {
  width: 100%;
  height: auto;
  display: block;
}

.aa-text-block__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 120px;
  padding: 24px;
  border-radius: 16px;
  background: #eef2f0;
  box-shadow: 0 10px 30px rgba(29, 53, 51, 0.08);
}

.aa-text-block__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  color: #f05d19;
  font-size: 40px;
  line-height: 1;
}

.aa-text-block__visual {
  width: 100%;
}

.aa-text-block__stack .aa-text-block__img {
  max-width: 100%;
}

@media (min-width: 992px) {
  .aa-text-block__row .aa-text-block__copy {
    max-width: 520px;
  }
}
