/* Homepage composition uses the shared paper surfaces and spacing. */
.home-template #main-content{background:none;border:0!important;box-shadow:none}
.home-content{padding:0;max-width:none}
.home-content>.paper-surface{box-sizing:border-box;padding:var(--surface-padding);margin:0 0 var(--surface-gap)}
.home-content>.paper-surface:last-child{margin-bottom:0}
.home-content>.home-section+.home-section{border-top:1px solid var(--paper-edge);padding-top:var(--surface-padding)}
.home-content>.home-intro{border-bottom:1px solid var(--paper-edge)}
.home-feature-surface .featured-post{margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.home-topics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-md)}
.home-topic-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 2px 7px #273d520a}
/* Retain the complete panorama, but give the artwork less vertical space. */
.home-topic-image{display:block;box-sizing:border-box;height:96px;padding:10px 16px 0;flex:0 0 auto}
.home-topic-image img{width:100%;height:100%;object-fit:contain;display:block}
.home-topic-copy{display:flex;flex-direction:column;flex:1;padding:10px 20px 12px}
.home-topic-copy h3{font:500 23px/1.25 'Nunito Sans',sans-serif;margin:0 0 8px;color:var(--blue,#2865a7)}
.home-topic-copy h3 a{color:inherit;text-decoration:none}
.home-topic-copy p{font:400 17px/1.45 var(--ui);color:var(--muted);margin:0 0 8px}
.home-topic-copy .home-topic-explore{margin-top:auto;align-self:flex-start}
.home-topic-copy a:focus-visible,.home-topic-image:focus-visible{outline:3px solid #2865a7;outline-offset:4px}
.home-topic-card:hover{box-shadow:0 5px 14px #273d5210}
@media(max-width:1000px){.home-topics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .home-topics-grid{grid-template-columns:1fr}
  .home-content>.paper-surface{padding:20px 16px}
  .home-topic-image{height:90px;padding:8px 12px 0}
  .home-topic-copy{padding:8px 18px 12px}
  .home-topic-copy h3{font-size:23px}
  .home-topic-copy p{font-size:17px}
  .home-content .section-head{gap:12px;flex-wrap:wrap}
}
