/* Daily EBD discovery surfaces: public, progressive and visually continuous. */
.gl-ebd-discovery {
  --ebd-ink: #12142f;
  --ebd-navy: #17173e;
  --ebd-violet: #4b376c;
  --ebd-gold: #d2a348;
  --ebd-cream: #fbf7ee;
  padding-block: clamp(38px, 6vw, 86px);
}
.gl-ebd-discovery__stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr);
  min-height: 570px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(210,163,72,.2), transparent 29%),
    linear-gradient(135deg, #11152f 0%, #1e1b4d 54%, #49355f 100%);
  border: 1px solid rgba(113,91,169,.36);
  border-radius: 30px;
  box-shadow: 0 34px 76px rgba(23,23,62,.18);
}
.gl-ebd-discovery__stage::before,
.gl-ebd-discovery__stage::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; pointer-events: none; }
.gl-ebd-discovery__stage::before { width: 620px; height: 620px; right: -270px; top: -370px; }
.gl-ebd-discovery__stage::after { width: 410px; height: 410px; right: -160px; top: -260px; }
.gl-ebd-discovery__visual { position: relative; min-height: 100%; overflow: hidden; background: linear-gradient(155deg, #23204f, #11152f); }
.gl-ebd-discovery__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,17,43,.18), rgba(23,23,62,.7)); }
.gl-ebd-discovery__visual img { width: 100%; height: 100%; object-fit: cover; opacity: .78; filter: saturate(.78) contrast(1.06); }
.gl-ebd-discovery__seal { position: absolute; z-index: 2; left: clamp(22px, 4vw, 48px); bottom: clamp(24px, 5vw, 54px); display: grid; width: 106px; min-height: 128px; padding: 16px 12px; place-items: center; color: var(--ebd-ink); background: linear-gradient(155deg, #fffdf7, #f0e4c2); border-radius: 7px 22px 7px 7px; box-shadow: 0 18px 44px rgba(0,0,0,.28); }
.gl-ebd-discovery__seal::before { content: ""; position: absolute; left: -6px; top: 10px; bottom: 10px; width: 5px; border-radius: 3px; background: var(--ebd-gold); box-shadow: -5px 0 0 rgba(255,255,255,.55); }
.gl-ebd-discovery__seal svg { width: 21px; height: 21px; }
.gl-ebd-discovery__seal b { font-family: Georgia, "Times New Roman", serif; font-size: 42px; line-height: .9; }
.gl-ebd-discovery__seal small { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.gl-ebd-discovery__copy { align-self: center; padding: clamp(34px, 5vw, 70px); }
.gl-ebd-discovery__eyebrow { display: flex; gap: 10px; align-items: center; margin: 0 0 17px; color: #ebc77f; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gl-ebd-discovery__eyebrow::after { content: ""; width: 48px; height: 1px; background: var(--ebd-gold); }
.gl-ebd-discovery__eyebrow svg { width: 18px; height: 18px; }
.gl-ebd-discovery__copy h2 { max-width: 760px; margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 66px); font-weight: 700; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.gl-ebd-discovery__theme { margin: 18px 0 0; color: #e9e2f2; font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 2vw, 23px); font-style: italic; }
.gl-ebd-discovery__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 0; color: #c9c2da; font-size: 13px; }
.gl-ebd-discovery__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--ebd-gold); }
.gl-ebd-discovery__moment { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline; margin: 30px 0 0; padding: 18px 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-left: 3px solid var(--ebd-gold); border-radius: 4px 14px 14px 4px; }
.gl-ebd-discovery__moment span { grid-row: span 2; align-self: center; color: #e9c679; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gl-ebd-discovery__moment strong { min-width: 0; color: #fff; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gl-ebd-discovery__moment small { color: #beb7d0; }
.gl-ebd-discovery__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.gl-ebd-discovery__actions a { display: inline-flex; min-height: 48px; padding: 0 20px; gap: 10px; align-items: center; justify-content: center; border-radius: 6px; font-size: 13px; font-weight: 800; text-decoration: none; }
.gl-ebd-discovery__primary { color: #11142c; background: linear-gradient(135deg, #e1bb67, #c69332); box-shadow: 0 12px 28px rgba(210,163,72,.19); }
.gl-ebd-discovery__secondary { color: #fff; border: 1px solid rgba(255,255,255,.28); }
.gl-ebd-discovery__actions svg { width: 16px; }
.gl-ebd-discovery__progress { min-height: 45px; margin-top: 23px; color: #c9c2da; font-size: 12px; }
.gl-ebd-discovery__progress > div { height: 4px; margin-top: 9px; overflow: hidden; background: rgba(255,255,255,.13); border-radius: 4px; }
.gl-ebd-discovery__progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--ebd-gold), #f0d796); transition: width .35s ease; }
.gl-ebd-discovery__days { display: grid; grid-template-columns: repeat(7,1fr); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.gl-ebd-discovery__days li { display: grid; gap: 6px; justify-items: center; color: #9f98b5; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.gl-ebd-discovery__days li > span[aria-hidden] { width: 9px; height: 9px; border: 1px solid #77708e; border-radius: 50%; }
.gl-ebd-discovery__days li.is-published > span[aria-hidden] { border-color: var(--ebd-gold); background: var(--ebd-gold); box-shadow: 0 0 0 4px rgba(210,163,72,.1); }
.gl-ebd-discovery__days li.is-today { color: #fff; }
.gl-ebd-discovery__days li.is-today > span[aria-hidden] { box-shadow: 0 0 0 5px rgba(255,255,255,.13); }
.gl-ebd-discovery a:focus-visible,
.gl-mega-menu__daily a:focus-visible,
.gl-reading-ebd-week a:focus-visible,
.gl-reader-ebd a:focus-visible { outline: 3px solid #e1bb67; outline-offset: 4px; }

/* Existing mega menu gains one compact continuity band without replacing it. */
.gl-mega-menu__daily { display: grid; grid-template-columns: auto minmax(0,1fr) 116px auto; gap: 14px; align-items: center; margin-top: 16px; padding: 14px 16px; color: #fff; background: linear-gradient(120deg, #17173e, #332657); border: 1px solid rgba(202,170,101,.26); border-radius: 13px; }
.gl-mega-menu__daily-mark { display: grid; width: 40px; height: 46px; place-items: center; color: #d7ad58; background: rgba(255,255,255,.08); border-radius: 5px 13px 5px 5px; }
.gl-mega-menu__daily-mark svg { width: 19px; }
.gl-mega-menu__daily > div:nth-child(2) { display: grid; min-width: 0; gap: 2px; }
.gl-mega-menu__daily small { color: #d7ad58; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gl-mega-menu__daily strong { overflow: hidden; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.gl-mega-menu__daily span { color: #c3bbd3; font-size: 10px; }
.gl-mega-menu__daily-progress { display: grid; gap: 5px; text-align: right; }
.gl-mega-menu__daily-progress > span { color: #fff; }
.gl-mega-menu__daily-progress i { display: block; height: 3px; overflow: hidden; background: rgba(255,255,255,.14); border-radius: 3px; }
.gl-mega-menu__daily-progress i b { display: block; width: 0; height: 100%; background: #d7ad58; }
.gl-mega-menu__daily > a { display: inline-flex; gap: 8px; align-items: center; color: #17172f; background: #d7ad58; border-radius: 5px; padding: 10px 13px; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.gl-mega-menu__daily > a svg { width: 13px; }

/* Sunday lesson continuity module. */
.gl-reading-ebd-week { color: #fff; background: #12142f; border-top: 1px solid #c89a42; }
.gl-reading-ebd-week__inner { display: grid; grid-template-columns: auto minmax(0,1fr) 150px auto; gap: 20px; align-items: center; padding-block: 24px; }
.gl-reading-ebd-week__mark { display: grid; width: 52px; height: 60px; place-items: center; color: #d6aa54; background: linear-gradient(145deg, #312451, #201b45); border: 1px solid rgba(214,170,84,.34); border-radius: 6px 18px 6px 6px; }
.gl-reading-ebd-week__mark svg { width: 22px; }
.gl-reading-ebd-week__copy small { color: #d8ad59; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.gl-reading-ebd-week__copy h2 { margin: 4px 0 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(20px,2vw,28px); line-height: 1.08; }
.gl-reading-ebd-week__copy p { margin: 5px 0 0; color: #bbb5cc; font-size: 12px; }
.gl-reading-ebd-week__progress { display: grid; gap: 7px; color: #d8d3e2; font-size: 11px; }
.gl-reading-ebd-week__progress i { display: block; height: 4px; overflow: hidden; background: #393751; border-radius: 4px; }
.gl-reading-ebd-week__progress i b { display: block; width: 0; height: 100%; background: #d4a34c; }
.gl-reading-ebd-week__inner > a { display: inline-flex; gap: 9px; align-items: center; padding: 13px 16px; color: #15152f; background: #d8ad59; border-radius: 5px; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.gl-reading-ebd-week__inner > a svg { width: 14px; }
.gl-reading-ebd-week__days { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.1); list-style: none; }
.gl-reading-ebd-week__days li { min-width: 0; }
.gl-reading-ebd-week__days li > a,
.gl-reading-ebd-week__days li > span { display: grid; min-height: 64px; gap: 4px; align-content: center; padding: 9px 11px; color: #fff; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.07); border-radius: 7px; text-decoration: none; }
.gl-reading-ebd-week__days li > a:hover { background: rgba(255,255,255,.1); }
.gl-reading-ebd-week__days li span,
.gl-reading-ebd-week__days li b { color: #d8ad59; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.gl-reading-ebd-week__days li strong { overflow: hidden; color: #fff; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.gl-reading-ebd-week__days li small { color: #aaa4b9; font-size: 9px; line-height: 1.35; }

/* The general reader area; /biblia/minha-leitura/ remains untouched. */
.gl-reader-ebd { color: #fff; background: radial-gradient(circle at 92% 8%, rgba(210,163,72,.17), transparent 28%), linear-gradient(135deg,#151735,#302552) !important; border-color: #40345e !important; }
.gl-reader-ebd::before { background: linear-gradient(90deg,#d5a64e,#7b61ba) !important; }
.gl-reader-ebd .gl-reader-section-head h2,
.gl-reader-ebd .gl-reader-section-head p { color: #fff; }
.gl-reader-ebd .gl-reader-section-head > div > p:last-child { color: #c7c0d4; }
.gl-reader-ebd .gl-reader-section-mark { color: #e0b85f; background: rgba(255,255,255,.08); }
.gl-reader-ebd__current { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 20px; align-items: center; margin-top: 26px; padding: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 15px; }
.gl-reader-ebd__lesson { display: grid; width: 64px; height: 72px; place-items: center; color: #17172f; background: #f4e7c7; border-radius: 6px 19px 6px 6px; font-family: Georgia,"Times New Roman",serif; font-size: 27px; font-weight: 700; }
.gl-reader-ebd__current > div { min-width: 0; }
.gl-reader-ebd__current small { color: #d9b15b; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gl-reader-space .gl-reader-ebd .gl-reader-ebd__current h3 { margin: 5px 0 0; overflow: hidden; color: #fff; font-family: Georgia,"Times New Roman",serif; font-size: 23px; text-overflow: ellipsis; white-space: nowrap; }
.gl-reader-ebd__current p { margin: 4px 0 0; color: #beb8cb; font-size: 12px; }
.gl-reader-ebd__current > a { display: inline-flex; gap: 8px; align-items: center; padding: 13px 16px; color: #16162f; background: #d7aa52; border-radius: 5px; font-size: 12px; font-weight: 800; text-decoration: none; }
.gl-reader-ebd__current > a svg { width: 14px; }
.gl-reader-ebd__bar { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.gl-reader-ebd__bar i { display: block; width: min(280px,55%); height: 4px; overflow: hidden; background: rgba(255,255,255,.15); border-radius: 4px; }
.gl-reader-ebd__bar i b { display: block; width: 0; height: 100%; background: #d7aa52; }
.gl-reader-ebd__bar span { color: #d7d1e1; font-size: 11px; }
.gl-reader-ebd__history { margin-top: 25px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.gl-reader-ebd__history h3 { margin: 0 0 12px; color: #fff; font-size: 15px; }
.gl-reader-ebd__history > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.gl-reader-ebd__history a { display: grid; gap: 3px; padding: 13px; color: #fff; background: rgba(255,255,255,.06); border-radius: 9px; text-decoration: none; }
.gl-reader-ebd__history a span { color: #d9b15b; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.gl-reader-ebd__history a strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.gl-reader-ebd__history a small { color: #aaa3ba; font-size: 9px; }

@media (max-width: 900px) {
  .gl-ebd-discovery__stage { grid-template-columns: 1fr; min-height: 0; }
  .gl-ebd-discovery__visual { min-height: 270px; }
  .gl-ebd-discovery__visual::after { background: linear-gradient(180deg,rgba(17,21,47,.08),#17173e); }
  .gl-ebd-discovery__copy { padding-top: 20px; }
  .gl-mega-menu__daily { grid-template-columns: auto minmax(0,1fr) auto; }
  .gl-mega-menu__daily-progress { display: none; }
  .gl-reading-ebd-week__inner { grid-template-columns: auto minmax(0,1fr) auto; }
  .gl-reading-ebd-week__progress { display: none; }
  .gl-reading-ebd-week__days { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .gl-ebd-discovery { padding-block: 28px; }
  .gl-ebd-discovery__stage { border-radius: 20px; }
  .gl-ebd-discovery__visual { min-height: 220px; }
  .gl-ebd-discovery__seal { width: 84px; min-height: 104px; }
  .gl-ebd-discovery__seal b { font-size: 34px; }
  .gl-ebd-discovery__copy { padding: 24px 20px 28px; }
  .gl-ebd-discovery__copy h2 { font-size: clamp(33px,11vw,48px); }
  .gl-ebd-discovery__moment { grid-template-columns: 1fr; }
  .gl-ebd-discovery__moment span { grid-row: auto; }
  .gl-ebd-discovery__actions { display: grid; }
  .gl-ebd-discovery__actions a { width: 100%; }
  .gl-mega-menu__daily { grid-template-columns: auto 1fr; }
  .gl-mega-menu__daily > a { grid-column: 1 / -1; justify-content: center; }
  .gl-reading-ebd-week__inner { grid-template-columns: auto minmax(0,1fr); gap: 14px; }
  .gl-reading-ebd-week__inner > a { grid-column: 1 / -1; justify-content: center; }
  .gl-reading-ebd-week__days { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gl-reader-ebd__current { grid-template-columns: auto minmax(0,1fr); padding: 17px; }
  .gl-reader-ebd__current > a { grid-column: 1 / -1; justify-content: center; }
  .gl-reader-ebd__history > div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .gl-ebd-discovery__progress i { transition: none; }
}
