/*
 * HOME Daily Scripture links: isolated styles, NOT the superseded full-text card.
 * Activates only with the planned, reviewed Stage B right-hand wrapper.
 */
.home-main .home-dynamic-content .two-columns {
  align-items: start;
}

/* Keep announcements and daily readings adjacent at their natural heights.
 * A tall news card in the other column must never distribute empty space
 * between right-column cards.
 */
.home-main .home-dynamic-content .home-right-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: start;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  height: auto;
}

.home-main .home-dynamic-content .home-right-column > .announce-panel,
.home-main .home-dynamic-content .home-right-column > .home-readings-panel {
  flex: 0 0 auto;
  align-self: stretch;
  margin: 0;
}

.home-main .home-right-column > .announce-panel {
  min-width: 0;
  min-height: 0;
}

.home-main .home-readings-panel {
  padding: 18px 20px;
  min-width: 0;
  min-height: 0;
  height: fit-content;
}

.home-main .home-readings-panel__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 9px;
}

.home-main .home-readings-panel__header h2 {
  margin: 0;
  color: var(--red);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(19px, 2vw, 23px);
  text-transform: uppercase;
}

.home-main .home-readings-panel__header time {
  color: #735e50;
  font-size: 13px;
  white-space: nowrap;
}

/* A single typographic flow: not a grid, list or row of blocks.
 * The browser wraps naturally only when the viewport runs out of width.
 */
.home-main .home-readings-panel__inline {
  display: block;
  margin: 0;
  padding: 0;
  color: #735e50;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.62;
  overflow-wrap: normal;
  word-break: normal;
}

.home-main .home-readings-panel__citation,
.home-main .home-readings-panel__citation-text {
  display: inline;
}

.home-main .home-readings-panel__group {
  display: inline;
  margin-right: 6px;
  color: #80594e;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: inherit;
  white-space: nowrap;
}

.home-main .home-readings-panel__inline a {
  display: inline;
  color: var(--red);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* Separate verse anchors within a compound reading stay part of the same sentence. */
/* Verse links must be allowed to wrap on narrow screens. */
.home-main .home-readings-panel__citation-text a {
  white-space: normal;
}

.home-main .home-readings-panel__inline a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 760px) {
  .home-main .home-dynamic-content .home-right-column,
  .home-main .mobile-announcements-after-hero .home-right-column {
    gap: 12px;
    width: 100%;
  }

  .home-main .home-readings-panel {
    padding: 16px;
    border-radius: 20px;
  }

  .home-main .home-readings-panel__inline {
    font-size: 14px;
    line-height: 1.58;
  }
}
