/* Anthares Studio: editorial discovery and project-linked lessons. */
.aest-g7-editorial-page,
.aest-g7-course-guide {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 36px);
  color: inherit;
}
.aest-g7-editorial-grid,
.aest-g7-course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  margin-top: 24px;
}
.aest-g7-editorial-section,
.aest-g7-course-step {
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(127, 144, 155, 0.36);
  border-radius: 14px;
  background: rgba(127, 144, 155, 0.055);
  box-shadow: 0 6px 24px rgba(10, 18, 24, 0.045);
}
.aest-g7-editorial-section h2,
.aest-g7-course-step h2 {
  margin: 0 0 14px;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.28;
  color: inherit;
}
.aest-g7-editorial-list {
  margin: 0;
  padding-inline-start: 24px;
}
.aest-g7-editorial-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(127, 144, 155, 0.19);
  overflow-wrap: anywhere;
}
.aest-g7-editorial-list li:last-child { border-bottom: 0; }
.aest-g7-editorial-list a {
  font-weight: 650;
  text-underline-offset: 3px;
}
.aest-g7-editorial-list .aest-muted {
  display: block;
  margin-top: 4px;
  font-size: 0.84rem;
  opacity: 0.80;
}
.aest-g7-course-step p { line-height: 1.52; }
.aest-g7-course-step .aest-btn,
.aest-g7-course-step button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  min-height: 40px;
  margin: 5px 8px 5px 0;
  padding: 8px 12px;
  border: 1px solid rgba(127, 144, 155, 0.44);
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.aest-g7-course-step button:disabled { opacity: 0.54; cursor: not-allowed; }
.aest-g7-course-step :is(a, button):focus-visible,
.aest-g7-editorial-list a:focus-visible,
.aest-editorial-like-widget button:focus-visible {
  outline: 3px solid #b48a35;
  outline-offset: 3px;
}
.aest-editorial-like-widget {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin: 24px 0;
  padding: 15px 0;
  border-top: 1px solid rgba(127, 144, 155, 0.45);
  border-bottom: 1px solid rgba(127, 144, 155, 0.45);
}
.aest-editorial-like-widget button {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.aest-editorial-like-widget button[aria-pressed="true"] { font-weight: 700; }
.aest-editorial-like-widget button:disabled { opacity: 0.55; cursor: progress; }
@media (max-width: 680px) {
  .aest-g7-editorial-grid,
  .aest-g7-course-grid { grid-template-columns: minmax(0, 1fr); }
  .aest-g7-editorial-page,
  .aest-g7-course-guide { padding: 14px; }
}
