/* ================================================================
   EDU-SECTION STYLES
   Add this as a separate <link> or paste into your main CSS.
   Matches your existing colour tokens, fonts, and button styles.
   ================================================================ */

/* ── Outer band ─────────────────────────────────────────────── */
.edu-section {
  width: 100%;
  padding: 1rem 0;
}

/* Centred container — mirrors your .container */
.edu-section__inner {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* Optional section heading — matches your .weekh2 */
.edu-section__heading {
  text-align: center;
  color: hsla(313, 74%, 35%, 0.75);
  font-family: Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  border-left: 5px solid #9B177E;   /* your hover-pink accent */
  padding-left: 14px;
  text-align: left;
  margin: 0 0 2rem;
}

/* ── Content block (image + text side-by-side) ──────────────── */
.edu-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;                            /* gap handled by padding inside panes */
  align-items: stretch;
  border: 1px solid #ccc;            /* matches your .board-box border */
  border-radius: 8px;                /* matches your .board-box radius */
  overflow: hidden;
  margin-bottom: 1.75rem;
  background-color: #f9f9f9;         /* matches your .board-box bg */
}

/* Flip variant: swap image to the right */
.edu-block--flipped {
  direction: rtl;
}
.edu-block--flipped > * {
  direction: ltr;
}

/* ── Image / diagram pane ─────────────────────────────────── */
.edu-block__media {
  background: hsl(28, 100%, 92%);    /* your warm navbar peach */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 240px;
}

.edu-block__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;                /* your .doc-img radius */
}

/* ── Text pane ────────────────────────────────────────────── */
.edu-block__body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  border-left: 1px solid #ccc;
}

/* Small label above title — colour from your .weekh3 */
.edu-block__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsla(313, 74%, 35%, 0.60);  /* your .weekh3 pink */
  font-family: Helvetica, Arial, sans-serif;
}

/* Block title — matches your .weekh3 sizing */
.edu-block__title {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: hsla(313, 74%, 35%, 0.60);  /* your .weekh3 colour */
  margin: 0;
  line-height: 1.3;
}

/* Body paragraph */
.edu-block__text {
  font-family: sans-serif;           /* matches your body font-family */
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  margin: 0;
  text-align: justify;               /* matches your .container text-align */
}

/* Bullet list — mirrors your .board-box ul */
.edu-block__list {
  margin: 0;
  padding-left: 20px;                /* your .board-box ul padding-left */
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.edu-block__list li {
  font-size: 14px;
  line-height: 1.6;
  font-family: sans-serif;
  color: #333;
}

/* Tag badges — pill shape from your .download-btn / .group-btn */
.edu-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.edu-tag {
  display: inline-block;
  padding: 3px 14px;
  background: transparent;
  color: #2A1458;                    /* your navbar link purple */
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;               /* your .download-btn radius */
  font-family: Arial, sans-serif;
  letter-spacing: 0.5px;
  border: 2px solid #2A1458;         /* matches your .group-btn border */
  transition: all 0.3s ease;
}
.edu-tag:hover {
  background: #2A1458;
  color: #ffffff;
}

/* ── Full-width text strip (no image) ─────────────────────── */
/* Mirrors your .reflection-box style */
.edu-strip {
  border-left: 5px solid #2A1458;    /* your .reflection-box border */
  background-color: hsla(28, 100%, 92%, 0.5); /* your .reflection-box bg */
  padding: 15px 20px;
  margin-bottom: 1.75rem;
  font-family: sans-serif;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}
.edu-strip p { margin: 0 0 10px; }
.edu-strip p:last-child { margin-bottom: 0; }

/* ── Scroll-in animation (added via JS) ───────────────────── */
.edu-block,
.edu-strip {
  transition: opacity 0.55s ease, transform 0.55s ease;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 650px) {
  .edu-block {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .edu-block__body {
    border-left: none;
    border-top: 1px solid #ccc;
  }
  .edu-block__media {
    min-height: 200px;
  }
  .edu-section__heading {
    font-size: 22px;
  }
}
