/* Shared seven-category definition list. All text remains server-rendered card data.
   Fixed decorative image boxes reserve their space before the PNGs load. */
.rtl-lesson .rtl-lesson-glance {
  --rtl-panel-ivory: #fffaf0;
  --rtl-panel-gold: #b99863;
  --rtl-panel-heading: #735127;
  --rtl-panel-plum: #2f162b;
  --rtl-panel-icon: 76px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 54px 16px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 58px 0 0;
  font-family: inherit;
}
.rtl-lesson .rtl-lesson-glance > div,
.rtl-lesson .rtl-lesson-glance > div:first-child,
.rtl-lesson .rtl-lesson-glance > div:nth-child(odd),
.rtl-lesson .rtl-lesson-glance > div:nth-child(5) {
  position: relative;
  min-width: 0;
  min-height: 242px;
  padding: 52px 12px 24px;
  text-align: center;
  background: var(--rtl-panel-ivory);
  border: 1px solid var(--rtl-panel-gold);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgb(47 22 43 / 6%);
}
.rtl-lesson .rtl-lesson-glance > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--rtl-panel-icon);
  height: var(--rtl-panel-icon);
  box-sizing: border-box;
  border: 1px solid var(--rtl-panel-gold);
  border-radius: 50%;
  background-color: var(--rtl-panel-ivory);
  background-image: var(--rtl-panel-symbol);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 52px 52px;
  box-shadow: 0 3px 10px rgb(47 22 43 / 5%);
}
/* Media Library originals: Card number, Element, Planet, Zodiac,
   Archetype, Keywords, Core energy. All seven originals are square PNGs. */
.rtl-lesson .rtl-lesson-glance > div:nth-child(1) { --rtl-panel-symbol: url("https://rasheancollective.com/wp-content/uploads/2026/10/1.png"); }
.rtl-lesson .rtl-lesson-glance > div:nth-child(2) { --rtl-panel-symbol: url("https://rasheancollective.com/wp-content/uploads/2026/10/1-1.png"); }
.rtl-lesson .rtl-lesson-glance > div:nth-child(3) { --rtl-panel-symbol: url("https://rasheancollective.com/wp-content/uploads/2026/10/1-2.png"); }
.rtl-lesson .rtl-lesson-glance > div:nth-child(4) { --rtl-panel-symbol: url("https://rasheancollective.com/wp-content/uploads/2026/10/1-3.png"); }
.rtl-lesson .rtl-lesson-glance > div:nth-child(5) { --rtl-panel-symbol: url("https://rasheancollective.com/wp-content/uploads/2026/10/1-4.png"); }
.rtl-lesson .rtl-lesson-glance > div:nth-child(6) { --rtl-panel-symbol: url("https://rasheancollective.com/wp-content/uploads/2026/10/1-5.png"); }
.rtl-lesson .rtl-lesson-glance > div:nth-child(7) { --rtl-panel-symbol: url("https://rasheancollective.com/wp-content/uploads/2026/10/1-6.png"); }
.rtl-lesson .rtl-lesson-glance dt {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-height: 44px;
  margin: 0 0 14px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--rtl-panel-heading);
}
.rtl-lesson .rtl-lesson-glance dt::after {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  margin-top: 12px;
  background: var(--rtl-panel-gold);
}
.rtl-lesson .rtl-lesson-glance dd {
  margin: 0;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--rtl-panel-plum);
  overflow-wrap: break-word;
}
@media (min-width: 1200px) {
  .rtl-lesson .rtl-lesson-glance {
    width: min(1320px, calc(100vw - 64px));
    max-width: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .rtl-lesson .rtl-lesson-glance { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .rtl-lesson .rtl-lesson-glance > div { padding-inline: 8px; }
  .rtl-lesson .rtl-lesson-glance dd { font-size: 17px; }
}
@media (min-width: 768px) and (max-width: 959px) {
  .rtl-lesson .rtl-lesson-glance { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .rtl-lesson .rtl-lesson-glance {
    --rtl-panel-icon: 64px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px 14px;
    margin-top: 46px;
  }
  .rtl-lesson .rtl-lesson-glance > div,
  .rtl-lesson .rtl-lesson-glance > div:first-child,
  .rtl-lesson .rtl-lesson-glance > div:nth-child(odd),
  .rtl-lesson .rtl-lesson-glance > div:nth-child(5) {
    min-height: 218px;
    padding: 42px 14px 20px;
  }
  .rtl-lesson .rtl-lesson-glance > div::before { background-size: 44px 44px; }
  .rtl-lesson .rtl-lesson-glance dt { font-size: 10px; letter-spacing: .07em; }
  .rtl-lesson .rtl-lesson-glance dd { font-size: 17px; }
}
@media (max-width: 359px) {
  .rtl-lesson .rtl-lesson-glance { grid-template-columns: minmax(0, 1fr); }
}
