/* Compact mobile rows in the archive and recent articles. */
@media(width < 1024px){
 :is(.ed-page .ed-edition-stream,.ed-page.ed-archive-view) .ed-grid{grid-template-columns:minmax(0,1fr);gap:7px}
 :is(.ed-page .ed-edition-stream,.ed-page.ed-archive-view) .ed-grid .ed-card:not(.ed-lead){
  display:grid;grid-template-columns:clamp(56px,19vw,88px) minmax(0,1fr);align-items:stretch;min-width:0
 }
 :is(.ed-page .ed-edition-stream,.ed-page.ed-archive-view) .ed-grid .ed-card-media{
  height:100%;width:100%;min-height:0;aspect-ratio:auto
 }
 :is(.ed-page .ed-edition-stream,.ed-page.ed-archive-view) .ed-grid .ed-card-body{
  min-width:0;padding:7px 8px;gap:4px
 }
 :is(.ed-page .ed-edition-stream,.ed-page.ed-archive-view) .ed-grid .ed-card-meta{
  display:flex;flex-wrap:wrap;gap:3px 5px;font-size:10px
 }
 :is(.ed-page .ed-edition-stream,.ed-page.ed-archive-view) .ed-grid .ed-card h2{
  margin:0;font-size:clamp(15px,4vw,19px);line-height:1.18;overflow-wrap:anywhere
 }
 :is(.ed-page .ed-edition-stream,.ed-page.ed-archive-view) .ed-grid .ed-card-body>p{
  margin:0;font-size:12px;line-height:1.35
 }
 :is(.ed-page .ed-edition-stream,.ed-page.ed-archive-view) .ed-grid :is(.ed-card-actions,.ed-card-metrics){flex-wrap:wrap;gap:3px}
 :is(.ed-page .ed-edition-stream,.ed-page.ed-archive-view) .ed-grid .ed-card-more{min-height:26px;padding:3px 7px;font-size:11px}
 :is(.ed-page.ed-covers-off .ed-edition-stream,.ed-page.ed-covers-off.ed-archive-view) .ed-grid .ed-card:not(.ed-lead){grid-template-columns:minmax(0,1fr)}
 .ed-page .ed-footer nav .ed-back-top{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 14px;
  border:1px solid var(--ed-brass);border-radius:11px;color:var(--ed-ink);
  background:linear-gradient(145deg,var(--journal-sky),var(--ed-surface));
  box-shadow:0 3px 10px #0002;text-decoration:none
 }
 .ed-back-top span{display:grid;place-items:center;width:23px;height:23px;margin-inline-start:8px;border-radius:6px;background:var(--ed-brass);color:var(--ed-bg)}
 .ed-page .ed-footer nav .ed-back-top:focus-visible{outline:2px solid var(--ed-brass);outline-offset:3px}
}

