/* WordPress posts and the original editorial pages share the same reading layout. */
.article-layout{grid-template-columns:minmax(180px,250px) minmax(0,740px);column-gap:clamp(30px,6vw,110px)}
.article-layout:not(:has(.article-aside)){grid-template-columns:minmax(0,800px)}
.article-layout>.article-body{width:100%;min-width:0;overflow-wrap:anywhere}
.article-aside{min-width:0}
.article-aside h2{font-size:clamp(2.25rem,3.4vw,3.2rem);line-height:1.05;margin:20px 0;overflow-wrap:normal}
.article-aside>.text-link{display:flex;width:fit-content;max-width:100%;margin-top:16px}
.article-aside>p{overflow-wrap:anywhere}
.fe27-post-hero .page-hero-copy{max-width:1050px}
.fe27-post-hero h1{font-size:clamp(2.65rem,5.2vw,5.75rem);line-height:1.03;overflow-wrap:anywhere;text-wrap:pretty}
.fe27-post-hero .breadcrumbs{max-width:100%;overflow-wrap:anywhere}
.article-body h3{font-size:2rem;line-height:1.15;margin:30px 0 16px}
.article-body h4,.article-body h5,.article-body h6{font-family:var(--body);font-weight:600;font-size:1.25rem;line-height:1.4;margin:25px 0 14px}
.article-body> :first-child{margin-top:0}
.article-body blockquote p{font:500 1.4rem/1.6 var(--accent);color:var(--blue);margin:0 0 14px}
.article-body blockquote cite{display:block;font:400 .875rem/1.6 var(--body);color:var(--muted)}
.article-body .wp-block-image figcaption{margin-top:10px}
.article-body .wp-block-columns{gap:24px;min-width:0}
.article-body .wp-block-column{min-width:0;overflow-wrap:anywhere}
.article-body .wp-block-table{max-width:100%;overflow-x:auto}
.article-body .wp-block-table td,.article-body .wp-block-table th{overflow-wrap:anywhere}
.article-body pre{white-space:pre;overflow-x:auto;padding:20px;background:var(--paper);border:1px solid var(--line)}
.article-body pre code{white-space:inherit;overflow-wrap:normal;word-break:normal}
.article-body .wp-block-cover p:not(.has-text-color),.article-body .has-text-color p:not(.has-text-color){color:inherit}
.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.story-grid>*{min-width:0}
.fe27-post-card{min-width:0;overflow-wrap:anywhere}
.fe27-post-card>.story-meta{display:flex;flex-wrap:wrap;gap:4px 7px;margin-top:20px;font:500 .75rem/1.7 var(--body);color:var(--muted)}
.fe27-post-card>img{height:auto;aspect-ratio:16/10;object-fit:cover}
.fe27-post-card>p{font-size:.9375rem;line-height:1.8;color:var(--muted)}
.fe27-post-card>.text-link{margin-top:8px}
.news-layout.fe27-live-news{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:7%}
.news-layout.fe27-live-news.fe27-has-single{grid-template-columns:minmax(0,900px)}
.fe27-live-news>*{min-width:0;overflow-wrap:anywhere}
.fe27-live-news .news-feature-copy h3{min-width:0}
.fe27-live-news .news-feature-image>span{max-width:100%;overflow-wrap:anywhere}
.pagination{display:flex;flex-wrap:wrap;gap:10px;align-items:center;max-width:100%}
.pagination:empty{display:none}
@media(max-width:1100px){.article-layout{grid-template-columns:minmax(170px,210px) minmax(0,1fr);column-gap:35px}.news-layout.fe27-live-news{gap:5%}}
@media(max-width:800px){.article-layout,.article-layout:not(:has(.article-aside)){grid-template-columns:minmax(0,1fr)}.article-layout>.article-aside{display:none}.article-layout>.article-body{max-width:800px;margin-inline:auto}.news-layout.fe27-live-news{grid-template-columns:minmax(0,1fr);gap:35px}.fe27-live-news .news-feature-image{height:300px}}
@media(max-width:550px){.story-grid{grid-template-columns:minmax(0,1fr)}.fe27-post-hero h1{font-size:clamp(2.65rem,10.7vw,3.6rem)}.fe27-post-hero .page-hero-copy>p{font-size:1.1rem}.article-body h3{font-size:1.8rem}.article-body blockquote p{font-size:1.25rem}.fe27-live-news .news-feature-image{height:275px}}
/* Keep gallery cells independent of core's flex item widths and intrinsic image sizes. */
.article-body .wp-block-gallery.has-nested-images{display:grid;gap:16px;grid-template-columns:repeat(var(--fe27-gallery-columns,2),minmax(0,1fr));align-items:start}
.article-body .wp-block-gallery.has-nested-images.columns-1{--fe27-gallery-columns:1}
.article-body .wp-block-gallery.has-nested-images.columns-2{--fe27-gallery-columns:2}
.article-body .wp-block-gallery.has-nested-images.columns-3{--fe27-gallery-columns:3}
.article-body .wp-block-gallery.has-nested-images.columns-4{--fe27-gallery-columns:4}
.article-body .wp-block-gallery.has-nested-images.columns-5{--fe27-gallery-columns:5}
.article-body .wp-block-gallery.has-nested-images.columns-6{--fe27-gallery-columns:6}
.article-body .wp-block-gallery.has-nested-images.columns-7{--fe27-gallery-columns:7}
.article-body .wp-block-gallery.has-nested-images.columns-8{--fe27-gallery-columns:8}
.article-body .wp-block-gallery.has-nested-images figure.wp-block-image{display:block;width:100%!important;max-width:100%;min-width:0;margin:0;flex:none}
.article-body .wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;width:100%;height:auto;max-width:100%;margin:0}
.article-body .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image{aspect-ratio:4/3;position:relative;overflow:hidden}
.article-body .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image>a{display:block;width:100%;height:100%}
.article-body .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image img{height:100%;object-fit:cover}
@media(max-width:550px){.article-body .wp-block-gallery.has-nested-images:not(.columns-1){--fe27-gallery-columns:2}}
