/* Scoped to editable article bodies. SWELL header/sidebar/footer retain their settings. */
.fm-editorial{--fm-ink:#274755;--fm-muted:#6b818c;--fm-line:#cfdee5;--fm-mist:#e4f2f8;color:var(--fm-ink);font-size:16px;line-height:1.95;max-width:1200px;margin:0 auto!important;overflow-wrap:anywhere}
.fm-editorial .wp-block-group>.wp-block-group__inner-container{display:contents}
.fm-editorial :is(h1,h2,h3){font-family:"Yu Mincho","Hiragino Mincho ProN",serif;line-height:1.6;background:none!important;color:var(--fm-ink)!important;border:0!important;border-radius:0;box-shadow:none!important;text-shadow:none!important;padding:0!important;letter-spacing:.025em}
.fm-editorial :is(h1,h2,h3)::before,.fm-editorial :is(h1,h2,h3)::after{display:none!important}
.fm-editorial h1{font-size:clamp(26px,2.8vw,38px)!important;margin:0 0 12px!important}
.fm-editorial h2{font-size:27px!important;margin:48px 0 22px!important}
.fm-editorial h3{font-size:21px!important;margin:28px 0 16px!important}
.fm-editorial p{font-size:16px;line-height:1.95;margin:0 0 18px!important;text-shadow:none}
.fm-editorial>p,.fm-editorial>.wp-block-group__inner-container>p{max-width:780px;margin-left:auto!important;margin-right:auto!important}
.fm-editorial figure.wp-block-image{margin:0!important;width:100%!important;max-width:100%;box-shadow:none!important}
.fm-editorial figure.wp-block-image img{display:block;width:100%;height:auto!important;max-width:100%;object-fit:contain!important;border-radius:0!important;box-shadow:none!important}
.fm-editorial figcaption{font-size:12px!important;line-height:1.7!important;margin:10px 0 0!important;padding:0!important;text-align:left!important;color:var(--fm-muted)!important;background:none!important;text-shadow:none!important}
.fm-editorial a{text-underline-offset:4px;text-decoration-thickness:1px}
.fm-editorial .p-toc{width:100%!important;max-width:780px!important;margin:24px auto 36px!important;padding:20px 26px!important;border:0!important;border-top:1px solid var(--fm-line)!important;border-bottom:1px solid var(--fm-line)!important;box-shadow:none!important;background:#f7fbfd!important;font-size:13px!important}
.fm-editorial .p-toc .p-toc__list{max-height:220px;overflow:auto;margin:12px 0 0!important;padding-left:24px!important}.fm-editorial .p-toc li{margin:5px 0!important}.fm-editorial .p-toc a{line-height:1.75;text-decoration:underline}
.fm-editorial .fm-kicker{font:11px/1.5 sans-serif!important;letter-spacing:.16em;color:var(--fm-muted);margin-bottom:18px!important}
.fm-editorial .fm-editorial-cover{display:grid;grid-template-columns:minmax(0,38%) minmax(0,62%);align-items:center;gap:0;margin:16px 0 48px!important}
.fm-editorial .fm-cover-copy{padding:24px 30px 24px 0}
.fm-editorial .fm-cover-copy h2{font-size:clamp(27px,2.7vw,39px)!important;margin:0 0 24px!important}
.fm-editorial .fm-cover-photo{padding:24px;background:var(--fm-mist)}
.fm-editorial .fm-opening-notes{max-width:900px;padding:30px;background:var(--fm-mist);margin:40px auto 60px!important}
.fm-editorial .fm-photo-note{display:grid;grid-template-columns:minmax(0,62%) minmax(0,38%);align-items:start;gap:0;margin:50px 0!important}
.fm-editorial .fm-photo-copy{padding:10px 0 10px 30px}
.fm-editorial .fm-photo-copy p{font-size:15px!important}
.fm-editorial .fm-photo-solo{max-width:960px;margin:42px auto!important}
.fm-editorial .fm-photo-pair{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:start;padding:24px;background:var(--fm-mist);margin:36px 0!important}
.fm-editorial .fm-photo-pair>.wp-block-image:nth-of-type(even){padding-top:40px}
.fm-editorial .fm-photo-chapter{border-top:1px solid var(--fm-line);padding:34px 0 0;margin:60px 0!important}
.fm-editorial .fm-chapter-opening{display:grid;grid-template-columns:minmax(0,33%) minmax(0,67%);gap:0;margin:0 0 30px!important}
.fm-editorial .fm-chapter-copy{padding-right:28px}
.fm-editorial .fm-chapter-copy h2{margin:0 0 20px!important;font-size:27px!important}
.fm-editorial .fm-chapter-number{font:46px/1 Georgia,serif!important;color:#719dad;margin:0 0 22px!important}
.fm-editorial .fm-chapter-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:22px 0;border-top:1px solid var(--fm-line);border-bottom:1px solid var(--fm-line);margin:0 0 40px!important}
.fm-editorial .fm-chapter-rail figcaption{display:none}.fm-editorial .fm-chapter-rail p{font-size:13px!important;margin:10px 0 0!important}
.fm-editorial .fm-related{background:#fff;border:1px solid #dedede;padding:24px;margin:44px 0!important}
.fm-editorial .fm-species-hero{display:grid;grid-template-columns:minmax(0,40%) minmax(0,60%);grid-template-rows:auto 1fr;grid-template-areas:"name photo" "info photo";background:var(--fm-mist);margin:0 0 40px!important}
.fm-editorial .fm-species-name{grid-area:name;padding:30px 30px 0}
.fm-editorial .fm-species-name .fm-scientific{font:italic 17px/1.5 Georgia,serif!important;margin:0 0 8px!important}
.fm-editorial .fm-species-name .fm-english{font-size:12px!important;color:var(--fm-muted);margin:0 0 18px!important}
.fm-editorial .fm-species-info{grid-area:info;padding:0 30px 24px}
.fm-editorial :is(.fm-species-name,.fm-species-photo,.fm-species-info){margin:0!important}
.fm-editorial .fm-species-info h3{font-family:inherit;font-size:13px!important;font-weight:600;margin:18px 0 7px!important;border-bottom:1px solid #c6dde7!important;padding-bottom:5px!important}
.fm-editorial .fm-species-info p{font-size:13px!important;line-height:1.75;margin:0 0 7px!important}
.fm-editorial .fm-species-photo{grid-area:photo;display:flex;align-items:center;padding:24px;background:#f5f8fa;min-width:0}
.fm-editorial .fm-species-reading{max-width:780px;margin:40px auto!important}
.fm-editorial .fm-species-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:start;margin:24px 0!important}
.fm-editorial .fm-stage-count-1{grid-template-columns:minmax(0,1fr);max-width:780px;margin-left:auto!important;margin-right:auto!important}
.fm-editorial .fm-stage-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.fm-editorial .fm-species-stage h3{border-top:1px solid var(--fm-line)!important;padding-top:16px!important;margin:0 0 20px!important}
.fm-editorial .fm-species-stage figure{margin-bottom:24px!important}.fm-editorial .fm-stage-note{font-size:13px!important;color:var(--fm-muted)}
.fm-editorial .fm-comparison-chapter{display:grid;grid-template-columns:minmax(0,28%) minmax(0,72%);gap:0;margin:30px 0 48px!important;padding:26px 0 36px;border-bottom:1px solid var(--fm-line)}
.fm-editorial .fm-comparison-copy{padding-right:28px}.fm-editorial .fm-comparison-copy h3{margin:0 0 16px!important}.fm-editorial .fm-comparison-copy p{font-size:14px}
.fm-editorial .fm-comparison-reading{max-width:820px;margin:40px auto!important}
.fm-editorial .fm-pair-title{display:flex;justify-content:space-between;gap:14px;font-size:12px;margin-bottom:12px}
.fm-editorial .fm-comparison-slider img{object-fit:contain!important;width:100%;height:auto;border-radius:0!important}
.fm-editorial .fm-range-label{display:block;font-size:12px;color:var(--fm-muted);margin-top:14px}
.fm-editorial .fm-compare-range{width:100%;min-height:36px;accent-color:#689db4}
.fm-editorial .fm-comparison-alternative{border-top:1px solid var(--fm-line);margin:8px 0;padding:12px 0;font-size:13px}.fm-editorial .fm-comparison-alternative summary{cursor:pointer}
.fm-comparison-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.fm-comparison-pair figure{margin:0}.fm-comparison-pair img{width:100%;height:auto;object-fit:contain}
.fm-editorial :is(.p-blogCard,.blogcard){background:#fff!important;border:1px solid #dedede!important;box-shadow:none!important}
.fm-editorial .fm-comparison-slider:not(.twentytwenty-container)>img:nth-child(2){display:none}
/* Editor uses native group wrappers instead of frontend inner-container wrappers. */
.editor-styles-wrapper .fm-editorial .wp-block-group>.block-editor-inner-blocks,.editor-styles-wrapper .fm-editorial .wp-block-group>.block-editor-inner-blocks>.block-editor-block-list__layout{display:contents}
.editor-styles-wrapper .fm-editorial .wp-block{min-width:0;max-width:100%}
.editor-styles-wrapper .fm-comparison-editor{padding:18px;border:1px solid #cfdee5;background:#f7fbfd}
@media(max-width:1023px){.fm-editorial .fm-species-stages{grid-template-columns:1fr;max-width:780px;margin-left:auto!important;margin-right:auto!important}}
@media(max-width:767px){
 .fm-editorial{font-size:15px}.fm-editorial p{font-size:15px!important}.fm-editorial h2{font-size:24px!important}.fm-editorial h3{font-size:20px!important}
 .fm-editorial :is(.fm-editorial-cover,.fm-photo-note,.fm-chapter-opening,.fm-comparison-chapter){display:block;margin:28px 0!important}
 .fm-editorial :is(.fm-cover-copy,.fm-photo-copy,.fm-chapter-copy,.fm-comparison-copy){padding:0;margin-bottom:20px!important}
 .fm-editorial .fm-photo-copy{margin-top:16px!important}.fm-editorial .fm-cover-photo{padding:12px}.fm-editorial .fm-opening-notes{padding:20px;margin:30px 0!important}
 .fm-editorial .fm-photo-pair{grid-template-columns:1fr;padding:14px;gap:22px}.fm-editorial .fm-photo-pair>.wp-block-image:nth-of-type(even){padding-top:0}
 .fm-editorial .fm-chapter-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.fm-editorial .fm-chapter-number{font-size:35px!important}
 .fm-editorial .fm-species-hero{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:"name" "photo" "info"}
 .fm-editorial .fm-species-name{padding:24px 20px 12px}.fm-editorial .fm-species-photo{padding:14px}.fm-editorial .fm-species-info{padding:8px 20px 22px}
 .fm-editorial .fm-species-info p{font-size:13px!important}.fm-editorial .fm-comparison-pair{grid-template-columns:1fr}
}

/* SWELL article cards are navigation, not article section headings. */
.fm-editorial .p-postList .p-postList__title{font-size:16px!important;line-height:1.65!important;margin:0!important;font-family:inherit;letter-spacing:0;font-weight:500}
.fm-editorial .fm-species-reading .wp-block-heading:has(+.p-postListWrap){font-size:21px!important;margin-bottom:18px!important}
@media(max-width:767px){
 .fm-editorial .p-postList .p-postList__title{font-size:14px!important;line-height:1.65!important}
 .fm-editorial .fm-species-reading .wp-block-heading:has(+.p-postListWrap){font-size:19px!important}
}
