/* Article geometry v1.9.6. Independent from palettes and article visual skins. */
body[class*="am-article-structure-"] .single-story .story-layout,
body[class*="am-article-structure-"] .single-story .story-body,
body[class*="am-article-structure-"] .single-story .article-content {min-width:0}
body.am-article-structure-clean .single-story .story-layout:not(.has-sidebar){max-width:840px}
body.am-article-structure-narrow .single-story .story-layout{max-width:690px!important}
body.am-article-structure-clean .single-story .story-layout{max-width:840px!important}
body.am-article-structure-studio .single-story .story-layout{max-width:910px!important}
body.am-article-structure-wide .single-story .story-layout,
body.am-article-structure-wide_card .single-story .story-layout{max-width:1120px!important}
body.am-article-structure-full .single-story .story-layout{max-width:1470px!important}
body.am-article-structure-aside_right .single-story .story-layout,
body.am-article-structure-aside_left .single-story .story-layout{max-width:1240px!important}
body.am-article-structure-full main.single-wrap{width:min(calc(100% - 48px),1540px);max-width:none}
body.am-article-structure-wide main.single-wrap,
body.am-article-structure-wide_card main.single-wrap,
body.am-article-structure-aside_right main.single-wrap,
body.am-article-structure-aside_left main.single-wrap{width:min(calc(100% - 48px),1330px);max-width:none}
body.am-article-structure-studio .single-story .story-body{padding-inline:clamp(20px,3.5vw,55px)}
body.am-article-structure-full .single-story .story-body,
body.am-article-structure-wide .single-story .story-body{width:100%}
/* Sidebar sides: logical grid areas respect RTL and LTR and preserve the content DOM order. */
body .single-story .story-layout.has-sidebar.am-sidebar-right,
body .single-story .story-layout.has-sidebar.am-sidebar-left{display:grid;gap:clamp(20px,3vw,42px);max-width:1240px;align-items:start}
body .single-story .story-layout.has-sidebar.am-sidebar-right{grid-template-columns:minmax(220px,280px) minmax(0,1fr);grid-template-areas:"aside body"}
body .single-story .story-layout.has-sidebar.am-sidebar-left{grid-template-columns:minmax(0,1fr) minmax(220px,280px);grid-template-areas:"body aside"}
body .single-story .story-layout.has-sidebar .story-body{grid-area:body}
body .single-story .story-layout.has-sidebar .metro-sidebar{grid-area:aside;min-width:0}
body .single-story .story-layout:not(.has-sidebar){display:block;grid-template-columns:none}
/* Frame choices override the palette's default story card without affecting unrelated cards. */
body .single-story.am-frame-none .story-body,
body.am-military .single-story.am-frame-none .story-body{background:transparent;border:0;box-shadow:none;padding:0;border-radius:0}
body .single-story.am-frame-card .story-body,
body.am-military .single-story.am-frame-card .story-body{background:var(--am-card);border:1px solid var(--am-line);border-block-start:4px solid var(--am-accent);padding:clamp(20px,3vw,48px);box-shadow:0 12px 32px #0000000a;border-radius:6px}
body .single-story.am-frame-paper .story-body,
body.am-military .single-story.am-frame-paper .story-body{background:color-mix(in srgb,var(--am-card) 85%,#ede0c9);border:1px solid color-mix(in srgb,var(--am-line) 70%,#ac9473);border-inline-start:5px solid var(--am-accent);padding:clamp(19px,3vw,44px);box-shadow:4px 9px 0 #6a5b3d11}
body .single-story.am-frame-line .story-body,
body.am-military .single-story.am-frame-line .story-body{background:transparent;box-shadow:none;border:0;border-inline-start:3px solid var(--am-accent);padding:10px clamp(16px,2vw,28px)}
/* Cross-over safeguard: especially for the cinematic, dossier and lastmetro editorial treatments. */
body .single-story .story-layout .article-content img,
body .single-story .story-layout .article-content iframe{max-width:100%}
body .single-story .story-layout .article-content pre,
body .single-story .story-layout .article-content table{max-width:100%;overflow-x:auto}
body .single-story .story-layout .article-content .alignfull{max-width:100%}
body.am-article-structure-full .single-story .single-heading,
body.am-article-structure-full .single-story .single-hero{max-width:100%}
@media(max-width:980px){
  body .single-story .story-layout.has-sidebar.am-sidebar-right,
  body .single-story .story-layout.has-sidebar.am-sidebar-left{grid-template-columns:minmax(0,1fr);grid-template-areas:"body" "aside";gap:28px}
  body.am-article-structure-full main.single-wrap,
  body.am-article-structure-wide main.single-wrap,
  body.am-article-structure-wide_card main.single-wrap,
  body.am-article-structure-aside_right main.single-wrap,
  body.am-article-structure-aside_left main.single-wrap{width:min(calc(100% - 32px),100%)}
}
@media(max-width:600px){
 body .single-story.am-frame-card .story-body,
 body.am-military .single-story.am-frame-card .story-body,
 body .single-story.am-frame-paper .story-body,
 body.am-military .single-story.am-frame-paper .story-body{padding:17px 15px}
 body .single-story.am-frame-line .story-body,
 body.am-military .single-story.am-frame-line .story-body{padding:8px 12px}
}
@media print{
 body .single-story[class*="am-frame-"] .story-body{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
 body .single-story .story-layout.has-sidebar{display:block!important}
 body .single-story .story-layout.has-sidebar .metro-sidebar{display:none!important}
}
