/* Converted (formerly Avada) pages: sections, toggles, videos, PDF buttons. */
.peak-mc { max-width: 980px; }
.peak-mc-block + .peak-mc-block { margin-top: 48px; }
.peak-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: start; }
.peak-row + .peak-row { margin-top: 24px; }
.peak-mc-title { font-size: 1.6rem; font-weight: 700; color: #0d1b3d; line-height: 1.25; margin: 0 0 16px; }
h3.peak-mc-title { font-size: 1.3rem; }
.peak-mc-text { color: #5a6478; font-size: 1.05rem; line-height: 1.65; }
.peak-mc-text p { margin: 0 0 14px; }
.peak-mc-text a { color: #5a8a9a; text-decoration: underline; }
.peak-mc-img { max-width: 100%; height: auto; border-radius: 10px; display: block; }
.peak-mc-sep { border: 0; border-top: 1px solid #e8e5dd; margin: 32px 0; }
.peak-checklist { list-style: none; padding: 0; margin: 0; }
.peak-checklist li { padding-left: 28px; position: relative; margin-bottom: 10px; color: #5a6478; }
.peak-checklist li::before { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 2px solid #f29040; border-bottom: 2px solid #f29040; transform: rotate(-45deg); }
.peak-video { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; background: #0d1b3d; margin: 0 0 16px; }
.peak-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.peak-accordion { border: 1px solid #e8e5dd; border-radius: 12px; background: #fff; overflow: hidden; }
.peak-toggle + .peak-toggle { border-top: 1px solid #e8e5dd; }
.peak-toggle summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; color: #0d1b3d; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.peak-toggle summary::-webkit-details-marker { display: none; }
.peak-toggle summary::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 2px solid #f29040; border-bottom: 2px solid #f29040; transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px; }
.peak-toggle[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.peak-toggle summary:hover { background: #faf9f6; }
.peak-toggle__body { padding: 4px 20px 20px; }
.peak-toggle__body p { color: #5a6478; }
.peak-pdf { margin: 0 8px 14px 0; }

a.peak-col--link { display: block; text-decoration: none; background: #fff; border: 1px solid #e8e5dd; border-radius: 12px; padding: 24px; transition: border-color .15s ease, transform .15s ease; }
a.peak-col--link:hover { border-color: #5a8a9a; transform: translateY(-2px); }
a.peak-col--link .peak-mc-title { margin-bottom: 6px; }

/* Lesson lists (members pages): one row per lesson, buttons for PDFs and a
   click-to-open video, so a grade with 30+ lessons stays quick to scan. */
.peak-lessons { display: grid; gap: 10px; margin: 4px 0 18px; }
.peak-lesson { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; border: 1px solid #e8e5dd; border-radius: 10px; background: #fff; }
.peak-lesson .peak-lesson__title { margin: 0; font-weight: 600; color: #0d1b3d; line-height: 1.35; flex: 1 1 260px; }
.peak-lesson__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.peak-lesson__btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid #5a8a9a; color: #0d1b3d; background: #fff; font-size: .9rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; }
a.peak-lesson__btn::before { content: ''; width: 10px; height: 12px; border: 1.6px solid currentColor; border-radius: 2px; flex: none; }
.peak-lesson__btn:hover, .peak-lesson__btn:focus-visible { background: #eef4f6; border-color: #0d1b3d; }
.peak-lesson__btn--play { background: #0d1b3d; border-color: #0d1b3d; color: #fff; }
.peak-lesson__btn--play::before { content: ''; width: 0 !important; height: 0 !important; border: 0 !important; border-radius: 0 !important; border-left: 8px solid #f29040 !important; border-top: 5px solid transparent !important; border-bottom: 5px solid transparent !important; flex: none; }
.peak-lesson__btn--play:hover, .peak-lesson__btn--play:focus-visible { background: #1c2d55; border-color: #1c2d55; color: #fff; }
.peak-lesson__btn--play.is-playing { background: #f29040; border-color: #f29040; color: #0d1b3d; }
.peak-lesson__btn--play.is-playing::before { border-left-color: #0d1b3d !important; }
.peak-lesson__player { flex: 1 1 100%; max-width: 760px; }
.peak-lesson__player .peak-video { margin: 4px 0 2px; }
.peak-lesson .screen-reader-text, .peak-lesson-search .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.peak-lesson-search { position: sticky; top: 72px; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 0; margin: 0 0 20px; background: var(--pk-bg, #f7f6f2); }
.peak-lesson-search input { flex: 1; max-width: 520px; padding: 12px 16px; border: 1px solid #c9d6db; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; }
.peak-lesson-search input:focus { outline: 2px solid #5a8a9a; outline-offset: 1px; }
.peak-lesson-search__count { color: #5a6478; font-size: .9rem; }
.peak-lesson.is-hidden, .peak-toggle.is-hidden, .peak-mc-title.is-hidden { display: none; }
@media (max-width: 600px) { .peak-lesson { padding: 12px; } .peak-lesson__btn { white-space: normal; } }
.admin-bar .peak-lesson-search { top: 104px; } @media (max-width: 782px) { .admin-bar .peak-lesson-search { top: 118px; } }

/* Student Success hub — "Your programs" band for logged-in members */
.peak-yours { background: #e6eef1; color: #0d1b3d; padding: 40px 24px 36px; border-bottom: 1px solid #d3e0e5; }
.peak-yours .pk-eyebrow { color: #c4651a; }
.peak-yours__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 22px; }
.peak-yours__head h2 { color: #0d1b3d; font-size: 1.7rem; margin: 6px 0 4px; line-height: 1.2; }
.peak-yours__meta { margin: 0; color: #4a6672; font-size: .95rem; }
.peak-yours__all { color: #0d1b3d; font-weight: 600; text-decoration: none; border-bottom: 2px solid #f29040; padding-bottom: 2px; }
.peak-yours__all:hover { color: #5a8a9a; }
.peak-yours__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.peak-yours__card { background: #fff; color: #0d1b3d; border-radius: 14px; padding: 18px 18px 14px; border-top: 4px solid #f29040; box-shadow: 0 6px 18px rgba(13,27,61,.07); }
.peak-yours__card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.peak-yours__badge { width: 40px; height: 40px; flex: none; }
.peak-yours__card h3 { margin: 0; font-size: 1.1rem; line-height: 1.25; color: #0d1b3d; }
.peak-yours__links { list-style: none; margin: 0; padding: 0; }
.peak-yours__links li + li { border-top: 1px solid #ece9e1; }
.peak-yours__links a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 2px; color: #0d1b3d; font-weight: 600; text-decoration: none; }
.peak-yours__links a span { color: #f29040; }
.peak-yours__links a:hover { color: #5a8a9a; }
.peak-yours__empty { margin: 0; color: #5a6478; font-size: .95rem; }
.peak-yours__notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: #fff; border: 1px solid #d3e0e5; border-radius: 12px; padding: 16px 18px; }
.peak-yours__notice p { margin: 0; color: #0d1b3d; }
.peak-yours__note { margin: 18px 0 0; color: #4a6672; font-size: .92rem; }
.pk-card.is-owned { position: relative; box-shadow: 0 0 0 2px #f29040; }
.peak-owned-tag { position: absolute; top: 14px; right: 14px; background: #f29040; color: #0d1b3d; font-size: .75rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; z-index: 2; }

/* Section headings on lesson pages (e.g. "Tier 3 ELA", "Tier 3 Math", "Growth Mindset Thinking"):
   clear breathing room above, short orange rule so each section starts visibly. */
.peak-mc--lessons > .peak-mc-title { margin: 72px 0 20px; font-size: 1.75rem; }
.peak-mc--lessons > .peak-mc-title::before { content: ''; display: block; width: 44px; height: 4px; border-radius: 2px; background: #f29040; margin-bottom: 14px; }
.peak-mc--lessons > .peak-mc-title:first-child, .peak-mc--lessons > .peak-lesson-search + .peak-mc-title { margin-top: 8px; }
.peak-mc--lessons > .peak-video + .peak-accordion, .peak-mc--lessons > .peak-mc-text + .peak-accordion { margin-top: 24px; }
.peak-mc--lessons > .peak-accordion + .peak-accordion { margin-top: 16px; }
@media (max-width: 600px) { .peak-mc--lessons > .peak-mc-title { margin-top: 56px; font-size: 1.5rem; } }
