/* Article-only ECMA presentation. Discipline landing Pages are unaffected. */
body.ecma-article-full-template #masthead,
body.ecma-article-full-template .ast-breadcrumbs-wrapper { display: none !important; }
body.ecma-article-full-template .site-content,
body.ecma-article-full-template #content,
body.ecma-article-full-template .ast-container,
body.ecma-article-full-template #primary,
body.ecma-article-full-template .content-area,
body.ecma-article-full-template .site-content > .ast-container { display: block !important; float: none !important; width: 100% !important; max-width: none !important; flex: 0 0 100% !important; margin: 0 !important; padding: 0 !important; }
.ecma-article-container { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.ecma-article-topbar { position: relative; z-index: 3; background: #09068c; color: #fff; }
.ecma-article-topbar-inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.ecma-article-brand { display: inline-flex; align-items: center; gap: .9rem; color: #fff; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: .02em; }
.ecma-article-brand img { width: 72px; height: 72px; object-fit: contain; }
.ecma-article-brand span { font-size: 1.13rem; }
.ecma-article-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.35rem; }
.ecma-article-nav a { color: #fff; text-decoration: none; font-weight: 600; }
.ecma-article-nav a:hover, .ecma-article-nav a:focus { color: #e5c95d; }
.ecma-article-hero { position: relative; background: #17172d; }
.ecma-article-hero-image { display: block; width: 100%; height: auto; }
.ecma-article-titleband { background: #09068c; color: #fff; }
.ecma-article-title-copy { padding: clamp(2rem, 5vw, 5.5rem) 0; max-width: 900px; color: #fff; }
.ecma-article-kicker { margin: 0 0 .65rem; color: #e5c95d; font-size: .8rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.ecma-article-titleband h1 { margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 5vw, 4.5rem); line-height: 1.08; }
.ecma-article-meta { margin: 1.1rem 0 0; font-size: .98rem; }
.ecma-article-main { background: #fff; padding: clamp(2.5rem, 6vw, 6rem) 0; }
.ecma-article-reading { width: min(860px, 100%); margin: 0 auto; color: #20202a; font-size: 1.1rem; line-height: 1.8; }
.ecma-article-reading > *:first-child { margin-top: 0; }
.ecma-article-reading h2, .ecma-article-reading h3, .ecma-article-reading h4 { color: #09068c; font-family: Georgia, "Times New Roman", serif; line-height: 1.2; margin-top: 2.25em; }
.ecma-article-reading a { color: #09068c; font-weight: 700; }
.ecma-article-reading figure { margin: 2.5rem 0; }
.ecma-article-reading img { height: auto; }
.ecma-article-reading .wp-block-image img { display: block; }
.ecma-article-lead { margin: 0 0 3rem; }
.ecma-article-lead img { display: block; width: 100%; height: auto; }
.ecma-article-footer { background: #09068c; color: #fff; padding: 1.5rem 0; text-align: center; font-size: .94rem; }
@media (max-width: 780px) { .ecma-article-topbar-inner { min-height: auto; padding: 1rem 0; align-items: flex-start; flex-direction: column; gap: 1rem; } .ecma-article-brand img { width: 54px; height: 54px; } .ecma-article-brand span { font-size: 1rem; } .ecma-article-nav { justify-content: flex-start; gap: .75rem 1rem; font-size: .9rem; } .ecma-article-container { width: min(100% - 2rem, 1180px); } .ecma-article-title-copy { padding: 2rem 0 2.25rem; } .ecma-article-titleband h1 { font-size: clamp(2rem, 10vw, 2.75rem); } .ecma-article-reading { font-size: 1.04rem; } }
/* Shared ECMA banner for every article; post lead images remain uncropped below. */
.ecma-article-hero { min-height: clamp(390px, 43vw, 560px); overflow: hidden; background: #17172d; }
.ecma-article-hero-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.ecma-article-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.44) 46%, rgba(0,0,0,.12) 100%); }
.ecma-article-hero-copy { position: relative; z-index: 1; padding: clamp(2.3rem, 6vw, 5.5rem) 0; color: #fff; }
.ecma-article-hero-copy h2 { margin: 0; color: #fff; font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.05; font-weight: 700; }
.ecma-article-hero-japanese { margin: .5rem 0 3.4rem; color: #f2c94c; font-size: clamp(1.7rem, 3.3vw, 3rem); font-weight: 700; }
.ecma-article-hero-message { margin: 0; color: #fff; font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.15; font-weight: 800; }
.ecma-article-hero-summary { margin: 2.2rem 0 1.7rem; color: #fff; font-size: 1rem; line-height: 1.45; }
.ecma-article-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.ecma-article-hero-actions a { display: inline-block; padding: .7rem 1.05rem; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; color: #fff; font-weight: 700; text-decoration: none; }
.ecma-article-hero-actions a:first-child { background: #f2c94c; border-color: #f2c94c; color: #161616; }
.ecma-article-lead { margin: 0 0 3rem; }
.ecma-article-lead img { display: block; width: 100%; height: auto; }

/* Discipline-specific presentation for contextual article links. */
.ecma-article-context .ecma-article-topbar { background: #0b1113; }
.ecma-article-hero-eyebrow { margin: 0 0 .8rem; color: #f2c94c; font-size: .82rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }

/* Match the Yuji Boku brush lettering used by the discipline landing-page heroes. */
.ecma-article-hero-japanese { font-family: "Yuji Boku", "Yu Mincho", serif; font-weight: 400; }