@media(min-width:1024px){
 .ed-page :is(.ed-spiritual-panel>.ed-spiritual-grid,.ed-edition-stream>.ed-grid,.ed-category-feed .ed-archive-results>.ed-grid){
  display:flex;flex-direction:column;gap:5px;overflow:visible;padding-bottom:0
 }
 .ed-page :is(.ed-spiritual-grid,.ed-edition-stream>.ed-grid,.ed-category-feed .ed-archive-results>.ed-grid) .ed-card{
  display:grid;grid-template-columns:80px minmax(0,1fr)
 }
 .ed-page :is(.ed-spiritual-grid,.ed-edition-stream>.ed-grid,.ed-category-feed .ed-archive-results>.ed-grid) .ed-card-media{
  width:100%;height:100%;min-height:0;aspect-ratio:auto
 }
 .ed-page :is(.ed-spiritual-grid,.ed-edition-stream>.ed-grid,.ed-category-feed .ed-archive-results>.ed-grid) .ed-card-body{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;padding:5px 9px;align-items:center
 }
 .ed-page :is(.ed-spiritual-grid,.ed-edition-stream>.ed-grid,.ed-category-feed .ed-archive-results>.ed-grid) .ed-card-body>:is(.ed-card-meta,h2,p){grid-column:1;margin:0}
 .ed-page :is(.ed-spiritual-grid,.ed-edition-stream>.ed-grid,.ed-category-feed .ed-archive-results>.ed-grid) .ed-card h2{font-size:15px;line-height:1.2}
 .ed-page :is(.ed-spiritual-grid,.ed-edition-stream>.ed-grid,.ed-category-feed .ed-archive-results>.ed-grid) .ed-card-actions:has(.ed-card-metrics){
  grid-column:2;grid-row:1 / span 3;margin:0;padding:0;flex-wrap:wrap
 }
 .ed-page :is(.ed-spiritual-grid,.ed-edition-stream>.ed-grid,.ed-category-feed .ed-archive-results>.ed-grid) .ed-card-actions:not(:has(.ed-card-metrics)){
  display:flex;grid-column:2;grid-row:1 / span 3;align-items:center
 }
 .ed-page.ed-covers-off :is(.ed-spiritual-grid,.ed-edition-stream>.ed-grid,.ed-category-feed .ed-archive-results>.ed-grid) .ed-card{grid-template-columns:minmax(0,1fr)}
}

@media(min-width:1024px){
 .ed-page :is(.ed-spiritual-grid,.ed-edition-stream>.ed-grid,.ed-category-feed .ed-archive-results>.ed-grid) .ed-card-body::before{content:none}
 .ed-page :is(.ed-spiritual-grid,.ed-edition-stream>.ed-grid,.ed-category-feed .ed-archive-results>.ed-grid) .ed-card-media:not(:has(img)){
  background:linear-gradient(125deg,var(--journal-sky),var(--ed-surface))
 }
 .ed-page.ed-catalog-view .ed-catalog-grid{display:flex;flex-direction:column;gap:5px}
 .ed-page .ed-catalog-grid .ed-catalog-card,
 .ed-page :is(.ed-spiritual-grid,.ed-edition-stream>.ed-grid,.ed-category-feed .ed-archive-results>.ed-grid) .ed-card-body{
  background:linear-gradient(100deg,var(--ed-surface) 45%,var(--ed-pale))
 }
 .ed-page .ed-catalog-grid .ed-catalog-card{min-height:56px;padding:8px 14px;gap:14px}
 .ed-page .ed-catalog-grid .ed-catalog-card h2{font-size:clamp(16px,1.5vw,21px);line-height:1.2}
}


/* Allow the brand to give space to the menu on narrow screens. */
@media(max-width:380px){
 .ed-page .ed-header-inner>.ed-brand{flex:0 1 auto;min-width:0}
 .ed-page .ed-header-inner>.ed-brand img{flex-shrink:0}
}
@media (760px < width < 1024px){
 .ed-page.ed-catalog-view .ed-catalog-grid{grid-template-columns:minmax(0,1fr);gap:7px}
 .ed-page.ed-catalog-view .ed-catalog-card{min-height:0;padding:10px 14px;gap:5px}
}

.ed-page .ed-home-lower{display:contents}
.ed-page .ed-home-lower>.ed-desktop-editorial{display:none}
@media(min-width:1024px){
 .ed-page .ed-home-lower{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(290px,1fr);gap:16px;align-items:start;margin-top:20px}
 .ed-page .ed-home-lower>.ed-home-article-panel{margin-top:0;min-width:0}
 .ed-page .ed-home-lower>.ed-desktop-editorial{display:block;margin:0;min-width:0}
 .ed-desktop-editorial .ed-pick-content{min-width:0;overflow-wrap:anywhere}
}
@media(min-width:1024px){
 .ed-desktop-editorial .ed-pick-meta,.ed-desktop-editorial .ed-card-metrics{flex-wrap:wrap}
 .ed-desktop-editorial .ed-editorial-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:.82rem;line-height:1.35;color:var(--ed-sub);margin-block:4px}
}
