/* Learner messages wall for pages outside the course shop (e-books). Same rules as
   course-shop.css, keyed on .vw-band instead of body.cs-page. Keep the two in step. */
/* Learner messages: real screenshots on a warm band, all on show */
.vw-band {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(56, 174, 245, .38), transparent 70%),
    radial-gradient(45% 40% at 85% 100%, rgba(255, 193, 31, .12), transparent 70%),
    linear-gradient(180deg, #0B5FA8 0%, #0A3D6E 100%);
  padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px);
}
.vw-band .display { color: var(--white); }
.vw-band .display .accent { color: #FFC11F; }
.vw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; max-width: 1120px; margin: clamp(30px, 3.6vw, 48px) auto 0; }
.vw-card { position: relative; margin: 0; display: flex; flex-direction: column; border-radius: 26px; background: var(--white); box-shadow: 0 1px 2px rgba(0, 20, 50, .2), 0 30px 60px -28px rgba(0, 18, 45, .75); overflow: hidden; }
/* Pinned to the bottom: every message bar sits the same distance from the card edge; spare height goes above the timestamp */
.vw-shot { flex: 1; display: flex; align-items: flex-end; padding: 14px 12px 8px; }
/* The screenshots carry about 22px of white under the message bar (at 588px wide); trim most of it */
.vw-shot img { display: block; width: 100%; height: auto; margin-bottom: -3%; }
.vw-logo { position: absolute; z-index: 1; top: 16px; right: 18px; width: 22px; height: 22px; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.vw-ig { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Ccircle cx='17.4' cy='6.6' r='1.3' fill='black' stroke='none'/%3E%3C/svg%3E"); background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.vw-mailic { --ic: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E"); background: #7A5A33; }
/* The lsany.ae message keeps the look it had in our inbox */
.vw-site .vw-shot { align-items: center; padding: 42px 16px 16px; }
.vw-mail { width: 100%; padding: 16px 18px 18px; border-radius: 20px; background: #F3EFE7; color: #2B1500; font-family: var(--f-body); font-size: 15px; line-height: 1.5; }
.vw-mail p { margin: 0; }
.vw-from { margin-bottom: 6px !important; font-weight: 700; font-size: 13.5px; color: #7A5A33; }
.vw-blur { filter: blur(5px); user-select: none; }
.vw-date { white-space: nowrap; }
.vw-more { display: none; }
/* Phones: one column, first three on show, the rest one tap away so the plans stay close */
@media (max-width: 900px) {
  .vw-grid { grid-template-columns: 1fr; gap: 14px; max-width: 460px; }
  .vw-card { grid-column: auto; }
  .vw-shot { padding: 12px 10px 8px; }
  .vw-site .vw-shot { padding: 42px 14px 16px; }
  .vw-mail { font-size: 15px; padding: 16px 18px 18px; }
  .vw-toggle:not(:checked) ~ .vw-grid .vw-card:nth-child(n+4) { display: none; }
  .vw-more { display: table; margin: 18px auto 0; padding: 12px 22px; border-radius: 999px; background: var(--white); box-shadow: 0 12px 26px -14px rgba(0, 18, 45, .7); font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; }
  .vw-toggle:checked ~ .vw-more { display: none; }
  .vw-toggle:focus-visible ~ .vw-more { outline: 2px solid var(--white); outline-offset: 3px; }
}
