/* Structural rules only. Colors and fonts inherit the active theme. */
.arcsm-home { display: grid; gap: clamp(1.75rem,4vw,3rem); }
.arcsm-home .arcsm-intro p:last-child { margin-bottom: 0; }
.arcsm-home .arcsm-section > h2 { margin: 0 0 1rem; }
.arcsm-home .arcsm-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 15rem),1fr)); gap: 1rem; align-items: stretch; }
.arcsm-home .arcsm-card { min-width: 0; padding: 1rem; border: 1px solid var(--theme-border-color,rgba(120,120,120,.25)); border-radius: .5rem; overflow-wrap: anywhere; }
.arcsm-home .arcsm-card-title { margin: 0 0 .45rem; font-size: 1.125rem; line-height: 1.4; }
.arcsm-home .arcsm-card p { margin: 0; }
.arcsm-home .arcsm-post-link { display:block; }
.arcsm-home .arcsm-image { width:100%; height:auto; aspect-ratio: 16/9; object-fit:cover; display:block; border-radius:.25rem; margin-bottom:.75rem; }
.arcsm-home a:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
@media (min-width: 760px) { .arcsm-home .arcsm-post-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }

/* Hub cards: reuse the assigned hub image. */
.arcsm-home .arcsm-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.arcsm-home .arcsm-hub-card-link{display:block;color:inherit;text-decoration:none;}
.arcsm-home .arcsm-hub-card-link:hover .arcsm-card-title{text-decoration:underline;}
.arcsm-home .arcsm-hub-card-image{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:.35rem;margin-bottom:.75rem;}
.arcsm-home .arcsm-hub .arcsm-card-title{font-size:clamp(1rem,1.3vw,1.125rem);line-height:1.35;}
@media(min-width:700px){.arcsm-home .arcsm-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(min-width:1150px){.arcsm-home .arcsm-hub-grid{grid-template-columns:repeat(5,minmax(0,1fr));}}
@media(max-width:359px){.arcsm-home .arcsm-hub-grid{grid-template-columns:1fr;}}

/* Separate editorial identity section; preserve native hero and dynamic cards. */
.arcsm-home .arcsm-home-editorial{background:#F3EAE5;border:1px solid #E8D9D4;border-radius:.75rem;padding:clamp(1.25rem,4vw,2.75rem);color:#292624;overflow-wrap:break-word;}
.arcsm-home .arcsm-home-editorial > h2{max-width:48rem;margin:0 auto 1rem;}
.arcsm-home .arcsm-home-editorial > p{max-width:48rem;margin:0 auto 1rem;}
.arcsm-home .arcsm-home-editorial > p:last-child{margin-bottom:0;}
.arcsm-home .arcsm-home-editorial a{color:#86584E;text-decoration:underline;text-underline-offset:.15em;}
.arcsm-home .arcsm-home-editorial a:hover{text-decoration-thickness:2px;}
