/* Only structural styling. Inherits Blocksy typography and palette. */
.arcsm-hub-content { width:100%; min-width:0; margin-block:0 clamp(1.5rem,4vw,3rem); overflow-wrap:anywhere; }
.arcsm-hub-content > * + * { margin-block-start:1.5rem; }
.arcsm-hub-content .arcsm-hub-image { display:block; max-width:100%; width:auto; height:auto; border-radius:.4rem; }
.arcsm-hub-content .arcsm-hub-section h2 { margin:0 0 .75rem; }
.arcsm-hub-content .arcsm-hub-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:.65rem; list-style:none; padding:0; margin:0; }
.arcsm-hub-content .arcsm-hub-list li { margin:0; }
.arcsm-hub-content .arcsm-hub-list a { display:block; height:100%; padding:.75rem 1rem; border:1px solid var(--theme-border-color,rgba(120,120,120,.25)); border-radius:.4rem; }
.arcsm-hub-content a:focus-visible { outline:2px solid currentColor; outline-offset:3px; }

/* Empty first-page archives use the native Blocksy header/footer and main wrapper. */
.arcsm-empty-hub { display:block; }
.arcsm-empty-hub > h1 { margin:0 0 1.25rem; }
.arcsm-hub-breadcrumb { font-size:14px; margin-bottom:1rem; }
.arcsm-empty-hub .arcsm-hub-content { margin:0; }

/* Editorial template v1.3.4. No dependency on the optional archive-layout wrapper. */
.arcsm-editorial-hub {
  --arcsm-editorial-ink:#292624; --arcsm-editorial-muted:#69625e;
  --arcsm-editorial-accent:#86584e; --arcsm-editorial-rose:#f3eae5;
  --arcsm-editorial-border:#e8d9d4; display:block; min-width:0;
  width:calc(100% - 40px); max-width:1240px; margin-inline:auto;
}
.arcsm-editorial-hub *, .arcsm-editorial-hub *::before,.arcsm-editorial-hub *::after {box-sizing:border-box;}
.arcsm-editorial-hub .arcsm-hub-breadcrumb {font-size:14px;line-height:1.5;margin:0 0 18px;color:var(--arcsm-editorial-muted);}
.arcsm-editorial-hub .arcsm-hub-breadcrumb a {color:var(--arcsm-editorial-accent);}
.arcsm-editorial-hero {background:var(--arcsm-editorial-rose);border:1px solid var(--arcsm-editorial-border);border-radius:10px;overflow:hidden;}
.arcsm-editorial-hero.has-media {display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);align-items:stretch;}
.arcsm-editorial-hero-copy {padding:clamp(24px,3.8vw,48px);min-width:0;align-self:center;}
.arcsm-editorial-hero h1 {margin:0 0 .55em;color:var(--arcsm-editorial-ink);overflow-wrap:break-word;}
.arcsm-editorial-hero p {margin:0;line-height:1.7;max-width:68ch;}
.arcsm-editorial-hero-media {min-width:0;position:relative;min-height:260px;}
.arcsm-editorial-hero-media img {display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center;}
.arcsm-editorial-section,.arcsm-editorial-body,.arcsm-editorial-related {margin-block-start:clamp(28px,4vw,48px);}
.arcsm-editorial-section h2,.arcsm-editorial-related h2 {margin:0 0 18px;color:var(--arcsm-editorial-ink);}
.arcsm-editorial-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.arcsm-editorial-card {min-width:0;margin:0;padding:0;background:#fff;border:1px solid var(--arcsm-editorial-border);border-radius:9px;overflow:hidden;}
.arcsm-editorial-card-link {display:flex;flex-direction:column;height:100%;color:var(--arcsm-editorial-ink);text-decoration:none;}
.arcsm-editorial-card-image {display:block;width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;}
.arcsm-editorial-card-copy {padding:18px;display:flex;flex-direction:column;flex:1;align-items:flex-start;gap:12px;}
.arcsm-editorial-card-copy h3 {margin:0;overflow-wrap:break-word;}
.arcsm-editorial-arrow {color:var(--arcsm-editorial-accent);font-size:1.2em;line-height:1;flex:none;}
.arcsm-editorial-card-copy .arcsm-editorial-arrow {margin-top:auto;}
.arcsm-editorial-card-link:hover h3 {color:var(--arcsm-editorial-accent);text-decoration:underline;text-underline-offset:3px;}
.arcsm-editorial-body {max-width:790px;margin-inline:auto;overflow-wrap:break-word;}
.arcsm-editorial-body :is(p,ul,ol,blockquote) {line-height:1.7;margin-block:0 1.15em;}
.arcsm-editorial-body :is(h2,h3,h4) {margin-block:1.2em .5em;}
.arcsm-editorial-body > :first-child {margin-top:0;}
.arcsm-editorial-body a {color:var(--arcsm-editorial-accent);text-decoration:underline;text-underline-offset:3px;}
.arcsm-editorial-related {background:var(--arcsm-editorial-rose);border:1px solid var(--arcsm-editorial-border);padding:clamp(20px,3vw,32px);border-radius:10px;}
.arcsm-editorial-related ul {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;}
.arcsm-editorial-related li {margin:0;min-width:0;}
.arcsm-editorial-related a {display:flex;justify-content:space-between;align-items:center;gap:12px;height:100%;min-height:48px;padding:14px;background:#fff;border:1px solid var(--arcsm-editorial-border);border-radius:7px;color:var(--arcsm-editorial-accent);font-weight:500;text-decoration:none;overflow-wrap:break-word;}
.arcsm-editorial-related a:hover {text-decoration:underline;text-underline-offset:3px;}
.arcsm-editorial-hub a:focus-visible {outline:2px solid var(--arcsm-editorial-accent);outline-offset:3px;}
.arcsm-editorial-card-link:focus-visible {outline-offset:-3px;}
.arcsm-editorial-section .navigation.pagination {margin-block:28px 0;}
.arcsm-editorial-section .nav-links {display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;}
.arcsm-editorial-section .page-numbers {display:inline-flex;min-width:44px;min-height:44px;justify-content:center;align-items:center;padding:8px 12px;border:1px solid var(--arcsm-editorial-border);border-radius:5px;color:var(--arcsm-editorial-accent);}
.arcsm-editorial-section .page-numbers.current {background:var(--arcsm-editorial-rose);color:var(--arcsm-editorial-ink);font-weight:600;}
@media (max-width:999px) {
  .arcsm-editorial-grid,.arcsm-editorial-related ul {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:760px) {
  .arcsm-editorial-hero.has-media {grid-template-columns:minmax(0,1fr);}
  .arcsm-editorial-hero-copy {padding:24px;}
  .arcsm-editorial-hero-media {min-height:0;aspect-ratio:16/9;}
  .arcsm-editorial-hub {width:calc(100% - 32px);}
}
@media (max-width:600px) {
  .arcsm-editorial-grid,.arcsm-editorial-related ul {grid-template-columns:minmax(0,1fr);gap:14px;}
  .arcsm-editorial-card-copy {padding:16px;}
}

/* Editorial links must be recognizable within prose. */
.arcsm-editorial-body a,.arcsm-editorial-hero-copy p a{color:#86584E;text-decoration:underline;text-underline-offset:.15em;}
.arcsm-editorial-body a:hover,.arcsm-editorial-hero-copy p a:hover{text-decoration-thickness:2px;}
.arcsm-editorial-body a:focus-visible,.arcsm-editorial-hero-copy p a:focus-visible{outline:2px solid currentColor;outline-offset:3px;}
